:root { color-scheme: dark; --bg:#12151c; --surface:#161b24; --surface-2:#1e2531; --fg:#f3f6fa; --muted:#9aa8ba; --primary:#2f7bff; --ink:#fff; --accent:#8ec5ff; --border:#313a4a; --header:#12151c; }
html.plain { color-scheme: dark; --bg:#0c0e12; --surface:#151922; --fg:#e7ecf3; --muted:#93a0b3; --primary:#3b82f6; --ink:#fff; --accent:#8ec5ff; --border:#2a3140; }
html.light { color-scheme: light; --bg:#f4f6f8; --surface:#fff; --fg:#12161c; --muted:#5c6775; --primary:#1d6fe8; --ink:#fff; --accent:#1d6fe8; --border:#d8dee6; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--fg); font: 16px/1.5 Inter, Segoe UI, sans-serif; background: var(--bg); }
a { color: var(--accent); }
header { position: sticky; top: 0; z-index: 40; background: var(--header); border-bottom: 2px solid var(--primary); }
h1, h2, .card h2, html.plain h1, html.plain h2, html.light h1, html.light h2 { font-family: Inter, Segoe UI, sans-serif; letter-spacing: 0; text-transform: none; }
.bar { max-width: 72rem; margin: 0 auto; display: flex; gap: 16px; align-items: center; height: 64px; padding: 0 16px; overflow: hidden; }
.logo { color: inherit; text-decoration: none; display: block; }
.bar-logo { position: relative; display: block; height: 48px; }
.bar-logo img { height: 48px; width: auto; display: block; border-radius: 0; }
.bulb { position: absolute; top: 20.5%; height: 17%; overflow: hidden; border-radius: 46% 46% 34% 34%; pointer-events: none; }
.bulb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 170%; height: 28%; margin-left: -85%; margin-top: -14%; transform-origin: center; animation: none; }
.bulb.r::after { background: linear-gradient(90deg, transparent 0%, rgba(255,80,50,.2) 28%, #fff 50%, rgba(255,80,50,.2) 72%, transparent 100%); }
.bulb.w::after { background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.25) 28%, #fff 50%, rgba(255,255,255,.25) 72%, transparent 100%); }
.bulb.b::after { background: linear-gradient(90deg, transparent 0%, rgba(120,160,255,.25) 28%, #fff 50%, rgba(120,160,255,.25) 72%, transparent 100%); }
.bulb.p2::after { animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rotator {
  0% { transform: translateX(-30%); opacity: .35; }
  50% { transform: translateX(130%); opacity: 1; }
  100% { transform: translateX(230%); opacity: .35; }
}
@keyframes chase {
  0%, 18% { opacity: 1; }
  28%, 100% { opacity: .25; }
}
@media (prefers-reduced-motion: reduce) {
  .bulb, .bulb::after, .amber, .lock { animation: none; }
}
.blackbox { margin: 0 0 16px; padding: 12px 14px; background: #07080b; color: #d7ffe2; border: 1px solid #1d3a28; border-radius: 10px; font: 13px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; box-shadow: inset 0 0 0 1px #000; }
.bb-top { display: flex; justify-content: space-between; align-items: center; letter-spacing: .14em; color: #9dffb8; margin-bottom: 8px; }
.bb-top form { margin: 0; }
.bb-top button { background: transparent; color: #9dffb8; padding: 0; }
.rec { color: #ff5a4a; animation: rec 1.2s steps(2) infinite; }
@keyframes rec { 50% { opacity: .2; } }
.blackbox p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blackbox time, .blackbox em { color: #6f8f78; font-style: normal; }
.blackbox b { color: #ffd27a; }
nav { display: flex; gap: 8px; }
nav a, .btn { color: var(--muted); text-decoration: none; border-radius: 8px; padding: 6px 10px; }
.amber { position: absolute; top: 47%; height: 6%; border-radius: 2px; background: #ffbf1a; pointer-events: none; overflow: hidden; animation: none; }
.me-bar, .auth { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; min-width: 0; }
.me-bar a, .home-status a, .home-status a b { color: #fff; text-decoration: none; }
header img.me { width: 28px; height: 28px; max-width: 28px; min-width: 28px; flex: 0 0 28px; border-radius: 50%; object-fit: cover; }
a.ghost { color: var(--muted); text-decoration: none; font-size: .9rem; }
.ava { --ava-radius: 12px; position: relative; display: inline-grid; vertical-align: middle; }
.ava > img, .ava > .avatar { border-radius: var(--ava-radius); }
.ava .ava-fx { position: absolute; inset: -4px; border-radius: calc(var(--ava-radius) + 4px); pointer-events: none; }
header .ava { --ava-radius: 50%; }
.frame-founder { --glow: #ffd700; }
.frame-spark-orange { --glow: #ff8c00; }
.frame-spark-red { --glow: #ff2a2a; }
.frame-spark-purple { --glow: #b44dff; }
.frame-spark-blue { --glow: #3d8bff; }
.frame-spark-green { --glow: #3dff8a; }
.frame-founder .ava-fx, .frame-spark-orange .ava-fx, .frame-spark-red .ava-fx, .frame-spark-purple .ava-fx, .frame-spark-blue .ava-fx, .frame-spark-green .ava-fx {
  border: 2px solid var(--glow);
  box-shadow: 0 0 6px var(--glow), 0 0 12px var(--glow);
}
.frame-founder .ava-fx::before, .frame-spark-orange .ava-fx::before, .frame-spark-red .ava-fx::before, .frame-spark-purple .ava-fx::before, .frame-spark-blue .ava-fx::before, .frame-spark-green .ava-fx::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 8% 0, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 92% 6%, #fff 0 1.5px, transparent 2.6px),
    radial-gradient(circle at 100% 48%, var(--glow) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 100%, #fff 0 1.6px, transparent 2.6px),
    radial-gradient(circle at 12% 100%, #fff 0 1.4px, transparent 2.4px),
    radial-gradient(circle at 0 42%, var(--glow) 0 1.8px, transparent 2.8px);
  animation: sparkle 1.3s ease-in-out infinite;
}
.frame-neon-gold { --glow: #ffd700; }
.frame-neon-pink { --glow: #ff2e97; }
.frame-neon-blue { --glow: #2f7bff; }
.frame-neon-cyan { --glow: #3dffe8; }
.frame-neon-green { --glow: #39ff6a; }
.frame-neon-orange { --glow: #ff8c00; }
.frame-neon-purple { --glow: #c044ff; }
.frame-neon-red { --glow: #ff2448; }
.frame-neon-gold .ava-fx, .frame-neon-pink .ava-fx, .frame-neon-blue .ava-fx, .frame-neon-cyan .ava-fx, .frame-neon-green .ava-fx, .frame-neon-orange .ava-fx, .frame-neon-purple .ava-fx, .frame-neon-red .ava-fx {
  inset: -3px;
  border-radius: calc(var(--ava-radius) + 3px);
  border: 2px solid var(--glow);
  box-shadow: 0 0 6px var(--glow), 0 0 14px var(--glow);
  animation: neonpulse 1.6s ease-in-out infinite;
}
@keyframes sparkle { 50% { opacity: .35; filter: brightness(1.6); } }
@keyframes neonpulse { 50% { box-shadow: 0 0 3px var(--glow), 0 0 22px var(--glow), inset 0 0 12px var(--glow); } }
.frames { border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin: 12px 0; }
.frame-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.frame-opt { display: grid; justify-items: center; gap: 6px; text-align: center; }
.frame-opt input { margin: 0; }
.frame-demo { width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); display: block; }
.frame-opt small { color: var(--muted); font-size: .72rem; }
.remember { font-size: .95rem; }
main { max-width: 72rem; margin: 0 auto; padding: 24px 16px 64px; }
h1 { font: 650 1.6rem/1.2 Inter, Segoe UI, sans-serif; margin: 0 0 12px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin: 16px 0; overflow: hidden; }
.card h2, html.plain .card h2, html.light .card h2 { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--border); font: 650 .95rem Inter, Segoe UI, sans-serif; letter-spacing: 0; text-transform: none; background: color-mix(in srgb, var(--surface) 70%, var(--border)); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 16px; }
.pack { display: block; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: inherit; text-decoration: none; }
.pack:hover { background: var(--surface-2); }
button.pack { width: 100%; background: var(--surface); color: inherit; font: inherit; text-align: left; cursor: pointer; }
img.shot { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--surface-2); }
span.shot { display: block; aspect-ratio: 16/9; background: linear-gradient(160deg, #1e2531, #12151c); }
.pack .pad { display: block; padding: 12px; }
.pack b, .pack small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.by { display: flex; align-items: center; gap: 6px; }
.by img, .author-face { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.author-card { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.author-card img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.more-files { display: block; margin: 0 0 12px; text-align: center; background: var(--surface-2); color: var(--fg); text-decoration: none; border-radius: 8px; padding: 8px 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; color: var(--muted); text-decoration: none; font-size: .9rem; }
.pills a.on { border-color: var(--primary); background: var(--surface); color: var(--fg); }
.row, .post { display: block; width: 100%; text-align: left; color: inherit; background: transparent; border: 0; border-top: 1px solid var(--border); padding: 12px 16px; text-decoration: none; }
.row small, .muted { color: var(--muted); }
.topic-search { display: flex; gap: 8px; margin: 8px 0 0; }
.topic-search input { flex: 1; }
.topic-list { margin-top: 12px; }
.topic-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--border); }
.topic-row:first-child { border-top: 0; }
.topic-list .topic-row:not(.no-check) { grid-template-columns: 18px minmax(0, 1fr); }
.topic-row input { width: 16px; height: 16px; margin: 0; padding: 0; }
.select-toggle { margin: 8px 0 0; }
form.mass-delete:not(.picking) .topic-row { grid-template-columns: minmax(0, 1fr); }
form.mass-delete:not(.picking) .topic-row input, form.mass-delete:not(.picking) .mass-bar { display: none; }
.topic-row a { display: block; min-width: 0; color: var(--fg); text-decoration: none; }
.topic-row b { display: block; font-weight: 650; overflow-wrap: anywhere; }
.topic-row small { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; }
.plain-name, .plain-name a, a.plain-name, .post > b, .review > b { color: var(--fg); text-decoration: none; pointer-events: none; cursor: default; font-weight: 650; }
.shield { width: 16px; height: 18px; flex: 0 0 16px; background: #39ff7a; clip-path: polygon(50% 0, 100% 18%, 92% 58%, 50% 100%, 8% 58%, 0 18%); filter: drop-shadow(0 0 6px #39ff7a); animation: scan-glow 1.6s ease-in-out infinite; }
.pack .scan-clean { margin: 8px 0 0; font-size: .78rem; }
@keyframes scan-glow { 50% { filter: drop-shadow(0 0 12px #7dffb0); } }
.mass-bar { display: flex; gap: 8px; padding: 12px 16px; }
.pick-post { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: .75rem; margin-bottom: 6px; }
.grid { display: block; }
input, textarea { width: 100%; background: var(--bg); color: var(--fg); border: 1px solid var(--border); border-radius: 8px; padding: 10px; }
input[type="checkbox"], input[type="radio"] { width: 16px; height: 16px; margin: 0; padding: 0; accent-color: var(--primary); vertical-align: middle; }
.remember label { display: inline-flex; align-items: center; gap: 8px; }
.board-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--muted); font-size: .85rem; }
.board-stats b, .board-stats a { color: var(--fg); font-weight: 650; text-decoration: none; }
.editor-tools { display: flex; gap: 6px; margin: 0 0 8px; }
.editor-tools button { background: var(--surface-2); color: var(--fg); }
.light-x { display: block; margin: 0 0 12px; background: var(--primary); color: #fff; }
button, .primary { background: var(--primary); color: var(--ink); border: 0; border-radius: 8px; padding: 8px 14px; font-weight: 600; }
button.ghost { background: transparent; color: var(--muted); }
.post p { margin: 8px 0; }
blockquote { margin: 8px 0; padding-left: 10px; border-left: 3px solid var(--primary); color: var(--muted); }
img { max-width: 100%; border-radius: 8px; }
.split { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.cats a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 14px; border-top: 1px solid var(--border); color: inherit; text-decoration: none; }
.cats a.on { background: color-mix(in srgb, var(--primary) 18%, transparent); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin: 12px 0; }
.stat { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.stat b { display: block; font-size: .75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.resource { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
@media (max-width: 860px) { .resource { grid-template-columns: 1fr; } }
.crumb { margin: 0 0 8px; color: var(--muted); font-size: .9rem; }
.crumb a { color: var(--muted); text-decoration: none; }
.hero { display: block; width: 100%; max-height: 420px; object-fit: contain; background: #0c0e12; border-radius: 10px; cursor: pointer; }
.file-shot { padding: 12px; }
.viewer { position: relative; z-index: 1; background: #0c0e12; border-radius: 10px; }
.viewer .nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 1.4rem; line-height: 1; }
.strip button { width: auto; padding: 0; background: transparent; border-radius: 8px; }
.strip button.on img { outline: 2px solid var(--primary); outline-offset: 2px; }
.viewer .prev { left: 10px; }
.viewer .next { right: 10px; }
.strip { display: flex; gap: 8px; overflow: auto; margin: 8px 0 0; }
.strip img { width: 128px; height: 76px; object-fit: cover; border-radius: 8px; }
.strip a.on img { outline: 2px solid var(--primary); outline-offset: 2px; }
.video { position: relative; margin: 12px 0; padding-top: 56.25%; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
video.clip { width: 100%; max-height: 420px; background: #000; }
.review { padding: 14px 16px; border-top: 1px solid var(--border); }
.download-btn { display: block; text-align: center; background: var(--primary); color: #fff; text-decoration: none; border-radius: 8px; padding: 12px 16px; font-weight: 700; overflow-wrap: anywhere; word-break: break-word; line-height: 1.3; }
.download-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.download-row .download-btn { flex: 1 1 140px; min-width: 0; }
.download-row .report, .download-row .report-link { margin: 0; }
.download-row .report[open] { flex: 1 1 100%; }
.download-row .report summary { display: inline-block; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; cursor: pointer; color: var(--fg); }
.meta { margin-top: 8px; }
.meta div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--border); }
.meta span { color: var(--muted); }
.side { position: sticky; top: 72px; }
.home { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.home-col[data-col="right"] .board h2 { padding: 8px 10px; font-size: .82rem; }
.home-col[data-col="right"] .rail-row { padding: 8px 10px; }
.home-col[data-col="right"] .status { padding: 6px 8px; }
.home-col[data-col="right"] .status-bit { font-size: .72rem; }
.home-col, .drop { min-width: 0; }
.drop { min-height: 24px; }
.tools-on .drag { cursor: grab; margin-right: 8px; padding: 1px 7px; border: 1px solid var(--border); border-radius: 999px; color: #fff; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; user-select: none; }
.tools-on .board.dragging { opacity: .45; }
.drop.over { outline: 1px dashed var(--accent); outline-offset: 4px; border-radius: 12px; }
@media (max-width: 860px) { .home { grid-template-columns: 1fr; } }
.board { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; margin: 0 0 16px; background: var(--surface); }
.board h2 { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0; padding: 10px 16px; background: var(--surface-2); border: 0; font: 600 .9rem Inter, Segoe UI, sans-serif; }
.board-tools { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.panel-delete { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.panel-delete b { font-weight: 600; font-size: .75rem; }
button.danger, .panel-delete .danger { background: #8d1d3a; color: #fff; }
.topic-delete { margin: 0 0 12px; }
.del-ask[hidden], .del-ask2[hidden] { display: none !important; }
.board-tools button, .row-tools button { padding: 2px 8px; font-size: .75rem; }
.row-tools { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.forum-link { display: contents; color: var(--fg); text-decoration: none; }
.forum-row a, .forum-row a:hover, .forum-row a:visited,
.rail-row, .rail-row:hover, .rail-row:visited,
.forum-row a b, .forum-row a small, .rail-row b, .rail-row small { text-decoration: none; }
.forum-name b, .forum-row .last b, .rail-row b { color: var(--fg); }
.forum-row .count { color: var(--muted); text-decoration: none; }
.forum-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.forum-name > span { min-width: 0; }
.forum-ico { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 9px; color: var(--primary); background: color-mix(in srgb, var(--primary) 16%, transparent); border: 1px solid color-mix(in srgb, var(--primary) 45%, var(--border)); }
.forum-ico svg { width: 20px; height: 20px; }
.forum-ico img { width: 36px; height: 36px; object-fit: cover; border-radius: 8px; }
html.theme-gta6 .forum-ico { box-shadow: 0 0 10px rgba(255, 46, 151, .4); }
.forum-title { display: flex; align-items: center; gap: 10px; }
.icon-form { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.icon-pick { font-size: .72rem; color: var(--muted); }
.icon-pick input { max-width: 9rem; font-size: .7rem; }
.forum-row.has-tools, .cols.has-tools { grid-template-columns: minmax(0, 1.6fr) 5.5rem minmax(6.5rem, 1fr) auto; }
.cols, .forum-row { display: grid; grid-template-columns: minmax(0, 1.6fr) 5.5rem minmax(6.5rem, 1fr); column-gap: 32px; align-items: center; }
.cols { padding: 8px 16px; color: var(--muted); font-size: .75rem; background: var(--surface); }
.forum-row, .rail-row { display: block; padding: 12px 16px; border-top: 1px solid var(--border); color: inherit; text-decoration: none; background: var(--surface); }
.forum-row { display: grid; }
.forum-row b, .rail-row b, .forum-row small, .last small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.forum-row small, .rail-row small, .last small { color: var(--muted); font-size: .8rem; }
.count { text-align: center; color: var(--muted); }
.home-add, .topic-add { padding: 10px 16px 14px; border-top: 1px solid var(--border); }
.topic-add summary { cursor: pointer; color: var(--accent); }
.home-add p, .topic-add p { margin: 8px 0; }
.rail { display: grid; gap: 16px; align-content: start; }
.rail-row { display: block; }
.light { position: fixed; inset: 0; z-index: 50; display: grid; grid-template-columns: minmax(0, 1fr) 320px; background: rgba(0, 0, 0, .86); }
.light[hidden] { display: none !important; }
.light-pic { position: relative; display: grid; place-items: center; min-width: 0; }
.light-pic img { max-width: 100%; max-height: 100vh; object-fit: contain; cursor: pointer; border-radius: 0; }
.light aside { background: var(--surface); overflow: auto; padding: 16px; }
.light-x { position: absolute; top: 12px; right: 332px; z-index: 2; width: 36px; height: 36px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; }
@media (max-width: 800px) {
  .light { grid-template-columns: 1fr; grid-template-rows: minmax(180px, 46vh) minmax(0, 1fr); }
  .light-x { right: 12px; }
}
article.post, article.review, .comment { display: block; margin: 12px 0; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
article.review b, .comment b { display: block; margin-bottom: 4px; }
.profile-head { display: flex; gap: 16px; align-items: center; }
.avatar { width: 72px; height: 72px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); font-size: 1.8rem; font-weight: 700; }
a.follow, a.thread { display: flex; width: 100%; box-sizing: border-box; }
.follow-list { display: flex; flex-direction: column; padding: 6px 0 10px; }
.inbox { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; align-items: start; }
.inbox aside.card { max-height: 70vh; overflow: auto; }
.thread-head, .talk-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.thread-head b, .talk-head b { font-size: 1rem; }
a.thread { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-top: 1px solid var(--border); color: var(--fg); text-decoration: none; }
a.thread small { display: block; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread.on { background: color-mix(in srgb, var(--primary) 16%, transparent); }
.thread span { min-width: 0; flex: 1; }
.thread b, .thread small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread small, .bubble small { color: var(--muted); }
.thread img, .bubble img, .bubble .follow-letter { width: 36px; height: 36px; max-width: 36px; min-width: 36px; flex: 0 0 36px; border-radius: 50%; object-fit: cover; }
.bubbles { padding: 8px 0; }
.bubble { display: flex; gap: 10px; align-items: flex-start; padding: 8px 16px; }
.bubble.mine { flex-direction: row-reverse; }
.faces { display: flex; flex: 0 0 auto; }
.faces img, .faces .follow-letter { width: 32px; height: 32px; max-width: 32px; min-width: 32px; margin-left: -8px; border: 2px solid var(--surface); }
.faces :first-child { margin-left: 0; }
.talk { background: #10141c; }
.talk-head .lock, .lock { color: #b9e4ff; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 0 4px #7ec8ff, 0 0 10px #2f7bff, 0 0 22px #2f7bff, 0 0 36px #1a5cff; animation: lockglow 1.6s ease-in-out infinite; }
@keyframes lockglow { 50% { color: #fff; text-shadow: 0 0 6px #d7efff, 0 0 16px #5eb0ff, 0 0 32px #2f7bff, 0 0 48px #2f7bff; } }
.day { margin: 10px 16px 2px; color: var(--muted); font-size: .75rem; text-align: center; }
.thread .faces { flex: 0 0 auto; }
.bubble .say { max-width: min(75%, 36rem); background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px 16px 16px 16px; padding: 8px 12px; }
.bubble.mine .say { border-radius: 16px 4px 16px 16px; background: var(--primary); color: #fff; }
.bubble.mine .say small, .bubble.mine .say a { color: rgba(255,255,255,.8); }
.locked { white-space: pre-wrap; margin: 6px 0 0; }
.add-person { border-top: 0; padding-top: 0; }
.seal-err { min-height: 1.2em; }
.reply, .compose { padding: 12px 16px 16px; border-top: 1px solid var(--border); }
@media (max-width: 800px) { .inbox { grid-template-columns: 1fr; } }
.follow { display: flex; align-items: center; gap: 8px; padding: 6px 14px; color: inherit; text-decoration: none; }
.follow img, .follow-letter { width: 28px; height: 28px; max-width: 28px; min-width: 28px; flex: 0 0 28px; border-radius: 50%; object-fit: cover; }
.status-list { padding: 8px 12px 12px; }
.home-status { display: flex; gap: 10px; align-items: flex-start; min-width: 0; max-width: 100%; overflow: hidden; }
.home-status img, .home-status .follow-letter { width: 28px; height: 28px; max-width: 28px; min-width: 28px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--surface-2); }
a.home-status { color: #fff; text-decoration: none; }
a.home-status b { color: #fff; font-size: .82rem; }
.home-status > span { display: block; min-width: 0; flex: 1; overflow: hidden; }
.home-status small { display: block; margin: 0; font-size: .68rem; }
.status-bit { display: block; margin-top: 2px; color: var(--muted); font-size: .75rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.status { margin: 0 0 8px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); overflow-wrap: anywhere; word-break: break-word; min-width: 0; }
.status small { display: block; color: var(--muted); font-size: .75rem; }
.status p { margin: 4px 0 0; }
.post-avatar { width: 36px; height: 36px; border-radius: 8px; vertical-align: middle; }
.presence { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; color: var(--muted); font-size: .85rem; }
.presence::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6b7280; }
.presence.on { color: #8dffb0; }
.presence.on::before { background: #3ddc6e; box-shadow: 0 0 8px #3ddc6e; }
.profile-top { display: flex; gap: 16px; align-items: flex-start; padding: 16px; margin: 0 0 16px; position: relative; }
.profile-top h1 { display: inline; margin: 0 8px 0 0; font-size: 1.5rem; }
.profile-top.has-bg::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: linear-gradient(color-mix(in srgb, var(--bg) 72%, transparent), color-mix(in srgb, var(--primary) 24%, var(--bg) 55%)), var(--panel-bg); background-size: cover; background-position: center; pointer-events: none; }
.profile-top.has-bg > * { position: relative; z-index: 1; }
.overview { padding: 4px 16px 16px; min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.overview p, .overview a, .profile-status, .profile-top > div, .profile-top h1 { min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.profile-top { flex-wrap: wrap; }
.profile-grid, .profile-grid > div, .board, .card { min-width: 0; max-width: 100%; }
.profile-song { display: block; width: min(100%, 280px); max-width: 100%; margin-top: 10px; height: 32px; }
.profile-admin { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 16px; margin: -8px 0 16px; }
.snow, .pumpkins, .july4, .newyear { position: fixed; inset: 0; z-index: 30; pointer-events: none; overflow: hidden; }
.xmas-lights { position: fixed; top: 64px; left: 0; right: 0; height: 34px; z-index: 35; pointer-events: none; display: flex; justify-content: space-evenly; align-items: flex-start; }
.xmas-lights::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; border-radius: 2px; background: #16331c; box-shadow: 0 1px 0 #3d6a38; }
.xmas-lights i { --c: #ff2d2d; position: relative; width: 8px; height: 12px; margin-top: 7px; border-radius: 46% 46% 42% 42%; background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0 1px, transparent 2px), linear-gradient(180deg, color-mix(in srgb, var(--c) 55%, white), var(--c) 42%, #140806 100%); box-shadow: 0 0 3px var(--c), 0 0 7px var(--c), inset 0 -3px 4px rgba(0,0,0,.45); animation: bulb 1.6s steps(2, end) infinite; }
.xmas-lights i::before { content: ""; position: absolute; left: 1px; top: -4px; width: 6px; height: 4px; border-radius: 1px 1px 1px 1px; background: linear-gradient(#4a4a4a, #1a1a1a); box-shadow: 0 -2px 0 1px #16331c; }
.xmas-lights i:nth-child(5n+2) { --c: #39ff63; animation-duration: 2.1s; }
.xmas-lights i:nth-child(5n+3) { --c: #3aa0ff; animation-duration: 1.1s; animation-delay: .2s; }
.xmas-lights i:nth-child(5n+4) { --c: #ffd84a; animation-duration: 1.9s; animation-delay: .5s; }
.xmas-lights i:nth-child(5n) { --c: #ff4fd8; animation: none; filter: brightness(1.15); }
@keyframes bulb { 0%, 42% { filter: brightness(1.25); opacity: 1; } 50%, 100% { filter: brightness(.25); opacity: .45; } }
.snow i, .newyear i, .july4 i { position: absolute; top: -12px; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: fall linear infinite; }
.snow i:nth-child(odd) { width: 4px; height: 4px; opacity: .8; }
.newyear i { background: #ffd76a; }
.july4 i { top: 18px; background: #ffd76a; }
.bunting { position: fixed; top: 58px; left: 0; right: 0; height: 12px; z-index: 30; pointer-events: none; background: repeating-linear-gradient(90deg, #d21f2a 0 16px, #fff 16px 32px, #2f5bff 32px 48px); }
.pumpkins { inset: auto 0 8px 0; height: 42px; display: flex; justify-content: space-between; padding: 0 12px; font-size: 28px; }
@keyframes fall { to { transform: translateY(105vh); } }
.profile-top h1 { display: inline; margin: 0 8px 0 0; font-size: 1.5rem; }
.rep-pill { margin-left: 8px; color: var(--accent); font-weight: 650; }
.rep-form { display: inline; }
.rep-given { color: var(--muted); font-size: .8rem; }
.report { margin: 8px 0; }
.report summary { cursor: pointer; color: var(--muted); font-size: .8rem; }
.report textarea, .report-form textarea { width: 100%; }
.report-form { margin-top: 12px; }
.profile-status { margin-top: 10px; }
.profile-status small { display: block; color: var(--muted); font-size: .75rem; }
.profile-status p { margin: 4px 0 0; }
.profile-side h2 + h2 { border-top: 1px solid var(--border); }
.profile-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.profile-stats div { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.profile-stats b, .profile-stats span { display: block; }
.profile-stats span { color: var(--muted); font-size: .8rem; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
@media (max-width: 860px) { .profile-grid, .profile-stats { grid-template-columns: 1fr; } }
.rep { font-size: 2rem; margin: 8px 0 0; }
.admin-shell { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: start; }
.admin-side { position: sticky; top: 80px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 8px; }
.admin-side b { display: block; padding: 8px 10px 4px; color: var(--muted); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.admin-side a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--fg); text-decoration: none; }
.admin-side a.on { background: color-mix(in srgb, var(--primary) 22%, transparent); }
@media (max-width: 800px) { .admin-shell { grid-template-columns: 1fr; } .admin-side { position: static; } }
.theme-pick { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; padding: 10px; border: 1px solid var(--border); border-radius: 10px; }
.theme-pick small { display: block; color: var(--muted); }
.home-files { display: flex; gap: 12px; margin: 0; padding: 12px; overflow-x: auto; }
.home-files .pack { flex: 1 1 0; min-width: 140px; }
.home-files img.shot, .home-files span.shot { aspect-ratio: 16/10; max-height: 120px; }
.home-files .pad { padding: 8px 10px; }
.home-files b, .home-files small { font-size: .88rem; }
.tool-toggle { margin: 0 0 10px; }
.tool-toggle button { background: var(--surface-2); color: var(--fg); }
.perm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 8px 0 12px; }
.perm-grid label { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; text-align: left; }
.perm-grid input { width: 16px; height: 16px; margin: 3px 0 0; padding: 0; }
.perm-grid b { display: block; }
.perm-grid small { display: block; color: var(--muted); font-size: .8rem; }
.perm-off { opacity: .45; }
html.theme-gta6 { color-scheme: dark; --bg:#12060f; --surface:#1a0b18; --surface-2:#2a1028; --fg:#fff5fb; --muted:#e2b3cf; --primary:#ff2e97; --ink:#fff; --accent:#3dffe8; --border:#5a234c; --header:#0c040b; }
html.theme-gta6 body { background-color: #12060f; background-image: linear-gradient(180deg, rgba(8,2,10,.55), rgba(8,2,10,.78)), url("gta6-bg.jpg"); background-size: cover; background-attachment: fixed; background-position: center top; }
main { position: relative; z-index: 1; }
.vice-mark { display: none; }
html.theme-gta6 .vice-mark, html.theme-gta6-light .vice-mark { display: block; position: fixed; left: 50%; top: 46%; z-index: 0; transform: translate(-50%, -50%) rotate(-8deg); pointer-events: none; white-space: nowrap; font-family: Rajdhani, Impact, sans-serif; font-weight: 700; font-style: italic; font-size: clamp(72px, 16vw, 210px); letter-spacing: .04em; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 46, 151, .72); text-shadow: 0 0 24px rgba(61, 255, 232, .45); }
html.theme-gta6-light .vice-mark { -webkit-text-stroke: 2px rgba(226, 24, 132, .55); text-shadow: 0 0 18px rgba(12, 143, 134, .35); }
html.theme-gta6 header { box-shadow: 0 0 18px rgba(255,46,151,.35); }
html.theme-gta6 .card, html.theme-gta6 .board, html.theme-gta6 .pack { box-shadow: inset 0 0 0 1px rgba(61,255,232,.14); }
html.theme-gta6 .lock { color: #d7ecff; text-shadow: 0 0 6px #7ec8ff, 0 0 16px #2f7bff, 0 0 32px #2f7bff; }
html.theme-gta6 button, html.theme-gta6 .primary { box-shadow: 0 0 12px rgba(255,46,151,.45); }
html.theme-gta6-light { color-scheme: light; --bg:#fff6fb; --surface:#fff; --surface-2:#ffe4f2; --fg:#2a1220; --muted:#8a5470; --primary:#e21884; --ink:#fff; --accent:#0c8f86; --border:#f3c3dc; --header:#fff7fb; }
html.theme-gta6-light body { background-color: #ffd6ea; background-image: linear-gradient(180deg, rgba(255,247,251,.78), rgba(255,236,246,.88)), url("gta6-light-bg.jpg"); background-size: cover; background-attachment: fixed; background-position: center top; color: var(--fg); }
html.theme-gta6-light header { background: rgba(255,247,251,.94); box-shadow: 0 0 18px rgba(226,24,132,.2); }
html.theme-gta6-light .card, html.theme-gta6-light .board, html.theme-gta6-light .pack { background: rgba(255,255,255,.94); box-shadow: inset 0 0 0 1px rgba(226,24,132,.16); }
html.theme-gta6-light .board h2, html.theme-gta6-light .card h2 { background: #ffe4f2; color: #2a1220; }
html.theme-gta6-light .me-bar a, html.theme-gta6-light .home-status a, html.theme-gta6-light .home-status a b, html.theme-gta6-light .forum-name b, html.theme-gta6-light .rail-row b { color: #2a1220; }
html.theme-gta6-light button, html.theme-gta6-light .primary { box-shadow: 0 0 12px rgba(226,24,132,.28); }
.admin-cards { padding: 12px; }
.admin-pack { display: flex; flex-direction: column; }
.admin-pack > a, .admin-pack .pad a { display: block; color: var(--fg); text-decoration: none; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; align-items: center; }
.admin-pack .admin-actions { margin: 0; padding: 0 12px 12px; }
.admin-actions button { background: var(--surface-2); color: var(--fg); }