:root {
  color-scheme: dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #ededed;
  background: #0c1017;
  font-synthesis: none;
  --muted: #9aa5b5;
  --border: #29313d;
  --accent: #21aabd;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 13px; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; color: inherit; background: none; padding: 9px 13px; border-radius: 4px; }
button:disabled { cursor: default; opacity: .45; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid #bdbdbd; outline-offset: 4px; }
input:focus, textarea:focus { outline: none; border-color: #8c8c8c; }
button, a { transition: color 120ms, background-color 120ms, border-color 120ms; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 34px; letter-spacing: -1.3px; font-weight: 600; margin-bottom: 12px; }
h2 { font-size: 16px; letter-spacing: -.3px; font-weight: 550; }
h3 { font-size: 13px; font-weight: 550; }
p { line-height: 1.65; }
.muted { color: var(--muted); font-size: 12px; margin: 5px 0; }
.primary { background: var(--accent); color: #111; font-weight: 600; padding: 12px 18px; }
.primary:hover { background: #fff; }
.secondary { background: #141414; border: 1px solid #303030; }
.secondary:hover { background: #202020; }
.compact { padding: 7px 14px; font-size: 11px; border-radius: 3px; }
.muted-button { color: var(--muted); padding: 7px 0; }
.muted-button:hover, .text-link:hover { color: #fff; }
.text-link { color: #bbb; padding: 0; font-size: 12px; border-radius: 0; }
label { display: block; color: #aaa; font-size: 12px; margin-bottom: 8px; }
input, textarea, select { width: 100%; border: 1px solid #2c2c2c; border-radius: 4px; padding: 11px 12px; color: #ededed; background: #0b0b0b; }
input::placeholder, textarea::placeholder { color: #888; }
textarea { resize: vertical; }
form > label:not(:first-child) { margin-top: 20px; }
form > .primary { margin-top: 18px; width: 100%; }
form small { display: block; color: var(--muted); font-size: 11px; margin: 9px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.shell { max-width: 1680px; min-height: 100svh; margin: auto; display: grid; grid-template-columns: 190px minmax(0,1fr) 290px; }
.sidebar { position: sticky; top: 0; height: 100svh; border-right: 1px solid var(--border); background: #050505; padding: 24px 16px 18px; display: flex; flex-direction: column; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -.6px; }
nav { display: grid; gap: 4px; margin-top: 54px; }
.nav { display: flex; align-items: center; gap: 11px; text-align: left; color: #888; border-radius: 3px; padding: 10px 11px; font-size: 12px; }
.nav .icon { width: 15px; height: 15px; }
.nav:hover { color: #eee; background: #111; }
.nav.active { color: #eee; background: #1b1b1b; }
.sidebar-note { display: grid; gap: 14px; margin: 36px 11px; }
.sidebar-note > span { color: #555; font-size: 11px; }
.sidebar-note button { text-align: left; }
.sidebar-bottom { margin-top: auto; display: grid; gap: 13px; }
.language-picker { display: flex; align-items: center; gap: 9px; width: fit-content; position: relative; }
.language-flag { width: 19px; height: 14px; object-fit: cover; border-radius: 2px; }
.language-picker select { padding: 7px 21px 7px 0; width: auto; border: 0; background: transparent; color: #999; font-size: 11px; appearance: none; cursor: pointer; }
.language-picker .icon { position: absolute; right: 0; pointer-events: none; width: 12px; height: 12px; color: #888; }
.account-button { display: flex; gap: 9px; align-items: center; text-align: left; padding: 16px 0 0; border-top: 1px solid var(--border); border-radius: 0; font-size: 12px; overflow: hidden; overflow-wrap: anywhere; }
.sidebar-bottom #logout { text-align: left; font-size: 11px; }
main { min-width: 0; padding: 0 50px 45px; }
.topbar { height: 53px; border-bottom: 1px solid var(--border); margin: 0 -50px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 11px; color: #999; }
.breadcrumb { display: flex; align-items: center; gap: 12px; }
.breadcrumb-slash { color: #444; }
#draft-label { color: #888; margin-left: 10px; }
.page { padding-top: 46px; max-width: 900px; margin: auto; }
.home-heading { padding: 0 0 30px; margin: 0 64px 30px; border-bottom: 1px solid var(--border); }
.eyebrow { margin-bottom: 14px; font-size: 9px; color: #888; letter-spacing: 1.4px; }
.home-heading h1 { font-size: 40px; line-height: 1.15; max-width: 620px; letter-spacing: -1.5px; margin-bottom: 16px; }
.home-intro { color: #aaa; font-size: 12px; margin: 0; }
.gallery { display: grid; grid-template-columns: minmax(0,1fr) 112px; gap: 12px; }
.gallery-main { width: 100%; aspect-ratio: 1.74; padding: 0; background: #101010; border: 1px solid #252525; border-radius: 6px; overflow: hidden; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-main > .icon { position: absolute; right: 14px; bottom: 14px; color: #fff; padding: 7px; box-sizing: content-box; background: #0009; border-radius: 4px; opacity: 0; }
.gallery-main:hover > .icon, .gallery-main:focus-visible > .icon { opacity: 1; }
.thumbnails { display: flex; flex-direction: column; gap: 10px; }
.thumb { width: 100%; aspect-ratio: 1.74; padding: 0; border: 1px solid #292929; background: #101010; border-radius: 3px; overflow: hidden; }
.thumb.active { border: 2px solid #eee; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reference-scene, .reference-thumb { background-image: url('/assets/gallery-reference.webp'); background-repeat: no-repeat; background-size: 305% 397%; background-position: 39% 54%; }
.reference-scene { width: 100%; height: 100%; }
.reference-1 { background-size: 1304% 1726%; background-position: 64.77% 42.5%; }
.reference-2 { background-size: 1304% 1765%; background-position: 64.77% 56.3%; }
.add-thumb { border: 1px dashed #383838; font-size: 23px; color: #888; }
.gallery-caption { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-right: 124px; }
.gallery-caption strong { font-size: 12px; font-weight: 500; }
.gallery-caption .muted { margin-left: 10px; font-size: 11px; }
.image-counter { color: #888; font-size: 10px; font-variant-numeric: tabular-nums; }
.hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.hero-actions button { font-size: 12px; }
.home-intro { max-width: 540px; line-height: 1.7; font-size: 14px; color: #b3b3b3; }
.landing-status { margin-top: 20px; display: grid; gap: 7px; font-size: 12px; line-height: 1.6; }
.landing-status strong { font-weight: 500; color: #ccc; }
.landing-status span { color: #888; }
.home-heading .hero-actions { gap: 20px; margin-top: 20px; }
.home-heading .text-link { color: #999; font-size: 11px; }
.home-section { margin: 32px 64px 0; padding-top: 25px; border-top: 1px solid var(--border); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-heading h2 { margin: 0; font-size: 13px; }
.section-heading .text-link { font-size: 11px; color: #888; }
.server-row { display: flex; align-items: center; gap: 20px; width: 100%; text-align: left; padding: 0; }
.server-row strong { font-size: 15px; font-weight: 550; }
.server-row p { margin: 7px 0 0; font-size: 11px; color: #888; }
.server-version { font-size: 11px; color: #888; margin-left: auto; white-space: nowrap; }
.status-badge { display: inline-flex; align-items: center; padding: 5px 8px; font-size: 10px; font-weight: 450; white-space: nowrap; color: #aaa; border: 1px solid #303030; border-radius: 3px; line-height: 1.3; }
.news-list { display: grid; }
.news-preview { display: flex; gap: 20px; align-items: center; text-align: left; border-radius: 0; padding: 13px 0; border-bottom: 1px solid #1a1a1a; }
.news-preview:last-child { border: 0; }
.news-preview time { color: #888; font-size: 11px; min-width: 48px; }
.news-preview strong { font-size: 12px; font-weight: 450; color: #bbb; }
.news-preview:hover strong { color: #fff; }
.site-footer { display: flex; align-items: center; gap: 20px; padding-top: 25px; margin: 34px 64px 0; border-top: 1px solid var(--border); color: #555; font-size: 10px; }
.site-footer > span { margin-right: auto; }
.site-footer .text-link { font-size: 10px; color: #888; }
.page-intro { color: #999; max-width: 560px; font-size: 12px; line-height: 1.7; }
.server-cover { aspect-ratio: 1.95; height: auto; border-radius: 5px; overflow: hidden; margin: 28px 0; }
.server-description h2 { font-size: 28px; letter-spacing: -.8px; margin-bottom: 14px; }
.server-description > p { color: #999; max-width: 580px; font-size: 13px; }
.server-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.server-tags span { border: 1px solid #262626; border-radius: 3px; font-size: 10px; color: #888; padding: 5px 9px; }
.server-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 22px 0; margin: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); gap: 16px; }
.server-facts dt { color: #888; font-size: 10px; margin-bottom: 8px; }
.server-facts dd { margin: 0; font-size: 12px; line-height: 1.65; color: #bdbdbd; }
.feature-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; }
.feature-list h3 { font-size: 14px; margin-bottom: 9px; }
.feature-list p { font-size: 12px; color: #888; }
.start-steps { margin-top: 35px; }
.start-steps article { display: flex; gap: 25px; padding: 27px 0; border-top: 1px solid var(--border); }
.step-number { color: #555; font: 13px ui-monospace,monospace; margin-top: 2px; }
.start-steps h2 { font-size: 18px; margin: 0 0 12px; }
.start-steps p { color: #999; font-size: 12px; max-width: 500px; }
.start-steps button { font-size: 11px; margin-top: 5px; }
.release-note { border-left: 2px solid #555; padding: 0 0 0 18px; margin: 30px 0; }
.release-note p { font-size: 12px; color: #999; max-width: 590px; margin: 12px 0 0; }
.release-note .text-link { display: block; margin-top: 17px; }
.download-list { margin-top: 32px; }
.download-row { border-top: 1px solid var(--border); padding: 24px 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 15px 20px; }
.download-row h2 { margin: 0 0 9px; font-size: 17px; }
.download-row a { font-size: 11px; border-radius: 4px; }
.download-row .muted { font-size: 11px; }
.download-status { padding-right: 10px; }
.download-hash { grid-column: 1/-1; color: #888; font-size: 10px; }
.download-hash summary { cursor: pointer; }
.download-hash code { display: block; padding: 12px 0; overflow-wrap: anywhere; line-height: 1.8; }
.download-footnote { border-top: 1px solid var(--border); padding-top: 23px; margin-top: 12px; }
.download-footnote p { color: #737373; font-size: 11px; max-width: 560px; }
.download-footnote button { font-size: 11px; }
.project-news { margin-top: 40px; }
.news-article { border-top: 1px solid var(--border); padding: 28px 0; }
.news-article time { color: #888; font-size: 11px; }
.news-article h2 { font-size: 24px; letter-spacing: -.6px; margin: 18px 0 16px; }
.news-article p { max-width: 620px; font-size: 13px; color: #999; }
.project-panel { position: sticky; top: 0; height: 100svh; background: #080808; border-left: 1px solid var(--border); padding: 83px 22px 24px; display: flex; flex-direction: column; min-width: 0; }
.project-panel h2 { display: flex; gap: 11px; align-items: center; border-bottom: 1px solid var(--border); padding-bottom: 26px; margin-bottom: 25px; }
.monitor { padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.monitor-heading { display: flex; align-items: center; justify-content: space-between; }
.monitor-heading strong { font-size: 15px; font-weight: 550; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #666; }
.monitor-version { color: #888; font-size: 11px; margin: 10px 0 20px; }
.monitor-note { color: #888; font-size: 11px; margin: 15px 0 18px; }
.monitor button { width: 100%; font-size: 11px; }
.panel-links { display: grid; gap: 20px; padding: 26px 0; }
.panel-links button { text-align: left; color: #999; font-size: 12px; }
.panel-community { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--border); }
.panel-community h3 { margin-bottom: 12px; }
.panel-community p { font-size: 11px; color: #888; }
.panel-community button { width: 100%; font-size: 11px; margin-top: 4px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.posts { display: grid; gap: 32px; }
.post { border-bottom: 1px solid var(--border); padding-bottom: 24px; }
.post-header { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: #888; margin-bottom: 15px; }
.post h3 { font-size: 21px; margin: 18px 0 10px; letter-spacing: -.5px; }
.post p { color: #aaa; white-space: pre-wrap; overflow-wrap: anywhere; }
.post-image { width: 100%; max-height: 500px; display: block; object-fit: cover; border-radius: 5px; }
.post-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.post-actions button { font-size: 11px; }
.empty { color: #888; font-size: 12px; padding: 26px 0; }
.project-editor { max-width: 750px; margin: auto; }
.back-link { font-size: 10px; margin: 0 64px 18px; text-transform: uppercase; }
.project-title { padding: 0; border: 0; background: none; font-size: 38px; height: 56px; font-weight: 600; letter-spacing: -1.4px; }
.project-title::placeholder { color: #888; }
.project-subtitle { color: #999; padding-bottom: 27px; border-bottom: 1px solid var(--border); margin: 0 0 30px; font-size: 12px; }
.description-editor { margin: 26px 64px 0; }
.description-editor textarea { min-height: 125px; }
.upload-label { cursor: pointer; margin: 15px 64px; font-size: 11px; }
.chat-panel { position: sticky; top: 0; height: 100svh; background: #080808; border-left: 1px solid var(--border); padding: 83px 22px 22px; display: flex; flex-direction: column; min-width: 0; }
.chat-panel h2 { display: flex; align-items: center; gap: 11px; padding-bottom: 26px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.chat-panel h3 { margin-bottom: 10px; }
.chat-list { flex: 1; overflow: auto; scrollbar-width: thin; padding-top: 5px; }
.chat-list > .empty { color: #555; }
.chat-message { padding: 13px 0; overflow-wrap: anywhere; }
.chat-message strong { font-size: 11px; font-weight: 600; }
.chat-message time { font-size: 10px; margin-left: 6px; color: #626262; }
.chat-message p { font-size: 12px; color: #bdbdbd; white-space: pre-wrap; margin: 7px 0 0; }
.report-button { opacity: 0; color: #888; font-size: 10px; padding: 5px 10px 0 0; }
.chat-message:hover .report-button, .chat-message:focus-within .report-button { opacity: 1; }
.message-form { display: flex; gap: 7px; }
.message-form input { min-width: 0; flex: 1; padding: 9px; font-size: 11px; }
.message-form button { padding: 8px 10px; font-size: 11px; }
.chat-signin { border-top: 1px solid var(--border); padding-top: 18px; margin-top: 20px; }
.chat-signin p { color: #888; font-size: 11px; margin-bottom: 12px; }
.chat-signin button { width: 100%; font-size: 11px; }
.profile-card { max-width: 680px; padding: 24px 0; margin: 20px 0; border-bottom: 1px solid var(--border); }
.profile-card h2 { margin-bottom: 18px; }
.profile-card .secondary { margin-top: 16px; }
.dm-toolbar { display: flex; gap: 12px; align-items: center; margin: 24px 0; }
.dm-toolbar label { margin: 0; white-space: nowrap; }
.dm-toolbar select { flex: 1; }
.dm-list { min-height: 280px; max-height: 55vh; overflow: auto; margin-bottom: 20px; scrollbar-width: thin; }
.notice { border: 1px solid #383838; padding: 13px; color: #aaa; font-size: 12px; margin-top: 25px; overflow-wrap: anywhere; }
.auth-screen { min-height: 100svh; display: flex; flex-direction: column; }
.auth-header { display: flex; align-items: center; justify-content: space-between; padding: 30px 40px; }
.auth-side { flex: 1; display: grid; place-items: center; padding: 50px 24px 80px; }
.auth-card { width: 100%; max-width: 340px; }
.auth-card h1 { font-size: 32px; font-weight: 600; margin: 0 0 30px; letter-spacing: -1px; }
.auth-card input { height: 46px; margin-bottom: 12px; background: #0d0d0d; border-radius: 5px; }
.auth-card input:last-of-type { margin-bottom: 0; }
.auth-card .primary { height: 46px; margin-top: 20px; border-radius: 5px; }
.auth-card form > label:not(:first-child) { margin: 0; }
.auth-switch { display: flex; justify-content: center; gap: 7px; margin-top: 24px; align-items: center; font-size: 11px; color: #727272; }
.tabs { display: flex; }
.tabs button { font-size: 11px; padding: 0; color: #bbb; }
.auth-card #forgot { display: block; font-size: 11px; margin: 14px auto 0; }
.auth-footer { display: flex; justify-content: space-between; padding: 24px 40px; font-size: 11px; color: #656565; }
.auth-footer a:hover { color: #bbb; }
#auth-error:empty, #post-error:empty, #security-error:empty { display: none; }
#auth-error, #post-error, #security-error, #recover-error, #device-error, #comment-error, #report-error { color: #e8a6a6; font-size: 12px; overflow-wrap: anywhere; }
dialog { color: inherit; background: #0b0b0b; border: 1px solid #303030; border-radius: 8px; padding: 30px; width: min(450px,90vw); max-height: 90svh; overflow: auto; }
dialog::backdrop { background: #000d; }
dialog h2 { margin: 6px 0 24px; }
.dialog-close { display: block; margin: -12px -12px 12px auto; color: #888; font-size: 11px; }
.icon-button { display: grid; place-items: center; padding: 8px; }
.device-code { display: block; font: 600 28px ui-monospace,monospace; letter-spacing: 4px; margin: 28px 0; }
.device-code + .primary { width: 100%; }
.gallery-dialog { width: min(1100px,94vw); padding: 16px; }
#gallery-view { aspect-ratio: 1.74; overflow: hidden; border-radius: 4px; }
#gallery-view img { width: 100%; height: 100%; object-fit: contain; }
#gallery-view-title { margin: 14px 0 0; font-size: 12px; color: #999; }
.session-row { border-bottom: 1px solid var(--border); padding: 18px 0; }
.session-row strong { font-size: 12px; }
#security-code-row, #auth-code-row { margin-top: 18px; }
#totp-qr { display: block; margin: 20px 0; }
#totp-setup input { margin-bottom: 14px; }
#backup-codes { font: 12px ui-monospace,monospace; white-space: pre-wrap; line-height: 1.9; }
@media (min-width:1681px) { .shell { border-left: 1px solid var(--border); border-right: 1px solid var(--border); } }
@media (max-width:1200px) {
  .shell { grid-template-columns: 168px minmax(0,1fr) 260px; }
  main { padding: 0 28px 35px; }
  .topbar { margin: 0 -28px; padding: 0 24px; }
  .home-heading, .home-section, .site-footer { margin-left: 20px; margin-right: 20px; }
  .gallery { grid-template-columns: minmax(0,1fr) 88px; }
  .gallery-caption { padding-right: 100px; }
  .description-editor, .upload-label, .back-link { margin-left: 0; margin-right: 0; }
}
@media (max-width:960px) {
  .shell { grid-template-columns: 160px minmax(0,1fr); }
  .sidebar { grid-row: 1/3; }
  .project-panel { grid-column: 2; position: static; height: auto; border-left: 0; border-top: 1px solid var(--border); padding: 28px; }
  .project-panel .panel-community { margin-top: 25px; }
  .chat-panel { grid-column: 2; position: static; height: 380px; border-left: 0; border-top: 1px solid var(--border); padding: 25px 28px; }
  .chat-panel h2 { padding-bottom: 17px; margin-bottom: 15px; }
}
@media (max-width:600px) {
  .shell { display: block; }
  .sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--border); padding: 20px 18px 14px; display: grid; grid-template-columns: 1fr auto; gap: 18px; }
  .brand { font-size: 16px; }
  nav { grid-column: 1/-1; grid-row: 2; display: flex; gap: 4px; margin: 0; overflow: auto; }
  .nav { flex: none; padding: 8px 10px; font-size: 11px; gap: 7px; }
  .nav .icon { width: 13px; height: 13px; }
  .sidebar-note { display: none; }
  .sidebar-bottom { margin: 0; display: flex; gap: 12px; align-items: center; }
  .sidebar-bottom .account-button { display: none; }
  main { padding: 0 18px 30px; }
  .topbar { margin: 0 -18px; padding: 0 18px; height: 48px; }
  .page { padding-top: 32px; }
  .home-heading { margin: 0 0 24px; padding-bottom: 23px; }
  .home-heading h1 { font-size: 32px; }
  .gallery { display: flex; flex-direction: column; gap: 9px; }
  .gallery-main { aspect-ratio: 1.5; }
  .thumbnails { flex-direction: row; gap: 8px; }
  .thumb { width: 25%; }
  .gallery-caption { padding: 0; margin-top: 14px; }
  .gallery-caption .muted { display: block; margin-left: 0; }
  .home-section { margin: 27px 0 0; padding-top: 22px; }
  .site-footer { margin-left: 0; margin-right: 0; }
  .hero-actions { gap: 8px; }
  .hero-actions button { font-size: 11px; padding: 10px 12px; }
  .server-row { flex-wrap: wrap; gap: 12px; }
  .server-row .status-badge { margin-right: auto; }
  .server-version { font-size: 10px; }
  .server-facts { grid-template-columns: 1fr; gap: 18px; }
  .feature-list { grid-template-columns: 1fr; gap: 16px; }
  .project-panel { padding: 25px 18px; }
  .start-steps article { gap: 18px; }
  .download-row { gap: 12px; }
  .download-row a { padding: 11px; white-space: nowrap; }
  .news-article h2 { font-size: 21px; }

  .page-heading { align-items: flex-start; gap: 12px; }
  h1 { font-size: 29px; }
  .page-heading .primary { padding: 9px 11px; font-size: 10px; }
  .project-title { font-size: 29px; }
  .description-editor { margin-top: 22px; }
  .chat-panel { height: 380px; padding: 25px 18px; }
  .chat-message .report-button { opacity: 1; }
  .dm-toolbar { flex-wrap: wrap; }
  .dm-toolbar label { width: 100%; }
  .auth-header { padding: 24px; }
  .auth-side { padding: 45px 24px 70px; }
  .auth-footer { padding: 22px 24px; }
  #draft-label { display: none; }
}
@media (prefers-reduced-motion:reduce) { button, a { transition: none; } }

/* Server portal: navigation above the news, launcher and monitoring on the right. */
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; }
.shell { max-width: 1160px; grid-template-columns: minmax(0, 1fr) 260px; column-gap: 48px; padding: 0 28px; }
.sidebar { grid-column: 1 / -1; position: static; height: auto; min-height: 80px; flex-direction: row; align-items: center; gap: 32px; padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--border); background: transparent; flex-wrap: wrap; }
.sidebar .brand { font-size: 21px; letter-spacing: -.7px; }
nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.nav { padding: 9px 10px; }
.nav .icon { display: none; }
.nav.active { background: transparent; color: #fff; }
.sidebar-note { display: none; }
.sidebar-bottom { margin: 0 0 0 auto; display: flex; align-items: center; gap: 14px; }
.account-button { display: none; }
main { padding: 0 0 48px; }
.topbar { height: 54px; margin: 0; padding: 0; border: 0; }
.breadcrumb { display: none; }
#header-login { margin-left: auto; }
.page { padding-top: 14px; }
.home-heading { margin: 0 0 26px; padding: 0; border: 0; }
.home-heading h1 { font-size: 34px; line-height: 1.2; letter-spacing: -1px; margin-bottom: 12px; }
.home-heading .hero-actions { margin-top: 20px; }
.hero-actions a { font-size: 12px; }
.home-gallery { margin-bottom: 30px; }
.home-gallery .gallery { grid-template-columns: minmax(0, 1fr) 92px; }
.home-gallery .gallery-main { aspect-ratio: 2.05; }
.home-section { margin: 0; padding-top: 24px; }
.section-heading h2 { font-size: 20px; }
#home-news .news-article { border-bottom: 1px solid var(--border); padding: 0 0 26px; margin-bottom: 26px; }
#home-news .news-article h2 { font-size: 23px; margin: 10px 0 12px; }
#home-news .news-article p { color: #aaa; font-size: 14px; margin-bottom: 0; }
.news-article time { color: #888; font-size: 11px; }
.project-panel { padding: 54px 0 36px; border: 0; }
.portal-download, .portal-account { display: grid; gap: 14px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--border); }
.portal-download h2, .portal-account h2 { border: 0; padding: 0; margin: 0; font-size: 15px; }
.portal-download .text-link, .portal-account .text-link { text-align: center; }
.monitor { margin-top: 16px; }
.monitor .secondary { width: 100%; }
.site-footer { margin: 26px 0 0; }
.chat-panel { padding: 54px 0 24px; border: 0; }
@media (max-width: 900px) {
 .shell { gap: 28px; grid-template-columns: minmax(0, 1fr) 230px; padding: 0 22px; }
 .sidebar { gap: 18px; }
 .sidebar-bottom { margin-left: auto; }
 .sidebar nav { order: 3; width: 100%; }
 .home-heading h1 { font-size: 30px; }
}
@media (max-width: 640px) {
 .shell { display: block; padding: 0 18px; }
 .sidebar { display: flex; gap: 16px; padding: 18px 0 10px; }
 .sidebar nav { overflow-x: auto; flex-wrap: nowrap; gap: 6px; padding-bottom: 8px; }
 .nav { white-space: nowrap; font-size: 11px; padding: 8px 9px; }
 .sidebar-bottom { position: static; }
 .topbar { height: 52px; margin: 0; padding: 0; }
 .home-heading h1 { font-size: 30px; }
 .home-gallery .gallery { display: flex; }
 .home-gallery .gallery-main { aspect-ratio: 1.7; }
 .home-gallery .thumb { flex: 1; width: auto; }
 .project-panel { display: block; padding-top: 0; }
 .chat-panel { display: block; padding: 0 0 32px; }
 .page { padding-top: 12px; }
 .home-section { margin: 0; }
 .site-footer { margin: 24px 0 0; }
}

a.secondary { padding: 10px 14px; }
.service-list, .store-products { display: grid; gap: 18px; margin-top: 24px; }
.store-products { grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); }
.store-product, .order-row { border: 1px solid var(--border); padding: 22px; border-radius: 5px; }
.store-product p, .order-row time { color: #999; }
.store-product strong { display: block; margin: 16px 0; }
.order-row .secondary, .order-row .text-link { margin: 14px 14px 0 0; }
.ranking-list { margin-top: 24px; }
.ranking-list table { width: 100%; border-collapse: collapse; }
.ranking-list th, .ranking-list td { padding: 14px 8px; border-bottom: 1px solid var(--border); text-align: left; }
.ranking-list td:last-child { text-align: right; }
.panel-links { display: grid; gap: 18px; }
.checkbox-label { display: flex; align-items: center; gap: 10px; margin: 18px 0; }
.checkbox-label input { width: auto; }
#store-admin { margin-top: 36px; }


/* Restored from GameSide's 2018 template; source kept in docs/archive/gameside-2018. */
:root { color-scheme: light; font-family: Roboto, Arial, Helvetica, sans-serif; color: #454757; background: #777; --muted: #71717c; --border: #ddd; --accent: #21aabd; }
body { font-size: 14px; line-height: 1.5; color: #454757; background: #777 url('/assets/archive/background.webp') no-repeat center center fixed; background-size: cover; }
.shell { display: grid; grid-template-columns: minmax(0,840px) 300px; grid-template-rows: auto 1fr; max-width: 1140px; min-height: 0; margin: 30px auto; padding: 0; gap: 0; border: 0; align-items: stretch; }
.sidebar { display: grid; grid-template-columns: minmax(0,1fr) auto; position: static; height: auto; min-height: 0; padding: 0; gap: 0; background: transparent; border: 0; border-radius: 0; grid-column: 1/-1; }
.sidebar .brand { grid-column: 1/-1; display: block; margin: 0 10px 15px; width: 230px; height: 64px; }
.brand img { display: block; width: 230px; height: 64px; object-fit: contain; }
.sidebar > nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 0; margin: 0; width: auto; order: initial; grid-row: 2; }
.sidebar .nav { position: relative; flex: none; color: #fff; text-transform: uppercase; line-height: 40px; font-size: 14px; padding: 0 12px; border-radius: 0; gap: 6px; }
.sidebar .nav .icon { display: inline-block; width: 15px; height: 15px; }
.sidebar .nav[data-page="home"] { font-size: 0; }
.sidebar .nav[data-page="home"] .icon { width: 18px; height: 18px; }
.sidebar .nav::after { content: none; }
.sidebar .nav:hover, .sidebar .nav.active { background: transparent; color: #fff; }
.sidebar-bottom { grid-row: 2; display: flex; align-items: center; margin: 0; gap: 12px; }
.language-picker select { color: #fff; font-size: 11px; }
.language-picker .icon { color: #fff; }
.account-button { display: inline-flex; align-items: center; padding: 5px 10px; color: #fff; border: 0; background: #21aabd; gap: 8px; border-radius: 2px; max-width: 150px; }
.sidebar-bottom #logout { color: #fff; font-size: 11px; }
#header-login { margin: 0 2px 0 0; background: #eb5858; border-bottom-color: #c13e3e; color: #fff; font-size: 14px; padding: 3px 14px; border-radius: 2px; }
main { padding: 0 0 30px; background: #fff; box-shadow: -3px 4px 10px #0004; border-radius: 4px 0 0 0; }
.topbar:not(:has(#publish:not([hidden]))) { display: none; }
.topbar { height: 48px; padding: 0 20px; background: #fafafa; border-bottom: 1px solid #ddd; }
.page { padding: 24px 20px 10px; max-width: none; }
h1 { font-size: 32px; font-weight: 500; letter-spacing: 0; color: #299bc7; }
h2, h3 { font-weight: 500; letter-spacing: 0; }
p { line-height: 1.5; }
.eyebrow { color: #6b6d79; }
.primary { background: #21aabd; border: 0; border-top: 2px solid transparent; border-bottom: 2px solid #1d8391; color: #fff; border-radius: 2px; padding: 6px 14px; box-shadow: none; font-size: 14px; font-weight: 400; }
.primary:hover { background: #21aabd; opacity: .9; }
.secondary { color: #fff; border: 0; border-top: 2px solid transparent; border-bottom: 2px solid #689132; background: #82b83c; border-radius: 2px; padding: 6px 14px; }
.secondary:hover { background: #89c245; }
a.secondary { padding: 6px 14px; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid #1d8391; outline-offset: 3px; }
input, textarea, select { color: #454757; background: #fff; border: 1px solid #ccc; border-radius: 3px; padding: 10px 12px; }
input:focus, textarea:focus { border-color: #21aabd; box-shadow: none; }
input::placeholder, textarea::placeholder { color: #777; }
label { color: #666; font-size: 13px; }
.text-link { color: #2588b0; }
.text-link:hover, .muted-button:hover { color: #176886; }
.muted, .muted-button, .page-intro { color: #6e707b; }
.home-page { padding: 0; }
.home-gallery { position: relative; margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.home-gallery .gallery { display: block; }
.home-gallery .gallery-main { height: 480px; aspect-ratio: auto; border: 0; border-radius: 0; display: block; background: #111; }
.home-gallery .gallery-main img { height: 100%; width: 100%; object-fit: cover; }
.home-gallery .thumbnails, .home-gallery .gallery-caption { display: none; }
.archive-news { position: relative; background: #fff; }
.archive-news > img { width: 100%; height: 480px; object-fit: cover; display: block; }
.archive-news-title { position: relative; margin-top: -66px; height: 66px; padding: 7px 20px; color: #fff; background: #ababab80; text-shadow: 0 0 5px #484848; display: flex; align-items: center; pointer-events: none; }
.archive-news-title h1, .archive-news-title h2 { font-size: 35px; font-weight: 400; color: #fff; letter-spacing: 0; line-height: 1.15; margin: 0; }
.archive-news-details { position: relative; display: flex; gap: 24px; padding: 0 20px 14px 10px; min-height: 110px; border-bottom: 1px solid #eee; }
.archive-news-details p { color: #454757; font-size: 14px; margin: 10px 0; flex: 1; }
.archive-date { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4px 5px; min-width: 73px; border: 1px solid #ccc; border-top: 0; border-radius: 0 0 4px 4px; align-self: flex-start; }
.archive-date b { color: #fff; background: #a6cc7a; padding: 3px 8px; border-radius: 4px; font-size: 32px; line-height: 1; font-weight: 400; margin: 3px 0; }
.archive-date span { font-size: 11px; text-transform: uppercase; color: #d54848; border-bottom: 1px solid #eee; padding: 2px 0 5px; margin-bottom: 5px; }
.archive-date small { font-size: 16px; color: #787b90; }
.archive-news-actions { display: flex; align-items: center; gap: 16px; min-height: 40px; padding: 4px 20px; background: #fafafa; border-bottom: 1px solid #eee; font-size: 12px; }
.archive-news-actions > span { color: #777; margin-right: auto; }
.archive-news-actions .primary { background: #82b83c; border-bottom-color: #689132; font-size: 12px; }
.home-section { padding: 0; margin: 15px 0 0; border: 0; }
#home-news .news-article { padding: 0; margin: 0; border: 0; }
#home-news .news-article h2 { font-size: 35px; margin: 0; }
#home-news .news-article p { color: #454757; font-size: 14px; margin: 10px 0; }
#home-news .news-article time { color: #787b90; }
.site-footer { color: #777; padding: 15px 20px 0; margin: 0; font-size: 12px; }
.site-footer .text-link { color: #2588b0; }
.project-panel, .chat-panel { padding: 20px 12px 28px; background: #282e2f; border: 0; color: #fafafa; box-shadow: 3px 4px 10px #0004; border-radius: 0 4px 0 0; }
.project-panel .muted, .chat-panel .muted { color: #ddd; }
.project-panel h2, .chat-panel h2 { font-size: 16px; font-weight: 600; text-transform: uppercase; color: #58bde7; padding-bottom: 4px; border-bottom: 2px solid #598fa5; margin: 0 0 20px; }
.project-panel > h2 .icon { display: none; }
.portal-download { margin: 0 0 36px; padding: 0; border: 0; background: transparent; gap: 8px; }
.portal-download .primary { display: flex; background: #89c245; border-bottom: 3px solid #68992f; border-top: 3px solid transparent; color: #fff; border-radius: 2px; font-size: 21px; font-weight: 300; padding: 3px 5px; text-transform: uppercase; }
.portal-download .text-link { color: #ddd; font-size: 12px; }
.portal-account { display: none; }
.monitor { padding: 0 4px 24px; margin: 0 0 20px; border-bottom: 1px dashed #777; }
.monitor-heading strong { font-size: 20px; font-weight: 300; }
.monitor-version { color: #ccc; font-size: 12px; margin: 7px 0 14px; }
.monitor .status-badge { width: 100%; display: flex; justify-content: center; color: #fff; background: #335b6b; border-radius: 0; border: 0; border-left: 2px solid #a8bcc5; border-right: 2px solid #a8bcc5; padding: 4px; font-size: 13px; }
.monitor-note { color: #ccc; font-size: 12px; }
.monitor .secondary { background: #21aabd; border-bottom-color: #1d8391; }
.status-dot { background: #aaa; }
.panel-links { gap: 18px; }
.panel-links .text-link { font-size: 14px; color: #58bde7; text-transform: uppercase; padding-bottom: 4px; border-bottom: 2px solid #598fa5; }
.status-badge { color: #546773; background: #f4f6f7; border-color: #b7cbd3; }
.thumb.active { border-color: #21aabd; }
.profile-card, .store-product, .order-row { max-width: none; background: #fafafa; color: #454757; border: 1px solid #ddd; border-radius: 4px; padding: 20px; margin: 20px 0; }
.store-product { margin: 0; }
.store-product h2 { background: linear-gradient(to bottom right,#ffedae,#e09107); color: #fff; border: 2px solid #f0c05e; text-align: center; margin: -20px -20px 18px; padding: 20px 10px; font-size: 45px; }
.store-product:nth-child(2) h2 { background: linear-gradient(to bottom right,#d0f3a3,#78af36); border-color: #b1db7d; }
.store-product:nth-child(3) h2 { background: linear-gradient(to bottom right,#50ddf1,#1d8f9e); border-color: #46bac8; }
.store-product p, .order-row time { color: #666; }
.store-product strong { color: #454757; font-size: 22px; }
.release-note { color: #666; background: #fafafa; }
.project-title { color: #454757; }
.post, .dm-list, .chat-list { background: transparent; color: inherit; }
.post-header, .post-actions, .chat-message time { color: #747782; }
.chat-panel .chat-message time { color: #bbb; }
.auth-screen { background: transparent; }
.auth-header { max-width: 1140px; width: 100%; margin: auto; padding: 30px 10px; }
.auth-header .brand { font-size: 0; }
.auth-side { padding: 30px 20px 60px; }
.auth-card { background: #fff; padding: 28px; border-radius: 4px; max-width: 390px; box-shadow: 0 3px 10px #0006; }
.auth-card h1 { font-weight: 400; color: #299bc7; }
.auth-card input { background: #fff; }
.auth-switch, .auth-card #forgot { color: #666; }
.auth-footer { color: #fff; }
dialog { background: #fff; color: #454757; border: 1px solid #ddd; border-radius: 4px; }
.shell[data-context="account"] { grid-template-columns: 1fr; }
.shell[data-context="account"] main { border-radius: 0 0 4px 4px; padding: 0 20px 30px; box-shadow: 0 4px 10px #0004; }
.account-navigation { padding: 0 20px; background: #fafafa; border-bottom: 1px solid #ddd; }
.account-identity, .account-community { display: none; }
.account-navigation nav { display: flex; gap: 0; margin: 0; }
.account-navigation .nav { color: #666; padding: 15px; border-radius: 0; border-bottom: 3px solid transparent; }
.account-navigation .nav .icon { display: block; width: 16px; height: 16px; }
.account-navigation .nav.active { color: #333; border-bottom-color: #e66262; background: transparent; }
.account-navigation .nav:hover { background: #eee; }
.account-page-heading { margin-bottom: 20px; }
.account-page-heading .eyebrow { display: none; }
.heading-emblem { display: none; }
.security-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; }
.security-proof h2 { font-size: 16px; }
#security-error { grid-column: 1/-1; margin: 0; color: #c13e3e; }
#security-error:empty { display: none; }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.security-grid .profile-card { margin: 0; min-width: 0; }
.card-heading { display: flex; gap: 12px; margin-bottom: 20px; }
.card-icon { color: #21aabd; margin-top: 2px; }
.card-heading h2 { font-size: 18px; margin-bottom: 8px; }
.card-heading p { margin: 0; }
.security-card .primary { width: auto; }
.factor-state { display: inline-flex; color: #555; border: 1px solid #ccc; border-radius: 3px; padding: 4px 8px; font-size: 12px; margin-right: 10px; }
.factor-state[data-enabled="true"] { color: #257488; background: #e4f4f6; border-color: #9bcbd2; }
.recovery-card, .sessions-card { grid-column: 1/-1; }
.sessions-heading { display: flex; gap: 20px; justify-content: space-between; }
.session-row { display: flex; gap: 15px; align-items: center; }
.session-row > .icon { color: #21aabd; }
.session-details { flex: 1; }
#backup-codes { color: #454757; background: #fff; padding: 14px; border: 1px dashed #aaa; }
#totp-qr { max-width: 100%; height: auto; }
@media (max-width: 1140px) {
 .shell { margin: 16px; grid-template-columns: minmax(0,1fr) 280px; }
 .sidebar .nav { font-size: 12px; padding: 0 10px; }
 .sidebar-bottom { gap: 8px; }
 #header-login { font-size: 12px; }
 .home-gallery .gallery-main, .archive-news > img { height: auto; aspect-ratio: 1.75; }
 .archive-news-title h1, .archive-news-title h2, #home-news .news-article h2 { font-size: 28px; }
}
@media (max-width: 800px) {
 .shell { display: block; margin: 12px; }
 .sidebar { display: flex; flex-wrap: wrap; align-items: center; padding-bottom: 12px; }
 .sidebar .brand { margin: 0 0 14px; }
 .sidebar-bottom { margin: 0 0 14px auto; }
 .sidebar > nav { order: 3; width: 100%; overflow-x: auto; }
 .sidebar .nav { font-size: 11px; padding: 0 10px; line-height: 36px; }
 .sidebar .brand, .brand img { width: 190px; height: auto; }
 main { border-radius: 4px 4px 0 0; }
 .project-panel, .chat-panel { border-radius: 0 0 4px 4px; padding: 24px 18px; }
 .page { padding: 22px 18px; }
 .home-page { padding: 0; }
 .archive-news-title { margin-top: -54px; height: 54px; padding: 6px 14px; }
 .archive-news-title h1, .archive-news-title h2, #home-news .news-article h2 { font-size: 24px; }
 .archive-news-details { padding: 0 14px 12px 8px; gap: 12px; }
 .archive-news-details p { font-size: 13px; }
 .archive-date { min-width: 60px; }
 .archive-news-actions { padding: 8px 12px; gap: 10px; flex-wrap: wrap; }
 .archive-news-actions > span { display: none; }
 .account-navigation { padding: 0 8px; }
 .account-navigation nav { flex-wrap: nowrap; overflow-x: auto; }
 .account-navigation .nav { flex: none; white-space: nowrap; font-size: 11px; padding: 12px 8px; gap: 6px; }
 .shell[data-context="account"] main { padding: 0 0 24px; }
 .security-grid, .security-proof { grid-template-columns: 1fr; }
 .sessions-heading { display: block; }
 .session-row { gap: 10px; }
 .session-row strong { font-size: 11px; }
 .session-row .muted-button { font-size: 11px; }
 .auth-header { padding: 24px 20px; }
}
@media (max-width: 480px) {
 .sidebar .brand, .brand img { width: 165px; }
 .sidebar-bottom { flex-wrap: wrap; max-width: 175px; justify-content: flex-end; gap: 6px; }
 #header-login { font-size: 11px; padding: 3px 7px; }
 .language-picker select { max-width: 86px; }
 .sidebar .nav { padding: 0 8px; }
 .account-button { font-size: 11px; }
 .archive-news-title h1, .archive-news-title h2, #home-news .news-article h2 { font-size: 21px; }
 .archive-news-details { min-height: 126px; }
}
:root { background: transparent; }
.sidebar { margin-bottom: 6px; }
.sidebar-bottom .account-button { display: inline-flex; }
.project-panel { position: static; height: auto; }
.chat-panel { height: min(900px,100svh); }
.post p { color: #454757; }
@media (max-width: 800px) { .sidebar { margin-bottom: 0; } .chat-panel { height: 450px; } }

/* Small visual refinements; preserve the February 2018 GameSide composition. */
:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
body { -webkit-font-smoothing: antialiased; }
main { border-radius: 8px 0 0 8px; box-shadow: 0 8px 28px #152c3b2b; }
.project-panel, .chat-panel { border-radius: 0 8px 8px 0; box-shadow: 0 8px 28px #152c3b2b; }
.sidebar .nav { font-weight: 500; }
.primary, .secondary, a.secondary, #header-login { border-radius: 6px; border-bottom-width: 0; padding-top: 10px; padding-bottom: 10px; font-weight: 500; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 3px solid #21aabd; outline-offset: 3px; }
input, textarea, select { border-radius: 6px; }
input:focus, textarea:focus { border-color: #21aabd; box-shadow: 0 0 0 3px #21aabd18; }
.language-picker select { box-shadow: none; border-radius: 0; }
.archive-news-title { background: linear-gradient(0deg,#101a24c9,#101a2473); text-shadow: none; padding: 12px 24px; }
.archive-news-title h1, .archive-news-title h2, #home-news .news-article h2 { font-size: 32px; font-weight: 550; letter-spacing: -.6px; }
.archive-news-details { padding-right: 24px; }
.archive-news-details p, #home-news .news-article p { line-height: 1.7; }
.archive-news-actions { padding: 10px 20px; }
.archive-news-actions .primary { padding: 9px 16px; }
.portal-download .primary { border: 0; border-radius: 6px; padding: 12px 8px; font-size: 17px; font-weight: 550; text-transform: none; }
.portal-download .primary:hover { background: #95cd51; }
.project-panel h2, .chat-panel h2 { font-size: 14px; font-weight: 600; letter-spacing: .3px; padding-bottom: 10px; border-bottom-width: 1px; }
.monitor-heading strong { font-size: 19px; font-weight: 550; }
.monitor { border-bottom: 1px solid #ffffff26; }
.monitor .status-badge { padding: 8px; border: 1px solid #a8bcc533; border-radius: 6px; }
.monitor .secondary { border: 0; padding: 10px; }
.panel-links .text-link { border-bottom-width: 1px; font-size: 13px; padding-bottom: 10px; }
.profile-card, .store-product, .order-row { border-radius: 8px; }
.auth-card, dialog { border-radius: 10px; }
.auth-card { box-shadow: 0 12px 40px #122a3933; }
.auth-card h1 { font-weight: 550; }
.store-product { overflow: hidden; }
.store-product h2 { font-size: 36px; font-weight: 600; border-width: 0; }
@media (max-width: 1140px) {
 .archive-news-title h1, .archive-news-title h2, #home-news .news-article h2 { font-size: 28px; }
}
@media (max-width: 800px) {
 main { border-radius: 8px 8px 0 0; }
 .project-panel, .chat-panel { border-radius: 0 0 8px 8px; }
 .archive-news-title { padding: 8px 16px; }
 .archive-news-title h1, .archive-news-title h2, #home-news .news-article h2 { font-size: 23px; }
 .archive-news-actions { padding: 10px 14px; }
}
@media (max-width: 480px) {
 #header-login { padding: 8px 10px; }
 .archive-news-title h1, .archive-news-title h2, #home-news .news-article h2 { font-size: 21px; letter-spacing: -.3px; }
}

/* Readable header over the archived Minecraft background. */
.brand-wordmark { display: inline-block; color: #1a2933; font-size: 44px; font-weight: 750; line-height: 64px; letter-spacing: -2px; }
.sidebar > nav { align-self: stretch; background: #253038; padding: 6px 8px; border-radius: 8px 0 0 8px; }
.sidebar-bottom { background: #253038; padding: 6px 12px; border-radius: 0 8px 8px 0; }
.sidebar .nav { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 10px 12px; line-height: 1.2; gap: 8px; color: #fff; font-weight: 550; border-radius: 6px; }
.sidebar .nav .icon { display: block; margin: 0; width: 18px; height: 18px; stroke-width: 1.8; }
.sidebar .nav[data-page="home"] { width: 40px; height: 40px; padding: 0; gap: 0; }
.sidebar .nav:hover, .sidebar .nav.active { background: #ffffff0d; }
.sidebar .language-picker select, .auth-header .language-picker select { font-size: 13px; color: #fff; }
.language-picker select option { background: #fff; color: #253038; }
.sidebar-bottom #logout { font-size: 13px; font-weight: 500; padding: 10px 3px; }
.sidebar-bottom #logout:hover { color: #a9e7ee; }
.sidebar-bottom .account-button > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-bottom .account-button { background: #12748a; padding: 10px 12px; font-size: 13px; font-weight: 500; border-radius: 6px; }
#header-login { background: #c94343; }
#header-login:hover { background: #b53636; }
.auth-header .language-picker { background: #253038; border-radius: 6px; padding: 4px 10px; }
.auth-header .language-picker .icon { right: 10px; }
@media (max-width: 800px) {
 .sidebar .brand { height: 52px; }
 .brand-wordmark { font-size: 38px; line-height: 52px; letter-spacing: -1.6px; }
 .sidebar > nav { border-radius: 8px; padding: 5px; }
 .sidebar-bottom { border-radius: 8px; padding: 6px 8px; }
 .sidebar .language-picker select, .sidebar-bottom #logout, .sidebar-bottom .account-button { font-size: 12px; }
}
@media (max-width: 480px) {
 .brand-wordmark { font-size: 34px; letter-spacing: -1.4px; }
 .sidebar-bottom .account-button { max-width: 105px; padding: 8px; font-size: 11px; }
 .sidebar-bottom #logout { font-size: 11px; padding: 8px 2px; }
 .sidebar .language-picker select { font-size: 11px; }
}

/* Compact, session-aware launcher setup. */
.compact-start, .compact-launcher { padding: 20px 24px; }
.compact-start > h1, .compact-launcher > h1 { font-size: 26px; line-height: 1.2; margin: 0 0 14px; }
.start-account-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding: 4px 0; }
.start-account-row strong { font-size: 14px; font-weight: 550; }
.start-account-row .secondary { font-size: 12px; padding: 8px 12px; white-space: nowrap; }
.start-label { font-size: 14px; font-weight: 600; line-height: 1.4; margin: 0 0 4px; }
.compact-downloads { margin: 0; }
.compact-downloads .download-row { padding: 8px 0; gap: 6px 16px; }
.compact-downloads .download-row h2 { font-size: 14px; line-height: 1.4; margin: 0 0 2px; }
.compact-downloads .download-row .muted { display: inline-block; margin: 0 12px 0 0; color: #626671; font-size: 12px; }
.compact-downloads .download-row a { font-size: 12px; padding: 9px 16px; }
.compact-downloads .download-status { padding: 0; text-align: right; }
.start-signin { border-top: 1px solid #e3e5e6; padding-top: 12px; margin-top: 0; }
.start-signin p { font-size: 12px; line-height: 1.5; color: #626671; margin: 0; }
.start-availability { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid #e3e5e6; }
.start-availability .status-badge { grid-column: 1; grid-row: 1; justify-self: start; margin: 0; }
.start-availability .text-link { grid-column: 2; grid-row: 1; font-size: 12px; text-align: right; }
.shell[data-view="start"] .portal-download, .shell[data-view="downloads"] .portal-download { display: none; }
@media (max-width: 480px) {
 .compact-start, .compact-launcher { padding: 18px 16px; }
 .compact-start > h1, .compact-launcher > h1 { font-size: 25px; }
 .compact-downloads .download-row { gap: 8px; }
 .compact-downloads .download-row a { padding: 9px 12px; }
}

.compact-launcher .download-footnote { padding-top: 12px; margin-top: 12px; }

/* Open help topics: answers stay visible. */
.compact-help { padding: 20px 24px; }
.compact-help > h1 { font-size: 26px; line-height: 1.2; margin: 0 0 14px; }
.help-topics article { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 16px; padding: 13px 0; border-top: 1px solid #e3e5e6; }
.help-topics h2 { font-size: 14px; font-weight: 600; line-height: 1.5; margin: 0; }
.help-topics p { font-size: 13px; line-height: 1.5; color: #565b65; margin: 0; }
.help-topics .text-link { display: inline-block; font-size: 12px; line-height: 1.5; margin-top: 6px; }
@media (max-width: 480px) {
 .compact-help { padding: 18px 16px; }
 .compact-help > h1 { font-size: 25px; }
 .help-topics article { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
}

/* Player profile: full-body preview and compact editing beside it. */
.account-navigation { padding: 7px 20px; }
.account-navigation nav { gap: 4px; }
.account-navigation .nav { display: inline-flex; align-items: center; justify-content: center; line-height: 1.3; border: 0; border-radius: 6px; padding: 10px 12px; }
.account-navigation .nav.active { color: #12748a; background: #12748a0d; border: 0; }
.player-profile { max-width: 1000px; padding: 24px; margin: auto; }
.player-profile-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.player-profile-heading h1 { font-size: 28px; line-height: 1.2; color: #253038; margin: 0; letter-spacing: -.5px; overflow-wrap: anywhere; }
.player-role { flex: none; color: #14758b; background: #eaf5f7; padding: 4px 9px; border-radius: 5px; font-size: 11px; font-weight: 550; }
.player-profile-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); align-items: start; gap: 32px; }
.player-preview-panel { position: relative; overflow: hidden; border: 1px solid #dce8ed; border-radius: 10px; background: linear-gradient(155deg,#f4fafc,#e2f0f4); }
.skin-stage { height: 420px; position: relative; isolation: isolate; }
.skin-stage::before { content: ''; position: absolute; z-index: -1; left: 28%; right: 28%; bottom: 30px; height: 16px; background: #1b455326; border-radius: 50%; filter: blur(9px); }
.skin-stage canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; outline-offset: -4px; }
.skin-stage canvas:active { cursor: grabbing; }
.skin-stage #skin-flat { position: absolute; width: 200px; height: 300px; left: 50%; top: 50%; transform: translate(-50%,-50%); image-rendering: pixelated; }
.skin-loading { position: absolute; inset: 0; display: grid; place-content: center; color: #526b76; font-size: 13px; }
.skin-preview-error { position: absolute; bottom: 5px; left: 10px; right: 10px; text-align: center; font-size: 11px; color: #536975; }
.skin-toolbar { display: flex; gap: 6px; justify-content: center; padding: 0 12px; }
.skin-tool { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; color: #476473; background: #ffffffb3; border: 1px solid #cddfe7; border-radius: 6px; }
.skin-tool .icon { width: 17px; height: 17px; }
.skin-tool:hover { background: #fff; color: #12748a; border-color: #84b5c3; }
.skin-tool[aria-pressed="true"] { background: #14758b; color: #fff; border-color: #14758b; }
.skin-tool:disabled { opacity: .45; cursor: default; }
.skin-drag-hint { margin: 10px 0 14px; text-align: center; font-size: 11px; color: #526b76; }
.player-settings { min-width: 0; }
.player-setting { margin: 0; padding: 4px 0 22px; }
.player-setting + .player-setting { border-top: 1px solid #e2e6e9; padding: 20px 0 0; }
.player-setting-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.player-setting-title h2, .player-setting-title label { font-size: 16px; font-weight: 600; line-height: 1.3; margin: 0; color: #253038; }
.player-setting-title .text-link { display: inline-flex; align-items: center; gap: 5px; margin: 0; font-size: 12px; white-space: nowrap; }
.player-setting-title .icon { width: 14px; height: 14px; }
.skin-drop-zone { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 18px; background: #f7f9fa; border: 1px dashed #bbcbd3; border-radius: 7px; }
.skin-drop-zone.drag-over { background: #eaf5f7; border-color: #14758b; }
.player-setting .skin-select { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; background: #fff; color: #253038; border: 1px solid #cbd6dc; padding: 9px 13px; }
.player-setting .skin-select .icon { width: 16px; height: 16px; }
.skin-file-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #3f5966; font-size: 12px; }
.skin-drop-zone small { color: #626975; font-size: 11px; line-height: 1.4; }
.skin-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #636e78; font-size: 11px; margin-top: 10px; }
.skin-status { color: #936719; font-size: 12px; margin: 10px 0 0; }
.skin-save-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.skin-save-actions button { font-size: 12px; }
.player-setting .primary { background: #14758b; color: #fff; padding: 9px 13px; }
.player-setting .primary:hover { background: #106277; }
.bio-count { font-size: 11px; color: #737d86; white-space: nowrap; }
.player-setting textarea { min-height: 92px; font-size: 14px; line-height: 1.5; padding: 10px 12px; resize: vertical; color: #253038; border-color: #cbd6dc; }
#profile-save { padding: 8px 13px; font-size: 12px; margin-top: 12px; background: #14758b; color: #fff; }
#profile-save:disabled { opacity: .45; cursor: default; }
@media (max-width: 800px) {
 .skin-stage { height: 370px; }
 .player-profile-grid { gap: 22px; }
 .player-profile { padding: 20px 8px; }
}
@media (max-width: 600px) {
 .account-navigation { padding: 6px 8px; }
 .account-navigation .nav { padding: 9px 8px; }
 .player-profile-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
 .player-profile-heading { margin-bottom: 14px; }
 .player-profile-heading h1 { font-size: 25px; }
 .skin-stage { height: 320px; }
 .player-profile { padding: 18px 14px; }
 .skin-drop-zone { padding: 14px; }
}

/* An unresolved session is not a guest session. Applied before the first paint. */
html[data-session="pending"] #auth-screen,
html[data-session="pending"] #page-play,
html[data-session="pending"] .shell[data-context="account"] main .page { display: none !important; }
.session-check { position: fixed; z-index: 60; left: 50%; top: 45%; transform: translate(-50%,-50%); display: flex; align-items: center; flex-wrap: wrap; gap: 12px; max-width: calc(100% - 32px); padding: 16px 20px; border: 1px solid #dce8ed; border-radius: 8px; background: #fff; color: #476473; box-shadow: 0 8px 28px #152c3b20; font-size: 13px; }
.session-spinner { width: 16px; height: 16px; flex: none; border: 2px solid #dce8ed; border-top-color: #14758b; border-radius: 50%; animation: session-spin .8s linear infinite; }
@keyframes session-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .session-spinner { animation: none; } }

/* Player identities and the archived wall layout. */
.skin-avatar { width: 32px; height: 32px; image-rendering: pixelated; object-fit: contain; flex: none; border-radius: 4px; background: #e7edf0; }
.player-link { display: inline-flex; gap: 9px; align-items: center; max-width: 100%; font-weight: 550; vertical-align: middle; }
.player-link span { overflow-wrap: anywhere; }
.player-link:hover span { color: #14758b; }
.account-button .skin-avatar { width: 23px; height: 23px; }
.chat-message .skin-avatar { width: 24px; height: 24px; }
.chat-message .player-link { font-size: 12px; }
.chat-message > div:first-child { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chat-message .player-link:hover span { color: #68d3e3; }
.post-header { align-items: center; }
.player-profile-heading #profile-avatar .skin-avatar { width: 40px; height: 40px; }
#own-public-profile { margin-left: auto; font-size: 12px; }
.shell[data-context="member"] { grid-template-columns: minmax(0,1fr); }
.shell[data-context="member"] main { border-right: 0; }
.member-page, .members-page { padding: 24px; color: #253038; }
.member-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.member-identity { display: flex; align-items: center; gap: 16px; min-width: 0; }
.member-identity .skin-avatar { width: 64px; height: 64px; border-radius: 6px; }
.member-title h1 { color: #253038; font-size: 28px; margin: 0 0 5px; letter-spacing: -.8px; overflow-wrap: anywhere; }
.member-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.member-actions button { font-size: 12px; padding: 9px 12px; }
.member-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 26px; }
.member-sidebar { min-width: 0; }
.member-skin-stage { position: relative; height: 300px; background: radial-gradient(ellipse at 50% 40%,#f3f7fa,#e3edf2); border-radius: 8px; overflow: hidden; }
.member-skin-stage canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.member-skin-stage canvas:active { cursor: grabbing; }
.member-skin-stage #member-skin-flat { object-fit: contain; image-rendering: pixelated; }
#member-skin-status { position: absolute; bottom: 12px; left: 12px; right: 12px; text-align: center; font-size: 11px; }
.member-bio { margin: 14px 0; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.member-social { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; margin-top: 12px; }
.member-stat { min-width: 0; padding: 10px 1px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.member-stat:hover { background: #f0f5f7; }
.member-stat strong { font-size: 18px; font-weight: 600; }
.member-stat span { font-size: 10px; color: #697780; overflow-wrap: anywhere; }
.member-connections { margin-top: 18px; }
.member-connections h2 { font-size: 14px; margin-bottom: 10px; }
.member-connections .member-list { grid-template-columns: minmax(0,1fr); gap: 10px; }
.member-tabs { display: flex; gap: 6px; margin: 0 0 16px; }
.member-tabs button { color: #657782; font-size: 13px; padding: 9px 16px; border: 0; }
.member-tabs button.active { color: #146b80; background: #e9f3f6; border: 0; box-shadow: none; }
.wall-compose { margin: 0 0 18px; }
.wall-compose textarea,.wall-reply-form textarea { width: 100%; min-height: 66px; padding: 10px 12px; font-size: 13px; color: #253038; border: 1px solid #d4dee4; border-radius: 6px; resize: vertical; background: #fff; }
.wall-compose-actions { display: flex; margin-top: 8px; justify-content: flex-end; }
.wall-compose .primary { padding: 9px 15px; font-size: 12px; background: #14758b; color: #fff; }
.wall-post { padding: 16px 0; border-top: 1px solid #e5ebee; }
.wall-entry-heading { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wall-entry-heading .player-link { font-size: 13px; }
.wall-entry-heading time,.member-activity-entry time { color: #71808a; font-size: 11px; }
.wall-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 9px 0 7px; font-size: 13px; line-height: 1.5; }
.wall-entry-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.wall-entry-actions button { padding: 3px 0; font-size: 11px; color: #71808a; }
.wall-like { display: inline-flex; align-items: center; gap: 5px; }
.wall-like .icon { width: 15px; height: 15px; }
.wall-like[aria-pressed="true"] { color: #c64659; }
.wall-like[aria-pressed="true"] .icon { fill: #c6465922; }
.wall-replies { margin: 14px 0 0 32px; }
.wall-replies:empty { display: none; }
.wall-reply { padding: 10px 0; }
.wall-reply .skin-avatar { width: 24px; height: 24px; }
.wall-reply-form { margin: 10px 0 0 32px; display: flex; gap: 8px; flex-wrap: wrap; }
.wall-reply-form textarea { flex: 1 0 100%; }
.wall-reply-form button { font-size: 12px; }
.wall-empty { color: #71808a; font-size: 13px; margin: 20px 0; }
.member-activity-entry { padding: 14px 0; border-top: 1px solid #e5ebee; }
.member-activity-entry h2 { margin: 8px 0; }
.member-activity-entry .text-link { margin-left: 10px; }
.member-activity-entry p { margin: 8px 0 0; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.members-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.members-heading h1 { margin: 0; font-size: 28px; }
.members-heading form { display: flex; gap: 8px; }
.members-heading input { width: 180px; font-size: 13px; }
.member-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.member-card { display: flex; flex-direction: column; gap: 8px; background: #f6f8fa; padding: 14px; border-radius: 6px; min-width: 0; }
#members-more,#wall-more,#activity-more,#connections-more { margin-top: 14px; }
@media(max-width:800px) { .member-list { grid-template-columns: repeat(2,minmax(0,1fr)); } .member-layout { grid-template-columns: 200px minmax(0,1fr); gap: 20px; } .member-heading { align-items: flex-start; flex-wrap: wrap; } }
@media(max-width:600px) { .member-page,.members-page { padding: 18px 14px; } .member-layout { grid-template-columns: minmax(0,1fr); gap: 20px; } .member-sidebar { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; } .member-skin-stage { grid-row: span 2; height: 240px; } .member-social { grid-template-columns: minmax(0,1fr); margin: 0; align-content: center; } .member-stat { flex-direction: row; justify-content: space-between; padding: 9px 6px; } .member-stat span { font-size: 11px; } .member-bio,.member-connections { grid-column: 1 / -1; margin: 0; } .member-identity .skin-avatar { width: 48px; height: 48px; } .member-title h1 { font-size: 25px; } .member-actions { gap: 6px; } .member-actions button { padding: 8px 10px; } .member-list { grid-template-columns: minmax(0,1fr); } .player-profile-heading { flex-wrap: wrap; } }

.account-avatar .skin-avatar { width: 100%; height: 100%; border-radius: inherit; }

@media(max-width:600px) { .member-social { grid-column: 2; grid-row: 1 / span 2; } }

/* Own controls live inside the same player profile as the wall. */
.member-sidebar #owner-skin-preview .skin-stage { height: 300px; }
.member-sidebar .skin-toolbar { gap: 4px; padding: 8px 0; justify-content: center; }
.member-sidebar .skin-tool { width: 30px; height: 30px; padding: 6px; }
.member-sidebar .skin-drag-hint { display: none; }
#owner-profile-settings { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
#owner-profile-settings .player-setting { padding: 0; border: 0; border-radius: 0; background: none; }
#owner-profile-settings .player-setting-title { gap: 8px; margin-bottom: 8px; }
#owner-profile-settings .skin-drop-zone { padding: 10px; gap: 8px; }
#owner-profile-settings .skin-drop-zone small { font-size: 10px; }
#owner-profile-settings .skin-file-name { max-width: 100%; font-size: 11px; }
#owner-profile-settings .skin-meta { font-size: 10px; gap: 6px; margin-top: 7px; }
#owner-profile-settings textarea { min-height: 62px; font-size: 13px; }
#owner-profile-settings #profile-save { margin-top: 8px; }
#owner-profile-settings .skin-save-actions { flex-wrap: wrap; gap: 6px; }
#owner-profile-settings .skin-save-actions button { font-size: 12px; padding: 8px 10px; }
@media(max-width:600px) { #owner-skin-preview { grid-column: 1; grid-row: 1 / span 2; } .member-sidebar #owner-skin-preview .skin-stage { height: 240px; } .member-sidebar .skin-tool { width: 25px; height: 25px; padding: 5px; } .member-sidebar .skin-tool .icon { width: 15px; height: 15px; } #owner-profile-settings { grid-column: 1 / -1; margin: 0; } }

/* Keep the viewport width stable when content arrives below the fold. */
html { scrollbar-gutter: stable; }

.skin-meta { min-height: 17px; }

/* Security: settings at a glance; credentials are requested for one action. */
#page-security { max-width: 980px; margin: 0 auto; padding: 30px 24px 34px; color: #253038; }
.security-page-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.security-page-heading h1 { color: #253038; margin: 0; font-size: 28px; font-weight: 650; letter-spacing: -.8px; }
.security-heading-icon { display: grid; place-items: center; width: 40px; height: 40px; color: #14758b; background: #edf6f8; border-radius: 12px; }
.security-heading-icon .icon { width: 22px; height: 22px; }
.security-settings { border: 1px solid #e2e9ed; border-radius: 14px; overflow: hidden; }
.security-setting { display: flex; align-items: center; gap: 18px; padding: 22px 24px; }
.security-setting + .security-setting { border-top: 1px solid #e8edf0; }
.security-setting-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #e4edf0; background: #f4f8fa; border-radius: 12px; flex: none; color: #4e6b79; }
.security-setting-icon .icon { width: 20px; height: 20px; }
.security-setting-copy { flex: 1; min-width: 0; }
.security-setting-copy h2,.security-devices h2 { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: #253038; line-height: 1.4; }
.security-setting-copy p { font-size: 13px; color: #6a7983; margin: 0; line-height: 1.5; }
.security-state { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11px; color: #71808a; }
.security-state::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #98a7af; }
.security-state[data-enabled="true"] { color: #187058; }.security-state[data-enabled="true"]::before { background: #24896a; }
.security-setting-copy .security-meta { display: block; margin-top: 6px; }
.security-button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; padding: 8px 13px; min-height: 36px; background: #fff; border: 1px solid #d7e1e7; border-radius: 7px; color: #344e5c; font-size: 12px; font-weight: 550; line-height: 1.4; flex: none; }
.security-button:hover { background: #f2f7f9; border-color: #b5cbd5; }
.security-button .icon { width: 15px; height: 15px; }
.security-devices { margin-top: 30px; }
.security-devices-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.security-devices h2 { font-size: 17px; }
.security-meta { font-size: 11px; color: #76848e; line-height: 1.5; }
.security-text-button { font-size: 12px; color: #9c4b4b; padding: 6px 0; line-height: 1.4; }
.security-text-button:hover { color: #ba3232; }
.security-text-button:disabled { color: #93a0a8; cursor: default; }
.security-session-list { border: 1px solid #e2e9ed; border-radius: 12px; overflow: hidden; min-height: 89px; }
.security-device { padding: 18px 20px; gap: 14px; border: 0; align-items: center; }
.security-device + .security-device { border-top: 1px solid #e8edf0; }
.security-device-current { background: #f7fafb; }
.security-device-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid #e1eaee; color: #617785; }
.security-device-icon .icon { width: 19px; height: 19px; }
.security-device .session-details { min-width: 0; }
.security-device .session-details strong { font-size: 13px; font-weight: 600; color: #2e4553; }
.security-device .session-details p { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.security-current-tag { color: #14758b; background: #eaf4f6; border-radius: 5px; padding: 4px 8px; font-size: 10px; flex: none; }
.security-device-revoke { display: inline-flex; align-items: center; gap: 6px; color: #7f5151; font-size: 11px; padding: 7px 0 7px 8px; flex: none; }
.security-device-revoke .icon { width: 14px; height: 14px; }
.security-device-revoke:hover { color: #b83131; }
.security-load-error { margin: 12px 0 0; display: flex; gap: 10px; align-items: center; font-size: 12px; color: #9d4444; }
.security-dialog { position: fixed; padding: 28px; width: min(440px,calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow-y: auto; border: 1px solid #dbe5e9; border-radius: 16px; box-shadow: 0 20px 70px #132d4340; color: #253038; }
.security-dialog::backdrop { background: #182b3b66; }
.security-dialog h2 { padding-right: 25px; margin: 0 0 12px; color: #253038; font-weight: 650; font-size: 21px; letter-spacing: -.4px; line-height: 1.35; }
.security-dialog-close { position: absolute; top: 18px; right: 18px; width: 28px; height: 28px; padding: 6px; color: #728490; border-radius: 6px; }
.security-dialog-close:hover { background: #edf3f6; }.security-dialog-close .icon { width: 16px; height: 16px; }
.security-dialog-note { margin: 0 0 22px; color: #647784; font-size: 13px; line-height: 1.55; }
.security-dialog label { display: block; margin: 16px 0 7px; color: #3c5665; font-size: 12px; font-weight: 550; }
.security-dialog input { padding: 11px 12px; font-size: 15px; color: #253038; border-color: #d0dde4; }
.security-dialog small { display: block; margin-top: 6px; font-size: 11px; color: #76848d; }
.security-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.security-dialog .primary { font-size: 12px; padding: 9px 16px; background: #14758b; border: 1px solid transparent; }
.security-dialog .primary:hover { background: #10647a; }.security-dialog .primary.security-danger { background: #ad4949; }
.security-dialog button:disabled { opacity: .55; cursor: wait; }
.security-form-error { color: #b33d3d; font-size: 12px; margin: 12px 0 0; }.security-form-error:empty { display: none; }
.security-qr { display: flex; justify-content: center; padding: 14px; background: #f5f9fb; border: 1px solid #e1ebef; border-radius: 10px; }
.security-qr img { display: block; width: 200px; height: 200px; border-radius: 4px; }
.security-key-row { display: flex; gap: 8px; align-items: center; }.security-key-row input { min-width: 0; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 11px; }
.security-dialog .security-otp { font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 24px; letter-spacing: 7px; text-align: center; }
#totp-submit { width: 100%; margin-top: 18px; }
#backup-codes.security-backup-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 12px; white-space: normal; font-size: 11px; margin: 0 0 16px; padding: 16px 12px; border: 1px solid #dee8ed; border-radius: 9px; background: #f7fafb; color: #3e5969; }
.security-backup-grid code { text-align: center; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-variant-numeric: tabular-nums; }
.security-codes-tools { display: flex; justify-content: space-between; gap: 10px; }
@media(max-width:600px) {
 #page-security { padding: 22px 16px 28px; }.security-page-heading { margin-bottom: 18px; }.security-page-heading h1 { font-size: 25px; }
 .security-setting { padding: 17px 14px; gap: 12px; flex-wrap: wrap; align-items: flex-start; }.security-setting-icon { width: 34px; height: 34px; border-radius: 9px; }.security-setting-icon .icon { width: 17px; height: 17px; }
 .security-setting-copy { flex-basis: calc(100% - 46px); }.security-setting > .security-button { margin-left: 46px; }
 .security-devices { margin-top: 24px; }.security-devices-heading { align-items: flex-start; }.security-devices-heading h2 { font-size: 15px; }.security-text-button { max-width: 135px; text-align: right; font-size: 11px; }
 .security-device { flex-wrap: wrap; padding: 15px 14px; gap: 10px; }.security-device .session-details { flex-basis: calc(100% - 48px); }.security-device .session-details p { font-size: 10px; gap: 4px; }.security-device-revoke,.security-current-tag { margin-left: 48px; }
 .security-dialog { padding: 24px 20px; }.security-dialog input { font-size: 16px; }.security-key-row input { font-size: 11px; }.security-dialog h2 { font-size: 20px; }#backup-codes.security-backup-grid { grid-template-columns: minmax(0,1fr); font-size: 13px; }.security-codes-tools { flex-wrap: wrap; }
}

.security-codes-dialog { width: min(540px,calc(100vw - 32px)); }

.security-meta,.security-state { color: #63737e; }

.shell[data-view="security"] #notice { position: fixed; z-index: 40; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 32px); width: max-content; padding: 12px 18px; margin: 0; background: #253038; color: #fff; border: 0; border-radius: 9px; box-shadow: 0 8px 28px #122a3940; font-size: 12px; }

/* Home: game servers, followed by a compact player timeline. */
.shell { grid-template-columns: minmax(0,1fr); }
.shell main { grid-column: 1 / -1; border-radius: 12px; overflow: hidden; padding: 0; }
#page-home.home-feed-page { padding: 24px; }
.home-servers-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.home-servers-heading h1 { color: #18242d; font-size: 24px; font-weight: 650; letter-spacing: -.6px; line-height: 1.3; margin: 0; }
.home-download { display: inline-flex; gap: 8px; align-items: center; color: #53636f; font-size: 13px; }
.home-download .icon { width: 17px; height: 17px; }
.home-download:hover { color: #12748a; }
.game-server { position: relative; min-height: 270px; overflow: hidden; border-radius: 12px; background: #152d25; color: #fff; isolation: isolate; }
.game-server-cover { position: absolute; z-index: -2; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: center 53%; }
.game-server::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#0a1821e8 0%,#0a182187 40%,#0a182112 70%),linear-gradient(0deg,#0a1821c9,transparent 70%); }
.game-server-content { min-height: 270px; padding: 26px 28px; display: flex; flex-direction: column; align-items: flex-start; }
.game-server-status { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 12px; border: 1px solid #ffffff2b; padding: 5px 10px; border-radius: 30px; background: #0818206b; }
.game-server-status i { width: 6px; height: 6px; border-radius: 50%; background: #ffc87b; }
.game-server-title { margin: 18px 0 26px; }
.game-server-title h2 { color: #fff; font-size: 44px; font-weight: 650; letter-spacing: -1.7px; margin: 0; line-height: 1.1; }
.game-server-title p { font-size: 16px; font-weight: 500; color: #ebf0ef; margin: 8px 0 0; }
.game-server-title p span { color: #9eaead; padding: 0 7px; }
.game-server-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; margin-top: auto; }
.game-server-tags { display: flex; align-items: center; gap: 7px; }
.game-server-tags span { padding: 4px 9px; border-radius: 5px; background: #ffffff1a; color: #f1f4f5; font-size: 11px; backdrop-filter: blur(4px); }
.game-server-links { display: flex; align-items: center; gap: 22px; }
.game-server-detail { color: #fff; font-size: 13px; }
.game-server-detail:hover { text-decoration: underline; text-underline-offset: 4px; }
.game-server-play { display: inline-flex; align-items: center; gap: 9px; background: #fff; color: #16232c; border-radius: 8px; padding: 11px 16px; font-size: 13px; font-weight: 600; }
.game-server-play .icon { width: 16px; height: 16px; }
.game-server-play:hover { background: #e8f5f7; }
.home-feed-grid { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 24px; margin-top: 28px; align-items: start; }
.home-timeline { min-width: 0; border: 1px solid #e8edf0; border-radius: 12px; overflow: visible; }
.feed-heading { display: flex; align-items: center; min-height: 58px; padding: 15px 20px; border-bottom: 1px solid #e8edf0; }
.feed-heading h2 { font-size: 18px; font-weight: 650; color: #18242d; margin: 0; letter-spacing: -.35px; }
.feed-composer { display: flex; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid #e8edf0; margin: 0; }
.feed-avatar { flex-shrink: 0; display: block; width: 44px; height: 44px; overflow: hidden; border-radius: 7px; background: #f0f3f4; }
.feed-avatar .skin-avatar { width: 44px; height: 44px; border-radius: 0; image-rendering: pixelated; }
.composer-main { flex: 1; min-width: 0; }
#feed-body { border: 0; box-shadow: none; padding: 8px 0; margin: 0; min-height: 65px; max-height: 230px; resize: none; width: 100%; color: #1b2832; font: inherit; font-size: 17px; line-height: 1.5; background: transparent; border-radius: 0; }
#feed-body::placeholder { color: #78868e; opacity: 1; }
#feed-body:focus-visible { outline: none; }
.composer-tools { display: flex; align-items: center; gap: 8px; border-top: 1px solid #edf1f3; padding-top: 10px; }
.composer-upload { cursor: pointer; color: #187f95; width: 32px; height: 32px; display: grid; place-items: center; margin: 0 0 0 -7px; flex: none; border-radius: 50%; }
.composer-upload:hover { background: #edf6f8; }
.composer-upload .icon { display: block; width: 18px; height: 18px; stroke-width: 1.8; }
.feed-publish { margin-left: auto; border: 0; background: #147b91; color: #fff; padding: 8px 16px; min-height: 36px; border-radius: 30px; font-size: 13px; font-weight: 650; }
.feed-publish:hover:enabled { background: #106578; }
.feed-publish:disabled { opacity: .45; cursor: default; }
.composer-counter { color: #697981; font-size: 11px; }
#feed-error { margin: 8px 0 0; color: #b32f38; font-size: 13px; }
.feed-guest { padding: 14px 20px; background: #f8fafb; border-bottom: 1px solid #e8edf0; font-size: 14px; }
.feed-guest a { color: #147b91; }
.feed-posts { display: block; min-height: 140px; }
.feed-posts .feed-post { display: flex; gap: 12px; padding: 18px 20px 12px; border: 0; border-bottom: 1px solid #e8edf0; margin: 0; background: #fff; border-radius: 0; }
.feed-posts .feed-post:last-child { border-bottom: 0; border-radius: 0 0 12px 12px; }
.feed-post-main { flex: 1; min-width: 0; }
.feed-post .post-header { display: flex; align-items: center; gap: 6px; position: relative; margin: 0 0 4px; min-height: 26px; line-height: 1.25; font-size: 13px; }
.feed-author { color: #18242d; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; flex-shrink: 0; max-width: 40%; }
.feed-author:hover { text-decoration: underline; }
.feed-handle,.feed-separator,.feed-time { color: #71818b; font-weight: 400; }
.feed-handle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-time { white-space: nowrap; font-size: 11px; }
.feed-more { margin: -4px -7px -4px auto; padding: 7px; display: flex; border: 0; background: transparent; color: #71818b; border-radius: 50%; }
.feed-more:hover { background: #edf6f8; color: #147b91; }
.feed-more .icon { width: 18px; height: 18px; }
.feed-menu { position: absolute; right: 0; top: 28px; z-index: 2; min-width: 175px; padding: 5px; background: #fff; border: 1px solid #e2e8ec; border-radius: 10px; box-shadow: 0 4px 20px #1b283226; }
.feed-menu button { display: block; width: 100%; text-align: left; border: 0; border-radius: 6px; background: none; padding: 10px; color: #25353e; font-size: 13px; }
.feed-menu button:hover { background: #f0f5f7; }
.feed-menu button.danger { color: #b4313b; }
.feed-post h3 { color: #18242d; font-size: 15px; font-weight: 650; line-height: 1.4; margin: 0 0 3px; }
.feed-posts .feed-post p { color: #263640; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.feed-images { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; overflow: hidden; border: 1px solid #e0e7e9; border-radius: 12px; margin-top: 12px; height: 250px; }
.feed-images[data-count="1"] { display: block; height: auto; }
.feed-images[data-count="1"] button { display: block; width: 100%; }
.feed-images[data-count="1"] img { width: 100%; height: auto; max-height: 640px; object-fit: contain; }
.feed-images[data-count="3"] button:first-child { grid-row: span 2; }
.feed-images button { min-height: 0; padding: 0; border: 0; border-radius: 0; background: #f1f4f5; overflow: hidden; }
.feed-images img { display: block; object-fit: cover; width: 100%; height: 100%; }
.feed-post .post-actions { display: flex; align-items: center; flex-wrap: nowrap; justify-content: flex-start; gap: 16px; max-width: none; margin: 9px -7px 0; }
.feed-post .feed-action { display: inline-flex; align-items: center; gap: 4px; width: 56px; height: 32px; padding: 0; color: #71818b; font-size: 12px; line-height: 18px; border: 0; background: none; border-radius: 0; min-width: 0; flex: none; }
.feed-action-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex: none; }
.feed-action-count { display: block; min-width: 20px; font-variant-numeric: tabular-nums; }
.feed-action .icon { display: block; width: 18px; height: 18px; stroke-width: 1.8; }
.feed-action:hover { color: #147b91; background: none; }
.feed-action:hover .feed-action-icon { background: #edf6f8; }
.feed-action[data-action="like"]:hover,.feed-action[aria-pressed="true"] { color: #d44772; background: none; }
.feed-action[data-action="like"]:hover .feed-action-icon { background: #fcedf2; }
.feed-action[aria-pressed="true"] .icon { fill: currentColor; }
.feed-empty { min-height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #81919a; }
.feed-empty .icon { width: 26px; height: 26px; }
.feed-empty p { font-size: 14px; margin: 0; }
.feed-load-more { width: 100%; padding: 16px; color: #147b91; background: #fff; border: 0; border-top: 1px solid #e8edf0; border-radius: 0 0 12px 12px; font-size: 14px; }
.feed-load-more:hover { background: #f5fafb; }
.feed-previews { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin: 10px 0; }
.feed-preview { position: relative; height: 130px; overflow: hidden; border-radius: 9px; }
.feed-preview img { width: 100%; height: 100%; object-fit: cover; }
.feed-remove { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; background: #18242dc9; color: white; border: 0; width: 26px; height: 26px; border-radius: 50%; padding: 4px; }
.feed-remove .icon { width: 16px; height: 16px; }
.feed-noscript { padding: 12px 20px; font-size: 12px; color: #7c8a92; }
@media(max-width:800px) {
 #page-home.home-feed-page { padding: 18px; }
 .home-feed-grid { grid-template-columns: minmax(0,1fr); gap: 18px; margin-top: 22px; }
 .game-server-content { padding: 22px; }
 .game-server-links { gap: 14px; }
 .game-server-cover { object-position: 65% center; }
 .home-servers-heading h1 { font-size: 22px; }
}
@media(max-width:480px) {
 #page-home.home-feed-page { padding: 16px 12px; }
 .home-servers-heading { margin-bottom: 12px; }
 .home-download { font-size: 11px; gap: 5px; }
 .game-server,.game-server-content { min-height: 278px; }
 .game-server-content { padding: 20px; }
 .game-server-title { margin: 22px 0; }
 .game-server-title h2 { font-size: 38px; }
 .game-server-bottom { flex-wrap: wrap; gap: 14px; }
 .game-server-links { width: 100%; justify-content: space-between; }
 .game-server-tags { order: -1; }
 .game-server-play { padding: 9px 13px; }
 .feed-composer,.feed-posts .feed-post { padding-left: 12px; padding-right: 12px; gap: 10px; }
 .feed-heading { padding: 14px; }
 .feed-heading h2 { font-size: 17px; }
 .feed-avatar,.feed-avatar .skin-avatar { width: 36px; height: 36px; }
 .feed-handle { display: none; }
 .feed-author { max-width: 50%; }
 .feed-post .post-header { gap: 4px; }
 .feed-images { height: 205px; }
 #feed-body { font-size: 16px; }
 .feed-previews { gap: 4px; }
}

@media(max-width:800px) {
 .shell .sidebar { align-items: center; gap: 0; padding: 0 0 12px; }
 .shell .sidebar .brand { width: 130px; height: 52px; margin: 0; }
 .shell .brand-wordmark { font-size: 29px; line-height: 52px; letter-spacing: -1.2px; }
 .shell .sidebar-bottom { flex-wrap: nowrap; max-width: none; gap: 6px; margin: 0 0 0 auto; padding: 4px 6px; }
 .shell .sidebar-bottom .account-button { max-width: 110px; padding: 7px; font-size: 11px; gap: 5px; }
 .shell .sidebar-bottom .skin-avatar { width: 22px; height: 22px; }
 .shell .sidebar-bottom #logout { font-size: 10px; padding: 7px 2px; }
 .shell .sidebar .language-picker { width: 36px; height: 34px; gap: 4px; }
 .shell .sidebar #language { position: absolute; inset: 0; width: 36px; height: 34px; opacity: 0; padding: 0; }
 .shell .sidebar .language-picker:focus-within { outline: 2px solid #7ee3ee; outline-offset: 2px; border-radius: 4px; }
 .shell .sidebar .language-picker .icon { right: 0; width: 10px; }
 .shell .sidebar > nav { margin-top: 6px; }
}
@media(max-width:360px) {
 .shell .sidebar .brand { width: 115px; }
 .shell .brand-wordmark { font-size: 26px; }
 .shell .sidebar-bottom .account-button { max-width: 88px; }
}

/* Server Spaces and relational post tags. */
.home-servers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
a.game-server { display: block; }
a.game-server:hover .game-server-open { color: #c9f2ff; }
.home-servers .game-server-title h2 { font-size: 38px; }
.game-server-open { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #fff; font-weight: 600; }
.game-server-open .icon { width: 16px; height: 16px; }
.game-server-status[data-status="online"] i { background: #8dda9b; }
.game-server-status[data-status="offline"] i,.game-server-status[data-status="closed"] i { background: #b3c0c7; }
.home-feed-grid { grid-template-columns: minmax(0,1fr) 280px; }
.home-timeline { min-width: 0; width: 100%; }
.feed-sidebar { min-width: 0; position: sticky; top: 20px; display: grid; gap: 16px; }
.feed-side-section { border: 1px solid #e8edf0; border-radius: 12px; padding: 16px 10px 10px; }
.feed-side-section h2 { margin: 0 10px 10px; font-size: 16px; color: #18242d; font-weight: 650; letter-spacing: -.2px; }
.feed-side-section nav { display: grid; gap: 3px; }
.feed-side-section nav>a { display: flex; align-items: center; gap: 10px; padding: 12px 10px; color: #566975; font-size: 14px; border-radius: 8px; min-width: 0; }
.feed-side-section a:hover { background: #f3f7f8; color: #18242d; }
.feed-side-section a[aria-current="page"] { color: #087c94; background: #eaf5f7; font-weight: 600; }
.feed-side-section .icon { width: 18px; height: 18px; flex-shrink: 0; }
.feed-space-item>span { flex: 1; }
.feed-space-item>.icon:last-child { width: 16px; height: 16px; }
@media(max-width:800px) {
 .home-feed-grid { grid-template-columns: minmax(0,1fr) 220px; gap: 16px; }
 .feed-side-section nav>a { font-size: 13px; padding: 10px 8px; }
}
@media(max-width:650px) {
 .home-feed-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
 .home-feed-grid .feed-sidebar { grid-row: 1; position: static; display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0 2px; }
 .home-feed-grid .feed-side-section { display: contents; }
 .home-feed-grid .feed-side-section h2 { display: none; }
 .home-feed-grid .feed-side-section nav { display: flex; gap: 4px; flex-wrap: wrap; }
 .home-feed-grid .feed-side-section nav>a { padding: 8px; font-size: 12px; }
 .home-feed-grid .feed-side-section .icon { width: 15px; height: 15px; }
}
.composer-destination { margin: 0; display: flex; align-items: center; position: relative; min-width: 0; max-width: 155px; color: #147b91; }
.composer-destination select { border: 0; box-shadow: none; padding: 6px 22px 6px 0; border-radius: 0; background: transparent; appearance: none; width: 100%; color: #147b91; font-size: 12px; cursor: pointer; }
.composer-destination .icon { position: absolute; right: 0; width: 12px; height: 12px; pointer-events: none; }
.composer-server { display: inline-flex; align-items: center; height: 32px; gap: 6px; color: #147b91; font-size: 12px; line-height: 18px; max-width: 140px; }
.composer-server>span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.composer-server .icon { display: block; width: 18px; height: 18px; stroke-width: 1.8; }
.feed-composer textarea { border: 0; box-shadow: none; padding: 8px 0; margin: 0; min-height: 65px; max-height: 230px; resize: none; width: 100%; color: #1b2832; font: inherit; font-size: 17px; line-height: 1.5; background: transparent; border-radius: 0; }
.feed-composer textarea::placeholder { color: #78868e; opacity: 1; }
.feed-composer textarea:focus-visible { outline: 2px solid #d5e9ed; outline-offset: 2px; }
.composer-error { margin: 8px 0 0; color: #b32f38; font-size: 13px; }
.post-server-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; line-height: 1.4; color: #147b91; margin: 0 0 5px; }
.post-server-tag .icon { width: 12px; height: 12px; }
.post-server-tag:hover { text-decoration: underline; }
.space-page { padding: 24px; }
.space-back { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.space-back>a { display: inline-flex; gap: 7px; align-items: center; font-size: 13px; color: #697984; }
.space-back .icon { width: 16px; height: 16px; }
.space-cover .game-server-title h1 { color: #fff; font-size: 44px; font-weight: 650; letter-spacing: -1.7px; margin: 0; line-height: 1.1; }
.space-tabs { display: flex; gap: 6px; margin: 22px auto 16px; padding: 5px; background: #f1f5f7; border-radius: 10px; max-width: 760px; }
.space-tabs button { flex: 1; border: 0; padding: 11px; font-size: 14px; color: #677983; background: transparent; border-radius: 7px; font-weight: 550; }
.space-tabs button[aria-selected="true"] { color: #24343d; background: white; box-shadow: 0 1px 5px #26364016; }
.space-layout { max-width: 760px; margin-inline: auto; border: 0; border-radius: 0; }
.space-empty { color: #768892; font-size: 14px; padding: 52px 20px; margin: 0; text-align: center; }
.space-map-toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 18px; }
.space-map-toolbar h2 { font-size: 16px; font-weight: 600; color: #24343d; margin: 0; }
.space-map-frame { height: 540px; background: #ecf1f3; border-radius: 0 0 12px 12px; overflow: hidden; }
.space-map-frame:fullscreen { height: 100vh; width: 100vw; border-radius: 0; }
.space-map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.space-game-chat { padding: 8px 20px; }
.space-chat-message { padding: 13px 0; border-bottom: 1px solid #e8edf0; }
.space-chat-message:last-child { border-bottom: 0; }
.space-chat-message>div { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.space-chat-message .skin-avatar { width: 28px; height: 28px; }
.space-chat-message .player-link { color: #24343d; font-size: 13px; }
.space-chat-message time { color: #7c8c96; font-size: 11px; }
.space-chat-message p { margin: 5px 0 0 36px; font-size: 14px; color: #34454f; overflow-wrap: anywhere; white-space: pre-wrap; }
#activity-list.feed-posts { border: 0; border-radius: 0; }
.server-admin-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.server-admin-form label { display: block; }
@media(max-width:800px) { .space-page { padding: 18px; } }
@media(max-width:580px) {
 .home-servers { grid-template-columns: minmax(0,1fr); gap: 12px; }
 .home-servers .game-server,.home-servers .game-server-content { min-height: 210px; }
 .home-servers .game-server-title { margin: 16px 0 22px; }
 .home-servers .game-server-title h2 { font-size: 34px; }
 .home-servers .game-server-bottom { flex-wrap: nowrap; gap: 6px; }
 .home-servers .game-server-tags { gap: 4px; }
 .home-servers .game-server-tags span { font-size: 9px; padding: 4px 6px; }
 .home-servers .game-server-open { font-size: 11px; gap: 3px; }
 .space-page { padding: 16px 12px; }
 .space-tabs button { font-size: 12px; padding: 10px 6px; }
 .space-cover .game-server-title h1 { font-size: 38px; }
 .space-map-frame { height: 60svh; }
 .feed-composer textarea { font-size: 16px; }
 .composer-tools { gap: 6px; }
 .composer-destination { max-width: 100px; }
 .composer-destination select { font-size: 11px; }
 .feed-publish { padding: 8px 11px; }
 .server-admin-form { grid-template-columns: 1fr; }
}

/* Timeline: continuous rows and a quiet, useful right rail. */
.home-feed-grid { gap: 28px; margin-top: 24px; }
.home-timeline { border: 0; border-right: 1px solid #eff2f4; border-radius: 0; padding-right: 20px; }
:is(.home-timeline,.thread-timeline,#space-posts-panel,#activity-list) .feed-heading { min-height: 52px; padding: 8px 0 14px; border-bottom: 1px solid #eff2f4; }
:is(.home-timeline,.thread-timeline,#space-posts-panel,#activity-list) .feed-heading h2 { font-size: 20px; letter-spacing: -.5px; overflow-wrap: anywhere; }
:is(.home-timeline,.thread-timeline,#space-posts-panel,#activity-list) .feed-composer { padding: 16px 0 14px; }
:is(.home-timeline,.thread-timeline,#space-posts-panel,#activity-list) .feed-avatar { width: 44px; height: 44px; border-radius: 50%; }
:is(.home-timeline,.thread-timeline,#space-posts-panel,#activity-list) .feed-post { padding: 14px 0 10px; border-color: #eff2f4; border-radius: 0; }
:is(.home-timeline,.thread-timeline,#space-posts-panel,#activity-list) .feed-post:last-child { border-radius: 0; }
:is(.home-timeline,.thread-timeline,#space-posts-panel,#activity-list) .post-header { min-height: 21px; margin-bottom: 3px; font-size: 14px; }
:is(.home-timeline,.thread-timeline,#space-posts-panel,#activity-list) .feed-time { font-size: 12px; }
:is(.home-timeline,.thread-timeline,#space-posts-panel,#activity-list) .feed-images { margin-top: 10px; height: 280px; border-radius: 16px; }
:is(.home-timeline,.thread-timeline,#space-posts-panel,#activity-list) .post-actions { width: auto; margin-top: 6px; }
:is(.home-timeline,.thread-timeline,#space-posts-panel,#activity-list) .feed-load-more { border-radius: 0; }
:is(.home-timeline,.thread-timeline,#space-posts-panel,#activity-list) .feed-guest { padding-inline: 0; background: transparent; }
.feed-sidebar { gap: 12px; }
.feed-side-section { border: 0; background: #f6f8f9; border-radius: 16px; padding: 16px 10px 10px; }
.feed-side-section h2 { font-size: 18px; letter-spacing: -.4px; }
.feed-side-section a:hover { background: #eaf0f2; }
.feed-side-section .feed-trend { display: grid; gap: 4px; padding: 10px; }
.feed-trend strong { color: #1a2832; font-size: 14px; overflow-wrap: anywhere; }
.feed-trend span { color: #7a8992; font-size: 12px; }
.feed-trends-empty { margin: 5px 10px 12px; color: #7a8992; font-size: 13px; }
.post-hashtag { color: #087f9d; }
.post-hashtag:hover { text-decoration: underline; }
@media(max-width:800px) {
 .home-feed-grid { gap: 16px; }
 .home-timeline { padding-right: 12px; }
 .feed-side-section h2 { font-size: 16px; }
}
@media(max-width:650px) {
 .home-feed-grid { gap: 12px; }
 .home-timeline { padding-right: 0; border-right: 0; }
 :is(.home-timeline,.thread-timeline,#space-posts-panel,#activity-list) .feed-heading { padding-block: 10px; }
 :is(.home-timeline,.thread-timeline,#space-posts-panel,#activity-list) .post-header { font-size: 13px; }
 :is(.home-timeline,.thread-timeline,#space-posts-panel,#activity-list) .feed-time { font-size: 11px; }
 :is(.home-timeline,.thread-timeline,#space-posts-panel,#activity-list) .feed-images { height: 230px; }
 .home-feed-grid .feed-trending { display: block; width: 100%; background: transparent; padding: 0; border-radius: 0; }
 .home-feed-grid .feed-trending h2 { display: none; }
 .home-feed-grid .feed-trending nav { display: flex; flex-wrap: wrap; gap: 4px; }
 .home-feed-grid .feed-side-section .home-feed-grid .feed-trend { display: block; padding: 6px 8px; }
 .home-feed-grid .feed-trend strong { color: #087f9d; font-size: 12px; font-weight: 500; }
 .home-feed-grid .feed-trend span { display: none; }
 .home-feed-grid .feed-trends-empty { margin: 2px 8px; font-size: 12px; }
}

:is(.home-timeline,.thread-timeline,#space-posts-panel,#activity-list) .feed-images[data-count="1"] { height: auto; }
#notice { position: fixed; z-index: 60; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); margin: 0; padding: 12px 18px; color: #fff; background: #253038; border: 0; border-radius: 12px; box-shadow: 0 6px 24px #122a3930; font-size: 13px; }

/* Shared page frame; feed navigation belongs to the home timeline only. */
.page-layout { min-width: 0; }
.shell[data-context="public"] .page-layout { padding: 24px; }
.content-page { min-width: 0; padding: 0; margin: 0; }
.page-heading { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; min-height: 31px; }
.content-page h1, .page-heading h1, .page > h1 { color: #18242d; font-size: 24px; font-weight: 650; letter-spacing: -.6px; line-height: 1.3; margin: 0; }
.page > h1 { margin-bottom: 20px; }
.shell[data-context="account"] main { padding: 0; border-radius: 12px; }
#project-panel { display: none; }
.content-page .text-link { color: #147b91; }
.content-page .primary { background: #147b91; border: 0; border-radius: 8px; font-size: 13px; font-weight: 600; padding: 10px 16px; }
.content-page .secondary { color: #147b91; background: #eef5f7; border: 0; border-radius: 8px; }
.content-page .page-intro { margin: 0 0 20px; font-size: 13px; }
.content-page .release-note { border: 0; margin: 18px 0 0; padding: 12px 14px; background: #f5f8fa; border-radius: 10px; color: #63737e; font-size: 12px; }
.content-page .store-products { margin: 0; gap: 12px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.content-page .store-product { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #e8edf0; border-radius: 12px; background: #fff; padding: 20px; margin: 0; min-width: 0; }
.content-page .store-product h2, .content-page .store-product:nth-child(n) h2 { background: none; border: 0; margin: 0 0 14px; padding: 0; color: #18242d; font-size: 20px; font-weight: 650; letter-spacing: -.4px; text-align: left; }
.content-page .store-product p { color: #63737e; font-size: 13px; line-height: 1.6; margin: 0 0 20px; }
.content-page .store-product strong { margin: auto 0 0; padding-top: 12px; color: #18242d; font-size: 24px; font-weight: 650; letter-spacing: -.5px; }
.content-page .store-product button { margin-top: 16px; width: 100%; }
.content-page .ranking-list { margin-top: 16px; border-top: 1px solid #e8edf0; }
.content-page .ranking-list > p { padding: 20px 0; margin: 0; font-size: 13px; color: #63737e; }
.content-page .ranking-list th, .content-page .ranking-list td { border-color: #e8edf0; font-size: 13px; }
.content-page .help-topics article { grid-template-columns: 104px minmax(0,1fr); padding: 16px 0; gap: 18px; border-color: #e8edf0; }
.content-page .help-topics h2 { color: #263640; font-size: 14px; font-weight: 600; }
.content-page .help-topics p { color: #63737e; }
@media(max-width:1000px) {
 .content-page .store-products { grid-template-columns: minmax(0,1fr); }
 .content-page .store-product { padding: 18px; }
}
@media(max-width:800px) {
 .shell[data-context="public"] .page-layout { padding: 18px; }
 .content-page h1,.page-heading h1,.page > h1 { font-size: 22px; }
 .content-page .store-products { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:480px) {
 .shell[data-context="public"] .page-layout { padding: 16px 12px; }
 .page-heading { margin-bottom: 16px; }
 .content-page .store-products { grid-template-columns: minmax(0,1fr); }
 .content-page .help-topics article { grid-template-columns: minmax(0,1fr); gap: 6px; padding: 14px 0; }
}

/* Post threads use the same rows and composer as the timeline. */
.thread-page { padding: 24px; }
.thread-grid { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 28px; align-items: start; }
.thread-timeline { min-width: 0; border-right: 1px solid #eff2f4; padding-right: 20px; }
.thread-heading { display: flex; align-items: center; gap: 18px; min-height: 48px; margin-bottom: 8px; }
.thread-heading h1 { margin: 0; color: #18242d; font-size: 22px; line-height: 1.3; font-weight: 650; letter-spacing: -.5px; }
.thread-heading a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #263640; flex: none; }
.thread-heading a:hover { background: #eff4f6; }
.thread-heading .icon { width: 20px; height: 20px; }
.thread-timeline .feed-posts { min-height: 0; }
.thread-root.feed-posts .feed-body { font-size: 17px; }
.thread-root.feed-posts .feed-post { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 6px 12px; border-bottom: 1px solid #eff2f4; padding-bottom: 14px; }
.thread-root .feed-post-main { display: contents; }
.thread-root .feed-avatar { grid-column: 1; grid-row: 1 / span 2; }
.thread-root .post-header,.thread-root .post-server-tag,.thread-root .post-parent { grid-column: 2; }
.thread-root .post-header { margin-bottom: 0; }
.thread-root .feed-body,.thread-root .feed-images,.thread-root .post-actions,.thread-root h3 { grid-column: 1 / -1; }
.thread-root .feed-body { margin-top: 6px; }
.thread-root .post-server-tag { justify-self: start; margin-bottom: 0; }
.thread-timeline .feed-composer { border-bottom: 1px solid #eff2f4; }
.thread-timeline .feed-composer textarea:focus-visible { outline: none; }
.post-parent { display: block; font-size: 12px; color: #71818b; margin-bottom: 5px; }
.post-parent:hover { color: #147b91; }
.thread-ancestors .feed-post { border-bottom: 0; position: relative; }
.thread-ancestors .feed-post:after { content: ''; position: absolute; top: 62px; bottom: -12px; left: 21px; width: 2px; background: #e1e8ed; }
.feed-post[role="link"] { cursor: pointer; }
.feed-post[role="link"]:focus-visible { outline: 2px solid #147b91; outline-offset: -2px; }
@media(max-width:800px) { .thread-page { padding: 18px; } .thread-grid { grid-template-columns: minmax(0,1fr) 230px; gap: 16px; } .thread-timeline { padding-right: 12px; } }
@media(max-width:650px) { .thread-page { padding: 16px 12px; } .thread-grid { grid-template-columns: minmax(0,1fr); } .thread-timeline { padding-right: 0; border-right: 0; } #thread-sidebar { display: none; } }

/* Minecraft statistics share the site's compact public and player frames. */
.statistics-page .page-heading { margin-bottom: 16px; }
.statistics-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.statistics-controls select,.statistics-section-heading select,.statistics-counter-tools select,.statistics-ranking-tools select { width: auto; min-width: 120px; max-width: 100%; padding: 8px 30px 8px 10px; color: #354550; background-color: #f5f8fa; border: 1px solid #e5ebee; border-radius: 7px; font-size: 12px; }
.statistics-periods { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; padding: 3px; background: #f5f8fa; border-radius: 8px; }
.statistics-period { padding: 6px 10px; color: #6b7a84; font-size: 12px; border-radius: 5px; white-space: nowrap; }
.statistics-period[aria-pressed="true"] { color: #146b80; background: #fff; box-shadow: 0 1px 4px #24465812; }
.statistics-period:hover { color: #147b91; }
.statistics-meta { display: flex; flex-wrap: wrap; gap: 4px 15px; color: #7b8992; font-size: 10px; margin: 12px 0 16px; }
.statistics-totals { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 0; margin: 0 0 18px; padding: 12px 0; border-block: 1px solid #e8edf0; }
.statistics-total { position: relative; display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 4px 15px; border-right: 1px solid #e8edf0; }
.statistics-total:first-child { padding-left: 0; }
.statistics-total:last-child { border-right: 0; }
.statistics-total-label { color: #73818a; font-size: 11px; }
.statistics-total strong { position: relative; z-index: 1; color: #23333d; font-size: 21px; letter-spacing: -.5px; line-height: 1.2; font-weight: 650; white-space: nowrap; }
.statistics-sparkline { width: 54px; height: 18px; position: absolute; right: 10px; bottom: 0; color: #1688a3; opacity: .25; }
.statistics-sparkline polyline { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.statistics-health { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: -2px 0 24px; color: #77858e; font-size: 10px; }
.statistics-health-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.statistics-space-link { color: #147b91; font-weight: 550; }
.statistics-space-link:hover { color: #0a5062; text-decoration: underline; }
.statistics-health-row[data-stale="true"] { color: #99a1a7; }
.statistics-section-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.statistics-section-heading h2 { color: #283a45; font-size: 14px; font-weight: 600; letter-spacing: -.15px; margin: 0; }
.statistics-chart-section { padding: 0 0 22px; margin: 0 0 20px; border-bottom: 1px solid #e8edf0; }
.statistics-chart { height: 116px; width: 100%; margin-top: 16px; }
.statistics-chart > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.statistics-chart-grid { stroke: #edf1f3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.statistics-chart-bar { fill: #6bafbf; transition: fill 120ms; }
.statistics-chart-bar:hover { fill: #147b91; }
.statistics-chart-range { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 8px 0 10px; color: #83919a; font-size: 10px; }
.statistics-chart-section .text-link { color: #147b91; font-size: 11px; }
.statistics-daily-table { margin-top: 10px; max-height: 280px; overflow-y: auto; }
.statistics-daily-table table { width: 100%; border-collapse: collapse; font-size: 12px; }
.statistics-daily-table th,.statistics-daily-table td { padding: 8px 0; border-bottom: 1px solid #edf1f3; text-align: left; }
.statistics-daily-table th:last-child,.statistics-daily-table td:last-child { text-align: right; }
.statistics-ranking-toolbar { display: grid; grid-template-columns: 180px 150px 130px minmax(160px,1fr); align-items: center; gap: 8px; margin-bottom: 20px; }
.statistics-ranking-filter { position: relative; min-width: 0; }
.statistics-ranking-filter select { appearance: none; display: block; width: 100%; height: 38px; padding: 0 32px 0 12px; border: 1px solid transparent; border-radius: 8px; background: #f3f6f7; color: #354954; font-size: 12px; text-overflow: ellipsis; cursor: pointer; }
.statistics-ranking-filter > .icon { position: absolute; right: 11px; top: 11px; width: 16px; height: 16px; color: #73858f; pointer-events: none; stroke-width: 1.8; }
.statistics-ranking-filter select:hover { background: #edf2f4; }
.statistics-ranking-toolbar .statistics-search { width: 100%; min-width: 0; }
.statistics-ranking-toolbar .statistics-search input { height: 38px; padding: 0 12px 0 36px; background: #f3f6f7; border-color: transparent; border-radius: 8px; }
.statistics-ranking-toolbar .statistics-search input:focus { background: #fff; border-color: #147b91; box-shadow: 0 0 0 3px #147b9112; }
.statistics-ranking-toolbar .statistics-search-button { top: 1px; left: 1px; right: auto; width: 36px; height: 36px; border-radius: 7px; }
.statistics-search { position: relative; display: flex; align-items: center; min-width: 140px; width: 180px; }
.statistics-search input,.statistics-counter-tools input { width: 100%; min-width: 0; padding: 8px 30px 8px 10px; color: #354550; background-color: #fff; border: 1px solid #e5ebee; border-radius: 7px; font-size: 12px; }
.statistics-search-button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; position: absolute; right: 1px; color: #81919a; }
.statistics-search-button .icon { width: 15px; height: 15px; }
.statistics-ranking-results[aria-busy="true"],.statistics-counter-results[aria-busy="true"],.statistics-achievement-list[aria-busy="true"] { opacity: .5; pointer-events: none; }
.statistics-ranking-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; font-variant-numeric: tabular-nums; }
.statistics-ranking-table thead { color: #7b8c96; font-size: 11px; }
.statistics-ranking-table th,.statistics-ranking-table td { padding: 10px; border-bottom: 1px solid #edf2f4; text-align: left; font-weight: 400; vertical-align: middle; }
.statistics-ranking-table thead th { padding-top: 0; padding-bottom: 10px; line-height: 16px; }
.statistics-ranking-table th:first-child,.statistics-ranking-table td:first-child { width: 38px; padding-left: 6px; padding-right: 6px; text-align: center; }
.statistics-ranking-table td:last-child,.statistics-ranking-table th:last-child { width: 170px; text-align: right; padding-right: 12px; }
.statistics-ranking-table tbody tr:last-child > * { border-bottom: 0; }
.statistics-ranking-table tbody tr:hover { background: #f7f9fa; }
.statistics-ranking-table .player-link { min-height: 32px; gap: 10px; max-width: 100%; color: #283a45; font-size: 13px; font-weight: 600; }
.statistics-ranking-table .player-link span { overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; white-space: nowrap; }
.statistics-ranking-table .skin-avatar { width: 32px; height: 32px; border-radius: 6px; }
.statistics-ranking-table .statistics-score { font-weight: 600; color: #233843; font-size: 14px; white-space: nowrap; }
.statistics-rank { color: #81919b; font-size: 12px; }
.statistics-ranking-table tbody th { position: relative; }
.statistics-ranking-online { display: inline-block; width: 7px; height: 7px; margin-left: 8px; background: #3a947b; border-radius: 50%; vertical-align: middle; }
.statistics-online { display: inline-flex; align-items: center; gap: 4px; color: #318570; font-size: 10px; white-space: nowrap; margin-left: 9px; }
.statistics-online:before { content: ''; width: 4px; height: 4px; background: #51a28d; border-radius: 50%; }
.statistics-pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; color: #89959d; font-size: 11px; }
.statistics-page-button { padding: 6px 0; color: #147b91; font-size: 11px; }
.statistics-empty { margin: 22px 0; color: #87939c; font-size: 12px; line-height: 1.5; }
.statistics-error { padding: 20px 0; color: #657782; font-size: 12px; }
.statistics-error p { margin-bottom: 10px; }
.player-statistics { min-width: 0; }
.player-statistics .statistics-totals { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 18px; padding: 14px 0; margin-bottom: 16px; }
.player-statistics .statistics-total:nth-child(3) { border-right: 0; }
.player-statistics .statistics-total:nth-child(4) { padding-left: 0; }
.player-statistics .statistics-total strong { font-size: 20px; }
.player-statistics .statistics-controls { gap: 8px; }
.player-statistics .statistics-period { padding-inline: 8px; font-size: 11px; }
.player-statistics .statistics-meta { margin: 10px 0 14px; font-size: 9px; }
.member-tabs { flex-wrap: wrap; }
.statistics-detail-tabs { display: flex; gap: 4px 16px; flex-wrap: wrap; border-bottom: 1px solid #e8edf0; margin: 0 0 20px; }
.statistics-detail-tab { position: relative; padding: 0 0 11px; border-radius: 0; color: #839099; font-size: 11px; }
.statistics-detail-tab[aria-selected="true"] { color: #147b91; font-weight: 600; }
.statistics-detail-tab[aria-selected="true"]:after { content: ''; height: 2px; background: #147b91; position: absolute; left: 0; right: 0; bottom: -1px; }
.statistics-custom-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 26px; }
.statistics-custom-group h3 { color: #354550; font-size: 12px; margin: 0 0 14px; }
.statistics-facts { margin: 0; font-size: 11px; }
.statistics-facts > div { display: flex; justify-content: space-between; gap: 14px; margin: 0 0 12px; }
.statistics-facts dt { color: #7b8992; }
.statistics-facts dd { margin: 0; color: #354550; white-space: nowrap; }
.statistics-counter-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.statistics-counter-tools input { width: 180px; flex: 1; min-width: 120px; padding-right: 10px; }
.statistics-counter-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.statistics-counter-table thead { color: #8a969e; font-size: 10px; }
.statistics-counter-table th,.statistics-counter-table td { text-align: left; border-bottom: 1px solid #edf1f3; padding: 10px 0; font-weight: 400; }
.statistics-counter-table th:last-child,.statistics-counter-table td:last-child { text-align: right; padding-left: 20px; }
.statistics-counter-name { display: block; color: #354550; margin-bottom: 3px; }
.statistics-resource-id { display: block; color: #9ba5ac; font-family: inherit; font-size: 9px; overflow-wrap: anywhere; font-weight: 400; }
.statistics-counter-table small { color: #88959d; font-size: 10px; }
.statistics-counter-value { width: 30%; white-space: nowrap; color: #354550; background-image: linear-gradient(90deg,transparent,transparent),linear-gradient(90deg,#f2f7f8,#f2f7f8); background-size: 100% 100%,var(--stat-bar) 100%; background-position: right; background-repeat: no-repeat; }
.statistics-combat-totals { display: flex; flex-wrap: wrap; gap: 14px 24px; margin: 0 0 20px; }
.statistics-combat-totals > div { display: flex; flex-direction: column; gap: 5px; }
.statistics-combat-totals span { font-size: 10px; color: #839099; }
.statistics-combat-totals strong { font-size: 15px; font-weight: 550; color: #354550; }
.statistics-achievement-count,.statistics-session-total { color: #839099; font-size: 12px; }
.statistics-achievement-list { display: flex; flex-direction: column; }
.statistics-achievement { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; align-items: start; gap: 10px; padding: 15px 0; border-bottom: 1px solid #edf1f3; }
.statistics-achievement-icon { display: grid; place-items: center; width: 30px; height: 30px; background: #f1f6f5; color: #6b9d8e; border-radius: 7px; }
.statistics-achievement-icon .icon { width: 17px; height: 17px; }
.statistics-achievement-copy h3 { color: #354550; font-size: 12px; line-height: 1.3; margin: 1px 0 5px; }
.statistics-achievement-copy p { margin: 0 0 4px; color: #7b8992; font-size: 11px; line-height: 1.5; }
.statistics-achievement-state { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; color: #95a0a7; font-size: 9px; }
.statistics-achievement-state strong { color: #6b9d8e; font-weight: 400; font-size: 10px; }
.statistics-achievement-progress { position: relative; height: 3px; border-radius: 2px; background: linear-gradient(90deg,#6b9d8e var(--stat-progress),#edf1f3 var(--stat-progress)); margin-bottom: 20px; }
.statistics-session-list { list-style: none; padding: 0; margin: 20px 0; }
.statistics-session-list > li { display: flex; position: relative; gap: 12px; padding: 0 0 20px; }
.statistics-session-list > li:not(:last-child):before { content: ''; position: absolute; left: 4px; width: 1px; background: #e8edef; top: 7px; bottom: 0; }
.statistics-session-marker { width: 9px; height: 9px; flex: none; border: 2px solid #8eb5bd; background: #fff; border-radius: 50%; margin-top: 4px; z-index: 1; }
.statistics-session-main { flex: 1; min-width: 0; }
.statistics-session-heading { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; margin: 0 0 7px; }
.statistics-session-heading strong { color: #354550; font-weight: 550; white-space: nowrap; }
.statistics-session-dates { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: #94a0a8; font-size: 10px; }
@media(max-width:1200px) { .statistics-totals { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 18px; } .statistics-total:nth-child(3) { border-right: 0; } .statistics-total:nth-child(4) { padding-left: 0; } }
@media(max-width:600px) {
 .statistics-controls { align-items: flex-start; gap: 10px; }
 .statistics-controls > select { max-width: 100%; }
 .statistics-periods { max-width: 100%; }
 .statistics-period { padding: 6px 8px; font-size: 11px; }
 .statistics-totals,.player-statistics .statistics-totals { gap: 16px 0; }
 .statistics-total { padding-inline: 10px; }
 .statistics-total strong,.player-statistics .statistics-total strong { font-size: 17px; }
 .statistics-total-label { font-size: 10px; }
 .statistics-sparkline { width: 36px; opacity: .2; }
 .statistics-section-heading { gap: 12px; }
 .statistics-ranking-toolbar { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; margin-bottom: 18px; }
 .statistics-ranking-filter select { font-size: 12px; }
 .statistics-ranking-table th:first-child,.statistics-ranking-table td:first-child { width: 26px; padding-left: 0; padding-right: 4px; }
 .statistics-ranking-table td:last-child,.statistics-ranking-table th:last-child { width: 94px; padding-right: 0; }
 .statistics-ranking-table th,.statistics-ranking-table td { padding-inline: 4px; }
 .statistics-ranking-table .player-link { gap: 8px; font-size: 12px; }
 .statistics-ranking-table .statistics-score { font-size: 13px; }
 .statistics-ranking-online { position: absolute; left: 29px; top: 35px; width: 7px; height: 7px; margin: 0; box-shadow: 0 0 0 2px #fff; }
 .statistics-chart-range { font-size: 9px; }
 .statistics-custom-groups { gap: 20px; }
 .statistics-detail-tabs { gap: 3px 14px; }
 .statistics-detail-tab { font-size: 10px; padding-bottom: 9px; }
 .statistics-achievement { grid-template-columns: 30px minmax(0,1fr); }
 .statistics-achievement-state { grid-column: 2; flex-direction: row; align-items: center; gap: 12px; margin-top: -3px; }
}
@media(max-width:360px) { .statistics-total strong,.player-statistics .statistics-total strong { font-size: 15px; } .statistics-period { padding-inline: 6px; font-size: 10px; } .statistics-total-label { font-size: 9px; } .statistics-custom-groups { grid-template-columns: minmax(0,1fr); } }

@media(max-width:600px) {
 .member-page[data-member-tab="statistics"] .member-main { order: -1; min-height: calc(100svh - 180px); }
}

@media(min-width:601px) and (max-width:900px) {
 .statistics-ranking-toolbar { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}
@media(max-width:360px) {
 .statistics-ranking-toolbar > :first-child,.statistics-ranking-toolbar > .statistics-search { grid-column: 1 / -1; }
}
