@font-face{
  font-family:"Alibaba";
  src:url("/fonts/Alibaba-Light.ttf") format("truetype");
  font-weight:300;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Alibaba";
  src:url("/fonts/Alibaba-Regular.ttf") format("truetype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Alibaba";
  src:url("/fonts/Alibaba-Bold.ttf") format("truetype");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Alibaba";
  src:url("/fonts/Alibaba-Black.ttf") format("truetype");
  font-weight:900;
  font-style:normal;
  font-display:swap;
}


/* =========================
   VARIABLES
========================= */

:root{
  --turquoise:#75C8B6;
  --peach:#EB6844;
  --cream:#EADED2;
  --taupe:#7D7165;
  --ink:#352D28;
  --muted:#65594F;
  --paper:#FAF6F1;
  --line:#D5C6B8;
  --accent:var(--turquoise);
}


/* =========================
   GLOBAL
========================= */

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:15px/1.9 "Alibaba",Tahoma,Arial,sans-serif;
}

body,
button,
input,
select,
textarea,
dialog{
  font-family:"Alibaba",Tahoma,Arial,sans-serif;
}

h1,
h2,
h3,
.brand{
  font-family:"Alibaba",Tahoma,Arial,sans-serif;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
select{
  font:inherit;
}

button,
a,
input,
select{
  touch-action:manipulation;
}

button,
.button{
  cursor:pointer;
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  padding:10px 18px;
  border-radius:12px;
  display:inline-block;
}

button:hover,
.button:hover{
  background:var(--accent);
}

button:disabled{
  opacity:.5;
  cursor:default;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible{
  outline:3px solid #286B5D;
  outline-offset:4px;
}

input,
select{
  border:1px solid var(--line);
  padding:12px 16px;
  border-radius:12px;
  background:#fff;
  color:var(--ink);
  min-width:0;
}

h1{
  font-size:32px;
  margin:12px 0;
}

h2{
  font-size:23px;
}

h3{
  font-size:18px;
}

p{
  margin:10px 0;
}

.muted,
small{
  color:var(--muted);
}

.error{
  color:#8b2929;
}

.ltr{
  direction:ltr;
  text-align:right;
}

.primary{
  background:var(--peach);
  color:var(--ink);
  border-color:var(--peach);
  font-weight:700;
}

.primary:hover{
  background:#F08B70;
  color:var(--ink);
}


/* =========================
   HEADER
========================= */

header{
  display:flex;
  gap:40px;
  align-items:center;
  max-width:1240px;
  margin:auto;
  padding:18px 32px;
  border-bottom:1px solid var(--line);
}

.brand{
  display:flex;
  align-items:center;
  gap:16px;
  margin-left:22px;
  font-size:28px;
  font-weight:700;
  white-space:nowrap;
  color:var(--ink);
}

.brand-logo{
  display:block;
  width:78px;
  height:78px;
  object-fit:contain;
  flex-shrink:0;
}

.brand span{
  display:block;
  margin-top:0;
  font-size:13px;
  font-weight:400;
  color:var(--muted);
}

nav{
  display:flex;
  gap:26px;
  flex:1;
}

nav a{
  transition:.2s ease;
}

nav a:hover{
  color:#286B5D;
}

nav a[aria-current=page]{
  font-weight:700;
  border-bottom:3px solid var(--peach);
}

nav b{
  background:var(--accent);
  padding:2px 7px;
  border-radius:8px;
  font-size:11px;
}

.preview,
.tag{
  font-size:12px;
  padding:5px 12px;
  border:1px solid var(--line);
  border-radius:30px;
  background:var(--cream);
  color:var(--ink);
}


/* =========================
   MAIN
========================= */

main{
  max-width:1180px;
  margin:22px auto 72px;
  padding:0 24px;
  min-height:48vh;
}


/* =========================
   OLD HERO / INNER PAGES
========================= */

.hero{
  background:var(--turquoise);
  color:var(--ink);
  border-radius:26px;
  padding:48px;
  position:relative;
  overflow:hidden;
}

.hero h1{
  font-size:clamp(30px,4vw,50px);
  line-height:1.7;
  margin:10px 0;
  max-width:650px;
}

.hero p{
  color:#352D28;
  max-width:620px;
}

.hero .eyebrow{
  color:var(--ink);
}

.hero form{
  display:flex;
  gap:10px;
  max-width:680px;
  margin-top:28px;
}

.hero input{
  flex:1;
  min-width:0;
}

.hero button{
  background:var(--peach);
  color:var(--ink);
  border:0;
  font-weight:700;
}

.hero button:hover{
  background:#F08B70;
}
/* =========================
   JOOOORE STREAM HERO
   DESKTOP + MOBILE
========================= */

.joooore-stream-hero{
  position:relative;
  width:min(1440px,calc(100% - 40px));
  height:620px;
  margin:14px auto 48px;
  overflow:hidden;
  border-radius:34px;
  background:var(--paper);
  isolation:isolate;
}


/* =========================
   IMAGE STAGE
========================= */

.stream-stage{
  position:absolute;
  inset:0;
  overflow:hidden;
  z-index:1;

  perspective:780px;
  perspective-origin:50% 50%;
}


.stream-rail{
  position:absolute;
  inset:0;
  transform-style:preserve-3d;
}


/* =========================
   CARDS
========================= */

.stream-card{
  position:absolute;

  top:50%;

  width:190px;
  height:238px;

  margin-top:-119px;

  border-radius:22px;

  overflow:hidden;

  background:var(--cream);

  box-shadow:
    0 20px 55px rgba(53,45,40,.17),
    0 2px 10px rgba(53,45,40,.07);

  backface-visibility:hidden;

  will-change:
    transform,
    opacity;
}


.stream-card img{
  display:block;

  width:100%;
  height:100%;

  object-fit:cover;
}


/* هیچ Overlay روی عکس‌ها */

.stream-card::after{
  display:none;
}


/* =========================
   DESKTOP
   TWO SEPARATE ORIGINS
========================= */


/*
  مبدا سمت راست:
  حدود 70 درصد عرض Hero
*/

.stream-rail-right .stream-card{

  left:70%;

  margin-left:-95px;

  animation:
    streamRight
    18s
    linear
    infinite;
}


/*
  مبدا سمت چپ:
  حدود 30 درصد عرض Hero
*/

.stream-rail-left .stream-card{

  left:30%;

  margin-left:-95px;

  animation:
    streamLeft
    18s
    linear
    infinite;
}


/* =========================
   RIGHT FLOW
========================= */

@keyframes streamRight{

  0%{

    transform:
      translate3d(0,0,-620px)
      rotateY(-4deg)
      scale(.20);

    opacity:0;
  }


  8%{

    opacity:1;
  }


  28%{

    transform:
      translate3d(70px,-8px,-390px)
      rotateY(-8deg)
      scale(.40);

    opacity:1;
  }


  52%{

    transform:
      translate3d(175px,0,-160px)
      rotateY(-14deg)
      scale(.68);

    opacity:1;
  }


  76%{

    transform:
      translate3d(370px,14px,70px)
      rotateY(-22deg)
      scale(1.12);

    opacity:1;
  }


  100%{

    transform:
      translate3d(670px,55px,320px)
      rotateY(-30deg)
      scale(1.65);

    opacity:0;
  }

}


/* =========================
   LEFT FLOW
========================= */

@keyframes streamLeft{

  0%{

    transform:
      translate3d(0,0,-620px)
      rotateY(4deg)
      scale(.20);

    opacity:0;
  }


  8%{

    opacity:1;
  }


  28%{

    transform:
      translate3d(-70px,-8px,-390px)
      rotateY(8deg)
      scale(.40);

    opacity:1;
  }


  52%{

    transform:
      translate3d(-175px,0,-160px)
      rotateY(14deg)
      scale(.68);

    opacity:1;
  }


  76%{

    transform:
      translate3d(-370px,14px,70px)
      rotateY(22deg)
      scale(1.12);

    opacity:1;
  }


  100%{

    transform:
      translate3d(-670px,55px,320px)
      rotateY(30deg)
      scale(1.65);

    opacity:0;
  }

}


/* =========================
   HERO TEXT
========================= */

.stream-content{

  position:relative;

  z-index:5;

  width:min(520px,38%);

  height:100%;

  margin:auto;

  display:flex;

  flex-direction:column;

  justify-content:center;

  align-items:center;

  text-align:center;

  pointer-events:none;
}


/*
  هیچ هاله سفید پشت متن نداریم
*/

.stream-content::before{
  display:none;
}


.stream-eyebrow{

  margin:0 0 14px;

  font-size:14px;

  font-weight:400;

  color:var(--muted);
}


.stream-content h1{

  margin:0;

  font-size:
    clamp(
      42px,
      5vw,
      72px
    );

  line-height:1.4;

  font-weight:900;

  letter-spacing:-1px;

  color:var(--ink);
}


.stream-content h1 strong{

  display:block;

  color:var(--peach);

  font-weight:900;
}


.stream-description{

  max-width:510px;

  margin:
    20px
    auto
    0;

  color:var(--muted);

  font-size:16px;

  line-height:2;
}


/* =========================
   CTA
========================= */

.stream-steps{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  max-width:560px;
  margin:18px 0 0;
  padding:0;
  list-style:none;
}

.stream-steps li{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border:1px solid rgba(53,45,40,.12);
  border-radius:999px;
  background:rgba(255,253,249,.86);
  color:var(--ink);
  font-size:12px;
  font-weight:700;
  line-height:1.4;
}

.stream-steps b{
  display:grid;
  width:18px;
  height:18px;
  place-items:center;
  border-radius:50%;
  background:var(--peach);
  color:#fff;
  font-size:11px;
}

.stream-actions{

  display:flex;

  align-items:center;

  justify-content:center;

  gap:12px;

  margin-top:27px;

  pointer-events:auto;
}


.stream-primary,
.stream-secondary{

  display:inline-flex;

  align-items:center;

  justify-content:center;

  gap:8px;

  min-height:50px;

  padding:
    0
    24px;

  border-radius:15px;

  font-weight:700;

  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease;
}


.stream-primary{

  background:var(--peach);

  border:
    1px
    solid
    var(--peach);
}


.stream-primary:hover{

  transform:
    translateY(-2px);

  background:#F07A58;
}


.stream-secondary{

  background:#fff;

  border:
    1px
    solid
    var(--line);
}


.stream-secondary:hover{

  transform:
    translateY(-2px);

  background:
    var(--turquoise);

  border-color:
    var(--turquoise);
}


/* =========================
   TABLET
========================= */

@media(max-width:720px){
  footer{
    padding:28px 20px;
  }

  .footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:26px 20px;
  }

  .footer-intro{
    grid-column:1 / -1;
  }

  .footer-trust{
    grid-column:1 / -1;
  }
}

@media(max-width:850px) and (min-width:521px){

  .joooore-stream-hero{

    width:
      calc(
        100% - 24px
      );

    height:570px;

    border-radius:26px;
  }


  .stream-content{

    width:44%;
  }


  .stream-content h1{

    font-size:
      clamp(
        36px,
        6vw,
        54px
      );
  }


  .stream-description{

    font-size:14px;
  }


  .stream-card{

    width:155px;

    height:194px;

    margin-top:-97px;
  }


  .stream-rail-right .stream-card{

    left:72%;

    margin-left:-77px;
  }


  .stream-rail-left .stream-card{

    left:28%;

    margin-left:-77px;
  }

}


/* =========================
   MOBILE
========================= */

@media(max-width:520px){

  /*
    Hero دیگر سه‌بعدی نیست.
    متن بالا + یک ردیف عکس پایین
  */

  .joooore-stream-hero{

    width:100%;

    height:610px;

    margin:
      0
      auto
      28px;

    border-radius:0;

    overflow:hidden;

    background:
      var(--paper);
  }


  /* =========================
     MOBILE TEXT
  ========================= */

  .stream-content{

    position:relative;

    z-index:5;

    width:88%;

    height:385px;

    margin:
      0
      auto;

    padding-top:30px;

    display:flex;

    flex-direction:column;

    justify-content:flex-start;

    align-items:center;

    text-align:center;
  }


  .stream-content::before{
    display:none;
  }


  .stream-eyebrow{

    margin:
      0
      0
      8px;

    font-size:12px;
  }


  .stream-content h1{

    margin:0;

    font-size:35px;

    line-height:1.45;

    letter-spacing:-.5px;

    text-shadow:none;
  }


  .stream-content h1 strong{

    display:block;

    margin-top:3px;
  }


  .stream-description{

    max-width:340px;

    margin:
      15px
      auto
      0;

    font-size:13px;

    line-height:1.9;

    text-shadow:none;
  }


  /* =========================
     MOBILE CTA
  ========================= */

  .stream-steps{
    justify-content:center;
    gap:6px;
    max-width:350px;
    margin:14px auto 0;
  }

  .stream-steps li{
    gap:4px;
    padding:6px 7px;
    font-size:10px;
  }

  .stream-steps b{
    width:16px;
    height:16px;
    font-size:9px;
  }

  .stream-actions{

    width:100%;

    display:grid;

    grid-template-columns:
      1fr
      1fr;

    gap:8px;

    margin-top:20px;
  }


  .stream-primary,
  .stream-secondary{

    width:100%;

    min-height:46px;

    padding:
      0
      8px;

    font-size:12px;

    border-radius:14px;
  }


  /* =========================
     MOBILE IMAGE TRACK
  ========================= */

  .stream-stage{

    position:absolute;

    top:385px;

    left:0;

    right:0;

    bottom:auto;

    height:195px;

    overflow:hidden;

    perspective:none;

    z-index:2;
  }


  /*
    در موبایل فقط یک Rail
  */

  .stream-rail-left{
    display:none;
  }


  .stream-rail-right{

    position:absolute;

    inset:0;

    display:flex;

    align-items:center;

    gap:12px;

    width:max-content;

    padding:
      0
      12px;

    transform-style:flat;

    animation:
      mobileJooooreTrack
      30s
      linear
      infinite;
  }


  .stream-rail-right .stream-card{

    position:relative;

    left:auto;

    top:auto;

    flex:
      0
      0
      136px;

    width:136px;

    height:170px;

    margin:0;

    border-radius:18px;

    opacity:1;

    transform:none;

    animation:none !important;

    box-shadow:
      0
      8px
      22px
      rgba(53,45,40,.14);
  }


  .stream-rail-right
  .stream-card img{

    display:block;

    width:100%;

    height:100%;

    object-fit:cover;
  }


  /*
    حرکت نرم افقی
  */

  @keyframes mobileJooooreTrack{

    from{

      transform:
        translateX(0);
    }


    to{

      transform:
        translateX(50%);
    }

  }

}


/* =========================
   REDUCED MOTION
========================= */

@media(prefers-reduced-motion:reduce){

  .stream-card{
    animation-play-state:
      paused !important;
  }


  .stream-rail-right{
    animation-play-state:
      paused !important;
  }

}


/* =========================
   SECTIONS
========================= */

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:34px;
  gap:16px;
}

