:root{
      --bg:#fff;
      --panel:#fff;
      --soft:#fff8f2;
      --cream:#fdf1e7;
      --ink:#302d2b;
      --muted:#756f6a;
      --line:#eadfd6;
      --accent:#d66a22;
      --accent-dark:#b84f10;
      --accent-pale:#fff0e4;
      --good:#4e785c;
      --bad:#b6564d;
      --shadow:0 10px 28px rgba(171,83,26,.08);
      --radius:18px;
      --text-scale:1;
      --fs:calc(16px * var(--text-scale));
      --sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang HK","Microsoft JhengHei",sans-serif;
      --serif:"Songti TC","Noto Serif TC","PMingLiU",Georgia,serif;
    }
    *{box-sizing:border-box}
    html{width:100%;scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
    body{margin:0;width:100%;min-width:0;min-height:100vh;overflow-x:hidden;background:var(--bg);color:var(--ink);font:var(--fs)/1.55 var(--sans);padding-bottom:92px}
    button,input,select,textarea{font:inherit;color:inherit}
    button{cursor:pointer;-webkit-tap-highlight-color:transparent}
    img{display:block;max-width:100%}
    .hidden{display:none!important}.muted{color:var(--muted)}

    /* Header: the only logo on the page */
    .top{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
    .toprow{width:100%;max-width:1120px;margin:auto;padding:9px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
    .brand{min-width:0;display:flex;align-items:center;gap:9px;cursor:pointer}
    .logoWrap{width:40px;height:40px;flex:0 0 40px;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:#fff;display:grid;place-items:center}
    .logoWrap img{width:100%;height:100%;object-fit:contain;padding:3px}.logoFallback{width:100%;height:100%;display:grid;place-items:center;background:var(--accent-pale);color:var(--accent);font:700 calc(14px * var(--text-scale)) var(--serif)}
    .brandText{min-width:0}.brandText b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 calc(14px * var(--text-scale))/1.2 var(--serif)}.brandText small{display:none}
    .headtools{display:flex;align-items:center;gap:6px}.iconBtn,.memberBtn{height:38px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:0 10px;box-shadow:none}.fontBtn{display:none}.memberBtn{display:flex;align-items:center;gap:6px;max-width:104px;font-size:calc(12px * var(--text-scale));font-weight:700}.memberBtn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.statusDot{width:7px;height:7px;border-radius:50%;background:var(--accent);flex:0 0 auto}

    main{width:100%;max-width:1120px;margin:auto;padding:14px 12px 34px}

    /* One compact page identifier, no hero */
    .pageIntro{display:flex;align-items:center;gap:9px;margin:2px 2px 13px;padding:0 1px;min-width:0}
    .pageIntro .pageMark{width:5px;height:22px;border-radius:999px;background:var(--accent);flex:0 0 auto}
    .pageIntro h1{margin:0;font:600 calc(22px * var(--text-scale))/1.25 var(--serif);letter-spacing:-.01em;min-width:0}
    .pageIntro .pageCode{margin-left:auto;color:var(--muted);font-size:calc(10px * var(--text-scale));font-weight:800;letter-spacing:.12em;white-space:nowrap}

    .btn{min-height:42px;border:1px solid var(--line);background:#fff;border-radius:11px;padding:8px 14px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-weight:700;transition:background .18s ease,border-color .18s ease,transform .18s ease}
    .btn:active{transform:scale(.985)}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.primary:hover{background:var(--accent-dark);border-color:var(--accent-dark)}.btn.soft{background:var(--accent-pale);border-color:#f4d2ba;color:var(--accent-dark)}.btn.danger{background:#fff8f7;border-color:#ecc9c5;color:var(--bad)}.btn.small{min-height:40px;padding:7px 12px;font-size:calc(13px * var(--text-scale))}

    /* Filters: mobile first and always aligned */
    .filterPanel{width:100%;min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px;box-shadow:0 5px 18px rgba(171,83,26,.05);margin-bottom:20px}
    .filterHeader{display:block;margin-bottom:10px}.filterHeading{display:none}
    .segments{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:var(--soft);border:1px solid var(--line);border-radius:12px}
    .segment{min-width:0;min-height:41px;border:0;background:transparent;border-radius:9px;font-size:calc(13px * var(--text-scale));font-weight:800;color:var(--muted)}.segment.active{background:var(--accent);color:#fff;box-shadow:0 4px 10px rgba(214,106,34,.15)}
    .filters{display:grid;grid-template-columns:1fr;gap:9px;margin-top:10px}.filterField{min-width:0}.filterField>span{display:block;margin:0 0 4px 2px;color:var(--muted);font-size:calc(11px * var(--text-scale));font-weight:750}.filters input,.filters select{display:block;width:100%;min-width:0;height:46px;border:1px solid var(--line);border-radius:11px;background:#fff;padding:0 12px;outline:none}.filters input:focus,.filters select:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(214,106,34,.09)}
    .dateRailWrap{margin-top:12px;padding-top:11px;border-top:1px solid var(--line)}.railCaption{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.railCaption span{font-size:calc(11px * var(--text-scale));color:var(--muted)}.allDatesBtn{min-height:35px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:5px 11px;font-size:calc(12px * var(--text-scale));font-weight:800;color:var(--muted)}.allDatesBtn.active{background:var(--accent-pale);border-color:#efc7aa;color:var(--accent-dark)}
    .dateRail,.dateRail.range-7,.dateRail.range-30{display:flex!important;grid-template-columns:none!important;gap:7px;overflow-x:auto!important;overflow-y:hidden;padding:1px 1px 5px;scrollbar-width:none;scroll-snap-type:x proximity}.dateRail::-webkit-scrollbar{display:none}.dateChip,.dateRail.range-7 .dateChip,.dateRail.range-30 .dateChip{flex:0 0 64px!important;width:64px!important;min-width:64px!important;min-height:66px!important;border:1px solid var(--line);background:#fff;border-radius:12px;padding:7px 3px;text-align:center;scroll-snap-align:start}.dateChip.active{background:var(--accent-pale);border-color:var(--accent)}.dateChip .dow,.dateRail.range-7 .dateChip .dow{font-size:calc(9px * var(--text-scale));color:var(--muted);font-weight:750}.dateChip b,.dateRail.range-7 .dateChip b{display:block;margin:1px 0;font:600 calc(18px * var(--text-scale))/1.25 var(--serif)}.dateChip .count,.dateRail.range-7 .dateChip .count{min-height:12px;color:var(--accent);font-size:calc(8px * var(--text-scale));font-weight:800}


    /* Compact chip filters: range is tucked into a small popover instead of taking a full row */
    .filterPanel{position:relative;padding:13px 14px 14px;border-radius:20px;box-shadow:0 10px 28px rgba(171,83,26,.065)}
    .filterToolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
    .filterSummary{min-width:0;display:flex;align-items:center;gap:9px}
    .filterSummaryMark{width:4px;height:24px;border-radius:999px;background:linear-gradient(180deg,var(--accent),#efb58d);flex:0 0 auto}
    .filterSummary b{display:block;font:600 calc(16px * var(--text-scale))/1.25 var(--serif)}
    .filterSummary small{display:block;color:var(--muted);font-size:calc(10px * var(--text-scale));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .filterTools{display:flex;align-items:center;gap:7px;flex:0 0 auto}
    .compactFilterBtn{min-height:36px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 11px;display:inline-flex;align-items:center;gap:7px;font-size:calc(11px * var(--text-scale));font-weight:800;color:var(--muted);box-shadow:0 4px 12px rgba(171,83,26,.04)}
    .compactFilterBtn:hover,.compactFilterBtn.active{border-color:#e8b891;background:var(--accent-pale);color:var(--accent-dark)}
    .compactFilterBtn svg{width:15px;height:15px;flex:0 0 auto}
    .rangeMenu{position:absolute;z-index:25;right:14px;top:58px;width:min(300px,calc(100% - 28px));padding:11px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 44px rgba(74,45,25,.16);display:none}
    .rangeMenu.show{display:block;animation:cardIn .18s ease both}
    .rangeMenuTitle{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;color:var(--muted);font-size:calc(10px * var(--text-scale));font-weight:800}
    .rangeChoices{display:grid;grid-template-columns:1fr 1fr;gap:7px}
    .rangeChoice{min-height:42px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:8px 10px;font-size:calc(12px * var(--text-scale));font-weight:800}
    .rangeChoice.active{background:var(--accent);border-color:var(--accent);color:#fff}
    .rangeDateField{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:end;margin-top:9px;padding-top:9px;border-top:1px solid var(--line)}
    .rangeDateField label{min-width:0}.rangeDateField span{display:block;margin:0 0 4px 2px;color:var(--muted);font-size:calc(9px * var(--text-scale));font-weight:800}
    .rangeDateField input{width:100%;min-width:0;height:40px;border:1px solid var(--line);border-radius:11px;background:#fff;padding:0 10px;outline:none}
    .rangeDateField button{height:40px;border:1px solid var(--line);border-radius:11px;background:var(--soft);padding:0 11px;font-size:calc(11px * var(--text-scale));font-weight:800;color:var(--accent-dark)}
    .filterStrip{padding-top:11px;border-top:1px solid var(--line)}
    .filterStrip:first-of-type{padding-top:0;border-top:0}
    .filterStrip+.filterStrip{margin-top:10px}
    .stripTop{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}
    .stripLabel{display:flex;align-items:center;gap:7px;min-width:0;color:var(--muted);font-size:calc(10px * var(--text-scale));font-weight:850;letter-spacing:.03em}
    .stripLabel i{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(214,106,34,.09)}
    .stripResult{color:var(--muted);font-size:calc(10px * var(--text-scale));white-space:nowrap}
    .filterChips{display:flex;gap:7px;overflow-x:auto;padding:1px 1px 5px;scrollbar-width:none;scroll-snap-type:x proximity}
    .filterChips::-webkit-scrollbar{display:none}
    .filterChip{flex:0 0 auto;min-height:38px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 11px;display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:calc(11px * var(--text-scale));font-weight:800;scroll-snap-align:start;transition:.18s ease}
    .filterChip:hover{border-color:#e8b68f;transform:translateY(-1px)}
    .filterChip.active{background:var(--accent-pale);border-color:#e9b186;color:var(--accent-dark);box-shadow:0 5px 13px rgba(214,106,34,.09)}
    .filterDot{width:7px;height:7px;border-radius:50%;background:var(--chipColor,var(--accent));box-shadow:0 0 0 3px rgba(214,106,34,.08);flex:0 0 auto}
    .chipCount{min-width:20px;padding:1px 6px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:calc(9px * var(--text-scale));text-align:center}
    .filterChip.active .chipCount{background:#fff;color:var(--accent-dark)}
    .dateFilterChip{flex:0 0 58px;min-height:62px;border:1px solid var(--line);background:#fff;border-radius:14px;padding:6px 4px;text-align:center;scroll-snap-align:start}
    .dateFilterChip span{display:block;color:var(--muted);font-size:calc(8px * var(--text-scale));font-weight:750}
    .dateFilterChip b{display:block;font:600 calc(18px * var(--text-scale))/1.2 var(--serif);margin:1px 0}
    .dateFilterChip em{display:block;min-height:11px;color:var(--accent);font-size:calc(8px * var(--text-scale));font-style:normal;font-weight:850}
    .dateFilterChip.active{background:linear-gradient(150deg,#fff8f1,var(--accent-pale));border-color:#e6aa7b;box-shadow:0 6px 14px rgba(214,106,34,.10)}
    .allDateChip{flex-basis:auto;min-width:74px;display:grid;place-items:center;padding:7px 11px;font-size:calc(10px * var(--text-scale));font-weight:850;color:var(--muted)}
    .advancedFilters{display:none;margin-top:10px;padding-top:10px;border-top:1px dashed var(--line)}
    .advancedFilters.show{display:block}
    .resetLink{border:0;background:transparent;padding:4px 2px;color:var(--accent-dark);font-size:calc(10px * var(--text-scale));font-weight:800}

    .sectionHead{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:24px 2px 12px}.sectionHead h2{margin:0;font:600 calc(21px * var(--text-scale))/1.25 var(--serif)}.sectionHead p{display:none}.resultCount{flex:0 0 auto;background:var(--soft);border:1px solid var(--line);border-radius:999px;padding:4px 9px;color:var(--muted);font-size:calc(11px * var(--text-scale))}
    /* Date groups: compact mobile banner, editorial date rail on larger screens */
    .dateGroup{margin-bottom:24px}
    .dateTitle{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 11px;padding:10px 12px;border:1px solid var(--line);border-radius:15px;background:linear-gradient(135deg,#fff 0%,var(--soft) 100%);box-shadow:0 5px 16px rgba(171,83,26,.04)}
    .dateBadge{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:9px;min-width:0}
    .dateDay{font:600 calc(28px * var(--text-scale))/1 var(--serif);color:var(--ink);letter-spacing:-.04em}
    .dateWeek{font-size:calc(11px * var(--text-scale));font-weight:850;color:var(--accent-dark);letter-spacing:.04em;white-space:nowrap}
    .dateMonth{font-size:calc(10px * var(--text-scale));font-weight:700;color:var(--muted);white-space:nowrap}
    .dateCount{flex:0 0 auto;padding:5px 9px;border:1px solid #efd3bf;border-radius:999px;background:var(--accent-pale);color:var(--accent-dark);font-size:calc(10px * var(--text-scale));font-weight:800}
    .sessionGrid{display:grid;grid-template-columns:1fr;gap:14px}

    /* Session cards: image-led on mobile and elegant on desktop */
    .sessionCard{min-width:0;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(171,83,26,.055);animation:cardIn .3s ease both;position:relative}
    .sessionCard::after{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(180deg,var(--cardColor,var(--accent)) 0%,rgba(214,106,34,.08) 100%);opacity:.8}
    .sessionShell{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;align-items:stretch;padding:12px}
    .sessionThumb{position:relative;width:92px;min-height:118px;border-radius:14px;overflow:hidden;background:linear-gradient(180deg,var(--accent-pale),var(--soft));border:1px solid var(--line);box-shadow:0 10px 18px rgba(171,83,26,.09)}
    .sessionThumb img{width:100%;height:100%;object-fit:cover}
    .sessionThumb.placeholder{display:grid;place-items:center;padding:12px;text-align:center;color:var(--accent-dark)}
    .thumbGlyph{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:#fff;border:1px solid rgba(214,106,34,.18);font-size:calc(24px * var(--text-scale));box-shadow:0 8px 16px rgba(171,83,26,.08)}
    .thumbLabel{margin-top:8px;font-size:calc(10px * var(--text-scale));font-weight:800;letter-spacing:.05em;color:var(--accent-dark);line-height:1.3}
    .thumbBadge{position:absolute;left:8px;top:8px;display:inline-flex;align-items:center;gap:5px;max-width:calc(100% - 16px);padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.9);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);font-size:calc(10px * var(--text-scale));font-weight:850;color:var(--accent-dark);box-shadow:0 4px 12px rgba(48,45,43,.08)}
    .sessionBody{min-width:0;display:flex;flex-direction:column;padding:2px 0 0}
    .typeLine{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:7px}.typeBadge{min-width:0;display:inline-flex;align-items:center;gap:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--accent-dark);font-size:calc(10px * var(--text-scale));font-weight:850;letter-spacing:.04em}.availability{flex:0 0 auto;background:#eff7f1;color:var(--good);border-radius:999px;padding:4px 8px;font-size:calc(10px * var(--text-scale));font-weight:750}.availability.full{background:#fff2f0;color:var(--bad)}
    .sessionCard h3{margin:0;font:600 calc(19px * var(--text-scale))/1.35 var(--serif)}.subTitle{margin-top:3px;color:var(--muted);font-size:calc(11px * var(--text-scale));line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quickMeta{display:grid;grid-template-columns:1fr;gap:5px;margin:12px 0 12px;color:var(--muted);font-size:calc(12px * var(--text-scale))}.quickMeta span{display:flex;align-items:center;gap:7px}.quickMeta span::before{content:"";width:5px;height:5px;border-radius:50%;background:rgba(214,106,34,.45);flex:0 0 auto}.cardBottom{margin-top:auto;padding-top:11px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr;gap:10px}.priceRow{display:flex;align-items:center;justify-content:space-between;gap:8px}.price{color:var(--accent-dark);font-size:calc(18px * var(--text-scale));font-weight:850}.miniHint{font-size:calc(10px * var(--text-scale));color:var(--muted)}.cardActions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cardActions .btn{width:100%;min-width:0}

    /* Text-only package cards */
    .packageGrid{display:grid;grid-template-columns:1fr;gap:11px}.packageCard{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 4px 14px rgba(171,83,26,.045)}.packageBody{padding:15px}.packageTop{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.packageTop h3{margin:0 0 3px;font:600 calc(19px * var(--text-scale))/1.3 var(--serif)}.creditBubble{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;background:var(--accent-pale);color:var(--accent-dark);font-weight:850}.packageTags,.detailTags{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.tag{padding:4px 8px;border:1px solid var(--line);border-radius:999px;background:var(--soft);color:var(--muted);font-size:calc(10px * var(--text-scale))}.packageFooter{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:11px;padding-top:11px;border-top:1px solid var(--line)}.priceBig{color:var(--accent-dark);font-size:calc(18px * var(--text-scale));font-weight:850}

    .profile,.holding,.bookingItem,.loginPanel,.empty{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 4px 14px rgba(171,83,26,.045)}.profile{padding:16px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.profile h2{margin:0;font:600 calc(21px * var(--text-scale)) var(--serif)}.profile p{margin:3px 0;color:var(--muted);font-size:calc(12px * var(--text-scale))}.holding{padding:14px;display:flex;align-items:flex-start;gap:12px;margin-bottom:10px}.progress{height:6px;border-radius:999px;background:var(--cream);overflow:hidden;margin-top:8px}.progress i{display:block;height:100%;background:var(--accent);border-radius:inherit}.bookingItem{padding:14px;margin-bottom:10px}.bookingTop,.bookingActions{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.bookingTop h3{margin:0;font:600 calc(18px * var(--text-scale)) var(--serif)}.bookingMeta,.policy{margin-top:4px;color:var(--muted);font-size:calc(11px * var(--text-scale))}.bookingActions{margin-top:11px;padding-top:10px;border-top:1px solid var(--line)}.status{display:inline-flex;border:1px solid var(--line);border-radius:999px;padding:3px 7px;background:var(--soft);font-size:calc(9px * var(--text-scale));font-weight:850}.status.good,.status.active,.status.confirmed,.status.paid{background:#eff7f1;color:var(--good)}.status.bad,.status.cancelled,.status.failed{background:#fff2f0;color:var(--bad)}.loginPanel{text-align:center;padding:27px 18px}.loginPanel h2{margin:9px 0 5px;font:600 calc(23px * var(--text-scale)) var(--serif)}.authIcon{width:50px;height:50px;margin:auto;border-radius:50%;display:grid;place-items:center;background:var(--accent-pale);color:var(--accent)}.empty{text-align:center;padding:30px 16px;color:var(--muted)}

    /* Bottom navigation */
    .bottomNav{position:fixed;z-index:60;left:7px;right:7px;bottom:calc(7px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:5px;background:rgba(255,255,255,.97);border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 28px rgba(74,45,25,.10);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.navItem{text-decoration:none;-webkit-tap-highlight-color:transparent;min-width:0;min-height:56px;border:0;background:transparent;border-radius:13px;padding:4px 1px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--muted)}.navItem svg{width:20px;height:20px}.navItem span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:calc(9px * var(--text-scale));font-weight:800}.navItem.active{background:var(--accent-pale);color:var(--accent-dark)}

    /* Modals: only here do images appear */
    .modal{position:fixed;inset:0;z-index:100;display:none;align-items:flex-end;justify-content:center;padding:7px;background:rgba(42,37,33,.42);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.modal.show{display:flex}.modalCard{width:100%;max-height:92vh;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:22px 22px 14px 14px;padding:16px;animation:sheetIn .22s ease both}.modalTop{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.modalTop h2{margin:2px 0 0;font:600 calc(23px * var(--text-scale))/1.3 var(--serif)}.eyebrow{color:var(--accent);font-size:calc(10px * var(--text-scale));font-weight:850;letter-spacing:.12em}.closeBtn{width:38px;height:38px;flex:0 0 38px;border:1px solid var(--line);border-radius:50%;background:#fff;font-size:calc(24px * var(--text-scale));line-height:1}.modalMedia{width:100%;margin:14px 0;border-radius:14px;overflow:hidden;background:var(--soft);aspect-ratio:16/9}.modalMedia img{width:100%;height:100%;object-fit:cover}.detailMeta{display:grid;grid-template-columns:1fr;gap:8px;margin:13px 0}.detailMeta>div{padding:10px;border:1px solid var(--line);border-radius:11px;background:var(--soft);font-size:calc(13px * var(--text-scale))}.detailMeta small{display:block;color:var(--muted);font-size:calc(9px * var(--text-scale));font-weight:800;margin-bottom:2px}.detailDesc{white-space:pre-wrap;line-height:1.7;color:var(--ink);font-size:calc(14px * var(--text-scale))}.bookingPriceInfo{margin:8px 0 0;color:var(--accent-dark);font-size:calc(12px * var(--text-scale));font-weight:700;line-height:1.6}.modalActions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:16px}.modalActions .btn{width:100%}.formgrid{display:grid;grid-template-columns:1fr;gap:10px}.field{min-width:0}.field.full{grid-column:auto}.field label{display:block;margin:0 0 4px 2px;color:var(--muted);font-size:calc(11px * var(--text-scale));font-weight:750}.field input,.field select,.field textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:11px;background:#fff;padding:10px 12px;outline:none}.field input,.field select{height:46px}.field textarea{min-height:88px;resize:vertical}.result{margin-top:11px;padding:11px;border-radius:11px;background:#eff7f1;color:var(--good)}


    /* Payment checkout 3.0 · Airwallex Live */
    .checkoutCard{width:min(860px,100%)}
    .checkoutSession{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;padding:11px;margin:13px 0 16px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,var(--soft),#fff)}
    .checkoutSessionMedia{width:96px;min-height:112px;border-radius:13px;overflow:hidden;background:var(--accent-pale);display:grid;place-items:center;color:var(--accent-dark);font-size:calc(25px * var(--text-scale))}
    .checkoutSessionMedia img{width:100%;height:100%;object-fit:cover}.checkoutSession h3{margin:1px 0 4px;font:600 calc(20px * var(--text-scale))/1.3 var(--serif)}.checkoutSession p{margin:3px 0;color:var(--muted);font-size:calc(11px * var(--text-scale))}
    .checkoutSection{margin-top:17px}.checkoutSectionHead{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:9px}.checkoutSectionHead h3{margin:0;font:600 calc(18px * var(--text-scale)) var(--serif)}.checkoutSectionHead small{color:var(--muted);font-size:calc(10px * var(--text-scale))}
    .checkoutChoices{display:grid;grid-template-columns:1fr;gap:9px}.checkoutChoice{position:relative;width:100%;text-align:left;border:1px solid var(--line);background:#fff;border-radius:15px;padding:12px 13px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.checkoutChoice.active{border-color:var(--accent);background:var(--accent-pale);box-shadow:0 0 0 3px rgba(214,106,34,.08)}.checkoutChoice b{display:block;font-size:calc(13px * var(--text-scale))}.checkoutChoice p{margin:2px 0 0;color:var(--muted);font-size:calc(10px * var(--text-scale))}.checkoutChoice strong{color:var(--accent-dark);font-size:calc(14px * var(--text-scale));white-space:nowrap}.choiceFlag{display:inline-flex;margin-bottom:5px;padding:3px 7px;border-radius:999px;background:#fff3e8;color:var(--accent-dark);font-size:calc(9px * var(--text-scale));font-weight:850}
    .paymentModeGrid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:11px}.paymentModeBtn{position:relative;border:1px solid var(--line);background:#fff;border-radius:15px;padding:13px;text-align:left}.paymentModeBtn.active{border-color:var(--accent);background:var(--accent-pale);box-shadow:0 0 0 3px rgba(214,106,34,.08)}.paymentModeBtn:disabled{opacity:.5;cursor:not-allowed}.paymentModeBtn b{display:block;font-size:calc(13px * var(--text-scale))}.paymentModeBtn small{display:block;margin-top:3px;color:var(--muted);font-size:calc(9px * var(--text-scale));line-height:1.45}.paymentModeTag{display:inline-flex;margin-bottom:7px;padding:3px 7px;border-radius:999px;background:var(--soft);color:var(--accent-dark);font-size:calc(8px * var(--text-scale));font-weight:850}.manualPaymentPanel,.airwallexPaymentPanel{margin-top:9px}.airwallexPaymentPanel{padding:14px;border:1px solid #e9c5aa;border-radius:16px;background:linear-gradient(145deg,#fffaf6,#fff)}.livePaymentBanner{display:flex;align-items:center;justify-content:flex-start;gap:10px;margin-bottom:11px;padding:9px 10px;border-radius:12px;background:#302d2b;color:#fff}.livePaymentBanner b{font-size:calc(11px * var(--text-scale))}.feeBreakdown{display:grid;gap:7px}.feeLine{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:7px;border-bottom:1px solid var(--line);font-size:calc(11px * var(--text-scale))}.feeLine:last-child{padding-bottom:0;border-bottom:0}.feeLine.total{font-weight:850;color:var(--accent-dark)}.airwallexHelp{margin:10px 0 0;color:var(--muted);font-size:calc(10px * var(--text-scale));line-height:1.6}.paymentMethodGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.paymentMethodBtn{border:1px solid var(--line);background:#fff;border-radius:14px;padding:11px;text-align:left}.paymentMethodBtn.active{border-color:var(--accent);background:var(--accent-pale)}.paymentMethodBtn b{display:block;font-size:calc(12px * var(--text-scale))}.paymentMethodBtn small{color:var(--muted);font-size:calc(9px * var(--text-scale))}
    .paymentAccount{margin-top:9px;padding:12px;border:1px solid #efd0b8;border-radius:14px;background:#fff8f1;display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:12px}.paymentAccount small{display:block;color:var(--muted);font-size:calc(9px * var(--text-scale))}.paymentAccount b{display:block;margin:2px 0 8px;font-size:calc(12px * var(--text-scale));word-break:break-word}.paymentAccount img{width:110px;height:110px;object-fit:contain;border-radius:11px;background:#fff;border:1px solid var(--line)}.paymentInstructions{margin:7px 0 0;color:var(--muted);font-size:calc(10px * var(--text-scale));white-space:pre-wrap}
    .paymentFields{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}.paymentFields .field.full{grid-column:1/-1}
    .proofUpload{position:relative;min-height:118px;border:1px dashed #d9baa4;border-radius:15px;background:#fffaf6;display:grid;place-items:center;text-align:center;padding:15px;overflow:hidden}.proofUpload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.proofUpload b{display:block;font-size:calc(12px * var(--text-scale))}.proofUpload small{color:var(--muted);font-size:calc(9px * var(--text-scale))}.proofReady{color:var(--good)}
    .checkoutTotal{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:12px 13px;border-radius:14px;background:#302d2b;color:#fff}.checkoutTotal small{display:block;color:#d9cbc2;font-size:calc(9px * var(--text-scale))}.checkoutTotal b{font-size:calc(17px * var(--text-scale))}.checkoutTotal .btn{min-width:180px}
    @media(min-width:760px){.checkoutChoices{grid-template-columns:repeat(2,minmax(0,1fr))}.checkoutSession{grid-template-columns:140px minmax(0,1fr)}.checkoutSessionMedia{width:140px;min-height:126px}}
    @media(max-width:560px){.paymentModeGrid,.paymentMethodGrid,.paymentFields{grid-template-columns:1fr}.paymentFields .field.full{grid-column:auto}.paymentAccount{grid-template-columns:1fr}.paymentAccount img{width:100%;height:135px}.checkoutTotal{position:sticky;bottom:0;z-index:5;margin-left:-16px;margin-right:-16px;margin-bottom:-16px;border-radius:15px 15px 0 0;padding-bottom:calc(12px + env(safe-area-inset-bottom))}.checkoutTotal .btn{min-width:135px;padding:8px 10px;font-size:calc(11px * var(--text-scale))}}

    .loading{position:fixed;inset:0;z-index:150;background:rgba(255,255,255,.82);display:none;place-items:center}.loading.show{display:grid}.spinner{width:36px;height:36px;border:3px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .75s linear infinite}.toast{position:fixed;left:50%;bottom:84px;z-index:160;max-width:calc(100% - 26px);padding:11px 14px;border-radius:11px;background:#302d2b;color:#fff;opacity:0;pointer-events:none;transform:translateX(-50%) translateY(10px);transition:.2s ease;text-align:center}.toast.show{opacity:1;transform:translateX(-50%)}.toast.error,.toast.bad{background:var(--bad)}

    @keyframes spin{to{transform:rotate(360deg)}}@keyframes cardIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes sheetIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}

    /* Tablet and desktop. Mobile remains the default. */
    @media(min-width:760px){
      body{padding-bottom:104px}.toprow{padding:11px 20px}.logoWrap{width:44px;height:44px;flex-basis:44px}.brandText b{font-size:calc(16px * var(--text-scale))}.brandText small{display:block;font-size:calc(10px * var(--text-scale));color:var(--muted)}.fontBtn{display:inline-flex}.memberBtn{max-width:170px;font-size:calc(13px * var(--text-scale))}
      main{padding:24px 20px 48px}.pageIntro{margin:2px 2px 18px}.pageIntro h1{font-size:calc(27px * var(--text-scale))}
      .filterPanel{padding:16px}.filterHeader{display:flex;align-items:center;justify-content:space-between;gap:16px}.filterHeading{display:block}.filterHeading b{display:block;font:600 calc(19px * var(--text-scale)) var(--serif)}.filterHeading small{display:block;color:var(--muted);font-size:calc(11px * var(--text-scale))}.segments{width:220px}.filters{grid-template-columns:minmax(150px,.8fr) minmax(170px,1fr) minmax(200px,1.2fr)}
      .dateChip,.dateRail.range-7 .dateChip,.dateRail.range-30 .dateChip{flex-basis:70px!important;width:70px!important;min-width:70px!important}
      .dateGroup{display:grid;grid-template-columns:112px minmax(0,1fr);gap:18px;align-items:start;margin-bottom:28px;position:relative}.dateTitle{position:sticky;top:86px;display:block;margin:0;padding:0;border:0;background:transparent;box-shadow:none}.dateBadge{display:flex;min-height:138px;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:15px 10px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(155deg,#fff 0%,var(--soft) 72%,var(--accent-pale) 100%);box-shadow:0 12px 28px rgba(171,83,26,.07);position:relative;overflow:hidden}.dateBadge::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,var(--accent),#efb484)}.dateBadge::after{content:"";position:absolute;right:-22px;bottom:-28px;width:70px;height:70px;border-radius:50%;border:12px solid rgba(214,106,34,.07)}.dateDay{font-size:calc(45px * var(--text-scale));line-height:.95}.dateWeek{font-size:calc(12px * var(--text-scale))}.dateMonth{font-size:calc(10px * var(--text-scale));letter-spacing:.04em}.dateCount{display:block;width:100%;margin-top:8px;text-align:center;padding:5px 7px;background:#fff;border-color:var(--line);font-size:calc(9px * var(--text-scale))}.sessionGrid{grid-template-columns:1fr;gap:16px}.sessionCard{width:100%;max-width:860px;margin-inline:0}.sessionShell{grid-template-columns:152px minmax(0,1fr);gap:16px;padding:15px}.sessionThumb{width:152px;min-height:158px;max-height:174px;border-radius:16px}.sessionBody{padding:1px 0 0}.sessionCard h3{font-size:calc(22px * var(--text-scale))}.subTitle{font-size:calc(12px * var(--text-scale))}.quickMeta{font-size:calc(12px * var(--text-scale));margin:9px 0}.cardBottom{grid-template-columns:1fr;align-items:end;padding-top:9px}.cardActions{justify-self:end;min-width:238px}.cardActions .btn{min-height:40px}
      .packageGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.modal{align-items:center;padding:20px}.modalCard{width:min(720px,100%);max-height:90vh;border-radius:22px;padding:22px}.detailMeta{grid-template-columns:repeat(2,minmax(0,1fr))}.modalActions{display:flex;justify-content:flex-end}.modalActions .btn{width:auto;min-width:120px}.formgrid{grid-template-columns:1fr 1fr}.field.full{grid-column:1/-1}
      .bottomNav{left:50%;right:auto;bottom:max(14px,env(safe-area-inset-bottom));transform:translateX(-50%);width:520px;padding:6px;border-radius:21px}.navItem{min-height:58px}.navItem span{font-size:calc(10px * var(--text-scale))}
    }
    @media(min-width:1060px){.dateGroup{grid-template-columns:126px minmax(0,1fr);gap:22px;margin-bottom:32px}.dateTitle{top:92px}.dateBadge{min-height:150px;border-radius:22px}.dateDay{font-size:calc(50px * var(--text-scale))}.sessionGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sessionCard{max-width:none;margin:0}.sessionCard:only-child{grid-column:1/-1;max-width:900px;justify-self:start;width:100%}.packageGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.pageIntro h1{font-size:calc(27px * var(--text-scale))}.sessionShell{grid-template-columns:160px minmax(0,1fr);gap:17px;padding:16px}.sessionThumb{width:160px;min-height:164px;max-height:180px}.sessionCard h3{font-size:calc(23px * var(--text-scale))}.quickMeta{font-size:calc(12px * var(--text-scale))}.filterPanel{padding:16px 18px}.toprow{max-width:1240px}.pageIntro,.sectionHead{max-width:1220px}}

    /* If Android/Chrome reports a desktop viewport, force the phone layout. */
    html.force-mobile body{padding-bottom:92px}
    html.force-mobile .toprow{padding:9px 12px}
    html.force-mobile .brandText small,html.force-mobile .fontBtn{display:none}
    html.force-mobile .brandText b{font-size:calc(14px * var(--text-scale))}
    html.force-mobile .memberBtn{max-width:104px;font-size:calc(12px * var(--text-scale))}
    html.force-mobile main{padding:14px 12px 34px}
    html.force-mobile .pageIntro h1{font-size:calc(22px * var(--text-scale))}
    html.force-mobile .filterHeader{display:block}
    html.force-mobile .filterHeading{display:none}
    html.force-mobile .segments{width:100%}
    html.force-mobile .filters{grid-template-columns:1fr}
    html.force-mobile .dateGroup{display:block;margin-bottom:24px}.force-mobile .dateTitle{position:static;display:flex;margin:0 0 11px;padding:10px 12px;border:1px solid var(--line);background:linear-gradient(135deg,#fff 0%,var(--soft) 100%);box-shadow:0 5px 16px rgba(171,83,26,.04)}html.force-mobile .dateBadge{display:grid;grid-template-columns:auto auto 1fr;min-height:0;flex-direction:initial;align-items:center;justify-content:initial;gap:9px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}.force-mobile .dateBadge::before,.force-mobile .dateBadge::after{display:none}html.force-mobile .dateDay{font-size:calc(28px * var(--text-scale))}.force-mobile .dateWeek{font-size:calc(11px * var(--text-scale))}.force-mobile .dateMonth{font-size:calc(10px * var(--text-scale))}.force-mobile .dateCount{display:inline-flex;width:auto;margin-top:0;padding:5px 9px;background:var(--accent-pale);border-color:#efd3bf;font-size:calc(10px * var(--text-scale))}
    html.force-mobile .sessionGrid,html.force-mobile .packageGrid{grid-template-columns:1fr}
    html.force-mobile .sessionCard{max-width:none;margin:0}
    html.force-mobile .sessionShell{grid-template-columns:92px minmax(0,1fr);gap:12px;padding:12px}
    html.force-mobile .sessionThumb{width:92px;min-height:118px;max-height:none}
    html.force-mobile .cardBottom{grid-template-columns:1fr}
    html.force-mobile .cardActions{justify-self:stretch;min-width:0}
    html.force-mobile .modal{align-items:flex-end;padding:7px}
    html.force-mobile .modalCard{width:100%;border-radius:22px 22px 14px 14px;padding:16px}
    html.force-mobile .detailMeta,html.force-mobile .formgrid{grid-template-columns:1fr}
    html.force-mobile .field.full{grid-column:auto}
    html.force-mobile .modalActions{display:grid}
    html.force-mobile .modalActions .btn{width:100%}
    html.force-mobile .bottomNav{left:7px;right:7px;bottom:calc(7px + env(safe-area-inset-bottom));transform:none;width:auto}


    @media(max-width:680px){
      .filterPanel{padding:12px;border-radius:18px}.filterToolbar{align-items:flex-start;margin-bottom:10px}.filterSummary b{font-size:calc(15px * var(--text-scale))}.filterSummary small{max-width:150px}.filterTools{gap:5px}.compactFilterBtn{min-height:34px;padding:5px 9px;font-size:calc(10px * var(--text-scale))}.compactFilterBtn .optionalLabel{display:none}.rangeMenu{right:12px;top:55px;width:calc(100% - 24px)}.filterStrip{padding-top:9px}.filterStrip+.filterStrip{margin-top:8px}.stripTop{margin-bottom:6px}.filterChip{min-height:36px;padding:5px 10px}.dateFilterChip{flex-basis:56px;min-height:60px}
    }
    @media(max-width:390px){.brandText b{max-width:110px}.memberBtn{max-width:88px}.navItem span{font-size:calc(8px * var(--text-scale))}.cardActions{grid-template-columns:1fr 1fr}}
    @media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Custom-domain shell */
.omBackBtn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:850;color:var(--accent-dark);min-width:38px;padding:0 10px}
@media(max-width:390px){.omBackBtn{display:none}}

/* Startup and API diagnostics */
.startupState,.apiErrorState{margin:18px 0;padding:22px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow)}
.startupState{display:flex;align-items:center;gap:14px;color:var(--muted)}
.startupPulse{width:15px;height:15px;border:2px solid var(--accent);border-top-color:transparent;border-radius:50%;animation:spin .8s linear infinite;flex:0 0 auto}
.startupState b,.apiErrorState h2{color:var(--ink)}
.apiErrorState h2{margin:0 0 8px;font:600 calc(22px * var(--text-scale))/1.3 var(--serif)}
.apiErrorState p{margin:5px 0;color:var(--muted)}
.apiErrorCode{margin:14px 0;padding:12px;border-radius:12px;background:#fff4ef;border:1px solid #f0cdb9;color:#8c3f1b;font:calc(12px * var(--text-scale))/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;word-break:break-word}
.apiErrorActions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}

/* OM Booking legal footer */
.siteFooter{
  max-width:1240px;
  margin:8px auto 18px;
  padding:22px 16px 10px;
  text-align:center;
  color:var(--muted);
}
.siteFooter::before{
  content:"";
  display:block;
  width:48px;
  height:1px;
  margin:0 auto 16px;
  background:var(--line);
}
.siteFooterName{
  color:var(--ink);
  font-size:calc(11px * var(--text-scale));
  font-weight:850;
  letter-spacing:.035em;
}
.siteFooterOperator{
  margin-top:6px;
  font-size:calc(10px * var(--text-scale));
  line-height:1.7;
}
.siteFooterCopyright{
  margin-top:5px;
  font-size:calc(9px * var(--text-scale));
  line-height:1.5;
  color:#968d86;
}
@media(max-width:560px){
  .siteFooter{
    margin-top:2px;
    padding:18px 18px 8px;
  }
  .siteFooterName{font-size:calc(10px * var(--text-scale))}
  .siteFooterOperator{font-size:calc(9px * var(--text-scale))}
  .siteFooterCopyright{font-size:calc(8px * var(--text-scale))}
}

/* 3.3 Mobile readability and floating navigation */
.fontControl{
  display:flex;
  align-items:center;
  overflow:hidden;
  height:38px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.76);
  box-shadow:0 4px 14px rgba(74,45,25,.05);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.fontControl .fontBtn{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:35px;
  height:36px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--ink);
  font-size:calc(12px * var(--text-scale));
  font-weight:850;
  line-height:1;
}
.fontControl .fontBtn + .fontBtn{border-left:1px solid var(--line)}
.fontControl .fontBtn:active{
  background:var(--accent-pale);
  color:var(--accent-dark);
}

@media(max-width:759px){
  :root{--fs:calc(17px * var(--text-scale))}
  body{padding-bottom:112px}
  .toprow{padding:9px 10px;gap:6px}
  .headtools{gap:4px}
  .omBackBtn{display:none!important}
  .brand{gap:7px}
  .logoWrap{width:38px;height:38px;flex-basis:38px}
  .brandText b{
    max-width:112px;
    font-size:calc(15px * var(--text-scale));
  }
  .fontControl{height:36px}
  .fontControl .fontBtn{width:32px;height:34px}
  .iconBtn,.memberBtn{height:36px}
  #langBtn{min-width:36px;padding:0 8px}
  .memberBtn{
    max-width:84px;
    min-width:0;
    padding:0 8px;
    font-size:calc(11px * var(--text-scale));
  }

  main{padding:16px 13px 42px}
  .pageIntro h1{font-size:calc(24px * var(--text-scale))}
  .pageIntro .pageCode{font-size:calc(10px * var(--text-scale))}
  .filterSummary b{font-size:calc(17px * var(--text-scale))}
  .filterSummary small{font-size:calc(11px * var(--text-scale))}
  .stripLabel{font-size:calc(11px * var(--text-scale))}
  .filterChip{
    min-height:42px;
    padding:7px 12px;
    font-size:calc(12px * var(--text-scale));
  }
  .dateFilterChip{
    flex-basis:62px;
    min-height:66px;
  }

  .sessionShell{
    grid-template-columns:102px minmax(0,1fr);
    gap:13px;
    padding:14px;
  }
  .sessionThumb{
    width:102px;
    min-height:128px;
  }
  .sessionCard h3{font-size:calc(20px * var(--text-scale))}
  .subTitle{
    font-size:calc(12px * var(--text-scale));
    white-space:normal;
  }
  .quickMeta{font-size:calc(13px * var(--text-scale))}
  .typeBadge,.availability,.miniHint{font-size:calc(11px * var(--text-scale))}
  .price{font-size:calc(19px * var(--text-scale))}
  .btn{
    min-height:46px;
    font-size:calc(14px * var(--text-scale));
  }
  .btn.small{min-height:44px;font-size:calc(13px * var(--text-scale))}
  .segment{min-height:45px;font-size:calc(14px * var(--text-scale))}
  .filters input,.filters select,
  .field input,.field select{
    min-height:48px;
    font-size:calc(16px * var(--text-scale));
  }
  .field textarea{font-size:calc(16px * var(--text-scale))}
  .field label{font-size:calc(12px * var(--text-scale))}
  .modalCard{padding:18px}
  .detailDesc{font-size:calc(15px * var(--text-scale))}
  .checkoutChoice b,.paymentModeBtn b{
    font-size:calc(14px * var(--text-scale))
  }
  .checkoutChoice p,.paymentModeBtn small,
  .airwallexHelp,.paymentInstructions{
    font-size:calc(11px * var(--text-scale))
  }
  .feeLine{font-size:calc(12px * var(--text-scale))}

  .bottomNav{
    left:10px;
    right:10px;
    bottom:calc(9px + env(safe-area-inset-bottom));
    width:auto;
    transform:none;
    gap:6px;
    padding:7px;
    border:1px solid rgba(185,104,50,.22);
    border-radius:22px;
    background:rgba(250,247,242,.52);
    box-shadow:0 18px 42px rgba(43,32,26,.16);
    backdrop-filter:blur(20px) saturate(135%);
    -webkit-backdrop-filter:blur(20px) saturate(135%);
  }
  .navItem{
    min-height:64px;
    padding:7px 3px 6px;
    gap:4px;
    border:1px solid rgba(185,104,50,.16);
    border-radius:16px;
    background:rgba(255,255,255,.58);
    box-shadow:0 5px 14px rgba(43,32,26,.055);
    color:#655d58;
  }
  .navItem svg{width:22px;height:22px}
  .navItem span{
    display:-webkit-box;
    max-width:100%;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    white-space:normal;
    text-align:center;
    text-overflow:ellipsis;
    font-size:calc(10px * var(--text-scale));
    line-height:1.12;
  }
  .navItem.active{
    border-color:rgba(185,104,50,.35);
    background:rgba(255,240,228,.92);
    color:var(--accent-dark);
    box-shadow:0 7px 18px rgba(185,104,50,.13);
  }

  .siteFooter{
    margin-bottom:18px;
    padding-left:22px;
    padding-right:22px;
  }
  .siteFooterName{font-size:calc(12px * var(--text-scale))}
  .siteFooterOperator{font-size:calc(11px * var(--text-scale))}
  .siteFooterCopyright{font-size:calc(10px * var(--text-scale))}
}

html.force-mobile body{padding-bottom:112px}
html.force-mobile .omBackBtn{display:none!important}
html.force-mobile .fontControl{display:flex}
html.force-mobile .bottomNav{
  left:10px;
  right:10px;
  bottom:calc(9px + env(safe-area-inset-bottom));
  width:auto;
  transform:none;
  gap:6px;
  padding:7px;
  border-radius:22px;
  background:rgba(250,247,242,.52);
}
html.force-mobile .navItem{
  min-height:64px;
  border:1px solid rgba(185,104,50,.16);
  border-radius:16px;
  background:rgba(255,255,255,.58);
}
html.force-mobile .navItem.active{background:rgba(255,240,228,.92)}

@media(max-width:390px){
  .brandText b{max-width:86px}
  .memberBtn{
    width:38px;
    min-width:38px;
    max-width:38px;
    padding:0;
    justify-content:center;
  }
  .memberBtn span{display:none}
}


/* 3.3.1 Airwallex mobile click reliability */
.paymentModeBtn{
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:rgba(185,104,50,.12);
  pointer-events:auto;
}
.paymentModeBtn:not(:disabled):active{
  transform:translateY(1px);
}
.paymentModeBtn:disabled{
  pointer-events:none;
}
@media(max-width:759px){
  .paymentModeBtn{
    min-height:92px;
    padding:14px;
  }
}


/* 3.4 Member dashboard, booking filters and coupons */
.siteFooterCompact{font-size:calc(10px * var(--text-scale));line-height:1.6;color:#8d827b}
.memberSummary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.memberStat{padding:14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.78)}
.memberStat b{display:block;font-size:calc(22px * var(--text-scale));color:var(--ink)}
.memberStat span{display:block;margin-top:2px;font-size:calc(11px * var(--text-scale));color:var(--muted)}
.accountQuickActions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 20px}
.myFilterBar{display:flex;gap:7px;overflow:auto;padding:3px 0 10px;scrollbar-width:none}
.myFilterBar::-webkit-scrollbar{display:none}
.myFilterChip{flex:0 0 auto;min-height:39px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-size:calc(11px * var(--text-scale));font-weight:750;cursor:pointer}
.myFilterChip.active{background:var(--accent-pale);border-color:#dbad8d;color:var(--accent-dark)}
.bookingList{display:grid;gap:10px}.bookingItem{margin:0}
.bookingExtraActions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.loadMoreWrap{text-align:center;margin:14px 0 4px}
.couponPanel{margin:12px 0;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fffaf5}
.couponHead b{display:block;font-size:calc(14px * var(--text-scale))}.couponHead small{display:block;color:var(--muted);font-size:calc(10px * var(--text-scale));margin-top:2px}
.couponRow{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;margin-top:10px}
.couponRow input{width:100%;min-height:44px;border:1px solid var(--line);border-radius:11px;padding:10px 12px;text-transform:uppercase;background:#fff;font-size:calc(15px * var(--text-scale))}
.couponResult{min-height:18px;margin-top:7px;font-size:calc(11px * var(--text-scale));color:var(--good)}
.couponResult.error{color:var(--bad)}
.feeLine.discount{color:var(--good)}
@media(max-width:600px){.memberSummary{grid-template-columns:repeat(3,1fr);gap:6px}.memberStat{padding:11px 8px}.memberStat b{font-size:calc(19px * var(--text-scale))}.memberStat span{font-size:calc(9px * var(--text-scale))}.couponRow{grid-template-columns:1fr auto}.couponRow #couponRemoveBtn{grid-column:1/-1}.bookingActions{align-items:flex-start}.bookingExtraActions{width:100%;justify-content:flex-start}}


/* 3.4.2 clearer public online-payment wording */
.paymentModeBtn b{
  line-height:1.45;
  white-space:normal;
}
@media(max-width:759px){
  .paymentModeGrid{
    grid-template-columns:1fr;
  }
  .paymentModeBtn{
    min-height:auto;
    padding:15px;
  }
  .paymentModeBtn b{
    font-size:calc(14px * var(--text-scale));
  }
  .paymentModeBtn small{
    font-size:calc(11px * var(--text-scale));
  }
}


/* 3.5 performance: defer off-screen layout and painting */
.dateGroup{
  content-visibility:auto;
  contain-intrinsic-size:520px;
}
.sessionCard,
.packageCard,
.bookingItem{
  contain:layout paint;
}
.sessionThumb img,
.modalMedia img,
.checkoutSessionMedia img,
.paymentAccount img,
.logoWrap img{
  content-visibility:auto;
}
@media(max-width:759px){
  .dateGroup{
    contain-intrinsic-size:760px;
  }
}



/* 3.7 direct pass purchase experience */
.passPurchaseIntro{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:0 0 22px;
  padding:20px;
  border:1px solid rgba(185,104,50,.22);
  border-radius:22px;
  background:linear-gradient(135deg,rgba(255,244,235,.94),rgba(255,255,255,.9));
  box-shadow:0 12px 32px rgba(76,48,31,.06);
}
.passPurchaseIntro h2{
  margin:5px 0;
  font-size:calc(20px * var(--text-scale));
}
.passPurchaseIntro p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}
.passPurchaseEyebrow,
.directBuyBadge{
  display:inline-flex;
  width:max-content;
  padding:5px 8px;
  border-radius:999px;
  background:var(--accent-pale);
  color:var(--accent-dark);
  font-size:calc(10px * var(--text-scale));
  font-weight:850;
  letter-spacing:.06em;
}
.packageCard{height:100%}
.packageBody{
  display:flex;
  height:100%;
  flex-direction:column;
}
.creditBubble{
  display:flex;
  min-width:58px;
  min-height:58px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.creditBubble b{
  font-size:calc(20px * var(--text-scale));
  line-height:1;
}
.creditBubble small{
  margin-top:3px;
  font-size:calc(9px * var(--text-scale));
}
.packagePriceArea{
  margin-top:auto;
  padding-top:16px;
}
.packagePriceArea small{
  display:block;
  max-width:270px;
  margin-top:4px;
  color:var(--muted);
  font-size:calc(10px * var(--text-scale));
  line-height:1.5;
}
.passCardActions{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:8px;
  margin-top:14px;
}
.passCardActions .btn{width:100%}
.directPurchaseNote,
.directCheckoutNotice{
  display:flex;
  flex-direction:column;
  gap:5px;
  margin-top:16px;
  padding:14px 15px;
  border:1px solid rgba(185,104,50,.18);
  border-radius:16px;
  background:rgba(255,244,235,.74);
}
.directPurchaseNote b,
.directCheckoutNotice b{color:var(--accent-dark)}
.directPurchaseNote span,
.directCheckoutNotice span{
  color:var(--muted);
  font-size:calc(11px * var(--text-scale));
  line-height:1.6;
}
.directPackageCheckoutCard{
  width:min(680px,calc(100vw - 24px));
}
.directCheckoutSummary{
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  gap:16px;
  align-items:start;
}
.directCheckoutImage{
  overflow:hidden;
  min-height:150px;
  border-radius:18px;
  background:var(--paper-deep);
}
.directCheckoutImage img{
  width:100%;
  height:100%;
  min-height:150px;
  object-fit:cover;
}
.directCheckoutInfo p{
  margin:12px 0 0;
  color:var(--muted);
  line-height:1.7;
}
.directCheckoutStats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-bottom:12px;
}
.directCheckoutStats div{
  padding:12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.directCheckoutStats small{
  display:block;
  margin-bottom:5px;
  color:var(--muted);
}
.directCheckoutFlow{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:18px 0;
}
.directCheckoutFlow div{
  display:flex;
  min-height:86px;
  flex-direction:column;
  gap:8px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
}
.directCheckoutFlow span{
  display:flex;
  width:25px;
  height:25px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--accent-pale);
  color:var(--accent-dark);
  font-size:calc(11px * var(--text-scale));
  font-weight:900;
}
.directCheckoutFlow b{
  font-size:calc(12px * var(--text-scale));
  line-height:1.45;
}
.directPackageBreakdown{margin-top:0}
.directCheckoutActions{
  position:sticky;
  bottom:-18px;
  z-index:2;
  margin:18px -18px -18px;
  padding:14px 18px calc(14px + env(safe-area-inset-bottom));
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.pendingHolding{
  border-style:dashed;
  background:rgba(255,244,235,.45);
}

@media(max-width:759px){
  .passPurchaseIntro{
    align-items:stretch;
    flex-direction:column;
    padding:16px;
  }
  .passPurchaseIntro .btn{width:100%}
  .passCardActions{grid-template-columns:1fr}
  .directCheckoutSummary{grid-template-columns:1fr}
  .directCheckoutImage{max-height:190px}
  .directCheckoutFlow{grid-template-columns:1fr}
  .directCheckoutFlow div{
    min-height:0;
    flex-direction:row;
    align-items:center;
  }
  .directCheckoutActions{
    display:grid;
    grid-template-columns:1fr;
  }
  .directCheckoutActions .btn{width:100%}
}


/* 3.9 direct pass payment choice */
.directPaymentSection{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--line);
}
.sectionHead.compact{
  margin-bottom:12px;
}
.sectionHead.compact h3{
  margin:3px 0 0;
  font-size:calc(18px * var(--text-scale));
}
.directPaymentModeGrid{
  margin-bottom:16px;
}
.directManualPrice{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 14px;
  padding:14px 16px;
  border:1px solid rgba(185,104,50,.24);
  border-radius:16px;
  background:rgba(255,244,235,.7);
}
.directManualPrice span{
  color:var(--muted);
  font-size:calc(12px * var(--text-scale));
}
.directManualPrice strong{
  color:var(--accent-dark);
  font-size:calc(21px * var(--text-scale));
}
.directPaymentFields{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}
.directProofUpload{
  margin-top:12px;
}
.directPaymentSection .paymentAccount{
  margin-top:10px;
}
.directPaymentSection .paymentMethodGrid{
  margin-top:0;
}

@media(max-width:759px){
  .directPaymentModeGrid{
    grid-template-columns:1fr;
  }
  .directPaymentFields{
    grid-template-columns:1fr;
  }
  .directManualPrice{
    align-items:flex-start;
    flex-direction:column;
    gap:5px;
  }
}

/* 4.3 monthly subscriptions */
.packageCard.monthlyPass{border-color:#d9a77d;background:linear-gradient(180deg,#fffdf9,#fff7ef)}
.packageCard .priceBig small{font-size:.42em;color:var(--muted)}
.subscriptionList{display:grid;gap:10px;margin-bottom:22px}.subscriptionCard{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px}.subscriptionCard h3{margin:5px 0}.subscriptionCard p,.subscriptionCard small{margin:0;color:var(--muted)}
@media(max-width:680px){.subscriptionCard{align-items:flex-start;flex-direction:column}.subscriptionCard .btn{width:100%}}
