:root { color-scheme: dark light; --bg: #0a0f0e; --bg-elev: #121a18; --bg-card: #15201d; --border: #243330; --border-strong: #35524a; --text: #e8f0ed; --muted: #8aa399; --accent: #5eead4; --accent-dim: #2dd4bf33; --accent-text: #042f2e; --warn: #fbbf24; --danger: #f87171; --ok: #4ade80; --shadow: 0 18px 50px #00000066; --radius: 14px; --font: "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif; --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace; --max: 52rem; } @media (prefers-color-scheme: light) { :root { --bg: #f4f7f6; --bg-elev: #ffffff; --bg-card: #ffffff; --border: #d5e0dc; --border-strong: #a8c0b8; --text: #10211c; --muted: #5b726a; --accent: #0f766e; --accent-dim: #14b8a633; --accent-text: #ecfdf5; --shadow: 0 12px 40px #0f172a14; } } * { box-sizing: border-box; } html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.5; } body { position: relative; overflow-x: hidden; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } code, pre, .mono { font-family: var(--mono); } code { font-size: 0.88em; background: var(--accent-dim); color: var(--accent); padding: 0.1em 0.35em; border-radius: 6px; } .bg-glow { pointer-events: none; position: fixed; inset: -20% -10% auto; height: 55vh; background: radial-gradient(ellipse 50% 60% at 20% 20%, #14b8a622, transparent 60%), radial-gradient(ellipse 40% 50% at 80% 10%, #fbbf2414, transparent 55%); z-index: 0; } .shell { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 1.5rem 1.15rem 3rem; } .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; } .brand { display: flex; gap: 0.85rem; align-items: center; } .logo { width: 2.6rem; height: 2.6rem; border-radius: 0.85rem; background: linear-gradient(145deg, #134e4a, #0c1210 55%), linear-gradient(145deg, transparent 40%, #5eead455); border: 1px solid var(--border-strong); box-shadow: inset 0 1px 0 #ffffff18, var(--shadow); position: relative; } .logo::after { content: ""; position: absolute; inset: 28% 30% 24%; border: 2px solid var(--accent); border-radius: 2px 2px 40% 40%; border-bottom: none; transform: rotate(180deg); } .brand h1 { margin: 0; font-size: 1.45rem; letter-spacing: -0.02em; font-weight: 700; } .tagline { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.9rem; } .top-meta { display: flex; align-items: center; gap: 0.5rem; } .pill { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 600; padding: 0.28rem 0.65rem; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-elev); color: var(--muted); white-space: nowrap; } .pill.sm { font-size: 0.72rem; padding: 0.12rem 0.45rem; vertical-align: middle; } .pill.ok { color: var(--ok); border-color: #4ade8044; background: #4ade8014; } .pill.warn { color: var(--warn); border-color: #fbbf2444; background: #fbbf2414; } .pill.err { color: var(--danger); border-color: #f8717144; background: #f8717114; } .tabs { display: flex; gap: 0.35rem; overflow-x: auto; padding: 0.25rem; margin-bottom: 1.25rem; border: 1px solid var(--border); border-radius: 999px; background: color-mix(in srgb, var(--bg-elev) 90%, transparent); backdrop-filter: blur(10px); } .tab { appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 0.92rem; font-weight: 600; padding: 0.55rem 0.95rem; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: 0.15s ease; } .tab:hover { color: var(--text); background: #ffffff08; } .tab.active { color: var(--accent-text); background: var(--accent); } .main { min-height: 22rem; } .panel { animation: fade 0.18s ease; } .panel[hidden] { display: none !important; } @keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } } .panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; } .panel-head h2 { margin: 0; font-size: 1.2rem; letter-spacing: -0.02em; } .panel-head p { margin: 0.2rem 0 0; } .muted { color: var(--muted); } h3 { margin: 1.5rem 0 0.65rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; } .stack { display: flex; flex-direction: column; gap: 0.9rem; } label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; } label.check { flex-direction: row; align-items: center; gap: 0.55rem; font-weight: 500; color: var(--muted); } input[type="text"], input[type="password"], textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 0.7rem 0.85rem; outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease; } textarea { resize: vertical; min-height: 6rem; line-height: 1.45; } input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); } .row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem; } .btn { appearance: none; border: 1px solid var(--border-strong); background: var(--bg-elev); color: var(--text); font: inherit; font-weight: 650; font-size: 0.92rem; padding: 0.55rem 0.95rem; border-radius: 10px; cursor: pointer; transition: 0.15s ease; } .btn:hover { border-color: var(--accent); color: var(--accent); } .btn:active { transform: translateY(1px); } .btn.primary { background: var(--accent); border-color: transparent; color: var(--accent-text); } .btn.primary:hover { filter: brightness(1.05); color: var(--accent-text); } .btn.ghost { background: transparent; } .btn.danger:hover { border-color: var(--danger); color: var(--danger); } .btn:disabled { opacity: 0.5; cursor: not-allowed; } .inline-form { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 0.75rem; } .inline-form input { flex: 1 1 12rem; } .card-list { display: flex; flex-direction: column; gap: 0.7rem; } .card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.95rem 1.05rem; box-shadow: var(--shadow); } .card.post .meta { display: flex; flex-wrap: wrap; gap: 0.5rem 0.85rem; margin-bottom: 0.55rem; font-size: 0.82rem; color: var(--muted); font-family: var(--mono); } .card.post .body { white-space: pre-wrap; word-break: break-word; font-size: 1.02rem; } .card .title { font-weight: 700; margin-bottom: 0.25rem; } .card .sub { color: var(--muted); font-size: 0.88rem; font-family: var(--mono); word-break: break-all; } .empty { border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: 2rem 1.25rem; text-align: center; color: var(--muted); background: color-mix(in srgb, var(--bg-elev) 70%, transparent); } .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 0.75rem; margin-bottom: 0.5rem; } .stat { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.15rem; } .stat-n { font-size: 1.75rem; font-weight: 750; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; } .stat-l { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 650; } .code-block { margin: 0; padding: 0.9rem 1rem; background: #00000055; border: 1px solid var(--border); border-radius: 12px; overflow: auto; font-size: 0.82rem; line-height: 1.45; color: var(--muted); white-space: pre-wrap; word-break: break-word; } .callout { margin: 0.5rem 0 0.85rem; padding: 0.85rem 1rem; border-radius: 12px; border: 1px solid #fbbf2455; background: #fbbf2414; color: var(--text); font-size: 0.9rem; } .callout strong { color: var(--warn); } .callout code { user-select: all; } .hint { margin-top: 1.25rem; font-size: 0.9rem; } .muted-card { margin-top: 1.5rem; } .muted-card h3 { margin-top: 0; } .foot { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; align-items: center; } .foot .sep { opacity: 0.5; } .toast { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 50; max-width: min(32rem, calc(100vw - 2rem)); padding: 0.75rem 1rem; border-radius: 12px; background: var(--bg-elev); border: 1px solid var(--border-strong); box-shadow: var(--shadow); font-size: 0.92rem; animation: fade 0.15s ease; } .toast.err { border-color: #f8717166; } .toast.ok { border-color: #4ade8066; } @media (max-width: 560px) { .shell { padding: 1rem 0.85rem 2.5rem; } .top { flex-direction: column; } .panel-head { flex-direction: column; } .tabs { border-radius: 16px; } }