/* Compact reading rhythm, following the owner's review. */
.ws-header{backdrop-filter:none;-webkit-backdrop-filter:none;background:#171e19}
@media(max-width:800px){
 .ws-header .ws-account{min-width:0}
 .ws-header .ws-account>.ws-register{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:112px;padding:6px 10px;font-size:13px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
}
.qr-poster{background-image:linear-gradient(0deg,#19241f 68%,#19241f9e 100%),url('assets/night.webp');background-position:top center;background-size:100% 100%,auto 380px;background-repeat:no-repeat}
.qr-poster[data-style="fresh"]{background-image:linear-gradient(0deg,#e7efdf 67%,#e7efdf9e 100%),url('assets/garden.webp');background-position:top center;background-size:100% 100%,auto 380px;background-repeat:no-repeat}
@supports(interpolate-size:allow-keywords){.ev-team-detail::details-content{interpolate-size:allow-keywords;block-size:0;overflow:hidden;transition:block-size .3s var(--ws-ease),content-visibility .3s allow-discrete}.ev-team-detail[open]::details-content{block-size:auto}}
.ws-page{animation:none;padding:40px 0 56px;min-height:580px}.ws-heading{font-size:38px;margin:9px 0 12px}.ws-lead{font-size:15px}.ws-section-head{margin-bottom:20px}.ws-section-head h2{font-size:25px}.ws-panel{padding:22px}.ws-footer{padding-top:28px}.ws-footer-top{gap:20px}.ws-footer-brand p{font-size:15px}.ws-footer-bottom{margin-top:22px;padding-top:18px}
.hm-scene{height:640px}.hm-stage{height:600px}.hm-copy{padding-top:60px}.hm-copy h1{font-size:50px;margin-top:22px;margin-bottom:20px}.hm-subtitle{font-size:15px}.hm-entries{margin-top:32px}.hm-entry{padding:14px}.hm-entry-top{margin-bottom:11px}.hm-hero-bottom{margin-top:20px}.hm-character{height:800px;bottom:-235px;right:-72px}.hm-moon-ring{width:390px;height:390px;top:46px}.hm-character-sign{bottom:42px}.hm-section{padding:48px 0}.hm-section-title{margin-bottom:24px}.hm-section-title h2{font-size:30px;margin-top:9px}.hm-match-panel{padding:24px}.hm-match-panel h3{font-size:25px;margin-top:18px}.hm-ranking{padding:24px}.hm-book-section{padding:44px 0}.hm-book-card{padding:22px}.hm-book-card>strong{font-size:22px;margin-top:20px}.hm-book-card>p{margin-bottom:22px}.hm-game-art{height:190px}.hm-game-art>span{font-size:36px}.hm-game-info h3{font-size:17px}.hm-game-info>div{margin-top:14px}.hm-visit{padding:42px 0}.hm-visit h2{font-size:36px}.hm-visit-note{min-height:180px;padding-top:28px}.hm-visit-note p{font-size:18px}
.phone-preview{padding:28px 16px 40px;text-align:center;background:#d8dcd3;min-height:calc(100dvh - 36px)}.phone-preview iframe{display:block;width:390px;max-width:100%;height:850px;margin:auto;border:0;border-radius:16px;box-shadow:0 10px 44px #12221935;background:var(--ws-paper)}.embedded-preview{background:var(--ws-paper)}
.bk-other-date{margin-top:18px;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:12px;font-size:13px}.bk-other-date input{width:auto;min-height:44px;padding:8px 12px;font-size:14px}.ws-rating-stars{display:flex;justify-content:space-between;gap:8px;padding:16px 0}.ws-rating-stars button{font-size:36px;min-height:48px;min-width:44px;color:#866426}.ws-dialog .ws-panel{padding:20px}
.ws-menu-toggle{gap:5px}.ws-menu-toggle i{transition:transform .4s ease-out,opacity .2s ease-out}.ws-menu-toggle[aria-expanded=true] i:first-child{transform:translateY(6px) rotate(45deg)}.ws-menu-toggle[aria-expanded=true] i:nth-child(2){opacity:0}.ws-menu-toggle[aria-expanded=true] i:last-child{transform:translateY(-6px) rotate(-45deg)}
.ws-mobile-nav{position:fixed;inset:var(--menu-top,76px) 0 0;padding:20px 26px calc(24px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;background:#14251ded;border:0;box-shadow:none;animation:none;opacity:0;transform:translateY(-12px);transition:opacity .28s ease-out,transform .32s var(--ws-ease)}.ws-mobile-nav.is-open{opacity:1;transform:translateY(0)}.ws-mobile-menu-panel{max-width:440px;margin:0 auto;background:#fffdf5;border-radius:18px;padding:8px 22px 18px;color:#26392d;box-shadow:0 14px 36px #07130e30;transform:translateY(-8px);transition:transform .32s var(--ws-ease)}.ws-mobile-nav.is-open .ws-mobile-menu-panel{transform:translateY(0)}.ws-mobile-menu-panel>a,.ws-mobile-group>a{display:flex;align-items:center;justify-content:center;gap:12px;border-bottom:1px solid #dde0d5;min-height:56px;padding:12px 4px;font-size:17px;font-weight:500}.ws-mobile-menu-panel a span{font-size:9px;letter-spacing:.1em;color:#6e785f;font-weight:400}.ws-mobile-account{border-bottom:1px solid #dde0d5;padding:4px;text-align:center}.ws-mobile-account button{font-size:16px;font-weight:500;min-height:50px;padding:10px 30px}.ws-mobile-group>a{border-bottom:0;padding-bottom:5px;color:#285a50}.ws-mobile-sub{display:flex;flex-direction:column;gap:0;align-items:stretch;text-align:center;border-bottom:1px solid #dde0d5;padding-bottom:12px}.ws-mobile-sub button{font-size:14px;min-height:44px;padding:8px;color:#536348}.ws-mobile-quick{margin-top:16px}.ws-mobile-quick a{display:flex;align-items:center;justify-content:center;gap:16px;border:0;background:#285a50;color:#fffdf5;border-radius:5px;font-size:15px;font-weight:500;padding:12px;min-height:48px}.ws-mobile-quick a span{color:#e6d3af;font-size:18px}.ws-mobile-menu-panel>p{font-family:"Songti SC",serif;color:#6b745d;text-align:center;font-size:12px;letter-spacing:.12em;margin-top:17px}
.ws-no-motion *, .ws-no-motion *:before,.ws-no-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.ws-no-motion .hm-scene{height:auto}.ws-no-motion .hm-stage{position:relative;top:0}
@media(min-width:1600px){.hm-stage{height:640px}.hm-scene{height:680px}.hm-copy{padding-top:90px}.hm-copy h1{font-size:54px}.hm-character{height:850px;bottom:-235px}.hm-entries{margin-top:32px}}
@media(max-width:1100px) and (min-width:801px){.hm-copy h1{font-size:39px}.hm-character{height:740px;right:-125px;bottom:-180px}.hm-copy{padding-top:90px}.hm-entries{margin-top:28px}.hm-entry{padding:13px 10px}.hm-entry strong{font-size:13px}}
@media(max-width:800px){.ws-page{padding:28px 0 40px}.ws-heading{font-size:29px;margin:8px 0 10px}.ws-lead{font-size:15px}.ws-section-head h2{font-size:24px}.ws-panel{padding:20px}.ws-header-inner{height:68px}.ws-logo,.ws-logo img{height:54px;width:116px}.ws-account{gap:12px}.ws-login{min-height:44px;padding:10px 0}.ws-menu-toggle{flex-shrink:0}.hm-scene,.hm-stage{height:auto}.hm-stage{position:relative;top:0}.hm-copy{padding-top:32px}.hm-copy h1{font-size:clamp(27px,7.4vw,42px);margin-top:18px;margin-bottom:14px;line-height:1.44}.hm-subtitle{font-size:13px}.hm-entries{margin-top:22px}.hm-entry{padding:12px 14px;min-height:55px}.hm-entry-top{margin:0}.hm-hero-bottom{margin-top:12px}.hm-character-area{height:355px;margin-top:0}.hm-character{height:560px;right:calc(50% - 216px);bottom:-220px}.hm-moon-ring{width:275px;height:275px;left:calc(50% - 137px);top:22px}.hm-side-type{top:28px;right:6px}.hm-character-sign{bottom:42px}.hm-character-sign span{font-size:24px}.hm-section{padding:32px 0}.hm-section-title{margin-bottom:20px;gap:14px}.hm-section-title h2{font-size:25px}.hm-match-panel{padding:22px 20px}.hm-match-panel h3{font-size:23px}.hm-ranking{padding:20px}.hm-book-section{padding:32px 0}.hm-book-card{padding:20px}.hm-book-card>strong{margin-top:15px;font-size:22px}.hm-book-card>p{margin-bottom:18px}.hm-game-grid{gap:24px}.hm-game-art{height:180px}.hm-game-art>span{font-size:36px}.hm-game-info{padding-top:14px}.hm-game-info h3{font-size:18px}.hm-visit{padding:32px 0}.hm-visit h2{font-size:30px}.hm-visit-note{min-height:160px;padding-top:22px}.hm-visit-note img{width:110px;height:130px}.hm-visit-note p{font-size:17px}.ws-footer-brand p{font-size:13px}.ws-footer-brand{gap:14px}.ws-footer img{width:100px;height:54px}.bk-other-date{justify-content:space-between}.ws-dialog h2{font-size:25px}.phone-preview{padding-top:15px}.preview-tools [data-device]{display:none}}
@media(max-width:360px){.ws-heading{font-size:28px}.hm-copy h1{font-size:26px}.hm-character-area{height:320px}.hm-character{height:510px;bottom:-200px;right:calc(50% - 195px)}.hm-entry{padding:11px 13px}.hm-entry strong{font-size:14px}.hm-game-art{height:160px}.ws-mobile-nav{padding-inline:18px}.ws-mobile-menu-panel{padding-inline:18px}.ws-mobile-menu-panel>a,.ws-mobile-group>a{font-size:16px;min-height:52px}.ws-mobile-menu-panel a span{font-size:8px}.ws-footer-brand p{font-size:12px}.ws-footer-links{font-size:12px}}
@media(prefers-reduced-motion:reduce){.ws-mobile-nav,.ws-mobile-menu-panel,.ws-menu-toggle i{transition:none!important}.hm-scene{height:auto}.hm-stage{position:relative;top:0}}
@media(max-width:800px){.ws-dialog{width:100%;max-width:100%;margin:auto 0 0}.bg-invitation strong{font-size:21px;white-space:nowrap}.bk-table-information>p[data-session-time]{font-size:13px;white-space:normal}.bg-invitation p{min-width:0}.bg-invitation{gap:14px}.bg-art-stack{flex-shrink:0}}
@media(max-width:370px){.bg-invitation strong{font-size:20px}.bg-art-stack{display:none}.bg-invitation{min-height:120px}.hm-hero-grid .hm-copy h1{font-size:26px}}
/* Smaller control chrome; stacked bilingual navigation. */
.ws-button{min-height:36px;padding:6px 14px;font-size:13px;line-height:1.55;gap:8px}
.ws-mobile-menu-panel>a,.ws-mobile-group>a{flex-direction:column;gap:3px;min-height:58px;padding:10px 4px;text-align:center;line-height:1.35}
.ws-mobile-menu-panel>a>span,.ws-mobile-group>a>span{display:block;font-size:9px;line-height:1.3;letter-spacing:.12em}
.ws-mobile-sub button{font-size:13px;min-height:40px;padding:7px}
.ws-mobile-quick a{min-height:44px;font-size:14px;padding:9px 12px}
.ws-mobile-account button{min-height:44px;font-size:15px;padding:8px 20px}
.ws-mobile-menu-panel>p{margin-top:12px;font-size:11px}
.ws-nav a{transition:color .2s,transform .2s}
.ws-nav a:after{content:"";position:absolute;bottom:19px;left:50%;width:18px;height:2px;background:var(--ws-gold);transform:translateX(-50%) scaleX(0);opacity:0;transform-origin:center;transition:transform .24s var(--ws-ease),opacity .2s}
.ws-nav a[aria-current=page]:after{transform:translateX(-50%) scaleX(1);opacity:1}
.ws-menu-toggle{border-radius:4px;transition:background .2s,box-shadow .2s}
.ws-menu-toggle i{transition:transform .3s ease-out,opacity .2s ease-out,background .2s,width .2s}
@media(hover:hover) and (pointer:fine){
 .ws-nav a:hover{color:#f0d4a3;transform:translateY(-1px)}
 .ws-nav a:hover:after{transform:translateX(-50%) scaleX(1);opacity:1}
 .ws-menu-toggle:hover{background:#d5bb8120;box-shadow:inset 0 0 0 1px #d5bb814a}
 .ws-menu-toggle:hover i{background:#e6c98d}
 .ws-menu-toggle[aria-expanded=false]:hover i:first-child{transform:translateX(3px)}
 .ws-menu-toggle[aria-expanded=false]:hover i:nth-child(2){width:16px}
 .ws-menu-toggle[aria-expanded=false]:hover i:last-child{transform:translateX(-3px)}
 .ws-mobile-menu-panel>a,.ws-mobile-group>a,.ws-mobile-sub button,.ws-mobile-account button{transition:background .2s,color .2s,transform .2s;border-radius:3px}
 .ws-mobile-menu-panel>a:hover,.ws-mobile-group>a:hover,.ws-mobile-sub button:hover,.ws-mobile-account button:hover{background:#ebe9dc;color:#285a50;transform:translateY(-1px)}
 .ws-mobile-quick a:hover{background:#3b6b5d}
}
@media(max-width:800px){.ws-button{min-height:44px;padding:7px 13px;font-size:13px}.ws-mobile-nav{padding-top:14px;padding-bottom:18px}.ws-mobile-menu-panel{padding-bottom:14px}.ws-mobile-menu-panel>a,.ws-mobile-group>a{font-size:16px}.ws-mobile-sub{padding-bottom:8px}.ws-mobile-quick{margin-top:12px}}

/* Keep navigation responsive while the content changes. */
.ws-changing-view #main-content,.ws-changing-view .ws-footer{pointer-events:none}
.ws-changing-view .ad-sidebar{pointer-events:auto}

/* Shared front-office and staff dialogs: panel, backdrop, and step changes. */
.ws-dialog,.ws-toast{animation:none}
.ws-dialog[open]::backdrop{animation:ws-backdrop-in .24s ease-out both}
.ws-dialog.is-closing{pointer-events:none}
.ws-dialog.is-closing::backdrop{animation:ws-backdrop-out .18s ease-in both}
@keyframes ws-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes ws-backdrop-out{from{opacity:var(--ws-backdrop-opacity,1)}to{opacity:0}}
.ws-no-motion .ws-dialog::backdrop{animation:none}
@media(prefers-reduced-motion:reduce){.ws-dialog::backdrop{animation:none!important}}

/* Compact login only; retain the shared dialog and backdrop motion. */
.ws-dialog:has(.ws-auth){width:min(408px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);margin:auto;border:1px solid var(--ws-line);border-radius:12px;background:var(--ws-paper)}
.ws-dialog:has(.ws-auth) .ws-dialog-top{height:44px;min-height:44px;padding:0 8px;justify-content:flex-end;border-bottom:0;background:var(--ws-paper)}
.ws-dialog:has(.ws-auth) .ws-dialog-top>span{display:none}
.ws-dialog:has(.ws-auth) .ws-dialog-close{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;border-radius:6px;color:var(--ws-muted);transition:background .18s var(--ws-ease),color .18s var(--ws-ease)}
.ws-dialog:has(.ws-auth) .ws-dialog-body{padding:0 28px 24px}
.ws-auth{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;text-align:center}
.ws-auth-brand{display:flex;justify-content:center;margin:-14px 0 16px}
.ws-auth-brand>img{display:block;width:102px;height:49px;object-fit:contain;filter:brightness(0);opacity:.88}
.ws-auth-heading{margin-bottom:22px}
.ws-auth-heading>h2{margin:0;font-family:inherit;font-size:22px;font-weight:600;line-height:1.35;letter-spacing:0;color:var(--ws-ink)}
.ws-auth-heading>h2:focus{outline:none}
.ws-auth-heading>p{margin:6px 0 0;font-size:13px;line-height:1.65;color:var(--ws-muted)}
.ws-auth-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0 0 16px;padding:4px;border:1px solid var(--ws-line);border-radius:7px;background:#e9e9df}
.ws-auth-methods button{min-height:42px;padding:8px 3px;border:0;border-radius:4px;background:transparent;color:var(--ws-muted);font:inherit;font-size:12px;cursor:pointer}
.ws-auth-methods button[aria-pressed=true]{background:var(--ws-paper);color:var(--ws-green);box-shadow:0 1px 3px #14241d16}
.ws-auth [data-live-phone],.ws-auth-profile form{text-align:left}
.ws-auth :is([data-live-phone],[data-live-profile-form]) .ws-field{margin-bottom:14px;font-size:13px}
.ws-auth :is([data-live-phone],[data-live-profile-form]) input{min-height:46px;padding:10px 12px;font-size:16px}
.ws-auth-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}
.ws-auth-code-row>.ws-field{min-width:0}
.ws-auth-code-row>[data-live-phone-send]{min-height:46px;margin-bottom:14px;padding:10px;font-size:12px;white-space:nowrap}
.ws-auth [data-live-phone-status]{margin:0 0 14px;text-align:left;min-height:38px}
.ws-auth :is([data-live-phone],[data-live-profile-form]) .ws-auth-caption{text-align:left;margin:0 0 16px}
.ws-auth [data-live-phone]>.ws-auth-caption:last-child{margin:12px 0 0;text-align:center}
.ws-auth [hidden]{display:none!important}
.ws-auth-destination{margin:0 0 20px;font-size:13px;line-height:1.8;color:var(--ws-muted);overflow-wrap:anywhere}
.ws-auth-destination strong{display:block;color:var(--ws-ink);font-size:16px;font-weight:600}
.ws-auth [data-live-otp-back]{margin:-8px 0 12px;padding-left:0;text-decoration:none}
.ws-auth [data-step=code] [data-live-phone-send]{min-height:40px;margin:0 0 8px;padding:8px 12px;font-size:12px}
.ws-auth:has(.ws-auth-qr) .ws-auth-heading{margin-bottom:6px}
.ws-auth-qr{--qr-height:240px;--qr-scale:1.125;position:relative;width:300px;max-width:100%;height:calc(var(--qr-height)*var(--qr-scale));margin:0 auto;background:transparent;border-radius:6px}
.ws-auth-qr:has(>.ws-auth-qr-scan-only){--qr-height:176px;--qr-scale:1}
.ws-auth-qr>div{width:100%;height:100%;margin:0 auto}
/* The inline spacing next to WeChat's alignment helper offsets the visible code. */
.ws-auth-qr iframe{display:block;width:240px;max-width:100%;height:var(--qr-height);margin:0 auto;border:0;transform:scale(var(--qr-scale)) translateX(2px);transform-origin:top center}
.ws-auth-qr[aria-busy=true]:after{content:"二维码加载中";position:absolute;inset:0;display:grid;place-items:center;background:var(--ws-paper);color:var(--ws-muted);font-size:12px;pointer-events:none}
.ws-auth-qr-status{min-height:20px;margin:8px 0 0;font-size:12px;line-height:1.6;color:var(--ws-muted)}
.ws-auth-qr-status[role=alert]{color:var(--ws-red)}
.ws-auth:has(.ws-auth-qr) .ws-auth-caption{margin-top:0}
.ws-auth:has(.ws-auth-qr) .ws-auth-registration{margin-top:8px;padding-top:0}
.ws-auth:has(.ws-auth-qr) .ws-auth-help{margin-top:0}
.ws-auth-gate{background:var(--ws-paper);color:var(--ws-ink)}
.ws-auth-gate>h1{color:var(--ws-ink);font-family:inherit;font-size:24px;line-height:1.4;margin:8px 0}
.ws-auth-gate>p{color:var(--ws-muted);font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.ws-auth .ws-auth-error{margin:0 0 16px;padding:10px 12px;border:1px solid #ddc4ba;border-radius:6px;background:#f6e9e5;color:var(--ws-red);font-size:12px;line-height:1.65;text-align:left;overflow-wrap:anywhere}
.ws-auth .ws-auth-sync{margin:0 0 16px;padding:12px;border-radius:6px;background:#e6ecdf;color:#435c4c;font-size:12px;line-height:1.8;text-align:left}
.ws-auth-primary.ws-button{width:100%;min-height:46px;padding:10px 16px;border-radius:6px;font-size:15px;font-weight:600;line-height:1.5;gap:10px;transform:none;transition:background .18s var(--ws-ease),box-shadow .18s var(--ws-ease),opacity .18s var(--ws-ease)}
.ws-auth-primary>svg{flex:none;width:25px;height:22px}
.ws-auth-primary.ws-button:disabled,.ws-auth-primary.ws-button[aria-busy=true]{opacity:.7;box-shadow:none;transform:none}
.ws-auth-primary.ws-button:disabled{cursor:not-allowed}
.ws-auth-primary.ws-button[aria-busy=true]{cursor:progress}
.ws-auth .ws-auth-caption{margin:12px 0 0;font-size:12px;line-height:1.7;color:var(--ws-muted)}
.ws-auth-switch{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:4px auto 0;padding:8px 12px;color:var(--ws-green);font-size:12px;line-height:1.5;text-decoration:underline;text-underline-offset:3px;border-radius:4px}
.ws-auth-registration{margin:16px 0 0;padding-top:6px;border-top:1px solid var(--ws-line);font-size:12px;color:var(--ws-muted)}
.ws-auth-registration>summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 4px;line-height:1.6;list-style:none;cursor:pointer;border-radius:4px}
.ws-auth-registration>summary::-webkit-details-marker{display:none}
.ws-auth-registration>summary:after{content:"";width:6px;height:6px;flex:none;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .18s var(--ws-ease)}
.ws-auth-registration[open]>summary:after{transform:translateY(2px) rotate(225deg)}
.ws-auth-registration>p{margin:0;padding:0 8px 10px;font-size:12px;line-height:1.8;text-align:left;color:var(--ws-muted)}
.ws-auth-help{margin-top:8px}
.ws-auth-help>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 4px;border-radius:4px;font-size:12px;line-height:1.6;color:var(--ws-muted);text-underline-offset:3px}
.ws-dialog:has(.ws-auth) .ws-dialog-close:focus-visible,.ws-auth :is(button,summary,a):focus-visible{outline:2px solid #866426;outline-offset:3px}
@media(hover:hover) and (pointer:fine){
 .ws-dialog:has(.ws-auth) .ws-dialog-close:hover{background:#e8e8df;color:var(--ws-ink)}
 .ws-auth-primary.ws-button:not(.ws-wechat-action):not(:disabled):not([aria-busy=true]):hover{background:#214d44;box-shadow:0 3px 10px #14241d1a}
 .ws-auth-switch:hover,.ws-auth-registration>summary:hover{background:#e8e8df}
 .ws-auth-help>a:hover{color:var(--ws-green);text-decoration:underline}
}
.ws-auth-primary.ws-button:not(.ws-wechat-action):not(:disabled):not([aria-busy=true]):active{background:#1c423a;box-shadow:none}
.ws-auth-methods button[data-live-auth-method=wechat]{display:inline-flex;align-items:center;justify-content:center;gap:5px;color:var(--ws-ink)}
.ws-auth-methods [data-live-auth-method=wechat]:before,.ws-auth .ws-wechat-action.ws-button:before{content:"";display:block;flex:none;width:24px;height:24px;background:url('assets/wechat-logo.svg') center/contain no-repeat}
.ws-auth-methods [data-live-auth-method=wechat]:before{width:16px;height:16px}
.ws-auth .ws-wechat-action.ws-button:before{background:currentColor;-webkit-mask:url('assets/wechat-logo.svg') center/contain no-repeat;mask:url('assets/wechat-logo.svg') center/contain no-repeat}
.ws-auth .ws-wechat-action.ws-button{width:100%;min-height:48px;padding:10px 16px;border-radius:8px;background:#07c160;color:#fff;font-size:17px;font-weight:500;line-height:1.5;gap:10px;transform:none;text-decoration:none;transition:background .18s var(--ws-ease),box-shadow .18s var(--ws-ease)}
.ws-auth .ws-wechat-action.ws-button:after{content:none}
@media(hover:hover) and (pointer:fine){.ws-auth .ws-wechat-action.ws-button:not(:disabled):not([aria-busy=true]):not([aria-disabled=true]):hover{background:#06b65b;color:#fff;box-shadow:0 3px 10px #14241d1a;transform:none;text-decoration:none}}
.ws-auth .ws-wechat-action.ws-button:not(:disabled):not([aria-busy=true]):not([aria-disabled=true]):active{background:#05a851;color:#fff;box-shadow:none;transform:none}
.ws-auth .ws-wechat-action.ws-button:is(:disabled,[aria-disabled=true],[aria-busy=true]){background:#ccebd9;color:#3d5b4b;opacity:1;box-shadow:none;transform:none;cursor:not-allowed}
.ws-auth .ws-wechat-action.ws-button[aria-busy=true]{cursor:progress}
.ws-auth .ws-wechat-action.ws-button:focus-visible{outline:2px solid #071b12;outline-offset:3px}
@media(max-width:420px){.ws-dialog:has(.ws-auth) .ws-dialog-body{padding-inline:22px}}
/* Keep the full WeChat frame for confirmation and quick login. Put our instructions above it. */
.ws-auth:has(>.ws-auth-qr:not([hidden])){display:flex;flex-direction:column}
.ws-auth:has(>.ws-auth-qr:not([hidden]))>.ws-auth-methods{margin-bottom:8px}
.ws-auth>.ws-auth-qr:not([hidden]),.ws-auth>.ws-auth-qr:not([hidden])~:not(.ws-auth-qr-status){order:1}
.ws-auth>.ws-auth-qr:not([hidden])~.ws-auth-qr-status{margin:0 0 8px}
.ws-auth>.ws-auth-qr:not([hidden])~[data-live-wechat]{margin-top:0}
@media(max-width:600px){
 .ws-dialog:has(.ws-auth){width:100%;max-width:100%;margin:auto 0 0;border-radius:16px 16px 0 0;max-height:calc(100dvh - 24px)}
 .ws-dialog:has(.ws-auth) .ws-dialog-body{padding-bottom:max(24px,env(safe-area-inset-bottom))}
 .ws-auth-qr{--qr-scale:1}
 .ws-auth-qr iframe{width:100%}
}
@media(prefers-reduced-motion:reduce){.ws-dialog:has(.ws-auth) .ws-dialog-close,.ws-auth-primary.ws-button,.ws-auth .ws-wechat-action.ws-button,.ws-auth-registration>summary:after{transition:none}}

/* Optional member avatar and external-browser confirmation. */
.avatar-preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 20px}
.avatar-preset-grid>.avatar-preset{display:grid;gap:5px;min-width:48px;min-height:48px;padding:5px;border:2px solid transparent;border-radius:8px;color:var(--ws-ink);background:#e7e7dc;cursor:pointer}
.avatar-preset-grid>.avatar-preset[aria-pressed=true]{border-color:var(--ws-green);background:#dce7da}
.avatar-preset-grid>.avatar-preset:focus-visible{outline:2px solid #866426;outline-offset:2px}
.avatar-preset-art{display:block;aspect-ratio:1;background-image:url('/club/assets/avatar-presets-v1.png');background-size:400% 200%;background-position:var(--avatar-x) var(--avatar-y);border-radius:5px}
.avatar-preset-title{margin:20px 0 8px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.avatar-editor>.ws-dialog-actions{position:sticky;bottom:0;z-index:2;gap:10px;margin-top:16px;padding:12px 0 max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--ws-line);background:var(--ws-paper);box-shadow:0 8px 0 var(--ws-paper)}
.avatar-editor>.ws-dialog-actions>.ws-button{flex:1;min-width:0;min-height:44px;justify-content:center}
.ws-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.pf-avatar-edit{display:grid;justify-items:center;gap:6px}.pf-avatar-edit .pf-avatar{padding:0;border:0;cursor:pointer;overflow:hidden}.pf-avatar-edit .pf-avatar img{width:100%;height:100%;object-fit:cover}.pf-avatar-edit .ws-auth-switch{font-size:12px;margin:0}.avatar-editor [hidden]{display:none!important}.avatar-preview{width:224px;height:224px;max-width:100%;margin:20px auto;border-radius:50%;overflow:hidden;background:#e7e7dc;border:1px solid #c4c9bd}.avatar-preview img,.avatar-preview canvas{display:block;width:100%;height:100%;object-fit:cover}.avatar-preview canvas{touch-action:none;cursor:move}.avatar-editor .ws-field{margin:16px 0}.avatar-editor input[type=range]{padding:0;min-height:44px}.avatar-editor .ws-dialog-actions{display:flex;gap:12px;flex-wrap:wrap}.ws-auth-mini{text-align:center;padding:12px 0}.ws-auth-mini p{font-size:14px}.ws-auth-mini .ws-button{width:100%;min-height:48px}.ws-auth-mini .ws-auth-switch{display:block;margin:16px auto 0}