.chips{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:22px 0;
}

.chips a{
  border:1px solid var(--line);
  padding:8px 18px;
  border-radius:30px;
  background:#fff;
}

.chips a:hover{
  background:var(--accent);
  border-color:var(--turquoise);
}


/* =========================
   CARDS
========================= */

.grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.poster{
  height:240px;
  background:#EADED2;
  display:flex;
  align-items:center;
  justify-content:center;
}

.poster img{
  height:100%;
  width:100%;
  object-fit:contain;
}

.poster span{
  font-size:17px;
  color:var(--muted);
}

.card-content{
  padding:20px;
  flex:1;
}

.card h3{
  margin:10px 0;
}

.card .actions{
  margin-top:18px;
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}


/* =========================
   EMPTY
========================= */

.empty{
  padding:50px 24px;
  text-align:center;
  border:1px dashed #BDAA99;
  border-radius:18px;
  background:#F3EAE1;
  margin:24px 0;
}

.empty h2{
  margin-top:0;
}


/* =========================
   FILTERS
========================= */

.filters{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:24px 0;
  background:#EADED2;
  padding:18px;
  border-radius:16px;
}

.filters label{
  display:flex;
  flex-direction:column;
  gap:6px;
  flex:1;
  min-width:140px;
  font-size:12px;
}

