/* v2 — pages matched to the owner's mock-ups (Home, Profiles, Profile, Request). Loaded after myhalf.css. */
:root{--green:#2E9A5C;--green-bg:#E7F5EC;--pink-bg:#FDF1F1;--pink-line:#F2D2D4;--pink-ink:#C2404A;--card-shadow:0 2px 10px rgba(20,37,74,.08)}

/* header */
.bar-m{grid-template-columns:auto 1fr auto;gap:4px;background:#fff;border-bottom-color:var(--line)}
.bar-m .bar-c .brand{gap:5px}
.bar-m .bar-c .brand .mark{height:28px;width:auto;flex:none}
.bar-m .bar-c .brand .word{height:16px}
.bar-right{display:flex;align-items:center;gap:2px;justify-self:end}
.bar-left{display:flex;align-items:center}
.lang{position:relative}
.lang summary{list-style:none;display:flex;align-items:center;gap:3px;min-height:44px;padding:0 8px;font-weight:700;font-size:13px;cursor:pointer;color:var(--navy)}
.lang summary::-webkit-details-marker{display:none}
.lang summary .ic{width:16px;height:16px}
.lang ul{position:absolute;right:0;top:calc(100% + 4px);z-index:30;min-width:150px;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
.lang li{border-radius:8px;font-size:13.5px}
.lang li a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;padding:0 10px;border-radius:8px;color:inherit;text-decoration:none}
.lang li a:hover{background:var(--cream)}
.lang li[aria-current]{background:var(--cream);font-weight:700}
.auth-links{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;padding-right:6px}
.auth-links .sep{width:1px;height:16px;background:var(--line)}
.auth-links a{text-decoration:none}
.join-pill{padding:7px 14px;border-radius:999px;background:var(--gold-grad);color:#fff!important;font-weight:700;font-size:12.5px;box-shadow:0 3px 10px rgba(160,109,63,.25);white-space:nowrap}
@keyframes slidein{from{transform:translateX(-100%)}}

/* shared */
/* "Age 36" / "อายุ 36" beside a name (<x-mh-age>, owner 2026-10-17): half the name's size, kept between 11 and 15px */
.age-chip{display:inline-flex;align-items:center;margin-left:.15em;padding:.22em .62em;border-radius:999px;background:#F6EEE4;border:1px solid #EADCCB;color:#7A5530;font:600 clamp(11px,.5em,15px)/1.2 var(--f-ui);letter-spacing:0;text-transform:none;white-space:nowrap;vertical-align:.2em}
.vpill{display:inline-flex;align-items:center;gap:4px;padding:3px 9px 3px 4px;border-radius:999px;background:var(--green-bg);color:var(--green);font:700 11.5px/1.3 var(--f-ui);white-space:nowrap}
.vpill .ic{width:15px;height:15px;color:#fff;background:var(--green);border-radius:50%;padding:2px;stroke-width:3}
.heart{position:absolute;top:8px;right:8px;z-index:2;width:32px;height:32px;margin:0;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:var(--navy);box-shadow:0 2px 8px rgba(0,0,0,.12);cursor:pointer;text-decoration:none}
.heart .ic{width:18px;height:18px;stroke-width:2}
.heart[aria-pressed="true"]{color:#E0457B}
.heart[aria-pressed="true"] .ic{fill:#E0457B}
form.heart-form{margin:0}
.flag{display:inline-block;width:20px;height:14px;border-radius:2px;flex:none;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.rule-h{display:flex;align-items:center;gap:12px;margin:0;font:700 22px/1.1 var(--f-display);color:var(--navy)}
.rule-h::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,var(--gold-hi),transparent)}
.btn-gold2,.btn-navy2{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:52px;padding:0 22px;border:0;border-radius:10px;color:#fff;font:600 17px/1.3 var(--f-ui);text-decoration:none;cursor:pointer}
.btn-gold2{background:linear-gradient(180deg,#C9975F 0%,#A8743F 55%,#956335 100%);box-shadow:0 6px 16px rgba(149,99,53,.32),inset 0 1px 0 rgba(255,255,255,.35)}
.btn-navy2{background:linear-gradient(180deg,#1E3463 0%,#14254A 100%);box-shadow:0 6px 16px rgba(20,37,74,.28)}
.btn-gold2 .ic,.btn-navy2 .ic{width:22px;height:22px}
.btn-gold2 .end,.btn-navy2 .end{margin-left:auto}
.btn-gold2:active,.btn-navy2:active{transform:scale(.98)}

/* home */
.hero2{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;margin:-4px -16px 0;padding:22px 16px 26px;background:url(/img/silk.svg) center/cover no-repeat,radial-gradient(110% 70% at 100% 0%,rgba(233,193,164,.5),transparent 60%),radial-gradient(90% 60% at 0% 100%,rgba(233,193,164,.35),transparent 60%),linear-gradient(180deg,#FFFDFA,#F8EEE4);overflow:hidden}
.hero2 .mark{height:78px;width:auto}
.hero2 .word{height:36px;width:auto;margin-top:4px}
/* under the logo (2026-10-23): the tag spaced wide in navy, the club's line in gold with "Real" in italics, a gold
   rule with a dot, then the promise; MYHALF itself (the wordmark) stays the largest thing */
.hero2 .hero-tag{margin:6px 0 0;padding-left:.32em;font:600 11px/1.3 var(--f-ui);letter-spacing:.32em;text-transform:uppercase;color:var(--navy)}
.hero2 .hero-motto{margin:16px 0 0;font:500 clamp(15px,4.6vw,21px)/1.3 var(--f-display);color:var(--gold);text-wrap:balance}
.hero2 .hero-motto em{font-weight:500}
.hero2 .hero-rule{display:block;width:min(200px,50%);height:6px;margin:16px 0 12px;color:var(--gold-hi);
  background:linear-gradient(currentColor,currentColor) left center/44% 1px no-repeat,linear-gradient(currentColor,currentColor) right center/44% 1px no-repeat,radial-gradient(circle,var(--gold) 0 2.4px,transparent 2.9px) center/6px 6px no-repeat}
.hero2 h1{margin:0;font:500 clamp(24px,6.2vw,30px)/1.15 var(--f-display);color:var(--navy);text-wrap:balance}
.hero2 h1 em{font-weight:500;color:var(--gold)}
/* "We support you." (2026-10-26): in italics, "support" in rose gold; the home footer banner carries the same line.
   In the hero it is the promise's own size and weight, two lines as one, no dots between them (Nan's picture) */
.hero2 .hero-support,.b3-support{margin:0;font:italic 600 clamp(22px,5.8vw,27px)/1.15 var(--f-display);color:var(--navy)}
.hero2 .hero-support{margin-bottom:2px;font-weight:500;font-size:clamp(24px,6.2vw,30px)}
.hero-support em,.b3-support em{font-style:italic;color:#C98A7C;background:linear-gradient(180deg,#E8AE9F,#B9785F);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.pill4{list-style:none;margin:-36px -16px 0;padding:12px 6px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border-bottom:1px solid var(--line)}
.pill4 li{display:flex;flex-direction:column;align-items:center;gap:5px;padding:2px 4px;text-align:center;font:700 12.5px/1.15 var(--f-display);color:var(--navy)}
.pill4 li+li{border-left:1px solid var(--line)}
.pill4 .ic{width:24px;height:24px;color:var(--gold)}
/* the fifth, Events (Nan, 2026-10-30): on a phone a gold row of its own under the four, a column beside them from 720px */
.pill4 .pill-ev{grid-column:1/-1;margin-top:10px;padding-top:10px;border-left:0;border-top:1px solid var(--line)}
.pill-ev a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:32px;color:var(--gold);text-decoration:none}
.pill-ev b{font:700 15px/1.15 var(--f-display)}
.pill-soon{flex:none;padding:3px 10px;border-radius:999px;background:linear-gradient(180deg,#DDAE74,#A8743F);color:#fff;font:700 11px/1.2 var(--f-ui);letter-spacing:.02em;white-space:nowrap}
.pill4 .pill-ev .pill-go{width:18px;height:18px}
.fgrid{display:grid;grid-auto-flow:column;grid-auto-columns:44%;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:-16px;padding:2px 16px 6px;scroll-padding-inline:16px;scrollbar-width:none}
.fgrid::-webkit-scrollbar{display:none}
.fgrid>*{scroll-snap-align:start}
/* Women Join Free (Nan, 2026-10-27): a rose-gold card over the women, its button straight to her application */
.wjoin{display:flex;flex-direction:column;align-items:center;gap:12px;padding:16px 16px 18px;border:1px solid #F4D6D3;border-radius:14px;text-align:center;
  background:radial-gradient(90% 120% at 100% 100%,rgba(255,255,255,.75),transparent 60%),linear-gradient(120deg,#FCE6E8 0%,#FBE9E3 55%,#F8EBDD 100%);
  box-shadow:0 4px 14px rgba(201,120,110,.14)}
/* same card since 2026-10-30, new words: "Join Our Community" in navy, "Free Now!" in deep pink (Nan) */
.wjoin-t{margin:0;font:600 clamp(26px,7.6vw,34px)/1.1 var(--f-display);color:var(--navy);text-wrap:balance}
/* each half wraps whole: a narrow phone in Thai broke "สมัครฟรี" in two */
.wjoin-t span{white-space:nowrap}
.wjoin-t em{font-size:.72em;font-weight:600;color:#D22B5E;white-space:nowrap}
.wjoin-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:min(100%,300px);min-height:48px;padding:0 24px;border-radius:999px;
  background:linear-gradient(180deg,#EE5A86 0%,#D22B5E 100%);box-shadow:0 6px 16px rgba(210,43,94,.3),inset 0 1px 0 rgba(255,255,255,.3);
  color:#fff;font:600 16px/1.2 var(--f-ui);text-decoration:none}
.wjoin-btn .ic{width:20px;height:20px}
.wjoin-btn:active{transform:scale(.98)}
.fcard,.lcard{position:relative;display:flex;flex-direction:column;background:#fff;border-radius:10px;overflow:hidden;box-shadow:var(--card-shadow);min-width:0}
/* the card link only: the heart is also a direct <a> child (for guests) and must stay a centred circle */
.fcard>a:not(.heart),.lcard>a:not(.heart){text-decoration:none;color:inherit;display:flex;flex-direction:column;flex:1}
.fcard .ph,.lcard .ph{border-radius:0;max-width:none}
.fcard .ph{aspect-ratio:1/1.08}
.fcard .vpill{position:absolute;left:6px;bottom:6px;font-size:10.5px}
.fcard .bd{display:flex;flex-direction:column;gap:2px;padding:7px 8px 9px}
.fcard .nm{font:700 15px/1.15 var(--f-display)}
.fcard .loc{display:flex;align-items:center;gap:3px;font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fcard .loc .ic{width:12px;height:12px;color:var(--gold)}
.mini-tags{display:flex;gap:4px;margin-top:5px;overflow:hidden}
.mini-tags span{flex:none;padding:2px 6px;border-radius:4px;background:#F1F3F8;font-size:10px;font-weight:600;color:var(--navy)}

/* profiles list */
.title-c{text-align:center}
.title-c h1{margin:0;font:700 30px/1.1 var(--f-display);color:var(--navy)}
.title-c p{margin:6px 0 0;color:var(--muted);font-size:13.5px}
.dd-row{display:flex;gap:6px;margin-top:-18px}
.dd-row .dd{flex:1 1 auto;min-width:0}
.dd-row .dd:not(.on){flex-shrink:0} /* only a chosen value (which can be long) gives way */
@media (min-width:600px){.dd-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}}
/* the four filters do not fit side by side under 360px: two by two, never wider than the page */
@media (max-width:359px){.dd-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
.dd{display:flex;align-items:center;justify-content:center;gap:4px;min-height:38px;padding:0 6px;border:1px solid #DCE2EE;border-radius:8px;background:#F3F6FB;font-weight:600;font-size:12.5px;color:var(--navy);cursor:pointer;white-space:nowrap;overflow:hidden;min-width:0}
.dd span{overflow:hidden;text-overflow:ellipsis}
.dd .ic{width:14px;height:14px;flex:none}
.dd.on{background:var(--navy);border-color:var(--navy);color:#fff}
.clear-row{display:flex;justify-content:space-between;align-items:center;margin-top:-20px;font-size:13px;color:var(--muted)}
.lgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
.lcard .ph{aspect-ratio:1/.95}
.lcard .bd{display:flex;flex-direction:column;gap:4px;padding:9px 10px 12px}
.lcard .nm{font:700 18px/1.15 var(--f-display)}
.lcard .row{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12.5px;color:var(--muted)}
.lcard .row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lcard .vpill{align-self:flex-start;margin-top:2px}
.pager{display:flex;align-items:center;justify-content:center;gap:6px}
.pager a,.pager span{min-width:34px;height:34px;display:grid;place-items:center;padding:0 8px;border-radius:8px;border:1px solid #DCE2EE;background:#fff;font-weight:700;font-size:13.5px;text-decoration:none;color:var(--navy)}
.pager [aria-current]{background:var(--navy);border-color:var(--navy);color:#fff}
.pager .gap{border:0;background:none;min-width:auto}
.pager .off{opacity:.4}
.pager .ic{width:16px;height:16px}

/* profile detail */
.pd-card{background:#fff;border-radius:12px;box-shadow:var(--card-shadow);padding:16px}
.pd-photo{position:relative;border-radius:12px;overflow:hidden;background:var(--cream)}
.pd-photo .gallery figure{aspect-ratio:1/.98}
.pd-photo .gal-count{right:10px;bottom:10px;background:rgba(20,37,74,.8);font-size:14px;padding:4px 12px}
.pd-photo .heart{top:12px;right:12px;width:42px;height:42px}
.pd-photo .heart .ic{width:22px;height:22px}
.pd-thumbs{padding-inline:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:8px}
.pd-thumbs button{position:relative;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;aspect-ratio:1/1.2;cursor:pointer;background:var(--cream)}
.pd-thumbs button[aria-current="true"]{border-color:var(--gold-hi)}
.pd-thumbs img{width:100%;height:100%;object-fit:cover}
.pd-h{display:flex;align-items:center;gap:10px;margin:0 0 8px;font:700 24px/1.1 var(--f-display);color:var(--navy)}
.pd-h .ic{width:24px;height:24px;color:var(--gold)}
.pd-h-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.pd-h-row .pd-h{margin:0}
.pd-h-row a{font:600 15px/1 var(--f-display);color:var(--gold);text-decoration:underline;text-underline-offset:3px}
.pd-name{margin:8px 0 10px;font:700 38px/1 var(--f-display);color:var(--navy)}
.pd-facts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.pd-facts li{display:flex;align-items:center;gap:12px;font:500 17px/1.25 var(--f-display);color:var(--navy)}
.pd-facts .ic{width:21px;height:21px;color:var(--gold)}
.pd-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.pd-tags span{padding:4px 14px;border-radius:999px;background:#F6F1EB;border:1px solid #EFE4D7;font:500 14px/1.3 var(--f-display);color:var(--navy)}
.pd-video{position:relative;display:block;width:100%;padding:0;border:0;border-radius:8px;overflow:hidden;aspect-ratio:16/10;background:var(--navy);cursor:pointer}
.pd-video[disabled]{cursor:default}
.pd-video img{width:100%;height:100%;object-fit:cover;object-position:50% 0}
.pd-video-live{cursor:default;background:#000}
.pd-video-live video{display:block;width:100%;height:100%;object-fit:cover;background:#000}
.pd-video .play{position:absolute;inset:0;margin:auto;width:60px;height:60px;border-radius:50%;display:grid;place-items:center;border:3px solid #fff;background:rgba(0,0,0,.25);color:#fff}
.pd-video .play .ic{width:26px;height:26px;margin-left:4px}
.pd-video .dur{position:absolute;right:8px;bottom:8px;padding:3px 9px;border-radius:999px;background:rgba(0,0,0,.65);color:#fff;font-size:12.5px;font-weight:700}
.pd-vcap{display:flex;flex-direction:column;align-items:center;text-align:center;margin-top:8px}
.pd-vcap b{font:700 18px/1.25 var(--f-display);color:var(--navy)}
.pd-vcap span{font:500 14px/1.3 var(--f-display);color:var(--navy)}
.pd-text p{margin:0;font:500 17px/1.45 var(--f-display);color:var(--navy)}
.pd-text p+p{margin-top:8px}
.pd-mm{display:flex;gap:14px;padding:12px 14px;border-radius:8px;background:#FBF6F0;border:1px solid #F1E6D9}
.pd-mm>.ic{width:24px;height:24px;color:var(--gold);margin-top:6px}
.pd-mm b{display:block;font:700 17px/1.2 var(--f-display);color:var(--gold)}
.pd-mm p{margin:2px 0 0;font:500 15.5px/1.4 var(--f-display);color:var(--navy)}
.pd-cta{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.pd-cta .lock-note{font:500 14px/1.35 var(--f-display);color:var(--navy)}
.pd-cta .lock-note .ic{color:var(--gold);width:20px;height:20px}

/* request page */
.rq{display:flex;flex-direction:column;gap:16px}
.rq h1{margin:0;text-align:center;font:700 28px/1.15 var(--f-display);color:var(--navy)}
.rq .lead{margin:-6px 0 0;text-align:center;font:500 16px/1.35 var(--f-display);color:var(--navy)}
.rq-who{display:flex;gap:14px;align-items:center}
.rq-who img{width:96px;height:96px;border-radius:8px;object-fit:cover;flex:none}
.rq-who b{display:block;font:700 22px/1.15 var(--f-display);color:var(--navy)}
.rq-who .loc{display:flex;align-items:center;gap:6px;margin:3px 0 6px;font:500 15px/1.2 var(--f-display);color:var(--navy)}
.rq-who .loc .ic{width:16px;height:16px;color:var(--navy)}
.rq .lbl{font:700 20px/1.2 var(--f-display);color:var(--navy)}
.rq .textarea{min-height:120px;border-radius:6px;font:500 15px/1.4 var(--f-display)}
.rq .count{align-self:flex-end;margin-top:-10px;font:500 13px/1 var(--f-display);color:var(--muted)}
.next-box{padding:14px;border-radius:8px;background:var(--pink-bg);border:1px solid var(--pink-line)}
.next-box h2{display:flex;align-items:center;gap:8px;margin:0 0 8px;font:700 16px/1.2 var(--f-display);color:var(--navy)}
.next-box h2 .ic{width:20px;height:20px;color:var(--pink-ink)}
.next-box ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;counter-reset:n}
.next-box li{display:flex;gap:8px;font:500 14px/1.35 var(--f-display);color:var(--navy);counter-increment:n}
.next-box li::before{content:counter(n);flex:none;width:20px;height:20px;border-radius:50%;border:1.5px solid var(--pink-ink);color:var(--pink-ink);display:grid;place-items:center;font:700 11px/1 var(--f-ui)}

@media (min-width:600px){
  .fgrid{grid-auto-columns:30%}
}
@media (min-width:900px){
  .fgrid{grid-auto-flow:row;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible;margin-inline:0;padding:0 0 4px;gap:12px}
}
@media (min-width:600px){
  .lgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:720px){
  .hero2{margin:0;border-radius:18px 18px 0 0;padding:40px 24px 60px}
  .hero2 .mark{height:110px}
  .hero2 .word{height:50px}
  .hero2 .hero-tag{font-size:13px}
  .hero2 .hero-motto{margin-top:18px;font-size:27px}
  .hero2 .hero-rule{width:240px;margin:18px 0 14px}
  .hero2 h1{font-size:42px}
  .hero2 .hero-support{margin-bottom:4px;font-size:42px}
  .wjoin{flex-direction:row;justify-content:center;gap:28px;padding:20px 24px}
  .wjoin-t{font-size:40px}
  .pill4{margin:-48px 0 0;border-radius:0 0 18px 18px;padding:18px 8px}
  .pill4 li{font-size:16px}
  .pill4 .ic{width:30px;height:30px}
  .pill4{grid-template-columns:repeat(5,minmax(0,1fr))}
  .pill4 .pill-ev{grid-column:auto;margin:0;padding:2px 4px;border-top:0;border-left:1px solid var(--line)}
  .pill-ev a{flex-direction:column;justify-content:flex-start;gap:5px;height:100%}
  .pill-ev b{font-size:16px}
  .pill4 .pill-ev .pill-go{display:none}
  .dd-row{max-width:640px;margin-inline:auto;width:100%}
  .title-c h1{font-size:44px}
  .lgrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
  .rq{max-width:560px;margin-inline:auto;width:100%}
}

/* home footer (owner's picture, 2026-10-26): the places, the club's lines, "We support you." and the promise, in type
   over silk ribbons and a faint MYHALF mark that fade into the page; the skyline photo is gone, and since 2026-10-27
   (Nan) no heart, rules or dots: the words alone. The ≡ menu keeps its short rules (navigation.css) */
.home-foot{display:flex;flex-direction:column;gap:10px;margin-top:-26px}
.borders3{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;margin-inline:-16px;padding:30px 16px 34px;text-align:center;overflow:hidden}
.borders3::before,.borders3::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 16%,#000 86%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0%,#000 16%,#000 86%,transparent 100%)}
.borders3::before{background:url(/img/ribbons.svg) center/cover no-repeat}
/* the MYHALF mark behind the lines, pale as an emboss in the silk */
.borders3::after{background:url(/img/myhalf-mark.webp) center 10%/auto 62% no-repeat;opacity:.07}
.b3-love b{font-weight:600;color:var(--navy)}
.b3-support{position:relative;z-index:1;margin-top:30px}
.b3-find{position:relative;z-index:1;margin:12px 0 0;font:italic 600 clamp(22px,5.8vw,27px)/1.15 var(--f-display);color:var(--navy)}
.b3-find em{color:var(--gold)}
.b3-places{position:relative;z-index:1;margin:0;font:700 11px/1.3 var(--f-display);letter-spacing:.12em;text-transform:uppercase;color:var(--navy)}
.b3-places i{font-style:normal;color:var(--gold);padding:0 4px}
.b3-love{position:relative;z-index:1;display:flex;align-items:center;gap:10px;margin:2px 0 0;font:italic 600 16px/1.2 var(--f-display);color:var(--gold)}
.b3-club{position:relative;z-index:1;display:flex;align-items:center;gap:8px;margin:3px 0 0;font:600 8.5px/1.3 var(--f-ui);letter-spacing:.16em;text-transform:uppercase;color:var(--navy)}
.home-foot nav{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;font-size:12px;color:var(--muted)}
.home-foot a{color:var(--muted)}
@media (min-width:720px){
  .home-foot{margin-top:-34px}
  .borders3{margin-inline:0;padding-top:20px}
  .b3-places{font-size:17px;letter-spacing:.16em}
  .b3-places i{padding:0 14px}
  .b3-love{margin-top:6px;gap:22px;font-size:27px}
  .b3-club{margin-top:8px;gap:14px;font-size:12px}
  .borders3{padding:62px 24px 66px}
  .b3-support,.b3-find{font-size:36px}
  .b3-support{margin-top:44px}
  .b3-find{margin-top:16px}
}

/* demo profiles on staging */

/* home: "this is a test" notice while the site is being tried out */
.test-notice{display:flex;align-items:flex-start;gap:10px;margin:8px 0 -24px;padding:10px 14px;border-radius:10px;background:#FFF4E5;border:1px solid #F2D3A6;color:var(--navy);font-size:13px;line-height:1.4}
.test-notice b{flex:none;padding:2px 8px;border-radius:999px;background:var(--gold-grad);color:#fff;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase}
@media (min-width:720px){.test-notice{margin:0 0 -28px;font-size:14px}}

/* member photos are mostly full-length portraits: anchor the crop to the top so the face stays in frame */
.ph img,.gallery img,.thumbs img,.pd-thumbs img,.rq-who img,.intro-h .av img{object-position:50% 0}

/* Thai: its tone marks sit above and below the line, and it is never set in capitals or tracked out */
html:lang(th) body{line-height:1.7;font-synthesis-style:none}
html:lang(th) :is(h1,h2,h3,.h-screen,.h-sec,.pd-name,.rule-h,.title-c h1,.hero2 h1,.hero2 p,.prose h2){line-height:1.35}
html:lang(th) :is(.eyebrow,.hero-tag,.tagline,.tab,.b3-places,.b3-club,.mbadge,.acc-list h2){letter-spacing:0;text-transform:none}
/* profile filters: four buttons share a phone's width, so the label gets every pixel the arrow does not need */
.dd{padding:0 4px;gap:2px}

/* How It Works (Home + profile), as in the owner's mock-up of 2026-10-13: icon in a soft circle, its number under it,
   an arrow to the next step. Steps 3-4 are the automatic part, so their numbers are gold. Phones swipe sideways. */
.how5{list-style:none;margin:0 -16px;padding:2px 16px 6px;display:grid;grid-auto-flow:column;grid-auto-columns:max(42%,140px);gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:16px;scrollbar-width:none}
.how5::-webkit-scrollbar{display:none}
.how5 li{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;scroll-snap-align:start}
.how5 .top{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:4px}
.how5 .ring{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:#EEF1F7;color:var(--navy)}
.how5 .ring.love{background:#F6E7E2;color:#B5545C}
.how5 .ring .ic{width:30px;height:30px;stroke-width:1.6}
.how5 .ring.love .ic{fill:currentColor}
.how5 .n{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;flex:none;background:var(--navy);color:#fff;font:700 12.5px/1 var(--f-ui);font-variant-numeric:lining-nums}
.how5 li.key .n{background:linear-gradient(180deg,#C9975F 0%,#A8743F 100%)}
.how5 b{font:700 18px/1.2 var(--f-display);color:var(--navy)}
.how5 p{margin:0;font-size:13.5px;line-height:1.5;color:var(--muted)}
.how5 li:not(:last-child)::after{content:"→";position:absolute;right:-18px;top:24px;color:var(--muted);font:400 18px/1 var(--f-ui)}
@media (min-width:600px){.how5{grid-auto-columns:30%}}
@media (min-width:900px){
  .how5{grid-auto-flow:row;grid-template-columns:repeat(5,minmax(0,1fr));margin:0;padding:0;overflow:visible}
}

/* the profile's second button: outlined, under the gold one */
.btn-line2{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:52px;padding:0 22px;border:1.5px solid var(--navy);border-radius:10px;background:#fff;color:var(--navy);font:600 17px/1.3 var(--f-ui);text-decoration:none}
.btn-line2 .ic{width:22px;height:22px}
.btn-line2:active{transform:scale(.98)}

/* Profile, as the owner's mock-up of 2026-10-13: ONE card holding the photo, her name + a blue Verified,
   where she lives, her words and the two buttons, then the five steps across the card. Sans type, the pink
   action colour of the mock-up. Her other facts follow in .pd-more. */
.pd-grid{display:flex;flex-direction:column;gap:14px}
.pd-hero{container-type:inline-size;padding:14px}
.pd-hero-in{display:grid;gap:14px}
.pd-hero .pd-photo-wrap,.pd-hero .pd-info{min-width:0}
.pd-hero .pd-info{display:flex;flex-direction:column}
.pd-name-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin:0 0 8px}
/* her name is set like every other member name on the site (owner, 2026-10-17: one font per role) */
.pd-hero .pd-name{margin:0;font:700 34px/1.15 var(--f-display);color:var(--navy)}
/* the same green Verified pill as the profile cards, a size up beside the name */
.pd-name-row .vpill{font-size:13.5px;padding:4px 12px 4px 5px}
.pd-name-row .vpill .ic{width:18px;height:18px}
.pd-loc{display:flex;align-items:center;gap:6px;margin:0;font:500 16px/1.35 var(--f-ui);color:#1B1B1F}
.pd-loc .ic{width:20px;height:20px;flex:none;color:#D7263D}
.pd-lead{margin:6px 0 0;font:400 16px/1.45 var(--f-ui);color:#3A3A42;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pd-hero .pd-cta{display:flex;flex-direction:column;gap:12px;margin-top:16px}
.btn-pink,.btn-outline{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:52px;padding:0 20px;border-radius:8px;font:600 18px/1.2 var(--f-ui);text-decoration:none;cursor:pointer}
.btn-pink{border:0;background:#E0457B;color:#fff}
.btn-pink:hover{background:#D23A6F}
.btn-outline{border:1.5px solid #BFC3CA;background:#fff;color:#1B1B1F}
.btn-outline:hover{border-color:#8E939B}
.btn-pink .ic,.btn-outline .ic{width:22px;height:22px}
.btn-pink:active,.btn-outline:active{transform:scale(.98)}
.pd-cta .is-off{opacity:.45;cursor:not-allowed;user-select:none}
.pd-cta .is-off:hover{background:#E0457B}
.pd-cta .btn-outline.is-off:hover{background:#fff;border-color:#BFC3CA}
.pd-more{display:flex;flex-direction:column;gap:12px}
.pd-more .pd-tags{margin-top:0}
/* Personal Details (owner's mock-up, 2026-10-14): label beside value in one column on a phone; once the card is
   wide, two columns with a rule between them, the value under its label so a long one never squeezes. */
.pd-more{container-type:inline-size}
.pd-dl{margin:0;display:grid;gap:10px}
.pd-dl>div{display:grid;grid-template-columns:minmax(0,9.75rem) minmax(0,1fr);gap:4px 12px;align-items:start;break-inside:avoid}
.pd-dl dt{display:flex;align-items:center;gap:10px;font:600 17px/1.25 var(--f-display);color:var(--navy)}
.pd-dl dt .ic{width:21px;height:21px;color:var(--gold)}
.pd-dl dd{margin:0;padding-top:1px;font:400 15px/1.4 var(--f-ui);color:#3A3A42;overflow-wrap:anywhere}
@container (min-width:520px){
  .pd-dl{display:block;columns:2;column-gap:32px;column-rule:1px solid #EFE4D7}
  .pd-dl>div{grid-template-columns:minmax(0,1fr);margin-bottom:12px}
  .pd-dl>div:last-child{margin-bottom:0}
  .pd-dl dd{padding:0 0 0 31px}
}

/* the five steps: a numbered column on a phone, one row with an arrow from each number to the next once the card is wide */
.isteps{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:12px}
.isteps li{position:relative;display:flex;align-items:center;gap:12px}
.isteps li:not(:last-child)::after{content:"";position:absolute;left:13px;top:28px;height:12px;border-left:1.5px solid #D5D8DE}
.isteps .n{position:relative;z-index:1;flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#E0457B;color:#fff;font:700 14px/1 var(--f-ui)}
.isteps p{margin:0;font:400 14px/1.4 var(--f-ui);color:#1B1B1F}
.isteps b{font-weight:700}
@container (min-width:560px){
  /* a square photo about as tall as her details, so the buttons end level with it as in the mock-up */
  .pd-hero-in{grid-template-columns:240px minmax(0,1fr);gap:20px}
  .pd-hero .pd-photo .gallery figure{aspect-ratio:1/1}
  .pd-hero .pd-thumbs button{aspect-ratio:1/1}
  .pd-hero .pd-cta{margin-top:auto;padding-top:16px}
  .isteps{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:20px}
  .isteps li{display:block}
  .isteps li:not(:last-child)::after{left:38px;right:-4px;top:13.5px;height:0;border-left:0;border-top:1.5px solid #A9ADB4}
  .isteps li:not(:last-child)::before{content:"";position:absolute;right:-3px;top:10px;width:7px;height:7px;border-top:1.5px solid #A9ADB4;border-right:1.5px solid #A9ADB4;transform:rotate(45deg)}
  .isteps p{margin-top:10px}
}
@container (min-width:900px){.pd-hero-in{grid-template-columns:300px minmax(0,1fr)}}
/* under the card: About, Looking For and Details stacked on the left, the video on the right */
.pd-split,.pd-stack{display:flex;flex-direction:column;gap:14px;min-width:0}
@media (min-width:600px){
  /* both columns end on the same line: the video grows from 16:10 to fill, the last card on the left stretches */
  .pd-split{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:14px;align-items:stretch}
  .pd-stack>:last-child{flex:1 1 auto}
  .pd-split .pd-video-card{display:flex;flex-direction:column}
  .pd-split .pd-video{flex:1 1 auto}
}

/* "How Introductions Work": the numbered list on Introductions and Safety */
.ilist-card{background:#fff;border-radius:12px;box-shadow:var(--card-shadow);padding:16px;margin:0 0 18px}
.ilist{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.ilist li{display:flex;align-items:flex-start;gap:12px;font-size:15px;line-height:1.5;color:var(--navy)}
.ilist .n{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;flex:none;margin-top:1px;background:linear-gradient(180deg,#C9975F 0%,#A8743F 100%);color:#fff;font:700 12.5px/1 var(--f-ui)}
.prose .ilist-card{margin:22px 0}
.prose .ilist-card h2{margin-top:0}

/* forms: iPhone draws <select> and date inputs in its own style and height; give them the text-box look */
.select{-webkit-appearance:none;appearance:none;height:50px;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314254A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px}
.input[type="date"]{-webkit-appearance:none;appearance:none;display:block;height:50px;text-align:left}
.input[type="date"]::-webkit-date-and-time-value{text-align:left}

/* phones/tablets: like a native app — back and logo on the left, language and sign-in on the right, the tab bar does the navigating */
.bar-left:empty{width:0}
.bar-m .bar-c{justify-content:flex-start} /* the logo sits at the far left on every page, after the back button when there is one */

/* date of birth: day · month · year */
.dob{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr) minmax(0,1fr);gap:8px;max-width:400px}

/* his profile (account) and her page */
.my-photos{display:flex;flex-wrap:wrap;gap:10px}
.my-photo{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:13px}
.my-photo img{width:110px;aspect-ratio:4/5;object-fit:cover;object-position:50% 0;border-radius:10px;background:var(--cream)}
.profile-status{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 10px;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:#fff;font-size:14px;line-height:1.45}
.profile-status>.ic{flex:none;margin-top:1px;color:var(--gold)}
.profile-status>span{flex:1;min-width:0}
.profile-status.approved{background:var(--green-bg);border-color:#BFE3CC}.profile-status.approved>.ic{color:var(--green)}
.profile-status.review{background:#FFF8EC;border-color:#F2D3A6}
.profile-status .note-from-team{flex-basis:100%;padding-left:30px;color:var(--navy);font-weight:600}
.him{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.him-photos{display:grid;grid-auto-flow:column;grid-auto-columns:72%;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.him-photos::-webkit-scrollbar{display:none}
.him-photos img,.him-nophoto{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 0;border-radius:12px;scroll-snap-align:start;background:var(--cream)}
.him-nophoto{display:grid;place-items:center;color:var(--gold)}
.him-info{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.him-card section{margin-top:4px}
@media (min-width:720px){
  .him{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .him-photos{grid-auto-columns:100%}
}

/* phones: Login / Join Now sit next to the language button on every page; on narrow screens the logo keeps only its mark */
@media (max-width:359px){.bar-m .lang summary{padding:0 2px}.bar-m .auth-links{gap:6px;padding-right:4px}}

/* sign-in codes */
.code-input{font:600 24px/1 var(--f-ui);letter-spacing:.35em;text-align:center}
.recovery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:0;padding-left:1.4em;font-size:15px}

/* required-field mark on forms */
.req{color:var(--danger);font-weight:700;margin-left:1px}

/* her photos: the first empty box is the picker */
.photos .slot.add{cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:8px;border:1.5px dashed var(--gold-hi);background:#FBF6F0;color:var(--gold);font-weight:700;font-size:14px;text-align:center}
.photos .slot.add .plus{font-size:30px;font-weight:400;line-height:1}
.photos .slot.add:hover{background:#F6EDE2}
#w-photos:focus-visible+.photos .slot.add{outline:2px solid var(--gold);outline-offset:2px}
.photos.vrow{align-items:center}
.photos.vrow .vhint{grid-column:span 2;margin:0}
.photos .slot video{width:100%;height:100%;object-fit:cover}
#w-video:focus-visible+.photos .slot.add{outline:2px solid var(--gold);outline-offset:2px}

/* ---------- membership (docs/membership.md): one look for the price, the list, the card, the success page ---------- */
button.btn-gold2,button.btn-line2,button.btn-pink,button.btn-outline{width:100%;cursor:pointer}
.m-head,.msuccess-head{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.m-head em,.msuccess-head em{font-style:normal;color:var(--gold)}
.m-head .sub,.msuccess-head .sub{margin:0;max-width:560px}

.mplan{position:relative;container-type:inline-size;display:flex;flex-direction:column;gap:18px;padding:30px 18px 20px;border-radius:var(--r-m);background:var(--surface);border:1px solid #E7CFB3;box-shadow:var(--shadow)}
.mplan-grid{display:grid;gap:18px}
.mplan-cta{display:flex;flex-direction:column;gap:10px;align-items:stretch;max-width:440px;width:100%;margin:0 auto}
.mstate{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;font-weight:700;color:var(--green)}
.mstate .ic{width:18px;height:18px}
@container (min-width:620px){
  .mplan{padding:34px 34px 24px}
  .mplan-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:center;gap:28px}
  .mplan-price{padding-right:28px;border-right:1px solid var(--line)}
}

.msteps{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.msteps li{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:12px;align-items:start}
.msteps .n{grid-row:span 2;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--cream);color:var(--gold);font:700 15px/1 var(--f-ui)}
.msteps b{font:700 18px/1.2 var(--f-display);color:var(--navy)}
.msteps p{margin:2px 0 0;font-size:14px;line-height:1.4;color:var(--muted)}
@media (min-width:720px){.msteps{grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}}

.msuccess-mark{width:84px;height:84px;border-radius:50%;display:grid;place-items:center;background:#fff;border:3px solid var(--gold-hi);box-shadow:0 0 0 10px #FBF1E4,0 10px 30px rgba(168,116,63,.25);color:#2E7D52}
.msuccess-mark .ic{width:44px;height:44px;stroke-width:3}
.msuccess-mark.wait{color:var(--gold)}

.mcard{container-type:inline-size;display:flex;flex-direction:column;gap:16px;padding:20px;border-radius:var(--r-m);background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}
.mcard-top{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center;padding-bottom:16px;border-bottom:1px solid var(--line)}
.mcard-top h2{margin:2px 0;font:700 28px/1.1 var(--f-display);color:var(--navy)}
.mcard-top .mbadge{grid-column:1/-1;justify-self:start}
.mcard-crown{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#F6ECE0;color:var(--gold)}
.mcard-crown .ic{width:30px;height:30px}
.mcard-crown.plan-medal{width:64px;height:64px}
.mcard-crown.plan-medal .ic{width:30px;height:30px}
.mbadge{display:inline-flex;align-items:center;gap:6px;padding:5px 14px;border-radius:999px;background:#EEF0F3;color:var(--muted);font:800 12px/1.4 var(--f-ui);letter-spacing:.1em;text-transform:uppercase}
.mbadge::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
.mbadge.on{background:#E3F2E8;color:#1F7A47}
.mfacts{margin:0;display:grid;gap:10px}
.mfacts div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
.mfacts dt{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14.5px}
.mfacts dt .ic{width:20px;height:20px;color:var(--gold)}
.mfacts dd{margin:0;font-weight:700;color:var(--navy);text-align:right}
.mfacts dd.ok{color:#1F7A47}
@container (min-width:600px){
  .mcard-top{grid-template-columns:auto minmax(0,1fr) auto}
  .mcard-top .mbadge{grid-column:auto;justify-self:end}
  .mfacts:not(.one){grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:36px}
}
.mnext-note{display:flex;align-items:center;justify-content:center;gap:12px;margin:0;padding:14px 16px;border-radius:var(--r-s);background:#EAF4EE;border:1px solid #CFE6D7;font:600 17px/1.3 var(--f-display);color:var(--navy);text-align:center}
.mnext-note span{flex:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#3E8A62;color:#fff}
.mnext-note .ic{width:20px;height:20px}
.mbtns{display:grid;gap:10px}
@media (min-width:600px){.mbtns{grid-template-columns:1fr 1fr}}

.mcard-acc-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.mcard-acc .mfacts dd{text-align:right}
.mcard-acc .btn-gold2.is-off{opacity:.5;box-shadow:none;cursor:not-allowed;user-select:none}

/* ---------- Join page (owner's mock-up, 2026-10-14) ---------- */
.jhero{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;margin:-4px -16px 0;padding:24px 16px 30px;
  background:url(/img/silk.svg) center/cover no-repeat,radial-gradient(110% 70% at 100% 0%,rgba(233,193,164,.45),transparent 60%),radial-gradient(90% 60% at 0% 100%,rgba(233,193,164,.3),transparent 60%),linear-gradient(180deg,#FFFDFA,#F8EEE4)}
.jhero .mark{height:84px;width:auto}
.jhero .word{height:40px;width:auto;margin-top:2px}
.jtag{display:flex;align-items:center;gap:10px;margin:4px 0 0;font:700 9.5px/1.3 var(--f-ui);letter-spacing:.16em;text-transform:uppercase;color:var(--navy)}
.jtag::before,.jtag::after{content:"";width:30px;height:1px;background:var(--gold-hi)}
.jlead{margin:10px 0 14px;max-width:560px;font:500 18px/1.4 var(--f-display);color:var(--navy);text-wrap:balance}
.jcards{display:grid;gap:16px;width:100%;max-width:820px}
.jcard{display:flex;flex-direction:column;align-items:center;gap:12px;padding:22px 20px 18px;border-radius:16px;background:rgba(255,255,255,.88);border:1px solid #EFE2D3;box-shadow:0 10px 30px rgba(20,37,74,.06)}
.jcard.woman{background:linear-gradient(180deg,rgba(253,244,240,.95),rgba(255,255,255,.9))}
.javatar{width:96px;height:96px;border-radius:50%;padding:3px;background:linear-gradient(135deg,#E8C3A6,#B88358)}
.javatar svg{display:block;width:100%;height:100%;border-radius:50%}
.jcard h2{margin:2px 0 0;font:700 32px/1.1 var(--f-display);color:var(--navy)}
.jcard h2 em{font-style:normal;color:#B5784F}
.jlist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px;align-self:center;text-align:left}
.jlist li{display:flex;align-items:center;gap:12px;font-size:15px;color:var(--navy)}
.jlist .ic{flex:none;width:22px;height:22px;padding:4px;border-radius:50%;background:linear-gradient(180deg,#CE9878,#B07454);color:#fff;stroke-width:3}
.jlist.navy .ic{background:#24365E}
.jprice{width:100%;padding:10px 12px;border-radius:10px;background:#FCF3E8;border:1px solid #E7C9A6;color:var(--navy)}
.jprice b{display:block;font:600 22px/1.15 var(--f-display);color:#9A6A3E}
.jprice p{margin:2px 0 0;font:600 18px/1.2 var(--f-display)}
.jprice strong{font:700 36px/1 var(--f-ui);letter-spacing:-.01em;color:var(--navy)}
.jprice small{display:block;margin-top:2px;font-size:13px;color:var(--navy)}
.jprice .link{display:inline-block}
.narrow>.jprice{max-width:none}
.jbtn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:54px;margin-top:auto;border-radius:999px;color:#fff;font:600 18px/1.3 var(--f-ui);text-decoration:none;box-shadow:0 8px 20px rgba(20,37,74,.18)}
.jbtn .ic{width:20px;height:20px}
.jbtn.rose{background:linear-gradient(180deg,#CF9A79 0%,#B07454 100%)}
.jbtn.navy{background:linear-gradient(180deg,#1F315A,#14254A)}
.jbtn:active{transform:scale(.98)}
.jfoot{display:flex;align-items:center;gap:10px;margin:0;font:700 10px/1 var(--f-ui);letter-spacing:.22em;text-transform:uppercase;color:var(--muted)}
.jfoot::before,.jfoot::after{content:"";width:34px;height:1px;background:var(--line)}
.jsteps{list-style:none;margin:20px 0 0;padding:0;width:100%;max-width:880px;display:grid;gap:14px;text-align:left}
.jsteps li{display:flex;align-items:center;gap:14px}
.jsteps .ji{flex:none;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#F7E8DA;color:#9A6A3E}
.jsteps .ji .ic{width:26px;height:26px}
.jsteps b{display:block;font:700 19px/1.2 var(--f-display);color:var(--navy)}
.jsteps p{margin:2px 0 0;font-size:13px;line-height:1.35;color:var(--muted)}
@media (min-width:720px){
  .jhero{margin:0;border-radius:18px;padding:36px 28px 34px}
  .jhero .mark{height:104px}
  .jhero .word{height:52px}
  .jtag{font-size:10.5px}
  .jlead{font-size:21px}
  .jcards{grid-template-columns:1fr 1fr;gap:20px}
  .jsteps{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
  .jsteps li:not(:last-child){position:relative}
  .jsteps li:not(:last-child)::after{content:"\203A";position:absolute;right:-16px;top:50%;transform:translateY(-55%);font:300 30px/1 var(--f-ui);color:#C9B39B}
}

/* membership: plan cards ("Choose Your Membership"), the header button, switched-off buttons */
.is-off{opacity:.45;cursor:not-allowed;box-shadow:none;user-select:none;pointer-events:none}
.mbtn{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px;border-radius:999px;border:1.5px solid var(--gold-hi);background:#FFF8F0;color:var(--gold);font:700 14px/1 var(--f-ui);text-decoration:none;white-space:nowrap}
.mbtn .ic{width:18px;height:18px}
.mbtn:hover{background:#FCEFE0}
.mbtn.on{border-color:#9FD3B5;background:#EEF8F1;color:#1F7A47}
.mbtn.on::after{content:"";width:8px;height:8px;border-radius:50%;background:#2E9A5C}
.mbtn.icon{position:relative;min-height:34px;width:34px;padding:0;justify-content:center}
.mbtn.icon.on::after{position:absolute;top:2px;right:2px;width:9px;height:9px;border:2px solid #fff}
/* tablets: the header has no room for the word, the crown stays (measured: 768px overflowed by 1px) */
@media (max-width:1023px){.bar-w .mbtn{width:40px;padding:0;justify-content:center;position:relative}.bar-w .mbtn .mbtn-t{display:none}.bar-w .mbtn.on::after{position:absolute;top:3px;right:3px;width:9px;height:9px;border:2px solid #fff}}

/* ---------- Introductions: one profile card per woman, a page per introduction (owner's brief, 2026-10-14) ---------- */
.itabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:-8px 0 0}
.itabs a{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--navy);font:700 13.5px/1 var(--f-ui);text-decoration:none;white-space:nowrap}
.itabs a span{min-width:20px;padding:2px 6px;border-radius:999px;background:var(--cream);color:var(--gold);font-size:11.5px;text-align:center}
.itabs a[aria-current="page"]{background:var(--navy);border-color:var(--navy);color:#fff}
.itabs a[aria-current="page"] span{background:rgba(255,255,255,.18);color:#fff}
.igrid{display:grid;gap:12px}
.icard{position:relative;display:grid;grid-template-columns:104px minmax(0,1fr);gap:14px;padding:12px;border-radius:var(--r-m);background:var(--surface);border:1px solid var(--line);color:inherit;text-decoration:none;box-shadow:0 2px 10px rgba(20,37,74,.05);transition:box-shadow .15s,border-color .15s}
.icard:hover{border-color:#E1C9AD;box-shadow:0 8px 24px rgba(20,37,74,.1)}
.icard.turn{border:1.5px solid #E4B98E;background:linear-gradient(180deg,#FFFAF4,#fff)}
.icard.over{opacity:.72}
.icard-ph{position:relative;display:block;border-radius:12px;overflow:hidden;background:var(--cream);aspect-ratio:4/5}
.icard-ph img{width:100%;height:100%;object-fit:cover;object-position:50% 0}
.icard-turn{position:absolute;left:6px;bottom:6px;padding:3px 9px;border-radius:999px;background:var(--gold-grad);color:#fff;font:800 10.5px/1.4 var(--f-ui);letter-spacing:.06em;text-transform:uppercase}
.icard-b{display:flex;flex-direction:column;gap:6px;min-width:0}
.icard-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 8px}
.icard-top b{white-space:nowrap;font:700 21px/1.15 var(--f-display);color:var(--navy)}
.icard-loc{display:flex;align-items:center;gap:5px;margin:0;color:var(--muted);font-size:13px}
.icard-loc .ic{width:15px;height:15px;color:var(--gold)}
.icard-now{font-size:14px;line-height:1.4;color:var(--navy);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.icard-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.icard-foot small{white-space:nowrap;color:var(--muted);font-size:12px}
.icard-go{flex:none;white-space:nowrap;display:inline-flex;align-items:center;gap:2px;color:var(--gold);font:700 13px/1 var(--f-ui)}
.icard-go .ic{width:16px;height:16px}
.ipill{flex:none;display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font:800 10.5px/1.4 var(--f-ui);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;align-self:flex-start}
.ipill.waiting{background:#FFF3E0;color:#A35C12}
.ipill.good{background:#E3F2E8;color:#1F7A47}
.ipill.met{background:var(--cream);color:var(--gold)}
.ipill.ended{background:#EEF0F5;color:var(--muted)}
.iprog{display:grid;grid-template-columns:repeat(6,1fr);gap:4px}
.iprog i{height:5px;border-radius:3px;background:#EDE3D7}
.iprog i.on{background:var(--gold-grad)}
.ihow{border-radius:var(--r-m);background:var(--surface);border:1px solid var(--line);padding:4px 16px}
.ihow summary{cursor:pointer;padding:12px 0;font:700 18px/1.2 var(--f-display);color:var(--navy)}
.ihow .ilist-card{margin:0 0 12px;padding:0;box-shadow:none}
.ihow .ilist-card h2{display:none}
@media (min-width:600px){.igrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media (min-width:1000px){
  .igrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .icard{grid-template-columns:1fr;padding:0;gap:0;overflow:hidden}
  .icard-ph{border-radius:0;aspect-ratio:4/3.4}
  .icard-b{padding:14px 16px 16px}
}

/* one introduction */
.idetail{display:grid;gap:16px;align-items:start}
.ihead{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;padding:14px;border-radius:var(--r-m);background:var(--surface);border:1px solid var(--line)}
.ihead-ph{display:block;border-radius:12px;overflow:hidden;background:var(--cream);aspect-ratio:4/5}
.ihead-ph img{width:100%;height:100%;object-fit:cover;object-position:50% 0}
.ihead-b{display:flex;flex-direction:column;gap:8px;min-width:0}
.ihead-b h1{margin:0;font:700 26px/1.1 var(--f-display);color:var(--navy)}
.ihead-b .btn{align-self:flex-start;min-height:40px}
.iturn{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;border-radius:var(--r-s);background:#FFF4E6;color:#8A5418;font-weight:700;font-size:14px}
.iturn .ic{width:18px;height:18px}
.imsg{margin:0;padding:10px 12px;border-radius:var(--r-s);background:var(--cream);font-size:14px;color:var(--navy)}
.imsg b{display:block;margin-bottom:2px;font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
@media (min-width:860px){
  .idetail{grid-template-columns:300px minmax(0,1fr)}
  .ihead{position:sticky;top:90px;grid-template-columns:1fr;padding:0;overflow:hidden}
  .ihead-ph{border-radius:0;aspect-ratio:4/4.4}
  .ihead-b{padding:0 16px 16px}
}

/* ---- Account (owner's mock-ups, 2026-10-15): his card with the three numbers along its foot, then membership, the
   events ahead and his introductions. A phone column under 1024px; a side menu and two columns from 1024px.
   Sizes are measured off the two mock-ups (phone at 424px, iPad at 1180px). ---- */
.acc{--acc-line:#EBE6DE;--acc-band:#FBF8F0;--acc-link:#3D5F93;display:flex;flex-direction:column;gap:13px;width:100%;max-width:640px;margin:9px auto 0}
.acc-hero,.acc-card{position:relative;background:var(--surface);border:1px solid var(--acc-line);box-shadow:0 2px 8px rgba(120,96,64,.06)}

/* his card: photo and who he is, the gear in the corner, three actions, then the numbers */
.acc-hero{display:flex;flex-direction:column;padding:52px 9px 0;border-radius:18px}
.acc-hero>:last-child:not(.acc-stats){margin-bottom:16px}
/* the corner (owner, 2026-10-17): one button, Edit profile; settings live in the ≡ menu */
.acc-corner{position:absolute;top:10px;right:10px;z-index:5}
.acc-edit{display:flex;align-items:center;gap:7px;height:36px;padding:0 14px 0 12px;border:1px solid #E1C9AD;border-radius:999px;background:#FFF8F0;box-shadow:0 1px 2px rgba(20,37,74,.05);color:var(--navy);font:700 14px/1 var(--f-ui);white-space:nowrap;text-decoration:none;transition:background .15s,border-color .15s}
.acc-edit::before{content:"";position:absolute;inset:-5px -2px}
.acc-edit .ic{flex:none;width:17px;height:17px;color:var(--gold)}
.acc-edit:hover{background:#FCEFE0;border-color:#D3A574}
/* Edit sits right after his name: 28px to see, a 44px target to tap */
.acc-top{display:flex;flex-direction:column;gap:14px}
/* the photo and his name start under the corner buttons, so a long name never runs beneath them */
.acc-id{display:flex;align-items:flex-start;gap:18px;min-width:0;padding:0 0 0 8px}
.acc-av{flex:none;display:grid;place-items:center;width:88px;height:88px;border-radius:50%;overflow:hidden;background:var(--gold-grad);color:#fff;font:700 36px/1 var(--f-display);box-shadow:0 0 0 5px #fff,0 0 0 6px #DFD9D2,0 6px 16px rgba(20,37,74,.1)}
.acc-av img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.acc-who{display:flex;flex-direction:column;gap:2px;min-width:0;padding-top:8px}
/* a long name wraps whole and takes the shield and Edit to the next line with it, instead of breaking mid-word */
.acc-name{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;margin:0;font:700 27px/1.15 var(--f-display);color:#0E2140;overflow-wrap:break-word;min-width:0}
.acc-name>span:first-child{max-width:100%;overflow-wrap:break-word}
/* the shield and Edit stay together: on a long name they move to the next line as a pair */
.acc-ok{display:inline-flex;flex:none;color:#30A35D}
.acc-ok .ic{width:20px;height:20px}
.acc-mail{max-width:100%;font-size:16px;line-height:1.45;color:#14233F;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acc-meta{font-size:14px;line-height:1.45;color:#64656D}
.acc-hero .profile-status{margin:14px 1px 0;padding:10px 12px;font-size:13px}
/* a 320-359px phone: a smaller photo and name, so a nine-letter name stays on one line instead of breaking mid-word */
@media (max-width:359px){.acc-id{gap:16px;padding-left:6px}.acc-av{width:72px;height:72px;font-size:30px}.acc-name{font-size:23px}.acc-mail{font-size:15px}}

/* the numbers: an inset band with its own rounded top on a phone, a straight band at the card's foot from 1024px */
.acc-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:16px -9px 0;overflow:hidden;border:1px solid #E9E2D9;border-bottom:0;border-radius:15px 15px 17px 17px;background:var(--acc-band)}
.acc-stat{display:flex;flex-direction:column;align-items:center;gap:7px;padding:13px 4px 12px;color:#0D1E3D;text-decoration:none;transition:background .15s}
.acc-stat+.acc-stat{border-left:1px solid #E5DCD3}
.acc-stat:hover{background:#F6EDE1}
.acc-stat-n{display:flex;align-items:center;gap:15px}
.acc-stat-n .ic{width:21px;height:21px;color:var(--gold)}
.acc-stat-n b{font:700 28px/1 var(--f-ui);font-variant-numeric:tabular-nums lining-nums}
.acc-stat-l{font-size:15.5px;font-weight:500;line-height:1.3;color:#606069}
.acc-stat.hot b,.acc-stat.hot .acc-stat-l{color:var(--gold)}
.acc-stat:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}

/* the cards under it: membership, events, his turn, latest. On a phone they run in that order. */
.acc-cols,.acc-col{display:contents}
.acc .mcard-acc{order:1}
.acc-events{order:2}
.acc-waiting{order:3}
.acc-latest{order:4}
.acc-card{container-type:inline-size;display:flex;flex-direction:column;gap:12px;padding:16px 14px 14px;border-radius:15px}
.acc-card-h{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:30px;padding-left:3px}
.acc-card-h h2{display:flex;align-items:center;gap:13px;min-width:0;margin:0;font:700 18px/1.3 var(--f-ui);color:#0C203F}
.acc-card-h h2 .ic{flex:none;width:22px;height:22px;color:var(--gold)}
.acc-all{flex:none;display:inline-flex;align-items:center;gap:6px;padding:6px 0 6px 6px;color:var(--acc-link);font:500 13.5px/1.2 var(--f-ui);text-decoration:none;white-space:nowrap}
.acc-all .ic{width:14px;height:14px;stroke-width:2}
.acc-all:hover{text-decoration:underline;text-underline-offset:3px}
.acc-empty{display:flex;flex-direction:column;align-items:center;gap:3px;padding:2px 8px 6px;text-align:center}
.acc-empty>.ic{width:40px;height:40px;margin-bottom:8px;color:#B6BCC7;stroke-width:1.5}
.acc-empty b{font-size:14px;font-weight:600;line-height:1.4;color:#383D4C}
.acc-empty span{font-size:13px;line-height:1.4;color:#61636A}
.acc-empty .acc-all{padding-top:4px}

/* rows: a photo or a date, the name and where, then the date or a tag */
.acc-rows{margin:0 -1px;padding:0;list-style:none}
.acc-rows li{border-top:1px solid #EFEFEF}
.acc-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto 12px;align-items:center;gap:12px;min-height:50px;padding:6px 1px;color:inherit;text-decoration:none}
.acc-row:hover{background:#FCFAF7}
.acc-row-av{width:36px;height:36px;border-radius:50%;overflow:hidden;background:var(--cream)}
.acc-row-av img{width:100%;height:100%;object-fit:cover;object-position:50% 0}
.acc-row-date{display:flex;flex-direction:column;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px;background:#F6EDE1;color:var(--gold);line-height:1}
.acc-row-date b{font:700 14px/1 var(--f-ui)}
.acc-row-date small{margin-top:2px;font:600 10px/1 var(--f-ui)}
.acc-row-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.acc-row-t b{overflow:hidden;font-size:15px;font-weight:500;line-height:1.3;color:#172135;text-overflow:ellipsis;white-space:nowrap}
.acc-row-t small{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden;font-size:13.5px;line-height:1.3;color:#71717A;white-space:nowrap}
.acc-row-t small .ic{flex:none;width:13px;height:13px;color:#66676E}
.acc-row-d{font-size:13.5px;color:#72737C;white-space:nowrap}
.acc-row .chev{width:12px;height:12px;color:#2C3144;stroke-width:2}
.acc-tag{padding:3px 10px;border-radius:999px;background:#FFF3E3;color:var(--gold);font:700 12px/1.35 var(--f-ui);white-space:nowrap}
.acc-tag.ok{background:var(--green-bg);color:#1F7A47}
@container (min-width:430px){
  .acc-row-t{flex-direction:row;align-items:center;gap:0}
  .acc-row-t b{flex:none;width:82px;margin-right:12px}
}

/* membership: the same card, a badge in its header, one full-width button at its foot */
.acc .mbadge{flex:none;gap:7px;padding:3px 12px;background:#EEF0F4;color:#5F6269;font:400 14px/1.5 var(--f-ui);letter-spacing:0;text-transform:none}
.acc .mbadge::before{width:9px;height:9px;background:#5F6068}
.acc .mbadge.on{background:#E3F2E8;color:#1F7A47}
.acc .mbadge.on::before{background:#2E9A5C}
.mcard-acc{gap:8px;padding-bottom:14px}
.mcard-acc .acc-card-h{padding-left:5px}
.mcard-acc .acc-card-h h2{font-size:20px;gap:14px}
.mcard-acc>p{margin:0;padding:0 5px;font-size:15.5px;line-height:1.39;color:#64656D}
.mcard-acc .mfacts{padding:0 5px}
/* the label keeps its width; a long value (the daily-interest note) wraps on the right instead of covering it */
.mcard-acc .mfacts div{grid-template-columns:auto minmax(0,1fr)}
.mcard-acc .mfacts dd{text-align:right}
.mca-go{margin-top:2px}
.btn.mca-go{width:100%;min-height:40px;padding:0 16px;border-radius:10px;font-size:14.5px;font-weight:600;gap:10px}
.btn.mca-go .ic{width:19px;height:19px}
.btn-navy.mca-go{background:#13284C}
.btn-navy.mca-go:hover{filter:brightness(1.12)}
form.mca-go .btn-gold2{width:100%}
.mca-more{align-self:center}
.btn-gold2.acc-pay{flex-direction:column;gap:2px;padding:10px 18px;min-height:58px;line-height:1.15;text-align:center;border-radius:14px}
.btn-gold2.acc-pay small{font:600 13px/1.2 var(--f-ui);opacity:.92;letter-spacing:.01em}

/* settings & help (in the gear's sheet): one list of rows */
.acc-list{display:flex;flex-direction:column;border-radius:var(--r-m);background:var(--surface);border:1px solid var(--line);overflow:hidden}
.acc-item{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:54px;margin:0;padding:8px 16px;border-top:1px solid var(--line);color:var(--navy);text-decoration:none;font-size:15px;font-weight:600}
.acc-list>.acc-item:first-child,.acc-list>form:first-child>.acc-item{border-top:0}
.acc-list form:not(.acc-item){display:contents}
button.acc-item{width:100%;border-left:0;border-right:0;border-bottom:0;background:none;font:inherit;font-size:15px;font-weight:600;text-align:left;cursor:pointer}
button.acc-item:hover{background:#FBF8F4}
.acc-item.danger{color:#A71718}
.acc-item.danger>.ic{color:#A21B19}
a.acc-item:hover{background:#FBF8F4}
.acc-item>.ic{width:20px;height:20px;color:var(--gold)}
.acc-item .chev{width:16px;height:16px;color:#B9AFA4}
.acc-item-t{display:flex;flex-direction:column;gap:1px;min-width:0;line-height:1.3}
.acc-item-t small{font-size:13px;font-weight:500;color:var(--muted);overflow-wrap:anywhere}
.acc-copy{border:1px solid var(--line);background:#fff;border-radius:999px;min-height:40px;padding:0 16px;color:var(--navy);font:700 13px/1 var(--f-ui);cursor:pointer}
.acc-switch{position:relative;width:50px;height:30px;padding:0;border:0;border-radius:999px;background:#D9D3CB;cursor:pointer;transition:background .15s}
.acc-switch::before{content:"";position:absolute;inset:-8px -6px}
.acc-switch i{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(20,37,74,.25);transition:transform .15s}
.acc-switch[aria-checked="true"]{background:var(--green)}
.acc-switch[aria-checked="true"] i{transform:translateX(20px)}
.acc-switch:focus-visible,.acc-copy:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

.acc-data{margin:0;padding:0 4px}
.acc-del-act{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.acc-del-go{background:var(--danger);border-color:var(--danger);color:#fff}
.acc-del-go:hover{filter:brightness(.95)}

/* the side menu exists only on the signed-in Account page; under 1024px that page keeps the phone bar and tab bar */
.side{display:none}
.bar-w-gap{flex:1}
@media (min-width:720px) and (max-width:1023px){
  body.shell-side{padding-bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom,0px))}
  .shell-side .bar-m,.shell-side .tabbar{display:grid}
  .shell-side .bar-w{display:none}
  .shell-side .toast{bottom:calc(var(--tabbar-h) + 18px + env(safe-area-inset-bottom,0px))}
  .shell-side .page{padding:4px 16px 48px}
}
@media (max-width:719px){
  .acc{margin-inline:auto;width:calc(100% + 6px);max-width:none;margin-left:-3px}
}

/* ---- from 1024px: the iPad mock-up. Header with logo and language over the side menu, membership and his menu at
   the right; the side menu; his card across the top; two columns under it. ---- */
@media (min-width:1024px){
  .shell-side{--side-w:200px;--bar-h:60px;scroll-padding-top:80px}
  .shell-side .bar-w{height:var(--bar-h);gap:0;padding-inline:36px 41px;background:#FEFDF9;border-bottom-color:#ECE9E1}
  .shell-side .bar-w .brand{justify-content:flex-start;gap:7px;margin-right:16px}
  .shell-side .bar-w .brand .mark{height:35px}
  .shell-side .bar-w .brand .word{height:20px}
  .shell-side .bar-w .lang{margin-right:8px}
  .shell-side .bar-w .lang summary{gap:5px;font-size:17px;font-weight:600}
  .shell-side .bar-w .lang summary .ic{width:17px;height:17px}
  .shell-side .bar-w .mbtn.icon{width:42px;height:42px;min-height:42px;border-width:1.5px;border-color:#B99470;background:#FDF6ED;color:#A27540}
  .shell-side .bar-w .mbtn.icon .ic{width:20px;height:20px}
  .umenu{position:relative;margin-left:11px}
  .umenu>summary{list-style:none;display:flex;align-items:center;gap:9px;min-height:44px;padding:0 2px;color:#0C152C;font:500 18px/1 var(--f-ui);cursor:pointer;white-space:nowrap}
  .umenu>summary::-webkit-details-marker{display:none}
  .umenu>summary .ic{width:15px;height:15px;stroke-width:2;transition:transform .15s}
  .umenu[open]>summary .ic{transform:rotate(180deg)}
  .umenu-n{max-width:16ch;overflow:hidden;text-overflow:ellipsis}
  .umenu>ul{position:absolute;right:0;top:calc(100% + 8px);z-index:30;min-width:200px;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
  .umenu>ul li form{margin:0}
  .umenu>ul li a,.umenu>ul li button{display:flex;align-items:center;gap:10px;width:100%;min-height:42px;padding:0 12px;border:0;border-radius:8px;background:none;color:var(--navy);font:600 14.5px/1 var(--f-ui);text-align:left;text-decoration:none;cursor:pointer}
  .umenu>ul li a:hover,.umenu>ul li button:hover{background:var(--cream)}
  .umenu>ul li .ic{width:18px;height:18px;color:var(--gold)}

  .shell{display:grid;grid-template-columns:var(--side-w) minmax(0,1fr);align-items:start}
  .side{position:sticky;top:var(--bar-h);display:flex;flex-direction:column;height:calc(100vh - var(--bar-h));padding:22px 0 24px 15px;overflow-y:auto;background:#FCF9F3;border-right:1px solid #F1ECE4}
  .side a{position:relative;display:flex;align-items:center;gap:21px;min-height:50px;padding:0 12px 0 24px;border-radius:8px 0 0 8px;color:#5F616A;font:600 16.5px/1.2 var(--f-ui);text-decoration:none}
  .side a .ic{width:22px;height:22px;color:#706F78}
  .side a:hover{background:#F8F1E8}
  .side a[aria-current="page"]{background:#F4EBE0;color:#09152D;font-weight:700}
  .side a[aria-current="page"]::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;border-radius:8px 0 0 8px;background:#A67746}
  .side a[aria-current="page"] .ic{color:#9E6E3B}
  .side .dot{width:8px;height:8px;margin-left:-14px;align-self:flex-start;margin-top:12px;border-radius:50%;background:#C8423B}
  .side a:focus-visible{outline-offset:-2px}
  .shell-side .page{width:100%;max-width:calc(1160px + 31px);padding:15px 16px 72px 15px}

  .acc{max-width:none;gap:14px;margin:0}
  .acc-hero{padding:0;border-radius:24px}
  .acc-hero>:last-child:not(.acc-stats){margin-bottom:0}
  .acc-corner{top:12px;right:14px}
  .acc-top{flex-direction:row;align-items:center;justify-content:space-between;gap:24px;min-height:167px;padding:18px 170px 20px 25px}
  .acc-id{align-items:center;gap:33px;padding:0}
  .acc-av{width:129px;height:129px;font-size:52px;box-shadow:0 0 0 7px #fff,0 0 0 8px #E6E0D9,0 8px 22px rgba(20,37,74,.1)}
  .acc-who{gap:4px;padding-top:0}
  .acc-name{gap:10px;font-size:34px}
  .acc-ok .ic{width:24px;height:24px}
  .acc-mail{font-size:19px}
  .acc-meta{font-size:16px}
  .acc-hero .profile-status{margin:0 24px 18px}
  .acc-stats{margin:0;border:0;border-top:1px solid #E9E3DC;border-radius:0 0 23px 23px}
  .acc-stat{gap:6px;padding:16px 8px 14px}
  .acc-stat+.acc-stat{border-left-color:#E2DBD0}
  .acc-stat-n{gap:20px}
  .acc-stat-n .ic{width:23px;height:23px}
  .acc-stat-n b{font-size:33px}
  .acc-stat-l{font-size:17px}
  /* 1024-1180px: the card is narrower than the mock-up's 949px, so the photo and tiles give way to his name */
  .acc-hero{container-type:inline-size}
  @container (max-width:900px){
    .acc-top{gap:18px;padding-inline:20px 160px}
    .acc-id{gap:26px}
    .acc-av{width:108px;height:108px;font-size:44px}
    .acc-name{font-size:30px}
    .acc-mail{font-size:17px}
    .acc-meta{font-size:15px}
  }

  .acc-cols{display:grid;grid-template-columns:minmax(0,479fr) minmax(0,455fr);gap:14px;align-items:start}
  .acc-col{display:flex;flex-direction:column;gap:14px;min-width:0}
  .acc-card{gap:14px;padding:19px 19px 16px 20px;border-radius:14px}
  .acc-card-h{min-height:32px;padding-left:1px}
  .acc-card-h h2{font-size:20px;gap:14px}
  .acc-card-h h2 .ic{width:22px;height:22px}
  .acc-all{font-size:15.5px;gap:8px}
  .acc-empty{gap:6px;padding:10px 8px 16px}
  .acc-empty>.ic{width:46px;height:46px;margin-bottom:12px;color:#CDCED2;stroke-width:1.3}
  .acc-empty b{font-size:15.5px;color:#606370}
  .acc-empty span{font-size:15.5px;color:#6B6C76}
  .acc-row{min-height:47px;padding:5px 0}
  .acc-row-t b{font-size:15px}
  .acc-row-t small{font-size:14px}
  .mcard-acc .acc-card-h{padding-left:2px}
  .mcard-acc .acc-card-h h2{font-size:22.5px}
  .acc .mbadge{padding:3px 14px;font-size:15.5px}
  .mcard-acc>p{padding:0 1px;font-size:17px;line-height:1.55}
  .btn.mca-go{min-height:44px;font-size:17px}
  .mcard-acc{gap:13px;padding-top:20px}
  .mcard-acc .mca-go{margin-top:-4px}
}

/* ---- photo framing (2026-10-14): drag + zoom into the 4:5 frame photos are shown in ---- */
dialog.cropper .crop-body{align-items:stretch}
.crop-hint{margin:0;color:var(--muted);font-size:14px;text-align:center}
.crop-frame{position:relative;width:min(100%,340px);aspect-ratio:4/5;margin:0 auto;overflow:hidden;border-radius:16px;background:#1d2433;touch-action:none;cursor:grab;user-select:none}
.crop-frame.moving{cursor:grabbing}
.crop-frame img{position:absolute;left:0;top:0;max-width:none;transform-origin:0 0;pointer-events:none}
/* thirds, so he can put the face on the upper line */
.crop-frame::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.5);
  background:linear-gradient(90deg,transparent calc(33.33% - .5px),rgba(255,255,255,.35) 0 calc(33.33% + .5px),transparent 0 calc(66.66% - .5px),rgba(255,255,255,.35) 0 calc(66.66% + .5px),transparent 0),
  linear-gradient(transparent calc(33.33% - .5px),rgba(255,255,255,.35) 0 calc(33.33% + .5px),transparent 0 calc(66.66% - .5px),rgba(255,255,255,.35) 0 calc(66.66% + .5px),transparent 0);opacity:0;transition:opacity .15s}
.crop-frame.moving::after{opacity:1}
.crop-zoom{display:flex;align-items:center;gap:10px;width:min(100%,340px);margin:0 auto}
.crop-zoom input{flex:1;accent-color:var(--gold)}
.crop-zoom .icon-btn{flex:none;font-size:22px;line-height:1}
.crop-act{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.photos .slot .slot-adjust{position:absolute;left:4px;bottom:4px;padding:4px 10px;border:0;border-radius:999px;background:rgba(20,37,74,.72);color:#fff;font:700 12px/1.3 var(--f-ui);cursor:pointer}
.my-photo .link{background:none;border:0;padding:0;cursor:pointer}
.my-photo.reframed img{outline:2px solid var(--gold);outline-offset:2px}
/* header (2026-10-14 critique): at 720-899px the wide bar squashed and clipped the logo */
.bar-w .brand{flex:none}
@media (min-width:720px) and (max-width:899px){.bar-w .brand .wordset{display:none}}
/* a long name in the phone bar ends in an ellipsis instead of touching the screen edge */
/* signed in, the phone bar ends in his name as a pill (owner's mock-up, 2026-10-15); a long name ends in an ellipsis */
.upill{display:inline-flex;align-items:center;gap:9px;height:35px;padding:0 14px 0 13px;border:1px solid #E2E0DE;border-radius:999px;background:#fff;color:#0A1934;font-weight:500;font-size:13px;white-space:nowrap}
.upill .ic{width:16px;height:16px}
.upill span{max-width:11ch;overflow:hidden;text-overflow:ellipsis}
.bar-m .bar-c{align-items:center;gap:10px}
.bar-m .bar-c .mbtn.icon{width:38px;height:38px;min-height:38px}
.bar-m .bar-c .mbtn.icon .ic{width:18px;height:18px}
.bar-m .bar-c .brand .mark{height:31px}
.bar-m .bar-c .brand .word{height:17.5px}
@media (max-width:409px){.bar-m:has(.upill) .bar-c .brand .wordset{display:none}}
/* DATING under MYHALF in the bar and the home logo (2026-10-23: the Cyprus lawyer asked for the word in the logo),
   spaced wide in the navy of MY */
.brand .wordset{display:flex;flex-direction:column;align-items:center;gap:2px;line-height:1}
/* a 320-px phone has no room for the name beside the crown: the mark alone, as for a member's plan pill under 409 px */
@media (max-width:359px){.bar-m:has(.mbtn) .bar-c .brand .wordset{display:none}}
.brand .dating,.lf-dating{text-transform:uppercase;padding-left:.46em;letter-spacing:.46em;color:var(--navy)}
.brand .dating{font:700 11px/1 var(--f-display)}
@media (min-width:720px){.bar-w .brand .dating{font-size:12.5px}}
.tab[aria-current="page"] .fillable{fill:currentColor}
/* the language list opens to the right of its button: with his name pill beside it, opening leftwards ran off a 320px screen */
.bar-m .lang ul{right:auto;left:0}
/* ---- her pages (2026-10-14): the men interested in her, laid out like the men's Introductions ---- */
/* the title shares its row with Sign out; the line under it takes the full width (a 320px phone squeezed it to half) */
.her-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:12px}
.her-head>div{display:contents}
.her-head h1{grid-column:1;grid-row:1}
.her-head .sub{grid-column:1/-1;grid-row:2}
.ipill.turn{background:var(--gold-grad);color:#fff}
.her-intro{display:flex;flex-direction:column;gap:14px}
.her-answer{display:grid;gap:10px}
/* her view of a man (owner's pick, 2026-10-15): his photos large and swipeable, her answer under his name */
.her-card{display:flex;flex-direction:column;padding:0;overflow:hidden}
.her-gal{position:relative;background:var(--cream)}
.her-gal-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.her-gal-track::-webkit-scrollbar{display:none}
.her-gal-track>*{flex:0 0 100%;width:100%;aspect-ratio:4/5;max-height:min(62vh,520px);object-fit:cover;object-position:50% 20%;scroll-snap-align:start}
.her-gal-none{display:grid;place-items:center;color:var(--muted)}
.her-gal-none .ic{width:40px;height:40px}
.her-gal-n{position:absolute;top:10px;right:10px;padding:2px 10px;border-radius:999px;background:rgba(20,37,74,.55);color:#fff;font:600 12px/1.6 var(--f-ui)}
.her-card .ihead-b{padding:14px 16px 4px}
.her-card .her-answer{grid-template-columns:1fr 1fr;padding:10px 16px 16px}
.her-card .her-answer :is(.btn-gold2,.btn){min-height:50px;padding:0 10px;font-size:16px}
.her-answer p{grid-column:1/-1;margin:0}
.her-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.her-chips li{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:var(--cream);color:var(--navy);font-size:14px;font-weight:600}
.her-chips .ic{width:16px;height:16px;color:var(--gold)}
.her-text h2{margin:0 0 4px;font:700 20px/1.2 var(--f-display);color:var(--navy)}
.her-text p{margin:0;font-size:15px;line-height:1.6;white-space:pre-line}
@media (min-width:600px){.her-answer{grid-template-columns:1fr 1fr}}
/* ---- the edit pages (owner, 2026-10-15): laid out like the profile men see, every field editable ---- */
.pe{display:flex;flex-direction:column;gap:16px;width:100%;max-width:1040px;margin:0 auto}
.pe .pd-card,.pe-fields{display:flex;flex-direction:column;gap:12px}
.pe .pd-h{margin:0}
.pe .pd-h label{font:inherit;color:inherit;cursor:pointer}
.pe-langs{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
/* never under 72px a tile: its two round buttons need the height (a 240px photo column gave 52px) */
.pe-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:8px}
.pe-tile{position:relative;display:block;margin:0;border-radius:10px;overflow:hidden;background:var(--cream);aspect-ratio:4/5}
.pe-tile:first-child{grid-column:1/-1;aspect-ratio:1/1}
.pe-tile img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 20%;border-radius:0}
.pe-tag{position:absolute;left:8px;top:8px;padding:2px 9px;border-radius:999px;background:rgba(255,255,255,.92);color:#5A3A18;font:700 11px/1.6 var(--f-ui)}
.pe-tag.wait{top:auto;bottom:8px;background:#FFF3E0;color:#A35C12}
.pe-tools{position:absolute;right:6px;top:6px;display:flex;gap:6px}
.pe-tile:not(:first-child) .pe-tools{right:4px;top:4px;flex-direction:column;gap:4px}
/* 32px to see, a 42px target to tap */
.pe-tool{position:relative;display:grid;place-items:center;width:32px;height:32px;margin:0;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:var(--navy);box-shadow:0 1px 4px rgba(20,37,74,.22);cursor:pointer}
.pe-tool::before{content:"";position:absolute;inset:-5px}
.pe-tool .ic{width:16px;height:16px}
.pe-tool.del input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.pe-tool.del:has(input:checked){background:var(--danger);color:#fff}
.pe-tool:focus-visible,.pe-tool.del:has(input:focus-visible),.pe-tile.add:has(input:focus-visible){outline:2px solid var(--gold);outline-offset:2px}
.pe-tile:has(.del input:checked) img{opacity:.3}
.pe-tile:has(.del input:checked)::after{content:attr(data-removed);position:absolute;left:4px;right:4px;bottom:10px;text-align:center;color:#9C1515;font:700 12px/1.3 var(--f-ui)}
.pe-tile.reframed img{outline:0;box-shadow:inset 0 0 0 3px var(--gold)}
.pe-tile.add{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:6px;border:1.5px dashed #D9C3A8;background:#FBF7F1;color:#8A5A2B;font-size:13px;font-weight:600;text-align:center;cursor:pointer}
.pe-tile.add:first-child{aspect-ratio:4/3}
.pe-tile.add .ic{width:22px;height:22px}
.pe-vbox{display:block;border-radius:10px;overflow:hidden;background:var(--navy);aspect-ratio:4/5;max-height:440px}
.pe-vbox video{display:block;width:100%;height:100%;object-fit:cover;background:#000}
.pe-vnone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:100%;color:#fff;font-weight:600}
.pe-vnone .ic{width:28px;height:28px}
.pe-vpick{cursor:pointer}
/* the save button stays in reach above the phone tab bar; from 720px the bar is gone */
.pe-save{position:sticky;bottom:calc(70px + env(safe-area-inset-bottom,0px));z-index:5;padding-top:10px;background:linear-gradient(rgba(251,247,241,0),var(--ivory) 35%)}
@media (min-width:720px){.pe-save{bottom:12px;align-self:flex-end;width:min(100%,380px)}}
/* the team on an owner's page: a clear band on top, its own card in the side column */
.pe-team-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.pe-team-links .btn{flex:1 1 140px;min-height:42px;padding:0 12px;background:#fff}
.pe-team-card{border:1.5px solid #14254A}
.pe-thai summary{cursor:pointer;font-weight:700;color:var(--navy)}
.pe-thai[open] summary{margin-bottom:10px}
.pe-thai .field+.field{margin-top:10px}
.pe-facts{display:grid;gap:6px;margin:0;padding:12px 14px;border-radius:12px;background:var(--cream);list-style:none;font-size:14px}
.pe-facts li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px}
.pe-facts b{color:var(--muted);font-weight:600}
.pe-facts span{font-weight:700;color:var(--navy);overflow-wrap:anywhere}

/* ---------- Silver & Gold (owner's mock-up, 2026-10-16): the Join page and the plans page ---------- */
.pcards{display:grid;gap:16px;width:100%;max-width:820px;margin:0 auto;text-align:left}
.pcard{container-type:inline-size;display:flex;flex-direction:column;gap:14px;padding:18px 18px 18px;border-radius:16px;background:#FFFEFC;border:1px solid #E6D3BD;box-shadow:0 10px 30px rgba(20,37,74,.06)}
.pcard.gold{background:linear-gradient(180deg,#FFF8EF,#FDF4E8);border:1.5px solid #D9AC7B}
.pcard.picked{outline:2.5px solid var(--gold);outline-offset:3px}
.pcard-top{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding-bottom:14px;border-bottom:1px solid #EBDDCD}
.pcard-name{margin:0;font:700 26px/1 var(--f-display);letter-spacing:.01em;text-transform:uppercase;color:var(--navy)}
.pcard-price{margin-left:auto;text-align:center;color:var(--navy)}
.pcard-price p{margin:0;display:flex;align-items:baseline;justify-content:center;gap:5px;white-space:nowrap}
/* a price is set like every other price on the site: Cormorant, lining figures (owner, 2026-10-17) */
.pcard-price b{font:700 38px/1 var(--f-display);font-variant-numeric:lining-nums;font-feature-settings:"lnum" 1}
.pcard-price span{font:500 16px/1 var(--f-display)}
.pcard-price small{display:block;margin-top:5px;font-size:14px}
.pcard-price s{text-decoration-thickness:1.5px}
.pcard-tag{display:inline-flex;align-items:center;gap:6px;margin-left:auto;padding:6px 12px;border-radius:999px;background:linear-gradient(180deg,#C9975F,#A8743F);box-shadow:0 2px 6px rgba(149,99,53,.25);color:#fff;font:500 13.5px/1.1 var(--f-display);white-space:nowrap}
.pcard-tag .ic{width:15px;height:15px}
.pcard-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.pcard-list li{display:flex;align-items:flex-start;gap:11px;font-size:15px;line-height:1.35;color:var(--navy)}
.pcard-list .ic{flex:none;width:21px;height:21px;padding:4px;border-radius:50%;background:linear-gradient(180deg,#CE9878,#A8743F);color:#fff;stroke-width:3}
.pcard-go{margin-top:auto}
/* his request to start at once, right above the button it unlocks (Terms §6) */
form.pcard-go{display:flex;flex-direction:column;gap:12px}
.pcard-start{color:var(--navy);line-height:1.45}
.pcard-start a{white-space:nowrap}
.pcard-go.btn-line2,.pcard-go .btn-line2,.pcard-go.btn-gold2,.pcard-go .btn-gold2{min-height:50px;font-size:18px}
.pcard .btn-line2{border-color:#1C2B4D}
/* a narrow card puts the price under the name, not squeezed beside it */
@container (max-width:300px){.pcard-price{margin-left:0;flex-basis:100%;text-align:left}.pcard-price p{justify-content:flex-start}.pcard-tag{margin-left:0}}
.pterms{width:100%;max-width:820px;margin:0 auto;padding:14px 16px;border-radius:12px;background:#FBF6EF;border:1px solid #EAD9C4;text-align:left;color:var(--navy)}
.pterms-h{display:flex;align-items:center;gap:8px;margin:0 0 6px;font:700 13px/1.3 var(--f-ui);letter-spacing:.08em;text-transform:uppercase;color:#9A6A3E}
.pterms-h .ic{width:18px;height:18px}
.pterms ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:5px;font-size:13.5px;line-height:1.45}
/* the Join page: on a phone his card is laid out like hers, photo on top and his button at the foot (owner, 2026-10-18) */
/* a phone keeps each line of the mock-up on one line: tighter cards, the small print starts at the left */
@media (max-width:719px){
  .pcard{padding:16px 15px}
  .pcard-list li{font-size:14.5px;gap:10px}
}
.jhero .pcards,.jhero .pterms{margin-top:16px}
@media (min-width:720px){
  .pcards,.pterms{max-width:560px}
  .pcards{gap:20px}
  .pcard{padding:22px 22px 20px}
  .jhero .pcards{margin-top:20px}
}
@media (min-width:1024px){
  .pcards,.pterms,.jhero .jcards{max-width:980px}
  .pcards{grid-template-columns:1fr 1fr;gap:22px}
}
/* the Join page: her card | his column (Men Start Free, Silver, Gold) from 1024px; one column below that, phone and
   tablet alike, so the plans always sit under his card (owner, 2026-10-16) */
.jmen{display:flex;flex-direction:column;gap:16px;min-width:0}
.jhero .jmen .pcards{grid-template-columns:1fr;max-width:none;margin-top:0}
@media (min-width:720px) and (max-width:1023px){.jhero .jcards{grid-template-columns:1fr;max-width:560px}}
@media (min-width:1024px){
  .jhero .jcards{align-items:start}
  .jhero .jcard.woman{position:sticky;top:96px}
  .jmen{gap:20px}
}
/* "Gold Member" on his profile, for the woman deciding (owner, 2026-10-16) */
.tier{align-self:flex-start;margin-top:4px}
/* an app on a phone: the page never slides sideways, whatever one element does (owner, 2026-10-16) */
html{overflow-x:clip}
@supports not (overflow:clip){html,body{overflow-x:hidden}}
.input,.select,.textarea{max-width:100%;min-width:0}
/* the cookie notice: above the tab bar on a phone, bottom centre on a wide screen */
.cnotice{position:fixed;left:12px;right:12px;bottom:calc(var(--tabbar-h) + 12px + env(safe-area-inset-bottom,0px));z-index:45;display:flex;align-items:center;gap:12px;max-width:620px;margin:0 auto;padding:12px 12px 12px 16px;border-radius:14px;background:#FFF9F1;border:1px solid #E6D3BD;color:var(--navy);box-shadow:0 10px 28px rgba(120,96,64,.18);font-size:13.5px;line-height:1.45}
.cnotice[hidden]{display:none}
.cnotice>.ic{flex:none;width:20px;height:20px;color:#A8743F}
.cnotice p{margin:0;flex:1;min-width:0}
.cnotice a{color:#A8743F;font-weight:700;text-underline-offset:3px}
.cnotice-ok{flex:none;min-height:40px;padding:0 18px;border:0;border-radius:999px;background:linear-gradient(180deg,#C9975F,#A8743F);color:#fff;font:700 14px/1 var(--f-ui);cursor:pointer}
.cnotice-ok:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
@media (min-width:720px){.cnotice{bottom:20px}}
@media (min-width:720px) and (max-width:1023px){.shell-side .cnotice{bottom:calc(var(--tabbar-h) + 12px + env(safe-area-inset-bottom,0px))}}

/* ---------- MYHALF Matchmaking Experiences (owner's mock-up, 2026-10-16): Events page and package page ---------- */
.xsec-head{display:flex;align-items:center;gap:12px}
.xsec-ic{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#FFF8EF;border:1.5px solid #D9AC7B;color:#A8743F}
.xsec-ic .ic{width:24px;height:24px}
.xsec-head h2{margin:0;font:700 clamp(17px,4.6vw,30px)/1.15 var(--f-display);color:var(--navy)}
.xsec-head h2 em{font-style:normal;color:#B5784F}
.xsec-head p{margin:3px 0 0;font-size:clamp(12.5px,3.3vw,16px);line-height:1.4;color:var(--muted)}
.xp{display:flex;flex-direction:column;gap:14px;padding:14px 6px 8px;border-radius:18px;background:linear-gradient(180deg,#FFFBF5,#FBF3E8);border:1px solid #EBDCC8}
.xp>.xsec-head{padding:0 6px}
.xp-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto 1fr;gap:0 8px}
.evsec{display:flex;flex-direction:column;gap:14px;padding-top:16px;border-top:1px solid #E7D9C8}
.xcard{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:0;min-width:0;border-radius:16px;overflow:hidden;background:#FFFEFC;border:1px solid #E8D7C3;box-shadow:0 8px 24px rgba(20,37,74,.07)}
.xd-hero.xcard{display:flex;flex-direction:column}
.xcard-h{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;margin:7px 7px 0;padding:12px 8px 10px;border-radius:12px;background:linear-gradient(180deg,#F9F1E6,#F5EADC);box-shadow:inset 0 0 0 1px rgba(201,151,95,.10);text-align:center;color:var(--navy)}
.xcard-h::after{content:"";width:34px;height:1.5px;margin-top:6px;background:#C9975F}
.xcard-h h3,.xcard-h h1{margin:0;font:700 clamp(15px,3.9vw,24px)/1.15 var(--f-display)}
.xcard-h p{margin:0;font:600 clamp(8px,1.95vw,10.5px)/1.4 var(--f-ui);letter-spacing:.12em;text-transform:uppercase;color:#4F5A70}
@media (min-width:720px){.xcard-h p{letter-spacing:.2em}}
/* the featured card keeps the same inset header as the other one, in navy (owner, 2026-10-16: it had lost its inner frame) */
.xcard.top .xcard-h{padding-top:14px;background:linear-gradient(180deg,#1C3160,#14254A);box-shadow:inset 0 0 0 1px rgba(217,172,123,.3);color:#fff}
.xcard.top .xcard-h p{color:#D9DEEA}
/* "Most Popular": large enough to read at a glance on the navy header, with a crown (owner, 2026-10-16: it was too small) */
.xcard-h{min-width:0}
.xcard-pop{display:inline-flex;align-items:center;gap:4px;max-width:100%;margin-bottom:4px;padding:4px 9px;border-radius:999px;background:linear-gradient(180deg,#DDAE74,#A8743F);color:#fff;font:800 10.5px/1.2 var(--f-ui);letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;box-shadow:0 3px 10px rgba(217,172,123,.45),inset 0 1px 0 rgba(255,255,255,.35)}
.xcard-pop .ic{width:13px;height:13px;stroke-width:2.2}
@media (min-width:480px){.xcard-pop{gap:6px;padding:6px 16px;font-size:12.5px;letter-spacing:.12em}.xcard-pop .ic{width:15px;height:15px}}
.xcard-b{display:flex;flex-direction:column;gap:10px;flex:1;padding:12px 8px 10px}
.xcard-price{display:flex;flex-direction:column;align-items:center;margin:0;color:var(--navy)}
.xcard-price b{font:700 clamp(28px,8vw,40px)/1.05 var(--f-display);letter-spacing:-.01em;font-variant-numeric:lining-nums;font-feature-settings:"lnum" 1}
.xcard-price span{font-size:13.5px;font-weight:500}
.xcard-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.xcard-list li{display:flex;align-items:flex-start;gap:6px;font-size:clamp(12.5px,3.05vw,15px);line-height:1.3;color:var(--navy)}
.xcard-list .ic,.xd-list .ic{flex:none;width:18px;height:18px;padding:3.5px;border-radius:50%;background:linear-gradient(180deg,#CE9878,#A8743F);color:#fff;stroke-width:3}
.xcard-fly{display:flex;align-items:center;gap:7px;margin:auto 0 0;padding-top:9px;border-top:1px solid #EADDCD;font-size:12.5px;color:var(--muted)}
.xcard-fly .ic{flex:none;width:16px;height:16px}
.xcard-go.btn-gold2,.xd-ask.btn-gold2,.xd-join.btn-gold2{min-height:44px;padding:0 10px;border-radius:12px;font:600 16px/1 var(--f-ui);gap:8px}
.xcard-go .ic,.xd-ask .ic{width:18px;height:18px}
@media (max-width:359px){.xp-cards{grid-template-columns:1fr}}
@media (min-width:480px){
  .xp{padding:20px 18px 18px}
  .xp-cards{gap:16px}
  .xcard-h{padding:18px 14px 14px}
  .xcard-b{gap:12px;padding:16px 16px 16px}
  .xcard-price span{font-size:15px}
  .xcard-list li{gap:10px}
  .xcard-go.btn-gold2,.xd-ask.btn-gold2{min-height:50px;font-size:18px}
}
@media (min-width:720px){
  .xsec-ic{width:62px;height:62px}
  .xsec-head{gap:16px}
  .xsec-ic .ic{width:28px;height:28px}
  .xp{padding:26px 26px 24px;gap:20px}
  .xp-cards{gap:20px}
}
@media (min-width:1024px){.xp-cards{max-width:900px;width:100%;margin:0 auto}}

/* the package page: details on the left, the request form beside them (sticky) from 1024px */
.xd-back{display:inline-flex;align-items:center;gap:4px;align-self:flex-start;margin-bottom:-6px;color:var(--muted);font-weight:600;font-size:14px;text-decoration:none}
.xd-back .ic{width:16px;height:16px}
.xd{display:grid;gap:16px;align-items:start}
.xd-main{display:flex;flex-direction:column;gap:16px;min-width:0}
.xd-hero .xcard-b{align-items:stretch}
.xd-sec{display:flex;flex-direction:column;gap:10px}
.xd-hint{margin:0;font-size:13.5px;color:var(--muted)}
.xd-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.xd-list li{display:flex;align-items:flex-start;gap:10px;font-size:15px;line-height:1.4;color:var(--navy)}
.xd-list.out .ic{background:#E9EBF0;color:#6B7285}
.xd-steps{list-style:none;counter-reset:xs;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.xd-steps li{counter-increment:xs;display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:12px;align-items:start}
.xd-steps li::before{content:counter(xs);grid-row:span 2;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--navy);color:#fff;font:700 14px/1 var(--f-ui)}
.xd-steps b{font-size:15px;color:var(--navy)}
.xd-steps span{font-size:13.5px;line-height:1.4;color:var(--muted)}
.xd-form{display:flex;flex-direction:column;gap:12px;scroll-margin-top:96px}
.xd-form .form{gap:12px}
.xd-form .check{font-size:13.5px;line-height:1.45}
.xd-done{display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px 4px;text-align:center}
.xd-done>.ic{width:46px;height:46px;padding:10px;border-radius:50%;background:var(--green-bg);color:#1F7A47;stroke-width:3}
.xd-done h2{margin:0;font:700 24px/1.2 var(--f-display);color:var(--navy)}
.xd-done p{margin:0 0 6px;color:var(--muted)}
@media (min-width:1024px){
  .xd{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:22px}
  .xd-form{position:sticky;top:96px}
  .xd-hero .xd-ask.btn-gold2{display:none} /* the form is on screen beside it */
}
/* the events under them, as the mock-up: one card per row, what and when on the left, Join Event on the right */
.evsec .evs{grid-template-columns:minmax(0,1fr);max-width:900px;width:100%;margin:0 auto}
.evsec .ev{border-color:#E8D7C3;box-shadow:0 6px 18px rgba(20,37,74,.06)}
.evsec .ev-top{padding:12px 14px}
.evsec .ev-body{flex-direction:row;align-items:center;gap:12px;padding:12px 14px}
.ev-date.is-soon{display:grid;place-items:center;min-height:64px;padding:8px 4px}
.ev-date.is-soon span{line-height:1.35}
.ev-text{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}
.evsec .ev-body form{margin:0;flex:none}
.ev-join{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border:0;border-radius:12px;background:linear-gradient(180deg,#C9975F 0%,#A8743F 55%,#956335 100%);box-shadow:0 4px 12px rgba(149,99,53,.28);color:#fff;font:600 15px/1 var(--f-ui);white-space:nowrap;cursor:pointer}
.ev-join:active{transform:scale(.98)}
.ev-join:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.ev-on{flex:none;display:inline-flex;align-items:center;gap:6px;color:#1F7A47;font-weight:700;font-size:14px;white-space:nowrap}
.ev-on .ic{width:18px;height:18px}
@media (max-width:359px){.evsec .ev-body{flex-direction:column;align-items:stretch}.ev-join{width:100%}}
@media (min-width:720px){.evsec .ev-top{padding:14px 18px}.evsec .ev-body{gap:20px;padding:14px 18px}.ev-join{min-height:48px;padding:0 26px;font-size:16px}}

/* video trimmer (2026-10-16): full screen like Facebook's Reels editor; preview on top, a strip of frames with a
   yellow frame to drag and pull (3 to 10 seconds), then "Use this clip" */
dialog.vtrim{position:fixed;inset:0;width:100%;max-width:100%;height:100%;max-height:100%;margin:0;padding:max(12px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));border:0;background:#0E1A36;color:#fff;overflow:hidden}
dialog.vtrim[open]{display:flex;flex-direction:column;gap:14px}
dialog.vtrim::backdrop{background:#0E1A36}
.vtrim > *{width:100%;max-width:560px;margin-inline:auto}
.vtrim-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:44px}
.vtrim-bar b{font:600 17px/1.2 var(--f-ui);text-align:center;outline:none}
.vtrim-x{justify-self:start;min-height:44px;padding:0 4px;border:0;background:none;color:#fff;font:600 15px/1 var(--f-ui);cursor:pointer}
.vtrim-stage{position:relative;flex:1;min-height:0;display:grid;place-items:center;border-radius:14px;overflow:hidden;background:#000}
.vtrim-stage video{width:100%;height:100%;object-fit:contain}
.vtrim-time{position:absolute;left:10px;bottom:10px;padding:3px 9px;border-radius:999px;background:rgba(0,0,0,.55);font:600 12px/1.4 var(--f-ui);font-variant-numeric:tabular-nums}
.vtrim-help{margin:0 auto;color:rgba(255,255,255,.72);font-size:13.5px;line-height:1.45;text-align:center}
.vtrim-track{position:relative;height:60px;flex:none;touch-action:none;user-select:none;-webkit-user-select:none}
.vtrim-strip{display:flex;height:100%;border-radius:8px;overflow:hidden;background:#24324F}
.vtrim-strip canvas{flex:1 1 0;min-width:0;height:100%;object-fit:cover}
.vtrim-dim{position:absolute;top:0;bottom:0;background:rgba(14,26,54,.68);pointer-events:none}
.vtrim-dim.l{left:0;border-radius:8px 0 0 8px}
.vtrim-dim.r{right:0;border-radius:0 8px 8px 0}
.vtrim-win{position:absolute;top:-3px;bottom:-3px;box-sizing:border-box;border:3px solid #F5C518;border-inline-width:16px;border-radius:9px;cursor:grab;outline:none}
.vtrim-win:focus-visible{box-shadow:0 0 0 3px rgba(255,255,255,.7)}
.vtrim-h{position:absolute;top:50%;width:16px;height:100%;transform:translateY(-50%);cursor:ew-resize}
.vtrim-h.l{left:-16px}
.vtrim-h.r{right:-16px}
.vtrim-h::after{content:"";position:absolute;left:6px;top:50%;width:4px;height:20px;border-radius:2px;background:#0E1A36;transform:translateY(-50%)}
.vtrim-h::before{content:"";position:absolute;inset:-6px -12px}
.vtrim-head{position:absolute;top:-6px;bottom:-6px;width:3px;margin-left:-1.5px;border-radius:2px;background:#fff;box-shadow:0 0 4px rgba(0,0,0,.5);pointer-events:none}
.vtrim-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:rgba(255,255,255,.72);font:500 13px/1.3 var(--f-ui);font-variant-numeric:tabular-nums}
.vtrim-meta b{color:#F5C518;font-size:15px}
.vtrim-go{flex:none}
.vtrim-busy{position:absolute;inset:0;max-width:none;display:grid;place-content:center;gap:16px;padding:24px;background:rgba(14,26,54,.92);text-align:center}
.vtrim-busy[hidden]{display:none}
.vtrim-busy p{margin:0;font:600 16px/1.4 var(--f-ui)}
.vtrim-pbar{width:min(280px,70vw);height:6px;border-radius:3px;background:rgba(255,255,255,.18);overflow:hidden}
.vtrim-pbar i{display:block;width:0;height:100%;background:#F5C518;transition:width .2s linear}
.pe-vbox{position:relative}
.vtrim-again{position:absolute;left:4px;bottom:4px;padding:4px 10px;border:0;border-radius:999px;background:rgba(20,37,74,.72);color:#fff;font:700 12px/1.3 var(--f-ui);cursor:pointer}
.pe-vbox .vtrim-again{left:10px;bottom:10px;min-height:36px;padding:0 14px;font-size:13px}
@media (min-width:768px){.vtrim-track{height:72px}.vtrim-stage{border-radius:18px}}

/* ---------- /application: a first application while the team reviews it (2026-10-16) ---------- */
.narrow.app-st{max-width:680px;display:flex;flex-direction:column;gap:16px}
.app-head{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:8px 2px 4px}
.app-head p{margin:0}
.app-lead{font-size:16px;line-height:1.55;max-width:58ch;text-wrap:pretty}
.app-badge{display:inline-flex;align-items:center;gap:7px;padding:5px 12px 5px 9px;border-radius:999px;border:1px solid #F2D3A6;background:#FFF8EC;color:#7A4E1D;font-weight:700;font-size:13px;line-height:1.2}
.app-badge .ic{width:16px;height:16px}
.app-badge.changes{border-color:#E9B36B;background:#FFF1DD;color:#7A4510}
.app-badge.rejected{border-color:#D7DAE3;background:#EEF0F5;color:#3D4660}
.app-card{gap:14px;padding:18px 16px}
.app-t{margin:0;font:600 22px/1.2 var(--f-display);text-wrap:balance}
.app-card-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.app-card-h .link{padding:4px 0;font-size:14px}
.app-tl .stop .dotm{background:#FFF1DD;border-color:#E9B36B;color:#9A5B12}
.app-tl .stop b{color:#7A4510}
.app-tl li.now b,.app-tl li.stop b{font-weight:800}
.app-note{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:14px;border-radius:12px;border:1px solid #F2D3A6;background:#FFF8EC}
.app-note p{margin:0;white-space:pre-line;overflow-wrap:anywhere}
.app-note .btn{width:100%;margin-top:4px}
.app-photos{list-style:none;margin:0 -16px;padding:0 16px 2px;display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.app-photos::-webkit-scrollbar{display:none}
.app-photos li{flex:0 0 88px;scroll-snap-align:start}
.app-photos img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:50% 0;border-radius:10px;background:var(--cream)}
.app-facts{margin:0;display:flex;flex-direction:column;gap:8px}
.app-facts div{display:grid;grid-template-columns:minmax(96px,30%) 1fr;gap:12px}
.app-facts dt{color:var(--muted);font-size:13.5px}
.app-facts dd{margin:0;font-weight:600;font-size:14.5px;overflow-wrap:anywhere}
.app-next{display:flex;flex-direction:column;gap:10px;padding:4px 2px}
.app-next ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;max-width:62ch}
.app-acts{display:grid;gap:10px;margin-top:6px}
.app-foot{display:flex;flex-direction:column;gap:12px;padding-top:16px;border-top:1px solid var(--line)}
.app-foot p{margin:0}
.app-foot-acts{display:grid;gap:10px}
.app-del{color:var(--danger)}
.profile-status .app-link{flex-basis:100%;padding:0 0 0 30px;font-size:13.5px}
/* her application is locked: no tab bar, so nothing has to clear it */
body.no-tabbar{padding-bottom:env(safe-area-inset-bottom,0px)}
@media (max-width:719px){
  .no-tabbar .toast{bottom:calc(18px + env(safe-area-inset-bottom,0px))}
  .no-tabbar .cnotice{bottom:calc(12px + env(safe-area-inset-bottom,0px))}
}
button.upill{cursor:pointer;font:inherit;font-weight:500;font-size:13px}
/* his application with the team: a gold mark on Account (red once he has to change something) */
.tab .dot.wait-dot.review{background:var(--gold)}
.bar-w .btn .wait-dot{width:8px;height:8px;margin-left:-2px;border-radius:50%;background:var(--gold)}
.bar-w .btn .wait-dot.changes{background:#C8423B}
@media (min-width:640px){
  .narrow.app-st{gap:20px}
  .app-card{padding:22px 24px}
  .app-photos{margin:0;padding:0;overflow:visible;display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
  .app-photos li{flex:none}
  /* the three steps side by side: dot above, the line runs to the next dot */
  .app-tl{flex-direction:row;gap:12px}
  .app-tl li{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:10px;padding:0}
  .app-tl li::before{left:36px;right:-4px;top:13px;bottom:auto;width:auto;height:2px}
  .app-note .btn{width:auto}
  .app-acts{grid-template-columns:1fr 1fr}
  .app-foot{flex-direction:row;align-items:center;justify-content:space-between}
  .app-foot-acts{grid-auto-flow:column}
  .app-foot-acts .btn{min-height:44px;padding:0 18px;font-size:14px}
}
@media (min-width:720px){.app-head{padding-top:0}}
/* written in English (2026-10-16): the line under the form's title, and the warning under a field */
.en-hint{margin:2px 0 0;color:var(--navy);font-weight:600}
.en-err{margin:6px 0 0}

/* ---------- the app shell when signed in (owner, 2026-10-17, "like Facebook"): the ≡ menu, an icon-only tab bar that
   ends in the bell and the account photo, the bell's page and dropdown, Settings and his two lists. The phone layout
   runs up to 1023px. ---------- */
@media (min-width:720px) and (max-width:1023px){
  body.in-app{padding-bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom,0px))}
  .in-app .bar-m,.in-app .tabbar{display:grid}
  .in-app .bar-w{display:none}
  .in-app .toast{bottom:calc(var(--tabbar-h) + 18px + env(safe-area-inset-bottom,0px))}
  .in-app .tabbar{padding-inline:max(4px,calc((100% - 560px) / 2))}
}
.mm-btn{margin-left:-4px}
@media (max-width:359px){.in-app .bar-m .brand .wordset{display:none}}

.tabbar.app{grid-template-columns:repeat(var(--tabs),minmax(0,1fr));padding-top:5px}
.tabbar.app .tab{isolation:isolate;min-height:48px;gap:0}
.tabbar.app .tab .ic{width:26px;height:26px}
/* the names are back under the icons (owner, 2026-10-19), as in the admin's bar: one line, room for Thai marks */
.tabbar.app .tab{gap:2px;min-height:50px}
.tabbar.app .tab .ic{width:24px;height:24px}
.tabbar.app .tab-label{max-width:100%;padding:1px 2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 11px/1.3 var(--f-ui);letter-spacing:0}
.tabbar.app .tab[aria-current="page"] .tab-label{font-weight:800}
.tabbar.app .tab-av{width:26px;height:26px}
.tabbar.app .tab .dot{top:4px}
.tbadge{top:1px}
.tabbar.app .tab[aria-current="page"]::before{content:"";position:absolute;inset:2px 12%;z-index:-1;border-radius:14px;background:#F6EBDD}
.tabbar.app .tab .dot{top:7px;left:calc(50% + 7px)}
.tbadge{position:absolute;top:3px;left:calc(50% + 3px);min-width:18px;height:18px;padding:0 5px;border:2px solid #fff;border-radius:11px;background:#CF3434;color:#fff;font:800 11px/18px var(--f-ui);text-align:center;box-sizing:content-box}
.tab-av{width:30px;height:30px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--cream);color:var(--gold);box-shadow:0 0 0 1.5px var(--line)}
.tab-av img{width:100%;height:100%;object-fit:cover;object-position:50% 15%}
.tabbar.app .tab-av .ic{width:18px;height:18px}
.tab-me[aria-current="page"] .tab-av{box-shadow:0 0 0 2px var(--gold)}
.tabbar{background:rgba(251,247,241,.94);-webkit-backdrop-filter:saturate(1.3) blur(14px);backdrop-filter:saturate(1.3) blur(14px);border-top-color:#E6D7C4;box-shadow:0 -8px 24px rgba(20,37,74,.06);transition:transform .28s cubic-bezier(.2,.8,.2,1)}
.tabbar.tb-hide{transform:translateY(calc(100% + 1px))}
.tabbar .tab{color:rgba(20,37,74,.58)}
.tabbar .tab[aria-current="page"]{color:var(--gold)}
.tabbar.app .tab[aria-current="page"]::before{background:#F1E2CF}
.tabbar .tab .dot,.tabbar .tbadge{border-color:var(--ivory)}
.tabbar .tab-av{box-shadow:0 0 0 1.5px #E2D2BE}
@media (prefers-reduced-motion:reduce){.tabbar{transition:none}}

/* the ≡ menu: a full-height panel from the left */
dialog.sheet.mnav{inset:0 auto 0 0;margin:0;width:min(420px,100%);height:100%;max-height:none;border-radius:0;background:var(--ivory);box-shadow:10px 0 40px rgba(20,37,74,.16)}
dialog.sheet.mnav[open]{animation:mslide .24s cubic-bezier(.2,.8,.2,1)}
@keyframes mslide{from{transform:translateX(-100%)}}
.mnav-head{flex:none;display:flex;align-items:center;gap:8px;padding:calc(8px + env(safe-area-inset-top,0px)) 8px 4px 20px}
.mnav-head h2{flex:1;margin:0;font:600 28px/1.1 var(--f-display)}
.mnav-body{flex:1;overflow-y:auto;padding:6px 16px calc(24px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:16px}

.mm-me{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--navy);text-decoration:none}
.mm-me:hover{background:#FFFCF8}
.mm-av{width:48px;height:48px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--cream);color:var(--gold);font:700 19px/1 var(--f-ui)}
.mm-av img{width:100%;height:100%;object-fit:cover;object-position:50% 15%}
.mm-me-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.mm-me-t b{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mm-me-t small{font-size:13px;color:var(--muted);font-weight:500}
/* shortcuts as tiles, two to a row, like Facebook's menu (2026-10-17) */
.mm-tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mm-tiles a{display:flex;flex-direction:column;align-items:flex-start;gap:6px;height:100%;min-height:86px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--navy);font:600 15px/1.25 var(--f-ui);text-decoration:none}
.mm-tiles a:hover{background:#FFFCF8}
.mm-tiles .ic{width:24px;height:24px;color:var(--gold)}
.mm-tiles small{font-size:12.5px;font-weight:600;color:var(--muted)}
.mm-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.mm-list a,.mm-help summary,.mm-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:50px;padding:0 8px;border-radius:10px;color:var(--navy);font:600 15px/1.3 var(--f-ui);text-decoration:none;cursor:pointer}
.mm-list a:hover,.mm-help summary:hover,.mm-row:hover{background:var(--cream)}
.mm-list .ic,.mm-help summary>.ic:first-child,.mm-row>.ic:first-child{width:22px;height:22px;color:var(--gold)}
.mm-list small{font-size:12.5px;font-weight:600;color:var(--muted);white-space:nowrap}
.mm-more{display:flex;flex-direction:column;padding-top:8px;border-top:1px solid var(--line)}
.mm-help summary{list-style:none}
.mm-help summary::-webkit-details-marker{display:none}
.mm-chev{width:16px;height:16px;color:#B9AFA4;transition:transform .15s}
.mm-help[open] summary .mm-chev{transform:rotate(180deg)}
.mm-help .mm-list{padding-left:20px}
.mm-list .mm-chev{width:16px;height:16px;color:#B9AFA4}
.mm-out{width:100%;justify-content:center}
/* the visitor's ≡ menu (2026-10-17): join and sign in on top; the © line closes every menu now that no page has a footer */
.mm-copy{margin:auto 0 0;padding-top:8px;text-align:center;font-size:12px;line-height:1.5;color:var(--muted)}

/* the bell: its page, and its dropdown in the wide header; the list itself is bell.css, as the admin bell (2026-10-18) */
.al-page{display:flex;flex-direction:column;gap:14px}
.al-feed{max-height:none;overflow:visible;padding:0}
.upanel{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:380px;max-height:min(78vh,640px);overflow-y:auto;padding:10px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
.bellpanel{width:420px;max-width:calc(100vw - 16px);max-height:none;overflow:visible;padding:0}
.umenu.bellmenu>summary.mh-bell{justify-content:center;padding:0}
.umenu.bellmenu>summary .ic,.umenu.bellmenu[open]>summary .ic{width:26px;height:26px;transform:none}
.mpanel{width:360px;display:flex;flex-direction:column;gap:14px;padding:12px}
.memenu summary{position:relative;justify-content:center}
.umenu.memenu{margin-left:6px}
.memenu .wait-dot{position:absolute;top:2px;left:30px;width:10px;height:10px;border-radius:50%;border:2px solid #fff;background:var(--gold)}
.memenu .wait-dot.changes{background:#C8423B}
.me-av{width:38px;height:38px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--cream);color:var(--gold);box-shadow:0 0 0 1.5px var(--line)}
.me-av img{width:100%;height:100%;object-fit:cover;object-position:50% 15%}
.umenu .me-av .ic,.umenu[open] .me-av .ic{width:20px;height:20px;transform:none}

/* Settings and privacy, and his two lists (recently viewed, shortlist) */
.st{display:flex;flex-direction:column;gap:24px}
.st-h{margin:0 0 8px 4px;font:700 13px/1.2 var(--f-ui);color:var(--muted)}
.st-devs{list-style:none;margin:0;padding:0}
.st-act{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:12px 0 0}
.st-act p{margin:0;max-width:60ch}
.st-sec>p{margin:10px 4px 0}
.st-seg{display:inline-flex;padding:3px;border:1px solid var(--line);border-radius:999px;background:#fff}
.st-seg a{padding:6px 12px;border-radius:999px;color:var(--navy);font:700 13px/1 var(--f-ui);text-decoration:none}
.st-seg a[aria-current]{background:var(--navy);color:#fff}
.st-val{font-size:13.5px;font-weight:600;color:var(--muted);text-align:right}
.sv-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.sv-head form{margin:0;flex:none}
.sv-head .link,.al-head .link{white-space:nowrap}
.sv-item{display:flex;flex-direction:column;gap:4px;min-width:0}
.sv-item form{margin:0}
.sv-x{display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:0 4px;border:0;background:none;color:var(--muted);font:600 12.5px/1 var(--f-ui);cursor:pointer}
.sv-x .ic{width:14px;height:14px}
.sv-x:hover{color:var(--navy)}
.sv-empty{padding:40px 12px;gap:8px}
.sv-empty .btn{margin-top:8px}

/* her Nationality and where she is Living in on every card of her (2026-10-17): "🇹🇭 Thai | 📍 Living in Bangkok" on one
   line when the card has room for it (measured: 166-196px), else on two lines, so the cards in a row match. The "|" is
   each item's left border; the row sits 7px left inside a clipping box, so a line's first border never shows. A place
   too long for its line ends in an ellipsis. */
.hplace{display:block;container-type:inline-size;min-width:0;max-width:100%;overflow:hidden;font-size:12.5px;line-height:1.3;color:var(--muted)}
.hp-in{display:flex;align-items:center;column-gap:6px;row-gap:2px;margin-left:-7px}
@container (max-width:199px){.hp-in{flex-direction:column;align-items:flex-start}}
.hp-in>span{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:calc(100% - 6px);padding-left:6px;border-left:1px solid #D9CFC2}
.hp-nat{flex:none}
.hp-live>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hplace .ic{width:13px;height:13px;flex:none;color:var(--gold)}
img.flag{object-fit:cover} /* a flag file (flag-icons, 4:3) fills the 20x14 flag box */
.fcard .hplace{font-size:11px;gap:5px}
.pd-loc{flex-wrap:wrap}
.hp-dot{font-style:normal;color:var(--muted)}

/* ---------- Platinum, the ribbon, and the Events band (owner's mock-up, 2026-10-17) ---------- */
.pcard{position:relative}
.pcard.platinum{background:linear-gradient(180deg,#F5F7FB,#EEF2F8);border:1.5px solid #B9C4D8}
.pcard.platinum .pcard-top{border-bottom-color:#D5DCE8}
.pcard.platinum .pcard-tag{background:linear-gradient(180deg,#24396A,#14254A);box-shadow:0 2px 6px rgba(20,37,74,.25)}
.pcard.platinum .pcard-list .ic{background:linear-gradient(180deg,#2A3F6E,#14254A)}
.pcard-go.btn-navy2,.pcard-go .btn-navy2{min-height:50px;font-size:18px}
/* the plan the team recommends: a ribbon on its top edge and a stronger frame */
.pcard.ribboned{border-width:2px;border-color:#C9955F;box-shadow:0 14px 34px rgba(160,109,63,.16)}
.pcard-ribbon{position:absolute;top:0;left:50%;transform:translate(-50%,-50%);margin:0;padding:5px 18px;border-radius:8px;background:linear-gradient(180deg,#C9975F,#A8743F);box-shadow:0 3px 8px rgba(149,99,53,.3);color:#fff;font:700 12px/1.3 var(--f-ui);letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}
html:lang(th) .pcard-ribbon{letter-spacing:.02em;font-size:13px}
/* stacked on a phone or tablet: room for the ribbon above its card */
.pcards{row-gap:28px}
@media (min-width:1024px){
  /* three plans: three columns, wider than two (the page itself stops at 1180px) */
  .page:has(.pcards>.pcard:nth-child(3)) :is(.pcards,.pterms,.pevents){max-width:1180px}
  .pcards:has(>.pcard:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
  /* side by side, every card puts its price and badge under the name, centred, as in the mock-up: a longer name
     (Platinum) no longer drops its price to a different line than the others */
  .pcards:has(>.pcard:nth-child(3)) .pcard-price{margin-left:0;flex-basis:100%}
  .pcards:has(>.pcard:nth-child(3)) .pcard-tag{margin:0 auto}
  /* one row each for the heads, the lists and the buttons across the three cards (subgrid), so every list starts
     on the same line whatever a card carries above it (a struck-through price, a badge) */
  .pcards:has(>.pcard:nth-child(3)){grid-template-rows:auto 1fr auto}
  /* container-type would contain its layout, which turns a subgrid back into its own grid; side by side the price is
     already under the name, so the narrow-card rule it serves is not needed here */
  .pcards:has(>.pcard:nth-child(3))>.pcard{container-type:normal;display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:14px}
}
.jhero .jmen .pcards{row-gap:28px}
/* the Join page keeps its plans in the men's column, one under another: three side by side there were 147px each */
@media (min-width:1024px){
  .jhero .jmen .pcards:has(>.pcard:nth-child(3)){grid-template-columns:minmax(0,1fr);grid-template-rows:none}
  .jhero .jmen .pcards:has(>.pcard:nth-child(3))>.pcard{container-type:inline-size;display:flex;grid-row:auto}
}

.pevents{display:grid;width:100%;max-width:820px;margin:0 auto;border:1px solid #E6D3BD;border-radius:16px;background:#FFFEFC;box-shadow:0 10px 30px rgba(20,37,74,.06);overflow:hidden;text-align:left;color:var(--navy)}
.pevents-img{min-height:110px;background:url(/img/skyline-strip-800.jpg) center 60%/cover no-repeat}
.pevents-ic{display:none}
.pevents-txt{display:flex;flex-direction:column;gap:6px;padding:16px 18px 0}
.pevents-txt h2{margin:0;font:700 25px/1.15 var(--f-display);text-wrap:balance}
.pevents-brand b{font-weight:inherit;color:var(--gold)}
.pevents-txt p{margin:0;font-size:14.5px;line-height:1.5;color:#3D4660}
.pevents-go{display:flex;flex-direction:column;gap:8px;padding:14px 18px 18px}
.pevents-go .btn-gold2{min-height:50px;font-size:17px}
.pevents-go .btn-gold2 .ic{width:20px;height:20px}
.pevents-go p{margin:0;font-size:12.5px;line-height:1.45;color:var(--muted)}
@media (min-width:720px){.pevents{max-width:560px}}
@media (min-width:1024px){
  .pevents{max-width:980px;grid-template-columns:minmax(150px,20%) auto minmax(0,1fr) minmax(250px,29%);align-items:center;column-gap:18px}
  .pevents-go .btn-gold2{font-size:16px;white-space:nowrap;padding:0 18px}
  /* the photo fades into the cream, as in the mock-up */
  .pevents-img{align-self:stretch;min-height:150px;-webkit-mask-image:linear-gradient(90deg,#000 55%,transparent);mask-image:linear-gradient(90deg,#000 55%,transparent)}
  .pevents-ic{display:grid;place-items:center;width:64px;height:64px;border:1.5px solid #D9AC7B;border-radius:50%;background:#FFF8EF;color:var(--gold)}
  .pevents-ic .ic{width:28px;height:28px}
  .pevents-txt{padding:18px 0}
  .pevents-txt h2{font-size:27px}
  .pevents-go{padding:18px 20px 18px 0}
}
/* ---------- women's privacy (owner, 2026-10-17): the note over Sample profiles, her read-only profile, the team's contact box ---------- */
.own-note{display:flex;align-items:flex-start;gap:10px;margin:0;padding:12px 14px;border-radius:var(--r-s);background:var(--cream);color:var(--navy);font-size:14px;line-height:1.45}
.own-note .ic{flex:none;color:var(--gold)}
.tcontact{display:flex;flex-direction:column;gap:12px}
.tcontact-t{display:flex;align-items:flex-start;gap:8px;margin:0;color:var(--navy);font-size:14px;line-height:1.45}
.tcontact-t .ic{flex:none;width:18px;height:18px;margin-top:1px;color:var(--gold)}
.tcontact-qr{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
.tcontact-qr figure{display:flex;flex-direction:column;align-items:center;gap:8px;margin:0;padding:12px;border:1px solid var(--line);border-radius:var(--r-s);background:var(--surface)}
.tcontact-qr img{width:132px;height:132px;object-fit:contain}
.tcontact-qr .btn{width:100%;padding-inline:8px;white-space:nowrap}
.tcontact-qr figcaption{font-weight:700;color:var(--navy)}
/* a channel the team has not set yet, on Contact us: its name and "Coming soon", nothing to tap (owner, 2026-10-19) */
.tcontact-qr figure.is-soon{justify-content:center;min-height:132px;border-style:dashed;background:var(--ivory)}
.tcontact-soon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--cream);color:var(--gold)}
.tcontact-soon .ic{width:24px;height:24px}
.tcontact-qr figcaption{text-align:center}
.tcontact-qr figcaption small{display:block;margin-top:2px;font-size:13px;font-weight:500;color:var(--muted)}
.cs-photos{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.cs-photos img{width:100%;aspect-ratio:1/1.2;object-fit:cover;object-position:50% 0;border-radius:8px;background:var(--cream)}
.cs-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px 16px;margin:0}
.cs-facts dt{font-size:12px;color:var(--muted)}
.cs-facts dd{margin:0;font-weight:600;color:var(--navy)}
.cs-text{margin:4px 0 0;white-space:pre-line;line-height:1.55}
.team-consents{display:flex;flex-direction:column;gap:6px;margin:8px 0 0;padding:0;list-style:none;font-size:13px}
.team-consents li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:8px 0;border-bottom:1px solid var(--line)}
.team-consents small{grid-column:1/-1;color:var(--muted)}
.team-consents .ok{color:#1F7A47}
.team-consents .no{color:var(--danger)}
/* Sample profiles: made by AI, said once over the list instead of a badge on every card (owner, 2026-10-17) */
.ai-note{margin:0;font-size:14px;line-height:1.55;color:var(--muted)}
.ai-note .ic{width:16px;height:16px;margin-right:6px;vertical-align:-3px;color:var(--gold)}
.ai-note a{font-weight:700;color:var(--gold);white-space:nowrap}
.title-c .ai-note{max-width:760px;margin:10px auto 0}

/* Women's Profiles for a Visitor (2026-10-18): the invitation to join under the five cards */
.sc-join{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;max-width:520px;margin:20px auto 4px;text-align:center}
.sc-join p{margin:0}
/* his card's words, laid out as hers (owner, 2026-10-18) */
.jman-b{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0}

/* ---------- Membership in the header, for anyone not a member yet (owner, 2026-10-18: "inviting, beautiful, an effect
   that catches the eye"): champagne with a slowly turning gold rim, a light passing over it, a soft gold ring breathing
   out, the crown nodding and a small sparkle. The same on the phone's round crown. Still for reduced motion. ---------- */
@property --mb-a{syntax:'<angle>';inherits:false;initial-value:0deg}
.mbtn:not(.on){position:relative;isolation:isolate;border:2px solid transparent;color:#8A5A22;font-weight:800;letter-spacing:.01em;
  background:linear-gradient(180deg,#FFF9EE,#F6DDB4) padding-box,conic-gradient(from var(--mb-a),#EBCB95,#AE7633,#F9E8C6,#C28B45,#EBCB95) border-box;
  box-shadow:0 4px 14px rgba(176,122,53,.2);
  animation:mb-turn 6s linear infinite,mb-ring 3.2s ease-out infinite;transition:transform .15s ease,filter .15s ease}
.mbtn:not(.on):hover{background:linear-gradient(180deg,#FFFDF9,#F7E2C2) padding-box,conic-gradient(from var(--mb-a),#EBCB95,#AE7633,#F9E8C6,#C28B45,#EBCB95) border-box;transform:translateY(-1px);filter:saturate(1.08)}
.mbtn:not(.on):active{transform:translateY(0) scale(.98)}
.mbtn:not(.on) .ic{color:#B07A35;transform-origin:50% 85%;animation:mb-crown 4s ease-in-out infinite}
/* the light passing over it */
.mbtn:not(.on)::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;
  background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.95) 50%,transparent 60%) no-repeat;background-size:260% 100%;
  animation:mb-shine 4s ease-in-out infinite}
/* the sparkle at its corner */
.mbtn:not(.on)::before{content:"";position:absolute;top:-4px;right:7px;width:9px;height:9px;pointer-events:none;background:#D6A65E;
  clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);width:11px;height:11px;animation:mb-twinkle 2.6s ease-in-out infinite}
.mbtn.icon:not(.on)::before{right:-1px;top:-3px}
@media (max-width:1023px){.bar-w .mbtn:not(.on)::before{right:-1px;top:-3px}}
@keyframes mb-turn{to{--mb-a:360deg}}
@keyframes mb-ring{0%{box-shadow:0 4px 14px rgba(176,122,53,.2),0 0 0 0 rgba(214,166,94,.7)}70%,100%{box-shadow:0 4px 14px rgba(176,122,53,.2),0 0 0 13px rgba(214,166,94,0)}}
@keyframes mb-shine{0%,55%{background-position:160% 0}85%,100%{background-position:-60% 0}}
@keyframes mb-crown{0%,78%,100%{transform:none}84%{transform:rotate(-12deg) scale(1.15)}90%{transform:rotate(8deg) scale(1.1)}95%{transform:none}}
@keyframes mb-twinkle{0%,100%{opacity:.25;transform:scale(.6) rotate(0)}50%{opacity:1;transform:scale(1.1) rotate(45deg)}}
@media (prefers-reduced-motion:reduce){.mbtn:not(.on),.mbtn:not(.on) .ic,.mbtn:not(.on)::after,.mbtn:not(.on)::before{animation:none}}

/* ---------- the home hero logo that plays once (owner, 2026-10-18; timing in js/logo-fx.js) ----------
   Every size is the source image's pixels times --u (one mark px: --mh / 320) or --uw (one wordmark px: --wh / 160);
   --mh / --wh are the heights, set per screen at the end of this block. Without JS this IS the final frame: the heart in
   its own colours with a soft gold glow (owner, 2026-10-20: the pink tint is gone, the small pink heart stays). */
@property --lf-a{syntax:'<angle>';inherits:false;initial-value:0deg}
@property --lf-r{syntax:'<number>';inherits:false;initial-value:77.5}
.hero2 .lf{--mh:clamp(100px,32vw,140px);--wh:clamp(44px,13.6vw,60px);--u:calc(var(--mh)/320);--uw:calc(var(--wh)/160);display:flex;flex-direction:column;align-items:center;gap:6px}
.lf-mark{position:relative;isolation:isolate;width:calc(332*var(--u));height:var(--mh);
  filter:drop-shadow(0 0 6px rgba(201,149,95,.22)) drop-shadow(0 4px 20px rgba(201,149,95,.28))}
.lf-mark img,.lf-word img{position:absolute;display:block;max-width:none;user-select:none;-webkit-user-drag:none}
.lf-half{position:absolute;inset:0;transform-origin:50.3% 95%}
.lf-half img{inset:0;width:100%;height:100%}
.lf-hl{clip-path:inset(0 49.55% 0 0)}
.lf-hr{clip-path:inset(0 0 0 50.3%)}
/* the heads orbit (167, 34.5), the point between them; final radius 77.5 px; the orbit is an ellipse (scaleY) and a
   head grows on the near side of it (sin) so they read as circling each other */
.lf-hd{top:calc(-1*var(--u));left:calc(131.5*var(--u));z-index:2;
  transform:translateX(calc(77.5*var(--u)*var(--d)));
  transform:scaleY(.36) rotate(var(--lf-a,0deg)) translateX(calc(var(--lf-r,77.5)*var(--u)*var(--d))) rotate(calc(-1*var(--lf-a,0deg))) scaleY(2.7778) scale(calc(1 + .14*sin(var(--lf-a,0deg)*var(--d))))}
.lf-hd-l{--d:-1;width:calc(72*var(--u))}
.lf-hd-r{--d:1;width:calc(70*var(--u));z-index:3}
.lf-seam{position:absolute;z-index:5;left:calc(50.3% - 2px);top:8%;bottom:6%;width:4px;border-radius:4px;opacity:0;pointer-events:none;
  background:linear-gradient(180deg,transparent,#fff 30%,#FFE3EE 70%,transparent);filter:blur(1.5px)}
/* the small pink heart pops where the heads touch, then STAYS between them, glowing and beating like a heart
   (owner, 2026-10-19). Its point (167, 16) sits between the heads' tops and centres; the beat runs while .lf-beat is set */
.lf-spark{position:absolute;z-index:5;left:calc(167*var(--u));top:calc(16*var(--u));width:0;height:0;pointer-events:none}
.lf-spark svg{position:absolute;left:calc(-24*var(--u));top:calc(-24*var(--u));width:calc(48*var(--u));height:calc(48*var(--u));color:#F25C94;
  filter:drop-shadow(0 0 calc(3*var(--u)) rgba(255,120,170,.95)) drop-shadow(0 0 calc(9*var(--u)) rgba(240,108,155,.6))}
.lf-spark i{position:absolute;left:-3px;top:-3px;width:6px;height:6px;border-radius:50%;background:#F06C9B;opacity:0}
.lf-spark::before,.lf-spark::after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.lf-spark::before{left:calc(-40*var(--u));top:calc(-40*var(--u));width:calc(80*var(--u));height:calc(80*var(--u));opacity:.55;
  background:radial-gradient(closest-side,rgba(255,150,190,.6),rgba(255,150,190,0))}
.lf-spark::after{left:calc(-20*var(--u));top:calc(-20*var(--u));width:calc(40*var(--u));height:calc(40*var(--u));opacity:0;
  border:calc(2*var(--u)) solid rgba(242,92,148,.75)}
.lf.lf-go:not(.lf-beat) .lf-spark::before{opacity:0}
@media (prefers-reduced-motion:no-preference){
  .lf-beat .lf-spark{animation:lf-beat 1.2s ease-in-out infinite}
  .lf-beat .lf-spark::before{animation:lf-glow 1.2s ease-in-out infinite}
  .lf-beat .lf-spark::after{animation:lf-ring 1.2s ease-out infinite}
}
/* lub-dub, then rest: a strong beat, a softer one, and a ring that spreads out on the first */
@keyframes lf-beat{0%,52%,100%{transform:scale(1)}12%{transform:scale(1.32)}24%{transform:scale(.96)}36%{transform:scale(1.2)}}
@keyframes lf-glow{0%,60%,100%{opacity:.55;transform:scale(.9)}12%{opacity:1;transform:scale(1.25)}36%{opacity:.85;transform:scale(1.1)}}
@keyframes lf-ring{0%{opacity:0;transform:scale(.6)}12%{opacity:.8;transform:scale(1)}70%,100%{opacity:0;transform:scale(2.3)}}
.lf-word{position:relative;margin-top:4px;width:calc(835*var(--uw));height:var(--wh)}
.lf-word>span{position:absolute;inset:0}
.lf-word img{inset:0;width:100%;height:100%}
.lf-my{clip-path:inset(-20% 60.12% -20% 0)}
.lf-hw{clip-path:inset(-20% 0 -20% 39.88%)}
.lf-dating{margin-top:calc(.06*var(--wh));font:700 calc(.46*var(--wh))/1 var(--f-display)}
.lf-shine{position:absolute;inset:0;pointer-events:none;opacity:0;
  background:linear-gradient(100deg,transparent 0 42%,rgba(255,248,232,.95) 50%,transparent 58% 100%) 85% 0/300% 100% no-repeat;
  -webkit-mask:url(/img/myhalf-word.webp) 0 0/100% 100% no-repeat;mask:url(/img/myhalf-word.webp) 0 0/100% 100% no-repeat}
/* with JS the logo waits hidden until its images are decoded; if the script never runs it shows itself after 2.5 s */
.js .lf:not(.lf-go)>*{animation:lf-show 0s linear 2.5s both}
@keyframes lf-show{from{visibility:hidden}to{visibility:visible}}
/* bigger than the old 78 / 110 px (owner, 2026-10-19, "the logo is too small"): a phone grows with its width; a tablet and
   a computer with the screen's HEIGHT (a phone on its side too), so a 1366x768 laptop still shows the headline under it */
@media (min-width:720px){.hero2 .lf{--mh:clamp(120px,24vh,160px);--wh:64px}}
@media (min-width:1024px){.hero2 .lf{--mh:clamp(150px,23vh,190px);--wh:70px}}
/* a profile the team opens on its sign-up steps (owner, 2026-10-19): the photos and video already there come first in
   their boxes, each photo with Adjust and Remove; the read-only view shows the answers, not greyed-out boxes */
.photos .slot.kept{border:0;background:var(--navy)}
.slot-tags{position:absolute;left:4px;top:4px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;pointer-events:none}
.slot-tag{padding:2px 8px;border-radius:999px;background:rgba(20,37,74,.72);color:#fff;font:700 11px/1.5 var(--f-ui)}
.slot-tag.wait{background:#9A5B13}
.photos .slot .slot-del{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(20,37,74,.7);color:#fff;font-size:14px;cursor:pointer}
.photos .slot .slot-del:has(input:focus-visible){outline:2px solid var(--gold);outline-offset:2px}
.photos .slot.kept:has(.slot-del input:checked) img{opacity:.3}
.photos .slot.kept:has(.slot-del input:checked)::after{content:attr(data-removed);position:absolute;left:4px;right:4px;top:46%;text-align:center;color:#fff;font:700 12px/1.3 var(--f-ui)}
.photos .slot.reframed{box-shadow:0 0 0 3px var(--gold)}
.photos .slot .slot-replace{position:absolute;left:4px;top:4px;padding:4px 10px;border-radius:999px;background:rgba(20,37,74,.72);color:#fff;font:700 12px/1.3 var(--f-ui);cursor:pointer}
.photos .slot-none{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:8px;color:var(--muted);font-size:13px;font-weight:600;text-align:center}
.wiz-ro{border:0;padding:0;margin:0;min-width:0}
.wiz-ro :is(.input,.select,.textarea):disabled{opacity:1;color:var(--navy);-webkit-text-fill-color:var(--navy);background-color:var(--ivory);cursor:default}
.wiz-ro .select:disabled{background-image:none;padding-right:14px}
.wiz-ro .check input:disabled{opacity:1}
.her-video{display:block;max-width:100%;max-height:440px;margin-top:6px;border-radius:12px;background:#000}

/* Nan's mock-up of the Events page (2026-10-30), under the packages: "Events" large with a gold rule, the promise, a photo
   fading in on the right, All / Past / Upcoming; then the held events, a dated one with its title over the photo (the
   second line in gold), one "Coming Soon" with its title under the photo */
/* as wide as an event's page and the list below (900px): a wider card would stretch its photo */
.evh-wrap{display:flex;flex-direction:column;gap:18px;width:100%;max-width:900px;margin-inline:auto;scroll-margin-top:80px}
.evh{position:relative;display:flex;flex-direction:column;gap:6px;padding:8px 0 4px;overflow:hidden}
.evh[style]::before{content:"";position:absolute;z-index:0;top:0;right:-16px;bottom:0;width:62%;background:var(--evh-img) center 35%/cover no-repeat;
  opacity:.4;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 55%);mask-image:linear-gradient(90deg,transparent 0%,#000 55%)}
.evh>*{position:relative;z-index:1}
.evh-t{display:flex;align-items:center;gap:20px;margin:0;font:600 clamp(44px,12vw,64px)/1 var(--f-display);color:var(--navy)}
.evh-t::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,#C9975F,rgba(201,151,95,.25))}
.evh-s{margin:0;font:500 clamp(18px,4.8vw,26px)/1.25 var(--f-display);color:#3F4560}
.evh-tabs{display:flex;gap:4px;margin:14px -16px 0;padding:0 16px;overflow-x:auto;scrollbar-width:none}
.evh-tabs::-webkit-scrollbar{display:none}
.evh-tabs a{flex:none;display:inline-flex;align-items:center;min-height:40px;padding:0 14px;white-space:nowrap;border-radius:10px;color:var(--navy);font:500 15px/1 var(--f-ui);text-decoration:none}
.evh-tabs a[aria-current]{background:#F2E3D0;box-shadow:inset 0 0 0 1px #E7D2B8}
.evh-tabs a:not([aria-current]):hover{background:#F8EEE2}
.evfs{display:grid;gap:18px}
.evf{display:flex;flex-direction:column;min-width:0;border-radius:12px;overflow:hidden;background:#FFFDFA;border:1px solid #EEE2D3;box-shadow:0 8px 24px rgba(20,37,74,.07)}
/* no photo yet: navy with a warm glow */
.evf-pic,.evd-hero{position:relative;display:block;overflow:hidden;color:#fff;text-decoration:none;
  background:radial-gradient(70% 90% at 85% 15%,rgba(221,174,116,.35),transparent 60%),linear-gradient(135deg,#1C3160,#14254A)}
.evf-pic{aspect-ratio:16/10}
.evf.is-soon .evf-pic{aspect-ratio:16/8}
.evf-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.evf:not(.is-soon) .evf-pic::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,18,40,0) 35%,rgba(10,18,40,.82) 100%)}
.evf-badge{position:absolute;z-index:1;top:12px;left:12px;padding:5px 11px;border-radius:6px;background:rgba(251,243,232,.95);color:#5B4632;font:500 13px/1.2 var(--f-ui)}
.evf.is-soon .evf-badge{background:rgba(14,20,36,.72);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.85)}
.evf-over{position:absolute;z-index:1;left:22px;right:22px;bottom:16px;display:flex;flex-direction:column;gap:6px;text-shadow:0 2px 14px rgba(0,0,0,.4)}
.evf-t{display:flex;flex-direction:column;font:700 clamp(24px,6.6vw,38px)/1.05 var(--f-display);text-transform:uppercase;letter-spacing:.01em;text-wrap:balance}
.evf-acc{color:#E7B866}
.evf-tag{font:500 clamp(15px,4vw,21px)/1.25 var(--f-display);color:#fff}
.evf-body{display:flex;flex-direction:column;gap:12px;padding:14px 18px 16px}
.evf-t2{margin:0;font:700 clamp(19px,5vw,24px)/1.15 var(--f-display);text-transform:uppercase;letter-spacing:.01em;color:var(--navy);text-wrap:balance}
.evf-tag2{margin:-6px 0 0;font:500 clamp(16px,4.2vw,19px)/1.3 var(--f-display);color:#5A6074}
.evf-row{display:flex;flex-direction:column;gap:12px}
.evf-meta{display:flex;flex-wrap:wrap;gap:8px 28px;margin:0;font-size:14.5px;color:#3F4560}
.evf-meta span{display:inline-flex;align-items:center;gap:9px}
.evf-meta .ic{flex:none;width:20px;height:20px;color:#B5784F;stroke-width:1.5}
.evf-go{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 24px;border-radius:999px;
  background:linear-gradient(180deg,#D21F63 0%,#B3124F 100%);box-shadow:0 6px 16px rgba(179,18,79,.28);color:#fff;font:500 16px/1 var(--f-ui);text-decoration:none;white-space:nowrap}
.evf.is-soon .evf-go{background:#F5EADD;box-shadow:0 4px 12px rgba(20,37,74,.08);color:#3F4560}
.evf-go .ic{width:18px;height:18px}
.evf-go:active{transform:scale(.98)}
.evf-go:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.evf-sponsor,.evd-sponsor{display:flex;align-items:center;gap:14px;margin:0;color:var(--navy)}
:is(.evf-sponsor,.evd-sponsor) img{flex:none;width:52px;height:60px;object-fit:contain}
:is(.evf-sponsor,.evd-sponsor) span{display:flex;flex-direction:column;min-width:0}
:is(.evf-sponsor,.evd-sponsor) small{font:500 16px/1.2 var(--f-display);color:#6B6F80}
:is(.evf-sponsor,.evd-sponsor) b{font:600 18px/1.2 var(--f-display)}
@media (min-width:560px){
  .evf-row{flex-direction:row;align-items:center;justify-content:space-between;gap:16px}
  .evf-go{flex:none}
}
@media (min-width:720px){
  .evf-pic{aspect-ratio:28/10}
  .evf.is-soon .evf-pic{aspect-ratio:35/10}
  .evf-body{padding:16px 22px 18px}
}

/* an event's page: the cover (Play in its middle when there is a video), the photos, the words, the invitation */
.evd{display:flex;flex-direction:column;gap:16px;width:100%;max-width:900px;margin-inline:auto}
.evd-hero{aspect-ratio:16/9;margin:0;border-radius:12px;box-shadow:0 8px 24px rgba(20,37,74,.1)}
.evd-hero :is(img,video,iframe){position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover}
.evd-hero video{object-fit:contain;background:#000}
.evd-play{position:absolute;inset:0;margin:auto;display:grid;place-items:center;width:72px;height:72px;padding:0;border:2px solid rgba(255,255,255,.9);border-radius:50%;
  background:rgba(10,18,40,.45);color:#fff;cursor:pointer;box-shadow:0 6px 24px rgba(0,0,0,.3)}
.evd-play .ic{width:30px;height:30px;margin-left:4px;fill:currentColor}
.evd-play:hover{background:rgba(10,18,40,.62)}
.evd-play:focus-visible{outline:3px solid #fff;outline-offset:3px}
/* the row of photos, a round next arrow on its right edge while more are out of sight (the mock-up) */
.evd-galw{position:relative}
.evd-gal{list-style:none;display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 24px)/4);gap:8px;margin:0;padding:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.evd-gal::-webkit-scrollbar{display:none}
.evd-gal-next{position:absolute;top:50%;right:-10px;translate:0 -50%;display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:#fff;color:var(--navy);box-shadow:0 4px 14px rgba(20,37,74,.2);cursor:pointer}
.evd-gal-next .ic{width:20px;height:20px}
.evd-gal li{scroll-snap-align:start}
.evd-gal button{display:block;width:100%;aspect-ratio:3/2;padding:0;border:0;border-radius:6px;overflow:hidden;background:var(--cream);cursor:zoom-in}
.evd-gal img{width:100%;height:100%;object-fit:cover}
.evd-gal button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.evd-lb{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;background:transparent}
.evd-lb[open]{display:grid;place-items:center}
.evd-lb::backdrop{background:rgba(8,12,24,.9)}
.evd-lb img{max-width:calc(100vw - 24px);max-height:calc(100dvh - 120px);border-radius:10px;object-fit:contain}
.evd-lb button{position:fixed;display:grid;place-items:center;width:46px;height:46px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;cursor:pointer}
.evd-lb button .ic{width:24px;height:24px}
.evd-lb-x{top:14px;right:14px}
.evd-lb-prev{left:10px;top:50%;translate:0 -50%}
.evd-lb-next{right:10px;top:50%;translate:0 -50%}
.evd-lb.one :is(.evd-lb-prev,.evd-lb-next){display:none}
.evd-head{display:flex;flex-direction:column;gap:12px;margin-top:4px}
.evd-head h1{display:flex;flex-direction:column;margin:0;font:700 clamp(26px,7vw,38px)/1.08 var(--f-display);text-transform:uppercase;text-wrap:balance;color:var(--navy)}
.evd-acc{color:#B5823F}
.evd-tag{margin:8px 0 0;font:500 clamp(17px,4.6vw,21px)/1.3 var(--f-display);color:#3F4560}
.evd-sponsor{align-self:flex-start}
/* where | when | what kind, thin rules between them, a line under the row */
.evd-meta{display:flex;flex-wrap:wrap;gap:8px 0;margin:0;padding-bottom:16px;border-bottom:1px solid #E5D8C8;font-size:15px;color:#3F4560}
.evd-meta span{display:inline-flex;align-items:center;gap:9px;padding-right:22px;margin-right:22px;border-right:1px solid #E3D6C6}
.evd-meta span:last-child{padding-right:0;margin-right:0;border-right:0}
/* a phone wraps the row: no rule left hanging at a line's end */
@media (max-width:559px){.evd-meta{gap:8px 20px}.evd-meta span{padding-right:0;margin-right:0;border-right:0}}
.evd-meta .ic{flex:none;width:20px;height:20px;color:#B5784F;stroke-width:1.5}
.evd-story h2{margin:0 0 10px;font:600 clamp(20px,5.2vw,24px)/1.25 var(--f-display);color:var(--navy)}
.evd-story p{max-width:68ch;margin:0 0 10px;font-size:16px;line-height:1.6;color:#4A5068}
/* the story's last line, as the mock-up closes it: in the display face, bold, navy */
.evd-story p:last-child:not(:first-of-type){margin:4px 0 0;font:700 clamp(18px,4.6vw,21px)/1.35 var(--f-display);color:var(--navy)}
.evd-story p:last-child{margin-bottom:0}
.evd-join{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.evd-join form{margin:0}
@media (min-width:720px){
  .evd{gap:20px}
  .evd-gal{grid-auto-columns:calc((100% - 32px)/5)}
  .evd-head{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:24px}
  .evd-sponsor{flex:none}
  .evd-lb-prev{left:24px}
  .evd-lb-next{right:24px}
}
