@font-face { font-family: "Mountains of Christmas"; src: url("../assets/MountainsOfChristmas-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
:root { --gold: #f5c542; --muted: #f3cdd2; --panel: rgba(74,10,20,.72); --line: rgba(255,255,255,.16); color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif; color: #fff;
  background: radial-gradient(1200px 700px at 70% -10%, #a3172a, #3d0710 60%) fixed, #3d0710; }
a { color: #ffe27a; text-decoration: none; }
a:hover { text-decoration: underline; }
code, .mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13px; }
.wrap { word-break: break-all; }
.muted { color: var(--muted); opacity: .85; }
.small { font-size: 13px; }
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 10px 20px; background: rgba(48,5,12,.92); backdrop-filter: blur(8px); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: repeating-linear-gradient(-45deg, #e3242b 0 10px, #fff 10px 20px); }
.brand { display: flex; align-items: center; gap: 8px; color: #fff; }
.brand:hover { text-decoration: none; }
.badge { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #2a8a5a, #0f4a2f 70%); box-shadow: 0 0 0 2px var(--gold), 0 0 14px rgba(245,197,66,.5); }
.badge img { width: 72%; }
.wordmark { font-family: "Mountains of Christmas", Georgia, serif; font-weight: 700; font-size: 26px; background: linear-gradient(100deg, #ffd76a 35%, #fff 48%, #ffd76a 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tag { font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: #fff; color: #b3121b; }
.search { flex: 1; min-width: 240px; display: flex; }
.search input { flex: 1; padding: 10px 14px; border-radius: 10px 0 0 10px; border: 1px solid var(--line); background: rgba(255,255,255,.08); color: #fff; font: inherit; }
.search button { border: 0; border-radius: 0 10px 10px 0; background: #fff; padding: 0 12px; cursor: pointer; }
.search button img { width: 20px; height: 20px; vertical-align: middle; }
nav { display: flex; gap: 14px; flex-wrap: wrap; }
nav a { color: #fff; font-weight: 600; opacity: .85; }
main { max-width: 1180px; margin: 0 auto; padding: 18px 18px 40px; }
.hero h1 { margin: 18px 0 4px; font-size: clamp(26px, 4vw, 40px); }
.lead { color: var(--muted); margin: 0 0 16px; }
.emo { width: 1.2em; height: 1.2em; vertical-align: -0.22em; }
.h-emo { width: 28px; height: 28px; vertical-align: -5px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 14px 0; }
.stats.small { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.stat-icon { width: 38px; height: 38px; flex: none; }
.stat small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.stat b { display: block; font-size: 22px; color: #ffe27a; }
.stat .muted { font-size: 12px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.panel { position: relative; overflow: hidden; margin: 0 0 16px; padding: 18px 18px 14px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(-45deg, #e3242b 0 10px, #fff 10px 20px); }
.phead { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
h2 { margin: 6px 0 12px; font-size: 21px; }
.blist { display: grid; gap: 8px; }
.brow { display: grid; grid-template-columns: 40px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.06); color: #fff; }
.brow:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.brow.fresh { animation: slide-in .8s cubic-bezier(.2,.9,.3,1.2), glow 2s; }
@keyframes slide-in { from { transform: translateY(-14px); opacity: 0; } }
@keyframes glow { from { box-shadow: 0 0 0 2px var(--gold), 0 0 22px rgba(245,197,66,.7); } }
.cube img { width: 30px; height: 30px; }
.bh, .bcount { display: grid; }
.bh b { color: #ffe27a; }
.bh small, .bcount small { color: var(--muted); font-size: 12px; }
.bcount { text-align: right; }
.bhash { opacity: .75; }
@media (max-width: 560px) { .bhash { display: none; } .brow { grid-template-columns: 34px 1fr auto; } }
.rec { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.rec-icon img { width: 28px; height: 28px; }
.rec-body { min-width: 0; }
.rec-meta { font-size: 12px; color: var(--muted); }
.note { color: #ffd2da; font-style: italic; }
.who { font-weight: 700; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 14px; margin: 10px 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; min-width: 0; word-break: break-all; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } }
.pill { padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); color: #fff; }
.btn { border: 0; border-radius: 10px; padding: 10px 16px; font: inherit; font-weight: 800; background: linear-gradient(180deg, #fff, #ffe3e6); color: #b3121b; cursor: pointer; box-shadow: 0 4px 0 #7a0c14; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #7a0c14; }
.verify { margin-top: 12px; }
.verify-result ul { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 4px; }
.verify-result .pass { color: #7be0a8; }
.verify-result .fail { color: #ff9aa4; font-weight: 700; }
.acct-head { display: flex; gap: 14px; align-items: center; }
.avatar { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; font-weight: 900; background: linear-gradient(135deg, #1f9d63, #0f6b41); }
.ok { color: #7be0a8; }
.tags { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.tagchip { padding: 3px 10px; border-radius: 99px; background: rgba(245,197,66,.2); border: 1px solid var(--gold); font-size: 13px; }
.lb { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.lb li { display: grid; grid-template-columns: 52px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.07); }
.lb .place { font-weight: 900; text-align: center; font-size: 18px; }
.lb b { color: #ffe27a; }
.lb li.top1 { background: linear-gradient(90deg, rgba(245,197,66,.45), rgba(245,197,66,.1)); box-shadow: inset 0 0 0 2px var(--gold); }
.hits { padding-left: 18px; }
.prose p { max-width: 760px; }
.loading { text-align: center; padding: 60px 0; color: var(--muted); }
footer { text-align: center; color: var(--muted); padding: 24px 18px 40px; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }
.nocount { color: #ffb4bb; font-size: 13px; }