.filters label small{
  max-width:210px;
  color:var(--muted);
  font-size:10px;
  font-weight:400;
  line-height:1.7;
}

.filters button{
  align-self:end;
}


/* =========================
   DETAIL
========================= */

.detail-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:40px;
  margin-top:28px;
}

.detail-layout .poster{
  height:380px;
  border-radius:18px;
  overflow:hidden;
}

.description{
  white-space:pre-line;
}

.session{
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px;
  margin:12px 0;
  background:#fff;
}

.session.cancelled{
  opacity:.65;
}

.sidebar{
  height:fit-content;
  border:1px solid var(--line);
  padding:24px;
  border-radius:18px;
  background:#fff;
}

.sidebar .button,
.sidebar button{
  width:100%;
  margin-top:12px;
  text-align:center;
}


/* =========================
   ATTENDANCE
========================= */

.attendance{
  margin-top:12px;
}

.attendance label{
  display:block;
  margin:12px 0;
}

.attendance input,
.attendance select{
  display:block;
  width:100%;
  margin-top:6px;
}

.plan-entry{
  min-width:0;
}


/* =========================
   DATE PICKER
========================= */

.date-trigger{
  cursor:pointer;
  background:#fff;
}

.date-trigger:focus{
  outline:2px solid #286B5D;
}

