@font-face { font-family: M; src: url(maple-Bold.woff2); font-display: block; }
* { box-sizing: border-box; margin: 0; }
:root { color-scheme: light; --bg: #f6efe2; --fg: #2d1d0c; --title: #4a2f14; --muted: #856642; --head: #86643e; --soft: #816747;
  --card: #fff; --border: #e6d6bb; --src: #a0590b;
  --uq: #1d63a6; --uq-bg: #edf5fd; --uq-border: #bcd7f1; --vote-bg: #ffffff; --vote-fg: #0c1230; --vote-hover: #3b4870;
  --vote-on-bg: #0c1230; --vote-on-border: #0c1230; --vote-on-fg: #ffd66b; --focus: #0c1230;
  --notice-bg: #fdebd6; --notice-border: #f0bf8a; --notice-fg: #8a4510;
  --discord: #5865f2; --err: #c0392b; --overlay: rgba(45, 29, 12, .45);
 --hero-bg: linear-gradient(180deg, #7fd3ff 0%, #bfe9ff 62%, #8fd07a 62%, #5fb34f 100%); --hero-sub: #17446b; --hero-title-shadow: #2c6aa0;
  --hero-cloud: rgba(255, 255, 255, .9); --hero-body: #ffd23f; --hero-body-glow: rgba(255, 210, 63, .85); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; --bg: #0c1230; --fg: #e8edf8; --title: #ffd66b; --muted: #9fb0d6; --head: #b9c4e0; --soft: #8d9cc4;
  --card: #161d33; --border: #3b4870; --src: #ffb44d;
  --uq: #ffd66b; --uq-bg: #2b2614; --uq-border: #6b5a20; --vote-bg: #1d2643; --vote-fg: #b9c4e0; --vote-hover: #ffd66b;
  --vote-on-bg: #ffd66b; --vote-on-border: #e6b84a; --vote-on-fg: #0c1230; --focus: #ffd66b;
  --notice-bg: #2e2614; --notice-border: #7a5a1e; --notice-fg: #ffd66b;
  --discord: #8f99ff; --err: #ff8a7a; --overlay: rgba(5, 7, 13, .7);
 --hero-bg: radial-gradient(1.6px 1.6px at 9% 24%, #fff, transparent), radial-gradient(1.4px 1.4px at 21% 62%, #cfd8ff, transparent), radial-gradient(1.8px 1.8px at 37% 16%, #fff, transparent), radial-gradient(1.4px 1.4px at 52% 48%, #fff, transparent), radial-gradient(1.6px 1.6px at 66% 22%, #cfd8ff, transparent), radial-gradient(1.4px 1.4px at 78% 58%, #fff, transparent), radial-gradient(1.8px 1.8px at 91% 20%, #fff, transparent), radial-gradient(1.4px 1.4px at 58% 74%, #fff, transparent), linear-gradient(180deg, #0a1236 0%, #1c2a6d 62%, #22502f 62%, #153820 100%); --hero-sub: #dfe7ff; --hero-title-shadow: #070d2b;
  --hero-cloud: rgba(120, 140, 220, .28); --hero-body: #f4f1d0; --hero-body-glow: rgba(244, 241, 208, .65); } }
:root[data-theme="dark"] { color-scheme: dark; --bg: #0c1230; --fg: #e8edf8; --title: #ffd66b; --muted: #9fb0d6; --head: #b9c4e0; --soft: #8d9cc4;
  --card: #161d33; --border: #3b4870; --src: #ffb44d;
  --uq: #ffd66b; --uq-bg: #2b2614; --uq-border: #6b5a20; --vote-bg: #1d2643; --vote-fg: #b9c4e0; --vote-hover: #ffd66b;
  --vote-on-bg: #ffd66b; --vote-on-border: #e6b84a; --vote-on-fg: #0c1230; --focus: #ffd66b;
  --notice-bg: #2e2614; --notice-border: #7a5a1e; --notice-fg: #ffd66b;
  --discord: #8f99ff; --err: #ff8a7a; --overlay: rgba(5, 7, 13, .7);
 --hero-bg: radial-gradient(1.6px 1.6px at 9% 24%, #fff, transparent), radial-gradient(1.4px 1.4px at 21% 62%, #cfd8ff, transparent), radial-gradient(1.8px 1.8px at 37% 16%, #fff, transparent), radial-gradient(1.4px 1.4px at 52% 48%, #fff, transparent), radial-gradient(1.6px 1.6px at 66% 22%, #cfd8ff, transparent), radial-gradient(1.4px 1.4px at 78% 58%, #fff, transparent), radial-gradient(1.8px 1.8px at 91% 20%, #fff, transparent), radial-gradient(1.4px 1.4px at 58% 74%, #fff, transparent), linear-gradient(180deg, #0a1236 0%, #1c2a6d 62%, #22502f 62%, #153820 100%); --hero-sub: #dfe7ff; --hero-title-shadow: #070d2b;
  --hero-cloud: rgba(120, 140, 220, .28); --hero-body: #f4f1d0; --hero-body-glow: rgba(244, 241, 208, .65); }
body { background: var(--bg); color: var(--fg); font-family: -apple-system, system-ui, sans-serif; }
main { max-width: 1080px; margin: 0 auto; padding: 24px 16px 40px; }
header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
h1 { font-family: M; font-size: 26px; color: var(--title); margin-bottom: 4px; }
p.s { font-size: 13px; color: var(--muted); }
.hero { position: relative; border-radius: 16px; padding: 20px 22px; align-items: center; background: var(--hero-bg); overflow: hidden; }
.hero::before { content: ""; position: absolute; left: 46%; top: 16px; width: 46px; height: 16px; border-radius: 99px; background: var(--hero-cloud); box-shadow: 74px 20px 0 -2px var(--hero-cloud), -38px 26px 0 -4px var(--hero-cloud); pointer-events: none; }
.hero .brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; }
.hero .logo { width: 92px; height: 92px; border-radius: 22%; box-shadow: 0 3px 0 rgba(0, 0, 0, .25); flex: none; }
.hero h1 { color: #fff; text-shadow: 0 3px 0 var(--hero-title-shadow), 0 0 2px var(--hero-title-shadow); font-size: 50px; line-height: 1; margin: 0; }
.hero p.s { color: var(--hero-sub); font-weight: 700; font-size: 15px; margin-top: 6px; }
.hero .actions { position: absolute; top: 12px; right: 16px; z-index: 2; }
.btn.theme { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; }
.btn.theme .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.theme .i-sun { display: none; } :root:not([data-theme="light"]) .btn.theme .i-moon { display: block; } }
:root[data-theme="dark"] .btn.theme .i-sun { display: none; }
:root[data-theme="dark"] .btn.theme .i-moon { display: block; }
.btn.theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero .btn.theme { width: 40px; height: 40px; background: transparent; border: 0; color: var(--hero-body); filter: drop-shadow(0 0 10px var(--hero-body-glow)); transition: transform .15s; }
.hero .btn.theme svg { width: 36px; height: 36px; }
.hero .btn.theme:hover { transform: scale(1.12); }
@media (max-width: 560px) { .hero { padding: 14px 16px; } .hero::before { display: none; } .hero .brand { gap: 12px; padding-right: 44px; } .hero .actions { top: 6px; right: 10px; } .hero .btn.theme { width: 36px; height: 36px; } .hero .btn.theme svg { width: 30px; height: 30px; } .hero .logo { width: 62px; height: 62px; } .hero h1 { font-size: 34px; } .hero p.s { font-size: 13px; } }
#groups { min-height: 70vh; }
h2 { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--head); margin: 18px 0 7px; }
.g { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 256px), 1fr)); gap: 8px; }
.c { display: flex; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 0 8px 0 11px; align-items: center; height: 86px; }
.c img { width: 30px; height: 30px; object-fit: contain; flex: none; }
.c img.px { image-rendering: pixelated; }
.tx { min-width: 0; flex: 1; }
.n { font-weight: 650; font-size: 13.5px; line-height: 1.2; }
.n a { color: inherit; text-decoration: none; }
.n a:hover { text-decoration: underline; }
.u { font-size: 11.5px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uq { display: inline-block; max-width: 100%; margin-top: 3px; font-size: 10px; line-height: 1.3; font-weight: 700; color: var(--uq); background: var(--uq-bg); border: 1px solid var(--uq-border); border-radius: 4px; padding: 0 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }
.ls { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 11px; line-height: 1.3; font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ls .dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; flex: none; }
.ls .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22c55e; animation: pulse 1.8s ease-out infinite; }
.ls[data-tip] { position: relative; cursor: help; outline-offset: 2px; }
.ls[data-tip]::after { content: attr(data-tip); position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 10; padding: 4px 8px; border-radius: 6px; background: var(--fg); color: var(--bg); font-size: 11px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(2px); transition: opacity .12s, transform .12s; pointer-events: none; }
.ls[data-tip]:hover::after, .ls[data-tip]:focus::after { opacity: 1; transform: none; }
.ls.off { color: var(--soft); font-weight: 500; }
.ls.off .dot { background: var(--soft); opacity: .6; }
.ls.off .dot::after { display: none; }
.ls.down { color: #ef4444; }
.ls.down .dot, .ls.down .dot::after { background: #ef4444; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(2.6); opacity: 0; } }
@keyframes blink { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .ls .dot::after { animation: none; } .ls:not(.off) .dot { animation: blink 2.4s ease-in-out infinite; } }
.pl { margin: 4px 0 2px; line-height: 1; }
.vote { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 40px; height: 50px; border: 1px solid var(--border); border-radius: 8px; background: var(--vote-bg); color: var(--vote-fg); font: 700 13px -apple-system, system-ui, sans-serif; cursor: pointer; }
.vote:hover { border-color: var(--vote-hover); }
.vote[aria-pressed="true"] { background: var(--vote-on-bg); border-color: var(--vote-on-border); color: var(--vote-on-fg); }
.vote:disabled { opacity: .5; cursor: wait; }
.vote .arrow { font-size: 12px; line-height: 1; }
.vote:focus-visible, .btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.btn { font: 700 13px -apple-system, system-ui, sans-serif; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--discord); background: var(--discord); color: #fff; cursor: pointer; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--discord); }
#notice { margin-top: 12px; padding: 9px 12px; border-radius: 8px; background: var(--notice-bg); border: 1px solid var(--notice-border); color: var(--notice-fg); font-size: 13px; }
.visits { margin-top: 24px; text-align: center; font-size: 12px; color: var(--head); font-variant-numeric: tabular-nums; }
.ts-overlay { position: fixed; inset: 0; background: var(--overlay); display: flex; align-items: center; justify-content: center; z-index: 10; padding: 16px; }
.ts-overlay[hidden] { display: none; }
.ts-panel { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.ts-panel p { margin-bottom: 10px; font-size: 14px; font-weight: 650; }
.actions { display: flex; gap: 8px; align-items: center; }
.btn.theme { border-color: var(--border); color: var(--fg); }
.btn.theme:hover { border-color: var(--vote-hover); }
.legal { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 11px; line-height: 1.5; color: var(--soft); text-align: center; }
.legal p + p { margin-top: 4px; }
.legal a, .back a, .doc a { color: var(--src); }
.doc { max-width: 760px; }
.doc h2 { font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--title); margin: 22px 0 6px; }
.doc p, .doc li { font-size: 14px; line-height: 1.6; }
.doc > p, .doc > header + ul { margin-top: 12px; }
.doc ul { padding-left: 20px; }
.doc li + li { margin-top: 4px; }
.doc code { font-size: 12.5px; background: var(--vote-bg); border: 1px solid var(--border); border-radius: 4px; padding: 0 4px; }
.back { font-size: 13px; margin-bottom: 8px; }
#delete-box { margin-top: 12px; }
#delete-box .s { margin-top: 8px; }
.btn.danger { background: #c0392b; border-color: #a93226; }
.clock { margin-top: 2px; font-variant-numeric: tabular-nums; }
