:root {
    color-scheme: dark;
    --bg: #0d0d0d;
    --panel: #151515;
    --elevated: #212121;
    --line: #2e2e2e;
    --text: #f4f4f4;
    --muted: #ababab;
    --accent: #ededed;
    --action: #efefef;
    --action-text: #171717;
    font: 16px/1.45 Inter, "Segoe UI", system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 1.5rem; letter-spacing: -.04em; line-height: 1.16; }
h2 { font-size: 1.08rem; letter-spacing: -.02em; }
h3 { font-size: .98rem; }
form { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.inline-link { color: var(--accent); }
.inline-link:hover, .display-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.muted, small { color: var(--muted); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 10; background: var(--panel); padding: 10px; }
.layout { display: grid; grid-template-columns: minmax(170px, 205px) minmax(0, 620px) minmax(220px, 270px); gap: 18px; margin: 0 auto; max-width: 1175px; padding: 23px 18px 45px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); min-width: 0; }
.rail { display: grid; gap: 22px; position: sticky; top: 23px; }
.brand { display: flex; align-items: center; gap: 11px; width: fit-content; padding: 4px 5px; font-size: 1.45rem; font-weight: 850; letter-spacing: -.065em; }
.brand > span:last-child > span { color: #bcbcbc; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #272727; border: 1px solid #575757; }
.brand-mark.has-logo { background:#101010; border-color:#363636; flex:none; }
.brand-mark img, .startup-icon img { width:100%; height:100%; object-fit:contain; }
.brand-mark img { max-width:80%; max-height:80%; }
.startup-icon img { max-width:70%; max-height:70%; }
.site-nav { display: grid; gap: 4px; }
.site-nav a { display: flex; align-items: center; gap: 10px; min-height: 43px; padding: 8px 10px; border-radius: 8px; color: var(--muted); font-size: .94rem; border-inline-start: 2px solid transparent; }
.site-nav a:hover { color: var(--text); background: var(--elevated); }
.site-nav a[aria-current] { color: var(--text); background: #202020; border-color: #ccc; font-weight: 700; }
.nav-count { margin-left: auto; font-size: .75rem; color: #fff; background: #505050; padding: 2px 6px; border-radius: 12px; }
.rail-action { width: 100%; }
.auth-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.auth-actions .button { flex: 1; white-space: nowrap; }
.account small, .person small { display: block; }
.account strong { font-size: .9rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 39px; border-radius: 8px; padding: 6px 11px; color: var(--text); background: var(--elevated); border: 1px solid var(--line); font-size: .875rem; font-weight: 650; }
.button:hover { background: #303030; }
.button.primary { background: var(--action); border-color: var(--action); color: var(--action-text); }
.button.primary:hover { background: #fff; border-color: #fff; }
.button.subtle { background: transparent; }
.button.subtle:hover { background: var(--elevated); }
.stream { min-height: 330px; }
.stream-head { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 17px 19px; min-height: 64px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 4px; padding-inline: 12px; border-bottom: 1px solid var(--line); }
.tabs a { position: relative; min-height: 41px; padding: 10px 13px; color: var(--muted); font-size: .9rem; }
.tabs a[aria-current] { color: var(--text); font-weight: 700; }
.tabs a[aria-current]::after { content: ""; position: absolute; inset: auto 11px 0; height: 2px; background: var(--accent); border-radius: 2px; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 9px; overflow: hidden; background: #272727; border: 1px solid #424242; color: #ededed; font-weight: 800; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar[data-head] img { image-rendering: pixelated; }
.avatar-small { width: 33px; height: 33px; font-size: .83rem; }
.avatar-large { width: 84px; height: 84px; font-size: 1.9rem; border: 4px solid var(--panel); box-shadow: 0 0 0 1px var(--line); border-radius: 13px; }
.compose, .post { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.compose { background: #151515; }
.compose-body { min-width: 0; }
.compose textarea { resize: vertical; min-height: 61px; }
.compose-tools { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.counter { margin-left: auto; color: var(--muted); font-size: .77rem; font-variant-numeric: tabular-nums; }
.file-button { position: relative; border: 1px solid var(--line); border-radius: 7px; padding: 7px 8px; color: var(--muted); font-size: .84rem; cursor: pointer; overflow: hidden; }
.file-button:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.file-button input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.image-preview { width: auto; max-height: 180px; border-radius: 8px; margin-top: 8px; }
.post-content { min-width: 0; overflow-wrap: anywhere; }
.post-meta { display: flex; gap: 4px 8px; align-items: center; flex-wrap: wrap; font-size: .9rem; }
.display-name { font-weight: 760; }
.post-date { color: var(--muted); font-size: .8rem; }
.post-date:hover { text-decoration: underline; }
.post-text { line-height: 1.52; margin-block: 5px 7px; }
.context { color: var(--muted); margin-bottom: 5px; font-size: .8rem; }
.context a:hover { color: var(--text); }
.post-image { display: block; margin-block: 10px; max-width: 100%; overflow: hidden; border-radius: 10px; }
.post-image img { max-height: 420px; max-width: 100%; object-fit: contain; }
.role { display: inline-block; color: #e1e1e1; background: #242424; border: 1px solid #3c3c3c; border-radius: 4px; padding: 1px 5px; font-size: .7rem; font-weight: 720; white-space: nowrap; }
.quoted { border: 1px solid var(--line); background: #171717; padding: 9px 12px; display: block; border-radius: 9px; margin: 9px 0; }
.quoted:hover { background: var(--elevated); }
.quoted p { margin-top: 4px; font-size: .91rem; }
.reactions, .reactions form { display: flex; align-items: center; gap: 4px 11px; flex-wrap: wrap; }
.reactions > span, .reactions a, .reactions button { display: inline-flex; align-items: center; gap: 4px; min-height: 30px; background: transparent; color: var(--muted); padding: 0; border: 0; font-size: .82rem; }
.reactions span span, .reactions a span, .reactions button span { font-variant-numeric: tabular-nums; }
.reactions a:hover, .reactions button:hover, .reactions button[aria-pressed="true"] { color: var(--accent); }
.section-heading { margin: 13px 18px 6px; }
.empty { color: var(--muted); padding: 23px 18px; overflow-wrap: anywhere; }
.empty h2 { color: var(--text); margin-bottom: 4px; }
.empty p + .button { margin-top: 10px; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; padding: 11px 18px; }
.alert { background: #262626; border: 1px solid #656565; color: #fff; border-radius: 8px; margin: 13px 18px; padding: 9px 12px; }
.discovery { display: grid; gap: 13px; }
.discover-card { padding: 13px; }
.discover-card h2 { margin-bottom: 10px; }
.lookup-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px; }
.person { display: flex; align-items: center; gap: 9px; padding: 10px 17px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.person:hover { background: var(--elevated); }
.discover-card .person { padding-inline: 0; font-size: .9rem; }
.discover-card .avatar { width: 31px; height: 31px; font-size: .85rem; }
.discover-more { display: inline-block; font-size: .86rem; margin-block: 7px 2px; }
.app-footer { padding: 1px 4px; color: var(--muted); font-size: .8rem; }
.body-pad { padding: 17px 18px; }
.fields, .search-form { display: grid; gap: 12px; }
.fields label, .search-form label { display: grid; gap: 5px; font-size: .91rem; }
input:not([type=checkbox]), textarea { width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid #393939; border-radius: 7px; background: #141414; color: var(--text); font-size: 1rem; }
input[type=file] { font-size: .82rem; }
input::placeholder, textarea::placeholder { color: var(--muted); }
.fields > .button { justify-self: start; }
.search-options, .profile-links, .profile-data, .profile-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 11px; }
.search-form { border-bottom: 1px solid var(--line); }
.field-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.fields .check, .check { display: flex; align-items: center; gap: 7px; }
.settings h2 + form { margin-top: 11px; }
.entry { width: min(calc(100% - 32px),440px); margin: clamp(28px,12vh,90px) auto; display: grid; gap: 15px; }
.auth { padding: 24px; }
.auth .fields { margin-top: 16px; }
.auth .alert { margin-inline: 0; }
.auth p { margin-top: 8px; }
.cover { height: clamp(100px,19vw,190px); border-radius: 13px 13px 0 0; background: repeating-linear-gradient(130deg,transparent 0 25px,#fff1 25px 26px),linear-gradient(110deg,#171717,#343434 75%,#222222); overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.profile-intro { padding: 0 18px 11px; }
.profile-top { display: flex; align-items: end; gap: 10px; justify-content: space-between; margin: -30px 0 9px; position: relative; }
.profile-intro > .muted { display: block; margin-top: 3px; }
.bio, .profile-data, .profile-links { margin-top: 9px; overflow-wrap: anywhere; }
.profile-data, .profile-links { font-size: .88rem; }
.profile-data a:hover, .profile-links a:hover { color: var(--accent); }
.profile-links a { color: var(--accent); }
.skin-panel { margin: 17px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.skin-panel header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px; align-items: center; padding: 9px 11px; }
.skin-actions { display: flex; gap: 5px; }
.skin-stage { position: relative; display: grid; place-items: center; min-height: 255px; background: radial-gradient(ellipse at center,#303030,#171717); overflow: hidden; }
.skin-stage canvas { max-width: 100%; cursor: grab; touch-action: none; }
.skin-stage p { padding: 10px; font-size: .9rem; }
.texture-link { color: var(--accent); text-decoration: underline; margin: 8px; }
.lookup-details dd { margin: 0 0 9px; overflow-wrap: anywhere; }
.lookup-details dt { color: var(--muted); font-size: .83rem; }
.notice-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.notice-row.is-unread { background: #202020; }
.notice-row small { display: block; }
.unread-label { font-size: .75rem; color: var(--accent); }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -.1em; }
.button .icon { margin-right: .1em; }
.button { gap: 6px; }
.layout { max-width: 1210px; grid-template-columns: minmax(178px,214px) minmax(0,635px) minmax(235px,300px); gap: 22px; padding-top: 0; }
.rail { gap: 18px; top: 17px; padding-top: 3px; align-content: start; min-height: calc(100dvh - 36px); }
.site-nav a { min-height: 46px; font-size: 1rem; padding-inline: 11px; gap: 13px; }
.site-nav .icon { width: 17px; height: 17px; }
.rail .brand { margin: 1px 0 2px 5px; }
.brand-mark { width: 34px; height: 34px; }
.rail-action.button { align-self: start; min-height: 43px; }
.account { position: relative; align-self: end; margin-top: auto; border: 0; padding: 0; }
.rail:has(.account) { grid-template-rows: auto auto auto 1fr; }
.account summary { min-height: 50px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 10px; padding: 6px 9px; cursor: pointer; }
.account summary:hover, .account[open] summary { background: var(--elevated); }
.account summary::-webkit-details-marker { display: none; }
.account summary > .icon { margin-left: auto; }
.account-label { min-width: 0; overflow-wrap: anywhere; line-height: 1.2; }
.account-menu { position: absolute; z-index: 6; bottom: calc(100% + 8px); left: 0; width: max(100%, 170px); padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: #202020; box-shadow: 0 12px 24px #0008; }
.account-menu :is(a,button) { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 40px; padding: 7px 9px; background: transparent; border: 0; text-align: left; color: var(--text); border-radius: 6px; font-size: .88rem; }
.account-menu :is(a,button):hover { background: #303030; }
.mobile-nav { display: none; }
.stream { min-height: calc(100dvh - 20px); border-radius: 0 0 12px 12px; border-top: 0; }
.stream-head { min-height: 59px; padding-block: 10px; background: #151515; }
.stream-head h1 { font-size: 1.36rem; }
.tabs { gap: 0; }
.home-tabs a { flex: 1 1 0; text-align: center; }
.tabs a:hover { background: #1d1d1d; }
.avatar { border-radius: 50%; }
.avatar-large { width: 97px; height: 97px; border: 4px solid var(--panel); }
.compose { background: #161616; }
.compose textarea { min-height: 64px; padding: 6px 0; border-color: transparent; background: transparent; }
.compose textarea:focus { border-color: transparent; }
.compose-tools { padding-top: 7px; border-top: 1px solid var(--line); }
.file-button { display: inline-flex; align-items: center; gap: 5px; }
.compose .counter { min-width: 3.2em; text-align: right; }
.compose .button { border-radius: 20px; min-width: 66px; }
.post { padding-block: 13px; }
.post .post-text { margin-bottom: 10px; }
.post :is(a,button) { scroll-margin-block: 8px; }
.reactions, .reactions form { gap: 2px 8px; }
.reactions form { flex: 1; }
.reactions :is(a,button) { min-width: 37px; min-height: 38px; padding: 0 7px; border-radius: 8px; }
.reactions :is(a,button):hover { background: var(--elevated); }
.reactions :is(a,button,.icon) { font-size: .93rem; }
.reactions :is(a,button) > span { font-size: .8rem; }
.reactions button[aria-pressed="true"] { background: #2b2b2b; font-weight: 750; }
.reactions form > button:last-child[value="delete"] { margin-left: auto; }
.role { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; padding: 2px 6px; }
.discovery { padding-top: 17px; position: sticky; top: 0; }
.discover-card { padding: 13px; background: #171717; }
.discover-card > h2 { display: flex; align-items: center; gap: 7px; }
.search-pill { display: flex; align-items: center; gap: 7px; min-width: 0; background: #1c1c1c; border: 1px solid #333; color: var(--muted); border-radius: 24px; padding: 0 10px; }
.search-pill input { background: transparent; border: 0; padding-inline: 3px; border-radius: 16px; }
.search-pill:focus-within { outline: 2px solid #aaa; outline-offset: 2px; }
.search-pill input:focus-visible { outline: 0; }
.suggestion { display: flex; align-items: center; justify-content: space-between; gap: 6px; border-top: 1px solid var(--line); padding: 11px 0; }
.suggestion > a { display: flex; align-items: center; gap: 7px; min-width: 0; overflow-wrap: anywhere; font-size: .9rem; }
.suggestion > a:hover strong { text-decoration: underline; }
.suggestion small { display: block; }
.suggestion .button { border-radius: 20px; min-height: 34px; padding: 4px 9px; }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.icon-button:hover { background: var(--elevated); }
.profile-header { justify-content: flex-start; gap: 10px; }
.profile-header small { display: block; line-height: 1.1; margin-top: 2px; }
.cover { border-radius: 0; }
.profile-top { margin-top: -40px; }
.profile-top .button { border-radius: 18px; }
.profile-name > strong { font-size: 1.35rem; letter-spacing: -.03em; overflow-wrap: anywhere; }
.profile-links a { display: inline-flex; align-items: center; gap: 6px; background: #1d1d1d; border: 1px solid #363636; border-radius: 18px; padding: 5px 9px; }
.profile-links a:hover { background: #2b2b2b; }
.notice-icon { color: #ccc; font-size: 1.18rem; width: 28px; text-align: center; }
.notice-row > div { display: flex; align-items: center; gap: 8px; }
.notice-row > div > div { min-width: 0; }
.entry { width: min(calc(100% - 32px), 830px); grid-template-columns: minmax(0,1fr) minmax(0,1.03fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.entry > .panel { border: 0; border-radius: 0; }
.entry-info { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 15px; padding: clamp(20px,5vw,48px); border-inline-end: 1px solid var(--line); background: linear-gradient(150deg,#232323,#151515); }
.entry-info .brand { padding: 0; }
.entry-info p { max-width: 28ch; color: var(--muted); }
.entry .auth { padding: clamp(19px,4vw,37px); }
.entry .auth button { min-width: 135px; }
.dashboard-layout { grid-template-columns: minmax(170px,214px) minmax(0,925px); }
.dashboard { background: #131313; }
.admin-nav { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding: 9px 13px; }
.admin-nav [aria-current] { background: #2b2b2b; border-color: #515151; }
.admin-content { display: grid; gap: 14px; padding: 14px; }
.admin-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.admin-card { min-width: 0; background: #181818; border: 1px solid #313131; border-radius: 10px; overflow: hidden; }
.metric { display: grid; gap: 9px; padding: 13px; }
.metric:hover { background: #232323; }
.metric > span { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: .86rem; }
.metric > strong { font-size: 1.75rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.admin-block, .admin-members > li { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: space-between; padding: 12px; }
.admin-block p { margin-top: 3px; color: var(--muted); }
.member-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.member-actions .check { margin-right: 5px; }
.admin-members { margin: 0; padding: 0; list-style: none; }
.admin-members > li { border-top: 1px solid var(--line); }
.member-identity { display: flex; align-items: center; gap: 5px 7px; flex-wrap: wrap; min-width: 0; overflow-wrap: anywhere; }
.admin-card .post:last-child { border-bottom: 0; }
/* The main reading column stays centered, even when the discovery rail is shorter. */
:root {
    --bg: #0c0c0c;
    --panel: #121212;
    --elevated: #202020;
    --line: #2a2a2a;
    --muted: #aaa;
    --mobile-nav-height: 57px;
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { inline-size: 100%; }
.layout {
    width: min(100%, 1320px);
    max-width: none;
    grid-template-columns: minmax(180px,1fr) minmax(0,720px) minmax(220px,1fr);
    gap: clamp(14px,2vw,26px);
    padding: 20px clamp(16px,2vw,26px) 48px;
}
.layout > * { min-width: 0; }
.rail { min-height: 0; max-width: 244px; gap: 18px; top: 20px; }
.rail:has(.account) { grid-template-rows: none; }
.rail .brand { margin: 0 0 4px 7px; }
.site-nav { gap: 2px; max-block-size: max(160px,calc(100dvh - 216px)); overflow: auto; scrollbar-width: thin; }
.site-nav a { min-height: 44px; }
.site-nav a[aria-current] { background: #222; border-inline-start-color: transparent; }
.rail-action.button { justify-self: start; width: min(100%,210px); border-radius: 30px; min-height: 44px; }
.account { margin-top: 14px; }
.account-menu { bottom: auto; top: calc(100% + 8px); }
.stream { min-height: 460px; border: 1px solid var(--line); border-radius: 16px; }
.stream-head { position: relative; min-height: 62px; border-radius: 15px 15px 0 0; background: var(--panel); }
.stream-head h1 { font-size: 1.45rem; letter-spacing: -.045em; overflow-wrap: anywhere; }
.discovery { padding-top: 0; top: 20px; }
.discover-card { border-radius: 13px; }
.suggestion { gap: 8px; }
.suggestion > a > span:last-child { min-width: 0; }
.profile-header > div { min-width: 0; }
.cover { height: clamp(138px,20vw,215px); }
.profile-intro { padding-inline: clamp(15px,3vw,22px); }
.profile-top { margin-top: -36px; margin-bottom: 13px; align-items: end; }
.profile-avatar, .avatar { flex-shrink: 0; }
.profile-top .avatar-large { width: clamp(72px,15vw,105px); height: clamp(72px,15vw,105px); }
.profile-top .button { min-height: 38px; }
.profile-actions { display: flex; justify-content: end; flex-wrap: wrap; gap: 5px; }
.profile-name > strong { font-size: 1.6rem; }
.profile-links { gap: 6px; margin-top: 12px; }
.profile-links a:hover { border-color: #737373; }
.role { border-radius: 5px; font-size: .7rem; white-space: nowrap; }
.verified {
    display: inline-grid; place-items: center;
    width: 18px; height: 18px; flex: 0 0 auto;
    background: #2695ee; color: #fff;
    clip-path: polygon(50% 0,61% 10%,75% 7%,81% 20%,94% 24%,92% 38%,100% 50%,92% 62%,94% 76%,81% 80%,75% 93%,61% 90%,50% 100%,39% 90%,25% 93%,19% 80%,6% 76%,8% 62%,0 50%,8% 38%,6% 24%,19% 20%,25% 7%,39% 10%);
}
.verified .icon { width: 10px; height: 10px; }
.post-meta { gap: 3px 6px; }
.post-meta .display-name { overflow-wrap: anywhere; line-height: 1.25; }
.post-content .post-text { font-size: 1rem; overflow-wrap: anywhere; }
.post-image { width: fit-content; }
.reactions { display: flex; align-items: flex-start; gap: 3px; }
.reactions > form { flex: 0 1 auto; min-width: 0; flex-wrap: nowrap; gap: 3px; }
.reactions :is(a,button), .post-options summary { min-height: 41px; min-width: 37px; justify-content: center; }
.reactions > a { flex: 0 0 auto; }
.post:has(.post-options[open]) { position: relative; z-index: 4; }
.post-options { position: relative; flex: 0 0 37px; min-width: 0; margin-left: auto; }
.post-options summary { display: grid; place-items: center; border-radius: 10px; color: var(--muted); cursor: pointer; list-style: none; }
.post-options summary:hover { background: var(--elevated); }
.post-options summary::-webkit-details-marker, .member-manage summary::-webkit-details-marker { display: none; }
.post-menu {
    position: absolute; inset-block-start: calc(100% + 4px); inset-inline-end: 0;
    width: max-content; min-width: 150px; margin: 0; padding: 5px;
    color: var(--text); background: #1d1d1d;
    border: 1px solid #3e3e3e; border-radius: 9px; box-shadow: 0 8px 22px #0009;
}
.post-menu:popover-open {
    position: fixed; inset: auto;
}
.confirm-dialog {
    width: min(400px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
    padding: 0; color: var(--text); background: #191919;
    border: 1px solid #424242; border-radius: 14px; box-shadow: 0 20px 60px #000b;
}
.confirm-dialog::backdrop { background: #000a; }
.confirm-dialog > form { display: grid; gap: 10px; padding: 20px; }
.confirm-dialog h2 { font-size: 1.2rem; }
.confirm-dialog p { color: var(--muted); font-size: .92rem; }
.confirm-actions { display: flex; justify-content: end; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.confirm-actions .button { min-height: 44px; }
.confirm-actions .confirm-danger { background: #a62d37; border-color: #b4414b; color: #fff; }
.confirm-actions .confirm-danger:hover { background: #ba3742; 
}
.post-menu form { width: 100%; }
.post-menu :is(a,button) { width: 100%; min-height: 44px; justify-content: start; gap: 9px; color: var(--text); padding: 7px 9px; text-align: left; }
.member-manage { max-width: 100%; }
.member-manage summary { cursor: pointer; list-style: none; }
.member-manage .member-actions { margin-top: 7px; }
.mobile-compose { display: none; }
.dashboard-layout { grid-template-columns: minmax(175px,220px) minmax(0,870px); justify-content: center; }
.dashboard { background: #131313; }
.admin-card { overflow: visible; }
.admin-card > header { border-radius: 10px 10px 0 0; }
.admin-members > li { align-items: start; }
.report-row { display: grid; gap: 6px; padding: 14px; overflow-wrap: anywhere; border-top: 1px solid var(--line); }
.report-row .member-actions { margin-top: 5px; }
.flash { margin: 10px 14px; padding: 9px 12px; border: 1px solid #494949; border-radius: 8px; background: #212121; }
.post-change textarea { resize:vertical; }
@media (max-width: 1100px) {
    .layout { grid-template-columns: minmax(154px,188px) minmax(0,780px); justify-content: center; gap: 16px; }
    .discovery { display: none; }
}
@media (max-width: 760px), (hover: none) and (pointer: coarse) and (max-width: 1050px) {
    .layout { width: 100%; display: block; padding: 0 0 calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 18px); }
    .layout:has(+.mobile-compose) { padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 83px); }
    .rail, .rail:has(.account) {
        min-height: 57px; max-width: none; position: sticky; top: 0; z-index: 6;
        display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center;
        gap: 6px; padding: 7px max(12px,env(safe-area-inset-right)) 7px max(12px,env(safe-area-inset-left));
        border-bottom: 1px solid var(--line); background: #101010;
    }
    .rail .brand { grid-column: 2; grid-row: 1; justify-self: center; margin: 0; padding: 0; font-size: 1.18rem; gap: 6px; }
    .brand-mark { width: 28px; height: 28px; }
    .site-nav, .rail-action.button { display: none; }
    .rail-action.auth-actions { grid-column: 3; justify-self: end; width: auto; gap: 4px; }
    .rail-action.auth-actions .button { padding: 4px 8px; min-height: 36px; width: max-content; }
    .rail-action.auth-actions .button:first-child:not(:only-child) { display: none; }
    .account { grid-column: 1; grid-row: 1; margin: 0; align-self: center; }
    .account summary { width: 42px; height: 42px; min-height: 0; padding: 3px; border-radius: 50%; justify-content: center; }
    .account summary .avatar { width: 32px; height: 32px; }
    .account-label, .account summary > .icon { display: none; }
    .account-menu { top: calc(100% + 5px); right: auto; left: 0; min-width: 180px; }
    .mobile-nav {
        position: fixed; display: flex; justify-content: center;
        z-index: 7; inset: auto 0 0;
        min-height: var(--mobile-nav-height);
        padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
        background: #101010; border-top: 1px solid #303030;
    }
    .mobile-nav > a {
        display: flex; flex: 1 1 0; min-width: 0; align-items: center; justify-content: center;
        flex-direction: column; gap: 4px; min-height: var(--mobile-nav-height);
        color: #b1b1b1; font-size: .74rem;
    }
    .mobile-nav > a[aria-current] { color: #fff; background: #222; font-weight: 700; }
    .mobile-icon { position: relative; display: grid; place-items: center; }
    .mobile-nav .icon { width: 18px; height: 18px; }
    .mobile-nav .nav-count { position: absolute; left: 12px; bottom: 9px; padding: 0 4px; font-size: .67rem; background: #ddd; color: #111; }
    .mobile-compose {
        position: fixed; z-index: 6; display: grid; place-items: center;
        right: calc(14px + env(safe-area-inset-right));
        bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 14px);
        width: 51px; height: 51px; border-radius: 50%;
        background: #f0f0f0; color: #111; box-shadow: 0 5px 17px #000a;
    }
    .mobile-compose .icon { width: 21px; height: 21px; }
    .stream, .stream-head { border-radius: 0; border-inline: 0; }
    .stream { min-height: calc(100dvh - 142px); border-top: 0; }
    .stream-head { min-height: 48px; }
    .stream-head h1 { font-size: 1.2rem; }
    .home-composer:not(.has-error) { display: none; }
    .stream:has(.home-tabs) .stream-head { display: none; }
    .home-tabs { position: sticky; top: 57px; z-index: 5; background: var(--panel); }
    .home-tabs a { min-height: 44px; }
    .cover { height: clamp(112px,33vw,186px); }
    .field-pair { grid-template-columns: minmax(0,1fr); }
    .stream-head, .post, .compose { padding-inline: 12px; }
    .post, .compose { gap: 9px; }
    .post .avatar, .compose .avatar { width: 37px; height: 37px; }
    .admin-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .admin-content { padding: 10px; }
    .admin-nav { padding: 7px; }
    .admin-nav a { padding-inline: 8px; min-height: 40px; }
    .entry { grid-template-columns: minmax(0,1fr); }
    .entry-info { padding: 15px; border-inline-end: 0; border-bottom: 1px solid var(--line); gap: 8px; }
    .entry-info p, .entry-info .button { display: none; }
    textarea, input { scroll-margin-top: 76px; scroll-margin-bottom: 75px; }
}
@media (max-width: 370px) {
    .reactions, .reactions > form { gap: 0; }
    .reactions :is(a,button), .post-options summary { min-width: 31px; padding-inline: 4px; }
    .profile-top .button { padding-inline: 7px; }
    .profile-top .avatar-large { width: 69px; height: 69px; }
}

/* The intro fades out on its own and stays out of the way of input. */
.startup {
    z-index: 20; position: fixed; inset: 0; display: grid; place-items: center;
    background: #0c0c0cf0; pointer-events: none;
    opacity: 0; animation: site-intro 680ms ease-out 100ms both;
}
.startup-icon {
    display: grid; place-items: center; width: 60px; height: 60px;
    color: #eee; border: 1px solid #6b6b6b; border-radius: 18px;
    background: #222; box-shadow: 0 5px 26px #000a;
    font-size: 1.55rem; animation: cube-intro 620ms ease-out both;
}
@keyframes site-intro {
    0% { opacity: 0; }
    20%, 60% { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}
@keyframes cube-intro {
    from { opacity: .3; transform: translateY(6px) scale(.88) rotate(-9deg); }
    55% { opacity: 1; transform: translateY(0) scale(1.04) rotate(3deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes surface-enter {
    from { opacity: .40; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes accent-press {
    50% { transform: scale(1.15); }
    to { transform: scale(1); }
}
@keyframes badge-enter {
    from { opacity: 0; transform: scale(.7); }
    to { opacity: 1; transform: scale(1); }
}
[data-motion="on"] :is(.post,.notice-row,.conversation-link,.admin-card,.auth,.skin-panel,.site-announcement) {
    animation: surface-enter 210ms ease-out both;
}
[data-motion="on"] :is(.post,.notice-row,.conversation-link):nth-of-type(2) { animation-delay: 30ms; }
[data-motion="on"] :is(.post,.notice-row,.conversation-link):nth-of-type(3) { animation-delay: 60ms; }
[data-motion="on"] :is(.button,.site-nav a,.mobile-nav a,.post-options summary,.reactions button,.profile-links a) {
    transition: background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out, transform 150ms ease-out;
}
[data-motion="on"] :is(.button,.mobile-compose,.reactions button):active { transform: scale(.96); }
[data-motion="on"] :is(details.account,details.post-options)[open] > :last-child {
    animation: surface-enter 150ms ease-out both;
}
[data-motion="on"] .nav-count { animation: badge-enter 200ms ease-out both; }
[data-motion="on"] .reactions button:active .icon { animation: accent-press 280ms ease-out; }
[data-motion="on"] .mobile-compose { animation: badge-enter 200ms ease-out both; }
.site-announcement { display: flex; align-items: baseline; gap: 9px; padding: 11px 16px; border-bottom: 1px solid #3b3b3b; background: #202020; overflow-wrap: anywhere; }
.site-options select { padding: 8px 10px; font: inherit; color: var(--text); background: #141414; border: 1px solid #393939; border-radius: 7px; }
.site-options textarea { resize: vertical; }
@media (prefers-reduced-motion: reduce) {
    .startup { display: none; }
    [data-motion="on"] *, [data-motion="on"] *::before, [data-motion="on"] *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
.username{position:relative;display:inline-block;isolation:isolate;--name-colour:#aaa}.username.rank-admin{--name-colour:#ed3659}.username.rank-moderator{--name-colour:#91c9f4}.username.rank-vip{--name-colour:#db9ee8}.username .username-text{position:relative;z-index:1}.username.name-font-default{font-family:Inter,Arial,sans-serif}.username.name-font-mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:-.035em}.username.name-font-serif{font-family:Georgia,'Times New Roman',serif}.username.name-font-rounded{font-family:ui-rounded,'Arial Rounded MT Bold','Trebuchet MS',sans-serif;letter-spacing:.02em}.username.name-font-condensed{font-family:'Arial Narrow','Roboto Condensed',Impact,sans-serif;font-stretch:condensed;letter-spacing:.03em}.name-style-glow .username-text{text-shadow:0 0 9px currentColor}.name-style-outline .username-text{-webkit-text-stroke:.35px currentColor;letter-spacing:.025em}.name-style-gradient .username-text,.name-style-shimmer .username-text{background:linear-gradient(110deg,var(--name-colour) 18%,#f5f5f5 48%,var(--name-colour) 80%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.name-style-shimmer .username-text{background-size:220% 100%}.username-particles{position:absolute;pointer-events:none;inset:-5px -4px;z-index:0;overflow:visible}.username-particles i{position:absolute;display:block;width:2px;height:2px;background:var(--name-colour);border-radius:50%;box-shadow:0 0 4px var(--name-colour);left:12%;top:80%;opacity:.5}.username-particles i:nth-child(2){left:32%;top:18%;--particle-delay:-1.1s}.username-particles i:nth-child(3){left:53%;top:72%;--particle-delay:-2.3s}.username-particles i:nth-child(4){left:74%;top:25%;--particle-delay:-.6s}.username-particles i:nth-child(5){left:92%;top:65%;--particle-delay:-1.8s}.name-particles-snow .username-particles i{background:#eee;box-shadow:none;width:2px;height:2px;opacity:.45}

.username.name-font-bricolage { font-family: "Bricolage Grotesque", system-ui, sans-serif; }
.username.name-font-space { font-family: "Space Grotesk", system-ui, sans-serif; }
.username.name-font-jetbrains { font-family: "JetBrains Mono", ui-monospace, monospace; }
.username.name-font-playfair { font-family: "Playfair Display", Georgia, serif; }
.username.name-font-cinzel { font-family: Cinzel, Georgia, serif; }
.username.name-font-orbitron { font-family: Orbitron, system-ui, sans-serif; }
.username.name-font-black-ops { font-family: "Black Ops One", system-ui, sans-serif; }
.username.name-font-blackletter { font-family: UnifrakturMaguntia, Georgia, serif; }

.username.name-variant-medium { font-weight: 500; }
.username.name-variant-bold, .username.name-variant-bold-italic { font-weight: 700; }
.username.name-variant-heavy { font-weight: 800; }
.username.name-variant-italic, .username.name-variant-bold-italic { font-style: italic; }

.username:is(.name-style-neon,.name-style-raised,.name-style-silver,.name-style-split-tone,.name-style-light-sweep,.name-style-prismatic) {
    --name-effect-ink: var(--cosmetic-ink,var(--name-colour));
    --name-highlight: color-mix(in srgb, var(--name-effect-ink) 38%, #fff);
}
.username.name-style-neon .username-text {
    color: var(--name-highlight);
    text-shadow: 0 0 5px var(--name-effect-ink), 0 0 12px var(--name-effect-ink);
}
.username.name-style-raised .username-text {
    text-shadow: 0 -1px 0 #fff5, 0 2px 0 #000, 1px 3px 4px #000b;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .username.name-style-silver .username-text {
        background: linear-gradient(#f8fbff 10%, #bbc2cd 42%, #7d8897 51%, #f1f4fa 71%, #c6ced9);
    }
    .username.name-style-split-tone .username-text {
        background: linear-gradient(to bottom, var(--name-highlight) 0 48%, var(--name-effect-ink) 52% 100%);
    }
    .username.name-style-prismatic .username-text {
        background: linear-gradient(105deg, #f3adcf, #e9c7ff 25%, #a9d5ff 50%, #b0f1d5 72%, #ffe0a3);
    }
    .username.name-style-light-sweep .username-text {
        background: linear-gradient(110deg, var(--name-effect-ink) 31%, var(--name-highlight) 47%, #fff 51%, var(--name-highlight) 55%, var(--name-effect-ink) 69%);
        background-size: 240% 100%;
        background-position: 48% 0;
    }
    .username:is(.name-style-silver,.name-style-split-tone,.name-style-light-sweep,.name-style-prismatic) .username-text {
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}
.name-particles-twinkle .username-particles i {
    width: 5px;
    height: 5px;
    background: #e5edff;
    clip-path: polygon(50% 0, 65% 36%, 100% 50%, 65% 64%, 50% 100%, 35% 64%, 0 50%, 35% 36%);
}
.name-particles-ember .username-particles i {
    width: 3px;
    height: 3px;
    background: #ffc394;
    box-shadow: 0 0 5px #ff8a46;
    opacity: .65;
}
@media (prefers-reduced-motion: no-preference) {
    .username.name-style-light-sweep .username-text { animation: name-light-sweep 4.5s ease-in-out infinite; }
    .name-particles-twinkle .username-particles i { animation: name-twinkle 3.2s var(--particle-delay,0s) ease-in-out infinite; }
    .name-particles-ember .username-particles i { animation: name-ember 3s var(--particle-delay,0s) ease-out infinite; }
}
@keyframes name-light-sweep { from { background-position: 100% 0; } 60%, to { background-position: 0 0; } }
@keyframes name-twinkle { 0%, 100% { transform: scale(.4); opacity: .14; } 50% { transform: scale(1); opacity: .8; } }
@keyframes name-ember { from { transform: translateY(3px); opacity: .7; } to { transform: translate(5px,-10px); opacity: 0; } }
@media (forced-colors: active) {
    .username:is(.name-style-neon,.name-style-raised,.name-style-silver,.name-style-split-tone,.name-style-light-sweep,.name-style-prismatic) .username-text {
        color: CanvasText;
        -webkit-text-fill-color: currentColor;
        background: none;
        text-shadow: none;
    }
}

/* Accent colors are shared by the picker, lettering, and particles. */
.name-color-crimson { --username-accent: #ff4349; }
.name-color-coral { --username-accent: #ff796a; }
.name-color-orange { --username-accent: #ffa356; }
.name-color-gold { --username-accent: #ffd269; }
.name-color-lime { --username-accent: #bce970; }
.name-color-emerald { --username-accent: #60e0a3; }
.name-color-teal { --username-accent: #5adacf; }
.name-color-cyan { --username-accent: #6adeff; }
.name-color-azure { --username-accent: #73a8ff; }
.name-color-indigo { --username-accent: #929aff; }
.name-color-violet { --username-accent: #c494ff; }
.name-color-pink { --username-accent: #ff99d0; }
.name-color-rose { --username-accent: #ff769c; }
.name-color-silver { --username-accent: #d5dce8; }

.username[class*=" name-color-"]:not(.name-color-auto) {
    --name-colour: var(--username-accent);
    --cosmetic-ink: var(--username-accent);
    --cosmetic-gradient: linear-gradient(110deg,var(--username-accent),color-mix(in srgb,var(--username-accent) 40%,#fff),var(--username-accent));
}
.username[class*=" name-color-"]:not(.name-color-auto) .username-particles i {
    background-color: var(--username-accent);
    box-shadow: 0 0 5px var(--username-accent);
}
.username.name-style-plain[class*=" name-color-"]:not(.name-color-auto) .username-text { color: var(--username-accent); }

.username:is(.name-style-underlight,.name-style-solid-color,.name-style-white-type) .username-text {
    color: var(--name-letter-ink, #f8f8f8);
    background: none;
    -webkit-text-fill-color: currentColor;
    text-shadow: none;
    animation: none;
}
.username.name-style-solid-color { --name-letter-ink: var(--username-accent,var(--cosmetic-ink,var(--name-colour))); }
.username.name-style-underlight .username-text {
    --underlight-color: var(--username-accent,var(--cosmetic-ink,#ed202d));
    text-shadow:
        0 .095em .08em var(--underlight-color),
        0 .17em .16em var(--underlight-color),
        0 .22em .31em var(--underlight-color);
}
.username:is(.name-style-underlight,.name-style-solid-color,.name-style-white-type).name-font-default {
    font-family: MyrageInter, Inter, Arial, sans-serif;
}

.username:is(.name-particles-stars,.name-particles-bubbles,.name-particles-motes,.name-particles-trails) .username-particles {
    --particle-color: var(--username-accent,var(--cosmetic-ink,var(--name-colour)));
}
.name-particles-stars .username-particles i {
    width: 6px;
    height: 6px;
    background: var(--particle-color);
    clip-path: polygon(50% 0,62% 36%,100% 50%,62% 64%,50% 100%,38% 64%,0 50%,38% 36%);
}
.name-particles-bubbles .username-particles i {
    width: 6px;
    height: 6px;
    border: 1px solid var(--particle-color);
    background: transparent;
    box-shadow: none;
}
.username.name-particles-bubbles[class*=" name-color-"]:not(.name-color-auto) .username-particles i {
    background: transparent;
    box-shadow: none;
}
.name-particles-motes .username-particles i {
    width: 4px;
    height: 4px;
    background: var(--particle-color);
    box-shadow: 0 0 6px 1px var(--particle-color);
}
.name-particles-trails .username-particles i {
    width: 8px;
    height: 2px;
    background: var(--particle-color);
    transform: rotate(-27deg);
}
@media (prefers-reduced-motion: no-preference) {
    .name-particles-stars .username-particles i { animation: name-twinkle 2.8s var(--particle-delay,0s) ease-in-out infinite; }
    .name-particles-bubbles .username-particles i { animation: name-bubble 4s var(--particle-delay,0s) ease-in-out infinite; }
    .name-particles-motes .username-particles i { animation: name-mote 4.5s var(--particle-delay,0s) ease-in-out infinite; }
    .name-particles-trails .username-particles i { animation: name-trail 3.8s var(--particle-delay,0s) ease-out infinite; }
}
@keyframes name-bubble {
    0% { transform: translateY(5px) scale(.65); opacity: 0; }
    45% { opacity: .7; }
    100% { transform: translate(4px,-8px) scale(1.15); opacity: 0; }
}
@keyframes name-mote {
    0%, 100% { transform: translate(-2px,4px); opacity: .25; }
    50% { transform: translate(4px,-6px); opacity: .75; }
}
@keyframes name-trail {
    0%, 70% { transform: translate(-7px,4px) rotate(-27deg) scaleX(.35); opacity: 0; }
    82% { opacity: .75; }
    100% { transform: translate(9px,-5px) rotate(-27deg) scaleX(1); opacity: 0; }
}
@media (forced-colors: active) {
    .username:is(.name-style-underlight,.name-style-solid-color,.name-style-white-type) .username-text,
    .username.name-style-plain[class*=" name-color-"]:not(.name-color-auto) .username-text {
        color: CanvasText;
        text-shadow: none;
    }
}

.username-color-picker {
    min-width: 0;
    margin: 19px 0 0;
    padding: 0;
    border: 0;
}
.username-color-picker legend { padding: 0; font-weight: 650; }
.username-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(92px,1fr));
    gap: 6px;
    margin-top: 9px;
}
.username-color-grid label { position: relative; margin: 0; cursor: pointer; }
.username-swatch {
    display: flex;
    min-height: 40px;
    align-items: center;
    gap: 7px;
    padding: 7px 8px;
    border: 1px solid #343434;
    border-radius: 7px;
    background: #191919;
    color: #d6d6d6;
    font-size: 12px;
}
.username-swatch i {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border: 1px solid #fff5;
    border-radius: 50%;
    background: var(--username-accent,linear-gradient(135deg,#777,#e2e2e2));
}
.username-color-grid label:hover .username-swatch,
.username-color-grid input:checked + .username-swatch {
    border-color: var(--username-accent,#aaa);
    background: #242424;
    color: #f4f4f4;
}
.username-color-grid input:focus-visible + .username-swatch { outline: 2px solid #eee; outline-offset: 1px; }

.username-style-fields {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px 14px;
}
.username-style-fields label, .username-style-source { min-width: 0; }
.username-style-fields select, .username-style-source select { width: 100%; max-width: 100%; }
.username-style-source { display: block; margin-bottom: 12px; }
.username-style-source + .username-style-preview { margin-top: 12px; }
.group-username-style > button { margin-top: 16px; }
.group-username-style { scroll-margin-top: 92px; }
@media (max-width: 600px) {
    .username-style-fields { grid-template-columns: minmax(0,1fr); }
}

.username.name-style-emberfoil {--finish-color:#ffb08a;--finish-paint:linear-gradient(110deg,#ffd0ab 5%,#ff9077 48%,#ffbf82 80%,#ffe2b7)}
.username.name-style-moonstone {--finish-color:#e3e4ff;--finish-paint:linear-gradient(115deg,#ece5ff,#c8d9ff 37%,#f6fcff 54%,#c8f1e8 78%,#e5ccff)}
.username.name-style-deep-ocean {--finish-color:#8bd8ff;--finish-paint:linear-gradient(142deg,#b8fff7,#65cfe5 45%,#88a6ff 78%)}
.username.name-style-gold-leaf {--finish-color:#ffd17b;--finish-paint:linear-gradient(174deg,#fff1c4 12%,#ffcc71 48%,#e8a753 51%,#fff2bc 78%)}
.username.name-style-spectral-flow {--finish-color:#d7bbff;--finish-paint:linear-gradient(107deg,#d4b3ff 1%,#ffc2db 24%,#fed69a 45%,#a0f6da 67%,#a0d7ff 80%,#d4b3ff 99%)}
.username.name-style-graphite-gloss {--finish-color:#d4dde5;--finish-paint:linear-gradient(167deg,#e7edf4,#a9b5c4 42%,#a1aebf 53%,#e7eef5 81%)}
.username:is(.name-style-emberfoil,.name-style-moonstone,.name-style-deep-ocean,.name-style-gold-leaf,.name-style-spectral-flow,.name-style-graphite-gloss) .username-text {
    color:var(--finish-color);background:none;-webkit-text-fill-color:currentColor;text-shadow:none;animation:none
}
@supports (background-clip:text) or (-webkit-background-clip:text) {
    .username:is(.name-style-emberfoil,.name-style-moonstone,.name-style-deep-ocean,.name-style-gold-leaf,.name-style-spectral-flow,.name-style-graphite-gloss) .username-text {
        background:var(--finish-paint);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent
    }
    .username.name-style-spectral-flow .username-text {background-size:180% 100%}
}
.name-particles-diamond-glints .username-particles i {
    width:5px;height:5px;color:#eef2ff;background:currentColor;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)
}
.name-particles-streak-dust .username-particles i {
    width:7px;height:2px;border-radius:8px;background:linear-gradient(90deg,transparent,#cef9fc);transform:rotate(-30deg)
}
@media(prefers-reduced-motion:no-preference) {
    .username.name-style-spectral-flow .username-text {animation:name-spectrum-flow 5s ease-in-out infinite alternate}
    .name-particles-diamond-glints .username-particles i {animation:name-twinkle 3s var(--particle-delay,0s) ease-in-out infinite}
    .name-particles-streak-dust .username-particles i {animation:name-dust-streak 3.6s var(--particle-delay,0s) ease-out infinite}
}
@keyframes name-spectrum-flow {to{background-position:100% 0}}
@keyframes name-dust-streak {from{transform:translate(-6px,4px) rotate(-30deg);opacity:0}35%{opacity:.85}to{transform:translate(8px,-7px) rotate(-30deg);opacity:0}}
@media(forced-colors:active) {
    .username:is(.name-style-emberfoil,.name-style-moonstone,.name-style-deep-ocean,.name-style-gold-leaf,.name-style-spectral-flow,.name-style-graphite-gloss) .username-text {
        color:CanvasText;-webkit-text-fill-color:currentColor;background:none
    }
}


/* Portable Myrage username effects and profile customization. */
.username { --name-colour: #d9d9d9; overflow-wrap: anywhere; }
.name-style-shimmer .username-text { animation: mc-name-shimmer 5s linear infinite; }
@keyframes mc-name-shimmer { from { background-position: 200% center; } to { background-position: -20% center; } }
body[data-motion="off"] :is(.username,.username *) { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
    .username, .username * { animation: none !important; }
}
.profile-editor { min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: 10px; padding: 13px; }
.profile-editor legend { padding: 0 7px; font-weight: 700; }
.profile-editor select { width: 100%; color: var(--text); background: #151515; border: 1px solid #393939; border-radius: 7px; padding: 8px; font: inherit; }
.profile-editor [type="range"] { padding: 4px; }
.profile-editor .cover { height: clamp(105px,23vw,176px); border-radius: 8px; }
.cover img { object-position: var(--cover-x,50%) var(--cover-y,50%); }
.username-preview { display: grid; place-items: center; min-height: 66px; border-radius: 8px; background: #202020; font-size: 1.25rem; font-weight: 720; }
.name-award { display: inline-block; flex: 0 0 auto; object-fit: contain; vertical-align: middle; width: 22px; height: 22px; }
.profile-awards { margin-block: 8px; }
.profile-awards summary { cursor: pointer; width: fit-content; color: var(--muted); font-size: .88rem; }
.award-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0 0; padding: 0; list-style: none; }
.award-list li { display: flex; align-items: center; gap: 8px; padding: 5px 9px; border: 1px solid #393939; border-radius: 7px; overflow-wrap: anywhere; font-size: .84rem; }
.award-list small { display: block; color: var(--muted); }
.discord-presence { display: flex; align-items: center; gap: 7px; width: fit-content; margin-top: 10px; padding: 5px 8px; border: 1px solid #393939; border-radius: 8px; font-size: .85rem; }
.presence-dot { width: 7px; height: 7px; border-radius: 50%; background: #888; }
.discord-presence[data-status="online"] .presence-dot { background: #52c582; }
.discord-presence[data-status="idle"] .presence-dot { background: #f0bd47; }
.discord-presence[data-status="dnd"] .presence-dot { background: #e97878; }
.cover-x-0{--cover-x:0%}
.cover-x-1{--cover-x:1%}
.cover-x-2{--cover-x:2%}
.cover-x-3{--cover-x:3%}
.cover-x-4{--cover-x:4%}
.cover-x-5{--cover-x:5%}
.cover-x-6{--cover-x:6%}
.cover-x-7{--cover-x:7%}
.cover-x-8{--cover-x:8%}
.cover-x-9{--cover-x:9%}
.cover-x-10{--cover-x:10%}
.cover-x-11{--cover-x:11%}
.cover-x-12{--cover-x:12%}
.cover-x-13{--cover-x:13%}
.cover-x-14{--cover-x:14%}
.cover-x-15{--cover-x:15%}
.cover-x-16{--cover-x:16%}
.cover-x-17{--cover-x:17%}
.cover-x-18{--cover-x:18%}
.cover-x-19{--cover-x:19%}
.cover-x-20{--cover-x:20%}
.cover-x-21{--cover-x:21%}
.cover-x-22{--cover-x:22%}
.cover-x-23{--cover-x:23%}
.cover-x-24{--cover-x:24%}
.cover-x-25{--cover-x:25%}
.cover-x-26{--cover-x:26%}
.cover-x-27{--cover-x:27%}
.cover-x-28{--cover-x:28%}
.cover-x-29{--cover-x:29%}
.cover-x-30{--cover-x:30%}
.cover-x-31{--cover-x:31%}
.cover-x-32{--cover-x:32%}
.cover-x-33{--cover-x:33%}
.cover-x-34{--cover-x:34%}
.cover-x-35{--cover-x:35%}
.cover-x-36{--cover-x:36%}
.cover-x-37{--cover-x:37%}
.cover-x-38{--cover-x:38%}
.cover-x-39{--cover-x:39%}
.cover-x-40{--cover-x:40%}
.cover-x-41{--cover-x:41%}
.cover-x-42{--cover-x:42%}
.cover-x-43{--cover-x:43%}
.cover-x-44{--cover-x:44%}
.cover-x-45{--cover-x:45%}
.cover-x-46{--cover-x:46%}
.cover-x-47{--cover-x:47%}
.cover-x-48{--cover-x:48%}
.cover-x-49{--cover-x:49%}
.cover-x-50{--cover-x:50%}
.cover-x-51{--cover-x:51%}
.cover-x-52{--cover-x:52%}
.cover-x-53{--cover-x:53%}
.cover-x-54{--cover-x:54%}
.cover-x-55{--cover-x:55%}
.cover-x-56{--cover-x:56%}
.cover-x-57{--cover-x:57%}
.cover-x-58{--cover-x:58%}
.cover-x-59{--cover-x:59%}
.cover-x-60{--cover-x:60%}
.cover-x-61{--cover-x:61%}
.cover-x-62{--cover-x:62%}
.cover-x-63{--cover-x:63%}
.cover-x-64{--cover-x:64%}
.cover-x-65{--cover-x:65%}
.cover-x-66{--cover-x:66%}
.cover-x-67{--cover-x:67%}
.cover-x-68{--cover-x:68%}
.cover-x-69{--cover-x:69%}
.cover-x-70{--cover-x:70%}
.cover-x-71{--cover-x:71%}
.cover-x-72{--cover-x:72%}
.cover-x-73{--cover-x:73%}
.cover-x-74{--cover-x:74%}
.cover-x-75{--cover-x:75%}
.cover-x-76{--cover-x:76%}
.cover-x-77{--cover-x:77%}
.cover-x-78{--cover-x:78%}
.cover-x-79{--cover-x:79%}
.cover-x-80{--cover-x:80%}
.cover-x-81{--cover-x:81%}
.cover-x-82{--cover-x:82%}
.cover-x-83{--cover-x:83%}
.cover-x-84{--cover-x:84%}
.cover-x-85{--cover-x:85%}
.cover-x-86{--cover-x:86%}
.cover-x-87{--cover-x:87%}
.cover-x-88{--cover-x:88%}
.cover-x-89{--cover-x:89%}
.cover-x-90{--cover-x:90%}
.cover-x-91{--cover-x:91%}
.cover-x-92{--cover-x:92%}
.cover-x-93{--cover-x:93%}
.cover-x-94{--cover-x:94%}
.cover-x-95{--cover-x:95%}
.cover-x-96{--cover-x:96%}
.cover-x-97{--cover-x:97%}
.cover-x-98{--cover-x:98%}
.cover-x-99{--cover-x:99%}
.cover-x-100{--cover-x:100%}
.cover-y-0{--cover-y:0%}
.cover-y-1{--cover-y:1%}
.cover-y-2{--cover-y:2%}
.cover-y-3{--cover-y:3%}
.cover-y-4{--cover-y:4%}
.cover-y-5{--cover-y:5%}
.cover-y-6{--cover-y:6%}
.cover-y-7{--cover-y:7%}
.cover-y-8{--cover-y:8%}
.cover-y-9{--cover-y:9%}
.cover-y-10{--cover-y:10%}
.cover-y-11{--cover-y:11%}
.cover-y-12{--cover-y:12%}
.cover-y-13{--cover-y:13%}
.cover-y-14{--cover-y:14%}
.cover-y-15{--cover-y:15%}
.cover-y-16{--cover-y:16%}
.cover-y-17{--cover-y:17%}
.cover-y-18{--cover-y:18%}
.cover-y-19{--cover-y:19%}
.cover-y-20{--cover-y:20%}
.cover-y-21{--cover-y:21%}
.cover-y-22{--cover-y:22%}
.cover-y-23{--cover-y:23%}
.cover-y-24{--cover-y:24%}
.cover-y-25{--cover-y:25%}
.cover-y-26{--cover-y:26%}
.cover-y-27{--cover-y:27%}
.cover-y-28{--cover-y:28%}
.cover-y-29{--cover-y:29%}
.cover-y-30{--cover-y:30%}
.cover-y-31{--cover-y:31%}
.cover-y-32{--cover-y:32%}
.cover-y-33{--cover-y:33%}
.cover-y-34{--cover-y:34%}
.cover-y-35{--cover-y:35%}
.cover-y-36{--cover-y:36%}
.cover-y-37{--cover-y:37%}
.cover-y-38{--cover-y:38%}
.cover-y-39{--cover-y:39%}
.cover-y-40{--cover-y:40%}
.cover-y-41{--cover-y:41%}
.cover-y-42{--cover-y:42%}
.cover-y-43{--cover-y:43%}
.cover-y-44{--cover-y:44%}
.cover-y-45{--cover-y:45%}
.cover-y-46{--cover-y:46%}
.cover-y-47{--cover-y:47%}
.cover-y-48{--cover-y:48%}
.cover-y-49{--cover-y:49%}
.cover-y-50{--cover-y:50%}
.cover-y-51{--cover-y:51%}
.cover-y-52{--cover-y:52%}
.cover-y-53{--cover-y:53%}
.cover-y-54{--cover-y:54%}
.cover-y-55{--cover-y:55%}
.cover-y-56{--cover-y:56%}
.cover-y-57{--cover-y:57%}
.cover-y-58{--cover-y:58%}
.cover-y-59{--cover-y:59%}
.cover-y-60{--cover-y:60%}
.cover-y-61{--cover-y:61%}
.cover-y-62{--cover-y:62%}
.cover-y-63{--cover-y:63%}
.cover-y-64{--cover-y:64%}
.cover-y-65{--cover-y:65%}
.cover-y-66{--cover-y:66%}
.cover-y-67{--cover-y:67%}
.cover-y-68{--cover-y:68%}
.cover-y-69{--cover-y:69%}
.cover-y-70{--cover-y:70%}
.cover-y-71{--cover-y:71%}
.cover-y-72{--cover-y:72%}
.cover-y-73{--cover-y:73%}
.cover-y-74{--cover-y:74%}
.cover-y-75{--cover-y:75%}
.cover-y-76{--cover-y:76%}
.cover-y-77{--cover-y:77%}
.cover-y-78{--cover-y:78%}
.cover-y-79{--cover-y:79%}
.cover-y-80{--cover-y:80%}
.cover-y-81{--cover-y:81%}
.cover-y-82{--cover-y:82%}
.cover-y-83{--cover-y:83%}
.cover-y-84{--cover-y:84%}
.cover-y-85{--cover-y:85%}
.cover-y-86{--cover-y:86%}
.cover-y-87{--cover-y:87%}
.cover-y-88{--cover-y:88%}
.cover-y-89{--cover-y:89%}
.cover-y-90{--cover-y:90%}
.cover-y-91{--cover-y:91%}
.cover-y-92{--cover-y:92%}
.cover-y-93{--cover-y:93%}
.cover-y-94{--cover-y:94%}
.cover-y-95{--cover-y:95%}
.cover-y-96{--cover-y:96%}
.cover-y-97{--cover-y:97%}
.cover-y-98{--cover-y:98%}
.cover-y-99{--cover-y:99%}
.cover-y-100{--cover-y:100%}

.avatar { position: relative }
.avatar-border-silver { box-shadow: 0 0 0 2px #b7bcc7 }
.avatar-border-ember { box-shadow: 0 0 0 2px #fd7769,0 0 10px #bd453f99 }
.avatar-border-aqua { box-shadow: 0 0 0 2px #72dbe3,0 0 10px #3a899699 }
.avatar-border-violet { box-shadow: 0 0 0 2px #a982ef,0 0 10px #6e43b499 }
.avatar-border-gold { box-shadow: 0 0 0 2px #e0bc67,0 0 10px #a17d2199 }
.avatar-online::after { content:""; position:absolute; right:8%; bottom:8%; width:21%; height:21%; border-radius:50%; box-shadow:0 0 0 2px #191919; background:#55c88d }
.profile-links a { width:38px; min-height:38px; justify-content:center; padding:0 }
.profile-links a .icon { width:17px; height:17px }
.profile-top .edit-profile { background:#222; }
.profile-skin { margin: 14px 18px; }
.profile-skin > summary { cursor:pointer; color:var(--muted); }
.profile-skin .skin-panel { margin:10px 0 0; }
.post-video { display:block; width:min(100%,560px); max-height:400px; margin-block:9px; background:#0b0b0b; border-radius:10px; }

.group-content,.group-directory,.game-grid { display:grid; gap:10px; padding:14px 17px; }
.group-directory,.game-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.group-card,.game-tile { display:block; padding:13px; overflow-wrap:anywhere; }
.group-card img:not(.name-award),.group-userbar { height:42px; max-width:145px; object-fit:contain; margin-bottom:7px; }
.group-userbar { height:52px; max-width:220px; }
.group-intro,.group-content > section { display:grid; gap:8px; }
.group-content .person { padding-inline:0; }
.group-form select,.game-form select { color:var(--text); background:#151515; border:1px solid #393939; border-radius:7px; padding:8px; font:inherit; }
.game-result,.directory-head { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; margin-block:8px; }
.game-result { display:block; }
.mine-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; max-width:280px; }
.action-row { display:flex; flex-wrap:wrap; gap:6px; }
.game-history,.play-card { margin:12px 17px; padding:13px; }
.balance strong { display:block; }
.arcade-visual { height:116px; width:100%; display:block; }
@media(max-width:470px) { .group-directory,.game-grid {grid-template-columns:minmax(0,1fr)} }

.settings-nav { display:flex; flex-wrap:wrap; gap:5px; padding:10px 12px; border-bottom:1px solid var(--line) }
.settings-nav a { display:inline-flex; align-items:center; gap:6px; padding:7px 10px; border-radius:7px; color:var(--muted); min-height:39px }
.settings-nav a[aria-current] { color:var(--text); background:#292929 }
.settings-nav a:hover { background:#242424 }
.settings-grid { display:grid; gap:12px }
.settings-card { border:1px solid var(--line); border-radius:12px; padding:14px; background:#181818; min-width:0 }
.auth-qr { background:#fff; padding:8px; width:fit-content; max-width:100%; border-radius:8px }
.auth-qr:empty { display:none }
.auth-qr canvas { display:block; max-width:100%; width:180px; height:auto; image-rendering:pixelated }
.recovery-panel { border:1px solid #454545; padding:11px; border-radius:8px }
.recovery-panel ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); padding-left:18px; gap:3px 13px }
.callback-url { overflow-wrap:anywhere }
.discord-signin { margin-top:12px }
.disclosure > summary { display:flex; align-items:center; gap:8px; list-style:none; cursor:pointer; padding:8px 10px; border:1px solid #383838; background:#1c1c1c; border-radius:8px; min-height:39px; width:fit-content }
.disclosure > summary::-webkit-details-marker { display:none }
.disclosure > summary::after { content:"+"; display:inline-grid; place-items:center; width:20px; height:20px; color:#aaa; background:#2a2a2a; border-radius:5px; margin-left:5px }
.disclosure[open] > summary::after { content:"−"; }
.disclosure > summary:hover { background:#252525 }
.disclosure > code { display:inline-block; margin:8px 0 0; overflow-wrap:anywhere }
.avatar-border-orbit { box-shadow:0 0 0 2px #8f8bfb,0 0 13px #6c67a588 }
.avatar-border-starlight { box-shadow:0 0 0 2px #ebd38d,0 0 13px #b9a3588a }
.avatar-border-pulse { box-shadow:0 0 0 2px #e57c90,0 0 12px #bd456585 }
.avatar-border-spectral { box-shadow:0 0 0 2px #9cf0dc,0 0 12px #58749c89 }
.avatar:is(.avatar-border-orbit,.avatar-border-starlight,.avatar-border-pulse,.avatar-border-spectral)::before {
    content:""; position:absolute; inset:0; border-radius:50%; pointer-events:none; z-index:1;
}
.avatar-border-orbit::before {
    background:radial-gradient(circle at 20% 18%,#fff 0 3%,#c9bcff 4%,transparent 10%),
       radial-gradient(circle at 80% 82%,#9ceaff 0 3%,transparent 9%);
}
.avatar-border-starlight::before {
    background:radial-gradient(circle at 23% 22%,#fff 0 2%,#edc568 4%,transparent 8%),
        radial-gradient(circle at 73% 15%,#fff 0 2%,transparent 7%),
        radial-gradient(circle at 83% 65%,#ffedaf 0 2%,transparent 7%),
        radial-gradient(circle at 15% 80%,#fff 0 2%,transparent 8%);
}
.avatar-border-spectral::before { border:2px dashed #a6ddff91 }
@keyframes avatar-orbit { to { transform:rotate(360deg) } }
@keyframes avatar-stars { 50% { opacity:.32; transform:rotate(19deg) } }
@keyframes avatar-pulse { 50% { box-shadow:0 0 0 3px #ed9baa,0 0 18px #cb456c9b } }
@media (prefers-reduced-motion:no-preference) {
    body[data-motion="on"] .avatar-border-orbit::before { animation:avatar-orbit 5s linear infinite }
    body[data-motion="on"] .avatar-border-starlight::before { animation:avatar-stars 2.7s ease-in-out infinite }
    body[data-motion="on"] .avatar-border-pulse { animation:avatar-pulse 2.1s ease-in-out infinite }
    body[data-motion="on"] .avatar-border-spectral::before { animation:avatar-orbit 8s linear infinite }
}

.arcade-layout { width:min(100%,1390px); max-width:none; grid-template-columns:minmax(170px,203px) minmax(0,1120px); justify-content:center; }
.arcade-layout .stream { background:transparent; border:0; }
.arcade-layout .arcade-page { padding:clamp(11px,2vw,20px); }
.arcade-layout .arcade-notice { bottom:calc(66px + env(safe-area-inset-bottom,0px)); }
@media (max-width:760px), (hover:none) and (pointer:coarse) and (max-width:1050px) {
    .arcade-layout { width:100%; }
    .arcade-layout .arcade-page { padding:14px 11px 20px; }
}

.profile-widgets { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin-top:9px }
.profile-widgets .discord-presence { margin-top:0 }
.profile-widgets .discord-presence:is(:hover,:focus-visible) { border-color:#737373; background:#232323; }
.profile-widgets [data-discord-status]:empty { display:none; }
.profile-tools { display:flex; flex-wrap:wrap; gap:8px; margin:14px 18px; scroll-margin-top:76px }
.profile-tools:not([data-profile-ready]) ~ .toggle-panel:not(:target) { display:none }
.toggle-panel { scroll-margin-top:74px }
.profile-tools .button[aria-expanded="true"] { background:#303030; border-color:#4a4a4a; }
@font-face {
    font-family:"Pixelify Sans"; src:url("assets/pixelify-sans.woff2") format("woff2");
    font-weight:400; font-style:normal; font-display:swap;
}
.compose-body > label:not(.sr-only) { display:grid; gap:6px; margin-bottom:8px }

.leaderboard { border:1px solid var(--line); border-radius:14px; background:var(--panel); overflow:hidden; }
.leaderboard-head { display:flex; align-items:center; justify-content:space-between; padding:15px; gap:9px; background:#1c1c1c; border-bottom:1px solid var(--line) }
.leaderboard-head > .icon {font-size:1.4rem;color:#bbb}
.leaderboard-rows,.audit-events { list-style:none; padding:0; margin:0 }
.leaderboard-rows li { display:grid; grid-template-columns:36px minmax(0,1fr) max-content; align-items:center; gap:10px; padding:10px 12px; border-top:1px solid var(--line); }
.leaderboard-rows li:first-child {border-top:0}
.leaderboard-rows li.is-you {background:#222}
.leaderboard-rank {display:grid;place-items:center;min-height:32px;border-radius:7px;background:#232323;color:#bbb;font-weight:700;font-variant-numeric:tabular-nums}
.leaderboard-rank.rank-1 {background:#342c1e;color:#f1d68d}
.leaderboard-rank.rank-2 {background:#2e3033;color:#d4d8de}
.leaderboard-rank.rank-3 {background:#392822;color:#e7af98}
.leaderboard-identity {display:flex;align-items:center;gap:9px;min-width:0;overflow-wrap:anywhere}
.leaderboard-identity:hover strong {text-decoration:underline}
.leaderboard-identity small,.leaderboard-credits small,.staff-section .person small,.audit-events small {display:block;color:var(--muted)}
.leaderboard-credits {text-align:right;font-variant-numeric:tabular-nums;min-width:0}
.staff-directory,.ops-grid {display:grid;gap:13px}
.staff-section > h2 {padding:12px 15px}
.staff-section .person {padding-block:10px}
.widget-heading {display:flex;align-items:center;gap:10px}
.widget-heading > span {width:36px;height:36px;display:grid;place-items:center;flex:none;border-radius:8px;background:#292929;color:#ddd}
.audit-counts {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.audit-counts span {border:1px solid var(--line);border-radius:7px;background:#191919;padding:7px;color:var(--muted);font-size:.8rem;overflow-wrap:anywhere}
.audit-counts b {display:block;color:var(--text);font-size:1.2rem}
.audit-filter {display:flex;flex-wrap:wrap;gap:5px}
.audit-events li {display:flex;align-items:center;gap:7px;justify-content:space-between;flex-wrap:wrap;padding:9px 0;border-top:1px solid var(--line)}
@media (max-width:440px) {
    .leaderboard-rows li {grid-template-columns:27px minmax(0,1fr) max-content;gap:7px;padding-inline:8px}
    .leaderboard-identity .avatar {width:33px;height:33px}
    .audit-counts {grid-template-columns:repeat(2,minmax(0,1fr))}
}

.avatar-frame { display:inline-grid; position:relative; flex:0 0 auto; vertical-align:middle; overflow:visible; }
.avatar-frame > .avatar { display:grid; }
.discord-decoration { width:122%; height:122%; max-width:none; position:absolute; inset:-11%; z-index:2; object-fit:contain; pointer-events:none; }
.avatar-editor .appearance-preview {
    display:flex; align-items:center; gap:14px; min-width:0; min-height:106px; padding:13px; border:1px solid #373737;
    border-radius:10px; background:radial-gradient(ellipse at 10% 30%,#292929,#1a1a1a 78%);
}
.appearance-preview .avatar-large { width:68px; height:68px; font-size:1.45rem; margin-inline:4px 0; }
.appearance-preview small { display:block; margin-top:3px; overflow-wrap:anywhere; }
.appearance-preview[data-decoration-off="1"] .discord-decoration { display:none; }
.avatar-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(94px,1fr)); gap:6px; }
.avatar-options .border-option { display:flex; gap:6px; align-items:center; min-height:38px; position:relative; border:1px solid #393939; padding:6px 7px; background:#191919; border-radius:7px; cursor:pointer; font-size:.82rem; }
.border-option:has(:checked) { border-color:#b0b0b0; background:#2c2c2c; }
.border-option:focus-within { outline:2px solid var(--accent); outline-offset:2px; }
.border-option input { position:absolute; opacity:0; inset:0; }
.border-swatch { width:13px; height:13px; border-radius:50%; background:#565656; flex:0 0 auto; margin-inline:2px; }
.admin-rename { display:grid; grid-template-columns:minmax(0,130px) auto; gap:5px; align-items:center; }
.admin-rename input { max-width:130px; }

.dashboard-layout {
    --admin-surface:#161616;
    --admin-raised:#1c1c1c;
    --admin-line:#303030;
    display:block;
    max-width:1280px;
    padding:20px 24px 48px;
}
.dashboard-layout .dashboard { min-height:0; background:none; border:0; overflow:visible; }
.admin-topbar {
    display:flex;
    align-items:center;
    gap:16px;
    min-height:64px;
    padding:10px 16px;
    margin-bottom:20px;
    border:1px solid var(--admin-line);
    border-radius:12px;
    background:var(--admin-surface);
}
.admin-topbar .brand { padding:0; font-size:1.28rem; flex-shrink:0; }
.admin-topbar-label { padding-left:16px; border-left:1px solid var(--admin-line); color:var(--muted); font-size:.9rem; }
.admin-topbar .button { margin-left:auto; }
.admin-exit .icon { width:14px; height:14px; }
.admin-mobile-nav { display:none; }
.admin-switch-chevron {
    width:8px;
    height:8px;
    flex:none;
    border:solid currentColor;
    border-width:0 2px 2px 0;
    transform:translateY(-2px) rotate(45deg);
    color:var(--muted);
}
details[open] > summary .admin-switch-chevron { transform:translateY(2px) rotate(225deg); }
.admin-shell .member-manage > summary::after { content:none; }
.admin-topbar-account { display:flex; align-items:center; gap:9px; font-size:.88rem; }
.admin-shell { display:grid; grid-template-columns:206px minmax(0,1fr); gap:20px; align-items:start; }
.admin-shell .admin-nav {
    position:sticky;
    top:18px;
    display:grid;
    gap:16px;
    border:1px solid var(--admin-line);
    border-radius:12px;
    background:var(--admin-surface);
    padding:12px;
}
.admin-nav-group { display:grid; gap:3px; min-width:0; }
.admin-nav-group > p { padding:4px 10px 6px; color:var(--muted); font-size:.76rem; letter-spacing:.06em; text-transform:uppercase; }
.admin-nav-group > a {
    display:flex;
    align-items:center;
    gap:10px;
    min-height:42px;
    padding:8px 10px;
    color:#bababa;
    border:1px solid transparent;
    border-radius:8px;
    font-size:.9rem;
}
.admin-nav-group > a:hover { color:var(--text); background:#222; }
.admin-nav-group > a[aria-current] { color:var(--text); background:#282828; border-color:#424242; font-weight:700; }
.admin-nav-group .icon { flex:none; width:16px; height:16px; }
.admin-shell .admin-content { display:grid; gap:16px; min-width:0; padding:0; }
.admin-page-heading {
    display:flex;
    align-items:center;
    gap:14px;
    padding:19px;
    background:var(--admin-surface);
    border:1px solid var(--admin-line);
    border-radius:12px;
}
.admin-page-heading h1 { font-size:clamp(1.45rem,2.5vw,2.1rem); }
.admin-page-heading p { margin-top:4px; color:var(--muted); font-size:.93rem; }
.admin-heading-icon { display:grid; place-items:center; flex:none; width:38px; height:38px; border:1px solid #383838; border-radius:9px; background:#242424; }
.admin-page-heading .admin-heading-icon { width:48px; height:48px; }
.admin-shell .admin-card { background:var(--admin-surface); border-color:var(--admin-line); border-radius:12px; }
.admin-shell :is(.body-pad,.admin-block,.report-row) { padding:16px; }
.admin-shell :is(.fields label,.member-actions .button) { font-size:.875rem; }
.admin-shell .fields :is(input:not([type=checkbox],[type=radio]),select,textarea) { background:#101010; border-color:#373737; }
.admin-shell .fields input[type=file] { max-width:100%; min-width:0; }
.admin-shell .fields > .button { justify-self:start; }
.admin-shell .admin-metrics { gap:12px; }
.admin-shell .metric { display:grid; align-content:start; gap:14px; padding:15px; }
.admin-shell .metric > span { display:flex; align-items:center; gap:8px; font-size:.83rem; }
.admin-shell .metric strong { font-size:1.65rem; font-variant-numeric:tabular-nums; }
.admin-shell .metric:hover { border-color:#6a6a6a; background:var(--admin-raised); }
.admin-quick-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; padding:16px; }
.admin-quick-links h2 { grid-column:1/-1; margin-bottom:3px; }
.admin-quick-links a { display:flex; align-items:center; gap:9px; padding:12px; background:var(--admin-raised); border:1px solid var(--admin-line); border-radius:8px; font-size:.9rem; }
.admin-quick-links a:hover { border-color:#707070; }
.admin-member-profile { display:flex; align-items:center; gap:11px; min-width:0; }
.admin-member-profile .member-identity { display:grid; gap:2px; overflow-wrap:anywhere; }
.admin-member-badges { display:flex; flex-wrap:wrap; gap:4px; margin-top:2px; }
.admin-shell .admin-members > li { padding:14px 16px; }
.admin-shell .member-manage { flex:1 0 auto; max-width:100%; text-align:right; }
.admin-shell .member-manage[open] { flex-basis:100%; }
.admin-member-controls { display:grid; gap:12px; padding:13px; text-align:left; margin-top:9px; border:1px solid var(--admin-line); border-radius:9px; background:#101010; }
.admin-member-controls .member-actions { justify-content:flex-start; }
.admin-member-controls .admin-rename { justify-content:start; }
.admin-shell .admin-danger { color:#ffb1b1; border-color:#6e4444; }
.admin-role-editor > .field-pair { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:11px; align-items:center; border-bottom:1px solid var(--admin-line); padding-bottom:11px; }
.admin-shell .report-row > header { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:7px; }
.admin-shell .report-row > p { margin:7px 0; overflow-wrap:anywhere; }
.admin-shell .search-pill { min-width:min(100%,230px); }
.admin-shell .site-options { min-width:0; }
@media (max-width:850px), (hover:none) and (pointer:coarse) and (max-width:1050px) {
    .dashboard-layout {
        width:100%;
        padding:10px max(10px,env(safe-area-inset-right))
            calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 18px) max(10px,env(safe-area-inset-left));
    }
    .admin-topbar { margin-bottom:10px; min-height:54px; gap:10px; padding:6px 10px; }
    .admin-topbar .brand { min-width:0; flex-shrink:1; gap:7px; font-size:1.1rem; }
    .admin-topbar .admin-exit { flex:none; min-height:44px; padding-inline:9px; font-size:.79rem; white-space:nowrap; }
    .admin-topbar-account { display:grid; place-items:center; width:44px; height:44px; flex:none; }
    .admin-topbar-label,.admin-topbar-account > span:not(.avatar-frame) { display:none; }
    .admin-shell { grid-template-columns:minmax(0,1fr); gap:12px; }
    .admin-shell .admin-desktop-nav { display:none; }
    .admin-mobile-nav {
        display:block;
        min-width:0;
        border:1px solid var(--glass-border);
        border-radius:12px;
        background:var(--glass-panel);
        box-shadow:var(--glass-edge);
    }
    .admin-mobile-nav > summary {
        display:grid;
        grid-template-columns:auto minmax(0,1fr) auto;
        align-items:center;
        gap:10px;
        min-height:55px;
        padding:8px 14px 8px 10px;
        list-style:none;
        cursor:pointer;
        border-radius:11px;
    }
    .admin-shell :is(.admin-mobile-nav summary,.member-manage summary,.admin-mobile-nav a) { -webkit-tap-highlight-color:transparent; }
    .admin-shell :is(.admin-mobile-nav summary,.member-manage summary,.admin-mobile-nav a):focus-visible {
        outline:2px solid var(--accent);
        outline-offset:-2px;
    }
    .admin-mobile-nav[open] > summary,.admin-mobile-nav > summary:active { background:#ffffff07; }
    .admin-mobile-nav > summary::-webkit-details-marker { display:none; }
    .admin-mobile-nav .admin-heading-icon { width:35px; height:35px; }
    .admin-switch-label { display:grid; gap:1px; }
    .admin-switch-label small { color:var(--muted); font-size:.73rem; }
    .admin-switch-label strong { font-size:.98rem; line-height:1.2; }
    .admin-shell .admin-mobile-nav .admin-nav {
        position:static;
        gap:12px;
        padding:10px;
        border:0;
        border-top:1px solid var(--admin-line);
        border-radius:0 0 11px 11px;
        background:transparent;
        box-shadow:none;
    }
    .admin-mobile-nav .admin-nav-group { grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; }
    .admin-mobile-nav .admin-nav-group > p { grid-column:1/-1; padding:0 4px 2px; }
    .admin-mobile-nav .admin-nav-group > a {
        gap:8px;
        min-height:44px;
        padding:6px 8px;
        background:var(--admin-raised);
        border-color:var(--admin-line);
        font-size:.85rem;
        overflow-wrap:anywhere;
    }
    .admin-mobile-nav .admin-nav-group > a[aria-current] {
        color:var(--text);
        background:#303030;
        border-color:#626262;
    }
    .admin-shell .admin-content { gap:12px; }
    .admin-shell .admin-page-heading { display:block; padding:4px 3px 1px; border:0; background:none; box-shadow:none; }
    .admin-page-heading > .admin-heading-icon { display:none; }
    .admin-page-heading h1 { font-size:1.5rem; line-height:1.15; }
    .admin-page-heading p { font-size:.88rem; }
    .admin-shell :is(.body-pad,.admin-block,.report-row) { padding:13px; }
    .admin-shell .admin-metrics { gap:8px; }
    .admin-shell .metric { gap:8px; min-height:88px; padding:11px; }
    .admin-shell .metric > span { gap:6px; }
    .admin-shell .metric > span .icon { flex:none; }
    .admin-shell .metric strong { font-size:1.55rem; }
    .admin-quick-links { gap:7px; padding:13px; }
    .admin-quick-links a { min-height:44px; padding:8px; }
    .admin-quick-links a .icon { flex:none; }
    .admin-shell .admin-audit-grid { grid-template-columns:minmax(0,1fr); }
    .admin-shell .fields > .button { min-height:44px; }
}
@media (max-width:500px) {
    .admin-shell .admin-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .admin-shell .admin-card > .admin-block:has(.search-pill) { display:grid; grid-template-columns:minmax(0,1fr); }
    .admin-shell .admin-card > .admin-block .search-pill { width:100%; min-height:44px; }
    .admin-members .admin-card > .admin-block h2 { display:none; }
    .admin-shell ul.admin-members > li {
        position:relative;
        display:block;
        min-height:70px;
        padding:11px 12px;
    }
    .admin-member-profile { gap:9px; padding-inline-end:92px; }
    .admin-shell .member-manage > summary {
        position:absolute;
        inset:12px 12px auto auto;
        min-height:44px;
        padding:6px 9px;
        gap:7px;
        font-size:.82rem;
    }
    .admin-member-controls { gap:9px; padding:9px; }
    .admin-member-controls .member-actions { margin-top:0; }
    .admin-member-controls .button { min-height:44px; }
    .admin-member-controls .admin-rename { grid-template-columns:minmax(0,1fr) auto; }
    .admin-member-controls .admin-rename input { width:100%; max-width:none; }
    .admin-role-editor > .field-pair { grid-template-columns:auto minmax(0,1fr); }
    .admin-role-editor > .field-pair > .check { grid-column:2; }
}
.admin-audit-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr); align-items:start; gap:14px; }
.audit-controls { display:grid; gap:14px; min-width:0; }
.admin-audit-heading { display:flex; align-items:start; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.admin-shell .audit-counts { gap:10px; }
.admin-shell .audit-counts > a { display:grid; justify-items:start; gap:7px; padding:12px; }
.admin-shell .audit-counts > a:is(:hover,[aria-current]) { border-color:#727272; }
.admin-shell .audit-counts strong { font-size:1.35rem; font-variant-numeric:tabular-nums; }
.admin-shell .audit-state { display:inline-flex; border-radius:100px; border:1px solid #444; padding:3px 8px; background:#262626; color:#ddd; white-space:nowrap; font-size:.79rem; }
.admin-shell .audit-delivered { color:#b7e6ca; border-color:#3b5c47; background:#1e3025; }
.admin-shell .audit-failed { color:#ffb8b8; border-color:#693d3d; background:#352323; }
.admin-shell .audit-queued { color:#f4d6a3; border-color:#72582e; background:#332a1d; }
.admin-shell .audit-events li { display:block; padding:6px 0; }
.audit-event > summary { width:100%; background:none; border-color:transparent; padding:6px; gap:8px; }
.audit-event > summary::after { flex:none; }
.audit-event-name { flex:1; min-width:0; overflow-wrap:anywhere; }
.audit-event-name strong { display:block; font-size:.9rem; }
.audit-event-name small { font-size:.8rem; }
.audit-event > dl { display:grid; gap:8px; padding:11px; margin:5px 0 3px; border:1px solid var(--admin-line); border-radius:8px; background:#101010; }
.audit-event > dl > div { display:flex; justify-content:space-between; gap:10px; overflow-wrap:anywhere; }
.audit-event dt { color:var(--muted); }
.audit-event dd { margin:0; text-align:right; }
.audit-event dt,.audit-event dd { font-size:.85rem; }
.audit-event > form { padding:6px 0; }
.audit-destination { display:grid; gap:5px; padding-top:9px; border-top:1px solid var(--admin-line); }
.audit-destination > div { display:flex; justify-content:space-between; align-items:baseline; gap:6px; }
.admin-shell .audit-filter { gap:5px; }
.admin-shell .audit-filter .button { min-height:35px; font-size:.79rem; }
@media (max-width:1120px) and (min-width:851px) { .admin-audit-grid { grid-template-columns:minmax(0,1fr); } }
@media (max-width:720px) { .admin-audit-grid { grid-template-columns:minmax(0,1fr); } }
@media (max-width:380px) { .audit-event .admin-heading-icon { display:none; } }
.post-link { text-decoration: underline; text-underline-offset:.18em; overflow-wrap:anywhere; }
.youtube-card { margin:10px 0; overflow:hidden; border:1px solid var(--line); border-radius:12px; background:var(--elevated); }
.youtube-screen { position:relative; aspect-ratio:16/9; background:#0a0a0a; }
.youtube-screen:has(iframe) { min-height:200px; }
.youtube-preview,.youtube-screen iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.youtube-preview { display:grid; place-items:center; }
.youtube-preview:focus-visible { outline-offset:-3px; }
.youtube-preview img { position:absolute; width:100%; height:100%; object-fit:cover; }
.youtube-play { position:relative; display:grid; place-items:center; width:62px; height:44px; border-radius:12px; background:#111d; color:#fff; }
.youtube-play .icon { width:30px; height:30px; }
.youtube-preview:is(:hover,:focus-visible) .youtube-play { background:#272727; }
.youtube-caption { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 12px; padding:7px 11px; color:var(--muted); font-size:.8125rem; }
.youtube-caption a { color:var(--text); padding-block:3px; }
.youtube-caption a:hover { text-decoration:underline; }
.link-preview { container-type: inline-size; border: 1px solid var(--line); border-radius: 11px; margin: 10px 0; background: var(--elevated); overflow: hidden; }
.link-preview-card { display: flex; min-height: 60px; gap: 10px; align-items: center; padding: 10px 12px; }
.link-preview-card:hover { background: #292929; }
.link-preview-card:focus-visible, .link-preview-action:focus-visible { outline-offset: -3px; }
.link-preview-card img { width: 88px; height: 64px; flex: none; object-fit: cover; border-radius: 6px; background: #151515; }
.link-preview-copy { display: grid; gap: 3px; min-width: 0; font-size: .88rem; color: var(--muted); }
.link-preview-copy strong { color: var(--text); font-size: .95rem; }
.link-preview-action { display: inline-flex; min-height: 42px; align-items: center; padding-inline: 12px; font-size: .9rem; }
.link-preview-action:hover { text-decoration: underline; }
.external-player-label { display: none; }
@container (max-width: 399px) {
    [data-player-parent] .inline-player-label { display: none; }
    [data-player-parent] .external-player-label { display: inline; }
}
.link-preview-player { display: block; width: 100%; aspect-ratio: 16/9; min-height: 200px; border: 0; background: #101010; }
.link-preview-player.twitch-player { min-height: 300px; }
.link-preview-player[data-format="audio"] { aspect-ratio: auto; height: 352px; }
.link-preview-player[data-format="vertical"] { aspect-ratio: 9/16; max-height: 580px; }
.profile-top { margin-top: 0; align-items: flex-start; }
.profile-top > .avatar-frame { margin-top: -36px; }
.profile-top .profile-actions { margin-top: 12px; }
.profile-top .profile-actions .button { min-height: 40px; }
.role-badge-glyph { display: inline-flex; align-items: center; }
.role-custom { --role-ink:#e1e1e1; --role-fill:#242424; --role-edge:#3c3c3c; color:var(--role-ink); background:var(--role-fill); border-color:var(--role-edge); }
.role-tone-blue { --role-ink:#bddeff; --role-fill:#172d46; --role-edge:#3e658b; }
.role-tone-violet { --role-ink:#e3ceff; --role-fill:#322248; --role-edge:#674d87; }
.role-tone-green { --role-ink:#bcebd0; --role-fill:#17352a; --role-edge:#426f5b; }
.role-tone-gold { --role-ink:#ffe3a5; --role-fill:#3c2b14; --role-edge:#775b30; }
.role-tone-red { --role-ink:#ffcdcf; --role-fill:#402326; --role-edge:#885056; }
.role-shape-outline { background:transparent; }
.role-shape-plain { background:transparent; border-color:transparent; padding-inline:2px; }
.role-editor-card { min-width:0; }
.role-editor-card > legend { padding:0 6px; font-weight:700; }
.role-editor-preview { display:flex; align-items:center; gap:8px; margin-bottom:12px; }
.role-editor-preview .role[aria-disabled="true"] { opacity:.5; }
.role-editor-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:12px; align-items:end; }
.role-editor-options select { width:100%; }
.role-editor-options .check { min-height:38px; }
.admin-role-editor > .button { justify-self:start; }
/* The base glass surfaces use opaque fallbacks for browsers without blur. */
:root {
    --glass-border: #383838;
    --glass-edge: inset 0 1px 0 #ffffff10;
    --glass-shadow: 0 14px 36px #0004;
    --glass-panel: linear-gradient(155deg, #ffffff0b, transparent 48%), #141414;
    --glass-raised: linear-gradient(150deg, #ffffff12, transparent 56%), #1b1b1b;
}
body {
    background:
        radial-gradient(ellipse at 14% 0, #ffffff12, transparent 46rem),
        radial-gradient(ellipse at 92% 2%, #ffffff0b, transparent 38rem),
        var(--bg);
}
.stream:not(.dashboard), .entry, .discover-card,
.admin-shell .admin-card, .admin-shell .admin-nav, .admin-page-heading, .admin-topbar {
    background: var(--glass-panel);
    border-color: var(--glass-border);
    box-shadow: var(--glass-edge), var(--glass-shadow);
}
.arcade-layout .stream { background: transparent; box-shadow: none; }
.entry > .auth {
    background: linear-gradient(156deg, #ffffff08, transparent 52%), #151515;
}
.entry-info {
    background: radial-gradient(ellipse at 6% 12%, #ffffff1c, transparent 65%), #1a1a1a;
}
.stream-head {
    background: linear-gradient(110deg, #252525, #171717 62%);
    border-bottom-color: #ffffff10;
}
.home-tabs {
    background: linear-gradient(180deg, #ffffff07, transparent), #171717;
}
.brand-mark {
    background: linear-gradient(150deg, #414141, #202020 72%);
    box-shadow: inset 0 1px 0 #ffffff29, 0 3px 9px #0006;
}
:is(.site-nav, .admin-nav-group) a[aria-current], .account summary {
    background: var(--glass-raised);
    box-shadow: var(--glass-edge);
    border-color: #414141;
}
:is(.site-nav, .admin-nav-group) a:hover, .account summary:hover {
    background: linear-gradient(125deg, #393939, #242424);
}
.button.primary:not(.confirm-danger) {
    background: linear-gradient(160deg, #fff, #ddd 82%);
    color: #151515;
    border-color: #e4e4e4;
    box-shadow: inset 0 1px 0 #fff, 0 3px 10px #0003;
}
.button.primary:not(.confirm-danger):hover { background: #f5f5f5; }
.search-pill, .lookup-form input {
    box-shadow: inset 0 1px 3px #0007;
}
.account-menu, .post-menu, .confirm-dialog {
    background: var(--glass-raised);
    border-color: #505050;
    box-shadow: var(--glass-edge), 0 16px 40px #0009;
}

@media (max-width:760px), (hover:none) and (pointer:coarse) and (max-width:1050px) {
    .rail, .rail:has(.account), .mobile-nav {
        background: linear-gradient(160deg, #282828, #151515 74%);
        border-color: #444;
        box-shadow: var(--glass-edge), 0 4px 16px #0004;
    }
    .mobile-nav > a[aria-current] {
        background: linear-gradient(180deg, #ffffff1c, #ffffff09);
    }
    .stream:not(.dashboard) {
        background: linear-gradient(155deg, #ffffff0a, transparent 190px), #131313;
        box-shadow: none;
    }
    .arcade-layout .stream { background: transparent; }
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .account-menu, .post-menu, .confirm-dialog {
        background: linear-gradient(150deg, #ffffff12, transparent 62%), #1b1b1bee;
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }
    @media (max-width:760px), (hover:none) and (pointer:coarse) and (max-width:1050px) {
        .rail, .rail:has(.account), .mobile-nav, .home-tabs {
            background: linear-gradient(160deg, #ffffff0f, transparent 76%), #151515e8;
            -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
        }
    }
}
@media (prefers-reduced-transparency: reduce) {
    .account-menu, .post-menu, .confirm-dialog {
        background: var(--glass-raised);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    @media (max-width:760px), (hover:none) and (pointer:coarse) and (max-width:1050px) {
        .rail, .rail:has(.account), .mobile-nav, .home-tabs {
            background: #191919;
            -webkit-backdrop-filter: none;
            backdrop-filter: none;
        }
    }
}

.admin-topbar { position: relative; }
[data-season="christmas"] { --season-accent: #99e9c5; }
[data-season="new-year"] { --season-accent: #ffd58a; }
[data-season="halloween"] { --season-accent: #ff984e; }
[data-season="easter"] { --season-accent: #e8c2ff; }

.season-strip {
    position: absolute;
    z-index: 1;
    inset: -13px 6px auto;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 4px;
    pointer-events: none;
}
.season-ambient {
    --edge-width: clamp(42px, 9vw, 150px);
    position: fixed;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
}
.season-ambient::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at left top, color-mix(in srgb, var(--season-accent) 17%, transparent), transparent 32%),
        radial-gradient(ellipse at right top, color-mix(in srgb, var(--season-accent) 13%, transparent), transparent 32%);
}
.season-piece {
    position: relative;
    flex: none;
    display: block;
    --delay: 0s;
    --decor: #ffd87f;
}
.season-piece:nth-child(3n+1) { --delay: -.7s; --decor: #ff7a86; }
.season-piece:nth-child(3n+2) { --delay: -1.6s; --decor: #72e5ad; }
.season-piece:nth-child(4n) { --delay: -2.2s; --decor: #a5bfff; }
.season-christmas::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 10px;
    border-bottom: 1px solid #74a48e;
    border-radius: 50%;
    box-shadow: 0 2px 4px #63ac8a40;
}
.season-christmas .season-piece {
    width: 8px;
    height: 11px;
    margin-top: 4px;
    border-radius: 45% 45% 55% 55%;
    background: radial-gradient(circle at 32% 25%, #fff 0, var(--decor) 48%);
    box-shadow: 0 0 9px var(--decor);
    transform: rotate(-12deg);
}
.season-christmas .season-piece:nth-child(even) { transform: rotate(11deg); margin-top: 8px; }
.season-christmas .season-piece::before {
    content: "";
    position: absolute;
    inset: -3px 1px auto;
    height: 4px;
    border-radius: 2px;
    background: #94a99c;
}
.season-new-year .season-piece {
    width: 10px;
    height: 10px;
    background: var(--decor);
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.season-new-year .season-piece:nth-child(even) { width: 6px; height: 6px; background: #ffe3a5; }

.season-halloween .season-piece {
    width: 19px;
    height: 13px;
    margin-top: 4px;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at 34% 42%, #4b2118 0 9%, transparent 12%),
        radial-gradient(ellipse at 66% 42%, #4b2118 0 9%, transparent 12%),
        radial-gradient(ellipse at 50% 72%, #632718 0 15%, transparent 18%),
        radial-gradient(ellipse at 50% 42%, #ffb54e, #e66d2c 67%, #a43e16);
    box-shadow: inset 4px 0 #ba4b2590, inset -4px 0 #ba4b2590, 0 0 7px #ed6e334d;
}
.season-halloween .season-piece::before {
    content: "";
    position: absolute;
    inset: -4px auto auto 8px;
    width: 4px;
    height: 5px;
    border-radius: 4px 1px 0 0;
    background: #99af71;
    transform: rotate(18deg);
}
.season-easter .season-piece {
    width: 11px;
    height: 15px;
    border-radius: 55% 55% 49% 49% / 64% 64% 39% 39%;
    background: linear-gradient(165deg, var(--decor) 0 30%, #fff9 31% 44%, var(--decor) 45% 60%, #fff8 61% 72%, var(--decor) 73%);
    box-shadow: inset 1px 1px #fff8, 0 0 6px #dfa9ff55;
    transform: rotate(13deg);
}
.season-easter .season-piece:nth-child(odd) { --decor: #d0aeff; }
.season-easter .season-piece:nth-child(even) { transform: rotate(-16deg); }

.season-particle {
    position: absolute;
    inset-block-start: var(--rest);
    inset-inline-start: calc(7px + var(--edge-width) * var(--lane));
    color: var(--season-accent);
    font-size: var(--size);
    line-height: 1;
    opacity: var(--opacity);
}
.season-particle:nth-child(even) {
    inset-inline-start: auto;
    inset-inline-end: calc(7px + var(--edge-width) * var(--lane));
}
.season-ambient[data-season="christmas"] .season-particle { color: #dcf6ff; text-shadow: 0 0 6px #8cdfff9c; }
.season-ambient[data-season="halloween"] .season-particle { color: #ffb163; text-shadow: 0 0 7px #df542e9c; }
.season-ambient[data-season="easter"] .season-particle { color: #f1c7ff; text-shadow: 0 0 5px #ddaaff8c; }
.season-ambient[data-season="new-year"] .season-particle { color: #ffe3a9; text-shadow: 0 0 7px #ffd2839c; }
.season-firework {
    position: absolute;
    inset-block-start: var(--rest);
    inset-inline-start: var(--lane);
    width: var(--size);
    aspect-ratio: 1;
    border-radius: 50%;
    background: repeating-conic-gradient(from 8deg, #ffde9d 0deg 3deg, transparent 4deg 26deg);
    mask-image: radial-gradient(circle, transparent 24%, #000 31% 48%, transparent 59%, #0008 63% 67%, transparent 71%);
    opacity: .64;
}
.season-firework:nth-child(even) {
    inset-inline-start: auto;
    inset-inline-end: var(--lane);
    background: repeating-conic-gradient(from 11deg, #d5b5ff 0deg 4deg, transparent 5deg 29deg);
}
@media (max-width:760px), (hover:none) and (pointer:coarse) and (max-width:1050px) {
    .rail[data-season] {
        background: linear-gradient(180deg, color-mix(in srgb, var(--season-accent) 12%, #101010), #101010 66%);
        border-bottom-color: color-mix(in srgb, var(--season-accent) 32%, #303030);
    }
    .rail .season-strip { inset-block-start: 0; height: 15px; }
    .rail .season-piece { scale: .79; }
    .season-ambient { --edge-width: clamp(21px, 6vw, 62px); }
    .season-firework { width: min(var(--size), 38px); }
    .season-particle:nth-child(n+17) { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
    [data-motion="on"] .season-christmas .season-piece { animation: season-twinkle 3.7s var(--delay) ease-in-out infinite alternate; }
    [data-motion="on"] .season-new-year .season-piece { animation: season-twinkle 2.7s var(--delay) ease-in-out infinite alternate; }
    [data-motion="on"] .season-halloween .season-piece { animation: season-lantern 4.6s var(--delay) ease-in-out infinite alternate; }
    [data-motion="on"] .season-easter .season-piece { animation: season-bob 3.6s var(--delay) ease-in-out infinite; }
    [data-motion="on"] .season-faller {
        inset-block-start: -24px;
        animation: season-drift var(--duration) var(--delay) linear infinite;
    }
    [data-motion="on"] .season-firework { animation: season-burst var(--duration) var(--delay) ease-out infinite; }
    [data-motion="on"] .season-ember { animation: season-float var(--duration) var(--delay) ease-in-out infinite alternate; }
    [data-motion="on"] :is(.season-strip,.season-ambient)[data-season-paused] * { animation-play-state: paused; }
}
@keyframes season-twinkle {
    0%, 22% { opacity: .73; filter: brightness(.88); }
    75%, 100% { opacity: 1; filter: brightness(1.22); }
}
@keyframes season-lantern { from { opacity: .72; } to { opacity: 1; filter: brightness(1.23); } }
@keyframes season-bob { 50% { translate: 0 -2px; } }
@keyframes season-drift {
    from { transform: translate3d(0, 0, 0) rotate(0); }
    45% { transform: translate3d(var(--drift), 48vh, 0) rotate(130deg); }
    to { transform: translate3d(0, calc(100vh + 48px), 0) rotate(300deg); }
}
@keyframes season-float {
    from { transform: translate3d(0, 12px, 0); opacity: .12; }
    to { transform: translate3d(var(--drift), -12px, 0); opacity: var(--opacity); }
}
@keyframes season-burst {
    0%, 100% { transform: scale(.15); opacity: 0; }
    14% { opacity: .88; }
    38% { transform: scale(1.16); opacity: .24; }
    57%, 99% { transform: scale(1.26); opacity: 0; }
}
.entry-screen {
    min-height: 100dvh;
    padding: clamp(18px,5vw,52px);
    display: grid;
    place-items: center;
}
.entry-screen .entry-card { width: min(100%,890px); margin: 0; }
.entry-card .entry-info { align-items: flex-start; gap: 17px; }
.entry-home { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; }
.entry-home:hover { color: var(--text); }
.entry-home .icon { width: 14px; height: 14px; }
.entry-art {
    width: 132px;
    height: 110px;
    display: grid;
    place-items: center;
    color: #e2e2e2;
    background: radial-gradient(ellipse, #ffffff17, transparent 70%);
}
.entry-art span {
    width: 68px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid #626262;
    border-radius: 12px;
    background: linear-gradient(145deg,#4a4a4a,#202020);
    box-shadow: inset 0 1px #ffffff30, 8px 10px 0 #181818, 8px 10px 0 1px #444, 0 18px 28px #0008;
    transform: translate(-5px,-5px) rotate(-9deg);
}
.entry-art .icon { width: 32px; height: 32px; }
.entry-screen .auth { display: grid; align-content: center; gap: 14px; }
.entry-screen .auth h1, .missing-card h1 { font-size: clamp(1.7rem,4vw,2.3rem); }
.entry-subtitle { color: var(--muted); margin-top: -7px; }
.entry-screen .auth .fields { gap: 13px; }
.entry-screen .auth .fields input { min-height: 44px; background: #101010; }
.entry-screen .auth .fields .button { width: 100%; min-height: 44px; }
.entry-screen .discord-signin .button { width: 100%; }
.missing-card {
    width: min(490px,100%);
    padding: clamp(22px,5vw,42px);
    display: grid;
    justify-items: start;
    gap: 14px;
    background: var(--glass-panel);
    border-color: var(--glass-border);
    box-shadow: var(--glass-edge), var(--glass-shadow);
}
.missing-card .brand { padding: 0; margin-bottom: 4px; }
.missing-card p { color: var(--muted); }
.missing-icon, .staff-role-icon {
    display: grid;
    place-items: center;
    flex: none;
    border: 1px solid #454545;
    background: var(--glass-raised);
    box-shadow: var(--glass-edge);
}
.missing-icon { width: 52px; height: 52px; border-radius: 13px; }
.missing-icon .icon { width: 22px; height: 22px; }
.missing-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.missing-actions .button { min-height: 42px; }
.arcade-loading { padding: 14px 16px; margin: 10px 0; color: var(--muted); }

.staff-directory { gap: 14px; }
.staff-section, .staff-contact {
    background: var(--glass-panel);
    border-color: var(--glass-border);
    box-shadow: var(--glass-edge), var(--glass-shadow);
}
.staff-section > header { display: flex; align-items: center; gap: 9px; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.staff-role-icon { width: 34px; height: 34px; border-radius: 8px; }
.staff-role-icon .icon { width: 16px; height: 16px; }
.staff-count { margin-inline-start: auto; color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.staff-roster { margin: 0; padding: 5px 12px; list-style: none; }
.staff-roster li + li { border-top: 1px solid var(--line); }
.staff-person { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 9px 4px; min-width: 0; }
.staff-person:hover { background: #ffffff08; }
.staff-person-info { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.staff-person-info > strong { font-size: .97rem; }
.staff-person-badges { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.staff-person-badges:empty { display: none; }
.staff-person-link { margin-inline-start: auto; padding-inline-start: 4px; color: var(--muted); }
.staff-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 14px; }
.staff-contact p { color: var(--muted); font-size: .88rem; }
.staff-contact .button { margin-inline-start: auto; }
@media (max-width: 760px) {
    .entry-screen { padding: 16px; }
    .entry-card .entry-info { display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 14px 18px; }
    .entry-art, .entry-card .entry-info p { display: none; }
    .entry-screen .auth { padding: 21px 18px; }
    .staff-directory { padding: 12px; }
    .staff-section > header { padding: 10px 12px; }
    .staff-person-link { display: none; }
    .staff-contact .button { width: 100%; }
}

.thread-heading { justify-content: flex-start; gap: 11px; }
.thread-heading .icon-button, .profile-edit-heading .icon-button { display: grid; place-items: center; width: 38px; height: 38px; }
.thread-heading .icon-button:hover, .profile-edit-heading .icon-button:hover { background: #ffffff0b; border-radius: 9px; }
.post-detail { grid-template-columns: minmax(0,1fr); padding: clamp(14px,3vw,24px); }
.post-detail .post-meta { gap: 11px; margin-bottom: 14px; }
.post-detail .post-meta .avatar { width: 46px; height: 46px; }
.thread-author { display: grid; gap: 2px; min-width: 0; }
.thread-author > div { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.thread-author .display-name { font-size: 1rem; }
.thread-author > .muted { width: fit-content; }
.post-detail .post-text { font-size: clamp(1.075rem,3vw,1.22rem); margin-block: 12px 16px; line-height: 1.55; }
.post-detail .post-image { margin-block: 15px; }
.post-detail .post-image img { max-height: 540px; }
.post-detail .link-preview-card:has(img:not([hidden])) { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
.post-detail .link-preview-card img { width: 100%; height: auto; aspect-ratio: 1.9; object-fit: cover; border-radius: 0; }
.post-detail .link-preview-copy { padding: 10px 12px; }
.post-detail .link-preview-card:not(:has(img:not([hidden]))) .link-preview-copy { padding: 0; }
.thread-post-time { display: flex; flex-wrap: wrap; gap: 9px; padding-block: 12px; color: var(--muted); font-size: .86rem; }
.post-detail .reactions { border-top: 1px solid var(--line); padding-top: 8px; }
.post-detail .reactions > form { flex-grow: 1; justify-content: space-evenly; }
.post-detail .reactions .share-control { margin-inline-start: auto; }
.post-detail .post-options { margin-inline-start: 2px; }
.thread-composer:empty { display:none; }
.thread-composer .compose {
    padding:10px 12px; border:1px solid var(--glass-border);
    border-radius:15px; background:var(--glass-raised);
}
.profile-action-row {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    margin-top: 14px;
    gap: 8px;
}
.profile-action-row .button { min-height: 40px; border-radius: 999px; }
.profile-action-row form { display: flex; }
.profile-action-row .share-control .icon { width: 14px; height: 14px; }
.profile-edit-form .profile-edit-heading {
    display:flex;
    align-items:center;
    min-height: 48px;
    gap: 8px;
}
.profile-edit-heading .button { margin-inline-start: auto; }
.profile-edit-media { position: relative; padding-bottom: 37px; }
.profile-edit-media .cover {
    position: relative;
    border-radius: 10px;
    height: clamp(116px, 20vw, 198px);
    display: grid;
    place-items: center;
}
.profile-edit-media .cover > img { position: absolute; inset: 0; }
.profile-edit-avatar {
    position: absolute;
    inset: auto auto 0 13px;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
}
.profile-edit-avatar .avatar, .profile-edit-avatar > img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid #141414;
}
.profile-edit-avatar > img { position: absolute; inset: 0; object-fit: cover; background: #181818; }
.profile-media-picker {
    position: relative;
    z-index: 1;
    color: #f1f1f1;
    width: fit-content;
    border-radius: 999px;
    overflow: hidden;
    background: #181818cb;
    border: 1px solid #ffffff45;
    cursor: pointer;
}
.profile-media-picker:hover, .profile-media-picker:focus-within { background: #343434; }
.profile-media-picker span { display: flex; align-items:center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 11px; }
.profile-edit-avatar .profile-media-picker { position: absolute; inset: auto -3px -3px auto; }
.profile-edit-avatar .profile-media-picker span { width: 34px; min-height: 34px; padding: 0; }
.profile-media-picker input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}
.share-feedback {
    position: fixed;
    z-index: 9;
    inset: auto 12px calc(72px + env(safe-area-inset-bottom)) auto;
    width: max-content;
    max-width: calc(100% - 24px);
    padding: 10px 13px;
    border: 1px solid var(--glass-border);
    border-radius: 9px;
    background: var(--glass-raised);
    box-shadow: var(--glass-shadow);
    overflow-wrap: anywhere;
}
@media (max-width: 760px) {
    .profile-action-row { justify-content: stretch; }
    .profile-action-row > * { flex: 1 1 auto; }
    .profile-action-row form .button { flex: 1; }
    .thread-composer .compose { padding: 8px; }
}
.settings-edit-focus .profile-edit-form { border: 0; background: none; padding: 0; }
.settings-edit-focus .profile-edit-heading {
    position: sticky;
    z-index: 4;
    top: 0;
    padding-block: 5px;
    background: var(--glass-panel);
}
@media (max-width:760px), (hover:none) and (pointer:coarse) and (max-width:1050px) {
    .settings-edit-focus .profile-edit-heading { top: 57px; }
}

.compose-focused {
    background: transparent;
    border: 0;
    min-height: min(650px, calc(100dvh - 70px));
    padding: 0;
    column-gap: 12px;
    row-gap: 0;
    grid-template-rows: auto 1fr auto;
    align-items: start;
}
.composer-header {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    border-bottom: 1px solid var(--line);
    background: var(--glass-panel);
    border-radius: 15px 15px 0 0;
}
.composer-header h1 { font-size: 1.23rem; }
.composer-header .button { min-height: 42px; padding-inline: 18px; }
.composer-header .button:disabled { opacity: .48; cursor: default; }
.composer-close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    color: var(--muted);
}
.composer-close:hover, .composer-tool:hover, .composer-media:hover { color: var(--text); background: #292929; }
.compose-focused > .avatar-frame { margin: 19px 0 0 16px; }
.compose-focused .compose-body { margin: 13px 16px 20px 0; }
.compose-focused textarea {
    width: 100%;
    min-height: clamp(106px, 22dvh, 245px);
    resize: vertical;
    padding: 7px 3px;
    font-size: clamp(1.08rem, 3vw, 1.26rem);
    line-height: 1.45;
}
.compose-focused textarea:focus { outline: 1px solid #777; }
.composer-footer {
    grid-column: 1 / -1;
    align-self: end;
    padding: 0 14px max(9px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--glass-panel);
    border-radius: 0 0 15px 15px;
}
.composer-audience { display:flex; align-items:center; gap:7px; min-height:39px; padding-inline:5px; color:var(--muted); font-size:.86rem; }
.composer-footer .compose-tools { margin-top: 0; flex-wrap: nowrap; }
.composer-footer .counter {
    --fill: 0%;
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.composer-footer .counter::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: conic-gradient(#eaeaea var(--fill), #484848 0);
    mask-image: radial-gradient(circle, transparent 53%, black 55%);
}
.composer-footer .counter[data-near-limit] { color: #ffd0ad; }
.composer-tool, .composer-media {
    display: grid;
    place-items: center;
    position: relative;
    width: 40px;
    height: 38px;
    padding: 0;
    color: #d0d0d0;
    background: #202020;
    border: 1px solid #393939;
    border-radius: 8px;
}
.composer-tool { font-size: .72rem; font-weight: 750; }
.composer-camera { position: relative; width:17px; height:12px; border:1.5px solid currentColor; border-radius:3px; }
.composer-camera::before { content:""; position:absolute; inset:2px auto auto 5px; width:5px; height:5px; border:1px solid currentColor; border-radius:50%; }
.composer-camera::after { content:""; position:absolute; inset:-4px auto auto 4px; width:7px; height:3px; border-radius:2px 2px 0 0; background:currentColor; }
.composer-remove.button { width: fit-content; margin-top: 7px; font-size: .83rem; }

.settings-directory { display:grid; gap:14px; }
.settings-search {
    display:flex;
    align-items:center;
    gap:9px;
    padding:4px 13px;
    background:var(--glass-raised);
    border:1px solid var(--glass-border);
    border-radius:23px;
    color:var(--muted);
}
.settings-search:focus-within { border-color:#888; }
.settings-search input { min-width:0; width:100%; min-height:38px; padding:0 5px; border:0; background:transparent; color:var(--text); }
.settings-search input:focus { outline:none; }
.settings-list { margin:0; padding:0; list-style:none; border:1px solid var(--glass-border); border-radius:12px; background:var(--glass-panel); }
.settings-list li:not(:last-child) { border-bottom:1px solid var(--line); }
.settings-list a { display:flex; align-items:center; gap:10px; padding:11px 13px; min-height:68px; color:var(--text); }
.settings-list li:first-child a { border-radius:12px 12px 0 0; }
.settings-list li:last-child a { border-radius:0 0 12px 12px; }
.settings-list a:hover { background:#ffffff08; }
.settings-row-icon { display:grid; place-items:center; flex:none; width:34px; height:34px; border:1px solid #404040; border-radius:9px; background:var(--glass-raised); }
.settings-row-copy { display:grid; gap:2px; flex:1; min-width:0; overflow-wrap:anywhere; }
.settings-row-copy small, .settings-handle { font-size:.81rem; }
.settings-row-caret { flex:none; width:6px; height:6px; border-top:1px solid #888; border-right:1px solid #888; transform:rotate(45deg); margin-right:4px; }
.settings-nav > span { align-self:center; color:var(--muted); }
:is(#settings-privacy,#settings-appearance,#settings-social) { scroll-margin-top:90px; }

@media (max-width:760px), (hover:none) and (pointer:coarse) and (max-width:1050px) {
    .composer-layout { padding:0; }
    .composer-layout .rail, .composer-layout .rail:has(.account), .composer-layout ~ .mobile-nav { display:none; }
    .composer-layout .composer-stream { min-height: var(--composer-viewport, 100dvh); }
    .compose-focused { min-height: var(--composer-viewport, 100dvh); }
    .composer-header, .composer-footer { border-radius:0; }
    .compose-focused textarea { min-height: clamp(75px, 22dvh, 150px); }
}
@media (max-width:370px) {
    .settings-directory { padding:12px; }
    .settings-list a { gap:8px; padding-inline:10px; }
    .settings-handle { display:none; }
}

.guest-home {
    width:min(100%,1180px);
    margin-inline:auto;
    padding-inline:max(18px,env(safe-area-inset-left)) max(18px,env(safe-area-inset-right));
}
.guest-header,.guest-footer {
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:12px;
}
.guest-header { position:relative; min-height:76px; }
.guest-header[data-season] { padding-top:14px; }
.guest-header .season-strip { inset-block-start:0; height:15px; }
.guest-header .season-piece { scale:.79; }
.guest-header .brand { padding-inline:0; }
.guest-header nav,.guest-footer nav,.guest-actions { display:flex; align-items:center; flex-wrap:wrap; gap:9px; }
.guest-header nav > .guest-nav-explore { padding:10px 8px; color:var(--muted); }
.guest-header .button,.guest-actions .button,.guest-join .button { min-height:44px; }
.guest-hero {
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);
    align-items:center;
    gap:clamp(20px,4vw,56px);
    padding:clamp(22px,5vw,62px);
    border:1px solid var(--glass-border);
    border-radius:22px;
    background:radial-gradient(ellipse at 95% 0,#ffffff0e,transparent 54%),var(--glass-panel);
    box-shadow:var(--glass-edge),var(--glass-shadow);
}
.guest-hero-copy { min-width:0; }
.guest-kicker { display:flex; align-items:center; gap:7px; color:var(--text); font-size:.83rem; font-weight:650; }
.guest-kicker .icon { width:13px; color:var(--muted); }
.guest-hero h1 { margin:16px 0 12px; font-size:clamp(2.25rem,4.7vw,3.7rem); line-height:1.02; letter-spacing:-.06em; }
.guest-hero h1 span { color:#c5c5c5; }
.guest-hero-copy > p { max-width:39ch; color:var(--muted); font-size:1rem; }
.guest-actions { margin-top:22px; }
.guest-actions .button { padding-inline:14px; }
.guest-hero-copy > .guest-invite-help { margin-top:12px; color:var(--muted); font-size:.84rem; }
.guest-invite-help a { color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
.guest-art {
    display:grid;
    place-items:center;
    min-width:0;
    position:relative;
    isolation:isolate;
    aspect-ratio:1.3;
    overflow:hidden;
    border:1px solid var(--glass-border);
    border-radius:16px;
    background:
        radial-gradient(circle at 50% 48%,#ffffff1a,transparent 67%),
        var(--glass-panel);
}
.guest-art::before {
    content:"";
    position:absolute;
    z-index:-1;
    inset:0;
    background:radial-gradient(#ffffff31 1px,transparent 1px) 0 0/17px 17px;
    mask-image:radial-gradient(ellipse,#000 26%,transparent 78%);
}
.guest-orbit,.guest-orbit::before,.guest-orbit::after {
    position:absolute;
    z-index:-1;
    border:1px solid #ffffff23;
    border-radius:50%;
    pointer-events:none;
}
.guest-orbit { width:66%; aspect-ratio:1; }
.guest-orbit::before { content:""; inset:11%; }
.guest-orbit::after { content:""; inset:-11%; border-style:dashed; }
.guest-art-mark {
    width:min(84%,360px);
    height:auto;
    filter:grayscale(1) drop-shadow(0 10px 20px #0009);
}
.guest-art-mark.guest-art-custom {
    width:min(64%,200px);
    max-height:72%;
    aspect-ratio:1;
    object-fit:contain;
}
@media (prefers-reduced-motion:no-preference) {
    [data-motion="on"] .guest-art-mark { animation:guest-mark-arrive .65s ease-out both; }
    @keyframes guest-mark-arrive { from { opacity:0; transform:translateY(9px); } to { opacity:1; transform:translateY(0); } }
}
.guest-features { margin-block:clamp(28px,5vw,58px); scroll-margin-top:18px; }
.guest-features h2,.guest-join h2 { font-size:clamp(1.3rem,2.7vw,2rem); letter-spacing:-.035em; }
.guest-feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:14px; }
.guest-feature,.guest-join {
    padding:20px;
    border:1px solid var(--glass-border);
    border-radius:15px;
    background:var(--glass-panel);
    box-shadow:var(--glass-edge);
}
.guest-feature-icon {
    display:inline-grid;
    place-items:center;
    width:39px;
    height:39px;
    flex:none;
    border:1px solid var(--glass-border);
    border-radius:10px;
    background:var(--glass-raised);
    color:var(--text);
}
.guest-feature h3 { margin-top:10px; }
.guest-feature p,.guest-join p { margin-top:4px; color:var(--muted); font-size:.91rem; }
.guest-join { display:flex; align-items:center; flex-wrap:wrap; gap:14px; }
.guest-join h2 { font-size:1.28rem; }
.guest-join .button { margin-inline-start:auto; }
.guest-footer { min-height:76px; margin-top:22px; padding-block:13px max(13px,env(safe-area-inset-bottom)); border-top:1px solid var(--line); color:var(--muted); font-size:.82rem; }
.guest-footer nav a { display:inline-flex; align-items:center; min-height:44px; padding-inline:5px; }
.guest-home :is(.guest-nav-explore,.guest-footer a):hover { color:var(--text); text-decoration:underline; text-underline-offset:4px; }
@media (max-width:730px) {
    .guest-header { min-height:64px; }
    .guest-hero { grid-template-columns:minmax(0,1fr); gap:20px; border-radius:16px; }
    .guest-hero h1 { font-size:clamp(2.12rem,8vw,3.55rem); }
    .guest-art { aspect-ratio:1.9; }
    .guest-art-mark { width:min(76%,280px); max-height:90%; object-fit:contain; }
    .guest-feature-grid { grid-template-columns:minmax(0,1fr); gap:8px; }
    .guest-feature { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:3px 11px; padding:13px; }
    .guest-feature .guest-feature-icon { grid-row:span 2; }
    .guest-feature h3,.guest-feature p { margin:0; }
}
@media (max-width:470px) {
    .guest-home { padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right)); }
    .guest-header nav > .guest-nav-explore { display:none; }
    .guest-header nav,.guest-actions { gap:5px; }
    .guest-header .button { padding-inline:8px; font-size:.81rem; }
    .guest-join { display:grid; grid-template-columns:auto minmax(0,1fr); }
    .guest-join .button { grid-column:1/-1; margin:0; }
}

.brand-icon-only { min-width:44px; min-height:44px; padding:0; justify-content:center; border-radius:8px; }
.brand-icon-only .brand-mark.has-logo {
    width:44px;
    height:44px;
    background:none;
    border:0;
    box-shadow:none;
}
.brand-icon-only img { max-width:none; max-height:none; }
.brand-icon-only:hover img { filter:brightness(1.15); }

.messages-stream { min-width:0; }
.inbox-heading,.inbox-tools { padding:16px; border-bottom:1px solid var(--line); }
.inbox-heading { display:flex; align-items:center; gap:12px; }
.inbox-heading .chat-add { margin-inline-start:auto; }
.inbox-heading h1 { font-size:1.45rem; }
.chat-symbol {
    display:grid; place-items:center; flex:none; width:42px; height:42px;
    border:1px solid var(--glass-border); border-radius:14px; background:var(--glass-raised); color:var(--text);
}
.chat-add > summary { min-height:44px; white-space:nowrap; }
.chat-add { flex:none; position:relative; }
.chat-add > summary { list-style:none; cursor:pointer; }
.chat-add[open] > summary { background:#303030; }
.chat-add-form {
    position:absolute; z-index:4; margin:6px 0 0; padding:13px; border:1px solid var(--glass-border);
    border-radius:12px; background:var(--glass-raised); box-shadow:0 10px 28px #000a;
}
.chat-add-form { inset-inline-end:0; width:min(318px,calc(100vw - 26px)); text-align:start; }
.chat-add-form p { color:var(--muted); font-size:.82rem; }
.chat-add-form .button { justify-self:start; min-height:44px; }
.chat-inbox { list-style:none; margin:0; padding:0; }
.chat-inbox > li { border-bottom:1px solid var(--line); }
.conversation-link {
    display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:12px;
    min-height:75px; padding:11px 16px;
}
.conversation-link:hover,.conversation-link:focus-visible { background:var(--glass-raised); }
.conversation-link:focus-visible { outline-offset:-2px; }
.conversation-link.chat-unread { background:#ffffff06; }
.chat-inbox-copy { min-width:0; display:grid; gap:3px; }
.chat-inbox-name { display:flex; flex-wrap:wrap; align-items:center; gap:4px; overflow-wrap:anywhere; }
.chat-inbox-copy small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.chat-inbox-meta { display:grid; justify-items:end; gap:4px; color:var(--muted); font-size:.76rem; }
.chat-unread-count {
    min-width:20px; padding:1px 5px; border-radius:12px; text-align:center; background:var(--action);
    color:var(--action-text); font-weight:700;
}
.chat-view { display:flex; flex-direction:column; height:clamp(405px,calc(100dvh - 52px),850px); }
.conversation-head {
    position:relative; display:grid; grid-template-columns:auto auto minmax(0,1fr) auto;
    align-items:center; gap:9px; padding:10px 14px;
    border-bottom:1px solid var(--line); background:var(--glass-panel);
}
.chat-back { min-width:44px; min-height:44px; }
.chat-log { display:flex; flex-direction:column; flex:1; min-height:110px; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.chat-log > .pager { flex:none; }
.chat-log .chat-empty { margin-block:auto; }
.chat-log:focus-visible { outline-offset:-2px; }
.chat-empty { display:grid; justify-items:center; gap:5px; text-align:center; padding:32px 12px; }
.chat-empty .chat-symbol { margin-bottom:4px; }
.chat-empty p,.chat-paused { color:var(--muted); font-size:.88rem; }
.chat-paused { padding:15px; border-top:1px solid var(--line); }
.message-thread { flex:none; margin:auto 0 0; padding:9px 15px 17px; display:grid; gap:9px; list-style:none; }
.message-thread:not(:has(li)) { display:none; }
.chat-day { color:var(--muted); text-align:center; margin-block:7px; font-size:.75rem; }
.chat-day time { padding:4px 10px; border:1px solid var(--line); border-radius:50px; background:var(--panel); }
.message-line {
    --message-indent:36px; position:relative; display:flex; align-items:flex-end; padding-inline-start:var(--message-indent);
}
.message-line > .avatar-frame { position:absolute; inset:auto auto 0 0; }
.message-line.clustered { margin-top:-5px; }
.message-line.outgoing { justify-content:flex-end; padding-inline-start:0; }
.message-item {
    min-width:0; max-width:min(88%,480px); padding:8px 12px; border:1px solid var(--line);
    background:var(--glass-raised); border-radius:15px 15px 15px 4px; overflow-wrap:anywhere;
}
.message-line.outgoing .message-item { border-color:#4b4b4b; background:linear-gradient(145deg,#3b3b3b,#2d2d2d); border-radius:15px 15px 4px 15px; }
.message-item time { display:block; text-align:end; color:#bcbcbc; margin-top:3px; font-size:.7rem; }
.chat-sender { font-size:.79rem; }
.message-compose {
    display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:end;
    padding:11px 13px; border-top:1px solid var(--line); background:var(--glass-panel);
}
.message-compose textarea { min-height:44px; max-height:125px; padding:10px 13px; border-radius:18px; resize:vertical; field-sizing:content; }
.message-compose .button { min-height:44px; border-radius:18px; padding-inline:13px; }
@media (max-width:760px), (hover:none) and (pointer:coarse) and (max-width:1050px) {
    .chat-view { height:clamp(390px,calc(100dvh - 119px - env(safe-area-inset-bottom)),850px); }
    .conversation-head { padding:7px 10px; gap:7px; }
    .chat-back { min-width:37px; }
    .inbox-heading,.inbox-tools { padding:12px; }
    .conversation-link { padding-inline:12px; gap:9px; }
    .message-thread { padding-inline:11px; }
}

.inbox-heading { justify-content:space-between; }
.inbox-actions,.chat-detail-actions { display:flex; gap:8px; align-items:center; }
.chat-detail-actions { flex-wrap:wrap; justify-content:center; }
.inbox-tools { display:grid; gap:10px; }
.chat-search {
    display:flex; gap:5px; align-items:center; min-width:0;
    padding:2px 4px 2px 10px; border:1px solid var(--glass-border); border-radius:28px;
    background:var(--glass-panel);
}
.chat-search input { min-width:0; width:100%; border:0; background:transparent; }
.chat-search input:focus { border:0; outline-offset:-2px; }
.chat-round,.chat-search .chat-round {
    display:grid; place-items:center; flex:none; width:44px; height:44px;
    padding:0; border:1px solid var(--glass-border); border-radius:50%;
    background:var(--glass-raised); color:var(--text);
}
.chat-round:hover,.chat-search .chat-round:hover { background:#333; }
.chat-round .icon { margin:0; }
.inbox-filter { display:flex; gap:6px; }
.inbox-filter a {
    display:inline-flex; align-items:center; min-height:41px; padding-inline:14px;
    border:1px solid var(--line); border-radius:22px; font-size:.86rem; color:var(--muted);
}
.inbox-filter a[aria-current] { background:var(--glass-raised); color:var(--text); border-color:#555; }
.conversation-link { min-height:70px; }
.chat-new-panel,.chat-menu { position:relative; flex:none; }
:is(.chat-add,.chat-new-panel,.chat-menu) > summary { cursor:pointer; list-style:none; }
:is(.chat-add,.chat-new-panel,.chat-menu) > summary::-webkit-details-marker { display:none; }
.chat-new-panel .chat-add-form { inset-inline-end:-52px; }
.conversation-head { grid-template-columns:44px minmax(0,1fr) 44px; }
.chat-identity {
    justify-self:center; display:flex; align-items:center; gap:9px; min-width:0; max-width:100%;
    padding:4px 9px; border-radius:15px;
}
.chat-identity:hover { background:#ffffff08; }
.chat-identity-copy { min-width:0; display:grid; }
.chat-identity-copy :is(strong,small) { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.chat-identity-copy small { font-size:.78rem; }
.chat-identity .chat-symbol { width:36px; height:36px; border-radius:50%; }
.chat-identity .avatar { width:36px; height:36px; }
.chat-options {
    position:absolute; z-index:4; inset-inline-end:0; min-width:184px; margin-top:6px; padding:5px;
    border:1px solid var(--glass-border); border-radius:14px; background:var(--glass-raised); box-shadow:0 10px 28px #000a;
}
.chat-options a { display:flex; gap:9px; align-items:center; min-height:44px; padding-inline:9px; border-radius:8px; font-size:.88rem; }
.chat-options a:hover,.chat-options a:focus-visible { background:#ffffff0c; }
.chat-history-search { margin:9px 12px 0; }
.chat-history-search .button { min-height:44px; border-radius:30px; }
.message-item { border-radius:18px 18px 18px 6px; }
.message-line.outgoing .message-item { border-radius:18px 18px 6px 18px; }
.message-item a { text-decoration:underline; text-underline-offset:2px; }
.message-compose :is(textarea,.button) { border-radius:24px; }
.chat-details { padding:12px 16px 25px; }
.chat-details-bar { display:flex; align-items:center; gap:12px; }
.chat-details-bar h1 { font-size:1.22rem; }
.chat-details-identity { display:grid; justify-items:center; gap:5px; text-align:center; margin:25px auto 17px; overflow-wrap:anywhere; }
.chat-details-identity .chat-symbol { width:84px; height:84px; border-radius:50%; }
.chat-details-identity .chat-symbol .icon { width:30px; height:30px; }
.chat-details-identity h2 { font-size:1.3rem; }
.chat-details-identity p { color:var(--muted); font-size:.88rem; }
.chat-detail-actions > .button { min-height:44px; }
.chat-members { max-width:450px; margin:22px auto 0; border:1px solid var(--glass-border); border-radius:14px; background:var(--glass-panel); }
.chat-members h3 { padding:11px 14px; }
.chat-members ul { list-style:none; margin:0; padding:0; }
.chat-members li { border-top:1px solid var(--line); }
.chat-members a { display:flex; align-items:center; gap:10px; padding:9px 14px; overflow-wrap:anywhere; }
.chat-members a:hover { background:#ffffff08; }
.chat-members small { display:block; }
@media (max-width:470px) {
    .chat-details { padding-inline:12px; }
    .chat-detail-actions { gap:5px; }
    .chat-detail-actions .button { padding-inline:7px; font-size:.82rem; }
    .chat-detail-actions .chat-add { position:static; }
    .chat-detail-actions .chat-add-form { inset-inline-end:12px; }
    .chat-details { position:relative; }
}

.compose button[data-composer-submit] { gap:7px; }
.post-spinner {
    display:inline-block; flex:none; width:1em; height:1em;
    border:2px solid currentColor; border-inline-end-color:transparent; border-radius:50%;
}
@media (prefers-reduced-motion:no-preference) {
    .post-spinner { animation:post-upload-spin .75s linear infinite; }
}
@keyframes post-upload-spin { to { transform:rotate(1turn); } }

.image-viewer {
    display:grid;
    grid-template-rows:auto auto minmax(180px,1fr) auto;
    min-height:100dvh;
    color:var(--text);
    background:#080808;
}
.image-viewer-bar {
    position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between;
    padding:calc(12px + env(safe-area-inset-top)) max(15px,env(safe-area-inset-right)) 8px max(15px,env(safe-area-inset-left));
}
.image-viewer :is(.image-viewer-icon,.image-viewer-menu summary) {
    display:grid; place-items:center; width:44px; height:44px; padding:0;
    border:1px solid #3a3a3a; border-radius:50%; background:#212121; list-style:none; cursor:pointer;
}
.image-viewer-icon .icon { margin:0; width:17px; height:17px; }
.image-viewer-menu summary::-webkit-details-marker { display:none; }
.image-viewer-menu { position:relative; }
.image-viewer-menu > div {
    position:absolute; inset-inline-end:0; min-width:170px; margin-top:7px; padding:5px; border:1px solid #393939;
    border-radius:12px; background:var(--glass-raised); box-shadow:var(--glass-shadow);
}
.image-viewer-menu a {
    display:flex; align-items:center; gap:8px; padding:8px; min-height:44px; border-radius:7px; white-space:nowrap;
}
.image-viewer-menu a:hover { background:#ffffff0d; }
.image-viewer-stage {
    grid-row:3; display:grid; place-items:center; min-width:0; min-height:0; overflow:hidden; margin:0;
}
.image-viewer-stage img { display:block; width:100%; height:100%; max-width:min(1100px,100vw); max-height:68dvh; object-fit:contain; }
.image-viewer-footer {
    grid-row:4; width:min(100%,720px); margin-inline:auto; padding:12px max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));
    border-top:1px solid var(--line);
}
.image-viewer-context,.image-viewer-author { display:flex; align-items:center; gap:9px; min-width:0; }
.image-viewer-author strong,.image-viewer-author small { display:block; overflow-wrap:anywhere; }
.image-viewer-caption { margin:9px 0; max-height:20dvh; overflow:auto; overflow-wrap:anywhere; }
.image-viewer .reactions { flex-wrap:wrap; gap:4px; margin-top:8px; align-items:center; }
.image-viewer .reactions > form { gap:4px; flex-wrap:wrap; }
.image-viewer .reactions :is(a,button) {
    min-width:40px; min-height:42px; padding-inline:8px; border:1px solid #303030; border-radius:22px;
    background:#191919; color:var(--muted);
}
.image-viewer .reactions :is(a,button):hover,.image-viewer .reactions button[aria-pressed="true"] { background:#292929; color:var(--text); }
.image-viewer-reply {
    display:flex; align-items:center; gap:8px; min-height:44px; margin-top:10px; padding-inline:13px;
    border:1px solid #343434; border-radius:24px; color:var(--muted); background:#171717;
}
.image-viewer-reply:hover { color:var(--text); background:#242424; }
@media (min-height:460px) {
    .image-viewer { height:100dvh; }
}

.compose:not(.compose-focused) > .avatar-frame {
    grid-column:1;
    grid-row:1;
    align-self:start;
}
.compose:not(.compose-focused) > .compose-body { grid-column:2; grid-row:1; }
.compose:not(.compose-focused) > .compose-tools { grid-column:2; grid-row:2; min-width:0; margin-top:0; }

.thread-replies { min-width:0; }
.thread-replies-heading {
    display:flex; align-items:center; gap:9px; padding:12px 16px;
    border-bottom:1px solid var(--line); background:var(--glass-panel);
}
.thread-replies-heading h2 { font-size:1.02rem; }
.thread-reply-count {
    padding:2px 7px; border:1px solid var(--line); border-radius:20px;
    color:var(--muted); font-size:.72rem; font-variant-numeric:tabular-nums;
}
.thread-no-replies { color:var(--muted); padding:12px 16px 0; font-size:.9rem; }
.thread-reply-list > .post { padding:12px 16px; gap:10px; }
.thread-reply-list > .post > a .avatar { width:35px; height:35px; }
.thread-reply-list .post-text { margin-block:5px; }
.thread-reply-list .reactions { margin-top:4px; flex-wrap:wrap; }
.thread-reply-list .reactions > form { flex-wrap:wrap; }
.thread-composer { padding:12px 14px 15px; }
.thread-composer .compose { column-gap:10px; row-gap:8px; }
.thread-composer .compose > .avatar-frame .avatar { width:36px; height:36px; }
.thread-composer .compose-body textarea {
    display:block; width:100%; min-width:0; min-height:58px; max-height:155px; padding:9px 11px;
    border:1px solid #3d3d3d; border-radius:11px; background:#161616;
    field-sizing:content; scroll-margin-top:84px;
}
.thread-composer .compose-body textarea:focus { border-color:#777; }
.thread-composer .compose-body textarea:focus-visible { outline:1px solid #aaa; outline-offset:1px; }
.thread-composer .compose-tools { border-top:0; padding-top:0; gap:7px; }
.thread-composer .file-button { min-height:40px; border-radius:20px; }
.thread-composer .composer-remove { margin-top:7px; }
@media (max-width:470px) {
    .thread-replies-heading,.thread-no-replies,.thread-reply-list > .post { padding-inline:12px; }
    .thread-composer { padding:10px 10px 14px; }
    .thread-composer .compose:not(.compose-focused) > .compose-tools { grid-column:1/-1; }
    .thread-composer .file-button { justify-content:center; width:40px; padding:0; }
    .thread-composer .file-button span {
        position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%);
    }
}

.role-artwork { display:inline-block; vertical-align:middle; flex:none; height:1.25rem; max-width:6.5rem; object-fit:contain; }
.role-artwork-control {
    display:flex; align-items:center; gap:9px 14px; flex-wrap:wrap;
    margin-top:12px; padding-top:11px; border-top:1px solid var(--line);
}
.role-artwork-control > label:first-child { flex:1 1 min(100%,250px); min-width:0; }
.role-artwork-control .role-artwork { height:1.6rem; max-width:8rem; }
.role-artwork-control input[type=file] { width:100%; }
.role-editor-preview .role-artwork { height:1.6rem; max-width:8rem; }
.role-editor-preview [data-role-image-disabled] { opacity:.5; }

.wallet-stack { display:grid; gap:10px; }
.wallet-card { padding:13px; border:1px solid var(--glass-border); border-radius:12px; background:var(--glass-panel); }
.wallet-card .button { min-height:42px; justify-self:start; }
.wallet-history { list-style:none; padding:0; margin:5px 0 0; }
.wallet-history li { display:flex; justify-content:space-between; gap:9px; padding:7px 0; overflow-wrap:anywhere; }
.wallet-history li + li { border-top:1px solid var(--line); }
.shop-award { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:10px; }
.shop-award p { color:var(--muted); overflow-wrap:anywhere; }
.shop-owned { color:var(--muted); font-size:.85rem; }
.shop-listing { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; align-items:end; gap:9px; }
.shop-listing label input { width:100%; min-width:0; }
@media (max-width:520px) {
    .shop-listing { grid-template-columns:minmax(0,1fr) auto; }
    .shop-listing > div { grid-column:1/-1; }
}

.chat-live-content { flex:1; display:flex; flex-direction:column; min-width:0; }