.date-picker{
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
  width:min(430px,calc(100vw - 28px));
  max-height:90vh;
  overflow:auto;
  background:var(--paper);
  color:var(--ink);
  box-shadow:0 24px 80px #352D2840;
  direction:rtl;
}

.date-picker::backdrop{
  background:#352D2866;
}

.picker-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.picker-heading h2{
  font-size:20px;
  margin:8px 0;
}

.picker-heading button{
  padding:6px 14px;
}

.picker-week,
.picker-days{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:5px;
  text-align:center;
}

.picker-week{
  font-size:10px;
  margin:20px 0 10px;
  color:var(--muted);
}

.picker-days button{
  padding:6px 0;
  min-height:42px;
  border:1px solid transparent;
  border-radius:10px;
}

.picker-days button[aria-current=date]{
  border-color:var(--peach);
}

.picker-days button[aria-pressed=true]{
  background:var(--turquoise);
  color:var(--ink);
  border-color:#286B5D;
}

.picker-days button:hover:not(:disabled){
  background:var(--accent);
  color:var(--ink);
}

.picker-actions{
  display:flex;
  gap:8px;
  border-top:1px solid var(--line);
  padding-top:16px;
  margin-top:18px;
  flex-wrap:wrap;
}

.picker-actions button{
  flex:1;
  padding:8px 10px;
  white-space:nowrap;
}


/* =========================
   ACCOUNT
========================= */

.account-panel{
  padding:24px;
  border:1px solid var(--line);
  border-top:4px solid var(--turquoise);
  background:#fff;
  border-radius:18px;
  margin-bottom:26px;
}

.account-panel form{
  display:flex;
  gap:12px;
  align-items:end;
  flex-wrap:wrap;
}

.account-panel label{
  display:grid;
  gap:8px;
}


/* =========================
   REVIEWS
========================= */

#reviews{
  margin-top:2rem;
}

#reviews textarea{
  width:100%;
  box-sizing:border-box;
  font:inherit;
  padding:1rem;
  border:1px solid #7D7165;
  border-radius:12px;
}

#reviews input[type=checkbox]{
  width:auto;
}

#reviews .session{
  margin-block:1rem;
}


/* =========================
   NOTICE
========================= */

#notice{
  position:fixed;
  bottom:26px;
  left:24px;
  right:24px;
  max-width:600px;
  margin:auto;
  background:var(--ink);
  color:#fff;
  padding:16px 24px;
  border-radius:14px;
  box-shadow:0 8px 35px #7D716533;
  z-index:20;
}

#notice button{
  margin-right:15px;
}


/* =========================
   ACCESSIBILITY
========================= */

.skip{
  position:absolute;
  top:-100px;
}

.skip:focus{
  top:0;
  background:#fff;
  z-index:100;
}


/* =========================
   FOOTER
========================= */

footer{
  border-top:1px solid var(--line);
  padding:32px max(24px,calc((100vw - 1132px)/2));
  background:#EADED2;
}

.footer-grid{
  display:grid;
  grid-template-columns:minmax(220px,1.7fr) repeat(2,minmax(120px,.8fr)) minmax(140px,.9fr);
  gap:30px;
  max-width:1132px;
  margin:0 auto;
}

.footer-intro .brand{
  margin:0;
}

.footer-intro p,
.footer-trust p{
  max-width:310px;
  margin:10px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.9;
}

.footer-links h2,
.footer-trust h2{
  margin:0 0 11px;
  color:var(--ink);
  font-size:14px;
}

.footer-links{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
}

.footer-links a{
  color:var(--muted);
  font-size:13px;
  text-decoration:none;
}

.footer-links a:hover,
.footer-links a:focus-visible{
  color:var(--peach);
  text-decoration:underline;
  text-underline-offset:4px;
}

.footer-trust{
  min-width:0;
}

.footer-trust .enamad-seal{
  margin-top:6px !important;
}

