/* v126: site shell — bottom tab bar, 「更多」 menus, folded gallery filters, skeleton cards, share sheet, a11y basics */

/* ── phones: the sideways-scrolling link row gives way to the bottom tab bar ── */
@media(max-width:760px){
 .site-header > nav:not(.ss-lang),html body nav.main-navigation>.nav-menu,.main-navigation .nav-menu{display:none!important}
 body.ss-tabbar-on{padding-bottom:calc(66px + env(safe-area-inset-bottom))}
 body.ss-tabbar-on .ca-toast,body.ss-tabbar-on #upgrade-toast,body.ss-tabbar-on .toast,body.ss-tabbar-on .upload-progress:not(.is-inline){bottom:calc(78px + env(safe-area-inset-bottom))!important}
}
.ss-tabbar{position:fixed;left:0;right:0;bottom:0;z-index:950;display:grid;grid-template-columns:repeat(5,1fr);padding:4px 6px calc(4px + env(safe-area-inset-bottom));background:rgba(6,12,22,.92);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);border-top:1px solid #33506a;box-shadow:0 -8px 24px rgba(0,0,0,.35)}
.ss-tabbar[hidden]{display:none}
.ss-tab{font:inherit;display:grid;justify-items:center;align-content:center;gap:2px;min-height:54px;padding:4px 2px;border:0;border-radius:12px;background:none;color:#9eb3c7;text-decoration:none;font-size:11.5px;letter-spacing:.02em;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ss-tab svg{width:23px;height:23px}
.ss-tab.is-on{color:#f3e6c2}
.ss-tab.is-on svg{color:#e5cf93;filter:drop-shadow(0 0 6px rgba(229,207,147,.55))}
.ss-tab:active{background:#ffffff0d}
.ss-tab:focus-visible{outline:2px solid #a8e2f7;outline-offset:-2px}
.ss-sheet{position:fixed;inset:auto 0 0 0;width:100%;max-width:none;margin:0;padding:12px 14px calc(14px + env(safe-area-inset-bottom));border:0;border-top:1px solid #33506a;border-radius:20px 20px 0 0;background:#0b1626;color:#e7edf5;box-shadow:0 -18px 50px #000a}
.ss-sheet[open]{animation:ss-up .22s ease-out}
@keyframes ss-up{from{transform:translateY(30px);opacity:0}to{transform:none;opacity:1}}
.ss-sheet::backdrop{background:#020610a6}
.ss-sheet-list{display:grid;gap:4px;margin-bottom:10px}
.ss-sheet-link{display:flex;align-items:center;min-height:48px;padding:0 14px;border-radius:12px;background:#0f1d2c;color:#e7edf5;text-decoration:none;font-size:15px}
.ss-sheet-link .ss-ext{margin-left:auto;color:#9eb3c7}
.ss-sheet-x{font:inherit;width:100%;min-height:46px;border:1px solid #43566a;border-radius:999px;background:none;color:#cfdfeb;font-size:14px}

/* ── 水晶幻化櫃: folded filters ── */
.ss-more-filters{margin:10px 0 0;border-top:1px solid #ffffff14;padding-top:8px}
.ss-more-filters>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:10px;min-height:38px;padding:0 14px;border:1px solid #43566a;border-radius:999px;color:#d5e3ee;font-size:13.5px}
.ss-more-filters>summary::-webkit-details-marker{display:none}
.ss-more-filters>summary::before{content:'⚙';color:#9ccfd9}
.ss-more-filters>summary::after{content:'▾';color:#9eb3c7;transition:transform .2s}
.ss-more-filters[open]>summary::after{transform:rotate(180deg)}
.ss-more-filters.has-active>summary{border-color:#ad985c;color:#f6e9bd}
.ss-filter-count{color:#e5cf93;font-size:12px}
.ss-more-body{padding-top:12px}
@media(max-width:700px){.ss-more-filters>summary{width:100%;justify-content:center}}

/* ── skeleton cards while the gallery loads ── */
.gallery[aria-busy="true"]:empty{min-height:560px;border-radius:16px;background:
 linear-gradient(100deg,transparent 30%,rgba(255,255,255,.06) 50%,transparent 70%) 0 0/200% 100%,
 repeating-linear-gradient(90deg,rgba(15,29,44,.9) 0 calc(25% - 14px),transparent calc(25% - 14px) 25%);animation:ss-shimmer 1.4s linear infinite}
@media(max-width:900px){.gallery[aria-busy="true"]:empty{background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.06) 50%,transparent 70%) 0 0/200% 100%,repeating-linear-gradient(90deg,rgba(15,29,44,.9) 0 calc(50% - 8px),transparent calc(50% - 8px) 50%)}}
@keyframes ss-shimmer{to{background-position:-200% 0,0 0}}

/* ── share sheet after saving a card ── */
.ss-share{position:fixed;left:50%;bottom:calc(18px + env(safe-area-inset-bottom));z-index:960;width:min(560px,calc(100vw - 20px));padding:14px;border:1px solid #ad985c;border-radius:18px;background:linear-gradient(160deg,#16283bf2,#0b1626f7);color:#e7edf5;box-shadow:0 20px 60px #000c;transform:translate(-50%,20px);opacity:0;transition:transform .25s ease,opacity .25s ease}
.ss-share.is-in{transform:translate(-50%,0);opacity:1}
.ss-share-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center}
.ss-share-thumb{width:52px;height:68px;object-fit:cover;border-radius:8px;border:1px solid #ffffff22}
.ss-share-top b{display:block;color:#f3e6c2;font-size:15px}
.ss-share-top small{display:block;color:#9eb3c7;font-size:12.5px;line-height:1.5;margin-top:2px}
.ss-share-x{width:32px;height:32px;border:0;border-radius:50%;background:#ffffff12;color:#e7edf5;font-size:18px;cursor:pointer}
.ss-share-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.ss-share-btn{font:inherit;font-size:13px;min-height:38px;padding:0 14px;border:1px solid #58778599;border-radius:999px;background:#10233599;color:#d8e8f0;cursor:pointer}
.ss-share-btn:hover{border-color:#e5cf93}
.ss-share-btn.is-pri{border-color:#ad985c;background:linear-gradient(135deg,#41463b,#202d37);color:#f6e9bd}
body.ss-tabbar-on .ss-share{bottom:calc(76px + env(safe-area-inset-bottom))}

/* ── a11y basics ── */
:where(a,button,select,input,textarea,summary,[role=button],[tabindex]):focus-visible{outline:2px solid #a8e2f7;outline-offset:2px}
@media(max-width:760px){:where(select,input[type=text],input[type=search],input[type=email],input[type=number]){min-height:40px}}
@media(prefers-reduced-motion:reduce){.aurora,.aurora-scene *{animation:none!important}.ss-sheet[open]{animation:none}.gallery[aria-busy="true"]:empty{animation:none}}
.ss-more .nav-friends-menu a{white-space:nowrap}
/* v128: one brand block on every page — ◇ + 「CRYSTAL SANCTUARY」 (Georgia, crystal cyan) + the page name in gold underneath */
html body .site-header .brand,html body nav.main-navigation>.site-brand{display:inline-flex!important;align-items:center;gap:12px;min-width:0;color:#a4e1e9!important;font:400 26px/1 Georgia,"Noto Serif TC",serif!important;letter-spacing:0!important;text-decoration:none!important;white-space:nowrap}
html body .site-header .brand>span,html body nav.main-navigation>.site-brand>span{display:block;font:400 22px/1.12 Georgia,"Noto Serif TC",serif!important;letter-spacing:2px!important;color:#a4e1e9;text-transform:uppercase}
html body .site-header .brand>span small,html body nav.main-navigation>.site-brand>span small{display:block;margin-top:4px;font:400 10px/1.4 CardHuninn,"Noto Sans TC",sans-serif!important;letter-spacing:.32em!important;color:#ddc18a!important}
html body .site-header .brand:hover,html body nav.main-navigation>.site-brand:hover{color:#d9fbff!important}
html body .site-header .brand:hover>span,html body nav.main-navigation>.site-brand:hover>span{color:#d9fbff}
@media(max-width:1100px) and (min-width:761px){html body .site-header .brand>span,html body nav.main-navigation>.site-brand>span{font-size:18px!important;letter-spacing:1.5px!important}html body .site-header .brand,html body nav.main-navigation>.site-brand{font-size:22px!important;gap:10px}}
@media(max-width:760px){html body .site-header .brand,html body nav.main-navigation>.site-brand{font-size:17px!important;gap:7px;overflow:hidden}html body .site-header .brand>span,html body nav.main-navigation>.site-brand>span{font-size:13px!important;letter-spacing:.6px!important}html body .site-header .brand>span small,html body nav.main-navigation>.site-brand>span small{font-size:8.5px!important;letter-spacing:.24em!important;margin-top:3px}}
@media(max-width:360px){html body .site-header .brand>span,html body nav.main-navigation>.site-brand>span{font-size:10.5px!important;letter-spacing:0!important}}
/* the nav link for the page you are on lights up in gold */
html body .site-header nav a.ss-here,html body nav.main-navigation .nav-menu a.ss-here{color:#e5cf93!important}
@media(min-width:761px){.ss-share{left:auto;right:22px;transform:translateY(20px)}.ss-share.is-in{transform:none}}
@media(max-width:760px){body:has(.ss-share) #upgrade-toast,body:has(.ss-share) .ca-toast,body:has(.ss-share) .toast{bottom:calc(230px + env(safe-area-inset-bottom))!important}}
/* v128: phones — the account button shrinks to its ◇ so the brand has room (the full menu is unchanged) */
@media(max-width:760px){
 html body #ca-account-button .ca-account-label{display:none!important}
 html body #ca-account-button{min-width:40px;padding-left:12px!important;padding-right:12px!important;gap:4px}
 html body #ca-account-button .ca-gem{margin:0!important;font-size:15px}
 html body #ca-account-button[aria-expanded] .ca-gem{color:#e5cf93}
 html body .ca-language select,html body #ca-language{max-width:84px}
}

/* ═══ v129 ═══ */
/* language switch: one segmented control on every page (the original <select> stays for scripts) */
.ss-lang-src{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;margin:0!important;padding:0!important;border:0!important}
.ss-lang{width:auto!important;max-width:none!important;display:inline-flex!important;align-items:center;gap:3px!important;padding:3px;border:1px solid #345878;border-radius:20px;background:#0c1428;flex:0 0 auto}
.ss-lang>button{flex:0 0 auto!important;width:auto!important;min-width:0!important;margin:0!important;box-shadow:none!important;font:inherit;font-size:12px;min-height:30px;padding:0 9px;border:0;border-radius:16px;background:none;color:#a0b3c6;cursor:pointer;white-space:nowrap}
.ss-lang button.is-on{background:#1a3b4c;color:#7df9ff}
.ss-lang button:focus-visible{outline:2px solid #d4af37}
.ss-motion{font:inherit;font-size:12px;min-height:34px;padding:0 12px;border:1px solid #345878;border-radius:12px;background:#0c1428;color:#a0b3c6;cursor:pointer;white-space:nowrap;flex:0 0 auto}
.ss-motion[aria-pressed="true"]{color:#e5cf93;border-color:#ad985c}
.ss-motion:disabled{opacity:.6;cursor:default}
html.ss-reduced .aurora,html.ss-reduced .aurora-scene *{animation:none!important}
@media(max-width:760px){.ss-motion{display:none}.ss-lang button{font-size:11px;padding:0 6px;min-height:30px}}
/* headers of 個人頁 / 公會 line up with the other pages */
html body.cf-body>.site-header,html body.fc-body>.site-header{align-self:stretch;width:auto;margin-left:auto;margin-right:auto;box-sizing:content-box}
@media(min-width:761px){html body.cf-body>.site-header,html body.fc-body>.site-header{max-width:1260px;width:calc(100% - 58px - 48px)}}
/* one page-title style: gold eyebrow, title, lead */
html body :is(.eyebrow,.wd-eyebrow,.cp-eyebrow,.ca-eyebrow){font:500 11px/1.5 CardHuninn,"Noto Sans TC",sans-serif!important;letter-spacing:.28em!important;color:#ddc18a!important;text-transform:uppercase;margin:0 0 6px!important}
html body :is(.eyebrow,.wd-eyebrow,.cp-eyebrow,.ca-eyebrow)+h1{font:700 36px/1.2 "Noto Sans TC",CardHuninn,sans-serif!important;letter-spacing:.04em!important;color:#f2f6fa!important;margin:0 0 8px!important}
html body :is(.eyebrow,.wd-eyebrow,.cp-eyebrow,.ca-eyebrow)+h1+p{font-size:15.5px!important;line-height:1.6;color:#c7d6e4!important;margin:0!important}
@media(max-width:760px){html body :is(.eyebrow,.wd-eyebrow,.cp-eyebrow,.ca-eyebrow)+h1{font-size:27px!important}html body :is(.eyebrow,.wd-eyebrow,.cp-eyebrow,.ca-eyebrow)+h1+p{font-size:14px!important}}
/* 水晶幻化櫃: a compact header so the search sits in the first screen */
html body main>.hero{padding-top:18px!important;padding-bottom:14px!important;min-height:0!important;align-items:center}
html body main>.hero .muted{display:none}
html body main>.hero+#toolbar{margin-top:6px}
#toolbar+#hot-strip{margin-top:18px}
/* detail dialog: three levels */
#detail-actions .dt-primary{display:grid;grid-template-columns:1.2fr 1fr;gap:8px}
#detail-actions .dt-primary>*{min-height:46px;display:flex;align-items:center;justify-content:center;margin:0!important;width:auto!important}
#detail-actions .dt-reuse{font-size:15px;font-weight:600}
#detail-actions .dt-quick{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
#detail-actions .dt-quick>*{min-height:36px;font-size:13px}
#detail-actions .dt-player-link{display:inline-block;margin-top:10px;color:#9ccfd9;font-size:13px;text-underline-offset:3px}
#detail-actions .dt-fold{margin-top:12px;border-top:1px solid #ffffff14;padding-top:8px}
#detail-actions .dt-fold>summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 14px;border:1px solid #43566a;border-radius:999px;color:#d5e3ee;font-size:13px}
#detail-actions .dt-fold>summary::-webkit-details-marker{display:none}
#detail-actions .dt-fold>summary::after{content:'▾';color:#9eb3c7}
#detail-actions .dt-fold[open]>summary::after{transform:rotate(180deg)}
#detail-actions .dt-share .social-share-label{display:none}
#detail-actions .dt-share .crystal-social-share{margin-top:10px}
#detail-actions .dt-share .crystal-social-share :is(a,button){min-height:38px!important;font-size:13px!important}
#detail-actions .dt-manage>*:not(summary){margin-top:10px}
@media(max-width:600px){#detail-actions .dt-primary{grid-template-columns:1fr}}
/* card maker: 「預覽」 menu, FX picker inside 「⋯」 */
.mf-tools.ux-grouped>#holo-open,.mf-tools.ux-grouped>#cfx-open,.mf-tools.ux-grouped>#c3d-open{display:none!important}
.mf-tools.ux-grouped{position:relative}
.ux-preview .ux-caret{margin-left:4px;font-size:.75em;color:#9eb3c7}
.ux-pop{position:absolute;top:calc(100% + 6px);left:0;z-index:60;min-width:250px;padding:6px;border:1px solid #33506a;border-radius:14px;background:#0b1626f7;box-shadow:0 16px 40px #000a}
.ux-pop[hidden]{display:none}
.ux-pop-item{font:inherit;display:flex;align-items:flex-start;gap:10px;width:100%;padding:10px 12px;border:0;border-radius:10px;background:none;color:#e7edf5;text-align:left;cursor:pointer}
.ux-pop-item:hover,.ux-pop-item:focus-visible{background:#ffffff0f}
.ux-pop-i{width:20px;text-align:center;color:#7df9ff}
.ux-pop-item b{display:block;font-size:14px;font-weight:600}
.ux-pop-item small{display:block;margin-top:2px;font-size:12px;color:#9eb3c7}
.mf-menu .ux-fx{font:inherit}
@media(max-width:600px){.ux-pop{min-width:230px}}
/* card maker: the page title is already in the nav and the start screen, so the old header is kept for search engines only */
.container>header:has(~.maker-layout){position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* phones: the 「全部展開」 switch keeps its label */
@media(max-width:760px){html body .mf-expert{flex-direction:column;gap:3px}html body .mf-expert span:last-child{display:block!important;font-size:10.5px;line-height:1.1;white-space:nowrap}}
/* under the maker: character cards only (the type switch is hidden; layout unchanged) */
.ux-recent #recent-type-filter{display:none!important}
/* 我的衣櫃: guest trial button */
.wd-try{border-color:#7fb8c988!important;color:#cfeef6!important}
/* 聖地巡禮: empty categories show no 「0」, the empty state leads with the action */
.cp-type .cp-type-empty{display:none}
.cp-empty-cta{display:grid;justify-items:center;gap:14px;text-align:center}
.cp-empty-row{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.cp-empty-cta .cp-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 22px;font-size:15px}

/* v131: a long account menu (members with admin tools) scrolls, and 「登出」 stays visible at the bottom */
html body #ca-account-menu{max-height:calc(100dvh - 90px)!important;overflow-y:auto!important;overscroll-behavior:contain}
html body #ca-account-menu>button:last-child{position:sticky;bottom:-10px;z-index:1;background:#101e2d;box-shadow:0 -10px 12px #101e2d}
@media(max-width:760px){html body #ca-account-menu{max-height:calc(100dvh - 150px)!important}}
/* v132: 水晶幻化櫃 header matches the other pages (font, sizes, spacing, no divider) */
html body:not(.ca-body) .site-header{box-sizing:content-box!important;max-width:1260px!important;justify-content:space-between!important;flex-wrap:wrap!important;padding:20px 24px!important;gap:14px!important;border-bottom:0!important;font-family:"Noto Sans TC",CardHuninn,sans-serif!important;font-size:16px!important}
html body:not(.ca-body) .site-header>nav:not(.ss-lang){gap:12px 20px!important;font-size:16px!important}
html body:not(.ca-body) .site-header>nav>a,html body:not(.ca-body) .site-header>nav .ss-more>summary{font-size:16px!important;color:#c8dce9;line-height:1}
html body:not(.ca-body) .site-header>nav>a.ss-here{color:#e5cf93!important}
html body:not(.ca-body) .site-header #ca-account-button{font-size:16px!important}
html body:not(.ca-body) .site-header #gallery-motion-toggle{font:inherit;font-size:12px!important;min-height:34px;padding:0 12px!important;margin-left:0!important;white-space:nowrap;flex:0 0 auto;border:1px solid #345878;border-radius:12px;background:#0c1428;color:#a0b3c6}
html body:not(.ca-body) .site-header #gallery-motion-toggle[aria-pressed="true"]{color:#e5cf93;border-color:#ad985c}
@media(max-width:760px){html body:not(.ca-body) .site-header{padding:12px 14px!important}html body:not(.ca-body) .site-header #gallery-motion-toggle{display:none}}
@media(max-width:760px){html body.cf-body>.site-header,html body.fc-body>.site-header{margin-left:0!important;margin-right:0!important;justify-self:stretch!important;width:auto!important}}
@media(max-width:760px){
 html body .site-header{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important}
 html body .site-header>.brand{flex:1 1 auto!important;min-width:0!important}
 html body .site-header>.ss-lang{flex:0 0 auto!important;order:9;margin:0!important}
 html body .site-header .ca-bar,html body .site-header>.ca-surface:not(.ss-lang-src){flex:0 0 auto}
}
@media(max-width:760px){
 html body:not(.ca-body) .site-header{flex-wrap:nowrap!important;padding:12px 14px!important;gap:8px!important}
 html body .ss-lang>button{font-size:11px!important;padding:0 5px!important;min-height:28px!important}
 html body .site-header .brand>span,html body nav.main-navigation>.site-brand>span{font-size:12px!important;letter-spacing:.4px!important}
}
@media(max-width:760px){html body .site-header>.ca-bar{padding-left:0!important;margin-left:0!important}}

/* ═══ v137 ═══ */
/* six tabs on phones (水晶羅盤 added) */
.ss-tabbar{grid-template-columns:repeat(6,1fr)!important}
@media(max-width:380px){.ss-tab{font-size:10.5px}.ss-tab svg{width:21px;height:21px}}
body.cp-editing .ss-tabbar{display:none!important}
body.cp-editing.ss-tabbar-on{padding-bottom:0}
/* the header no longer wraps: slightly tighter links on mid-size screens */
@media(max-width:1320px) and (min-width:761px){html body .site-header>nav:not(.ss-lang),html body nav.main-navigation>.nav-menu{gap:10px 15px!important}html body .site-header>nav>a,html body .site-header>nav .ss-more>summary,html body nav.main-navigation .nav-link{font-size:15px!important}html body .site-header .ss-motion,html body .site-header #gallery-motion-toggle{display:none!important}}
@media(max-width:1120px) and (min-width:761px){html body .site-header>nav>a,html body .site-header>nav .ss-more>summary{font-size:14px!important}html body .site-header>nav:not(.ss-lang){gap:8px 12px!important}}

/* ── nav dropdowns (「更多」 and the account menu): one glass style, a soft drop-in, gold hover rail ── */
@keyframes ss-drop{from{opacity:0;transform:translate(var(--ss-dx,0),-6px) scale(.97)}to{opacity:1;transform:translate(var(--ss-dx,0),0) scale(1)}}
html body .ss-more{position:relative}
html body .ss-more>.nav-friends-menu{--ss-dx:-50%;left:50%;top:calc(100% + 10px);padding:8px!important;min-width:190px;display:none;flex-direction:column;gap:2px;background:linear-gradient(180deg,#132538f5,#0c1828f7);border:1px solid #3d5870;border-radius:16px;box-shadow:0 18px 48px #000a,inset 0 1px 0 #ffffff14;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);transform:translateX(-50%);transform-origin:50% 0}
html body .ss-more[open]>.nav-friends-menu{display:flex!important;animation:ss-drop .2s cubic-bezier(.2,.8,.3,1) both}
html body .ss-more>.nav-friends-menu::before{content:'';position:absolute;top:-6px;left:50%;width:10px;height:10px;margin-left:-5px;background:#132538;border-left:1px solid #3d5870;border-top:1px solid #3d5870;transform:rotate(45deg)}
html body .ss-more .friend-link{position:relative;display:flex!important;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:0 14px!important;border:0!important;border-radius:10px!important;background:none!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;color:#d8e6f0!important;font-size:14.5px!important;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s,padding .15s}
html body .ss-more .friend-link span{color:#8fa6ba;font-size:.85em}
html body .ss-more .friend-link::before{content:'';position:absolute;left:4px;top:10px;bottom:10px;width:2px;border-radius:2px;background:#e5cf93;opacity:0;transform:scaleY(.4);transition:opacity .15s,transform .15s}
html body .ss-more .friend-link:hover,html body .ss-more .friend-link:focus-visible{background:#ffffff0f!important;color:#f6e9bd!important;padding-left:18px!important}
html body .ss-more .friend-link:hover::before,html body .ss-more .friend-link:focus-visible::before,html body .ss-more .friend-link.ss-here::before{opacity:1;transform:none}
html body .ss-more .friend-link.ss-here{color:#e5cf93!important}
html body .ss-more.has-here>summary{color:#e5cf93!important}
html body .ss-more .ss-sep{display:block;height:1px;margin:4px 8px;background:#ffffff14}
html body .ss-more>summary::after{transition:transform .2s ease}
/* account menu */
html body .ca-menu:not([hidden]){animation:ss-drop .2s cubic-bezier(.2,.8,.3,1) both;transform-origin:100% 0}
html body .ca-menu{background:linear-gradient(180deg,#132538f5,#0c1828f7)!important;border-color:#3d5870!important;border-radius:16px!important;box-shadow:0 18px 48px #000a,inset 0 1px 0 #ffffff14!important;padding:8px!important;gap:2px!important}
html body .ca-menu>a,html body .ca-menu>button{position:relative;min-height:40px;border-radius:10px!important;font-size:14.5px;color:#d8e6f0;transition:background .15s,color .15s,padding .15s}
html body .ca-menu>a:hover,html body .ca-menu>a:focus-visible,html body .ca-menu>button:hover,html body .ca-menu>button:focus-visible{background:#ffffff0f!important;color:#f6e9bd!important;padding-left:18px}
html body .ca-menu>a::before{content:'';position:absolute;left:4px;top:10px;bottom:10px;width:2px;border-radius:2px;background:#e5cf93;opacity:0;transform:scaleY(.4);transition:opacity .15s,transform .15s}
html body .ca-menu>a:hover::before,html body .ca-menu>a:focus-visible::before,html body .ca-menu>a.is-current::before{opacity:1;transform:none}
html body .ca-menu .ca-menu-sep,html body .ca-menu hr{border:0;height:1px;margin:4px 8px;background:#ffffff14}
@media(prefers-reduced-motion:reduce){html body .ss-more[open]>.nav-friends-menu,html body .ca-menu:not([hidden]){animation:none}}
html body .ss-more>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:4px}
html body .ss-more>summary::-webkit-details-marker{display:none}
html body .ss-more>summary::marker{content:''}

@media(min-width:761px){html body.cf-body>.site-header,html body.fc-body>.site-header{margin:0 29px!important;width:auto!important;max-width:1260px!important;box-sizing:content-box!important}}
@media(min-width:1318px){html body.cf-body>.site-header,html body.fc-body>.site-header{margin:0 auto!important}}
html body .ss-more>summary::after{content:'';width:6px;height:6px;margin:0 2px 3px 4px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);opacity:.7}
html body .ss-more[open]>summary::after{transform:rotate(225deg);margin-bottom:-2px}

@media(max-width:1320px) and (min-width:761px){html body .site-header{margin-left:0!important;margin-right:0!important;max-width:none!important}html body .site-header .ca-bar{padding-left:10px!important}html body .site-header #ca-account-button{font-size:15px!important}}
@media(max-width:1320px) and (min-width:761px){
 html body:not(.ca-body) .site-header>nav:not(.ss-lang){gap:10px 15px!important}
 html body:not(.ca-body) .site-header>nav>a,html body:not(.ca-body) .site-header>nav .ss-more>summary{font-size:15px!important}
 html body.cf-body>.site-header,html body.fc-body>.site-header{margin:0!important;max-width:none!important}
}
@media(max-width:1120px) and (min-width:761px){html body:not(.ca-body) .site-header>nav>a,html body:not(.ca-body) .site-header>nav .ss-more>summary{font-size:14px!important}html body:not(.ca-body) .site-header>nav:not(.ss-lang){gap:8px 12px!important}}
html body nav.main-navigation .nav-friends-item{margin-right:6px}
@media(max-width:760px){html body #ca-account-button>span:not(.ca-gem):not(.ca-account-label){display:none!important}}
