/* ============ XYMC design system ============ */
:root {
  /* colour */
  --bg: #070807;
  --surface: rgba(255, 255, 255, .04); --surface-2: rgba(255, 255, 255, .07); --sunken: rgba(0, 0, 0, .35);
  --border: rgba(255, 255, 255, .09); --border-2: rgba(255, 255, 255, .16);
  --text: #f4f6f1; --text-2: #c2c7bb; --text-3: #8f958a;           /* 17:1 · 11:1 · 6.3:1 on --bg */
  --lime: #c8ff3e; --lime-2: #a6e22a; --ink: #0c1300;                 /* primary accent */
  --orange: #ff9a3d;                                                  /* secondary accent: time-sensitive */
  --red: #ff5f6d;
  --common: #ecebf2; --uncommon: #ffff55; --rare: #55ffff; --epic: #ff55ff; --mythic: #ffaa00;
  /* space (4-pt) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  /* radius: nested surfaces use outer − padding */
  --pad: 20px; --r-out: 28px; --r-in: calc(var(--r-out) - var(--pad)); --r-pill: 999px;
  /* type */
  --fs-xs: 12px; --fs-sm: 13.5px; --fs-md: 15px; --fs-lg: 18px; --fs-xl: 24px; --fs-2xl: 36px; --fs-3xl: 52px;
  --mono: 'JetBrains Mono', ui-monospace, monospace; --pixel: 'Silkscreen', monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--fs-md)/1.55 Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; }