.footer-note{
  display:block;
  max-width:1132px;
  margin:24px auto 0;
  padding-top:16px;
  border-top:1px solid rgba(53,45,40,.12);
  color:var(--muted);
  font-size:12px;
}


/* =========================
   TABLET
========================= */

@media(max-width:850px){

  header{
    gap:20px;
    flex-wrap:wrap;
    padding:16px 24px;
  }

  nav{
    order:3;
    width:100%;
    flex-basis:100%;
    justify-content:space-between;
    gap:10px;
    font-size:13px;
  }

  .brand{
    margin-left:0;
  }

  .brand-logo{
    width:68px;
    height:68px;
  }

  .grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .detail-layout{
    grid-template-columns:1fr;
  }

  .sidebar{
    order:-1;
  }

  .hero{
    padding:30px;
  }

  .joooore-stream-hero{
    width:calc(100% - 24px);
    height:570px;
    border-radius:26px;
  }

  .stream-card{
    width:155px;
    height:194px;
    margin-left:-77.5px;
    margin-top:-97px;
  }

  .stream-description{
    font-size:14px;
  }
}


/* =========================
   MOBILE
========================= */

@media(max-width:520px){

  main{
    padding:0 16px;
    margin-top:20px;
  }

  header{
    padding:12px 16px 10px;
  }

  .brand-logo{
    width:58px;
    height:58px;
  }

  .brand{
    gap:10px;
  }

  .brand span{
    font-size:11px;
  }

  nav{
    overflow-x:auto;
    justify-content:flex-start;
    padding-bottom:5px;
    scrollbar-width:none;
  }

  nav::-webkit-scrollbar{
    display:none;
  }

  nav a{
    white-space:nowrap;
  }

  .grid{
    grid-template-columns:1fr;
  }

  .hero{
    padding:26px 20px;
  }

  .hero form{
    flex-direction:column;
  }

  .section-head{
    align-items:start;
  }

  .section-head h2{
    font-size:20px;
  }

  .poster{
    height:280px;
  }

  h1{
    font-size:27px;
  }

  .filters{
    padding:14px;
  }

  .filters label{
    min-width:120px;
  }


  /* HERO MOBILE */

  .joooore-stream-hero{
    width:100%;
    height:610px;
    margin:0 auto 30px;
    border-radius:0;
    overflow:hidden;
    background:var(--paper);
  }

  .stream-content{
    position:relative;
    z-index:5;
    width:88%;
    height:385px;
    margin:0 auto;
    padding-top:34px;
    justify-content:flex-start;
    text-align:center;
  }

  .stream-content::before{
    display:none;
  }

  .stream-eyebrow{
    font-size:12px;
    margin-bottom:8px;
  }

  .stream-content h1{
    font-size:35px;
    line-height:1.42;
    letter-spacing:-.5px;
    text-shadow:none;
  }

  .stream-content h1 strong{
    margin-top:3px;
  }

  .stream-description{
    max-width:340px;
    margin:15px auto 0;
    font-size:13px;
    line-height:1.9;
    text-shadow:none;
  }

  .stream-actions{
    width:100%;
    margin-top:20px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .stream-primary,
  .stream-secondary{
    width:100%;
    min-height:46px;
    padding:0 10px;
    font-size:13px;
    border-radius:14px;
  }


  /*
   عکس‌ها فقط در یک ردیف
  */

  .stream-stage{
    position:absolute;
    top:385px;
    left:0;
    right:0;
    bottom:auto;
    height:205px;
    perspective:none;
    overflow:hidden;
    z-index:2;
  }

  .stream-rail-left{
    display:none;
  }

  .stream-rail-right{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    gap:12px;
    width:max-content;
    padding:0 14px;
    transform-style:flat;
  }

  .stream-rail-right .stream-card{
    position:relative;
    top:auto;
    left:auto;
    flex:0 0 auto;
    width:136px;
    height:170px;
    margin:0;
    border-radius:18px;
    opacity:1;
    transform:none;
    animation:none !important;
    box-shadow:0 10px 24px rgba(53,45,40,.14);
  }

  .stream-rail-right .stream-card img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
  }

  .stream-card::after{
    display:none;
  }
}


/* =========================
   REDUCED MOTION
========================= */

@media(prefers-reduced-motion:reduce){

  html{
    scroll-behavior:auto;
  }

  .stream-card{
    animation-play-state:paused !important;
  }

  .stream-primary,
  .stream-secondary{
    transition:none;
  }
}


/* =================================
   JOOOORE MATCH HUB V2
================================= */

.nav-match-short{display:none}

