#catalog-panel{position:fixed;inset:0;z-index:8;background:radial-gradient(ellipse at 0 0,#49306570,transparent 50%),#140d24;color:#f1eafe;display:flex;flex-direction:column;padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));overflow:hidden}#catalog-panel[hidden]{display:none}.catalog-inner{width:min(980px,100%);margin:auto;display:flex;flex:1;min-height:0;flex-direction:column}.catalog-top{display:flex;align-items:center;gap:12px;margin-bottom:18px}.catalog-top h2{font-size:22px;letter-spacing:0;margin:0;flex:1}.catalog-top button,.filter-bar button,.merchant-action,.admin-link{padding:9px 13px;border-radius:10px;background:#bd96de18;border:1px solid #bd96de40;color:#dfcaed;font-size:12px}.filter-bar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.filter-bar input,.filter-bar select{border:1px solid #bd96de35;border-radius:10px;background:#241a38;color:#f1eafe;padding:11px;font:inherit;font-size:13px;min-width:0}.filter-bar input{flex:1;min-width:160px}.filter-bar button[aria-pressed=true]{background:#bd96de;color:#140d24}.result-caption{font-size:12px;color:#aa9abc;margin:0 0 12px}.merchant-results{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start;padding-bottom:12px}.merchant-card{display:flex;gap:15px;align-items:center;text-align:left;width:100%;padding:15px;background:#241a38;border:1px solid #bd96de30;border-radius:16px;color:#f1eafe}.merchant-thumb{width:92px;height:100px;flex-shrink:0;border-radius:12px;object-fit:cover;background:linear-gradient(145deg,#634178,#291938);display:grid;place-items:center;font-size:28px;color:#bd96de}.merchant-copy{min-width:0}.merchant-copy h3{font-size:17px;margin:0 0 8px}.merchant-copy p{font-size:12px;line-height:1.6;color:#aa9abc;margin:5px 0}.merchant-price{color:#e5b1c8;font-size:17px}.demo-badge{font-size:10px;background:#bd96de16;border:1px solid #bd96de35;border-radius:5px;padding:2px 5px;color:#bd96de}.catalog-empty{grid-column:1/-1;text-align:center;padding:40px 15px;color:#aa9abc;line-height:1.8}.merchant-detail{width:min(560px,calc(100% - 24px));max-height:calc(var(--stable-vh, 1svh) * 86);overflow:auto;text-align:left}.merchant-detail h2{letter-spacing:0;font-size:24px}.merchant-detail p{color:#aa9abc;font-size:14px;line-height:1.8}.merchant-detail img{width:100%;height:210px;object-fit:cover;border-radius:14px}.merchant-detail .detail-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.merchant-detail .close-merchant{float:right;background:transparent;font-size:23px;color:#aa9abc}.merchant-action{display:inline-block;text-decoration:none}.admin-link{padding:4px 7px;font-size:10px;background:transparent;color:#aa9abc;border:0;text-decoration:none;margin-left:8px}.admin-body{background:#140d24;color:#f1eafe;font:14px system-ui,'Microsoft YaHei',sans-serif;overflow:auto;min-width:320px}.admin-wrap{max-width:960px;margin:24px auto;padding:18px}.admin-wrap h1{font-size:25px;letter-spacing:0;padding:0}.admin-wrap p{color:#aa9abc;line-height:1.7}.admin-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#241a38;border:1px solid #bd96de30;border-radius:18px;padding:20px;margin:20px 0}.admin-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#cdb7de}.admin-form input,.admin-form select,.admin-form textarea{width:100%;box-sizing:border-box;background:#140d24;color:#f1eafe;border:1px solid #bd96de40;border-radius:9px;padding:11px;font:inherit}.admin-form .wide{grid-column:1/-1}.admin-wrap button,.admin-wrap a{border-radius:9px;padding:10px 14px;background:#bd96de;color:#140d24;border:0;text-decoration:none;font-size:13px;cursor:pointer}.admin-row{display:flex;gap:9px;align-items:center;justify-content:space-between;padding:13px;border-bottom:1px solid #bd96de25}.admin-row button{background:#bd96de15;color:#dfcaed}.admin-status{min-height:24px;color:#e5b1c8;white-space:pre-wrap}.admin-wrap [hidden]{display:none!important}@media(max-width:650px){.merchant-results{grid-template-columns:1fr}.merchant-thumb{width:80px;height:90px}.catalog-top h2{font-size:20px}.filter-bar select{flex:1}.merchant-card{padding:12px;gap:12px}.admin-form{grid-template-columns:1fr}.admin-form .wide{grid-column:auto}.catalog-top{margin-bottom:12px}} 
.catalog-kind-label{display:flex;align-items:center;padding:11px 15px;border:1px solid #bd96de35;border-radius:10px;background:#bd96de12;color:#dfcaed;font-size:13px;white-space:nowrap}.catalog-kind-label[hidden]{display:none!important}

/* Brand entrances remain two columns on phones as well as desktop. */
.merchant-results.brand-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.visit-brand-card{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;min-height:138px;padding:24px;border-radius:18px;border:1px solid #BD96DE40;background:radial-gradient(ellipse at 0 0,#68447B30,transparent 75%),#241A38;color:#F1EAFE;text-align:left;overflow:hidden;transition:border-color .2s,background .2s}
.visit-brand-card:hover{border-color:#BD96DE90;background-color:#302040}.visit-brand-emblem{display:grid;place-items:center;width:58px;height:58px;border:1px solid #BD96DE40;border-radius:16px;background:#BD96DE10;color:#BD96DE;font-family:KaiTi,STKaiti,serif;font-size:30px;font-weight:700}.visit-brand-card strong{font-size:25px;letter-spacing:2px}.visit-brand-entry{font-size:12px;color:#D7BCE9;white-space:nowrap}.visit-brand-entry span{margin-left:6px}
@media(max-width:650px){.merchant-results.brand-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.visit-brand-card{grid-template-columns:1fr;justify-items:center;text-align:center;gap:12px;min-height:172px;padding:20px 12px}.visit-brand-emblem{width:48px;height:48px;font-size:26px;border-radius:14px}.visit-brand-card strong{font-size:22px;letter-spacing:1px}.visit-brand-entry{font-size:11px}}
/* Three brand cards per row, scaled for narrow phone viewports. */
.merchant-results.brand-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.visit-brand-card{grid-template-columns:1fr;justify-items:center;text-align:center;gap:12px;min-height:176px;padding:20px 12px}
.visit-brand-card strong{font-size:24px;letter-spacing:1px;white-space:nowrap}
@media(max-width:650px){.merchant-results.brand-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.visit-brand-card{min-height:144px;padding:14px 6px;gap:10px;border-radius:14px}.visit-brand-emblem{width:40px;height:40px;font-size:23px;border-radius:12px}.visit-brand-card strong{font-size:clamp(17px,4.6vw,21px);letter-spacing:0}.visit-brand-entry{font-size:10px}.visit-brand-entry span{margin-left:3px}}
@media(max-width:360px){.merchant-results.brand-results{gap:6px}.visit-brand-card{min-height:132px;padding:12px 4px;gap:8px}.visit-brand-emblem{width:35px;height:35px;font-size:21px}}

.visit-brand-card strong{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.3}.visit-editor-row{display:grid;grid-template-columns:2fr 1fr 3fr;gap:10px;padding:16px 0;border-bottom:1px solid #bd96de30}.visit-editor-actions{grid-column:1/-1;display:flex;gap:8px}.visit-editor-actions button:disabled{opacity:.4;cursor:default}@media(max-width:650px){.visit-editor-row{grid-template-columns:2fr 1fr}.visit-editor-row label:nth-child(3){grid-column:1/-1}}

/* Admin-only obsidian black and prestige gold theme. */
.admin-body{background:#000000;color:#f5f0d8}
.admin-wrap h1,.admin-wrap h2{color:#FFD700}
.admin-wrap p,.admin-form label{color:#c9bd83}
.admin-form{background:#11110d;border-color:#ffd70038}
.admin-form input,.admin-form select,.admin-form textarea{background:#000000;color:#f5f0d8;border-color:#ffd70050;caret-color:#FFD700}
.admin-form input::placeholder,.admin-form textarea::placeholder{color:#958c68}
.admin-form input:focus,.admin-form select:focus,.admin-form textarea:focus{outline:2px solid #FFD700;outline-offset:2px;border-color:#FFD700}
.admin-wrap button,.admin-wrap a{background:#FFD700;color:#000000}
.admin-wrap button:hover,.admin-wrap a:hover{background:#ffe650}
.admin-wrap button:focus-visible,.admin-wrap a:focus-visible{outline:2px solid #FFD700;outline-offset:3px}
.admin-row,.visit-editor-row{border-bottom-color:#ffd70030}
.admin-row button{background:#ffd70018;color:#FFD700}
.admin-wrap .admin-status{color:#FFD700}
.admin-wrap option{background:#11110d;color:#f5f0d8}

#home .brand .location{min-width:0;max-width:clamp(72px,22vw,240px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.visit-editor-row label:nth-child(4){grid-column:1/-1}.visit-brand-entry{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.5}

/* Compact mobile search leaves space for readable filter labels. */
@media(max-width:650px){
.filter-bar:has(#catalog-area:not([hidden])){display:grid;grid-template-columns:minmax(72px,1fr) minmax(84px,.9fr) minmax(84px,.9fr) minmax(92px,1fr);gap:6px}
.filter-bar:has(#catalog-area:not([hidden])) input{width:100%;min-width:0;padding:10px 7px;font-size:12px}
.filter-bar:has(#catalog-area:not([hidden])) select{width:100%;min-width:0;padding:10px 5px;font-size:12px}
.filter-bar [hidden]{display:none!important}
}
@media(max-width:380px){.filter-bar:has(#catalog-area:not([hidden])){grid-template-columns:1fr 1fr 1fr}.filter-bar:has(#catalog-area:not([hidden])) input{grid-column:1/-1}}

/* Apply readable filter sizing to every mobile entrance. */
@media(max-width:650px){
.catalog-top{flex-shrink:0}.catalog-top h2{min-width:0;overflow-wrap:anywhere;line-height:1.3}.catalog-top button{flex-shrink:0}
.filter-bar{flex-shrink:0;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(94px,1fr) minmax(100px,1fr);gap:6px}
.filter-bar input,.filter-bar select{width:100%;min-width:0;font-size:12px;padding:10px 6px}
.filter-bar:has(#catalog-area:not([hidden])){grid-template-columns:minmax(72px,1fr) minmax(94px,1fr) minmax(84px,.9fr) minmax(100px,1fr)}
.filter-bar:has(#catalog-category:not([hidden])){grid-template-columns:repeat(2,minmax(0,1fr))}
.filter-bar:has(#catalog-category:not([hidden])) input{grid-column:1/-1}
.filter-bar:has(#catalog-budget[hidden]){grid-template-columns:minmax(0,1fr)}
.filter-bar #catalog-kind-label{display:none}
.result-caption{flex-shrink:0;line-height:1.5}
}
@media(max-width:400px){
.filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}
.filter-bar:has(#catalog-area:not([hidden])){grid-template-columns:repeat(3,minmax(0,1fr))}
.filter-bar input,.filter-bar:has(#catalog-area:not([hidden])) input{grid-column:1/-1}
}

.member-notice{width:min(360px,calc(100% - 40px));box-sizing:border-box;padding:26px 22px;border:1px solid #bd96de50;border-radius:20px;background:#241a38;color:#f1eafe;text-align:center;box-shadow:0 20px 70px #0007}.member-notice::backdrop{background:#080611b8}.member-notice h2{margin:0 0 16px;font-size:22px;letter-spacing:0}.member-notice p{margin:0 0 22px;font-size:16px;line-height:1.8;color:#dfcaed}.member-notice button{padding:10px 28px;border:0;border-radius:24px;background:#bd96de;color:#140d24;font-size:15px;cursor:pointer}

.visit-brand-card .brand-note{font-size:.7em;font-weight:500;line-height:1.5;letter-spacing:0;color:#dfcaed;overflow-wrap:anywhere}.visit-brand-card{align-content:center}

/* Balanced brand cards after moving notes next to their names. */
.merchant-results.brand-results{gap:14px;grid-auto-rows:minmax(180px,auto);padding-bottom:16px}
.visit-brand-card{min-height:180px;padding:22px 14px;gap:14px;align-content:center;justify-items:center}
.visit-brand-card strong{width:100%;font-size:24px;line-height:1.45;text-align:center;letter-spacing:0;overflow-wrap:anywhere}
.visit-brand-card .brand-note{font-size:14px;line-height:1.6}
@media(max-width:650px){
.merchant-results.brand-results{gap:10px;grid-auto-rows:minmax(156px,auto);padding-bottom:14px}
.visit-brand-card{min-height:156px;padding:16px 8px;gap:12px;border-radius:16px}
.visit-brand-emblem{width:40px;height:40px;font-size:24px;border-radius:12px}
.visit-brand-card strong{font-size:clamp(17px,4.7vw,21px);line-height:1.45}
.visit-brand-card .brand-note{font-size:12px;line-height:1.6}
}
@media(max-width:360px){.merchant-results.brand-results{gap:8px}.visit-brand-card{padding:14px 6px;gap:10px}.visit-brand-emblem{width:36px;height:36px;font-size:22px}.visit-brand-card strong{font-size:17px}}

/* Brand notes always begin below the brand name. */
.visit-brand-card .brand-note{display:block;margin-top:6px;width:100%;text-align:center;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:650px){.visit-brand-card .brand-note{font-size:12px;margin-top:5px}}

/* Sidebar navigation with one management page visible at a time. */
.admin-wrap{max-width:1380px}
.admin-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start;margin-top:24px}
.admin-sidebar{position:sticky;top:18px;display:flex;flex-direction:column;gap:8px;border:1px solid #ffd70030;background:#11110d;border-radius:18px;padding:16px;max-height:calc(calc(var(--stable-vh, 1svh) * 100) - 36px);overflow:auto}
.admin-sidebar .admin-sidebar-label{margin:0 0 8px;font-size:12px;letter-spacing:2px;color:#b9a95d}
.admin-sidebar button{width:100%;text-align:left;padding:12px 14px;border:1px solid transparent;background:transparent;color:#c9bd83;line-height:1.45;overflow-wrap:anywhere}
.admin-sidebar button:hover{background:#ffd70012;color:#FFD700;border-color:#ffd70038}
.admin-sidebar button[aria-current="page"]{background:#FFD700;color:#000;font-weight:700}
.admin-panels,.admin-panel{min-width:0}.admin-panel>h2:first-child{margin-top:0}.admin-panel .admin-form{margin-top:0}.admin-panel:focus{outline:none}.admin-panel [type="submit"]{overflow-wrap:anywhere}
@media(max-width:850px){.admin-layout{grid-template-columns:170px minmax(0,1fr);gap:16px}.admin-panel .admin-form{grid-template-columns:minmax(0,1fr);padding:16px}.admin-panel .admin-form .wide{grid-column:auto}.admin-panel .visit-editor-row{grid-template-columns:minmax(0,1fr)}.admin-panel .visit-editor-row label{grid-column:1}.admin-row{flex-wrap:wrap}.admin-row>span{flex-basis:100%}}
@media(max-width:600px){.admin-wrap{padding:12px;margin:12px auto}.admin-layout{grid-template-columns:108px minmax(0,1fr);gap:10px}.admin-sidebar{top:10px;padding:8px;border-radius:12px;gap:5px}.admin-sidebar button{padding:10px 7px;font-size:12px}.admin-sidebar .admin-sidebar-label{font-size:10px;letter-spacing:0}.admin-panel .admin-form{padding:12px;gap:10px}.admin-panel>h2{font-size:19px}.admin-panel .visit-editor-actions{flex-wrap:wrap;gap:5px}.admin-panel button{padding:10px;font-size:12px}}

.environment-video h3{font-size:16px;letter-spacing:0;color:#dfcaed}.environment-video video{display:block;width:100%;max-height:calc(var(--stable-vh, 1svh) * 50);border-radius:12px;background:#080611}.admin-form [id$="-video-status"]{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.admin-form [id$="-video-status"] a{padding:3px 7px;font-size:12px}
/* Avoid iOS focus zoom and allow full search text on narrow screens. */
@media(max-width:650px){
.filter-bar input,.filter-bar:has(#catalog-area:not([hidden])) input{font-size:16px;grid-column:1/-1}
.filter-bar:has(#catalog-area:not([hidden])){grid-template-columns:repeat(3,minmax(0,1fr))}
#home .search input,.admin-form input,.admin-form textarea,.admin-form select{font-size:16px}
.catalog-top h2{font-size:clamp(17px,4.6vw,20px)}
.merchant-detail{max-height:calc(calc(var(--stable-vh, 1svh) * 100) - 28px)}
}

@font-face{font-family:ClubKai;src:url('/wenkai.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
#login h1,#home .brand strong{font-family:ClubKai,KaiTi,STKaiti,'楷体',serif;font-weight:400}

/* Complete brand notes stay below the name on one fitted line. */
.visit-brand-card strong{min-width:0}
.visit-brand-card .brand-note{display:block;white-space:nowrap;overflow-wrap:normal;word-break:normal;max-width:100%;letter-spacing:0}
.brand-note-text{display:inline-block;white-space:nowrap;overflow-wrap:normal;word-break:normal}

/* Multiline editable consumption descriptions with a usable resize area. */
.admin-form textarea.consumption-price-editor{width:min(100%,480px);min-width:140px;max-width:100%;min-height:94px;resize:both;align-self:flex-start;white-space:pre-wrap}
.merchant-price{white-space:pre-line;overflow-wrap:anywhere;max-width:100%}
@media(max-width:850px){.admin-form textarea.consumption-price-editor{width:100%;min-width:0}}

.consumption-price-panel{margin:12px 0;padding:13px 15px;border:1px solid #bd96de40;border-radius:12px;background:#bd96de0d;text-align:left}
.consumption-price-panel h4{margin:0 0 8px;font-size:14px;font-weight:600;color:#dfcaed;letter-spacing:0}
.merchant-copy .consumption-price-panel p,.merchant-detail .consumption-price-panel p{margin:0;font-size:14px;line-height:1.8;color:#e5b1c8;white-space:pre-wrap;overflow-wrap:anywhere}
.merchant-copy{flex:1}.merchant-card{align-items:flex-start}

.environment-gallery h3{font-size:16px;letter-spacing:0;color:#dfcaed}.environment-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.merchant-detail .environment-images img{display:block;width:100%;height:auto;max-height:320px;object-fit:contain;border-radius:10px}.environment-video video{margin-bottom:12px}.admin-form [id$="-photo-status"]{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.admin-form [id$="-photo-status"] a{font-size:12px;padding:3px 7px}.admin-form [id$="-photo-status"] button,.admin-form [id$="-video-status"] button{padding:4px 8px;margin:5px;font-size:12px}

/* Favorites controls are removed from all customer-facing views. */
#catalog-favorites,#favorite-merchant{display:none!important}

/* Separate venue media from its information and highlight the shop name. */
.merchant-detail>h2{color:#ff69b4}
.merchant-detail .environment-gallery{border-top:1px solid #bd96de66;margin-top:22px;padding-top:18px}
.merchant-detail .environment-gallery h3{margin-top:0}

/* The first three ordered club photos form a uniform left cover column. */
.merchant-cover-strip{display:grid;gap:6px;width:92px;flex:0 0 92px;align-self:flex-start}
.merchant-cover-strip img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:9px;background:#291938}
.admin-media-row{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-top:8px}
.admin-media-row a{display:inline-flex;align-items:center;gap:8px}
.admin-photo-preview{width:64px;height:48px;object-fit:cover;border-radius:6px}
@media(max-width:650px){.merchant-cover-strip{width:80px;flex-basis:80px}}

:is(#admin-merchants,#admin-ktvs) .admin-row{flex-wrap:wrap;justify-content:flex-start}:is(#admin-merchants,#admin-ktvs) .admin-row>span{flex:1 1 160px}:is(#admin-merchants,#admin-ktvs) h3{margin:24px 0 8px}

/* Club detail: media behind a draggable white information sheet. */
.merchant-detail.club-detail{--sheet-top:58%;position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:0;overflow:hidden;background:#17131e;color:#25232b;color-scheme:light;box-shadow:none}
.club-detail[data-sheet-state="expanded"]{--sheet-top:28%}.club-detail[data-sheet-state="collapsed"]{--sheet-top:calc(100% - 58px - env(safe-area-inset-bottom))}
.club-media-stage,.club-media-view{position:absolute;inset:0;touch-action:pan-y;overflow:hidden}
.club-detail .club-media-view img{display:block;width:100%;height:var(--sheet-top);max-height:none;border-radius:0;object-fit:contain;object-position:center;background:#17131e;user-select:none;-webkit-user-drag:none}
.club-detail .club-media-view video{display:block;width:100%;height:calc(var(--sheet-top) - 62px);object-fit:contain;background:#09070c}
.club-detail-back.close-merchant{position:absolute;z-index:4;top:max(14px,env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left));float:none;width:42px;height:42px;background:#0006;color:#fff;border-radius:50%;font-size:32px;line-height:1}
.club-media-arrows{position:absolute;inset:20% 14px auto;display:flex;justify-content:space-between;pointer-events:none}
.club-media-arrows button{pointer-events:auto;width:36px;height:42px;background:#0004;border-radius:22px;color:#fff;font-size:26px}.club-media-arrows button:disabled{opacity:.2;pointer-events:none}
.club-media-toolbar{position:absolute;z-index:3;top:calc(var(--sheet-top) - 56px);left:16px;right:16px;display:flex;justify-content:space-between;align-items:center;gap:10px;transition:top .26s ease}
.club-sheet-toggle{width:48px;height:36px;background:#0007;border-radius:24px;color:#fff;font-size:25px;line-height:1}
.club-media-tabs{display:flex;gap:2px;padding:3px;border-radius:24px;background:#0008;white-space:nowrap}
.club-media-tabs button{background:transparent;color:#fff;border-radius:20px;padding:8px 10px;font-size:12px;line-height:1.2;min-height:34px}.club-media-tabs button[aria-pressed="true"]{background:#fff;color:#79508f;font-weight:600}.club-media-tabs button:disabled{opacity:.45}
.club-info-sheet{position:absolute;z-index:3;top:var(--sheet-top);left:0;right:0;bottom:0;background:#fff;border-radius:24px 24px 0 0;box-shadow:0 -4px 24px #0001;display:flex;flex-direction:column;overflow:hidden;transition:top .26s ease}
.club-info-sheet.dragging{transition:none}.club-detail:has(.club-info-sheet.dragging) .club-media-toolbar{transition:none}
.club-sheet-handle{display:grid;place-items:center;background:#fff;flex:0 0 26px;width:100%;padding:8px;touch-action:none}.club-sheet-handle span{width:38px;height:4px;border-radius:4px;background:#d7d3db}
.club-sheet-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:2px 20px max(20px,env(safe-area-inset-bottom));flex:1}
.club-info-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px;touch-action:none}.club-info-heading>div{min-width:0;flex:1}.club-info-heading h2{margin:0;font-size:24px;color:#ff3d9e;line-height:1.35;overflow-wrap:anywhere;font-weight:700}.club-info-heading p{margin:7px 0 0;font-size:13px;color:#85808c;line-height:1.4}
.club-tier{flex:0 0 auto;padding:7px 11px;border-radius:8px;color:#fff;font-size:13px;font-weight:700;letter-spacing:1px;line-height:1.2;margin-top:3px}.club-tier-low{background:#515158}.club-tier-mid{background:#2563EB;color:#fff;font-weight:800}.club-tier-high{background:#FFD700;color:#000;font-weight:800}
.club-detail .consumption-price-panel{margin:0 0 14px;padding:14px 16px;border:1px solid #ece8ef;border-radius:14px;background:#f7f5f9}.club-detail .consumption-price-panel h4{margin:0 0 7px;font-size:15px;color:#33303a}.club-detail .consumption-price-panel p{font-size:15px;line-height:1.7;color:#7a4d76;white-space:pre-wrap}
.club-basic-info{margin:0 0 14px;padding:0 2px}.club-basic-info p{display:flex;gap:12px;margin:8px 0;color:#55505d;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.club-basic-info p>span{color:#8a8590;flex:0 0 60px}
.club-description{border-top:1px solid #ece8ef;padding-top:14px}.club-description h3{font-size:15px;margin:0 0 7px;color:#33303a;letter-spacing:0}.club-description p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#706979;font-size:14px;line-height:1.7}
.club-detail .detail-actions{margin-top:18px}.club-detail .merchant-action{background:#f0e8f6;border:1px solid #dfd0e9;color:#724e8b;padding:11px 15px;font-size:13px}.club-detail #merchant-feedback{margin:8px 0;color:#79508f;font-size:13px}
.club-media-empty{display:grid;place-items:center;height:var(--sheet-top);color:#b5a6c3;background:radial-gradient(circle at 50% 35%,#3c2a4d,#17131e);font-size:14px}
@media(min-width:750px){.merchant-detail.club-detail{width:min(620px,100%);margin:auto}.club-detail::backdrop{background:#0b0614d9}.club-sheet-scroll{padding-left:28px;padding-right:28px}}
@media(max-width:360px){.club-sheet-scroll{padding-left:16px;padding-right:16px}.club-info-heading h2{font-size:22px}.club-media-toolbar{left:12px;right:12px}.club-media-tabs button{font-size:11px;padding:7px 8px}}
@media(max-height:500px) and (orientation:landscape){.merchant-detail.club-detail[data-sheet-state="default"]{--sheet-top:48%}.club-info-heading{margin-bottom:10px}.club-info-heading h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){.club-info-sheet,.club-media-toolbar{transition:none}}

.admin-form label.admin-photo-field{padding-bottom:18px;margin-bottom:4px;border-bottom:1px solid #ffd70026;gap:10px}.admin-form .admin-photo-field [id$="-photo-status"]{display:block;margin:0 0 4px;line-height:1.7}

/* Counters belong to the actual media frame, including letterboxed video. */
.club-media-frame{position:absolute;overflow:hidden;background:#17131e}
.club-detail .club-media-frame img,.club-detail .club-media-frame video{display:block;width:100%;height:100%;object-fit:contain;background:#17131e}
.club-media-frame .club-media-tabs{position:absolute;z-index:3;right:10px;bottom:12px;transform-origin:right bottom;background:#0009}
.club-detail[data-media-kind="video"] .club-media-frame .club-media-tabs{bottom:72px}
.club-media-frame .club-media-empty{height:100%}

.club-detail .club-info-heading{height:auto;min-height:0;padding:0;background:transparent;border:0;position:static;flex:0 0 auto;margin:0 0 12px;gap:12px}
.club-detail .club-info-heading p{margin-top:5px}
.club-detail .club-tier{padding:5px 9px;font-size:11px;letter-spacing:.5px;border-radius:6px;margin-top:3px}

/* Preserve intrinsic proportions and never enlarge a small uploaded asset. */
.merchant-detail.club-detail[data-sheet-state]{--sheet-top:var(--media-sheet-top,58%)}
.club-detail .club-media-frame img,.club-detail .club-media-frame video{object-fit:contain;object-position:center;max-height:none}

.merchant-name-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:7px}.merchant-name-row h3{margin:0;min-width:0;overflow-wrap:anywhere;flex:1}.merchant-name-row .club-tier{margin:0;padding:5px 8px;font-size:10px;letter-spacing:.5px;border-radius:6px}
.club-card-meta{display:flex;flex-wrap:wrap;gap:3px 8px;font-size:12px;line-height:1.6;color:#aa9abc;margin-bottom:10px}.club-card-meta>span{min-width:0;overflow-wrap:anywhere}.club-card-meta>span:first-child{white-space:nowrap}

.admin-upload-feedback{display:block;font-size:13px;line-height:1.7;overflow-wrap:anywhere;color:#ffe55c}.admin-upload-feedback:empty{display:none}

/* The sheet toggle must not cover the media counters beside it. */
.club-media-toolbar{pointer-events:none}.club-media-toolbar .club-sheet-toggle{pointer-events:auto}
/* Fixed compact media counters; videos use only a custom seek bar. */
.club-media-frame .club-media-tabs{width:172px;height:32px;box-sizing:border-box;padding:2px;gap:0;right:8px;bottom:8px;transform:none}
.club-media-frame .club-media-tabs button{flex:1 1 0;min-width:0;min-height:28px;height:28px;padding:0 3px;font-size:11px;line-height:28px;letter-spacing:0}
.club-detail[data-media-kind="video"] .club-media-frame .club-media-tabs{bottom:44px}
.simple-video-player{position:relative;background:#17131e;overflow:hidden}
.club-media-frame.simple-video-player{position:absolute}
.simple-video-player>video{display:block;width:100%;cursor:pointer}
.video-play-cue{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#ffffffe0;color:#17131e;font-size:23px;pointer-events:none}
.video-play-cue[hidden]{display:none}
.simple-video-player>.video-seek{position:absolute;z-index:4;left:12px;bottom:8px;width:calc(100% - 24px);height:24px;margin:0;padding:0;border:0;border-radius:0;box-sizing:border-box;background:transparent;accent-color:#fff;cursor:pointer;touch-action:none}
.simple-video-player>video:focus-visible{outline:2px solid #c8a7e5;outline-offset:-2px}
/* Compact mobile group label follows the store name. */
@media(max-width:650px){.merchant-name-row{justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:5px;margin-bottom:5px}.merchant-name-row h3{flex:0 1 auto;max-width:100%}.merchant-name-row .club-tier{margin:0;padding:4px 7px;font-size:12px;letter-spacing:0;border-radius:5px;white-space:nowrap}}
/* Club lists use region and tier ordering, without numeric price filtering. */
.club-merchant-card{align-self:start}
.club-merchant-card .consumption-price-panel:last-child{margin-bottom:0}
.filter-bar:has(#catalog-budget[hidden]):has(#catalog-area:not([hidden])){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.filter-bar:has(#catalog-budget[hidden]):has(#catalog-area:not([hidden])) input{grid-column:1/-1}
.filter-bar [hidden]{display:none!important}
/* A single compact row gives club covers more vertical space. */
.filter-bar.club-filters:has(#catalog-budget[hidden]):has(#catalog-area:not([hidden])){grid-template-columns:minmax(0,1.25fr) minmax(0,.8fr) minmax(0,1.25fr);gap:6px;align-items:center;margin-bottom:10px}
.filter-bar.club-filters:has(#catalog-budget[hidden]):has(#catalog-area:not([hidden])) #catalog-query{grid-column:auto;min-width:0}
.filter-bar.club-filters #catalog-query,.filter-bar.club-filters select{height:42px;min-width:0;width:100%;box-sizing:border-box;padding:8px;border-radius:10px;font-size:14px}
.filter-bar.club-filters select{padding-left:6px;padding-right:3px}
@media(max-width:360px){.filter-bar.club-filters:has(#catalog-budget[hidden]):has(#catalog-area:not([hidden])){gap:5px;grid-template-columns:minmax(0,1.2fr) minmax(0,.85fr) minmax(0,1.3fr)}.filter-bar.club-filters select{font-size:12px}.filter-bar.club-filters #catalog-query{font-size:16px;padding-left:6px}}
.filter-bar.club-filters #catalog-query{font-size:16px}
/* Every club card shares a fixed cover height, regardless of content length. */
.club-merchant-card{--cover-width:92px;--cover-height:69px;--card-padding:15px;position:relative;box-sizing:border-box;height:calc(var(--cover-height)*3 + 12px + var(--card-padding)*2 + 2px);padding:var(--card-padding);overflow:hidden}
.club-merchant-card .merchant-cover-strip{width:var(--cover-width);flex:0 0 var(--cover-width);grid-template-rows:repeat(3,var(--cover-height));gap:6px}
.club-merchant-card .merchant-cover-strip img,.merchant-cover-placeholder{width:100%;height:var(--cover-height);min-height:0;aspect-ratio:auto;object-fit:cover;border-radius:9px}
.merchant-cover-placeholder{display:block;background:transparent;border:0;box-sizing:border-box}
.club-merchant-card .merchant-copy{height:100%;display:flex;flex-direction:column;min-height:0;overflow:hidden}
.club-merchant-card .merchant-name-row{flex:0 0 auto;max-height:48px;overflow:hidden}
.club-merchant-card .club-card-meta{flex:0 0 auto;max-height:38px;overflow:hidden;margin-bottom:0}
.club-merchant-card .consumption-price-panel{position:relative;display:flex;flex-direction:column;flex:1;min-height:0;margin:8px 0 0;padding:10px 12px;overflow:hidden}
.club-merchant-card .consumption-price-panel h4{flex:0 0 auto;margin-bottom:5px}
.club-merchant-card .consumption-price-panel p{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:auto;touch-action:pan-y;scrollbar-width:none}
.club-merchant-card .consumption-price-panel p::-webkit-scrollbar{display:none}
.club-price-more{position:absolute;z-index:2;left:50%;bottom:5px;transform:translateX(-50%);width:30px;height:26px;display:grid;place-items:center;background:#241a38e8;border-radius:12px;color:#ffd35b;cursor:pointer;box-shadow:0 2px 7px #0003}
.club-price-more svg{width:23px;height:23px}.club-price-more[hidden]{display:none}
@media(max-width:650px){.club-merchant-card{--cover-width:80px;--cover-height:60px;--card-padding:12px}}

/* Disable native touch flashes on all current and future controls. */
*,*::before,*::after{-webkit-tap-highlight-color:transparent}
:where(button,a,[role="button"],[tabindex]):focus:not(:focus-visible){outline:none}
:where(button,a,[role="button"],[tabindex]):focus-visible{outline:2px solid #ffd35b;outline-offset:2px}
.club-price-more:focus-visible{outline-offset:-2px}

/* Small map actions share the card corner without changing cover size. */
.merchant-card{position:relative}.merchant-card.has-map .merchant-name-row,.merchant-card.has-map .merchant-copy>h3{padding-right:43px}
.merchant-map-button{position:absolute;right:10px;top:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;width:34px;height:38px;border:1px solid #ffd35b40;border-radius:8px;background:#000000;color:#ffd35b;font-size:9px;line-height:12px;cursor:pointer;z-index:2}.merchant-map-button svg{width:17px;height:17px}
.map-choice{width:min(360px,calc(100% - 32px));padding:26px 20px 20px;background:#241a38;color:#f1eafe;border:1px solid #bd96de40;border-radius:18px}.map-choice h2{font-size:20px;letter-spacing:0}.map-choice>p{font-size:13px;color:#bcb0c9;line-height:1.6;overflow-wrap:anywhere}.map-choice-close{position:absolute;right:10px;top:6px;padding:4px 8px;background:transparent;color:#d9cce6;font-size:24px}.map-choice-links{display:grid;gap:8px}.map-choice-links a{display:flex;justify-content:space-between;border-radius:10px;padding:13px 14px;background:#bd96de15;color:#ffd35b;text-decoration:none;font-size:15px}
.admin-map-actions{display:grid;gap:8px}.admin-map-status{font-size:12px;line-height:1.6}.admin-map-candidates>div{display:flex;gap:8px;align-items:center;margin-bottom:8px}.admin-map-coordinates{font-size:12px;overflow-wrap:anywhere}.admin-map-config{margin:16px 0;padding:14px;border:1px solid #ffd70030;border-radius:12px}.admin-map-config summary{cursor:pointer}

#catalog-panel{bottom:var(--broadcast-space)}
.merchant-detail.club-detail{height:calc(100% - var(--broadcast-space));bottom:var(--broadcast-space)}
.merchant-detail:not(.club-detail),.member-notice,.map-choice{max-height:calc(calc(var(--stable-vh, 1svh) * 100) - var(--broadcast-space) - 28px);margin-bottom:calc(var(--broadcast-space) + 14px)}

.admin-notice{box-sizing:border-box;width:min(420px,calc(100vw - 32px));max-height:calc(calc(var(--stable-vh, 1svh) * 100) - 40px);overflow:auto;margin:auto;padding:24px;border:1px solid #ffd35b80;border-radius:18px;background:#17150d;color:#ffebae;box-shadow:0 10px 36px #0008}
.admin-notice::backdrop{background:#0009}
.admin-notice p{margin:0 0 22px;white-space:pre-line;overflow-wrap:anywhere;font-size:16px;line-height:1.8;color:#ffebae}
.admin-notice button{display:block;margin-left:auto;padding:10px 24px;border:0;border-radius:10px;background:#f8df49;color:#17150d;font-size:15px;-webkit-tap-highlight-color:transparent}

.admin-session-actions{display:flex;align-items:center;gap:12px}.admin-session-actions button{padding:8px 14px;border:1px solid #f8df4970;border-radius:9px;background:#f8df49;color:#17150d;cursor:pointer}.admin-session-actions [hidden]{display:none!important}

@media(max-width:650px){.admin-notice{width:min(420px,calc(100vw - 32px));padding:20px;border-radius:16px;max-height:calc(calc(var(--stable-vh, 1svh) * 100) - 32px)}.admin-notice p{font-size:14px;line-height:1.8;margin-bottom:18px}.admin-notice button{min-width:84px;min-height:44px;font-size:14px;padding:10px 20px}}

/* Shared detail heading: name and tier left; navigation and phone right. */
.detail-heading,.club-detail .club-info-heading{display:block;margin-bottom:16px;padding:0;height:auto;max-width:none;touch-action:pan-y}
.detail-title-row{display:flex;align-items:center;gap:10px;min-width:0}
.detail-name-group{flex:1;min-width:0;line-height:1.5;overflow-wrap:anywhere}
.detail-name-group h2,.club-info-heading .detail-name-group h2{display:inline;margin:0;font-size:24px;line-height:1.4;letter-spacing:0}
.detail-name-group .club-tier{display:inline-block;vertical-align:middle;margin:0 0 0 6px;padding:5px 8px;font-size:12px;letter-spacing:0;line-height:1.2}
.detail-heading-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.detail-heading-actions:empty{display:none}
.detail-heading-actions button,.detail-heading-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 9px;border:1px solid #dfd0e9;border-radius:9px;background:#f0e8f6;color:#724e8b;font-size:12px;line-height:1.2;text-decoration:none;white-space:nowrap;touch-action:manipulation}
.detail-heading .detail-region,.club-info-heading .detail-region{margin:9px 0 0;font-size:15px;line-height:1.6;color:#85808c}
.detail-heading .detail-page-address,.club-info-heading .detail-page-address{margin:4px 0 0;font-size:15px;line-height:1.65;color:#706979;overflow-wrap:anywhere}
.merchant-detail:not(.club-detail) .detail-heading{padding-right:24px}
.merchant-detail:not(.club-detail) .detail-heading p{color:#aa9abc}
@media(max-width:360px){.detail-title-row{gap:6px}.detail-name-group h2,.club-info-heading .detail-name-group h2{font-size:21px}.detail-heading-actions{gap:4px}.detail-heading-actions button,.detail-heading-actions a{font-size:11px;padding:7px}.detail-name-group .club-tier{margin-left:4px;padding:4px 6px;font-size:11px}}

/* Region and page address occupy separate rows within the existing card. */
.merchant-card-meta,.club-card-meta{display:flex;flex-direction:column;flex-wrap:nowrap;gap:3px;font-size:12px;line-height:1.6;color:#aa9abc;margin-bottom:8px;min-width:0}
.merchant-card-meta>span{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.merchant-card.has-map .merchant-card-region{padding-right:38px}
.club-merchant-card .club-card-meta{max-height:none;height:auto;flex:0 0 auto;margin-bottom:0;overflow:hidden}

/* Detail and cover maps share the same gold icon and exact dimensions. */
.detail-heading-actions .detail-map-button{position:static;box-sizing:border-box;display:flex;flex-direction:column;flex:0 0 auto;width:34px;height:38px;min-height:0;margin:0;padding:0;border:1px solid #ffd35b40;border-radius:8px;background:#000000;color:#ffd35b;font-size:9px;line-height:12px;gap:0}
.detail-heading-actions .detail-map-button svg{width:17px;height:17px}

#broadcast-bar .broadcast-copy{font-size:var(--broadcast-font-size,18px)}
#broadcast-bar .broadcast-label{font-size:var(--broadcast-font-size,18px);letter-spacing:0}

#broadcast-bar .broadcast-label>span{display:none}
#broadcast-bar .broadcast-label{gap:0;padding-right:10px}
#broadcast-bar .broadcast-label svg{width:26px;height:26px}

.admin-map-toggle{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;color:#f5f0d8;cursor:pointer}
.admin-map-toggle input{position:absolute;right:0;width:42px;height:24px;margin:0;opacity:0;cursor:pointer;z-index:1}
.admin-switch-track{position:relative;flex:0 0 auto;width:42px;height:24px;border-radius:14px;background:#454337;border:1px solid #8c835950;box-sizing:border-box}
.admin-switch-track::before{content:"";position:absolute;width:18px;height:18px;top:2px;left:2px;border-radius:50%;background:#d8d1b5;transition:transform .15s}
.admin-map-toggle input:checked+.admin-switch-track{background:#ffe044;border-color:#ffe044}
.admin-map-toggle input:checked+.admin-switch-track::before{transform:translateX(18px);background:#11110d}
.admin-map-toggle input:focus-visible+.admin-switch-track{outline:2px solid #ffe044;outline-offset:3px}
.admin-map-toggle input:disabled+.admin-switch-track{opacity:.5}
.admin-wrap .admin-map-toggle-hint{font-size:12px;margin:8px 0 16px}

/* Tier badges share the store name row and align to its line box in every region. */
.detail-name-group{display:flex;align-items:stretch;gap:6px;overflow:hidden}
.detail-name-group h2,.club-info-heading .detail-name-group h2{display:block;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.detail-name-group .club-tier{display:inline-flex;align-items:center;justify-content:center;align-self:stretch;flex:0 0 auto;margin:0;padding:0 8px;font-size:14px;line-height:1;white-space:nowrap}
.merchant-name-row{flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:6px}
.merchant-name-row h3{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4}
.merchant-name-row .club-tier{display:inline-flex;align-items:center;justify-content:center;align-self:stretch;flex:0 0 auto;margin:0;padding:0 7px;line-height:1;white-space:nowrap}

.visit-image-preview{grid-column:1/-1;display:flex;align-items:center;gap:12px;color:#c9bd83;font-size:12px}
.visit-image-preview img{width:64px;height:64px;object-fit:cover;border:1px solid #ffd70040;border-radius:10px}
.visit-editor-actions{flex-wrap:wrap}.visit-editor-actions input[hidden]{display:none!important}
.visit-brand-emblem{overflow:hidden}.visit-brand-emblem img{display:block;width:100%;height:100%;object-fit:cover}

.visit-brand-shell{position:relative;min-width:0}.visit-brand-shell .visit-brand-card{width:100%;height:100%}
.visit-brand-shell.has-video .visit-brand-card{padding-bottom:40px}
.brand-video-entry{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);border:1px solid #bd96de40;border-radius:7px;background:#342346;color:#dfcaed;padding:5px 8px;font-size:11px;white-space:nowrap}
.brand-video-dialog{box-sizing:border-box;width:min(480px,calc(100% - 24px));max-height:calc(calc(var(--stable-vh, 1svh) * 100) - var(--broadcast-space) - 28px);padding:18px;border:1px solid #bd96de40;border-radius:16px;background:#241a38;color:#f1eafe;overflow:auto}
.brand-video-dialog h2{font-size:20px;margin:0 36px 14px 0;letter-spacing:0}
.brand-video-close{float:right;padding:0 6px;background:transparent;color:#aa9abc;font-size:25px}
.brand-video-dialog video{max-height:calc(calc(var(--stable-vh, 1svh) * 100) - var(--broadcast-space) - 140px);object-fit:contain}

.visit-entry-editor{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:10px}.visit-entry-tabs{display:flex;gap:6px;width:100%}.admin-wrap .visit-entry-tabs button{background:#ffd70018;color:#c9bd83;border:1px solid #ffd70030}.admin-wrap .visit-entry-tabs button[aria-pressed=true]{background:#ffe044;color:#000}.visit-entry-editor>input[type=text]{width:100%}.visit-entry-editor>span{width:100%;font-size:12px;color:#c9bd83}.visit-entry-editor input[hidden]{display:none!important}
.brand-document-dialog{box-sizing:border-box;width:min(800px,calc(100% - 20px));max-height:calc(calc(var(--stable-vh, 1svh) * 100) - var(--broadcast-space) - 20px);padding:16px;background:#241a38;color:#f1eafe;border:1px solid #bd96de40;border-radius:16px;overflow:auto}.brand-document-dialog h2{font-size:20px;letter-spacing:0;margin:0 35px 8px 0}.brand-document-dialog p{font-size:12px;overflow-wrap:anywhere;color:#aa9abc}.brand-document-dialog iframe{display:block;width:100%;height:calc(var(--stable-vh, 1svh) * 60);border:0;background:white}.document-actions{display:flex;gap:10px;margin-top:12px}.document-actions a{font-size:13px;padding:8px 12px;border-radius:8px;background:#bd96de20;color:#dfcaed;text-decoration:none}


.real-book-transition{position:fixed;inset:0;margin:0;padding:0;border:0;width:100vw;max-width:none;height:calc(var(--stable-vh, 1svh) * 100);max-height:none;background:#171023;outline:none;overflow:hidden;-webkit-tap-highlight-color:transparent}
.real-book-transition::backdrop{background:transparent}
.real-book-host{position:relative;width:100%;height:100%;overflow:hidden;background:#171023}
.real-book-page{overflow:hidden;background:#241a34;color:#f8f0ff;border-right:1px solid #c5ac7966}
.real-book-page.paper-thin{background:#2b203d;border-color:#dfc89933}
.real-book-page.paper-heavy{background:#21192c;border-right:2px solid #d7bb86}
.real-book-page>*{pointer-events:none}

.admin-body .visit-entry-tabs button{position:relative;min-width:120px;min-height:60px;padding:10px 16px 23px;font-weight:500;line-height:1.25}
.admin-body .visit-entry-tabs button[aria-pressed="true"]{font-weight:800;background:#ffe665;color:#161307;border-color:#ffe665;box-shadow:inset 0 0 0 1px #fff4ad}
.admin-body .visit-entry-tabs .entry-first-badge{position:absolute;right:5px;bottom:4px;display:inline-block;padding:2px 4px;border-radius:3px;background:#72dd83;color:#000;font-size:10px;line-height:1.1;font-weight:700;white-space:nowrap;letter-spacing:0}
.admin-body #visit-button-editor>.visit-editor-row{border-bottom:0;padding-bottom:22px}
.admin-body #visit-button-editor>.visit-editor-row:not(:last-child){border-bottom:8px solid #9850d2;margin-bottom:10px}
/* Separate brand editor and action cards while retaining one native form. */
.admin-body #settings-form.brand-settings-layout{display:block;padding:0;border:0;background:transparent;margin:20px 0}
.admin-body .brand-settings-content,.admin-body .brand-settings-actions{border:1px solid #ffd70030;background:#15150f;border-radius:18px;padding:20px}
.admin-body .brand-settings-content>h2{margin-top:0}
.admin-body .brand-settings-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:22px}
.admin-body .brand-settings-actions>button{width:100%;min-height:44px}
@media(max-width:650px){.admin-body .brand-settings-content,.admin-body .brand-settings-actions{padding:16px}.admin-body .brand-settings-actions{margin-top:18px}}
/* Only the temporary paper copies suppress expensive live visual effects. */
.real-book-page{contain:layout paint;will-change:transform}
.book-page-copy,.book-page-copy *{animation:none!important;transition:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

/* Keep the regional ordering list separate from merchant editing. */
.admin-body .admin-order-card{margin-top:24px;padding:22px;border:1px solid #ffd70040;border-radius:18px;background:#15150f;overflow:hidden}
.admin-body :is(#admin-merchants,#admin-ktvs) h3{margin:26px 0 10px;padding:0 0 12px;font-size:18px;line-height:1.5;color:#fff0b2}
.admin-body :is(#admin-merchants,#admin-ktvs) h3:first-child{margin-top:0}
.admin-body :is(#admin-merchants,#admin-ktvs) .admin-row{padding:14px 0;gap:10px}
.admin-body :is(#admin-merchants,#admin-ktvs) .admin-row:last-child{border-bottom:0;padding-bottom:0}
.admin-body :is(#admin-merchants,#admin-ktvs) .admin-row>span{min-width:0;overflow-wrap:anywhere;line-height:1.6}
.admin-body :is(#admin-merchants,#admin-ktvs) .admin-row button{min-height:40px;flex:0 0 auto}
@media(max-width:650px){.admin-body .admin-order-card{margin-top:20px;padding:16px;border-radius:16px}.admin-body :is(#admin-merchants,#admin-ktvs) h3{font-size:16px}.admin-body :is(#admin-merchants,#admin-ktvs) .admin-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.admin-body :is(#admin-merchants,#admin-ktvs) .admin-row>span{grid-column:1/-1}.admin-body :is(#admin-merchants,#admin-ktvs) .admin-row button{padding:10px 4px;font-size:12px}}

.brand-document-dialog{width:min(420px,calc(100% - 32px));padding:24px;border-radius:20px}.brand-document-dialog h2{margin:0 36px 22px 0;line-height:1.4}.brand-document-dialog .document-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin:0}.brand-document-dialog .document-actions>a,.brand-document-dialog .document-actions>button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;padding:14px 16px;border:1px solid #bd96de55;border-radius:12px;background:#bd96de20;color:#f1eafe;font-family:inherit;font-size:16px;font-weight:600;line-height:1.4;text-align:center;text-decoration:none;-webkit-tap-highlight-color:transparent}.brand-document-dialog .document-actions>button:disabled{opacity:.45;cursor:default}

.brand-video-stage{touch-action:pan-y;overflow:hidden}.brand-video-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;color:#cdb7de;font-size:12px}.brand-video-pagination button{min-width:40px;min-height:40px;background:#bd96de20;color:#f1eafe;border:1px solid #bd96de40;border-radius:10px;font-size:24px}.brand-video-pagination button:disabled{opacity:.3}

.brand-video-dialog .brand-video-stage video{display:block;width:100%;height:auto;object-fit:contain}.brand-video-dialog .brand-video-stage .simple-video-player{width:100%;margin:0}

body.brand-modal-lock{position:fixed;left:0;right:0;top:var(--brand-scroll-top,0px);width:100%;overflow:hidden;overscroll-behavior:none}#brand-document-dialog{overflow:hidden;overscroll-behavior:none;touch-action:none}#brand-document-dialog::backdrop,#brand-video-dialog::backdrop{touch-action:none}
body.brand-modal-lock .merchant-results{overflow:hidden;touch-action:none}
.visit-entry-file-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;width:100%}.visit-entry-file-row>span{min-width:0;overflow-wrap:anywhere;font-size:12px;color:#c9bd83}.admin-body .visit-entry-file-row>button{flex-shrink:0;padding:7px 12px;min-height:34px;font-size:12px}
.visit-video-list{grid-column:1/-1;display:grid;gap:10px}.visit-video-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;border:1px solid #9850d255;border-radius:12px;background:#9850d210}.visit-video-row>a{flex:1 1 200px;min-width:0;overflow-wrap:anywhere;color:#eed5ff;font-size:13px}.visit-video-controls{display:flex;flex-wrap:wrap;gap:8px}.visit-delete-footer{grid-column:1/-1;display:flex;justify-content:flex-end;padding-top:12px}.admin-body .visit-delete-footer .visit-delete-button{background:#dc303c;color:#fff;border:1px solid #dc303c;font-weight:700}.admin-body .visit-delete-footer .visit-delete-button:hover{background:#c22330;color:#fff}
.visit-delete-footer{justify-content:space-between;align-items:center;gap:12px}.visit-order-actions{display:flex;gap:8px;align-items:center}.visit-delete-footer>.visit-delete-button{margin-left:auto}
.admin-body .visit-order-actions>button{background:#7c3db5;color:#fff;border:1px solid #a56bd5;font-weight:700}.admin-body .visit-order-actions>button:hover:not(:disabled){background:#914acb;color:#fff}.admin-body .visit-order-actions>button:disabled{background:#56336f;color:#e7d7f3;border-color:#79528f;opacity:.65}
.admin-body .visit-video-row>a,.admin-body .visit-video-row>a:visited,.admin-body .visit-video-row>a:hover{color:#000}
#catalog-panel:has(.brand-results) .catalog-top{margin-bottom:10px}#catalog-panel:has(.brand-results) .filter-bar{margin-bottom:8px}#catalog-panel:has(.brand-results) .result-caption{margin-bottom:8px}.merchant-results.brand-results{gap:10px;align-content:start}.visit-brand-shell .visit-brand-card{box-sizing:border-box;min-height:148px;padding:12px 10px;gap:8px;align-content:center}.visit-brand-card .visit-brand-emblem{width:64px;height:64px;border-radius:16px}.visit-brand-card .brand-note{margin-top:3px}@media(max-width:650px){#catalog-panel:has(.brand-results){padding-top:max(10px,env(safe-area-inset-top))}.merchant-results.brand-results{gap:8px}.visit-brand-shell .visit-brand-card{min-height:136px;padding:10px 5px;gap:7px;border-radius:14px}.visit-brand-card .visit-brand-emblem{width:56px;height:56px;border-radius:14px}.visit-brand-card strong{font-size:clamp(16px,4.5vw,20px);line-height:1.3}.visit-brand-card .brand-note{font-size:11px;line-height:1.4;margin-top:3px}}@media(max-width:360px){.visit-brand-shell .visit-brand-card{min-height:130px;padding:9px 4px;gap:6px}.visit-brand-card .visit-brand-emblem{width:52px;height:52px}}
.merchant-results.brand-results{grid-auto-rows:minmax(148px,auto)}.visit-brand-shell .visit-brand-card{align-content:start}@media(max-width:650px){.merchant-results.brand-results{grid-auto-rows:minmax(136px,auto)}}@media(max-width:360px){.merchant-results.brand-results{grid-auto-rows:minmax(130px,auto)}}
.admin-body .visit-icon-input,.visit-brand-card .visit-brand-emblem{font-family:KaiTi,STKaiti,"Kaiti SC","Kaiti TC",DFKai-SB,serif;font-weight:400;font-synthesis:none}.admin-body .visit-icon-input{font-size:22px;line-height:1.4}.visit-brand-card .visit-brand-emblem{font-size:34px;line-height:1;letter-spacing:0}@media(max-width:650px){.visit-brand-card .visit-brand-emblem{font-size:32px}}@media(max-width:360px){.visit-brand-card .visit-brand-emblem{font-size:30px}}
.admin-body .visit-icon-input,.visit-brand-card .visit-brand-emblem{font-family:ClubKai,KaiTi,STKaiti,serif;font-weight:400;font-synthesis:none}
@media(max-width:600px){.admin-body .admin-wrap{box-sizing:border-box;width:100%;max-width:100%;padding:8px;margin:8px auto}.admin-body .admin-layout{grid-template-columns:88px minmax(0,1fr);gap:8px}.admin-body .admin-panels,.admin-body .admin-panel,.admin-body .admin-form,.admin-body .brand-settings-content,.admin-body .visit-editor-row{min-width:0;max-width:100%;box-sizing:border-box}.admin-body .admin-sidebar{padding:6px;gap:4px}.admin-body .admin-sidebar button{padding:9px 4px;font-size:11px;overflow-wrap:anywhere}.admin-body .brand-settings-content,.admin-body .brand-settings-actions{padding:10px;border-radius:14px}.admin-body .visit-entry-tabs{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.admin-body .visit-entry-tabs>button{min-width:0;width:100%;min-height:52px;padding:8px 3px 21px;font-size:12px;box-sizing:border-box}.admin-body .visit-entry-tabs .entry-first-badge{font-size:9px;right:3px;bottom:3px}.admin-body .visit-editor-row input,.admin-body .visit-editor-row textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.admin-body .visit-image-preview{flex-wrap:wrap;gap:8px}.admin-body .visit-image-preview>span{flex:1 1 120px;min-width:0;overflow-wrap:anywhere}.admin-body .visit-editor-actions{gap:6px}.admin-body .visit-editor-actions>button,.admin-body .visit-video-controls>button,.admin-body .visit-entry-file-row>button{padding:8px;font-size:11px}.admin-body .visit-video-row{padding:8px;gap:6px;min-width:0}.admin-body .visit-video-row>a{box-sizing:border-box;max-width:100%;font-size:11px;padding:8px}.admin-body .visit-video-controls{gap:5px}.admin-body .visit-delete-footer{gap:5px}.admin-body .visit-order-actions{gap:5px}.admin-body .visit-delete-footer button{padding:9px 7px;font-size:11px;white-space:nowrap}.admin-body .visit-entry-editor{min-width:0;gap:7px}.admin-body .visit-entry-editor>a,.admin-body .visit-entry-editor>button{padding:8px;font-size:11px}.admin-body .brand-settings-actions>button{font-size:12px;padding:10px}}
.password-settings-form{margin-bottom:18px}.password-settings-form h3,.password-settings-form p{grid-column:1/-1;margin:0;overflow-wrap:anywhere}.password-settings-form input{box-sizing:border-box;min-width:0;max-width:100%}
#home .section-heading h2{font-size:25px;font-weight:400;line-height:1.3;letter-spacing:2px}@media(max-width:650px){#home .section-heading h2{font-size:20px;font-weight:400;line-height:1.3;letter-spacing:2px}}
.merchant-map-button,.detail-heading-actions .merchant-map-button,.detail-heading-actions .detail-phone-button{box-sizing:border-box;flex:0 0 36px;width:36px;height:36px;min-width:36px;min-height:36px;max-width:36px;max-height:36px;padding:3px;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:8px;line-height:10px;text-decoration:none}.detail-phone-button svg,.merchant-map-button svg{width:17px;height:17px;flex-shrink:0}.detail-phone-button span{white-space:nowrap}.detail-heading-actions{gap:6px}
.merchant-detail .detail-heading,.merchant-detail.club-detail .club-info-heading{margin-bottom:8px}.merchant-detail .consumption-price-panel{margin-top:0;padding-top:10px}.merchant-detail .consumption-price-panel h4{font-size:17px;line-height:1.35;margin-bottom:6px}.merchant-detail .consumption-price-panel p{font-size:16px;line-height:1.65}
.merchant-map-button,.detail-heading-actions .merchant-map-button,.detail-heading-actions .detail-phone-button{flex-basis:44px;width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;max-height:44px;border-radius:11px;padding:4px;gap:2px;font-size:9px;line-height:11px}.merchant-map-button svg,.detail-phone-button svg{width:23px;height:23px}.detail-heading-actions .detail-phone-button{background:linear-gradient(180deg,#36d867,#21b64b);border:1px solid #21b64b;color:#fff}.detail-heading-actions .detail-phone-button:visited{color:#fff}.detail-heading-actions .detail-phone-button span{font-size:8px;font-weight:600;letter-spacing:0}.detail-heading-actions{gap:7px}@media(max-width:360px){.detail-title-row{gap:5px}.detail-heading-actions{gap:5px}}
#catalog-results .merchant-map-button,#merchant-detail .merchant-map-button{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;max-height:44px;padding:4px;gap:2px;border:1px solid #ffd35b40;border-radius:11px;background:#000000;color:#ffd35b;font-family:inherit;font-size:9px;font-weight:400;line-height:11px;letter-spacing:0}#catalog-results .merchant-map-button svg,#merchant-detail .merchant-map-button svg{display:block;width:23px;height:23px;min-width:23px;min-height:23px;flex:0 0 23px}#catalog-results .merchant-map-button span,#merchant-detail .merchant-map-button span{font-size:9px;font-weight:400;line-height:11px;letter-spacing:0;white-space:nowrap}.detail-heading-actions .detail-phone-button span{font-size:9px;line-height:11px}

.duration-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.duration-fields label{min-width:0}.duration-fields input{width:100%;min-width:0;box-sizing:border-box}@media(max-width:600px){.duration-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}

/* Keep touch scrolling while disabling page pinch and double-tap zoom. */
html,body{touch-action:pan-x pan-y}@media(max-width:600px){input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select{font-size:16px!important}}

/* Align catalog search, area and sort text on one shared baseline. */
#catalog-panel .filter-bar #catalog-query,#catalog-panel .filter-bar #catalog-area,#catalog-panel .filter-bar #catalog-sort{height:42px;box-sizing:border-box;font-family:inherit;font-size:17px!important;font-weight:600;line-height:22px;letter-spacing:0;padding-top:9px;padding-bottom:9px;margin-top:0;margin-bottom:0;vertical-align:middle}#catalog-panel .filter-bar #catalog-query::placeholder{font-family:inherit;font-size:inherit;font-weight:600;line-height:inherit}#catalog-panel .filter-bar{align-items:center}@media(max-width:360px){#catalog-panel .filter-bar #catalog-query,#catalog-panel .filter-bar #catalog-area,#catalog-panel .filter-bar #catalog-sort{font-size:16px!important}}

#session-duration-form.duration-card{display:block;padding:16px;margin:16px 0}#session-duration-form h3{margin:0 0 5px;font-size:18px}#session-duration-form p{margin:0 0 12px;font-size:12px;line-height:1.5}.duration-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.duration-choice{min-width:0}.duration-choice summary{list-style:none;cursor:pointer;background:#f9df42;color:#000;padding:11px 10px;border-radius:10px;font-size:14px;font-weight:600;text-align:center}.duration-choice summary::-webkit-details-marker{display:none}.duration-countdown{display:block!important;color:#ff6565;font-size:11px;line-height:1.5;margin:6px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.duration-choice .duration-fields{margin-top:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.duration-choice details:not([open]) .duration-fields{display:none}.duration-save{width:100%;margin-top:12px}#session-duration-form:not(:has(details[open])) .duration-save{display:none}@media(max-width:600px){.duration-choices{gap:8px}.duration-choice summary{font-size:12px;padding:10px 5px}}

.filter-drawer{position:relative;min-width:0;z-index:5}.filter-drawer.open{z-index:6}#catalog-panel .filter-bar select.filter-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;border:0!important;opacity:0;pointer-events:none;clip-path:inset(50%)}#catalog-panel .filter-drawer-toggle{width:100%;height:42px;display:flex;align-items:center;justify-content:space-between;gap:5px;padding:9px 8px;border:1px solid #bd96de35;border-radius:10px;background:#241a38;color:#f1eafe;font-family:inherit;font-size:17px;font-weight:600;line-height:22px;text-align:left;cursor:pointer}.filter-drawer-toggle span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.filter-drawer-toggle i{flex:0 0 7px;height:7px;border-right:1px solid #cdb7de;border-bottom:1px solid #cdb7de;transform:rotate(45deg);margin-right:3px;margin-top:-4px;transition:transform 140ms}.filter-drawer.open .filter-drawer-toggle i{transform:rotate(225deg);margin-top:3px}.filter-drawer-list{position:absolute;top:calc(100% + 4px);left:0;width:100%;max-height:300px;max-height:min(300px,calc(var(--stable-vh, 1svh) * 50));overflow:auto;border:1px solid #bd96de50;border-radius:10px;background:#241a38;box-shadow:0 8px 20px #0006;transform-origin:top;transform:translateY(-5px) scaleY(.94);opacity:0;visibility:hidden;pointer-events:none;transition:transform 140ms ease-out,opacity 140ms ease-out,visibility 140ms;overscroll-behavior:contain}.filter-drawer.open .filter-drawer-list{transform:translateY(0) scaleY(1);opacity:1;visibility:visible;pointer-events:auto}#catalog-panel .filter-drawer-list button{display:block;width:100%;min-height:40px;padding:10px 7px;background:transparent;color:#f1eafe;border:0;border-radius:0;border-bottom:1px solid #bd96de18;font-family:inherit;font-size:15px;font-weight:500;line-height:20px;text-align:left;overflow-wrap:anywhere;cursor:pointer}#catalog-panel .filter-drawer-list button[aria-selected=true]{background:#bd96de25;color:#e1b4ff;font-weight:600}.filter-drawer-list button:focus-visible{outline:2px solid #bd96de;outline-offset:-2px}@media(max-width:360px){#catalog-panel .filter-drawer-toggle{font-size:16px}}@media(prefers-reduced-motion:reduce){.filter-drawer-list,.filter-drawer-toggle i{transition:none}}

.filter-drawer-list{scrollbar-width:none}.filter-drawer-list::-webkit-scrollbar{display:none}#catalog-panel .filter-drawer-list button{font-size:14px;padding-left:5px;padding-right:5px;white-space:nowrap}


/* Screen geometry remains stable while the software keyboard opens/closes. */
#catalog-panel{bottom:auto;height:calc(var(--stable-vh,1svh)*100 - var(--broadcast-space));box-sizing:border-box}.catalog-inner{width:100%;max-width:980px;height:100%;flex:1 1 0;margin:0 auto;min-height:0}.catalog-top,.filter-bar,.result-caption{flex-shrink:0}.merchant-results{overflow-anchor:none}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}#home,#login,#catalog-panel{transition:none!important}#home:has(input:focus) .region,#home:has(input:focus) .service{transition:none!important}

.filter-scroll-track{position:absolute;z-index:8;right:3px;top:48px;width:3px;border-radius:4px;background:#cdb7de0d;opacity:0;pointer-events:none}.filter-drawer.open .filter-scroll-track{opacity:1}.filter-scroll-thumb{display:block;width:3px;border-radius:4px;background:#dfcaed66;will-change:transform}#catalog-panel .filter-drawer-list button{padding-right:8px;font-size:13px}

/* Shared fourth club tier badge for cards and details. */
.club-tier-shiatsu{background:#4285f4;color:#fff}
.merchant-card{min-width:0;box-sizing:border-box}
.merchant-copy h3{overflow-wrap:anywhere}
.merchant-name-row h3{white-space:normal}
#member-notice p{font-size:18px;line-height:1.7;overflow-wrap:anywhere}
#home .section-heading:not(.services-heading) h2{font-size:var(--brand-font-size,24px);line-height:1.2}
#home .brand{gap:8px;width:100%;min-width:0}
#home .brand-divider{margin:0 3px}
#home header .brand .location{display:block;flex:1;min-width:0;max-width:none;font-size:calc(var(--brand-font-size,24px)*.78);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:clip}
.location-track{display:block;width:max-content;visibility:hidden;will-change:transform}
.location-track.location-ready{visibility:visible;animation:location-scroll var(--location-duration,4s) linear infinite}
@keyframes location-scroll{from{transform:translateX(var(--location-start))}to{transform:translateX(var(--location-end))}}
@media(prefers-reduced-motion:reduce){.location-track.location-ready{animation:none}}
.detail-name-group h2,.club-info-heading .detail-name-group h2{white-space:normal;overflow-wrap:anywhere}
@media(max-width:650px){.merchant-results:not(.brand-results){grid-template-columns:minmax(0,1fr)}}
/* All admin select fields use an inline drawer; native controls remain for form data. */
.admin-form select.admin-select-native{display:none!important}
.admin-select-drawer{position:relative;width:100%;min-width:0;z-index:1}
.admin-select-drawer.open{z-index:30}
.admin-body .admin-wrap .admin-select-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;box-sizing:border-box;padding:11px;border:1px solid #ffd70050;border-radius:9px;background:#000;color:#f5f0d8;font:inherit;font-size:16px;line-height:22px;text-align:left}
.admin-select-toggle span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-select-toggle i{flex:0 0 7px;height:7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);margin-right:3px;margin-top:-4px;transition:transform 140ms ease-out}
.admin-select-drawer.open .admin-select-toggle i{transform:rotate(225deg);margin-top:3px}
.admin-select-options{position:absolute;top:calc(100% + 4px);left:0;width:100%;box-sizing:border-box;max-height:280px;max-height:min(280px,calc(var(--stable-vh,1svh)*40));overflow:auto;overscroll-behavior:contain;border:1px solid #ffd70050;border-radius:9px;background:#11110d;box-shadow:0 8px 20px #0009;transform-origin:top;transform:translateY(-5px) scaleY(.94);opacity:0;visibility:hidden;pointer-events:none;transition:transform 140ms ease-out,opacity 140ms ease-out,visibility 140ms;scrollbar-width:none}
.admin-select-options::-webkit-scrollbar{display:none}
.admin-select-drawer.open .admin-select-options{transform:translateY(0) scaleY(1);opacity:1;visibility:visible;pointer-events:auto}
.admin-wrap .admin-select-options button{display:block;width:100%;min-height:44px;padding:11px 14px 11px 11px;border:0;border-bottom:1px solid #ffd70018;border-radius:0;background:transparent;color:#f5f0d8;font:inherit;font-size:16px;line-height:22px;text-align:left;overflow-wrap:anywhere}
.admin-wrap .admin-select-options button[aria-selected=true]{background:#ffd70020;color:#ffd700;font-weight:600}
.admin-select-toggle:focus-visible,.admin-select-options button:focus-visible{outline:2px solid #ffd700;outline-offset:-2px}
.admin-select-toggle:disabled,.admin-select-options button:disabled{opacity:.45;cursor:default}
.admin-select-track{position:absolute;right:3px;width:3px;border-radius:4px;background:#ffeaa30d;pointer-events:none;opacity:0}
.admin-select-drawer.open .admin-select-track{opacity:1}
.admin-select-thumb{display:block;width:3px;border-radius:4px;background:#ffeaa366}
@media(prefers-reduced-motion:reduce){.admin-select-options,.admin-select-toggle i{transition:none}}

.admin-body{margin:0}
.announcement-mode-controls{display:flex;gap:10px;flex-wrap:wrap}
.admin-form .announcement-mode-controls label{display:flex;align-items:center;gap:8px;padding:12px 18px;border:1px solid #ffd70050;border-radius:9px;background:#000;cursor:pointer}
.admin-form .announcement-mode-controls label:has(input:checked){background:#ffe34a;color:#000;font-weight:700}
.admin-form .announcement-mode-controls input{width:18px;height:18px;margin:0;accent-color:#000}
#news-feed-status{margin:0;line-height:1.6;overflow-wrap:anywhere}
#announcement-form [hidden]{display:none!important}
/* KTV filters share one row with four equal cells at every phone width. */
#catalog-panel.ktv-catalog #catalog-title{font-size:clamp(19px,5.1vw,22px);line-height:1.35}
/* Let the fixed announcement overlay the scrolling list, with no exposed gutter. */
#catalog-panel{height:calc(var(--stable-vh,1svh)*100);padding-bottom:0}
#catalog-panel .merchant-results{box-sizing:border-box;padding-bottom:var(--broadcast-space);scroll-padding-bottom:var(--broadcast-space)}
#catalog-results:has(.club-merchant-card){scrollbar-width:none}
#catalog-results:has(.club-merchant-card)::-webkit-scrollbar{display:none}

/* KTV分组与会所共用名称后的标签布局。 */
.ktv-tier-low{background:#526175;color:#fff}
.ktv-tier-mid{background:#2563EB;color:#fff;font-weight:800}
.ktv-tier-high{background:#F4C542;color:#17130A;font-weight:800}

#ktv-form label:has(select[name="ktvTier"]) .admin-select-toggle,
#ktv-form label:has(select[name="ktvTier"]) .admin-select-options button{font-size:18px;line-height:22px}

/* 所有KTV卡片：店名、分组与地图同排，下沿对齐。 */
#catalog-results .ktv-merchant-card .merchant-name-row{padding-right:0;align-items:flex-end;flex-wrap:nowrap;gap:5px;min-height:28px;max-height:28px}
#catalog-results .ktv-merchant-card .merchant-name-row h3{flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
#catalog-results .ktv-merchant-card .merchant-name-row .ktv-tier{align-self:flex-end;height:28px;box-sizing:border-box;padding:0 6px;font-size:11px;letter-spacing:0}
#catalog-results .ktv-merchant-card .merchant-name-row .merchant-map-button{position:static;align-self:flex-end;flex:0 0 28px;width:28px;height:28px;min-width:28px;min-height:28px;max-width:28px;max-height:28px;margin:0 0 0 auto;padding:1px;gap:0;border-radius:7px;font-size:8px;line-height:10px}
#catalog-results .ktv-merchant-card .merchant-map-button svg{width:14px;height:14px;min-width:14px;min-height:14px;max-width:14px;max-height:14px;flex:0 0 14px}
#catalog-results .ktv-merchant-card .merchant-map-button span{display:block;flex:0 0 10px;font-size:8px;line-height:10px;white-space:nowrap}

.ktv-merchant-card{--cover-height:100.5px;height:calc(var(--cover-height)*2 + 6px + var(--card-padding)*2 + 2px)}
.ktv-merchant-card .merchant-cover-strip{grid-template-rows:repeat(2,var(--cover-height))}
.ktv-feature-panel{box-sizing:border-box;border:1px solid #ef91b75c;border-radius:8px;padding:6px;margin:6px 0;background:#f5a7c316;color:#000}
.ktv-feature-grid,.ktv-feature-checkboxes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}
.ktv-feature-tag{display:flex;align-items:center;justify-content:center;min-width:0;padding:2px;border-radius:4px;background:#F5A7C3;color:#000;font-size:11px;font-weight:600;line-height:14px;white-space:nowrap}
.ktv-merchant-card .ktv-feature-panel{flex:0 0 auto;margin:4px 0 0;padding:4px}
.ktv-merchant-card .ktv-feature-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}
.ktv-merchant-card .ktv-feature-tag{font-size:clamp(9px,3vw,14px);font-weight:700;line-height:16px;padding:2px 1px}
.ktv-merchant-card .consumption-price-panel{padding:6px 8px}
.ktv-merchant-card .consumption-price-panel h4{margin-bottom:3px}
.admin-wrap .ktv-feature-editor{min-width:0;margin:0;padding:12px;border:1px solid #ffd70050;border-radius:9px}
.ktv-feature-editor legend{padding:0 5px;font-weight:700}
.admin-wrap .ktv-feature-checkboxes label{display:flex;flex-direction:row;align-items:center;gap:4px;min-width:0;margin:0;padding:6px 3px;border-radius:5px;background:#F5A7C3;color:#000;font-size:12px;line-height:16px;cursor:pointer}
.admin-wrap .ktv-feature-checkboxes input[type=checkbox]{appearance:none;-webkit-appearance:none;flex:0 0 12px;width:12px;height:12px;min-height:0;margin:0;padding:0;border:1px solid #1b1116;border-radius:2px;background:transparent;cursor:pointer}
.admin-wrap .ktv-feature-checkboxes input[type=checkbox]:checked{background:#171015}
.admin-wrap .ktv-feature-checkboxes input[type=checkbox]:checked:after{content:'✓';display:block;color:#fff;text-align:center;font-size:10px;line-height:10px}
.admin-wrap .ktv-feature-checkboxes input:focus-visible{outline:2px solid #000;outline-offset:2px}
@media(max-width:650px){.ktv-merchant-card{--cover-height:83px}.admin-wrap .ktv-feature-editor{padding:8px}.ktv-feature-checkboxes{gap:3px}.admin-wrap .ktv-feature-checkboxes label{gap:2px;padding:5px 2px;font-size:10px;line-height:13px}.admin-wrap .ktv-feature-checkboxes input[type=checkbox]{flex-basis:10px;width:10px;height:10px}.admin-wrap .ktv-feature-checkboxes input[type=checkbox]:checked:after{font-size:8px;line-height:8px}.club-sheet-scroll .ktv-feature-tag{font-size:clamp(9px,2.7vw,11px)}}

.merchant-name-row :is(.club-tier-low,.club-tier-mid,.club-tier-high){font-size:13px;font-weight:900;padding:0 7px;border:0;border-radius:8px}
.detail-name-group :is(.club-tier-low,.club-tier-mid,.club-tier-high){font-size:15px;font-weight:900;padding:0 8px;border:0;border-radius:8px}

#catalog-panel .filter-bar.club-filters:has(#catalog-budget[hidden]):has(#catalog-area:not([hidden])){grid-template-columns:minmax(0,1fr) 104px 120px}
#catalog-panel .club-filters .filter-drawer:has(#catalog-area) .filter-drawer-toggle span{flex:0 0 auto;text-overflow:clip}
@media(max-width:360px){#catalog-panel .filter-bar.club-filters:has(#catalog-budget[hidden]):has(#catalog-area:not([hidden])){grid-template-columns:minmax(0,1fr) 100px 115px;gap:5px}}

.ktv-feature-add{display:flex;gap:8px;margin-top:12px;align-items:center}.admin-wrap .ktv-feature-add input{flex:1;min-width:0}.admin-wrap .ktv-feature-add button{flex:0 0 auto;margin:0;padding:10px 12px}.ktv-merchant-card .ktv-feature-panel{flex:0 1 auto;min-height:0;overflow-y:auto}

.ktv-merchant-card .ktv-feature-panel{position:relative;display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden}.ktv-merchant-card .ktv-feature-grid{min-height:0;overflow-y:auto;align-content:start;width:100%}.ktv-performer-pay{border:1px solid #b69acc55;border-radius:8px;padding:6px 8px;margin-top:6px;background:#ffffff08}.ktv-performer-pay p{margin:0;color:inherit;font-size:13px;line-height:20px}.ktv-merchant-card .ktv-performer-pay{flex:0 0 auto;min-width:0;padding:4px 6px;margin-top:5px}.ktv-merchant-card .ktv-performer-pay p{font-size:clamp(9px,2.6vw,12px);line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ktv-feature-panel .club-price-more{bottom:3px}

.merchant-button-settings{min-width:0;padding:12px;border:1px solid #ffd70050;border-radius:9px;margin:0}.merchant-button-settings legend{font-weight:700}

.admin-form .merchant-button-settings{box-sizing:border-box;padding:8px 12px;text-align:left}.admin-form .merchant-button-settings legend{font-size:14px;padding:0 4px}.admin-form .merchant-button-settings .admin-map-toggle{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;box-sizing:border-box;min-height:36px;margin:0;padding:6px 0;gap:12px;font-size:14px}.merchant-button-settings .admin-map-toggle>span:first-child{flex:1;min-width:0;text-align:left}.merchant-button-settings .admin-switch-track{flex-shrink:0}.admin-form .merchant-button-settings .admin-map-toggle input{top:50%;transform:translateY(-50%);padding:0;min-height:24px}.admin-wrap .merchant-button-settings .admin-map-toggle-hint{font-size:12px;margin:6px 0 0;line-height:1.5}

.ktv-merchant-card .ktv-feature-panel{flex:0 1 auto;padding:4px}.ktv-merchant-card .ktv-performer-pay{display:flex;align-items:center;flex:0 0 32px;height:32px;min-height:32px;box-sizing:border-box;padding:5px 6px;margin-top:5px;overflow:hidden}.ktv-merchant-card .ktv-performer-pay p{margin:0;width:100%;font-size:clamp(13px,3.6vw,16px);font-weight:600;line-height:1.2;white-space:normal;overflow-wrap:anywhere;overflow-y:auto;text-overflow:clip;max-height:100%;color:#f1eafe}

.club-detail .club-description-divider{margin:0 0 14px;border:0;border-top:1px solid #ece8ef}.club-detail .club-description-framed{padding:14px 16px;border:1px solid #ece8ef;border-radius:14px;background:#f7f5f9}

.merchant-detail.club-detail :is(.consumption-price-panel h4,.club-description-framed h4){font-family:inherit;font-size:17px;font-weight:600;line-height:1.35;letter-spacing:0;margin:0 0 6px;color:#33303a}.merchant-detail.club-detail :is(.consumption-price-panel p,.club-description-framed p){font-family:inherit;font-size:16px;font-weight:400;line-height:1.65;letter-spacing:normal;margin:0;color:#7a4d76}

.admin-wrap .ktv-feature-checkboxes label{position:relative;padding-right:14px}.admin-wrap .ktv-feature-checkboxes .ktv-feature-remove{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;width:14px;height:14px;min-height:0;padding:0;margin:0;border:0;border-radius:3px;background:transparent;color:#b71932;font-size:15px;font-weight:700;line-height:1;cursor:pointer}.ktv-feature-confirm{width:min(320px,calc(100vw - 32px));padding:20px}.ktv-feature-confirm #ktv-feature-confirm-question{font-size:17px;font-weight:600;margin:0 0 8px;line-height:1.5}.ktv-feature-confirm #ktv-feature-confirm-name{display:block;font-size:14px;color:#d8c78f}.ktv-feature-confirm #ktv-feature-confirm-error{font-size:13px;margin:8px 0;color:#ff9bad}.ktv-feature-confirm #ktv-feature-confirm-error:empty{display:none}.feature-confirm-actions{display:flex;gap:12px;margin-top:20px}.ktv-feature-confirm .feature-confirm-actions button{flex:1;margin:0;min-height:44px;min-width:0}.ktv-feature-confirm #ktv-feature-confirm-no{background:#373329;color:#ffebae}.ktv-feature-confirm #ktv-feature-confirm-yes{background:#ce304b;color:#fff}.ktv-feature-confirm button:disabled{opacity:.6}

#catalog-results .ktv-merchant-card .ktv-tier-high{font-size:12px}

#merchant-detail.club-detail .club-sheet-scroll .detail-section-title{font-family:inherit;font-size:17px;font-weight:600;line-height:1.35;letter-spacing:0;margin:0 0 6px;color:#33303a}

.club-detail .club-description-framed{margin-bottom:14px}.club-showcase-grid,.showcase-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.club-showcase-grid{max-height:360px;overflow-y:auto;overscroll-behavior:contain}.club-showcase-grid button{position:relative;aspect-ratio:1;min-width:0;padding:0;border:0;border-radius:8px;overflow:hidden;background:#eee}.club-showcase-grid :is(img,video),.showcase-admin-card> :is(img,video){display:block;width:100%;height:100%;object-fit:cover}.showcase-play{position:absolute;inset:0;display:grid;place-items:center;color:white;font-size:24px;text-shadow:0 1px 5px #000}.showcase-image-dialog{width:min(640px,calc(100vw - 24px));box-sizing:border-box}.showcase-image-dialog>img{display:block;width:100%;height:auto;max-height:calc(100svh - 180px);object-fit:contain}.club-showcase-editor{min-width:0;padding:12px;border:1px solid #ffd70040;border-radius:12px}.showcase-admin-card{min-width:0}.showcase-admin-card> :is(img,video){aspect-ratio:1;height:auto;border-radius:8px}.showcase-admin-card>div{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.admin-wrap .showcase-admin-card button{font-size:12px;padding:6px;margin:0;min-width:0;flex:1}

.club-showcase-grid button> :is(img,video){position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.club-showcase-grid button{width:100%;box-sizing:border-box}.showcase-admin-card> :is(img,video){object-fit:cover}

#merchant-detail.club-detail .club-sheet-scroll>.ktv-performer-pay{box-sizing:border-box;margin:0 0 14px;padding:10px 16px;border:1px solid #ece8ef;border-radius:14px;background:#f7f5f9}#merchant-detail.club-detail .club-sheet-scroll>.ktv-performer-pay p{margin:0;font-size:16px;line-height:1.65;color:#7a4d76;white-space:pre-wrap;overflow-wrap:anywhere}

.admin-form .ktv-contact-settings{padding:12px 14px}.admin-form .ktv-contact-settings .ktv-contact-phone{display:flex;flex-direction:column;gap:8px;margin:0 0 10px;width:100%}.admin-form .ktv-contact-settings .ktv-contact-phone input{width:100%;box-sizing:border-box}

.ktv-feature-add{flex-wrap:wrap}.admin-wrap .ktv-feature-color-label{display:flex;flex-direction:column;align-items:center;gap:3px;margin:0;font-size:11px;flex:0 0 54px}.admin-wrap #ktv-feature-color{width:44px;height:32px;min-height:32px;padding:2px;border-radius:6px;cursor:pointer}.admin-wrap .ktv-feature-checkboxes label{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab}.feature-editing label{animation:feature-wiggle .22s ease-in-out infinite alternate}.feature-editing label:nth-child(even){animation-direction:alternate-reverse}.feature-drag-placeholder{opacity:.25}.feature-drag-ghost{position:fixed;z-index:10000;box-sizing:border-box;display:flex;align-items:center;padding:5px;border-radius:6px;pointer-events:none;font-size:12px;box-shadow:0 6px 20px #0007;transform:scale(1.06);opacity:.95}.feature-saving{pointer-events:none;opacity:.8}@keyframes feature-wiggle{from{rotate:-.7deg}to{rotate:.7deg}}@media(prefers-reduced-motion:reduce){.feature-editing label{animation:none}}@media(max-width:650px){.ktv-feature-add>input{flex-basis:calc(100% - 70px)}.ktv-feature-add>button{width:100%}.feature-drag-ghost{font-size:10px}}

@media(max-width:650px){.admin-wrap .ktv-feature-checkboxes label{display:block;box-sizing:border-box;padding:16px 2px 4px;min-height:44px;text-align:center;font-size:10px;line-height:14px}.admin-wrap .ktv-feature-checkboxes label>input{position:absolute;top:2px;left:2px;width:10px;height:10px;transform:none}.admin-wrap .ktv-feature-checkboxes label>span{display:block;overflow-wrap:anywhere}.admin-wrap .ktv-feature-checkboxes .ktv-feature-remove{top:0;right:0}}

.ktv-existing-color-editor{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid #ffd70030}.admin-wrap .ktv-existing-color-editor>label:first-child{flex:1;min-width:140px;margin:0;display:flex;flex-direction:column;gap:6px}.admin-wrap .ktv-existing-color-editor select{width:100%;box-sizing:border-box}.admin-wrap #ktv-existing-color{width:44px;height:32px;min-height:32px;padding:2px;border-radius:6px}.admin-wrap .ktv-existing-color-editor button{margin:0;padding:10px 12px}.ktv-existing-color-editor>[role=status]{flex-basis:100%;font-size:12px;line-height:1.5;color:#c9bd83}.ktv-existing-color-editor>[role=status]:empty{display:none}@media(max-width:650px){.ktv-existing-color-editor{gap:8px}.admin-wrap .ktv-existing-color-editor>label:first-child{flex-basis:100%;min-width:0}.admin-wrap .ktv-existing-color-editor button{flex:1}}

.ktv-feature-editor>.ktv-existing-color-editor{margin-top:0;margin-bottom:14px;padding-top:0;padding-bottom:14px;border-top:0;border-bottom:1px solid #ffd70030}

#catalog-results .ktv-merchant-card{--ktv-card-height:239px;height:var(--ktv-card-height);min-height:var(--ktv-card-height);max-height:var(--ktv-card-height);flex-shrink:0;align-items:flex-start}#catalog-results .ktv-merchant-card .merchant-cover-strip{display:grid;flex:0 0 var(--cover-width);width:var(--cover-width);height:207px;min-height:207px;max-height:207px;grid-template-rows:repeat(2,100.5px)}#catalog-results .ktv-merchant-card .merchant-copy{flex:1;min-width:0;height:100%}#catalog-results .ktv-merchant-card .merchant-cover-strip>:is(img,.merchant-cover-placeholder){display:block;height:100.5px;min-height:100.5px;max-height:100.5px;width:100%;box-sizing:border-box}@media(max-width:650px){#catalog-results .ktv-merchant-card{--ktv-card-height:198px}#catalog-results .ktv-merchant-card .merchant-cover-strip{height:172px;min-height:172px;max-height:172px;grid-template-rows:repeat(2,83px)}#catalog-results .ktv-merchant-card .merchant-cover-strip>:is(img,.merchant-cover-placeholder){height:83px;min-height:83px;max-height:83px}}
#catalog-results .ktv-merchant-card .merchant-name-row .ktv-tier{width:45px;min-width:45px;max-width:45px;flex:0 0 45px;padding:0;justify-content:center;text-align:center}
#catalog-results .ktv-merchant-card .ktv-feature-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:20px;align-content:start;align-items:start;flex-shrink:1}#catalog-results .ktv-merchant-card .ktv-feature-tag{box-sizing:border-box;width:100%;height:20px;min-height:20px;max-height:20px;padding:2px 1px;line-height:16px;overflow:hidden;flex-shrink:0}
#catalog-results .ktv-merchant-card .ktv-feature-grid{scrollbar-width:none}#catalog-results .ktv-merchant-card .ktv-feature-grid::-webkit-scrollbar{display:none}
#catalog-results .club-merchant-card:not(.ktv-merchant-card).has-map .merchant-name-row{padding-right:0;align-items:flex-end}#catalog-results .club-merchant-card:not(.ktv-merchant-card) .merchant-name-row .merchant-map-button{position:static;align-self:flex-end;flex:0 0 28px;width:28px;height:28px;min-width:28px;min-height:28px;max-width:28px;max-height:28px;margin:0 0 0 auto;padding:1px;gap:0;border-radius:7px;overflow:hidden}#catalog-results .club-merchant-card:not(.ktv-merchant-card) .merchant-map-button svg{width:14px;height:14px;min-width:14px;min-height:14px;max-width:14px;max-height:14px;flex:0 0 14px}#catalog-results .club-merchant-card:not(.ktv-merchant-card) .merchant-map-button span{font-size:8px;line-height:10px;flex:0 0 10px;white-space:nowrap}
#catalog-results .ktv-merchant-card .merchant-copy{position:relative;padding-bottom:37px;box-sizing:border-box}#catalog-results .ktv-merchant-card .ktv-performer-pay{position:absolute;left:0;right:0;bottom:0;margin:0;height:32px;min-height:32px;max-height:32px;box-sizing:border-box}#catalog-results .ktv-merchant-card .ktv-performer-pay p{font-family:inherit;font-size:clamp(13px,3.6vw,16px);font-weight:600;line-height:1.2;scrollbar-width:none}#catalog-results .ktv-merchant-card .ktv-performer-pay p::-webkit-scrollbar{display:none}

.admin-wrap .showcase-admin-card .showcase-admin-preview{position:relative;display:block;width:100%;aspect-ratio:1;padding:0;border:0;border-radius:8px;overflow:hidden;background:#111;cursor:pointer}.showcase-admin-preview :is(img,video){display:block;width:100%;height:100%;object-fit:cover}.admin-showcase-preview{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100svh - 32px);margin:auto;padding:44px 12px 12px;border:1px solid #ffd70040;border-radius:16px;background:#17150d;overflow:auto}.admin-showcase-preview::backdrop{background:#000b}.admin-showcase-preview> :is(img,video){display:block;width:100%;max-height:calc(100svh - 100px);height:auto;object-fit:contain}.admin-showcase-close{position:absolute;right:8px;top:4px;width:36px;height:36px;padding:0;border:0;border-radius:8px;background:transparent;color:#fff;font-size:28px;cursor:pointer}

.visit-button-directory{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;max-height:260px;overflow:auto;margin:12px 0 20px}.admin-wrap .visit-button-directory button{margin:0;padding:12px;text-align:left;overflow-wrap:anywhere;background:#292514;color:#d6cc94;border:1px solid #ffd70030}.admin-wrap .visit-button-directory button[aria-current=page]{background:#f8df49;color:#17150d}.admin-wrap .visit-item-save{width:100%;margin-top:16px;min-height:44px}.brand-settings-layout{display:block}.brand-settings-actions{position:static!important}

#catalog-results .ktv-merchant-card .ktv-performer-pay p{white-space:nowrap;overflow:clip;text-overflow:ellipsis;overflow-wrap:normal;min-width:0}

.club-showcase-grid{overscroll-behavior:auto;touch-action:pan-y;-webkit-overflow-scrolling:touch}.club-showcase-grid button{touch-action:pan-y}.club-showcase-grid :is(img,video,.showcase-play){pointer-events:none;user-select:none;-webkit-user-drag:none}

.club-environment-editor{min-width:0;margin:0;padding:16px;border:1px solid #ffd70040;border-radius:12px;box-sizing:border-box}.club-environment-editor>label{display:block;min-width:0}.club-environment-editor>label+label{margin-top:16px;padding-top:16px;border-top:1px solid #ffd70026}.club-environment-editor input[type=file]{max-width:100%;box-sizing:border-box}.club-environment-editor legend{padding:0 6px;font-weight:600}


.ktv-feature-grid>.ktv-feature-wide,.ktv-feature-checkboxes>.ktv-feature-wide{grid-column:span 2}

.admin-wrap .ktv-feature-checkboxes input[type=checkbox]{width:20px;height:20px;min-width:20px;flex:0 0 20px}.feature-inline-tools[hidden]{display:none!important}.feature-inline-tools{display:flex;gap:3px;position:absolute;right:3px;bottom:2px;z-index:2}.admin-wrap .ktv-feature-checkboxes .feature-inline-tools button{position:static;font-size:10px;line-height:16px;padding:0 3px;border:1px solid #0003;border-radius:3px;background:#fff;color:#17150d;min-width:0;height:18px}.admin-wrap .ktv-feature-checkboxes .feature-name-editor{box-sizing:border-box;width:calc(100% - 22px);min-width:0;height:26px;padding:2px 3px;font-size:14px;color:#111;background:#fff;border:1px solid #333;border-radius:3px}

.ktv-feature-panel .club-price-more,.consumption-price-panel .club-price-more{width:22px;height:20px;min-width:0;min-height:0;padding:0;border:0;border-radius:8px;background:rgba(36,26,56,.35);box-shadow:0 1px 3px #0002;bottom:2px}.ktv-feature-panel .club-price-more svg,.consumption-price-panel .club-price-more svg{width:14px;height:14px}

.admin-wrap .ktv-feature-checkboxes{grid-template-columns:repeat(4,minmax(0,1fr))}



.admin-wrap .ktv-feature-checkboxes{align-items:start}.admin-wrap .ktv-feature-checkboxes>label{align-self:start}


.ktv-feature-checkboxes label:has(.feature-inline-tools:not([hidden])){padding-bottom:22px}.admin-wrap .ktv-feature-checkboxes .feature-name-editor{flex:1 1 0;width:0;min-width:0;max-width:100%;cursor:text;appearance:auto;-webkit-appearance:auto;margin:0}.ktv-feature-checkboxes label:has(.feature-name-editor){align-items:flex-start;padding-right:14px}
@media(max-width:600px){.admin-wrap .ktv-feature-checkboxes label:has(.feature-name-editor){grid-column:1 / -1;padding:6px 18px 24px 6px;min-height:56px;box-sizing:border-box}.admin-wrap .ktv-feature-checkboxes .feature-name-editor{flex:1 1 0;width:0;height:26px}.admin-wrap .ktv-feature-checkboxes label:has(.feature-name-editor) .feature-inline-tools{bottom:3px;right:5px}}
.admin-wrap .ktv-feature-checkboxes label:has(.feature-name-editor){display:flex!important;gap:5px}.admin-wrap .ktv-feature-checkboxes .feature-name-editor{min-height:26px}.admin-wrap .ktv-feature-checkboxes input.feature-name-editor{width:calc(100% - 30px)!important;flex:1 1 auto!important;display:inline-block!important}.admin-wrap .ktv-feature-checkboxes label:has(input.feature-name-editor){display:flex!important}

@media(max-width:600px){.admin-wrap .ktv-feature-checkboxes input[type=checkbox]{width:13px;height:13px;min-width:13px;min-height:13px;flex:0 0 13px;margin:0 3px 0 0;padding:0;vertical-align:middle}.admin-wrap .ktv-feature-checkboxes input[type=checkbox]:checked::after{font-size:11px;line-height:11px}}

.ktv-feature-grid,.club-sheet-scroll{touch-action:pan-y;overscroll-behavior-y:auto;-webkit-overflow-scrolling:touch}

.visit-entry-controls{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.visit-visibility{display:flex!important;align-items:center;gap:8px!important;cursor:pointer}.admin-wrap .visit-visibility input{appearance:none;-webkit-appearance:none;position:relative;width:48px!important;height:28px!important;min-width:48px;min-height:28px;padding:0!important;margin:0;border:0!important;border-radius:999px!important;background:#777!important;cursor:pointer}.admin-wrap .visit-visibility input::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:white;box-shadow:0 1px 3px #0003;transition:transform .18s}.admin-wrap .visit-visibility input:checked{background:#34c759!important}.admin-wrap .visit-visibility input:checked::after{transform:translateX(20px)}

.hotel-facility-tags{display:flex;flex-wrap:wrap;gap:5px;margin:9px 0}.hotel-facility-tags>span{font-size:11px;line-height:18px;padding:2px 7px;border-radius:5px;border:1px solid #bba1cf45;color:#dfc7ec;background:#bd96de12}.hotel-card{align-items:flex-start;position:relative}.hotel-card .merchant-thumb{height:130px;width:100px}.hotel-card .merchant-copy{flex:1;padding-right:6px}.admin-wrap .hotel-facility-editor{display:flex;gap:10px 18px;flex-wrap:wrap;border:1px solid #ffd70040;border-radius:12px;padding:14px}.hotel-facility-editor p{width:100%;margin:0;font-size:13px}.admin-wrap .hotel-facility-editor label{display:flex;align-items:center;gap:7px;font-size:14px}.admin-wrap .hotel-facility-editor input{width:16px;height:16px;min-height:0;padding:0;margin:0;accent-color:#fbe148}

#catalog-results .hotel-premium{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:10px;min-width:0;overflow:hidden;cursor:pointer;background:linear-gradient(135deg,#302240,#21182f);border:1px solid #bd96de45;border-radius:16px}.hotel-media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,auto);gap:5px;width:100%}.hotel-media-thumb,.hotel-media-placeholder{display:block;min-width:0;aspect-ratio:4/3;border-radius:7px;overflow:hidden;position:relative;background:linear-gradient(135deg,#463153,#2a2138)}.hotel-media-thumb :is(img,video){width:100%;height:100%;display:block;object-fit:cover;pointer-events:none}.hotel-media-thumb i{position:absolute;inset:0;display:grid;place-items:center;font-style:normal;color:white;text-shadow:0 1px 5px #000}.hotel-premium-body{display:flex;flex-direction:column;gap:9px;padding:12px 3px 3px;min-width:0}.hotel-title-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.hotel-title-line h3{font-size:18px!important;line-height:1.4;margin:0!important;color:#f5eefd;overflow-wrap:anywhere}.hotel-diamonds{display:inline-flex;gap:1px;flex-shrink:0;filter:drop-shadow(0 0 3px #ffcd5470)}.hotel-diamonds svg{width:17px;height:17px;animation:hotel-gem-glow 3.2s ease-in-out infinite}.hotel-diamonds svg:nth-child(2n){animation-delay:.8s}.diamond-glint{animation:hotel-gem-glint 2.4s ease-in-out infinite;transform-origin:17px 4px}.hotel-custom-tags{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.hotel-custom-tags>span{display:inline-block;max-width:100%;min-width:0;overflow-wrap:anywhere;font-size:12px!important;font-weight:500;line-height:18px;padding:2px 6px;border:1px solid #c99bef8a;border-radius:4px;color:#e9ceff;background:#b16ee512}.hotel-location-line{font-size:13px;line-height:19px;color:#bdb6c7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.hotel-review-line{display:flex;align-items:center;gap:5px;font-size:13px;line-height:19px;color:#dbc2ed;min-width:0;overflow-wrap:anywhere}.hotel-review-line svg{width:13px;height:13px;flex:0 0 13px;color:#e4b9cc}.hotel-price-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:2px;min-width:0}.hotel-dual-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;min-width:0}.hotel-discount{color:#ffad65;font-size:30px;line-height:1.15;font-weight:600;text-shadow:0 0 15px #ffad6518}.hotel-discount small{font-size:16px;margin-right:1px}.hotel-night{font-size:12px;color:#dfd2e8}.hotel-dual-price del{color:#a99aaf;font-size:14px;text-decoration-color:#d0b6cf;text-decoration-thickness:1px;margin-left:4px}.hotel-premium .merchant-map-button{position:static!important;transform:none!important;flex-shrink:0;width:32px!important;height:32px!important;min-width:32px;min-height:32px;margin:0!important}.hotel-premium .merchant-map-button svg{width:19px;height:19px}.hotel-media-viewer{padding:10px;border:1px solid #bda2d650;border-radius:14px;background:#21182f;width:min(760px,calc(100vw - 24px));max-height:92svh}.hotel-media-viewer>button{display:block;margin-left:auto;background:transparent;color:white;border:0;font-size:25px;padding:0 8px}.hotel-media-viewer :is(img,video){display:block;width:100%;height:auto;max-height:80svh;object-fit:contain}.hotel-cover-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:1px solid #ffd70040;border-radius:12px;padding:14px}.hotel-cover-editor>label:has(textarea),.hotel-cover-editor>p{grid-column:1/-1}.hotel-cover-editor>p{font-size:12px;line-height:1.6;color:#c8b96f;margin:0}@keyframes hotel-gem-glow{0%,100%{filter:brightness(1)}50%{filter:brightness(1.35) drop-shadow(0 0 2px #ffe67c)}}@keyframes hotel-gem-glint{0%,100%{opacity:.3;transform:scale(.6)}50%{opacity:1;transform:scale(1.15)}}@media(prefers-reduced-motion:reduce){.hotel-diamonds svg,.diamond-glint{animation:none}}@media(max-width:600px){#catalog-results .hotel-premium{padding:9px;border-radius:14px}.hotel-title-line h3{font-size:17px!important}.hotel-cover-editor{grid-template-columns:1fr}.hotel-cover-editor>label{grid-column:1!important}.hotel-discount{font-size:29px}}

/* Hotel card payment status: saved facility, display only. */
.hotel-price-line{gap:8px}.hotel-card-payment{display:flex;flex-direction:column;align-items:center;gap:3px;margin-left:auto;flex:0 0 60px;color:#ff8585;font-size:14px;line-height:20px;white-space:nowrap}.hotel-payment-track{position:relative;display:block;width:36px;height:21px;border-radius:999px;background:#77717d;box-shadow:inset 0 0 0 1px #ffffff12}.hotel-payment-track i{position:absolute;top:2px;left:2px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0004}.hotel-card-payment.is-enabled{color:#85e9b3}.hotel-card-payment.is-enabled .hotel-payment-track{background:#34c759}.hotel-card-payment.is-enabled .hotel-payment-track i{left:17px}

.hotel-admin-list{padding:16px;margin-bottom:22px;border:1px solid #ffd70040;border-radius:16px;background:#ffd70008}.hotel-location-map{box-sizing:border-box;width:min(620px,calc(100vw - 24px));max-height:90svh;overflow:auto;padding:16px;border:1px solid #bc9cdc70;border-radius:18px;background:#241a33;color:#f1e9f9}.hotel-location-map::backdrop{background:#100a1acc}.hotel-location-map h2{margin:0 32px 14px 0;font-size:18px}.hotel-map-close{position:absolute;right:12px;top:10px;border:0;background:transparent;color:#eee;font-size:27px}.hotel-location-map iframe{display:block;width:100%;height:min(360px,48svh);border:0;border-radius:12px;background:#e5e4df}.hotel-map-address{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.hotel-map-help,.hotel-map-feedback{font-size:12px;color:#c2b6d0}.hotel-map-copy{border:1px solid #cba6ea66;border-radius:9px;padding:9px 16px;background:#614378;color:white}.hotel-map-unset{padding:40px 16px;border-radius:12px;background:#ffffff08;font-size:14px;line-height:1.6}

/* Hotel search and three filters share a single row. */
#catalog-panel .filter-bar.hotel-filters{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:6px;align-items:center}#catalog-panel .hotel-filters #catalog-kind-label{display:none!important}#catalog-panel .hotel-filters #catalog-query{grid-column:auto;width:100%;min-width:0;height:38px;font-size:12px!important;padding:7px;border-radius:9px}#catalog-panel .hotel-filters .filter-drawer{min-width:0;width:100%;grid-column:auto}#catalog-panel .hotel-filters .filter-drawer-toggle{height:38px;padding:7px 5px;border-radius:9px;gap:3px;font-size:12px!important}#catalog-panel .hotel-filters .filter-drawer-toggle i{width:6px;height:6px;flex-shrink:0}#catalog-panel .hotel-filters .filter-drawer-list{width:max(100%,130px);max-width:calc(100vw - 28px)}#catalog-panel .hotel-filters .filter-drawer:last-child .filter-drawer-list{left:auto;right:0}#catalog-panel .hotel-filters .filter-scroll-track{top:42px}@media(min-width:600px){#catalog-panel .hotel-filters #catalog-query,#catalog-panel .hotel-filters .filter-drawer-toggle{font-size:14px!important}}

.hotel-facility-library{margin-bottom:18px;padding:14px;border:1px solid #ffd70040;border-radius:12px}.hotel-facility-library summary{cursor:pointer;color:#ffe45b}.hotel-facility-library form{margin-top:14px}.hotel-facility-library p{font-size:13px;line-height:1.6}

.hotel-map-booking-note{margin:9px 0 0;font-size:12px;line-height:1.6;color:#c5b4d2;text-align:center}.hotel-map-copy{display:block;margin:0 auto;max-width:100%;font-size:14px;line-height:1.5}.hotel-map-feedback{text-align:center}

/* Larger, readable type throughout the shared location dialog. */
.hotel-location-map h2{font-size:22px;line-height:1.45}.hotel-map-unset,.hotel-map-address{font-size:17px;line-height:1.65}.hotel-map-copy{font-size:18px;line-height:1.5;padding:11px 18px;white-space:normal}.hotel-map-help,.hotel-map-feedback,.hotel-map-booking-note{font-size:15px;line-height:1.65}.hotel-map-booking-note{margin-top:12px;overflow-wrap:anywhere}.hotel-map-close{font-size:32px}

#hotel-location-map .hotel-map-address{font-size:17px!important}#hotel-location-map :is(.hotel-map-help,.hotel-map-feedback,.hotel-map-booking-note){font-size:15px!important;line-height:1.65}

.admin-location-picker{box-sizing:border-box;width:min(700px,calc(100vw - 24px));max-height:92svh;overflow:auto;padding:16px;background:#241a33;color:#f4edff;border:1px solid #bda2d670;border-radius:16px}.admin-location-picker::backdrop{background:#100a1acd}.admin-location-picker h2{font-size:21px;margin:0 30px 10px 0}.admin-location-picker p{font-size:14px;line-height:1.6}.picker-close{position:absolute;top:10px;right:12px;background:transparent;border:0;color:white;font-size:28px}.picker-map{height:min(400px,48svh);position:relative;overflow:hidden;isolation:isolate;background:#e4e1dc;touch-action:none;border-radius:10px;cursor:crosshair}.picker-tiles{position:absolute;inset:0;pointer-events:none}.picker-tiles img{position:absolute;width:256px;height:256px;max-width:none}.picker-pin{position:absolute;z-index:2;transform:translate(-50%,-50%);font-size:27px;color:#ed4545;text-shadow:0 0 2px white,0 0 5px white;pointer-events:none}.picker-zoom{position:absolute;top:10px;right:10px;z-index:3;display:flex;flex-direction:column;gap:4px}.picker-zoom button{width:38px;height:38px;font-size:24px;background:white;color:#333;border:1px solid #aaa;border-radius:6px}.picker-credit{position:absolute;bottom:0;right:0;z-index:3;font-size:11px;color:#333;background:#ffffffdf;padding:3px 5px}.picker-coordinate{color:#ebd0ff}.picker-error{color:#ffb3a4}.picker-confirm{border:0;border-radius:9px;background:#ffe45b;color:#1d1627;font-size:16px;padding:11px 15px}.picker-confirm:disabled{opacity:.4}.admin-map-picker-button{font-size:16px}

.hotel-map-copy{position:relative;isolation:isolate;transition:background .25s,color .25s,box-shadow .25s}.hotel-map-copy.is-copied{display:flex;align-items:center;justify-content:center;gap:9px;color:#fff4cf;background:linear-gradient(120deg,#5a3025,#784827,#55352b);border-color:#ffc870a0;box-shadow:0 0 18px #ffbd4f45,inset 0 0 18px #ffbd4f15;text-shadow:0 0 8px #ffbd4970}.copy-candle{width:27px;height:40px;flex:0 0 27px;margin:-7px 0;overflow:visible;filter:drop-shadow(0 0 4px #ffb337a0)}.candle-fire{transform-origin:20px 41px;animation:copy-candle-flicker 1.7s ease-in-out infinite alternate}.candle-halo{animation:copy-candle-light 2.1s ease-in-out infinite alternate}.hotel-map-copy.is-copied::before{content:"";position:absolute;inset:-12px;border-radius:22px;z-index:-1;background:radial-gradient(ellipse,#ffb23b28,transparent 70%);pointer-events:none;animation:copy-candle-light 2.1s ease-in-out infinite alternate}@keyframes copy-candle-flicker{0%{transform:rotate(-3deg) scale(.96,1);opacity:.9}18%{transform:rotate(2deg) scale(1.04,.94)}43%{transform:rotate(-1deg) scale(.96,1.07);opacity:1}69%{transform:rotate(3deg) scale(1.03,.98)}100%{transform:rotate(-2deg) scale(.98,1.04);opacity:.95}}@keyframes copy-candle-light{0%{opacity:.55}40%{opacity:.95}70%{opacity:.7}100%{opacity:1}}@media(prefers-reduced-motion:reduce){.candle-fire,.candle-halo,.hotel-map-copy.is-copied::before{animation:none}}

/* One 0.8s highlight travels around the copied button border. */
.hotel-map-copy.is-copied{display:block;background:#614378;color:#fff;border-color:#cba6ea66;box-shadow:none;text-shadow:none}.hotel-map-copy.is-copied::before{display:none}.copy-border-flash{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;opacity:0}.copy-border-flash rect{fill:none;stroke:#fff3bb;stroke-width:2.5;stroke-linecap:round;stroke-dasharray:16 84;stroke-dashoffset:0;filter:drop-shadow(0 0 3px #ffd467) drop-shadow(0 0 6px #ffcc5680)}.copy-flash-active .copy-border-flash{animation:copy-border-visible .8s linear 1 both}.copy-flash-active .copy-border-flash rect{animation:copy-border-lap .8s linear 1 both}@keyframes copy-border-lap{from{stroke-dashoffset:0}to{stroke-dashoffset:-100}}@keyframes copy-border-visible{0%{opacity:0}8%,88%{opacity:1}100%{opacity:0}}@media(prefers-reduced-motion:reduce){.copy-flash-active .copy-border-flash rect{animation:none}.copy-flash-active .copy-border-flash{animation:copy-border-visible .8s linear 1 both}}

.hotel-title-line{flex-wrap:nowrap;gap:6px;min-width:0}.hotel-title-line h3{flex:0 1 auto;min-width:0;max-width:48%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hotel-title-address{flex:1 1 0;min-width:0;font-size:13px;color:#c9bbd6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5}.hotel-title-line .hotel-diamonds{flex-shrink:0}

.picker-search{display:flex;gap:8px;margin:12px 0}.picker-search input{flex:1;min-width:0;width:0;padding:12px;background:#171021;color:#fff;border:1px solid #bda2d670;border-radius:9px;font-size:16px}.picker-search button{flex:none;padding:10px 18px;background:#ffe45b;color:#241a33;border:0;border-radius:9px;font-size:16px}.picker-results{display:flex;flex-direction:column;gap:5px;max-height:150px;overflow:auto;margin-bottom:10px}.picker-results:empty{display:none}.picker-results button{text-align:left;overflow-wrap:anywhere;background:#ffffff0b;border:1px solid #bda2d650;border-radius:7px;padding:9px;color:#eee;font-size:14px}.picker-results button.selected{border-color:#ffe45b;background:#ffe45b18}.picker-pin{width:20px;height:20px;font-size:0;border-radius:50% 50% 50% 0;border:2px solid white;box-shadow:0 2px 6px #0008;background:#e34354;transform:translate(-50%,-100%) rotate(-45deg)}.picker-pin::after{content:'';position:absolute;width:6px;height:6px;border-radius:50%;background:white;left:5px;top:5px}

@media(max-width:600px){.admin-location-picker .picker-map{height:min(300px,32svh)}.picker-results{max-height:110px}.admin-location-picker p{margin:8px 0}.admin-location-picker .picker-error:empty{display:none}}

.picker-import{border:1px solid #bda2d650;border-radius:10px;padding:10px;margin:10px 0}.picker-import summary{cursor:pointer;color:#ffe45b;font-size:16px}.picker-import-form{display:flex;gap:8px;align-items:stretch}.picker-import textarea,.picker-import input{box-sizing:border-box;min-width:0;width:100%;padding:10px;background:#171021;color:#fff;border:1px solid #bda2d670;border-radius:8px;font-size:16px}.picker-import textarea{flex:1;resize:vertical}.picker-import button{flex:none;border:0;border-radius:8px;background:#ffe45b;color:#241a33;padding:10px;font-size:15px}.picker-import label{display:block;font-size:14px}.picker-import-preview p{overflow-wrap:anywhere}

.merchant-location-canvas{display:block;position:relative;overflow:hidden;isolation:isolate;width:100%;height:min(360px,48svh);border-radius:12px;background:#e5e4df;touch-action:none;cursor:grab}.merchant-location-canvas .picker-credit{font:11px/1.25 Arial,sans-serif;white-space:nowrap}.location-pin{position:absolute;z-index:2;width:23px;height:23px;border:2px solid white;border-radius:50% 50% 50% 0;transform:translate(-50%,-100%) rotate(-45deg);background:#83bf3c;box-shadow:0 2px 6px #0005;pointer-events:none}.location-pin::after{content:"";position:absolute;left:6px;top:6px;width:7px;height:7px;border-radius:50%;background:white}.location-tile-error{position:absolute;left:10px;bottom:25px;padding:5px;background:#fffe;color:#444;font-size:12px}

#catalog-panel.header-count-catalog .catalog-top{gap:8px}#catalog-panel.header-count-catalog #catalog-title{min-width:0;font-size:clamp(17px,4.8vw,22px)}#catalog-panel.header-count-catalog .catalog-top #catalog-count{flex:0 0 auto;margin:0;text-align:right;font-size:12px;line-height:1.4;max-width:100px}#catalog-panel.header-count-catalog #catalog-back{flex-shrink:0}

.hotel-card-payment.hotel-garage{margin-left:0;flex-basis:70px}.hotel-access-toggle{display:flex!important;align-items:center;gap:12px;width:100%;position:relative;cursor:pointer}.hotel-access-toggle>span:first-child{flex:1}.admin-wrap .hotel-access-toggle input{position:absolute;right:100px;width:42px;height:24px;opacity:0;margin:0;padding:0;min-height:0}.hotel-access-track{position:relative;width:42px;height:24px;border-radius:999px;background:#77717d;flex-shrink:0}.hotel-access-track:before{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:white;box-shadow:0 1px 3px #0004;transition:transform .2s}.hotel-access-toggle input:checked+.hotel-access-track{background:#34c759}.hotel-access-toggle input:checked+.hotel-access-track:before{transform:translateX(18px)}.hotel-access-toggle input:focus-visible+.hotel-access-track{outline:2px solid #fbe148;outline-offset:3px}.hotel-access-status{width:88px;color:#ff8585;font-size:14px}.hotel-access-status.is-enabled{color:#85e9b3}

.hotel-cover-phone{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;margin-left:auto;border:1px solid #c5a23b55;border-radius:9px;background:#080709;color:#f8d15b;text-decoration:none;gap:1px}.hotel-cover-phone svg{width:17px;height:17px}.hotel-cover-phone span{font-size:9px;line-height:10px}.hotel-cover-phone:focus-visible{outline:2px solid #f8d15b;outline-offset:2px}

.admin-wrap .hotel-facility-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}.admin-wrap .hotel-facility-editor>p{grid-column:1/-1;margin:0;line-height:1.5}.admin-wrap .hotel-facility-editor .hotel-access-toggle{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;width:100%;min-width:0;margin:0;gap:8px;font-size:14px}.admin-wrap .hotel-access-toggle>span:first-child{flex:0 0 auto}.admin-wrap .hotel-access-toggle input{position:absolute;inset:0;width:100%;height:100%;max-height:none;min-height:0;opacity:0;cursor:pointer}.admin-wrap .hotel-access-toggle .hotel-access-track{width:36px;height:21px}.admin-wrap .hotel-access-track:before{width:17px;height:17px}.admin-wrap .hotel-access-toggle input:checked+.hotel-access-track:before{transform:translateX(15px)}.admin-wrap .hotel-access-toggle .hotel-access-status{width:auto;min-width:0;white-space:nowrap;font-size:13px;line-height:20px}@media(max-width:600px){.admin-wrap .hotel-facility-editor{gap:10px 8px;padding:12px}.admin-wrap .hotel-access-toggle>span:first-child{display:none}.admin-wrap .hotel-facility-editor .hotel-access-toggle{justify-content:center;gap:6px}}

.admin-wrap .visit-entry-controls{grid-column:1/-1;display:flex;align-items:center;flex-wrap:nowrap;gap:14px;min-width:0}.admin-wrap .visit-entry-controls>.visit-entry-tabs{flex:1 1 auto;width:auto;min-width:0}.admin-wrap .visit-entry-controls>.visit-visibility{flex:0 0 auto;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px!important;margin:0;white-space:nowrap;font-size:13px}@media(max-width:600px){.admin-wrap .visit-entry-controls{gap:7px}.admin-wrap .visit-entry-controls>.visit-entry-tabs button{min-width:0}.admin-wrap .visit-entry-controls>.visit-visibility{font-size:11px}.admin-wrap .visit-entry-controls>.visit-visibility input{width:42px!important;min-width:42px}.admin-wrap .visit-entry-controls>.visit-visibility input:checked::after{transform:translateX(14px)}}

/* Keep readable source attribution inside the bottom-right corner of the map. */
.merchant-location-canvas .map-source-note{display:block;position:absolute;right:0;bottom:0;z-index:3;margin:0;padding:2px 5px;text-align:right;background:#ffffffe6;color:#333;font:10px/1.4 Arial,sans-serif;text-decoration:underline;white-space:nowrap;cursor:pointer}

/* Club cover phone and map controls share the existing 28px size. */
#catalog-results .club-cover-actions{display:flex;align-items:flex-end;gap:4px;flex:0 0 auto;margin-left:auto}
#catalog-results .club-cover-actions .club-cover-phone{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 28px;width:28px;height:28px;min-width:28px;min-height:28px;max-width:28px;max-height:28px;padding:1px;gap:0;margin:0;border:1px solid #ffd35b40;border-radius:7px;background:#000;color:#ffd35b;text-decoration:none;overflow:hidden}
#catalog-results .club-cover-actions .club-cover-phone svg{width:14px;height:14px;flex:0 0 14px}
#catalog-results .club-cover-actions .club-cover-phone span{font-size:8px;line-height:10px;white-space:nowrap}
#catalog-results .club-merchant-card:not(.ktv-merchant-card) .merchant-name-row .club-cover-actions .merchant-map-button{margin-left:0}

/* Product controls share the catalog width and existing control sizing. */
#catalog-panel .filter-bar.product-filters{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.8fr) minmax(0,1.25fr);gap:6px}
#catalog-panel .product-filters #catalog-query{grid-column:auto;width:100%;min-width:0;height:42px;box-sizing:border-box;padding:8px;font-size:16px}
#catalog-results .product-card-category{display:block;color:#aa9abc;font-size:12px;line-height:1.6;margin:0 0 8px;overflow-wrap:anywhere}
#catalog-results .product-card .merchant-price{display:block}

#admin-panel-name-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}@media(max-width:650px){#admin-panel-name-fields{grid-template-columns:1fr}}

/* Product browsing: narrow categories and a three-column square-cover grid. */
.catalog-browser{display:flex;flex:1;min-height:0;min-width:0;gap:12px}
.catalog-browser>.merchant-results{min-width:0}
.product-category-nav[hidden]{display:none}
#catalog-panel.product-catalog .filter-bar.product-filters{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:8px}
.product-category-nav{flex:0 0 clamp(72px,20vw,132px);overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:5px;border-right:1px solid #bd96de22;padding:0 8px 12px 0}
.product-category-nav button{flex-shrink:0;min-height:48px;padding:12px 6px;border:0;border-radius:10px;background:transparent;color:#aa9abc;font-family:inherit;font-size:13px;font-weight:500;line-height:1.5;text-align:center;overflow-wrap:anywhere;cursor:pointer}
.product-category-nav button[aria-current=true]{background:#bd96de24;color:#eee1ff;font-weight:700;box-shadow:inset 3px 0 #bd96de}
#catalog-panel.product-catalog #catalog-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 10px;padding:0 0 16px}
#catalog-panel.product-catalog .product-card{display:flex;flex-direction:column;align-items:stretch;align-self:start;gap:0;min-width:0;padding:0;border:0;border-radius:0;background:transparent;text-align:left}
#catalog-panel.product-catalog .product-card .merchant-thumb{display:grid;place-items:center;box-sizing:border-box;width:100%;height:auto;aspect-ratio:1;min-width:0;flex:none;border-radius:10px;object-fit:cover;font-size:28px}
#catalog-panel.product-catalog .product-card .merchant-copy{display:block;padding:7px 1px 0}
#catalog-panel.product-catalog .product-card h3{margin:0 0 3px;font-size:13px;line-height:1.45;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#catalog-panel.product-catalog .product-card-category{margin:0 0 3px;font-size:10px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#catalog-panel.product-catalog .merchant-price{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
#catalog-panel.product-catalog .catalog-empty{padding:28px 4px;font-size:13px}
.product-order-settings{background:#11110b;border:1px solid #65551b;border-radius:18px;padding:18px 20px;margin:20px 0}
#product-category-order .admin-row span{flex:1;min-width:0;overflow-wrap:anywhere}
#admin-products .admin-row{flex-wrap:wrap;gap:8px}
#admin-products .admin-row>span{flex:1 1 100%;overflow-wrap:anywhere}
#product-category-order button,#admin-products .admin-row button{min-height:36px}
#merchant-detail.product-detail{width:min(540px,calc(100% - 24px));padding:16px;border-radius:20px}
.product-detail-top{display:flex;align-items:center;gap:14px;margin-bottom:14px;color:#aa9abc;font-size:13px}
#merchant-detail.product-detail .close-merchant{float:none;font-size:14px;padding:8px 10px;background:#bd96de18;border-radius:9px}
.product-detail-gallery{display:flex;gap:10px;overflow:auto;scroll-snap-type:x mandatory;overscroll-behavior:contain}
.product-detail-gallery>a,.product-detail-placeholder{flex:0 0 100%;aspect-ratio:1;scroll-snap-align:start;min-width:0}
#merchant-detail.product-detail .product-detail-gallery img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:contain;background:#241a38;border-radius:12px}
.product-detail-placeholder{display:grid;place-items:center;background:linear-gradient(145deg,#634178,#291938);border-radius:12px;font-size:56px;color:#bd96de}
.product-detail-info{padding:14px 0;border-bottom:1px solid #bd96de25}
#merchant-detail.product-detail .product-detail-info h2{font-size:21px;line-height:1.5;margin:6px 0;overflow-wrap:anywhere}
#merchant-detail.product-detail .product-detail-info .merchant-price{font-size:23px;color:#e5b1c8;margin:0}
#merchant-detail.product-detail .product-detail-category{font-size:12px;margin:4px 0 0}
.product-detail-description h3{font-size:15px;margin:16px 0 8px}
.product-detail-description p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
@media(min-width:651px){#catalog-panel.product-catalog .product-card h3{font-size:15px}#catalog-panel.product-catalog .merchant-price{font-size:14px}#catalog-panel.product-catalog .product-card-category{font-size:12px}}
@media(max-width:360px){.catalog-browser{gap:8px}.product-category-nav{flex-basis:66px;padding-right:5px}.product-category-nav button{font-size:12px;padding:10px 4px}#catalog-panel.product-catalog #catalog-results{gap:12px 7px}#catalog-panel.product-catalog .product-card h3{font-size:12px}#catalog-panel.product-catalog .merchant-price{font-size:11px}}

.product-results-heading{grid-column:1/-1;display:flex;align-items:center;gap:8px;justify-content:space-between;padding:2px 0 1px}.product-results-heading h3{font-size:14px;line-height:1.5;margin:0;overflow-wrap:anywhere}.product-results-heading span{font-size:11px;white-space:nowrap;color:#aa9abc}

#merchant-detail.product-detail .product-media-stage{position:relative;width:100%;aspect-ratio:1;border-radius:12px;overflow:hidden;background:#241a38;isolation:isolate}
.product-media-view{width:100%;height:100%;touch-action:pan-y}
#merchant-detail.product-detail .product-media-view img,#merchant-detail.product-detail .product-media-view video{display:block;width:100%;height:100%;object-fit:contain;border-radius:0}
.product-media-view .simple-video-player{width:100%;height:100%;margin:0;border-radius:0}
.product-media-view .product-detail-placeholder{width:100%;height:100%;font-size:14px;line-height:1.6;text-align:center;padding:20px;box-sizing:border-box}
.product-media-tabs{position:absolute;z-index:4;right:10px;bottom:10px;display:flex;align-items:center;padding:3px;gap:2px;border:1px solid #ffffff45;border-radius:24px;background:#140d24a6;box-shadow:0 2px 8px #0003;max-width:calc(100% - 20px)}
#merchant-detail.product-detail .product-media-tabs button{box-sizing:border-box;min-width:0;min-height:38px;padding:8px 10px;border:0;border-radius:20px;color:#fff;background:transparent;font:600 12px/20px system-ui,'Microsoft YaHei',sans-serif;white-space:nowrap;cursor:pointer}
#merchant-detail.product-detail .product-media-tabs button[aria-pressed=true]{background:#fff;color:#6f478c}
#merchant-detail.product-detail .product-media-tabs button:disabled{opacity:.55;cursor:default}
#merchant-detail.product-detail .product-media-arrow{position:absolute;z-index:3;top:calc(50% - 22px);width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#140d2470;color:#fff;font:30px/1 Arial,sans-serif;cursor:pointer}
.product-media-arrow.previous{left:6px}.product-media-arrow.next{right:6px}
#merchant-detail.product-detail .product-media-arrow:disabled{visibility:hidden}
#merchant-detail.product-detail .product-media-view .video-seek{bottom:64px;left:12px;right:12px;width:calc(100% - 24px)}
#merchant-detail.product-detail .product-detail-info h2{font-size:20px}
#merchant-detail.product-detail .product-detail-info .merchant-price{font-size:22px}
@media(max-width:360px){#merchant-detail.product-detail .product-media-tabs button{font-size:11px;padding:7px 8px;min-height:36px}.product-media-tabs{right:8px;bottom:8px}}

.admin-sidebar.founder-sidebar button:is([data-admin-panel="backend-title"],[data-admin-panel="passwords"]),.admin-sidebar.founder-sidebar button:is([data-admin-panel="backend-title"],[data-admin-panel="passwords"]) span{color:#ff4545}

/* Compact product media tabs; scoped to product details only. */
#merchant-detail.product-detail .product-media-tabs{right:8px;bottom:8px;padding:2px;gap:1px;border-radius:18px}
#merchant-detail.product-detail .product-media-tabs button{min-height:26px;height:26px;padding:4px 6px;border-radius:15px;font-size:10px;line-height:16px;font-weight:500}

/* Product documents stay inside their own reading frame, without viewer toolbars. */
#merchant-detail.product-detail .product-file-frame{margin-top:20px;padding:12px;border:1px solid #514260;border-radius:14px;overflow:hidden;min-width:0}
#merchant-detail.product-detail .product-file-frame h3{margin:0 0 12px;font-size:15px;line-height:1.5}
#merchant-detail.product-detail .product-file-content{font-size:14px;line-height:1.7;overflow-wrap:anywhere;min-width:0}
#merchant-detail.product-detail .product-file-page{display:block;width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain;border-radius:0;margin:0 0 8px;background:#fff}
#merchant-detail.product-detail .product-file-text{margin:0;font:inherit;white-space:pre-wrap;overflow-wrap:anywhere}

#product-form .product-document-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0}
#product-form .product-document-summary>span{min-width:0;overflow-wrap:anywhere}
#product-form #remove-product-document{flex:0 0 auto;width:auto;min-height:30px;padding:5px 10px;font-size:12px;line-height:20px;border-radius:8px;margin:0}
#product-form #remove-product-document[hidden]{display:none}
.product-document-row{display:flex;align-items:center;gap:10px;margin:6px 0;min-width:0}
.product-document-row>span{overflow-wrap:anywhere;min-width:0}
.admin-body .visit-entry-editor.visit-document-editor{display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:0;width:100%}
.visit-document-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.visit-document-toolbar>span{font-size:12px;line-height:1.6;color:#c9bd83;min-width:0;overflow-wrap:anywhere}
.admin-body .visit-document-toolbar>button{flex:0 0 auto;width:auto;min-height:34px;padding:7px 12px;font-size:12px;line-height:20px;border-radius:8px}
.visit-document-list{display:flex;flex-direction:column;min-width:0;border:1px solid #ffd70030;border-radius:10px;overflow:hidden}
.visit-document-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;min-width:0}
.visit-document-row+.visit-document-row{border-top:1px solid #ffd70020}
.visit-document-name{flex:1 1 auto;min-width:0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.visit-document-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.admin-body .visit-document-actions>:is(button,a){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:auto;min-height:32px;padding:6px 10px;font-size:12px;line-height:20px;border-radius:7px;white-space:nowrap;text-decoration:none;margin:0}
.visit-document-empty{margin:0;padding:12px;font-size:12px;color:#c9bd83}
#merchant-detail.product-detail .product-file-scroll,#brand-document-dialog .product-file-scroll{touch-action:pan-x pan-y;overscroll-behavior:auto}
@media(max-width:600px){.admin-body .visit-document-row{padding:9px 8px;gap:7px;flex-wrap:wrap}.admin-body .visit-document-name{flex-basis:100%}.admin-body .visit-document-actions{margin-left:auto}.admin-body .visit-document-toolbar{gap:8px}.admin-body .visit-document-toolbar>span{flex-basis:100%}}
#product-form .product-document-row>button{width:auto;flex:0 0 auto;min-height:30px;padding:5px 10px;font-size:12px;line-height:20px;border-radius:8px}
#merchant-detail.product-detail .product-file-scroll{overflow:auto;max-height:70svh;touch-action:pan-x pan-y pinch-zoom}
#merchant-detail.product-detail .product-file-content{width:100%;max-width:none}
#merchant-detail.product-detail .product-file-zoom{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-bottom:10px;font-size:12px}
#merchant-detail.product-detail .product-file-zoom button{width:32px;height:32px;min-height:32px;padding:0;font-size:18px;border-radius:8px}

#brand-document-dialog .product-file-frame{margin-top:20px;padding:12px;border:1px solid #514260;border-radius:14px;overflow:hidden;min-width:0}
#brand-document-dialog .product-file-frame h3{margin:0 0 12px;font-size:15px;line-height:1.5}
#brand-document-dialog .product-file-content{font-size:14px;line-height:1.7;overflow-wrap:anywhere;min-width:0}
#brand-document-dialog .product-file-page{display:block;width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain;border-radius:0;margin:0 0 8px;background:#fff}
#brand-document-dialog .product-file-text{margin:0;font:inherit;white-space:pre-wrap;overflow-wrap:anywhere}
#brand-document-dialog .product-file-scroll{overflow:auto;max-height:70svh;touch-action:pan-x pan-y pinch-zoom}
#brand-document-dialog .product-file-content{width:100%;max-width:none}
#brand-document-dialog .product-file-zoom{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-bottom:10px;font-size:12px}
#brand-document-dialog .product-file-zoom button{width:32px;height:32px;min-height:32px;padding:0;font-size:18px;border-radius:8px}

/* Let a file's scroll boundary hand off to the surrounding detail page. */
#merchant-detail.product-detail .product-file-scroll,#brand-document-dialog .product-file-scroll{touch-action:pan-x pan-y;overscroll-behavior:auto;-webkit-overflow-scrolling:touch}
#merchant-detail.product-detail .product-file-scroll:has(.product-file-text),#brand-document-dialog .product-file-scroll:has(.product-file-text){max-height:none;overflow:visible}

/* Massage document reading fills the browser page; PDF pages have no surrounding card. */
#brand-document-dialog.brand-document-fullpage{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:100%;margin:0;padding:0;border:0;border-radius:0;box-sizing:border-box;overflow:auto;background:#fff;color:#222}
#brand-document-dialog.brand-document-fullpage>h2{font-size:15px;line-height:1.5;margin:0;padding:12px 48px 12px 12px}
#brand-document-dialog.brand-document-fullpage>.brand-video-close{position:fixed;top:max(8px,env(safe-area-inset-top));right:10px;z-index:5;width:32px;height:32px;padding:0;font-size:24px;line-height:32px;border:0;border-radius:50%;background:#0008;color:#fff}
#brand-document-dialog.brand-document-fullpage .pdf-file-frame{margin:0;padding:0;border:0;border-radius:0;overflow:visible}
#brand-document-dialog.brand-document-fullpage .pdf-file-frame>h3{display:none}
#brand-document-dialog.brand-document-fullpage .pdf-file-frame .product-file-scroll{max-height:none;border:0;border-radius:0}
#brand-document-dialog.brand-document-fullpage .pdf-file-frame .product-file-page{display:block;width:100%;height:auto;max-height:none;margin:0;border:0;border-radius:0}
#brand-document-dialog.brand-document-fullpage>.brand-material-video{display:block;margin:12px auto;font-size:13px;padding:8px 12px}
#merchant-detail.product-detail{overflow-y:auto;touch-action:pan-y;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}
#merchant-detail.product-detail .product-media-stage,#merchant-detail.product-detail .product-media-view,#merchant-detail.product-detail .simple-video-player,#merchant-detail.product-detail video{touch-action:pan-y}
#brand-document-dialog.brand-document-fullpage{touch-action:pan-x pan-y;overscroll-behavior:auto;-webkit-overflow-scrolling:touch}

/* Product PDFs use the same borderless pages and native momentum scroll as massage PDFs. */
#merchant-detail.product-detail .pdf-file-frame{margin-top:20px;padding:0;border:0;border-radius:0;overflow:visible}
#merchant-detail.product-detail .pdf-file-frame>h3{display:none}
#merchant-detail.product-detail .pdf-file-frame .product-file-scroll{max-height:none;border:0;border-radius:0}
#merchant-detail.product-detail .pdf-file-frame .product-file-page{width:100%;height:auto;max-height:none;margin:0;border:0;border-radius:0}

#merchant-detail.product-detail .product-media-tabs{right:6px;bottom:6px;padding:1px;gap:0;border-radius:14px}
#merchant-detail.product-detail .product-media-tabs button{min-height:22px;height:22px;padding:3px 5px;border-radius:12px;font-size:9px;line-height:14px;font-weight:500}

/* Keep product details near the top instead of vertically centering a short dialog. */
#merchant-detail.product-detail{--product-top-gap:max(12px,env(safe-area-inset-top));position:fixed;top:var(--product-top-gap);right:0;bottom:auto;left:0;margin:0 auto;box-sizing:border-box;max-height:calc(100svh - var(--broadcast-space,48px) - var(--product-top-gap) - 12px);transform:none;scroll-padding-top:12px}

#merchant-detail.product-detail .product-media-stage{border:1px solid #bd96de35;border-radius:10px;box-sizing:border-box}
#merchant-detail.product-detail .product-media-stage.product-media-files{aspect-ratio:auto;height:min(60svh,500px);background:#17131e;padding-bottom:32px}
#merchant-detail.product-detail .product-media-files .product-media-view{overflow:auto;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;overscroll-behavior:auto}
#merchant-detail.product-detail .product-media-files .product-file-frame{margin:0;padding:8px;border:0;border-radius:0}
#merchant-detail.product-detail .product-media-files .product-file-frame+.product-file-frame{border-top:1px solid #bd96de25}
#merchant-detail.product-detail .product-media-files .pdf-file-frame{padding:0}
#merchant-detail.product-detail .product-media-files .product-file-scroll{max-height:none}
#merchant-detail.product-detail .product-media-files .product-file-frame h3{font-size:12px;margin:0 0 8px}
#merchant-detail.product-detail .product-media-files .product-media-tabs{background:#17131ee8}

/* Product details read as one borderless page, with files below the introduction. */
#merchant-detail.product-detail{border:0;border-radius:0;box-shadow:none;background:#14111f}
#merchant-detail.product-detail .product-media-stage{border:0;border-radius:0;background:transparent}
#merchant-detail.product-detail .product-media-tabs{border:0;box-shadow:none}
#merchant-detail.product-detail .product-detail-description{border:0;padding-top:0}
#merchant-detail.product-detail .product-file-frame{border:0;border-radius:0;margin:20px 0 0;padding:0;overflow:visible}
#merchant-detail.product-detail .product-file-frame h3{font-size:13px;line-height:1.5;margin:0 0 10px;color:#c7bbd4}
#merchant-detail.product-detail .product-file-scroll{max-height:none;border:0;border-radius:0}
#merchant-detail.product-detail .product-file-page{border:0;border-radius:0;margin:0}

/* Full-screen product details only; other merchant dialogs retain their layout. */
#merchant-detail.product-detail{position:fixed;inset:0;top:0;right:0;bottom:0;left:0;width:100%;max-width:none;height:100%;max-height:100%;margin:0;box-sizing:border-box;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) calc(var(--broadcast-space,48px) + max(16px,env(safe-area-inset-bottom))) max(12px,env(safe-area-inset-left));border:0;border-radius:0;overflow-y:auto;scroll-padding-top:12px}
#merchant-detail.product-detail .product-file-frame>h3{display:none}
#merchant-detail.product-detail .product-detail-description+.product-file-frame{border-top:1px solid #bd96de25;margin-top:20px;padding-top:20px}

/* Matching compact environment tabs for clubs and KTV. */
#merchant-detail.club-detail:is([data-merchant-category="会所"],[data-merchant-category="商业KTV"]) .club-media-frame .club-media-tabs{width:auto;height:24px;padding:1px;gap:0;border-radius:14px}
#merchant-detail.club-detail:is([data-merchant-category="会所"],[data-merchant-category="商业KTV"]) .club-media-frame .club-media-tabs button{flex:0 0 auto;min-height:22px;height:22px;padding:3px 5px;font-size:9px;line-height:14px;border-radius:12px;font-weight:500}

/* Hotel original-media viewer: swipe in either direction, with vertical browsing. */
#hotel-media-viewer.hotel-media-viewer{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#100d18;overflow:hidden}
#hotel-media-viewer>button{position:absolute;z-index:3;top:max(12px,env(safe-area-inset-top));right:12px;width:36px;height:36px;padding:0;border-radius:50%;background:#0008;font-size:26px;line-height:36px}
#hotel-media-viewer .hotel-viewer-stage{height:100%;width:100%;display:flex;align-items:center;justify-content:center;touch-action:none;user-select:none}
#hotel-media-viewer .hotel-viewer-stage :is(img,video){width:100%;height:100%;max-height:100%;object-fit:contain}
#hotel-media-viewer .hotel-viewer-count{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);padding:4px 10px;border-radius:12px;background:#0008;color:#fff;font-size:11px;pointer-events:none}

/* Hotel environment editor: separate uploads, counts and compact row actions. */
#hotel-form .hotel-environment-editor{min-width:0;padding:16px;border:1px solid #ffd70035;border-radius:14px;display:grid;gap:16px}
#hotel-form .hotel-environment-editor legend{padding:0 8px;font-size:16px;font-weight:600}
#hotel-form .environment-limit-note{margin:0;font-size:12px;line-height:1.7;color:#c9bc80}
#hotel-form .environment-count{margin:0;padding:9px 12px;background:#ffd7000d;border-radius:8px;font-size:13px;line-height:1.6}
#hotel-form .hotel-environment-editor>label{min-width:0;gap:8px;margin:0;padding:0;border:0;font-size:13px;line-height:1.6}
#hotel-form .hotel-environment-editor>label+label{padding-top:16px;border-top:1px solid #ffd70026}
#hotel-form .hotel-environment-editor input[type=file]{box-sizing:border-box;width:100%;min-width:0;padding:10px;font-size:12px;border-radius:9px}
#hotel-form .hotel-environment-editor [id$="-status"]{font-size:12px;line-height:1.6;margin:0}
#hotel-form .hotel-environment-editor .admin-media-row{display:flex;flex-wrap:nowrap;gap:6px;margin-top:6px;padding:8px;background:#ffd70008;border-radius:8px}
#hotel-form .hotel-environment-editor .admin-media-row a{margin-right:auto;font-size:12px;min-width:0}
#hotel-form .hotel-environment-editor .admin-media-row :is(a,button){padding:5px 9px;min-height:30px;width:auto;line-height:20px;border-radius:7px;white-space:nowrap;font-size:12px}
#hotel-form .hotel-environment-editor .admin-media-row button:disabled{opacity:.35;cursor:default}
#hotel-form .hotel-environment-editor .admin-upload-feedback:empty{display:none}
#hotel-form .hotel-environment-editor .admin-upload-feedback{font-size:12px;line-height:1.6}
@media(max-width:420px){#hotel-form .hotel-environment-editor{padding:10px}#hotel-form .hotel-environment-editor .admin-media-row{gap:4px;padding:6px}#hotel-form .hotel-environment-editor .admin-media-row :is(a,button){padding:5px 6px}}

/* Administrator password form: one task, no redundant type selector. */
#password-settings-form.visitor-password-only{gap:16px;padding:20px;grid-template-columns:repeat(2,minmax(0,1fr))}
#password-settings-form.visitor-password-only label[hidden]{display:none!important}
#password-settings-form.visitor-password-only label:has(input[name="currentAdminPassword"]){grid-column:1/-1}
#password-settings-form.visitor-password-only label{gap:7px;font-size:13px;line-height:1.5}
#password-settings-form.visitor-password-only input{height:42px;padding:9px 12px;font-size:14px;border-radius:9px}
#password-settings-form.visitor-password-only h3{font-size:18px;line-height:1.5}
#password-settings-form.visitor-password-only #password-change-description{font-size:12px;line-height:1.7;color:#c9bc80}
#password-settings-form.visitor-password-only button[type=submit]{grid-column:1/-1;justify-self:start;width:auto;min-width:160px;padding:10px 20px;font-size:14px;border-radius:9px}
@media(max-width:520px){#password-settings-form.visitor-password-only{grid-template-columns:1fr;padding:16px;gap:14px}#password-settings-form.visitor-password-only button[type=submit]{width:100%}}

/* A brief confetti burst confined to the selected product-category button. */
.product-category-nav button{position:relative}
.product-category-nav .category-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:1}
.category-confetti i{position:absolute;left:50%;top:50%;width:3px;height:5px;border-radius:1px;opacity:0;animation:product-category-confetti .6s ease-out both}
@keyframes product-category-confetti{0%{opacity:0;transform:translate(-50%,-50%) scale(.5)}12%{opacity:1}75%{opacity:.85}100%{opacity:0;transform:translate(calc(-50% + var(--confetti-x)),calc(-50% + var(--confetti-y))) rotate(var(--confetti-spin)) scale(.8)}}
@media(prefers-reduced-motion:reduce){.product-category-nav .category-confetti{display:none}}

#hotel-location-map[data-merchant-category="酒店公寓开房折扣"] h2{text-align:center;margin:0 32px 14px;padding:0}

/* Slightly larger product introduction text only. */
#merchant-detail.product-detail .product-detail-description h3{font-size:17px}
#merchant-detail.product-detail .product-detail-description p{font-size:16px;line-height:1.85}

/* Opening hint for the hotel media viewer; never captures gestures. */
#hotel-media-viewer .hotel-viewer-swipe-hint{position:absolute;left:50%;bottom:max(76px,calc(env(safe-area-inset-bottom) + 64px));transform:translateX(-50%);z-index:2;display:flex;align-items:center;gap:10px;padding:8px 14px;border-radius:20px;background:#000b;color:#fff;font-size:12px;line-height:20px;white-space:nowrap;pointer-events:none;animation:hotel-swipe-hint-fade 3.2s ease both}
.hotel-swipe-motion{display:flex;align-items:center;gap:7px;color:#ead2ff;font-size:18px}
.hotel-swipe-motion i{display:inline-block;font-style:normal;animation:hotel-swipe-motion .9s ease-in-out 3}
@keyframes hotel-swipe-motion{0%,100%{transform:translateX(-5px)}50%{transform:translateX(5px)}}
@keyframes hotel-swipe-hint-fade{0%{opacity:0}10%,82%{opacity:1}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){#hotel-media-viewer .hotel-viewer-swipe-hint,.hotel-swipe-motion i{animation:none}}

/* Hotel cover phone: color-only match to the existing detail phone button. */
.hotel-premium .hotel-cover-phone,.hotel-premium .hotel-cover-phone:visited{background:linear-gradient(180deg,#36d867,#21b64b);border-color:#21b64b;color:#fff}

/* One opening cue surrounds all eight hotel media slots. */
.hotel-premium .hotel-media-grid{position:relative}
.hotel-premium .hotel-media-grid::after{content:'';position:absolute;inset:-3px;border:1px solid #e0b7ff;border-radius:12px;pointer-events:none;animation:hotel-media-outline 2s ease-in-out 3 both}
.hotel-media-open-hint{position:absolute;left:50%;bottom:5px;transform:translateX(-50%);padding:3px 9px;border-radius:10px;background:#160c24c9;color:#fff;font-size:10px;line-height:16px;white-space:nowrap;pointer-events:none;animation:hotel-media-hint 6s ease both}
@keyframes hotel-media-outline{0%,100%{opacity:0;box-shadow:none}40%,65%{opacity:1;box-shadow:0 0 8px #d6a5ff70}}
@keyframes hotel-media-hint{0%,8%{opacity:0}15%,85%{opacity:1}100%{opacity:0}}
#hotel-media-viewer .hotel-viewer-arrow{position:absolute;top:50%;bottom:auto;right:auto;margin:0;transform:translateY(-50%);z-index:3;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:#0007;color:#fff;font-size:30px;line-height:1}
#hotel-media-viewer .hotel-viewer-prev{left:12px}
#hotel-media-viewer .hotel-viewer-next{right:12px;left:auto}
#hotel-media-viewer .hotel-viewer-arrow[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.hotel-premium .hotel-media-grid::after{animation:none;opacity:0}.hotel-media-open-hint{animation:none}}

/* Hotel list scrolls as a single native column; cards retain their full content height. */
#catalog-panel.hotel-catalog .catalog-browser{flex:1 1 0;min-height:0;overflow:hidden}
#catalog-panel.hotel-catalog #catalog-results{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;touch-action:pan-y;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
#catalog-panel.hotel-catalog #catalog-results .hotel-premium{flex:0 0 auto;height:auto;min-height:0;max-height:none;box-sizing:border-box;touch-action:pan-y}
#catalog-panel.hotel-catalog .hotel-media-grid,#catalog-panel.hotel-catalog .hotel-premium-body{flex-shrink:0}
#catalog-panel.hotel-catalog .hotel-media-thumb{touch-action:pan-y}

/* Hotel address occupies its own row directly below the name. */
.hotel-premium-body>.hotel-title-address{display:block;flex:none;width:100%;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;overflow:visible;text-overflow:clip;margin:0;font-size:13px;line-height:1.6}

/* Hotel list: familiar return-to-top control and a quiet end-of-list divider. */
#catalog-panel.hotel-catalog .catalog-browser{position:relative}
#catalog-back-top{position:absolute;right:12px;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:42px;height:44px;padding:4px;border:1px solid #ddc8ef50;border-radius:12px;background:rgba(37,25,50,.82);color:#f1e4ff;box-shadow:0 3px 12px #0003;cursor:pointer;animation:catalog-back-top-in .18s ease-out}
#catalog-back-top svg{width:20px;height:20px}
#catalog-back-top span{font-size:9px;line-height:12px}
#catalog-back-top[hidden]{display:none}
#catalog-back-top:focus-visible{outline:2px solid #dcb5ff;outline-offset:3px}
#catalog-panel .catalog-list-end{display:flex;align-items:center;justify-content:center;gap:12px;flex:0 0 auto;grid-column:1/-1;min-height:0;padding:18px 12px 8px;color:#aa9abc;font-size:12px;line-height:20px}
.catalog-list-end::before,.catalog-list-end::after{content:'';height:1px;width:48px;background:#bd96de30}
@keyframes catalog-back-top-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#catalog-back-top{animation:none}}

/* Link-type massage brands share the category-button confetti burst. */
.visit-brand-card{position:relative}
.visit-brand-card .category-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}
@media(prefers-reduced-motion:reduce){.visit-brand-card .category-confetti{display:none}}

/* Shared list feedback keeps each category's existing card arrangement. */
.catalog-browser{position:relative}
#catalog-results.brand-results:has(.catalog-list-end){grid-auto-rows:auto}

#product-category-order .admin-row{flex-wrap:wrap}
#product-category-order .category-renaming input{flex:1 1 160px;min-width:0;width:auto;box-sizing:border-box;padding:9px;border:1px solid #ffd70050;border-radius:8px;background:#000;color:#fff;font:inherit}
#product-category-order .category-rename-error{flex:1 1 100%;color:#ff7777;font-size:12px}
#product-category-order button[hidden]{display:none}

/* Keep hotel management actions aligned regardless of name length. */
#admin-hotels .admin-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;justify-content:normal;gap:12px;align-items:center}
#admin-hotels .admin-row>span{min-width:0;overflow-wrap:anywhere;line-height:1.6}
#admin-hotels .admin-row>button{white-space:nowrap}
@media(max-width:420px){#admin-hotels .admin-row{gap:8px;padding:12px 0}}

/* Product covers show only a single name and price row. */
#catalog-panel.product-catalog .product-card .merchant-copy{display:flex;align-items:baseline;justify-content:center;gap:4px;min-width:0;padding:7px 1px 0}
#catalog-panel.product-catalog .product-card h3{display:block;flex:0 1 auto;min-width:0;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;line-height:1.5}
#catalog-panel.product-catalog .product-card .merchant-price{flex:0 1 auto;min-width:0;max-width:75%;font-size:11px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.product-group-create{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:16px 0}.product-group-create>label{display:flex;flex:1 1 180px;flex-direction:column;gap:7px}.product-group-create input{box-sizing:border-box;width:100%;padding:10px;border:1px solid #ffd70050;border-radius:9px;background:#000;color:#fff;font:inherit}.product-group-create>span{flex-basis:100%;font-size:12px;line-height:1.6}.admin-form .product-group-picker{min-width:0;margin:0;padding:10px;border:1px solid #ffd70040;border-radius:10px}.product-group-picker legend{font-size:12px;color:#cdb7de}.product-group-picker small{display:block;margin-top:8px;font-size:11px;color:#c9bd83}#product-group-choices{display:flex;gap:7px;flex-wrap:wrap}.admin-form .product-group-choice{display:flex;flex-direction:row;align-items:center;gap:5px;padding:6px 8px;border:1px solid #ffd70030;border-radius:7px;cursor:pointer;overflow-wrap:anywhere}.admin-form .product-group-choice input{width:14px;height:14px;margin:0;flex:none;accent-color:#ffe45b}.product-group-choice:has(input:checked){background:#ffd70020;border-color:#ffe45b!important;color:#fff!important}

.product-group-heading{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.product-group-heading h3{margin:0}.product-group-heading button{min-height:36px}.product-group-create[hidden]{display:none}


/* Match the city service title to the product title on the home page. */
#home .cities .service-copy strong{font-size:clamp(13px,3.7vw,14px)}

/* Every customer view ends at the broadcast's actual upper edge. */
:root{--site-content-height:calc(100svh - var(--broadcast-space,0px));--site-bottom-inset:var(--broadcast-space,0px)}
@supports(height:100dvh){:root{--site-content-height:calc(100dvh - var(--broadcast-space,0px))}}
#home{height:var(--site-content-height);box-sizing:border-box}
#home .main-content{overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
#catalog-panel{top:0;bottom:auto;height:var(--site-content-height);padding-bottom:12px;box-sizing:border-box}
#catalog-panel .merchant-results{padding-bottom:12px;scroll-padding-bottom:12px}
body:has(#home) dialog:not(#broadcast-bar){top:0;bottom:var(--site-bottom-inset);max-height:max(0px,calc(var(--site-content-height) - 24px));margin-top:auto;margin-bottom:auto;box-sizing:border-box;overflow-y:auto}
body:has(#home) :is(#merchant-detail.club-detail,#merchant-detail.product-detail,#brand-document-dialog.brand-document-fullpage,#hotel-media-viewer.hotel-media-viewer,.real-book-transition){top:0;bottom:auto;height:var(--site-content-height);max-height:var(--site-content-height);margin:0}
#merchant-detail.product-detail{padding-bottom:max(16px,env(safe-area-inset-bottom));scroll-padding-bottom:16px}
body:has(#home) .brand-video-dialog video{max-height:max(80px,calc(var(--site-content-height) - 140px))}
body:has(#home) .showcase-image-dialog>img{max-height:max(80px,calc(var(--site-content-height) - 180px))}

/* A scrollable password mask and iOS-style insertion caret. */
#login #password-field{overflow:hidden;cursor:text}
#login .password-display{min-width:100%;width:max-content;white-space:nowrap;justify-content:center}
#login .login-caret{flex:0 0 2px;width:2px;height:22px;border-radius:1px;background:#78afff;margin-left:3px;animation:login-caret-blink 1s steps(1,end) infinite}
@media(prefers-reduced-motion:reduce){#login .login-caret{animation:none;opacity:1}}

/* Region entry confetti uses the same particles as product categories. */
#home .region strong{position:relative}
#home .region .category-confetti{position:absolute;inset:-35px;pointer-events:none;z-index:2}
@media(prefers-reduced-motion:reduce){#home .region .category-confetti{display:none}}
