:root{--bg:#ffffff;--card:#ffffff;--muted:#7a6c63;--text:#3b3029;--line:#e0d2c5;--accent:#c08f73;--radius:22px;--shadow:0 1px 2px rgba(0,0,0,.04),0 6px 18px rgba(0,0,0,.06);--hero-bg:#f6ede2}
    *{box-sizing:border-box}
    html,body{height:100%}
    body{margin:0;background:var(--bg);color:var(--text);font:16px/1.45 ui-sans-serif,system-ui}
    .app{min-height:100dvh;padding-bottom:92px}
    .app-loader{position:fixed;inset:0;z-index:220;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,rgba(248,241,233,.95),rgba(238,224,210,.9));opacity:0;pointer-events:none;transition:opacity .25s ease}
    .app-loader.is-visible{opacity:1;pointer-events:auto}
    .app-loader__panel{background:rgba(255,255,255,.95);border:1px solid var(--line);border-radius:24px;padding:20px 22px;box-shadow:0 12px 30px rgba(0,0,0,.12);display:flex;flex-direction:column;align-items:center;gap:12px;min-width:260px;max-width:320px;text-align:center}
    .app-loader__logo{width:140px;height:auto;object-fit:contain;filter:drop-shadow(0 8px 16px rgba(0,0,0,.08))}
    .app-loader__spinner{width:46px;height:46px;border-radius:999px;border:3px solid rgba(192,143,115,.32);border-top-color:var(--accent);animation:app-loader-spin 1s linear infinite}
    .app-loader__text{font-weight:700;color:var(--text)}
    .app-loader__progress{width:100%;height:6px;background:rgba(0,0,0,.06);border-radius:999px;overflow:hidden}
    .app-loader__progress-bar{display:block;height:100%;width:0;background:linear-gradient(135deg,#c08f73,#f2d7c3);transition:width .35s ease}
    @keyframes app-loader-spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}

    /* Shared blocks */
    .section{padding:0 16px 16px}
    h1{margin:12px 16px 8px;font-size:24px}
    h2{margin:8px 0 12px;font-size:22px}
    .card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:14px;display:flex;gap:14px;align-items:flex-start;transition:border-color .2s ease,box-shadow .2s ease}
    .card+.card{margin-top:10px}
    .card.card-waiting{border-color:#fbbf24;box-shadow:0 4px 18px rgba(251,191,36,.35)}
    .avatar{height:40px;width:40px;border-radius:999px;background:#f1f2f4;display:grid;place-items:center;color:#9aa0a6;font-size:18px}
    .avatar svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
    .btn{border:0;border-radius:14px;padding:10px 14px;background:#e8d9cf;color:#3b3029;font-weight:600;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1.2;appearance:none}

    /* Book header */
    .studio-bar{position:sticky;top:0;margin:16px 12px 6px;padding:18px 16px 10px;background:#fff;border-radius:24px;border:1px solid var(--line);box-shadow:var(--shadow);display:flex;flex-direction:column;gap:6px;z-index:40}
    .header-card{margin:0 12px 16px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding-top:6px}
    .header-card>.section{padding-left:12px;padding-right:12px}
    #screen-book .section{padding:0 10px 10px}
    #screen-book .block-banner{margin:0 10px 8px}
    #screen-book .studio-bar{margin:12px 10px 4px;padding:14px 12px 8px;gap:4px}
    #screen-book .dates{gap:10px;padding:10px 10px 12px}
    #screen-book .schedule-tabs{margin:0 10px 8px}
    #screen-book .header-card{margin:0 10px 12px;border-radius:20px}
    #screen-book .header-card>.section{padding-left:10px;padding-right:10px;padding-bottom:12px}
    #screen-book .class-filters{gap:8px;margin:8px 0}
    #screen-book .class-list .card{padding:12px}
    #screen-book .class-list .card+.card{margin-top:8px}
    .studio{position:relative;display:flex;align-items:center;gap:8px;font-weight:700;font-size:20px}
    .studio-current{background:transparent;border:0;font:inherit;color:inherit;display:flex;align-items:center;gap:8px;padding:0;cursor:pointer}
    .studio-pin{width:18px;height:18px;display:inline-block;flex-shrink:0;background:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s7-6.3 7-11.2C19 6 15.9 3 12 3S5 6 5 9.8C5 14.7 12 21 12 21Z' stroke='%23111b2c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='9.3' r='2.4' stroke='%23111b2c' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat}
    .studio-menu{position:absolute;top:calc(100% + 10px);left:0;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);display:none;flex-direction:column;min-width:240px;overflow:hidden;z-index:30}
    .studio.open .studio-menu{display:flex}
    .studio-option{background:transparent;border:0;text-align:left;padding:12px 18px;font:600 16px/1.4 ui-sans-serif,system-ui;color:var(--text);cursor:pointer}
    .studio-option.active{background:#fff;color:var(--accent);box-shadow:inset 0 0 0 1px rgba(192,143,115,.4)}
    .studio-option+.studio-option{border-top:1px solid var(--line)}
    .chev{display:inline-block;transition:transform .2s ease}
    .studio.open .chev{transform:rotate(180deg)}
    .sub{color:var(--muted);font-weight:600;margin-top:6px}
    .terms-btn{width:100%;margin-top:8px;border-radius:18px;background:#c08f73;color:#fff;font-weight:700;padding:12px 16px;border:0;cursor:pointer}
    .terms-btn:hover{background:#ae7f63}

    /* Date pills */
.dates{display:flex;gap:14px;overflow:auto;padding:14px 16px 16px;scroll-snap-type:x proximity}
    .dates::-webkit-scrollbar{display:none}
    .pill{scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:6px;background:transparent;border:0;cursor:pointer}
    .dot{height:48px;width:48px;border-radius:999px;display:grid;place-items:center;font-weight:600;background:#fff;border:1px solid var(--line)}
    .pill.active .dot{background:var(--accent);color:#fff}
    .pill span{font-size:12px;color:var(--muted)}
    .pill.active span{color:var(--text);font-weight:600}
    .class-filters{display:flex;gap:10px;margin:12px 0}
    .class-filter-btn{flex:1 1 auto;border:1px solid var(--line);border-radius:14px;padding:10px 14px;background:#fff;font-weight:600;color:var(--muted);cursor:pointer;transition:all .2s ease}
    .class-filter-btn.active{background:var(--accent);color:#fff;border-color:var(--accent)}
    .title{font-weight:700}
    .title-zh{display:block}
    .title-en{display:block;font-size:14px;color:var(--muted);font-weight:600;margin-top:2px}
    .class-subtitle{color:var(--muted);font-weight:600;margin-top:2px}
    .meta,.coach{font-size:14px}
    .meta{color:var(--muted);margin-top:4px}
    .coach{margin-top:10px;font-weight:600;color:#4b5563}
    .coach.is-off{color:#b91c1c}
    .class-extra{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
    .class-tag{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600}
    .class-tag.seats{background:#f3f4f6;color:#374151}
    .class-tag.seats.is-formed{background:#dcfce7;color:#166534}
    .class-tag.seats.is-pending{background:#fee2e2;color:#b91c1c}
    .class-tag.status{background:#f4dfd2;color:#a86646}
    .class-tag.status.is-open{background:#f0eadc;color:#7a6c63}
    .class-tag.status.is-waitlist{background:#f5d8c0;color:#a86646}
    .class-tag.status.is-full{background:#f5bfbf;color:#a34545}
    .class-tag.status.is-formed{background:#e9eed8;color:#6a7a45}
    .class-tag.status.is-pending{background:#f5d8c0;color:#a86646}
    .booked-divider{margin:18px 4px 6px;font-size:13px;font-weight:700;color:#a16846;text-transform:uppercase;letter-spacing:.08em}
    .class-service-list{display:flex;flex-direction:column;gap:12px}
    .class-service-item{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,#fff,#f9f5ef);box-shadow:0 10px 26px rgba(0,0,0,.05)}
    .class-service-label{font-weight:700;color:#2f241e;letter-spacing:.01em}
    .service-link{border:0;background:transparent;color:#c08f73;font-weight:700;cursor:pointer;padding:6px 10px;border-radius:999px;text-decoration:none;transition:all .2s ease}
    .service-link:hover{background:rgba(192,143,115,.12);box-shadow:0 6px 14px rgba(0,0,0,.08)}
    .service-panels{display:flex;flex-direction:column;gap:12px;margin-top:12px}
    .service-panel{border:1px solid var(--line);border-radius:16px;background:#fff;padding:14px 16px;box-shadow:0 12px 28px rgba(0,0,0,.06)}
    .service-panel .title{margin:0 0 6px;font-size:17px;font-weight:700;color:#2f241e;letter-spacing:.01em}
    .service-panel .meta{margin:0;color:#6b7280;line-height:1.6}
    .service-panel .service-list{margin:4px 0 0 18px;padding:0;color:#4b5563;line-height:1.6;font-weight:600;list-style:disc}
    .service-tab-row{display:flex;gap:8px;margin:8px 0 6px}
    .service-tab{flex:1 1 0;border:1px solid var(--line);background:#fff;border-radius:12px;padding:8px 10px;font-weight:700;color:#6b7280;cursor:pointer;transition:all .2s ease}
    .service-tab.active{background:#c08f73;color:#fff;border-color:#c08f73;box-shadow:0 6px 16px rgba(192,143,115,.2)}
    .service-tab-panel{margin-top:4px}
    .offers-toolbar{display:flex;align-items:center;justify-content:space-between;padding:12px 16px 0 16px;gap:16px;flex-wrap:wrap}
    .offers-toolbar-header{flex:1 1 auto;min-width:260px}
    .offers-toolbar-topline{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
    .offers-toolbar-topline .btn{padding:8px 16px}
    .offers-toolbar h1{margin:0;font-size:24px}
    .offers-toolbar-meta{font-size:13px;color:#8a8f9c;margin-top:4px}
    .offers-toolbar-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
    .offers-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:18px}
    .offers-status{margin-top:16px;text-align:center;color:#8a8f9c;font-weight:600;font-size:14px;min-height:20px}
    .offer-card{background:transparent;border:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column;gap:10px;padding:4px}
    .offer-img{position:relative;aspect-ratio:1/1;border-radius:28px;background:linear-gradient(135deg,#f1f5f9,#e2e8f0);overflow:hidden;box-shadow:0 12px 26px rgba(15,23,42,.12)}
    .offer-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
    .offer-tag{position:absolute;top:10px;left:10px;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.92);font-size:12px;font-weight:600;color:#0f172a}
    .offer-body{padding:0;display:flex;flex-direction:column;gap:4px}
    .offer-name{font-weight:700;font-size:15px;line-height:1.4;color:#111827}
    .offer-price{font-weight:800;color:#0f172a;margin-top:2px}
    .offer-meta{font-size:12px;color:#6b7280}
    .btn-secondary{background:#fff;border:1px solid var(--line);color:#3b3029}
    .offer-product-header{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;margin-bottom:12px}
    .offer-product-header button{border:0;background:transparent;font-size:14px;font-weight:600;color:#6b7280;display:flex;align-items:center;gap:4px;cursor:pointer;margin-left:auto}
    .offer-product-hero{margin:0 0 16px;border-radius:28px;overflow:hidden;box-shadow:0 12px 35px rgba(0,0,0,.12)}
    .offer-product-hero img{display:block;width:100%;height:auto}
    .offer-product-card{display:flex;flex-direction:column;gap:10px}
    .offer-product-tag{font-size:13px;font-weight:700;color:#0f172a;background:#f1f5f9;display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;width:max-content}
    .offer-product-name{font-size:20px;font-weight:800;color:#111827;line-height:1.4}
    .offer-product-meta{font-size:14px;color:#6b7280;margin-top:-4px}
    .offer-product-price{font-size:24px;font-weight:800;color:#0f172a}
    .offer-product-desc{margin:8px 0 0;font-size:14px;color:#4b5563;line-height:1.6}
    .offer-product-cta{width:100%;margin-top:18px;background:#38bdf8;color:#0f172a;font-weight:800;font-size:16px;text-align:center;text-decoration:none;display:inline-block}
    @media (max-width:480px){
      .brand-logo{width:60vw;max-width:200px;margin:16px auto}
      .offers-toolbar{flex-direction:column;align-items:flex-start}
      .offers-toolbar-actions{width:100%;justify-content:space-between}
      .offers-toolbar-topline{width:100%;justify-content:space-between}
      .offers-toolbar-topline h1{flex:1}
      .offers-toolbar-topline .btn{margin-left:auto;align-self:flex-end}
    }
    .class-actions{margin-top:12px}
    .btn-inline-book{width:100%;border:0;border-radius:14px;padding:12px 14px;background:#2f9b6f;color:#fff;font-weight:700;cursor:pointer;transition:background .2s ease,opacity .2s ease}
    .btn-inline-book:hover:not(:disabled){background:#26815a}
    .btn-inline-book:disabled{opacity:1;background:#d1d5db;color:#6b7280;cursor:not-allowed}

    /* Gift cards */
    .gift{display:flex;gap:12px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:14px}
    .discount{display:inline-block;font-size:11px;text-transform:uppercase;background:#f3f4f6;color:#4b5563;border-radius:999px;padding:4px 8px;margin-bottom:4px}
    .gift-title{font-weight:700}
    .gift-sub{color:var(--muted);font-size:14px;margin-top:4px}
    .see-all{width:100%;margin-top:12px}

    /* Profile */
    .profile-card{margin:16px;background:var(--card);border:1px solid var(--line);border-radius:20px;padding:16px;display:flex;gap:12px;align-items:center}
    .pfp{height:56px;width:56px;border-radius:999px;background:#e5e7eb;display:grid;place-items:center}
    .pfp svg{width:32px;height:32px;stroke:#4b5563;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}

    /* More list */
    .more-panel{margin:16px;padding:4px 0;background:transparent;border:0;border-radius:0;box-shadow:none}
    .more-row{display:flex;align-items:center;gap:14px;padding:16px 20px;border-bottom:1px solid rgba(192,143,115,.18);cursor:pointer}
    .more-row:last-child{border-bottom:none}
    .more-row.is-open .more-arrow{transform:rotate(90deg)}
    .more-row.more-row--disabled{opacity:.55;cursor:not-allowed;pointer-events:none}
    .more-left{display:flex;align-items:center;gap:14px;flex:1}
    .more-copy{display:flex;flex-direction:column;gap:2px}
    .more-label{font-size:13px;font-weight:600;color:#8f7e71;letter-spacing:.02em}
    .more-action{display:none}
    .more-action.is-hot{display:none}
    .more-arrow{color:#c1b2a6;font-size:20px;font-weight:700}
    .more-note{margin-left:auto;font-weight:700;color:#b45309;font-size:13px}
    .more-details{margin:0 16px 0;padding:16px 20px;line-height:1.6;color:var(--text);display:none;background:transparent;border:0;border-radius:0}
    .more-details.open{display:block;margin-bottom:16px}
    .more-lang{font-size:13px;font-weight:600;color:#8f7e71}
    .more-lang-badge{display:inline-flex;align-items:center;gap:6px;background:#f1f5f9;color:#0f172a;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700}
    .lang-options{display:flex;gap:12px}
    .lang-btn{flex:1;border:1px solid var(--line);border-radius:14px;padding:12px;font-weight:700;background:#fff;color:#3b3029;cursor:pointer}
    .lang-btn.active{border-color:#c08f73;background:#fff;color:#a3542a}
    .history-tabs{display:flex;gap:12px;margin-top:16px;background:#fff;border:1px solid rgba(192,143,115,.3);padding:6px;border-radius:20px;box-shadow:0 8px 22px rgba(0,0,0,.06)}
    .history-tab{flex:1;border:0;border-radius:16px;padding:12px;font-weight:800;background:transparent;color:#8c6a59;cursor:pointer;transition:all .2s ease;letter-spacing:.02em}
    .history-tab:hover{background:rgba(192,143,115,.08)}
    .history-tab.active{background:#c08f73;color:#fff;box-shadow:0 10px 20px rgba(192,143,115,.25)}
.history-card-list{margin-top:16px;display:flex;flex-direction:column;gap:0;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;background:#fff;width:100%}
.history-card{border-bottom:1px solid #e5e7eb;padding:14px 16px;display:flex;flex-direction:column;gap:6px}
.history-card:last-child{border-bottom:0}
.history-card-title{font-weight:800;font-size:16px;color:#111827}
.history-card-meta{color:#6b7280;font-size:14px;line-height:1.5}
.history-card-extra{color:#6b7280;font-size:12px}
    .history-empty{margin-top:8px;font-size:14px;color:#6b7280}
.more-social{margin:24px 16px 32px;display:flex;gap:12px;flex-wrap:wrap}
.social-pill{flex:1 1 30%;min-width:180px;border:1px solid var(--line);border-radius:18px;padding:14px 18px;background:#fff;display:flex;align-items:center;justify-content:space-between;font-weight:700;color:#3b3029;text-decoration:none;box-shadow:0 8px 20px rgba(0,0,0,.08);transition:transform .2s ease,box-shadow .2s ease}
.social-pill:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(0,0,0,.12)}
    .social-pill-icon svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
    .terms-contact{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}
    .contact-btn{flex:1 1 200px;text-align:center;border:1px solid var(--line);border-radius:16px;padding:10px 14px;font-weight:700;color:#a05428;text-decoration:none;background:#fff;box-shadow:0 6px 16px rgba(0,0,0,.08)}
    .contact-btn:hover{background:#f5f5f5}
    /* Login */
    .login-card{display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid #eadfd2;border-radius:26px;padding:24px;box-shadow:none}
    .login-card label{font-weight:600;color:#6b5649;font-size:14px}
    .login-card input{border:1px solid #e6d4c6;border-radius:16px;padding:12px 14px;font:600 14px/1.4 ui-sans-serif,system-ui;color:#3b3029;background:#fff}
    .login-card input:focus{outline:2px solid #c08f73;outline-offset:2px}
    .login-card button{background:#c28c6d;color:#fff;font-weight:700;border:0;border-radius:18px;padding:12px 16px;cursor:pointer;box-shadow:none}
    .login-card button:disabled{background:#d9b9a6;cursor:not-allowed;box-shadow:none}
    .login-hint{margin:0;font-size:13px;color:#6b7280}

    /* Screens */
    .screen{display:none}
    .screen.active{display:block}

    /* Bottom tab */
    .tabbar{position:fixed;inset-inline:0;bottom:0;background:rgba(255,255,255,.25);border-top:1px solid rgba(255,255,255,.3);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 -10px 30px rgba(0,0,0,.06)}
    .tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;padding:10px 18px;font-size:12px}
    .tab{display:flex;flex-direction:column;align-items:center;gap:6px;color:#6d727d;cursor:pointer;font-weight:600;transition:color .2s ease}
    .tab.active{color:#0f1b2c}
    .tab-icon{width:34px;height:34px;display:grid;place-items:center}
    .tab-icon svg{width:26px;height:26px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
    .tab-label{font-size:12px;color:inherit}
    @supports(padding:max(0px)){.tabbar{padding-bottom:max(8px,env(safe-area-inset-bottom))}}

    /* Modal */
.modal{position:fixed;inset:0;background:rgba(0,0,0,.45);display:none;align-items:flex-end;z-index:50}
.modal.open{display:flex}
.sheet{background:#fff;border-top-left-radius:22px;border-top-right-radius:22px;box-shadow:0 -8px 32px rgba(0,0,0,.2);width:100%;padding:16px 16px 20px;max-height:75dvh;overflow:auto}
    .sheet h3{margin:4px 0 8px;font-size:20px}
    .kv{display:grid;grid-template-columns:88px 1fr;gap:6px;margin:12px 0;color:#111827}
    .kv div:nth-child(odd){color:#6b7280}
    .actions{display:flex;gap:10px;margin-top:12px;margin-bottom:10px}
    .btn-primary{background:#c08f73;color:#fff;font-weight:700;border:0;border-radius:16px;padding:14px 18px;flex:1;font-size:16px;min-height:52px}
    .btn-outline{background:#fff;color:#c08f73;font-weight:700;border:1px solid #c08f73;border-radius:14px;padding:12px 16px;flex:1}
    .sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.sheet-head h3{margin:0;font-size:20px}
.modal-close{background:transparent;border:0;color:var(--muted);font-weight:600;cursor:pointer}
.ticket-picker{margin:0 0 12px;display:none;flex-direction:column;gap:6px}
.ticket-picker label{font-size:13px;font-weight:600;color:#4b5563}
.ticket-picker select{border:1px solid var(--line);border-radius:12px;padding:10px 12px;font:600 14px/1.4 ui-sans-serif,system-ui;background:#fff;color:#0b0b0c}
.ticket-options{display:flex;gap:8px}
.ticket-option-btn{flex:1;border:1px solid var(--line);border-radius:12px;padding:10px 12px;font:700 14px/1.4 ui-sans-serif,system-ui;background:#fff;color:#0f172a;cursor:pointer;transition:all .15s ease}
.ticket-option-btn.active{border-color:#c08f73;background:#fff7f3;color:#a75f39}
.ticket-option-btn:disabled{opacity:.4;cursor:not-allowed}
/* Toast */
.toast{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.35);z-index:60;padding:18px}
.toast.open{display:flex}
.toast-card{background:#fff;border-radius:20px;box-shadow:0 10px 50px rgba(0,0,0,.15);padding:20px 22px;max-width:340px;width:100%;color:#0b0b0c;position:relative}
.toast-close{position:absolute;top:10px;right:12px;background:transparent;border:0;font-size:18px;color:#6b7280;cursor:pointer}
.toast-title{font-weight:700;font-size:18px;margin-bottom:6px}
.toast-body{color:#4b5563;line-height:1.5;margin-bottom:10px}
.toast-meta{font-size:12px;color:#6b7280;margin-bottom:12px}
.toast-ticket{font-size:14px;font-weight:600;background:#f3f4f6;border-radius:12px;padding:10px 12px}
.toast-confirm{margin-top:8px;width:100%;background:#c08f73;color:#fff;font-weight:700;border:0;border-radius:14px;padding:10px 14px;cursor:pointer;box-shadow:0 10px 20px rgba(192,143,115,.25)}
.toast-confirm:active{transform:translateY(1px)}
.timetable-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 16px}
.timetable-subtitle{margin:4px 0 0;color:#6b7280;font-size:14px}
.timetable-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px;box-shadow:var(--shadow);text-align:center}
.timetable-tabs{display:flex;gap:10px;margin:0 0 16px;padding:4px;border-radius:16px;background:#fff;border:1px solid var(--line)}
.timetable-tab{flex:1;border:0;background:transparent;border-radius:12px;font-weight:600;padding:10px;color:#7a6c63;cursor:pointer;transition:background .2s ease,color .2s ease,box-shadow .2s ease}
.timetable-tab.active{background:#c08f73;color:#fff;box-shadow:0 6px 18px rgba(192,143,115,.35)}
.timetable-profile{display:flex;justify-content:center;margin-bottom:12px}
.timetable-profile-image{width:100%;max-width:520px;border-radius:18px;border:1px solid var(--line);box-shadow:0 8px 26px rgba(0,0,0,.08);object-fit:cover;background:#f8f1e6}
.timetable-image-wrap{position:relative;display:flex;justify-content:center}
.timetable-image{width:100%;max-width:720px;border-radius:18px;border:1px solid var(--line);box-shadow:0 8px 30px rgba(0,0,0,.08)}
.timetable-workshop-wrap{position:relative;display:flex;justify-content:center;margin-top:12px}
.timetable-workshop-image{width:100%;max-width:720px;border-radius:18px;border:1px solid #d8c8b9;box-shadow:0 6px 20px rgba(0,0,0,.06);object-fit:cover;background:#fffaf3}
.timetable-note{margin:16px 0 0;color:#6b7280;font-size:13px}
.news-box-media{display:flex;justify-content:center;margin:8px 0 0}
.news-box-image{max-width:100%;max-height:320px;border-radius:16px;border:1px solid #f2e4d6;object-fit:contain;background:#f8f1e6}
.news-box-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;z-index:80;padding:18px;overflow-y:auto}
.news-box-overlay.open{display:flex}
.news-box-card{background:#fff;border-radius:24px;max-width:960px;width:100%;box-shadow:0 20px 60px rgba(0,0,0,.25);overflow:auto;display:flex;flex-direction:column;gap:12px;padding:16px;max-height:90vh}
.news-box-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.news-box-header h3{margin:0;font-size:20px;font-weight:800;color:#3c2f27}
.news-box-close{background:transparent;border:0;font-size:18px;color:#6b7280;cursor:pointer}
.news-box-body{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px}
.news-box-image{width:100%;max-height:70vh;object-fit:contain;border-radius:18px;border:1px solid #f2e4d6;background:#f8f1e6}
.news-box-text{margin-top:12px;font-size:14px;color:#4b5563;line-height:1.6;text-align:left}
.news-box-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.news-box-btn{padding:12px 16px;border-radius:14px;font-weight:700;cursor:pointer;border:0;text-decoration:none}
.news-box-btn.ghost{background:#fff;border:1px solid #e2e8f0;color:#475569}
.news-box-btn.primary{background:#c08f73;color:#fff;border:1px solid #c08f73;box-shadow:0 10px 22px rgba(192,143,115,.35)}
.news-box-actions a.news-box-btn.primary{background:#fff;border:1px solid #e3d4c4;color:#8c5c42;box-shadow:0 8px 24px rgba(0,0,0,.08);border-radius:18px}
.news-box-actions a.news-box-btn.primary:hover{background:#f5f5f5}
@media(max-width:640px){
.news-box-overlay{padding:12px}
.news-box-card{border-radius:18px;padding:14px}
.news-box-image{max-height:55vh}
.news-box-text{margin-top:6px}
.news-box-actions{justify-content:space-between}
}
      .profile-booking{border:1px solid var(--line);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:4px;font-size:14px}
    .profile-booking strong{font-size:13px;color:#4b5563}
    .profile-bookings-empty{color:#6b7280;font-size:14px}
    .profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-top:8px}
.profile-kv{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;font-size:14px;color:#4b5563;display:flex;flex-direction:column;gap:4px}
.profile-kv span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#9ca3af}
.profile-kv strong{font-size:16px;color:#0b0b0c}
.profile-alert{margin-top:12px;padding:12px 14px;border-radius:14px;border:1px solid #f59e0b;background:rgba(245,158,11,.12);color:#92400e;font-size:14px;font-weight:600}
.block-banner{border:1px solid #f87171;background:rgba(248,113,113,.12);border-radius:18px;padding:14px 16px;margin:0 12px 12px;font-size:14px;font-weight:600;color:#b91c1c;line-height:1.5}
.trial-card{flex-direction:column;gap:16px;padding:24px;border-radius:24px;background:#fff;box-shadow:0 20px 45px rgba(0,0,0,.08);border:1px solid rgba(255,255,255,.4)}
.trial-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.trial-subtitle{margin:6px 0 0;color:#6b7280;font-size:14px}
.trial-form{display:flex;flex-direction:column;gap:12px}
.trial-form input,.trial-form select,.trial-form textarea{border:1px solid var(--line);border-radius:16px;padding:12px 14px;font:500 14px/1.4 ui-sans-serif,system-ui;background:#fff;width:100%}
.trial-form textarea{resize:vertical}
.trial-form label{font-size:13px;font-weight:600;color:#4b5563}
.trial-goals{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}
.trial-goal{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:#fff;font-size:12px;color:#374151;line-height:1.4}
.trial-goal span{flex:1;min-width:0;text-align:left;font-weight:600}
.trial-goal input{margin:0;width:18px;height:18px;flex-shrink:0;accent-color:var(--accent)}
@media(max-width:540px){
.trial-goals{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:420px){
.trial-goals{grid-template-columns:1fr}
}
    .schedule-tabs{display:flex;gap:10px;margin:0 16px 12px;padding:4px;border:1px solid var(--line);border-radius:16px;background:#fff}
    .schedule-tab{flex:1;border:0;background:transparent;border-radius:12px;font-weight:600;padding:10px;color:#7a6c63;cursor:pointer;transition:background .2s ease,color .2s ease}
    .schedule-tab.active{background:#c08f73;color:#fff}
    .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
    .brand-logo{display:block;margin:6px auto;width:clamp(90px, 16vw, 140px);max-width:45%;height:auto}
    .home-hero{text-align:center;margin:0 0 18px;padding:12px 16px;background:var(--hero-bg)}
    .home-news-card{flex-direction:column;gap:10px;background:#fff;border-radius:28px;border:1px solid #f2e4d6;box-shadow:none;padding:22px}
    .section-title{font-size:18px;font-weight:800;color:#3c2f27;letter-spacing:.02em;margin:0 0 10px}
    .home-news-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
    .home-news-label{font-size:18px;font-weight:800;color:#3c2f27;letter-spacing:.04em}
    .home-news-body{font-size:14px;color:#6b5649;line-height:1.6}
    .home-news-actions{margin-top:8px;display:flex;justify-content:flex-start}
    .home-about-card{flex-direction:column;gap:10px;background:#fff;border-radius:28px;border:1px solid #e8dccc;box-shadow:none;padding:24px}
    .home-gallery-card{display:block;padding:14px;border-radius:26px;background:#fff;box-shadow:none;border:1px solid #fff;overflow:hidden}
    .home-gallery{position:relative}
    .home-gallery::before,.home-gallery::after{content:"";position:absolute;top:0;bottom:0;width:36px;pointer-events:none;z-index:2}
    .home-gallery::before{left:0;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,0) 100%)}
    .home-gallery::after{right:0;background:linear-gradient(270deg,#fff 0%,rgba(255,255,255,0) 100%)}
    .home-gallery-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,68%);width:100%;max-width:100%;gap:12px;overflow-x:auto;overflow-y:hidden;padding:6px 10px 12px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;touch-action:pan-x pinch-zoom;scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.18) transparent}
    .home-gallery-track::-webkit-scrollbar{height:8px}
    .home-gallery-track::-webkit-scrollbar-thumb{background:rgba(0,0,0,.18);border-radius:999px}
    .home-gallery-slide{scroll-snap-align:center;position:relative;width:100%;border-radius:22px;background:#f5f5f5 center/cover no-repeat;box-shadow:none;min-height:260px;max-height:420px;overflow:hidden;aspect-ratio:3/4;border:1px solid rgba(0,0,0,.04)}
    .home-gallery-slide::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);pointer-events:none}
    @media(min-width:720px){
      .home-gallery-track{grid-auto-columns:minmax(280px,56%);padding-left:0;padding-right:0}
      .home-gallery-slide{aspect-ratio:3/4;min-height:320px}
    }
    @media(min-width:1024px){
      .home-gallery-track{grid-auto-columns:minmax(320px,45%);padding-left:0;padding-right:0}
      .home-gallery-slide{aspect-ratio:3/4;min-height:360px}
    }
    .home-about-card h2{margin:0;font-size:20px;color:#3c2f27}
    .home-about-body{display:flex;flex-direction:column;gap:6px;font-size:14px;color:#6b5649;line-height:1.65}
    .home-about-btn{width:100%;background:#fff;border:1px solid #e3d4c4;color:#8c5c42;font-weight:700;border-radius:18px;box-shadow:none}
    .home-about-btn:hover{background:#f5f5f5}
