/* Shared menu: the same list at every width. */
.mnav-body{min-height:0;overscroll-behavior:contain}
.menu-screen{display:flex;flex:1;flex-direction:column;gap:24px}
.menu-rows{list-style:none;margin:0;padding:0}
.menu-rows li{border-bottom:1px solid var(--line)}
.menu-row{display:grid;grid-template-columns:24px minmax(0,1fr) 18px;align-items:center;gap:16px;min-height:68px;width:100%;padding:16px 6px;border:0;background:transparent;text-align:left;color:var(--navy);font:600 15px/1.4 var(--f-ui);text-decoration:none;cursor:pointer}
.menu-row:hover{background:var(--cream)}
.menu-row>.ic:first-child{width:24px;height:24px;color:var(--gold)}
.menu-row small{display:block;margin-top:4px;color:var(--muted);font-size:12px;font-weight:500;overflow-wrap:anywhere}
.mnav-head{padding-bottom:18px;border-bottom:1px solid var(--line)}
.mnav-head h2{font-size:28px}
.mnav-head [data-menu-back]{margin-left:-12px}
.mnav-body{padding-top:20px}
.menu-screen .mm-copy{padding-top:20px}
.header-signin{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 18px 8px 14px;border:1px solid #D9C6AE;border-radius:999px;background:var(--surface);color:var(--navy);font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.header-signin .ic{width:18px;height:18px;color:var(--gold)}
.header-signin:hover{background:var(--cream);border-color:var(--gold)}
.header-account{position:relative;flex:none}
.header-account .wait-dot{position:absolute;top:0;right:0;width:10px;height:10px;border:2px solid var(--surface);border-radius:50%;background:var(--gold)}
.header-account .wait-dot.changes{background:#C8423B}
.tablet-account{display:none}
@media (min-width:720px) and (max-width:1023px){
  .bar-w{gap:8px;padding:10px 16px 0;height:auto;min-height:76px;flex-wrap:wrap}
  .bar-w>.brand{margin-right:auto}
  .bar-w nav{order:10;flex:1 0 100%;justify-content:center;gap:8px;margin:0;border-top:1px solid var(--line)}
  .bar-w nav a{padding:10px 14px;font-size:13px}
  .tablet-account{display:grid}
  .bar-w>.btn{padding-inline:14px;white-space:nowrap}
  .header-signin{padding-inline:10px 12px;font-size:13px}
}
@media (min-width:1024px){.bar-w{gap:12px}.bar-w>.mm-btn{flex:none}}
@media (min-width:1024px) and (max-width:1279px){
  .bar-w{padding-inline:20px;gap:8px}
  .bar-w nav a{padding-inline:8px;font-size:13px}
  /* "Membership" keeps its word on every computer (owner, 2026-10-18): measured at 1024 px it still fits one row,
     27 px to spare for a visitor in English, 37 in Thai, 154 for a signed-in man. Under 1024 it is the crown alone. */
  .bar-w>.btn{padding-inline:16px;white-space:nowrap}
}
/* The passwordless sign-in form, in the ≡ menu (there is no sign-in page since 2026-10-18). */
.signin-card{width:100%;padding:28px 26px;background:rgba(255,255,255,.93);border:1px solid #fff;border-radius:24px;box-shadow:0 12px 40px #A8743F12}
.signin-card .form{gap:20px}
.signin-card .field>label{font-size:16px;font-weight:700}
.signin-input{position:relative}
.signin-input>.ic{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--gold);width:23px;height:23px;pointer-events:none}
.signin-input .input{padding-left:52px;min-height:58px;font-size:16px;background:#FEFCF9;border-color:#D9D3CC;border-radius:12px}
.signin-submit{position:relative;min-height:60px!important;border-radius:14px;font-size:18px}
.signin-submit>.ic{position:absolute;right:20px;width:22px;height:22px}
.signin-submit>span{padding-inline:20px}
.signin-join{text-align:center;margin:24px 0 0;color:#626A80;font-size:15px}
.signin-join a{color:#94602F;font-weight:700;text-underline-offset:4px}
.signin-support{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin-top:12px}
.signin-support a{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;min-height:76px;padding:4px 8px;text-align:center;text-decoration:none;font-size:12px;line-height:1.4}
.signin-support a+a{border-left:1px solid var(--line)}
.signin-support .ic{width:27px;height:27px;color:var(--gold)}
.signin-support a:hover span{text-decoration:underline;text-underline-offset:4px}
@media (min-width:720px){.signin-card{padding:32px}.signin-support a{font-size:13px}}
@media (max-width:359px){.signin-card{padding:24px 18px}.signin-support a{padding-inline:4px;font-size:11px}}
/* the code step in the menu (owner, 2026-10-18); the menu's footer is at the end of this file */
.mm-signin .signin-card form+form{margin-top:12px}
.mm-signin .code-input{text-align:center;letter-spacing:.3em;font-size:22px;font-weight:700}
.mm-foot .home-foot{margin-top:0}
.mm-foot .borders3{margin-inline:0}
@media (prefers-reduced-motion:reduce){dialog.sheet.mnav[open]{animation:none}}
/* The ≡ menu dressed like the sign-in page (owner, 2026-10-17): the brand, a visitor's sign-in form, the three help
   links at the foot; the drawer is 420px at most, so the page's sizes come down a step */
.mm-brand{display:flex;flex-direction:column;align-items:center;gap:6px;padding-top:4px;text-decoration:none}
.mm-brand img:first-child{width:46px;height:auto}
.mm-brand img:last-child{width:140px;height:auto}
.mm-signin{display:flex;flex-direction:column;gap:14px;text-align:center}
.mm-signin h3{margin:0;font:600 34px/1.1 var(--f-display);color:var(--navy)}
.mm-signin>p{margin:0;color:#626A80;font-size:14px;line-height:1.55;text-wrap:balance}
.mm-signin .signin-card{padding:20px 18px;text-align:left}
.mm-signin .signin-card .form{gap:14px}
.mm-signin .signin-input .input{min-height:50px}
.mm-signin .signin-submit{min-height:52px!important;font-size:16px}
.mm-signin .signin-join{margin-top:16px;font-size:14px}
.menu-screen .signin-support{margin-top:auto;padding-top:8px}
.menu-screen .signin-support+.mm-copy{margin-top:0;padding-top:0}

/* ---------- the ≡ menu as the owner's mock-up of 2026-10-18 (phone 375px measured; the same panel on a tablet and a
   computer, 420px at most): ivory with thin gold lines, only the close button on top, the brand over a heart rule,
   the sign-in card, the three help links in rings, a heart rule over the legal links and the copyright ---------- */
dialog.sheet.mnav{background:#FCF8F2 url(/img/menu-lines.svg) 0 0/100% 100% no-repeat;touch-action:pan-y}
.mnav-head{border-bottom:0;padding-bottom:0}
.mnav-head:has([data-menu-back][hidden]){justify-content:flex-end}
.mnav-head:has([data-menu-back][hidden]) h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mnav-head [data-close] .ic{width:26px;height:26px;stroke-width:1.6}
.mnav-body{padding:0 22px calc(20px + env(safe-area-inset-bottom,0px))}
.menu-screen{gap:22px}
.menu-screen[data-menu-screen="root"]{gap:0}
.menu-screen[data-menu-screen="root"]>*+*{margin-top:22px}
.mm-brand{gap:10px;padding-top:0}
.mm-brand img:first-child{width:56px}
.mm-brand img:last-child{width:154px}
.menu-screen>.mm-brand+.mm-rule{margin-top:14px}
.mm-rule{display:flex;align-items:center;justify-content:center;gap:9px;color:#C9955F}
.mm-rule::before,.mm-rule::after{content:"";width:46px;height:1px;background:linear-gradient(90deg,transparent,#D3A574)}
.mm-rule::after{background:linear-gradient(90deg,#D3A574,transparent)}
.mm-rule .ic{width:11px;height:11px;fill:currentColor;stroke:none}
.mm-signin{gap:12px}
.mm-signin h3{font:700 40px/1.1 var(--f-display);letter-spacing:.005em}
.mm-signin>p{font-size:15px;line-height:1.55;color:#5F6779}
.mm-signin .signin-card{margin-top:6px;padding:18px 16px 18px;border-radius:20px;background:rgba(255,255,255,.92);box-shadow:0 10px 30px rgba(168,116,63,.09)}
.mm-signin .signin-card .form{gap:12px}
.mm-signin .signin-card .field>label{font-size:15px}
.mm-signin .signin-input .input{min-height:44px;border-radius:10px;background:#FEFDFB}
.mm-signin .signin-submit{min-height:46px!important;border-radius:12px;font-size:16px;box-shadow:0 8px 18px rgba(168,116,63,.25)}
.mm-signin .signin-join{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:16px;font-size:14px;white-space:nowrap}
.mm-signin .signin-join::before,.mm-signin .signin-join::after{content:"";flex:1 1 0;min-width:12px;height:1px;background:var(--line)}
.mm-card{padding:0 14px;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 8px 24px rgba(168,116,63,.07)}
.mm-card li:last-child{border-bottom:0}
.mm-card .menu-row{grid-template-columns:38px minmax(0,1fr) 18px;gap:14px;min-height:60px;padding:10px 2px}
.mm-card .menu-row:hover{background:transparent}
.mm-card .menu-row>.ic:first-child{width:38px;height:38px;padding:8px;border-radius:50%;background:#F6EEE4}
.mm-card .menu-row>span{font:700 19px/1.2 var(--f-display);color:var(--navy)}
.mm-card .mm-chev{color:#8D8492}
.menu-screen .signin-support{padding-top:0}
.menu-screen .signin-support a{gap:9px;padding-inline:2px;font-size:12px;white-space:nowrap;color:var(--navy)}
.menu-screen .signin-support .ic{width:44px;height:44px;padding:9px;border-radius:50%;background:#FBF4EC;box-shadow:0 6px 16px rgba(168,116,63,.12)}
.menu-screen .signin-support+.mm-rule{margin-top:18px}
.menu-screen .mm-rule+.mm-copy{margin-top:10px;padding-top:0;font-size:11.5px}
/* Terms & Conditions · Privacy Policy, a line of their own over the © (owner, 2026-10-18) */
.legal-links{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 10px;margin-bottom:4px;font-size:12px;font-weight:600;line-height:1.6}
.legal-links a{color:var(--navy);text-decoration:none}
.legal-links a:hover{text-decoration:underline;text-underline-offset:3px}
.legal-links>span{color:#C9955F}
/* swiped left (navigation.js): the panel follows the finger, and goes when let go far enough */
dialog.sheet.mnav.swiping{transition:none}
dialog.sheet.mnav.swipe-back{transition:transform .2s ease-out}
/* everything on one screen, no scrolling (owner, 2026-10-18): the close button floats in the corner, and on shorter
   screens the gaps, the brand and the controls step down. Measured content: 726px at full size; the steps keep it
   inside 667px (iPhone 8, a 1366x768 laptop) and 568px (iPhone SE); on a tall screen they sit in the middle. */
.mnav-head:has([data-menu-back][hidden]){position:absolute;top:0;right:0;z-index:2;padding:calc(8px + env(safe-area-inset-top,0px)) 8px 0 0}
.mnav-head:has([data-menu-back][hidden])~.mnav-body{padding-top:calc(18px + env(safe-area-inset-top,0px))}
.menu-screen[data-menu-screen="root"]{--mm-gap:22px;justify-content:center}
.menu-screen[data-menu-screen="root"]>*+*{margin-top:var(--mm-gap)}
@media (max-height:740px){
  .menu-screen[data-menu-screen="root"]{--mm-gap:13px}
  .mm-brand{gap:7px}
  .mm-brand img:first-child{width:44px}
  .mm-brand img:last-child{width:132px}
  .menu-screen>.mm-brand+.mm-rule{margin-top:10px}
  .mm-signin{gap:9px}
  .mm-signin h3{font-size:34px}
  .mm-signin .signin-card{margin-top:4px;padding:14px 14px 14px}
  .mm-signin .signin-card .form{gap:10px}
  .mm-signin .signin-join{margin-top:12px}
  .mm-card .menu-row{min-height:54px;padding-block:7px}
  .menu-screen .signin-support .ic{width:40px;height:40px;padding:8px}
  .menu-screen .signin-support a{min-height:0}
  .menu-screen .signin-support+.mm-rule{margin-top:12px}
  .menu-screen .mm-rule+.mm-copy{margin-top:6px}
}
@media (max-height:650px){
  .menu-screen[data-menu-screen="root"]{--mm-gap:10px}
  .mm-brand img:last-child{width:124px}
  .mm-signin h3{font-size:30px}
  .mm-signin>p{font-size:13px;line-height:1.45}
  .mm-signin .signin-card{padding:12px 12px 12px}
  .mm-signin .signin-card .form{gap:8px}
  .mm-signin .signin-card .field>label{font-size:14px}
  .mm-signin .signin-input .input{min-height:40px}
  .mm-signin .signin-submit{min-height:42px!important}
  .mm-signin .signin-join{margin-top:10px;font-size:13px}
  .mm-card .menu-row{min-height:46px;padding-block:5px}
  .mm-card .menu-row>.ic:first-child{width:32px;height:32px;padding:6px}
  .mm-card .menu-row>span{font-size:17px}
  .menu-screen .signin-support{gap:0}
  .menu-screen .signin-support a{gap:6px;font-size:11.5px}
  .menu-screen .signin-support .ic{width:34px;height:34px;padding:7px}
}
/* ---------- one screen WITH the site footer, signed in or not (owner, 2026-10-18) ----------
   The footer (Thailand · Milan · Cyprus over the skyline) sits flush at the bottom of the panel; everything above
   scales with the screen's height (vh clamps), so the longest menu, a signed-in man's, measured 0 px of scroll at
   1366x768 (657 px inside the browser). Rows stay rows (the owner's call, 2df9587); only their height steps down. */
.mnav-body{display:flex;flex-direction:column}
.mnav-head:has([data-menu-back][hidden])~.mnav-body{padding-top:calc(clamp(10px, 2vh, 18px) + env(safe-area-inset-top,0px))}
.menu-screen[data-menu-screen="root"]{flex:1 0 auto;justify-content:flex-start;--mm-gap:clamp(6px, 1.25vh, 18px)}
.menu-screen[data-menu-screen="root"]>.mm-foot{margin-top:auto;padding-top:var(--mm-gap)}
/* the same menu signed in or not (owner, 2026-10-18): one set of rules for both. The heart mark and the heart rule
   over the legal links stay at every height, and the header (mark, MYHALF, heart rule) is never moved: signed in it
   sits on exactly the same pixels as on the sign-in menu. Nothing here depends on being signed in. */
.mm-foot{margin-inline:-22px;margin-bottom:calc(-20px - env(safe-area-inset-bottom,0px))}
.mm-foot .home-foot{gap:0}
.mm-foot .b3-places{font-size:9.5px;letter-spacing:.16em;white-space:nowrap}
.mm-foot .b3-love{margin-top:3px;font-size:13.5px;white-space:nowrap}
/* the short gold rules stay here only: the page's banner dropped its own (2026-10-27) */
.mm-foot .b3-love::before,.mm-foot .b3-love::after,.mm-foot .b3-club::before,.mm-foot .b3-club::after{content:"";width:18px;height:1px;background:var(--gold-hi);flex:none}
.mm-foot .b3-club{margin-top:3px;font-size:7.5px;white-space:nowrap}
/* the menu keeps the banner's first three lines (2026-10-26); the silk band below them takes the skyline's old height */
.mm-foot :is(.b3-support,.b3-find){display:none}
.mm-foot .borders3{padding:0 0 calc(clamp(38px, 7vh, 72px) - 4px)}
.mm-brand{gap:clamp(4px, 1vh, 10px)}
.mm-brand img:first-child{width:clamp(30px, 4.6vh, 56px)}
.mm-brand img:last-child{width:clamp(110px, 15.5vh, 154px)}
.menu-screen>.mm-brand+.mm-rule{margin-top:6px}
.mm-me{padding:6px 12px}
.mm-me .mm-av{width:clamp(36px, 6vh, 48px);height:clamp(36px, 6vh, 48px)}
.menu-rows:not(.mm-card) .menu-row,.mm-card .menu-row{min-height:clamp(38px, 6vh, 52px);padding-block:4px}
.mm-card .menu-row>.ic:first-child{width:32px;height:32px;padding:6px}
.mm-card .menu-row>span{font-size:17px}
.mm-out{min-height:clamp(40px, 6vh, 48px)!important}
.menu-screen .signin-support a{min-height:0;gap:5px;padding-block:0}
.menu-screen .signin-support .ic{width:clamp(30px, 5vh, 40px);height:clamp(30px, 5vh, 40px);padding:clamp(6px, 1vh, 8px)}
.menu-screen .signin-support+.mm-rule{margin-top:var(--mm-gap)}
.menu-screen .mm-rule+.mm-copy{margin-top:4px;line-height:1.45}
/* the code step carries two more lines than the email step: resend is a quiet link, not a second big button */
.mm-signin:has(.code-input){gap:8px}
.mm-signin:has(.code-input) h3{font-size:30px}
.mm-signin .code-input{min-height:44px}
.mm-signin .signin-card form.center{margin-top:6px}
.mm-signin .signin-card form.center .btn-line{min-height:30px;padding:0 10px;border:0;background:none;box-shadow:none;color:#94602F;font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.mm-signin .signin-card form.center .btn-line:disabled{color:#8A8F9C;text-decoration:none}
.mm-signin .signin-card form.center+.signin-join{margin-top:6px}
/* the heart mark and rule cost ~40 px: under 650 px the gaps give them back, the same in every menu */
@media (max-height:650px){.menu-screen[data-menu-screen="root"]{--mm-gap:5px}}
/* an iPhone SE in Safari (about 560 px): one more step, and the footer keeps its places, its line and its skyline */
@media (max-height:600px){
  .mm-me{padding:4px 10px}
  .mm-me .mm-av{width:28px;height:28px}
  .menu-rows:not(.mm-card) .menu-row,.mm-card .menu-row{min-height:34px;padding-block:2px}
  .mm-out{min-height:36px!important}
  .mm-foot .b3-club{display:none}
  .menu-screen[data-menu-screen="root"]{--mm-gap:4px}
  .mm-brand img:first-child{width:18px}
  .mm-brand img:last-child{width:100px}
  .menu-screen .signin-support .ic{width:26px;height:26px;padding:5px}
  .mm-foot .borders3{padding-bottom:26px}
}
/* A phone: the ≡ menu fills the screen (owner, 2026-10-18); from 720px it stays the 420px drawer */
@media (max-width:719px){dialog.sheet.mnav{width:100%;box-shadow:none}}