.event-match-box{
  margin:42px 0 0;
  padding:24px 26px;
  border-radius:24px;
  background:#fff;
  border:1px solid var(--line);
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:20px;
  border-right:5px solid var(--turquoise);
}
.event-match-icon{width:60px;height:60px;border-radius:18px;background:var(--turquoise);display:grid;place-items:center;font-size:28px;font-weight:900}
.event-match-copy span,.match-eyebrow{font-size:12px;color:var(--muted);font-weight:700}
.event-match-copy h2{margin:0 0 4px;font-size:24px}.event-match-copy p{margin:0;color:var(--muted)}
.match-event-button{border:0;background:var(--peach);font-weight:700;padding:13px 20px;border-radius:14px;white-space:nowrap}
.match-event-button:hover{background:#f08b70}

.match-hub-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr);gap:28px;align-items:stretch;margin:10px 0 28px}
.match-hub-copy{background:linear-gradient(135deg,#e6f1ed,#fbf8f4 56%,#f5e2da);border:1px solid var(--line);border-radius:32px;padding:48px;position:relative;overflow:hidden}
.match-hub-copy:after{content:'ج';position:absolute;left:28px;bottom:-70px;font-size:230px;font-weight:900;line-height:1;color:#75c8b620;pointer-events:none}
.match-hub-copy h1{font-size:clamp(38px,5vw,68px);line-height:1.35;margin:8px 0 12px;font-weight:900}.match-hub-copy p{max-width:680px;color:var(--muted);font-size:16px;line-height:2.1}
.match-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.match-hero-actions .button,.match-hero-actions button{padding:12px 20px}
.my-match-card{background:#fff;border:1px solid var(--line);border-radius:32px;padding:28px;display:flex;flex-direction:column;justify-content:center;gap:14px}.my-match-card.is-ready{border-top:5px solid var(--peach)}.my-match-label{font-size:11px;color:var(--muted);font-weight:700}.my-match-row{display:flex;align-items:center;gap:13px}.my-match-row>div:last-child{display:flex;flex-direction:column}.my-match-row strong{font-size:20px}.my-match-row small{font-size:11px}.my-match-card p{font-size:13px;color:var(--muted)}.match-empty-avatar{width:74px;height:74px;border-radius:24px;background:var(--cream);display:grid;place-items:center;font-size:34px;font-weight:900;color:var(--taupe)}

.match-avatar{width:74px;height:74px;min-width:0;min-height:0;border-radius:24px;display:grid;place-items:center;overflow:hidden;font-size:29px;font-weight:900;flex:0 0 auto;border:1px solid #ffffff80;box-shadow:inset 0 0 0 1px #352d2808}.match-avatar.has-photo{color:transparent}.match-avatar.has-photo img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:cover;object-position:center}.match-avatar.small{width:48px;height:48px;border-radius:16px;font-size:20px}.match-avatar.large{width:112px;height:112px;border-radius:34px;font-size:44px}.match-avatar.tone-0{background:#cfe9e2}.match-avatar.tone-1{background:#f7c8b8}.match-avatar.tone-2{background:#f0ddc8}.match-avatar.tone-3{background:#d6e3cd}.match-avatar.tone-4{background:#eadad2}.match-avatar.tone-5{background:#d9d2e8}.match-avatar.tone-6{background:#c9e0e7}.match-avatar.tone-7{background:#f3d9ad}.match-avatar.tone-me{background:linear-gradient(135deg,var(--turquoise),#dff1ec)}

.match-tabs{display:flex;gap:8px;align-items:center;border-bottom:1px solid var(--line);margin:0 0 26px;padding:0 0 10px}.match-tabs a,.match-tabs button{border:0;background:transparent;padding:10px 15px;border-radius:12px;font-weight:700;color:var(--muted)}.match-tabs a.active{background:var(--ink);color:#fff}.match-tabs button{margin-right:auto}.match-tabs button:hover,.match-tabs a:hover{background:#e9eee9;color:var(--ink)}.match-tabs a.active:hover{background:var(--ink);color:#fff}#match-request-count{display:inline-grid;place-items:center;min-width:20px;height:20px;background:var(--peach);color:var(--ink);border-radius:20px;font-size:10px;margin-right:5px}

.match-section-head{align-items:end}.match-section-head small{font-size:11px}.section-head.compact{margin:0 0 12px}.section-head.compact h2{margin:0}
.match-event-context{display:flex;align-items:center;gap:12px;background:#eef5f2;border:1px solid #d6e5df;border-radius:18px;padding:16px 18px;margin-bottom:22px}.match-event-context>div{display:flex;flex-direction:column;flex:1}.match-event-context strong{font-size:16px}.match-event-context small{font-size:11px}.match-event-context>a{font-size:11px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 11px;white-space:nowrap}

.match-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:10px;align-items:end;background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;margin-bottom:22px}.match-filters label{font-size:10px;color:var(--muted);display:flex;flex-direction:column;gap:5px}.match-filters select{font-size:12px;padding:10px 12px}.match-filters button{padding:10px 12px;font-size:11px}
.match-people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.match-person-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:20px;display:flex;flex-direction:column;min-height:330px;transition:transform .18s,box-shadow .18s}.match-person-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px #352d2810}.match-person-main{display:flex;gap:14px;align-items:flex-start}.match-person-copy{min-width:0}.match-person-title-row{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.match-person-title-row h3{margin:0;font-size:22px}.sample-badge{font-size:9px;border:1px solid #dfcfc4;background:#faf2ed;border-radius:30px;padding:3px 8px;color:#765a4b}.match-meta{font-size:11px;color:var(--muted);margin:2px 0 10px}.match-person-bio{font-size:12px;color:var(--muted);line-height:1.9;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.match-chip-row{display:flex;gap:6px;flex-wrap:wrap}.match-chip-row span{font-size:10px;padding:4px 9px;background:#f2eee8;border-radius:20px}.match-chip-row.large span{font-size:12px;padding:7px 12px}.match-person-footer{margin-top:auto;padding-top:16px;border-top:1px solid var(--line);display:flex;gap:10px;align-items:center;justify-content:space-between}.match-vibe{font-size:10px;color:var(--muted)}.match-score-button{font-size:11px;font-weight:700;background:#e6f1ed;padding:8px 11px;border-radius:11px}.match-request-state{display:block;margin-top:8px;font-size:10px;color:#7b5a4d}.match-no-results{grid-column:1/-1;background:#f2eee8;border-radius:20px;padding:36px;text-align:center}.match-no-results h3{margin:0}

.match-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.match-plan-card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;display:grid;grid-template-columns:190px 1fr;min-height:210px}.match-plan-card.is-focused{outline:3px solid var(--turquoise);outline-offset:3px}.match-plan-cover{background:#eee7df}.match-plan-cover .poster{height:100%;min-height:210px;border-radius:0}.match-plan-cover .poster img{object-fit:cover;width:100%;height:100%}.match-plan-copy{padding:20px;display:flex;flex-direction:column}.match-plan-copy>span{font-size:10px;color:var(--muted)}.match-plan-copy h3{margin:6px 0;font-size:18px}.match-plan-copy>p{font-size:11px;color:var(--muted)}.match-plan-bottom{display:flex;align-items:center;gap:10px;margin-top:auto}.match-plan-bottom strong{font-size:11px;flex:1}.match-plan-bottom a{font-size:11px;padding:8px 12px}
.match-score-note{background:#f6f1eb;border:1px solid var(--line);border-radius:14px;padding:12px 14px;font-size:11px;color:var(--muted);margin:-8px 0 20px}.match-profile-required{max-width:700px;margin:50px auto;background:#fff;border:1px solid var(--line);border-radius:28px;padding:42px;text-align:center}.match-profile-required .match-empty-avatar{margin:auto}.match-profile-required h2{font-size:28px}.match-profile-required p{color:var(--muted)}

.match-request-panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;margin:0 0 28px}.match-request-panel>h3{margin-top:24px}.request-row{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding:13px 0}.request-copy{display:flex;flex-direction:column;gap:2px;flex:1}.request-copy strong{font-size:15px}.request-copy small{font-size:10px}.request-actions{display:flex;gap:6px}.request-actions button{font-size:11px;padding:7px 12px}

.person-profile-shell{display:grid;grid-template-columns:320px 1fr;gap:28px;align-items:start;margin-top:18px}.person-profile-summary{background:#fff;border:1px solid var(--line);border-radius:28px;padding:28px;text-align:center;position:sticky;top:20px}.person-profile-summary .match-avatar{margin:0 auto 14px}.person-profile-summary h1{margin:8px 0 0}.person-profile-summary>p{color:var(--muted);margin-top:0}.person-score-box{background:#eaf3f0;border-radius:20px;padding:18px;margin:20px 0;display:flex;flex-direction:column}.person-score-box strong{font-size:36px;line-height:1.2}.person-score-box span{font-size:10px;color:var(--muted)}.person-request-button{width:100%}.request-status-pill{background:#f2eee8;border-radius:12px;padding:10px 12px;font-size:12px;font-weight:700}.person-profile-main{display:grid;gap:18px}.person-section,.person-safety{background:#fff;border:1px solid var(--line);border-radius:24px;padding:26px}.person-section h2{margin:3px 0 12px}.person-section p{color:var(--muted)}.person-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.person-facts>div{background:#f7f3ef;border-radius:16px;padding:16px;display:flex;flex-direction:column}.person-facts small{font-size:10px}.person-facts strong{font-size:14px}.person-safety{background:#fff6f2;border-color:#ecd8cf}.person-safety p{font-size:12px;color:var(--muted)}.person-safety>div{display:flex;gap:8px}.person-safety button{font-size:11px}.match-back{display:inline-block;margin-top:10px}

.match-modal{width:min(650px,calc(100% - 28px));border:0;border-radius:28px;padding:0;background:var(--paper);color:var(--ink);box-shadow:0 35px 100px rgba(53,45,40,.25)}.match-modal::backdrop{background:rgba(53,45,40,.55);backdrop-filter:blur(4px)}.match-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:28px 28px 10px}.match-modal-head h2{margin:2px 0;font-size:27px}.match-close{width:42px;height:42px;padding:0;display:grid;place-items:center;border-radius:50%;font-size:24px}.match-profile-form{padding:12px 28px 28px}.match-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.match-fields label,.match-bio-label{display:flex;flex-direction:column;gap:5px;font-size:11px}.match-field-wide{grid-column:1/-1}.match-fields input,.match-fields select,.match-bio-label textarea{width:100%;border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px 13px;color:var(--ink);font:inherit}.match-bio-label textarea{resize:vertical;min-height:100px}.interest-fieldset{border:0;padding:0;margin:20px 0}.interest-fieldset legend{font-size:11px;margin-bottom:9px}.interest-checks{display:flex;gap:7px;flex-wrap:wrap}.interest-checks label{cursor:pointer}.interest-checks input{position:absolute;opacity:0;pointer-events:none}.interest-checks span{display:block;border:1px solid var(--line);background:#fff;border-radius:20px;padding:7px 11px;font-size:11px}.interest-checks input:checked+span{background:var(--turquoise);border-color:var(--turquoise);font-weight:700}.match-privacy{font-size:10px;color:var(--muted)}.match-submit{width:100%;margin-top:10px}

@media(max-width:1000px){.match-people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.match-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.match-plan-grid{grid-template-columns:1fr}.match-hub-copy{padding:36px}}

@media(max-width:700px){
  .nav-match-full{display:none}.nav-match-short{display:inline}
  header nav{overflow-x:auto;justify-content:flex-start;scrollbar-width:none}.header nav::-webkit-scrollbar{display:none}
  header nav a{flex:0 0 auto;font-size:11px;padding-inline:8px}
  .match-hub-hero{grid-template-columns:1fr;gap:14px;margin-top:4px}.match-hub-copy{padding:28px 22px;border-radius:24px}.match-hub-copy h1{font-size:42px}.match-hub-copy p{font-size:13px}.match-hub-copy:after{font-size:160px;bottom:-58px;left:8px}.my-match-card{border-radius:22px;padding:20px}
  .match-tabs{overflow-x:auto;white-space:nowrap}.match-tabs a,.match-tabs button{flex:0 0 auto;padding:9px 11px;font-size:11px}.match-tabs button{margin-right:0}
  .match-event-context{align-items:flex-start;flex-wrap:wrap}.match-event-context>div{flex-basis:100%}
  .match-filters{grid-template-columns:1fr 1fr;padding:12px}.match-filters button{grid-column:1/-1}
  .match-people-grid{grid-template-columns:1fr}.match-person-card{min-height:0}.match-person-main{align-items:flex-start}.match-person-title-row h3{font-size:20px}
  .match-plan-card{grid-template-columns:110px 1fr;min-height:180px}.match-plan-cover .poster{min-height:180px}.match-plan-copy{padding:14px}.match-plan-copy h3{font-size:15px}.match-plan-bottom{align-items:flex-end;flex-direction:column}.match-plan-bottom a{width:100%;text-align:center}
  .event-match-box{grid-template-columns:52px 1fr;padding:18px}.event-match-icon{width:52px;height:52px;font-size:24px}.event-match-copy h2{font-size:21px}.event-match-copy p{font-size:12px}.match-event-button{grid-column:1/-1;width:100%;text-align:center}
  .person-profile-shell{grid-template-columns:1fr}.person-profile-summary{position:static}.person-facts{grid-template-columns:1fr}.person-section,.person-safety{padding:20px}.person-safety>div{flex-direction:column}
  .match-fields{grid-template-columns:1fr}.match-field-wide{grid-column:auto}.match-modal-head{padding:22px 20px 8px}.match-profile-form{padding:10px 20px 22px}
  .request-row{align-items:flex-start}.request-actions{flex-direction:column}
}

/* Live production cleanup: keep account-specific demo notices intact. */
body > .demo-label[role="note"],
body > header > .preview{
  display:none !important;
}

/* Real match profiles: clear consent for directory visibility. */
.match-public-toggle{display:flex;align-items:flex-start;gap:9px;margin:16px 0 0;font-size:11px;line-height:1.8;color:var(--ink);cursor:pointer}
.match-public-toggle input{margin:3px 0 0;accent-color:var(--turquoise)}

header nav a[href="/calendar"],
header nav a[href="/calendar/"]{
  display:none !important;
}

/* signed-in account link with profile photo */
nav a.nav-account{display:inline-flex;align-items:center;gap:7px}
.nav-account-avatar{display:inline-grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;overflow:hidden;background:#dcebe6;color:#2f5c51;font-size:13px;font-weight:800;line-height:1}
.nav-account-avatar img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:700px){nav a.nav-account{gap:0;padding-inline:6px}nav a.nav-account>span:not(.nav-account-avatar){display:none}.nav-account-avatar{width:26px;height:26px;flex-basis:26px}}
@media(max-width:700px){.match-page header nav:has(a.nav-account){grid-template-columns:repeat(5,minmax(0,1fr)) 40px}}

/* =========================
   SITE NAV (2026-10-19): «برگزاری رویداد» + mobile menu that never cuts items off.
   Scoped to nav.site-nav so old cached/generated pages keep their previous layout.
========================= */
@media(min-width:701px){nav.site-nav a.nav-org-link{white-space:nowrap}}
@media(min-width:701px) and (max-width:1180px){
  body>header>nav.site-nav{gap:18px;flex-wrap:wrap;row-gap:6px}
}
@media(min-width:701px) and (max-width:900px){
  body>header>nav.site-nav{gap:12px;font-size:13px}
}
@media(max-width:700px){
  body>header>nav.site-nav{display:flex;flex-wrap:nowrap;align-items:stretch;justify-content:space-between;gap:2px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;padding-inline:6px}
  body>header>nav.site-nav::-webkit-scrollbar{display:none}
  body>header>nav.site-nav>a{flex:1 1 0;min-width:46px;min-height:48px;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;gap:2px;padding:6px 2px;border-radius:12px;border-bottom:0;text-align:center;white-space:normal;font-size:10.5px;line-height:1.35;color:#66584c}
  body>header>nav.site-nav>a[aria-current=page]{background:#e3eee6;color:#7e321f;font-weight:800;padding:6px 2px}
  body>header>nav.site-nav>a.nav-account{flex:0 0 40px;min-width:40px}
  body>header>nav.site-nav b{font-size:10px;line-height:1.5;padding:0 5px;border-radius:6px}
  body>header>nav.site-nav .nav-match-full{display:none}
  body>header>nav.site-nav .nav-match-short{display:inline}
  /* match page keeps its own bottom-bar look but becomes count-agnostic (6–7 items) */
  body.match-page>header>nav.site-nav{display:flex;grid-template-columns:none}
}
@media(max-width:360px){
  body>header>nav.site-nav{gap:1px;padding-inline:2px}
  body>header>nav.site-nav>a{min-width:38px;font-size:10px}
}