em, i { font-style: normal; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: anywhere; margin: 0; }
p { text-wrap: pretty; margin: 0; }
b, strong { overflow-wrap: anywhere; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--s5); }
.t2 { color: var(--text-2); } .t3 { color: var(--text-3); } .lime { color: var(--lime); } .orange { color: var(--orange); }
.small { font-size: var(--fs-sm); }
.mono { font-family: var(--mono); font-size: 13px; }
.ic { flex: none; display: block; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.r-Common { color: var(--common); } .r-Uncommon { color: var(--uncommon); } .r-Rare { color: var(--rare); } .r-Epic { color: var(--epic); } .r-Mythic { color: var(--mythic); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ============ header ============ */
.top { position: sticky; top: 0; z-index: 30; background: rgba(7, 8, 7, .78); backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--border); }
.top-in { display: flex; align-items: center; gap: var(--s6); height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 21px Inter; letter-spacing: -.03em; }
.logo b { color: var(--lime); }
.logo.small { font-size: 16px; gap: var(--s2); margin-bottom: var(--s2); }
.nav { display: flex; gap: var(--s1); }
.nav a { padding: var(--s2) 14px; border-radius: var(--r-pill); color: var(--text-2); font-weight: 500; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.on { color: var(--ink); background: var(--lime); font-weight: 600; }
.search { position: relative; flex: 1; max-width: 400px; margin-left: auto; }
.search input { width: 100%; height: 42px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 0 56px 0 40px; outline: none; transition: border-color .2s, box-shadow .2s; }
.search input::placeholder { color: var(--text-3); }
.search input:focus { border-color: #c8ff3e88; box-shadow: 0 0 0 4px #c8ff3e1a; }
.search-ic { position: absolute; left: 14px; top: 13px; color: var(--text-3); }
.search kbd { position: absolute; right: var(--s2); top: var(--s2); font: 500 var(--fs-xs) Inter; color: var(--text-3); border: 1px solid var(--border-2); border-radius: var(--r-pill); padding: 3px 9px; }
@media (max-width: 900px) { .nav, .sign span:last-child, .search kbd { display: none; } .top-in { gap: var(--s3); } }

/* ============ controls ============ */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); height: 44px; padding: 0 20px; border-radius: var(--r-pill); border: 1px solid var(--border-2);
  background: var(--surface-2); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; }
.btn:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .26); }
.btn:active { transform: scale(.97); }
.btn.primary { color: var(--ink); border-color: transparent; background: var(--lime); box-shadow: 0 8px 24px -12px #c8ff3ecc; }
.btn.primary:hover { background: #d6ff66; box-shadow: 0 10px 28px -10px #c8ff3eee; }
.btn.lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn.icon { width: 44px; padding: 0; } .btn.sm.icon { width: 34px; }
.btn.on { color: var(--lime); border-color: #c8ff3e66; }
.btn.liked { color: var(--red); border-color: #ff5f6d55; }
.btn.liked svg { fill: currentColor; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
/* busy state: a spinner replaces the label while a request runs */
.btn[aria-busy="true"] { color: transparent !important; pointer-events: none; }
.btn[aria-busy="true"] svg { opacity: 0; }
.btn[aria-busy="true"]::after { content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-color: var(--text) transparent var(--text) transparent; animation: spin .7s linear infinite; }
.btn.primary[aria-busy="true"]::after { border-color: var(--ink) transparent var(--ink) transparent; }
.btn.pop svg { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.45); } }
@keyframes spin { to { transform: rotate(360deg); } }
.grow { flex: 1; min-width: 0; }
.field { height: 44px; min-width: 0; background: var(--sunken); border: 1px solid var(--border-2); border-radius: var(--r-pill); padding: 0 var(--s4); outline: none; transition: border-color .2s, box-shadow .2s; }
.field::placeholder { color: var(--text-3); }
.field:focus { border-color: #c8ff3e88; box-shadow: 0 0 0 4px #c8ff3e1a; }
textarea.field { height: auto; padding: var(--s3) var(--s4); border-radius: var(--r-in); resize: vertical; }
select.field { padding-right: 34px; appearance: none; background: var(--sunken) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238f958a' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.seg { display: inline-flex; padding: var(--s1); gap: 2px; background: var(--sunken); border: 1px solid var(--border); border-radius: var(--r-pill); flex-wrap: wrap; }
.seg button { height: 30px; padding: 0 var(--s3); border: 0; border-radius: var(--r-pill); background: none; color: var(--text-2); font-size: 13px; font-weight: 600; cursor: pointer; transition: color .2s, background .2s; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--lime); color: var(--ink); }
.pills { display: flex; gap: var(--s2); flex-wrap: wrap; }
.pills button { height: 38px; padding: 0 var(--s4); border-radius: var(--r-pill); border: 1px solid var(--border-2); background: var(--surface); color: var(--text-2); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: var(--s2); transition: all .2s var(--ease); }
.pills button:hover { color: var(--text); border-color: rgba(255, 255, 255, .26); }
.pills button.on { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.pills small { color: inherit; opacity: .6; font-weight: 500; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-pill); font-size: 13px; font-weight: 500; cursor: pointer; color: var(--text-2); transition: all .2s var(--ease); }
.chip:hover { border-color: #c8ff3e66; color: var(--text); }
.chip.on { background: #c8ff3e1f; border-color: #c8ff3e88; color: var(--lime); }
.chip small { color: var(--text-3); }
.chip.new { animation: chipIn .4s var(--ease); }
@keyframes chipIn { from { opacity: 0; transform: scale(.7); } }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font: 600 var(--fs-xs) Inter; border: 1px solid; white-space: nowrap; }
.st-live { color: var(--lime); border-color: #c8ff3e44; background: #c8ff3e10; }
.st-limited { color: var(--orange); border-color: #ff9a3d55; background: #ff9a3d12; }
.st-ended, .st-personal, .st-staff { color: var(--text-2); border-color: var(--border-2); }
.badge { display: inline-flex; align-items: center; height: 28px; padding: 0 var(--s3); border-radius: var(--r-pill); font: 600 var(--fs-xs) Inter; border: 1px solid #ffaa0055; color: #ffd27a; background: #ffaa0012; white-space: nowrap; }
.link { color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; transition: color .2s, gap .2s; }
.link:hover { color: var(--lime); gap: 9px; }

/* ============ surfaces ============ */
.card { position: relative; min-width: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); backdrop-filter: blur(20px) saturate(140%); border: 1px solid var(--border); border-radius: var(--r-out); padding: var(--pad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.card.accent { background: radial-gradient(120% 90% at 100% 0%, #c8ff3e1c, transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); }
.card-h { display: flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s4); }
.card-h > :last-child:not(:first-child) { margin-left: auto; }
.card-t { font: 600 var(--fs-md) Inter; color: var(--text); }
.note { color: var(--text-3); font-size: var(--fs-xs); margin-top: var(--s4); }
.page { padding: var(--s6) 0 var(--s8); }
.page > * { animation: rise .5s var(--ease) both; }
.page > :nth-child(2) { animation-delay: .04s; } .page > :nth-child(3) { animation-delay: .08s; } .page > :nth-child(n+4) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.page-h { display: grid; gap: var(--s3); margin-bottom: var(--s6); max-width: 760px; }
.page-h h1 { font: 800 var(--fs-2xl)/1.1 Inter; letter-spacing: -.03em; }
.page-h p { color: var(--text-2); font-size: var(--fs-md); }
.crumbs { display: flex; gap: var(--s2); color: var(--text-3); font-size: var(--fs-sm); margin-bottom: var(--s4); }
.crumbs a { color: var(--text-2); transition: color .2s; } .crumbs a:hover { color: var(--lime); }
.grid { display: grid; gap: var(--s4); }
.row { display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; }
.stack { display: grid; gap: var(--s4); align-content: start; min-width: 0; }
.empty { padding: var(--s8) var(--s5); text-align: center; color: var(--text-2); }
.empty h2 { color: var(--text); margin-bottom: var(--s2); font-size: var(--fs-xl); }
.section { margin-top: var(--s8); }
.section-h { display: flex; align-items: baseline; gap: var(--s3); margin-bottom: var(--s4); }
.section-h h2 { font: 700 var(--fs-xl) Inter; letter-spacing: -.02em; }
.section-h a { margin-left: auto; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

/* tooltip */
.mctip { padding: var(--s3) var(--s4); border-radius: 14px; background: rgba(10, 12, 9, .95); backdrop-filter: blur(16px); border: 1px solid var(--border-2); box-shadow: 0 18px 40px -12px #000; }
.mctip .t { display: block; font-weight: 700; font-size: var(--fs-md); }
.mctip .l { display: block; color: var(--text-2); font-size: 13px; line-height: 1.7; }
.mctip .l b { color: var(--text); font-weight: 600; }
.mctip hr { border: 0; height: 1px; background: var(--border); margin: 6px 0; }

/* loader: enchanting-table glyphs wave and glow */
.loader { display: grid; place-items: center; gap: var(--s4); padding: 120px var(--s5); }
.glyphs { display: flex; gap: 6px; font-size: 28px; color: var(--lime); }
.glyphs span { display: inline-block; animation: glyph 1.4s var(--ease) infinite; text-shadow: 0 0 6px #c8ff3e, 0 0 18px #c8ff3e99, 0 0 36px #c8ff3e55; }
@keyframes glyph { 0%, 100% { transform: translateY(0); opacity: .35; text-shadow: 0 0 2px #c8ff3e44; } 40% { transform: translateY(-8px); opacity: 1; text-shadow: 0 0 8px #c8ff3e, 0 0 22px #c8ff3ecc, 0 0 44px #c8ff3e77; } }
.loader p { color: var(--text-2); font-size: var(--fs-sm); }
.skeleton { background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)) 0 0 / 200% 100%; animation: shimmer 1.3s linear infinite; border-radius: var(--r-in); }
@keyframes shimmer { to { background-position: -200% 0; } }
.is-loading { opacity: .5; transition: opacity .2s; pointer-events: none; }

/* ============ character card ============ */
.char-card { --glow: #c8ff3e; --feet: .75; position: relative; height: 580px; border-radius: var(--r-out); overflow: hidden; isolation: isolate; border: 1px solid var(--border);
  background: radial-gradient(50% 36% at 50% calc(var(--feet) * 100%), color-mix(in srgb, var(--glow) 26%, transparent), transparent 72%), linear-gradient(180deg, #121510, #080907); }
.char-card .floor { position: absolute; left: 50%; top: calc(var(--feet) * 100%); width: 200px; height: 34px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, #000a, transparent); z-index: 1; }
.char-card .viewer { position: absolute; inset: 0; z-index: 2; }
.char-card .corner { position: absolute; top: var(--s4); right: var(--s4); z-index: 3; display: flex; gap: var(--s2); }
.viewer canvas { position: absolute; inset: 0; z-index: 1; width: 100% !important; height: 100% !important; cursor: grab; outline: none; }
.viewer canvas:active { cursor: grabbing; }
.hotbar { position: absolute; left: 50%; bottom: var(--s4); transform: translateX(-50%); z-index: 3; display: flex; gap: 2px; padding: var(--s1); border-radius: var(--r-pill); background: rgba(0, 0, 0, .6); backdrop-filter: blur(14px); border: 1px solid var(--border); max-width: calc(100% - 24px); }
.hotbar button { height: 32px; min-width: 32px; padding: 0 11px; display: grid; place-items: center; border: 0; border-radius: var(--r-pill); background: none; color: var(--text-2); font: 600 12.5px Inter; cursor: pointer; transition: color .2s, background .2s; }
.hotbar button:hover { color: var(--text); background: var(--surface-2); }
.hotbar button.on { color: var(--ink); background: var(--lime); }
.hotbar i { width: 1px; background: var(--border-2); margin: 6px var(--s1); }

/* ============ tiles ============ */
.tiles { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.tiles > .empty { grid-column: 1 / -1; }
.tiles-row { grid-template-columns: repeat(7, minmax(0, 1fr)); } /* one full row */
@media (max-width: 1100px) { .tiles-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tiles-row > :nth-child(n+5) { display: none; } }
@media (max-width: 640px) { .tiles-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tiles.is-loading { opacity: .45; }
.tile { position: relative; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.tile:hover { transform: translateY(-4px); border-color: #c8ff3e40; box-shadow: 0 22px 40px -24px #000; z-index: 4; }
.tile-stage { border-radius: 20px 20px 0 0; overflow: hidden; padding: var(--s3) var(--s3) 0; background: radial-gradient(50% 12% at 50% 92%, #0007, transparent); }
.tile-foot { display: grid; gap: 2px; padding: var(--s3) var(--s4) 14px; border-top: 1px solid var(--border); }
.tile-foot b { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-sub { color: var(--text-3); font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .mctip { position: absolute; left: 50%; bottom: calc(100% - 24px); transform: translate(-50%, 6px); width: max-content; max-width: 240px; opacity: 0; pointer-events: none; transition: .2s var(--ease); z-index: 5; }
.tile:hover .mctip { opacity: 1; transform: translate(-50%, 0); }
.r3d-wrap { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; transition: transform .4s var(--ease); }
.r3d-wrap img { width: 100%; height: 100%; object-fit: contain; }
.r3d-wrap img:not([src]) { visibility: hidden; }
.r3d-wrap:not(.ready) { border-radius: var(--r-in); background: linear-gradient(90deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)) 0 0 / 200% 100%; animation: shimmer 1.3s linear infinite; }
.tile:hover .r3d-wrap { transform: scale(1.05); }
.cape-art { aspect-ratio: 10 / 16; image-rendering: pixelated; background-size: 640% 200%; background-position: 1.852% 6.25%; border-radius: 2px; flex: none; }
.cape-art.none { background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .06) 0 6px, rgba(255, 255, 255, .02) 6px 12px); }
.head { image-rendering: pixelated; border-radius: var(--r-in); flex: none; background: var(--surface-2); }
.slots { display: flex; flex-wrap: wrap; gap: var(--s2); }
.slot { position: relative; width: 64px; height: 64px; display: grid; place-items: center; background: var(--sunken); border: 1px solid var(--border); border-radius: var(--r-in); transition: transform .2s var(--ease), border-color .2s; }
.slot:hover { transform: translateY(-2px); border-color: #c8ff3e66; }
.slot.on { border-color: var(--lime); }
.slot img { width: 40px; height: 40px; image-rendering: pixelated; border-radius: 4px; }
.slot .cape-art { width: 24px; }
.slot .mctip { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 6px); width: max-content; max-width: 240px; opacity: 0; pointer-events: none; transition: .2s var(--ease); z-index: 6; }
.slot:hover .mctip { opacity: 1; transform: translate(-50%, 0); }

/* ============ profile / detail layout ============ */
.split { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: var(--s4); align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); } .split > aside, .split > .stack { display: contents; } .split .char-card { order: -3; height: 480px; } .split .idcard { order: -2; } }
.idcard { display: grid; gap: var(--s5); padding: var(--s5); }
.idhead { display: flex; align-items: center; gap: var(--s4); min-width: 0; }
.avatar { width: 72px; height: 72px; flex: none; border-radius: 18px; image-rendering: pixelated; background: #1a1f14; box-shadow: 0 0 0 2px var(--lime); }
.pname { font: 800 44px/1.05 Inter; letter-spacing: -.035em; }
.verified { display: inline-flex; align-items: center; gap: 5px; color: var(--lime); font-weight: 600; font-size: var(--fs-sm); margin-top: 4px; }
.pbio { color: var(--text-2); max-width: 620px; }
.statrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: calc(var(--r-out) - var(--s5)); background: var(--sunken); }
.statrow > div { padding: 14px var(--s4); min-width: 0; }
.statrow > div + div { border-left: 1px solid var(--border); }
.statrow b { display: block; font-size: var(--fs-xl); font-weight: 700; line-height: 1.15; }
.statrow span { color: var(--text-3); font-size: 13px; }
.statrow b.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: translateY(-4px); color: var(--lime); } }
.uuid { display: flex; align-items: center; gap: 10px; width: 100%; background: var(--sunken); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 10px var(--s4); font: 500 13px var(--mono); color: var(--text-2); cursor: pointer; transition: border-color .2s, color .2s; min-width: 0; }
.uuid span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; text-align: left; }
.uuid:hover { border-color: #c8ff3e66; color: var(--text); }
.uuid em { color: var(--lime); font: 600 var(--fs-xs) Inter; }
@media (max-width: 520px) { .statrow > div { padding: var(--s3); } .pname { font-size: 34px; } .avatar { width: 56px; height: 56px; border-radius: 14px; } }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: flex; align-items: baseline; gap: var(--s4); padding: 0 0 var(--s4) 26px; flex-wrap: wrap; }
.timeline li::before { content: ''; position: absolute; left: 4px; top: 14px; bottom: -2px; width: 2px; background: var(--border-2); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.timeline li:first-child::after { background: var(--lime); }
.timeline b { font-size: var(--fs-lg); font-weight: 700; }
.timeline span { color: var(--text-3); font-size: 13px; margin-left: auto; }
.console { display: flex; align-items: center; gap: 10px; background: rgba(0, 0, 0, .5); border: 1px solid var(--border); border-radius: var(--r-in); padding-left: var(--s4); font: 13px var(--mono); color: #e8ece2; overflow: hidden; }
.console code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; padding: 14px 0; scrollbar-width: none; }
.console .caret { color: var(--lime); }
.console button { align-self: stretch; display: inline-flex; align-items: center; gap: 6px; border: 0; border-left: 1px solid var(--border); background: rgba(255, 255, 255, .04); padding: 0 var(--s4); font: 600 13px Inter; cursor: pointer; color: var(--text-2); transition: background .2s, color .2s; min-width: 92px; justify-content: center; }
.console button:hover { background: var(--lime); color: var(--ink); }
.field-l { font: 600 13px Inter; color: var(--text-3); margin-bottom: var(--s2); }
.profiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--s3); }
.profiles a { display: flex; align-items: center; gap: var(--s3); padding: var(--s3); border-radius: 18px; border: 1px solid var(--border); background: var(--surface); transition: transform .25s var(--ease), border-color .2s; min-width: 0; }
.profiles a:hover { transform: translateY(-2px); border-color: #c8ff3e40; }
.profiles a > div { min-width: 0; }
.profiles b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profiles img { width: 44px; height: 44px; border-radius: 6px; }
.profiles small { display: block; color: var(--text-3); font-size: var(--fs-xs); }
.socials { display: flex; flex-wrap: wrap; gap: var(--s2); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5) var(--s4); }
.facts > div { min-width: 0; }
.facts span { display: block; color: var(--text-3); font-size: 13px; margin-bottom: 2px; }
.facts b { font-weight: 700; font-size: var(--fs-lg); }
@media (max-width: 520px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.users { display: flex; flex-wrap: wrap; gap: 6px; }
.users a { display: inline-flex; align-items: center; gap: 6px; padding: 3px var(--s3) 3px 3px; border-radius: var(--r-pill); border: 1px solid var(--border-2); font-size: 13px; font-weight: 500; transition: border-color .2s; }
.users a:hover { border-color: #c8ff3e66; }
.users img { width: 24px; height: 24px; border-radius: 50%; }
.dock { position: fixed; left: 50%; bottom: 22px; z-index: 25; transform: translate(-50%, 30px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .2s, visibility .2s;
  display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s2) var(--s2) 10px; border-radius: var(--r-pill); background: rgba(12, 14, 10, .85); backdrop-filter: blur(18px); border: 1px solid var(--border-2); box-shadow: 0 20px 50px -10px #000; max-width: calc(100% - 32px); }
.dock.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.dock img { width: 30px; height: 30px; border-radius: 6px; }
.dock b { padding-right: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ countdown + Minecraft XP bar ============ */
.countdown { display: flex; gap: var(--s2); flex-wrap: wrap; }
.countdown div { min-width: 62px; padding: 10px var(--s2) var(--s2); text-align: center; background: var(--sunken); border: 1px solid var(--border); border-radius: var(--r-in); }
.countdown b { display: block; font-size: var(--fs-xl); font-weight: 700; line-height: 1.1; color: var(--orange); }
.countdown span { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.xp-wrap { display: grid; gap: 2px; max-width: 364px; }
.xp-level { justify-self: center; font: 400 20px var(--pixel); color: #80ff20; line-height: 1;
  text-shadow: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 2px 2px 0 #000; }
/* the HUD bar: black frame, dark track with notches, green fill with a highlight row */
.xp { position: relative; height: 14px; background: #1d1d1d; border: 2px solid #000; image-rendering: pixelated; box-shadow: inset 0 2px 0 #0b0b0b; }
.xp i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(#b5ff6e 0 2px, #80ff20 2px 6px, #4fc410 6px); transition: width .6s var(--ease); }
.xp::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 18 - 2px), #000a calc(100% / 18 - 2px) calc(100% / 18)); }
.levels { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.levels li { display: flex; gap: var(--s3); align-items: flex-start; color: var(--text-2); min-width: 0; }
.levels em { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 700 var(--fs-xs) Inter; color: var(--ink); background: var(--lime); margin-top: -1px; }

/* ============ home ============ */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: var(--s6); align-items: center; min-height: 600px; padding: var(--s7); border-radius: 32px; overflow: hidden; isolation: isolate; border: 1px solid var(--border); }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: url(img/nether.webp) center / cover no-repeat; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #070807f2 0%, #070807d9 34%, #07080766 62%, #07080733 100%), linear-gradient(transparent 60%, #070807 100%); }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); max-width: 580px; min-width: 0; }
.hero-title { font: 800 var(--fs-3xl)/1.04 Inter; letter-spacing: -.04em; }
.hero-title span { color: var(--lime); }
.hero-sub { color: var(--text-2); font-size: var(--fs-lg); line-height: 1.5; }
.hero-search { position: relative; display: flex; gap: var(--s2); padding: 6px; border-radius: var(--r-pill); background: rgba(0, 0, 0, .55); border: 1px solid var(--border-2); backdrop-filter: blur(14px); transition: border-color .2s, box-shadow .2s; }
.hero-search:focus-within { border-color: #c8ff3e88; box-shadow: 0 0 0 4px #c8ff3e1a; }
.hero-search .field { flex: 1; min-width: 0; height: 56px; border: 0; background: none; font-size: 17px; padding-left: 18px; box-shadow: none; }
.hero-try { display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; color: var(--text-2); font-size: var(--fs-sm); }
.hero-try a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 var(--s3) 0 4px; border-radius: var(--r-pill); background: rgba(0, 0, 0, .5); border: 1px solid var(--border-2); color: var(--text); font-weight: 500; transition: border-color .2s; }
.hero-try a:hover { border-color: #c8ff3e88; }
.hero-try img { width: 24px; height: 24px; border-radius: 50%; }
/* live product preview */
.preview { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--s4); padding: var(--pad); border-radius: var(--r-out); background: rgba(10, 12, 9, .78); backdrop-filter: blur(20px); border: 1px solid var(--border-2); box-shadow: 0 30px 60px -20px #000; transition: transform .3s var(--ease), border-color .2s; }
.preview:hover { transform: translateY(-4px); border-color: #c8ff3e55; }
.preview .r3d-wrap { border-radius: var(--r-in); background: radial-gradient(60% 20% at 50% 92%, #c8ff3e33, transparent), var(--sunken); }
.preview .who { display: grid; gap: var(--s3); align-content: center; min-width: 0; }
.preview .name { font: 800 var(--fs-xl) Inter; letter-spacing: -.02em; }
.preview .mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.preview .mini b { display: block; font-size: var(--fs-lg); font-weight: 700; }
.preview .mini span { color: var(--text-3); font-size: var(--fs-xs); }
.preview .capeline { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-sm); color: var(--text-2); }
.preview .capeline .cape-art { width: 14px; }
.preview .kicker { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; color: var(--text-3); font-size: var(--fs-xs); padding-top: var(--s3); border-top: 1px solid var(--border); }
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: var(--s6) var(--s5); min-height: 0; }
  .hero-title { font-size: 40px; }
  .hero-bg::after { background: linear-gradient(#070807e6, #070807cc 50%, #070807); }
}
@media (max-width: 520px) { .hero-title { font-size: 32px; } .hero-sub { font-size: var(--fs-md); } .hero-search .btn.lg { padding: 0 18px; } .hero-search .field { font-size: 15px; padding-left: 12px; } .preview { grid-template-columns: 100px minmax(0, 1fr); } }
/* main features, big */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.feature { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: var(--s2); min-height: 240px; padding: var(--s5); border-radius: var(--r-out); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); overflow: hidden; transition: transform .3s var(--ease), border-color .25s; }
.feature:hover { transform: translateY(-4px); border-color: #c8ff3e40; }
.feature h3 { font: 700 var(--fs-xl)/1.2 Inter; letter-spacing: -.02em; padding-right: 48px; }
.feature p { color: var(--text-2); max-width: 420px; }
.feature .go { position: absolute; top: var(--s5); right: var(--s5); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); border: 1px solid var(--border-2); transition: all .3s var(--ease); }
.feature:hover .go { color: var(--ink); background: var(--lime); border-color: var(--lime); transform: rotate(-45deg); }
.feature .show { align-self: end; display: flex; gap: var(--s3); align-items: flex-end; margin-top: var(--s4); min-width: 0; overflow: hidden; }
.feature .show .r3d-wrap { width: 92px; flex: none; }
.feature .show .cape-art { width: 40px; }
.feature .show .head { width: 52px; height: 52px; border-radius: var(--r-in); }
.feature .drops { display: grid; gap: var(--s2); width: 100%; }
.feature .drops div { display: flex; justify-content: space-between; gap: var(--s3); padding: 10px var(--s4); border-radius: var(--r-in); background: var(--sunken); border: 1px solid var(--border); }
@media (max-width: 860px) { .features { grid-template-columns: minmax(0, 1fr); } .feature { min-height: 0; } }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; padding: var(--s6) var(--s7); border-radius: var(--r-out); border: 1px solid #c8ff3e40;
  background: radial-gradient(80% 140% at 100% 50%, #c8ff3e26, transparent 60%), linear-gradient(180deg, #11150d, #0a0c08); }
.cta-band h2 { font: 800 30px/1.15 Inter; letter-spacing: -.025em; max-width: 620px; }
.cta-band p { color: var(--text-2); margin-top: var(--s2); max-width: 620px; }
@media (max-width: 640px) { .cta-band { padding: var(--s5); } .cta-band h2 { font-size: var(--fs-xl); } }

/* latest drop: compact card, full Hero art in its own box on the left */
.drop { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: var(--s5); align-items: center; padding: var(--s4); border-radius: var(--r-out); }
.drop-img { display: block; aspect-ratio: 1170 / 500; border-radius: calc(var(--r-out) - var(--s4)); overflow: hidden; border: 1px solid #ffffff14; background: #000; }
.drop-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.drop:hover .drop-img img { transform: scale(1.03); }
.drop-main { display: grid; gap: var(--s3); min-width: 0; padding-right: var(--s3); }
.drop h2 { font: 700 clamp(18px, 1.6vw, 22px)/1.25 Inter; letter-spacing: -.02em; text-wrap: balance; }
@media (max-width: 760px) { .drop { grid-template-columns: minmax(0, 1fr); } .drop-main { padding: 0 var(--s2) var(--s2); } }
.drop-bg { position: absolute; inset: 0; z-index: -1; border-radius: inherit; border: 1px solid #ff9a3d33; overflow: hidden;
  background: radial-gradient(55% 110% at 85% 80%, #c4161f99, transparent 65%), radial-gradient(35% 60% at 90% 30%, #ffc94d26, transparent 70%), linear-gradient(115deg, #0e0907 0%, #170b09 55%, #2b0e0c 100%); }
.drop-bg::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 46px, #ffffff05 46px 47px); }
.drop-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; }
.drop-timer { display: flex; align-items: flex-end; gap: var(--s5); flex-wrap: wrap; }
.drop-timer .xp-wrap { width: 240px; }
.drop-timer p { margin-top: 6px; }

/* charts, lists */
.chart-bars { display: grid; gap: var(--s3); }
.bar-row { display: flex; align-items: center; gap: var(--s3); min-width: 0; }
.bar-row > span:first-child { width: 128px; flex: none; font-size: var(--fs-sm); color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.bar-row .bar { flex: 1; height: 8px; background: rgba(255, 255, 255, .06); border-radius: var(--r-pill); overflow: hidden; min-width: 30px; }
.bar-row .bar i { display: block; height: 100%; border-radius: var(--r-pill); background: var(--lime); transform-origin: left; animation: grow .8s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.bar-row .num { color: var(--text-3); font-size: 13px; width: 80px; flex: none; text-align: right; }
a.bar-row:hover > span:first-child { color: var(--lime); }
.vbars { display: flex; align-items: flex-end; gap: var(--s1); height: 120px; }
.vbars i { flex: 1; min-height: 3px; border-radius: 4px 4px 1px 1px; background: var(--lime); opacity: .7; position: relative; transition: opacity .2s; transform-origin: bottom; animation: growY .7s var(--ease) both; }
@keyframes growY { from { transform: scaleY(0); } }
.vbars i:hover { opacity: 1; }
.vbars i:hover::after { content: attr(data-t); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: rgba(10, 12, 9, .95); border: 1px solid var(--border-2); padding: 4px 10px; border-radius: var(--r-pill); font: 500 var(--fs-xs) Inter; white-space: nowrap; }
.list { display: grid; }
.list-row { display: flex; align-items: center; gap: var(--s3); padding: 11px 0; border-top: 1px solid var(--border); min-width: 0; }
.list-row:first-child { border-top: 0; padding-top: 0; }
.list-row b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.list-row span { color: var(--text-3); font-size: 13px; margin-left: auto; white-space: nowrap; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font: 600 var(--fs-xs) Inter; color: var(--text-3); padding: 0 18px var(--s3); }
.table td { padding: 13px 18px; border-top: 1px solid var(--border); transition: background .2s; }
.table tr:hover td { background: #c8ff3e08; }
.table .nm { font-weight: 600; }
.table .r { text-align: right; }
.free { color: var(--lime); font-weight: 600; }
.bell.on { color: var(--lime); border-color: #c8ff3e66; }
.filters { display: flex; gap: var(--s4); align-items: center; flex-wrap: wrap; }
.filters label { display: inline-flex; align-items: center; gap: var(--s2); color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; }
.filters .field { height: 38px; }
input[type=checkbox] { accent-color: var(--lime); width: 16px; height: 16px; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .14); cursor: pointer; transition: transform .2s var(--ease); }
.swatch:hover { transform: scale(1.12); }
.swatch.on { outline: 2px solid var(--lime); outline-offset: 2px; }
.toolbar { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s5); }

/* ============ dialog, toast, footer, mobile ============ */
dialog { background: rgba(14, 16, 12, .94); backdrop-filter: blur(24px); color: var(--text); border: 1px solid var(--border-2); border-radius: var(--r-out); padding: 0; width: min(560px, calc(100% - 32px)); box-shadow: 0 30px 80px -20px #000; }
dialog[open] { animation: rise .3s var(--ease); }
dialog::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); }
.dlg-in { padding: var(--s6); position: relative; display: grid; gap: var(--s4); }
.dlg-in h2 { font: 800 var(--fs-xl) Inter; letter-spacing: -.02em; padding-right: var(--s7); }
.dlg-close { position: absolute; top: var(--s5); right: var(--s5); }
.glows { display: flex; gap: 10px; flex-wrap: wrap; }
.glows button { width: 40px; height: 40px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; background: var(--c); transition: transform .2s var(--ease); }
.glows button:hover { transform: scale(1.1); }
.glows button.on { border-color: #fff; }
.toast { position: fixed; left: 50%; top: 80px; transform: translate(-50%, -10px); opacity: 0; transition: .25s var(--ease); z-index: 50; pointer-events: none; display: flex; gap: var(--s2); align-items: center; height: 40px; padding: 0 18px; border-radius: var(--r-pill); background: var(--lime); color: var(--ink); font-weight: 600; font-size: var(--fs-sm); box-shadow: 0 10px 30px -10px #c8ff3e99; }
.toast.err { background: var(--red); color: #fff; box-shadow: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.foot { padding: var(--s7) 0; margin-top: var(--s7); border-top: 1px solid var(--border); }
.foot-in { display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: var(--s5); font-size: var(--fs-sm); color: var(--text-2); }
.foot-in p + p { margin-top: var(--s2); }
.soon-tag { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--lime); border: 1px solid #c8ff3e55; border-radius: var(--r-pill); padding: 0 6px; margin-left: 4px; }
.users .more { display: inline-flex; align-items: center; padding: 3px var(--s3); border-radius: var(--r-pill); border: 1px dashed var(--border-2); font-size: 13px; color: var(--text-2); }
.card.soon { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); }
.card.soon h2 { margin: var(--s2) 0; }
.card.soon p { max-width: 560px; }
.soon-art { flex: none; width: 96px; height: 96px; display: grid; place-items: center; border-radius: var(--r-in); background: var(--sunken); border: 1px dashed var(--border-2); color: var(--lime); }
.legal { max-width: 760px; margin: var(--s6) auto; }
.legal h1 { font-size: var(--fs-2xl, 32px); margin-bottom: var(--s2); }
.legal h2 { font-size: var(--fs-lg, 18px); margin: var(--s6) 0 var(--s2); }
.legal p, .legal li { color: var(--text-2); line-height: 1.65; }
.legal ul { padding-left: 1.2em; margin: var(--s2) 0; }
.legal li { margin: 4px 0; }
.foot-in a { display: block; color: var(--text-2); margin-top: 6px; transition: color .2s; }
.foot-in a:hover { color: var(--lime); }
.foot-in .card-t { margin-bottom: var(--s1); }
.tabbar { display: none; }
@media (max-width: 760px) {
  .wrap { padding: 0 var(--s4); }
  .tabbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: rgba(8, 9, 7, .92); backdrop-filter: blur(18px); border-top: 1px solid var(--border); }
  .tabbar a { flex: 1; text-align: center; padding: 14px 0; color: var(--text-2); font-weight: 600; font-size: 13px; }
  .tabbar a.on { color: var(--lime); }
  body { padding-bottom: 58px; }
  .dock { bottom: 74px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > :first-child { grid-column: 1 / -1; }
  .card.soon { flex-direction: column; align-items: flex-start; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .page-h h1 { font-size: 28px; }
  .table .hide-s { display: none; }
  .hotbar button { padding: 0 8px; font-size: 12px; }
  :root { --pad: 18px; }
}

/* ============ round 8: social profiles, servers, showcase ============ */
.vb { flex: none; display: block; }
.vb-s { fill: none; stroke: var(--text-3); stroke-width: 1.6; }
.vb-c { fill: none; stroke: var(--text-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vb.on .vb-s { fill: #22c55e; stroke: #22c55e; }
.vb.on .vb-c { stroke: #fff; stroke-width: 2.4; }
/* profile header: banner + overlapping head, like a social profile */
.phead { position: relative; border-radius: var(--r-out); border: 1px solid var(--border); overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); }
.phead-banner { height: 220px; background: center / cover no-repeat; position: relative; }
.phead-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, #0c0e0bcc); }
.phead-body { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s5); align-items: end; padding: 0 var(--s5) var(--s5); }
.phead .avatar { width: 112px; height: 112px; margin-top: -56px; position: relative; z-index: 1; border-radius: 22px; box-shadow: 0 0 0 4px #0c0e0b, 0 0 0 6px var(--lime); }
.phead-id { display: grid; gap: 6px; min-width: 0; }
.stats-inline { display: flex; flex-wrap: wrap; gap: var(--s4); color: var(--text-3); font-size: var(--fs-sm); }
.stats-inline b { color: var(--text); font-weight: 700; display: inline-block; }
.stats-inline b.bump { animation: bump .5s var(--ease); }
.phead-actions { gap: var(--s2); justify-content: flex-end; }
@media (max-width: 860px) { .phead-banner { height: 150px; } .phead-body { grid-template-columns: minmax(0, 1fr); gap: var(--s3); } .phead .avatar { width: 88px; height: 88px; margin-top: -44px; } .phead-actions { justify-content: flex-start; } }
.bio-empty { display: flex; align-items: center; gap: var(--s2); width: 100%; padding: var(--s4); border-radius: var(--r-in); border: 1px dashed var(--border-2); background: none; color: var(--text-2); font-weight: 500; cursor: pointer; text-align: left; transition: border-color .2s, color .2s; }
.bio-empty:hover { border-color: #c8ff3e88; color: var(--text); }
.bio-empty.static { display: grid; gap: var(--s3); cursor: default; justify-items: start; }
.bio-empty.static:hover { border-color: var(--border-2); color: var(--text-2); }
.composer { display: grid; gap: var(--s2); margin-bottom: var(--s4); }
.composer textarea { min-height: 72px; }
.comments { display: grid; gap: var(--s4); }
.comment { display: flex; gap: var(--s3); align-items: flex-start; }
.comment .head { width: 36px; height: 36px; border-radius: 6px; }
.comment p { white-space: pre-wrap; color: var(--text-2); margin-top: 2px; overflow-wrap: anywhere; }
.comment .c-del { margin-left: auto; width: 28px; height: 28px; opacity: 0; transition: opacity .2s; }
.comment:hover .c-del, .comment .c-del:focus { opacity: 1; }
.comment.new { animation: rise .45s var(--ease); }
.locator { position: relative; height: 10px; border-radius: var(--r-pill); background: linear-gradient(90deg, #e64d4d, #e6c84d, #7be64d, #4de6a8, #4dbde6, #6a4de6, #d44de6, #e64d4d); opacity: .9; }
.locator i { position: absolute; top: 50%; width: 20px; height: 20px; transform: translate(-50%, -50%); border-radius: 6px; border: 3px solid #0c0e0b; box-shadow: 0 0 0 1px var(--border-2), 0 4px 12px #000; }
.swatch-dot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.banners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.banners button { height: 64px; border-radius: var(--r-in); border: 2px solid transparent; background: center / cover; cursor: pointer; display: flex; align-items: flex-end; padding: 6px 8px; color: #fff; font: 600 var(--fs-xs) Inter; text-shadow: 0 1px 3px #000; transition: transform .2s var(--ease); }
.banners button:hover { transform: scale(1.03); }
.banners button.on { border-color: var(--lime); }
/* home showcase */
.showcase { position: relative; }
.showcase .slides { display: grid; perspective: 1200px; padding: var(--pad); border-radius: var(--r-out); background: rgba(10, 12, 9, .78); backdrop-filter: blur(20px); border: 1px solid var(--border-2); box-shadow: 0 30px 60px -20px #000; transition: transform .3s var(--ease), border-color .2s; }
.showcase .slides:hover { transform: translateY(-4px); border-color: #c8ff3e55; }
/* the glass lives on the static frame above; slides only fade their content, so the blur never has to re-render */
.showcase .slide .preview { padding: 0; background: none; backdrop-filter: none; border: 0; box-shadow: none; transform: none; }
.showcase .slide { grid-area: 1 / 1; opacity: 0; transform: translateX(24px) scale(.98); transition: opacity .5s var(--ease), transform .7s var(--ease); pointer-events: none; }
.showcase .slide.on { opacity: 1; transform: none; pointer-events: auto; }
.showcase .slide.out { transform: translateX(-24px) scale(.98); }
.showcase .slide.on .r3d-wrap, .showcase .slide.on .srv-big { animation: lift .9s var(--ease) both .1s; }
@keyframes lift { from { transform: translateY(14px) scale(.94); opacity: 0; } }
.showcase .dots { display: flex; justify-content: center; gap: 6px; margin-top: var(--s3); }
.showcase .dots button { width: 8px; height: 8px; border-radius: var(--r-pill); border: 0; padding: 0; background: rgba(255, 255, 255, .3); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.showcase .dots button.on { width: 28px; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; }
.showcase .dots button.on::after { content: ''; position: absolute; inset: 0; background: var(--lime); transform-origin: left; animation: progress 6s linear both; }
.showcase:hover .dots button.on::after { animation-play-state: paused; }
@keyframes progress { from { transform: scaleX(0); } }
.preview .kind { display: block; color: var(--lime); font-size: var(--fs-xs); font-weight: 600; margin-bottom: 2px; }
.preview .name { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; overflow-wrap: anywhere; min-width: 0; }
.preview .who > div { min-width: 0; }
@media (max-width: 520px) { .preview .name { font-size: var(--fs-lg); } }
.srv-slide { grid-template-columns: 96px minmax(0, 1fr); align-items: center; }
.srv-big { width: 96px; height: 96px; border-radius: var(--r-in); image-rendering: pixelated; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); flex: none; display: inline-block; }
.dot.on { background: #22c55e; box-shadow: 0 0 0 3px #22c55e33; animation: live 2s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 6px #22c55e11; } }
/* page banners */
.banner-h { position: relative; display: grid; gap: var(--s3); align-content: end; min-height: 240px; padding: var(--s6); border-radius: var(--r-out); overflow: hidden; isolation: isolate; border: 1px solid var(--border); }
.banner-h::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #070807f0 0%, #070807b3 45%, #07080733 100%), var(--img) center / cover no-repeat; }
.banner-h h1 { font: 800 var(--fs-2xl)/1.1 Inter; letter-spacing: -.03em; max-width: 720px; }
.banner-h p { color: var(--text-2); max-width: 620px; }
@media (max-width: 640px) { .banner-h { padding: var(--s5); min-height: 200px; } .banner-h h1 { font-size: 28px; } }
/* servers */
.sotw { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s4); align-items: center; padding: var(--s4) var(--s5); border-radius: var(--r-out); border: 1px solid #c8ff3e40; overflow: hidden; isolation: isolate; }
.sotw-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #070807f2, #070807cc 60%, #07080780), url(img/dungeons.webp) center / cover; }
.sotw-icon { width: 76px; height: 76px; border-radius: var(--r-in); image-rendering: pixelated; box-shadow: 0 10px 30px #000a; }
.sotw-body { display: grid; gap: var(--s2); justify-items: start; min-width: 0; }
.sotw-body { gap: 4px; }
.sotw-body h2 { font: 800 var(--fs-xl)/1.15 Inter; letter-spacing: -.025em; }
@media (max-width: 760px) { .sotw { grid-template-columns: minmax(0, 1fr); padding: var(--s5); } .sotw-icon { width: 80px; height: 80px; } }
.srv-list { padding: 0; overflow: hidden; }
.srv { display: grid; grid-template-columns: 32px 48px minmax(0, 1fr) 96px 150px auto; gap: var(--s4); align-items: center; padding: var(--s3) var(--s5); border-top: 1px solid var(--border); transition: background .2s; }
.srv:first-child { border-top: 0; }
.srv:hover { background: #c8ff3e08; }
.srv .rank { color: var(--text-3); font-weight: 700; text-align: right; }
.srv-icon { width: 48px; height: 48px; border-radius: 8px; image-rendering: pixelated; }
.srv-noicon { display: grid; place-items: center; background: var(--surface-2); color: var(--text-3); }
.srv-main { min-width: 0; }
.srv-players { text-align: right; }
.srv-players b { display: block; font-size: var(--fs-lg); }
.srv-players span { color: var(--text-3); font-size: var(--fs-xs); }
@media (max-width: 860px) { .srv { grid-template-columns: 24px 40px minmax(0, 1fr) auto; padding: var(--s3) var(--s4); } .srv-icon { width: 40px; height: 40px; } .srv-ver, .srv .btn { display: none; } }
/* discord */
.discord { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; padding: var(--s7); border-radius: var(--r-out); overflow: hidden; isolation: isolate; border: 1px solid #5865f255; }
.discord::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0a0b1af2, #0a0b1acc 55%, #0a0b1a66), url(img/forest.webp) center / cover; }
.discord h2 { font: 800 30px/1.15 Inter; letter-spacing: -.025em; }
.discord p { color: var(--text-2); margin-top: var(--s2); max-width: 560px; }
.discord-btn { background: #5865f2; border-color: #5865f2; color: #fff; }
.discord-btn:hover { background: #6b77f5; }
.discord-btn[aria-disabled="true"] { opacity: .7; cursor: default; }
@media (max-width: 640px) { .discord { padding: var(--s5); } .discord h2 { font-size: var(--fs-xl); } }
/* recent searches */
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; padding: 6px; border-radius: 16px; background: rgba(12, 14, 10, .96); backdrop-filter: blur(18px); border: 1px solid var(--border-2); box-shadow: 0 20px 40px -12px #000; animation: rise .2s var(--ease); }
.suggest-h { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; color: var(--text-3); font-size: var(--fs-xs); font-weight: 600; }
.suggest-h button { background: none; border: 0; color: var(--text-2); cursor: pointer; font: inherit; }
.suggest-h button:hover { color: var(--lime); }
.suggest-i { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: var(--r-in); background: none; color: var(--text); text-align: left; cursor: pointer; font-size: var(--fs-sm); }
.suggest-i:hover { background: var(--surface-2); }
.suggest-i svg { color: var(--text-3); }

/* ============ titles, achievements, profile tabs ============ */
.role { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--r-pill); font: 700 var(--fs-xs) Inter; letter-spacing: .02em; color: var(--rc); background: color-mix(in srgb, var(--rc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 45%, transparent); white-space: nowrap; }
.claimno { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: var(--r-pill); font: 700 var(--fs-sm) Inter; color: var(--text-2); border: 1px solid var(--border-2); white-space: nowrap; }
.claimno.og { color: #ffd27a; border-color: #ffaa0066; background: #ffaa0012; }
.name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.ach { display: flex; gap: var(--s3); align-items: center; padding: var(--s3); border-radius: var(--r-in); background: var(--sunken); border: 1px solid var(--border); min-width: 0; transition: border-color .2s, transform .2s var(--ease); }
.ach:hover { border-color: #c8ff3e55; transform: translateY(-2px); }
.ach b { display: block; font-size: var(--fs-sm); }
.ach span { display: block; color: var(--text-3); font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptabs { display: flex; gap: var(--s1); padding: 0 var(--s5); border-top: 1px solid var(--border); }
.ptabs button { position: relative; height: 48px; padding: 0 var(--s4); border: 0; background: none; color: var(--text-2); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: var(--s2); transition: color .2s; }
.ptabs button:hover { color: var(--text); }
.ptabs button.on { color: var(--text); }
.ptabs button::after { content: ''; position: absolute; left: var(--s4); right: var(--s4); bottom: -1px; height: 2px; border-radius: 2px; background: var(--lime); transform: scaleX(0); transition: transform .3s var(--ease); }
.ptabs button.on::after { transform: scaleX(1); }
.ptabs small { color: var(--text-3); font-weight: 600; }
.pane { display: grid; gap: var(--s4); align-content: start; min-width: 0; transition: opacity .2s ease, transform .2s ease; }
.pane.leaving { opacity: 0; transform: translateY(6px); }
.pane.entering { animation: rise .4s var(--ease); }
@media (max-width: 640px) {
  .ptabs { padding: 0 var(--s2); overflow-x: auto; scrollbar-width: none; }
  .ptabs button { padding: 0 var(--s3); flex: none; }
  .ptabs button::after { left: var(--s3); right: var(--s3); }
  .feature .show { flex-wrap: wrap; }
  .feature .show .r3d-wrap { width: 64px; }
  .feature .show .head { width: 40px; height: 40px; }
  .feature .show .cape-art { width: 30px; }
}
@media (max-width: 420px) { .ptabs button svg { display: none; } }

/* ============ round 9: profile tabs as their own layouts ============ */
.pane[data-pane] { margin-top: var(--s4); }
[hidden] { display: none !important; } /* .btn, .pane etc. set display, which would otherwise beat the hidden attribute */
.socials { gap: var(--s2); margin-top: var(--s3); }
.social { display: inline-flex; align-items: center; gap: var(--s2); height: 40px; padding: 0 var(--s4); border-radius: var(--r-pill); background: var(--sunken); border: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: var(--fs-sm); transition: border-color .2s, transform .2s var(--ease); }
.social:hover { border-color: #c8ff3e88; transform: translateY(-2px); }
.social .ic { color: var(--lime); }
.idcard .bio-empty + .bio-empty, .idcard .pbio + .bio-empty { margin-top: var(--s3); }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s4); }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* comments: a wall with its own composer */
.wall { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s4); align-items: start; }
.composer-card .composer { display: flex; gap: var(--s3); margin: 0; align-items: flex-start; }
.composer .head { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.composer .grow { min-width: 0; }
.composer textarea { width: 100%; min-height: 96px; resize: vertical; }
.wall .comments { gap: 0; }
.wall .comment { padding: var(--s4) 0; border-top: 1px solid var(--border); }
.wall .comment:first-child { border-top: 0; padding-top: 0; }
.wall-side { display: grid; justify-items: center; gap: var(--s1); text-align: center; }
.wall-side .head { width: 72px; height: 72px; border-radius: 16px; margin-bottom: var(--s2); }
@media (max-width: 960px) { .wall { grid-template-columns: minmax(0, 1fr); } .wall > aside { display: none; } }
/* achievements: big icon tiles, locked ones dimmed; a small earned row in the header */
.ach-i { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; color: var(--ac, var(--lime)); background: color-mix(in srgb, var(--ac, var(--lime)) 14%, transparent); border: 1px solid color-mix(in srgb, var(--ac, var(--lime)) 30%, transparent); }
.ach-i.locked { color: var(--text-3); background: var(--sunken); border-color: var(--border); }
.ach-row { display: inline-flex; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer; }
.ach-row .ach-i { width: 26px; height: 26px; border-radius: 8px; transition: transform .2s var(--ease); }
.ach-row:hover .ach-i { transform: translateY(-2px); }
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--s3); }
.ach-grid .ach { display: grid; justify-items: center; text-align: center; gap: var(--s1); padding: var(--s5) var(--s4); }
.ach-grid .ach .ach-i { width: 64px; height: 64px; border-radius: 18px; margin-bottom: var(--s2); }
.ach-grid .ach span { white-space: normal; }
.ach-grid .ach.off { opacity: .55; }
.ach-grid .ach.off:hover { opacity: .8; }

/* about tab: card titles with an icon chip; song + server cards share one height and rhythm */
.card-h:has(.ct) { align-items: center; }
.ct { display: inline-flex; align-items: center; gap: var(--s3); }
.ct i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #c8ff3e14; border: 1px solid #c8ff3e2e; color: var(--lime); }
.duo { align-items: stretch; }
.fav { display: flex; flex-direction: column; }
.fav .sp { display: block; width: 100%; height: 152px; border: 0; border-radius: var(--r-in); margin-top: auto; }
.fav-srv { display: flex; gap: var(--s4); align-items: center; min-width: 0; padding: var(--s4); border-radius: var(--r-in); background: var(--sunken); border: 1px solid var(--border); }
.fav-srv .srv-icon { width: 64px; height: 64px; flex: none; border-radius: 12px; }
.fav-srv-t { display: grid; gap: 4px; min-width: 0; }
.fav-srv-t b { font-size: var(--fs-md); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s3); }
.fav-foot .pill { display: inline-flex; align-items: center; gap: var(--s2); font-variant-numeric: tabular-nums; }
.fav .bio-empty { margin-top: auto; }
#paneLoad .loader { padding: 80px var(--s5); }

/* about tab: pet + song + server; locked placeholders until claimed */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: var(--s4); }
.about-grid .pet-card { grid-row: span 2; }
.locked-slot { flex: 1; display: grid; place-items: center; align-content: center; gap: var(--s2); min-height: 120px; padding: var(--s4); border-radius: var(--r-in); border: 1px dashed var(--border-2); background: var(--sunken); color: var(--text-3); font-size: var(--fs-sm); text-align: center; }
.social.off { color: var(--text-3); cursor: default; border-style: dashed; }
.social.off:hover { transform: none; border-color: var(--border); }
.social.off .ic { color: var(--text-3); }
.pet-stage { position: relative; flex: 1; min-height: 300px; border-radius: var(--r-in); overflow: hidden; background: radial-gradient(60% 18% at 50% 82%, #c8ff3e22, transparent), radial-gradient(120% 90% at 50% 0%, #1b2214, var(--sunken)); }
.pet-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; }
.nametag { position: absolute; left: 50%; top: 14%; z-index: 1; transform: translateX(-50%); padding: 2px 8px 1px; background: rgba(0, 0, 0, .35); color: #fff; font: 400 16px/1.3 Minecraft, var(--pixel); pointer-events: none; white-space: nowrap; }
.pet-card .bio-empty, .pet-card .locked-slot { flex: 1; }
@media (max-width: 760px) { .about-grid { grid-template-columns: minmax(0, 1fr); } .about-grid .pet-card { grid-row: auto; } }

/* pet: name in the Minecraft font, pose + hearts bar, heart particles */
@font-face { font-family: Minecraft; src: url(fonts/Minecraft.otf) format('opentype'); font-display: swap; }
.mcname { font: 400 20px/1 Minecraft, var(--pixel); color: var(--lime); text-shadow: 2px 2px 0 #2d3a0c; margin-left: calc(var(--s1) * -1); }
.pet-card .card-h > .t3 { margin-left: auto; }
.pet-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s3); }
.pet-heart { gap: var(--s2); font-variant-numeric: tabular-nums; }
.pet-heart svg { width: 16px; height: 14px; filter: grayscale(1) brightness(.8); transition: filter .2s, transform .2s var(--ease); }
.pet-heart.on { border-color: #ff2a3d66; background: #ff2a3d14; }
.pet-heart.on svg, .pet-heart:hover svg { filter: none; }
.pet-heart:hover svg { transform: scale(1.15); }
.pet-heart b.bump { animation: bump .5s var(--ease); }
.heart-p { position: absolute; z-index: 2; width: 26px; height: 22px; margin-left: -13px; pointer-events: none; animation: heart-up 1.4s steps(14) both; }
.heart-p svg { width: 100%; height: 100%; display: block; }
@keyframes heart-up { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 15% { opacity: 1; transform: translate(calc(var(--dx) * .2), -14px) scale(1); } 100% { opacity: 0; transform: translate(var(--dx), -90px) scale(.9); } }
@media (prefers-reduced-motion: reduce) { .heart-p { animation-duration: .01s; } }

/* footer bottom bar, socials, language picker */
.foot-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--border); }
#socials { display: flex; gap: var(--s3); }
#socials a, #socials span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--text-2); transition: color .2s, background .2s; }
#socials a:hover { color: var(--lime); background: var(--sunken); }
#socials .off { opacity: .45; cursor: default; }
.foot-legal { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 12px; color: var(--text-3); text-align: right; }
.lang { display: inline-flex; margin-top: var(--s4); }
.lang select { background: var(--sunken); color: var(--text); border: 1px solid var(--border-2); border-radius: 10px; padding: 6px 10px; font: inherit; font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav-soon { display: inline-flex; align-items: center; gap: 6px; }
.nav-soon .soon-tag { margin: 0; }
/* coming-soon pages */
.soon-page { max-width: 620px; margin: var(--s8) auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s4); }
.soon-page h1 { font-size: clamp(32px, 5vw, 48px); }
.soon-art.big { width: 128px; height: 128px; }
@media (max-width: 720px) { .foot-bar { flex-direction: column; align-items: flex-start; } .foot-legal { align-items: flex-start; text-align: left; } }

/* sign-in: the verify server address with a copy button */
.verify-host { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin: var(--s3) 0; padding: 10px 10px 10px var(--s4); border-radius: var(--r-in); background: var(--sunken); border: 1px solid var(--border-2); }
.verify-host b { color: var(--lime); font-size: 15px; }

/* dropdowns: dark everywhere, plus our own list (app.js) on mouse devices */
select { color-scheme: dark; }
select.field { cursor: pointer; }
select option { background: #121212; color: var(--text); }
.menu { position: fixed; inset: auto; margin: 0; z-index: 1000; overflow-y: auto; padding: 6px; display: grid; gap: 2px; background: #121212f2; backdrop-filter: blur(16px);
  border: 1px solid var(--border-2); border-radius: 14px; box-shadow: 0 18px 50px #000a; color: var(--text); animation: rise .16s var(--ease); scrollbar-width: none; }
.menu::-webkit-scrollbar { display: none; }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 9px; background: none; text-align: left; cursor: pointer; font-size: var(--fs-sm); white-space: nowrap; }
.menu button:hover { background: var(--sunken); }
.menu button.on { background: #c8ff3e1a; color: var(--lime); font-weight: 600; }
.menu img { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; flex: none; }

/* country flag next to the name */
.flag { width: 30px; height: 22px; border-radius: 5px; object-fit: cover; box-shadow: 0 0 0 1px #ffffff1f; flex: none; }
.flag.add { display: grid; place-items: center; background: none; border: 1px dashed var(--border-2); color: var(--text-3); font: 600 15px Inter; cursor: pointer; }
.flag.add:hover { color: var(--lime); border-color: #c8ff3e88; }

/* socials: brand logo + username; editing shows the logo inside the field */
button.social { cursor: pointer; font: inherit; font-weight: 600; font-size: var(--fs-sm); }
.social.off { padding: 0; width: 40px; justify-content: center; }
.social-in { display: flex; align-items: center; gap: 10px; color: var(--text-3); }
.social-in:focus-within { border-color: #c8ff3e88; box-shadow: 0 0 0 4px #c8ff3e1a; color: var(--lime); }
.social-in input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; color: var(--text); }

/* wall: likes, replies, pins, visitors */
.c-tools { margin-left: auto; display: flex; gap: 4px; opacity: 0; transition: opacity .2s; }
.c-tools .btn { width: 28px; height: 28px; }
.comment:hover > div > .row .c-tools, .c-tools:focus-within, .c-tools .on { opacity: 1; }
.c-tools .on { color: var(--lime); }
.c-acts { display: flex; gap: var(--s1); margin-top: var(--s2); margin-left: -8px; }
.c-act { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; border: 0; border-radius: 8px; background: none; color: var(--text-3); font: 600 12px Inter; cursor: pointer; transition: color .2s, background .2s; }
.c-act:hover { background: var(--sunken); color: var(--text); }
.c-act.on { color: var(--lime); }
.c-act[data-clike].on { color: #ff4d5e; }
.c-act[data-clike].on .ic { fill: currentColor; }
.thread { margin-top: var(--s3); display: grid; gap: var(--s3); }
.thread:empty { display: none; }
.view-replies { display: flex; align-items: center; gap: 10px; margin-top: var(--s2); padding: 0; border: 0; background: none; color: var(--text-3); font: 600 12px Inter; cursor: pointer; }
.view-replies::before { content: ''; width: 24px; height: 1px; background: var(--border-2); }
.view-replies:hover { color: var(--text); }
.wall .thread .comment { padding: 0; border: 0; }
.thread .comment .head { width: 28px; height: 28px; }
.composer.reply { display: flex; gap: var(--s3); }
.composer.reply .head { width: 28px; height: 28px; border-radius: 6px; }
.comment.pinned > div > p { color: var(--text); }
.pin-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--r-pill); background: #c8ff3e1a; color: var(--lime); font: 600 11px Inter; }
.visitors { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.visitors a { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--sunken); transition: transform .2s var(--ease); }
.visitors a:hover { transform: translateY(-2px); }
.visitors .head { width: 100%; height: 100%; image-rendering: pixelated; }

/* beta notice above the header, hidden once closed */
.beta { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 44px; position: relative; background: #c8ff3e14; border-bottom: 1px solid #c8ff3e33; font-size: var(--fs-sm); color: var(--text-2); text-align: center; }
.beta b { padding: 2px 8px; border-radius: var(--r-pill); background: var(--lime); color: #0b0b0b; font: 700 11px Inter; letter-spacing: .04em; text-transform: uppercase; flex: none; }
.beta button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 8px; background: none; color: var(--text-3); font-size: 18px; cursor: pointer; }
.beta button:hover { background: var(--sunken); color: var(--text); }


/* comments: team badges smaller, member flags next to the name */
.comment .role { height: 20px; padding: 0 8px; gap: 4px; font-size: 10.5px; }
.comment .role .ic { width: 11px; height: 11px; }
.flag.sm { width: 20px; height: 15px; border-radius: 3px; }
