/* Written by naisu.talk tools/reviewer_skin.py from the apps' _system.css. Do not edit by hand. */
@font-face { font-family: "Lexend"; font-weight: 100 900; font-display: swap; src: url("fonts/Lexend-Medium.ttf") format("truetype"); }
@font-face { font-family: "LB Noto"; font-weight: 400 500; font-display: swap; src: url("fonts/noto-sans-400.woff2") format("woff2"); }
@font-face { font-family: "LB Noto"; font-weight: 600 800; font-display: swap; src: url("fonts/noto-sans-700.woff2") format("woff2"); }
@font-face { font-family: "LB Noto Serif"; font-weight: 400 700; font-display: swap; src: url("fonts/noto-serif-500.woff2") format("woff2"); }
:root, .dark {
  --bg: #0d1f1c;
  --bg-card: #132420;
  --bg-surface: #1a2e2a;
  --text: #edf7f5;
  --text-muted: #b8dcd6;
  --text-dim: #a9d0ca;
  --primary: #13ecc8;
  --on-primary: #0d1f1c;
  --primary-dim: rgba(19,236,200,0.12);
  --primary-border: rgba(19,236,200,0.34);
  --danger: #ffb293;
  --danger-dim: rgba(255,178,147,0.12);
  --danger-border: rgba(255,178,147,0.40);
  --warning: #fbbf24;
  --warning-dim: rgba(251,191,36,0.12);
  --warning-border: rgba(251,191,36,0.38);
  --info: #a1ccff;
  --info-dim: rgba(161,204,255,0.12);
  --info-border: rgba(161,204,255,0.38);
  --fill: #7fb3ab;
  --track: #22403b;
  --border: rgba(158,205,199,0.14);
  --border-strong: #5f8f88;
  --glow: rgba(19,236,200,0.08);
  --shadow-cta: 0 8px 24px rgba(19,236,200,0.22);
  --font-ui: "Lexend", "LB Noto", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}
.amoled {
  --bg: #000000;
  --bg-card: #0b1412;
  --bg-surface: #121d1b;
  --text: #e6ecea;
  --text-dim: #a6cec8;
  --danger: #ff9e7a;
  --info: #9cc9ff;
  --track: #1b2b28;
  --glow: rgba(19,236,200,0.05);
}
.light {
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-surface: #eaf3f1;
  --text: #0c1e1b;
  --text-muted: #234a44;
  --text-dim: #274f49;
  --primary: #005243;
  --on-primary: #ffffff;
  --primary-dim: rgba(0,82,67,0.10);
  --primary-border: rgba(0,82,67,0.40);
  --danger: #832a0c;
  --danger-dim: rgba(131,42,12,0.10);
  --danger-border: rgba(131,42,12,0.40);
  --warning: #694100;
  --warning-dim: rgba(105,65,0,0.10);
  --warning-border: rgba(105,65,0,0.40);
  --info: #1d4a85;
  --info-dim: rgba(29,74,133,0.10);
  --info-border: rgba(29,74,133,0.40);
  --fill: #4c7a73;
  --track: #d3e3e0;
  --border: rgba(19,70,62,0.16);
  --border-strong: #62837e;
  --glow: rgba(0,82,67,0.06);
  --shadow-cta: 0 8px 24px rgba(0,82,67,0.20);
  color-scheme: light;
}
.paper {
  --bg: #F1F2EE;
  --bg-card: #FBFBF9;
  --bg-surface: #E7E9E3;
  --text: #16242B;
  --text-muted: #36423C;
  --text-dim: #36423C;
  --primary: #0C4644;
  --on-primary: #ffffff;
  --primary-dim: rgba(12,70,68,0.10);
  --primary-border: rgba(12,70,68,0.42);
  --danger: #6b2209;
  --danger-dim: rgba(107,34,9,0.10);
  --danger-border: rgba(107,34,9,0.40);
  --warning: #563500;
  --warning-dim: rgba(86,53,0,0.10);
  --warning-border: rgba(86,53,0,0.40);
  --info: #163a6b;
  --info-dim: rgba(22,58,107,0.10);
  --info-border: rgba(22,58,107,0.40);
  --fill: #11605E;
  --track: #D2D5CD;
  --border: rgba(22,36,43,0.16);
  --border-strong: #6E7770;
  --glow: transparent;
  --shadow-cta: none;
  --font-ui: "LB Noto", "Lexend", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}
.eink {
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-surface: #ffffff;
  --text: #000000;
  --text-muted: #1a1a1a;
  --text-dim: #262626;
  --primary: #000000;
  --on-primary: #ffffff;
  --primary-dim: transparent;
  --primary-border: #000000;
  --danger: #000000;
  --danger-dim: transparent;
  --danger-border: #000000;
  --warning: #000000;
  --warning-dim: transparent;
  --warning-border: #000000;
  --info: #000000;
  --info-dim: transparent;
  --info-border: #000000;
  --fill: #000000;
  --track: #ffffff;
  --border: #000000;
  --border-strong: #000000;
  --glow: transparent;
  --shadow-cta: none;
  color-scheme: light;
}
:root, .dark, .amoled, .light, .paper, .eink {
  --panel: var(--bg-card); --panel2: var(--bg-surface); --ink: var(--text); --muted: var(--text-muted); --faint: var(--text-dim);
  --line: var(--border); --line2: var(--border-strong);
  --accent: var(--primary); --accent-soft: var(--primary-dim);
  --yes: var(--primary); --yes-soft: var(--primary-dim); --no: var(--danger); --no-soft: var(--danger-dim);
  --warn: var(--warning); --warn-soft: var(--warning-dim);
  --r: 16px; --r-sm: 14px; --shadow: none;
}
.paper { --r: 4px; --r-sm: 4px; }
.paper :is(h1, h2, .hello, .brand, .qt) { font-family: "LB Noto Serif", Georgia, serif; font-weight: 500; letter-spacing: -.01em; }
.paper :is(button, input, textarea, select, .card, .rcard, .homecard, .tile, .empty, .rulebox, .ans, fieldset, .more, .acctmenu, #login, .ownernote, table, .mark) { border-radius: 4px; }
.eink *, .eink *::before, .eink *::after { box-shadow: none !important; text-shadow: none !important; animation: none !important; transition: none !important; }
.eink :is([aria-current="page"], .langs [aria-selected="true"]) { outline: 3px solid #000; outline-offset: -3px; }
.eink .meter { border: 1px solid #000; }
/* the bar at the top, as on naisu.talk (theme.js draws it) */
.strip { background: var(--bg); position: relative; }
body.insession .strip { position: sticky; top: 0; z-index: 6; border-bottom: 1px solid var(--border); }
.strip .in { max-width: 1040px; margin: 0 auto; padding: 0 12px; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.themes { position: relative; }
.strip .themebtn { width: 44px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--text-muted); font-size: 18px; cursor: pointer; display: grid; place-items: center; }
.themefly { position: absolute; left: 0; top: 100%; z-index: 30; display: none; flex-direction: column; min-width: 170px; padding: 6px; background: var(--bg-card); border: 1px solid var(--border-strong); border-radius: var(--r-sm); }
.themes.open .themefly { display: flex; }
.strip .sw-btn { width: 100%; min-height: 44px; border: 0; background: none; color: var(--text); font: inherit; font-size: 15px; padding: 0 10px; display: flex; align-items: center; justify-content: flex-start; gap: 10px; cursor: pointer; text-align: left; }
.strip .sw-btn:hover { background: var(--bg-surface); }
.sw-btn span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid transparent; display: grid; place-items: center; }
.sw-btn[aria-pressed="true"] span { border-color: var(--text); }
.sw-btn i { width: 14px; height: 14px; border-radius: 50%; display: block; border: 1px solid var(--border-strong); }
.sw-dark { background: #0d1f1c; } .sw-light { background: #fff; } .sw-amoled { background: #000; }
.sw-eink { background: linear-gradient(135deg, #fff 50%, #000 50%); } .sw-system { background: linear-gradient(90deg, #fff 50%, #0d1f1c 50%); } .sw-paper { background: linear-gradient(180deg, #16242B 0 45%, #F1F2EE 45%); }
.strip a { color: var(--text-muted); font-size: 14px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px; white-space: nowrap; }
.strip-r { display: flex; align-items: center; }
.setslot { flex: 1; min-width: 0; display: flex; justify-content: center; }
.setslot:empty { flex: 0; }
.strip button.setchip, .strip #logout { min-height: 44px; border: 0; background: none; color: var(--text-muted); font: inherit; font-size: 14px; padding: 0 8px; cursor: pointer; white-space: nowrap; }
.strip button.setchip { color: var(--text); width: 100%; max-width: 420px; display: flex; align-items: center; gap: 10px; }
.strip .setchip .setbar { flex: 1; min-width: 40px; height: 8px; border-radius: 99px; background: var(--track); overflow: hidden; border: 1px solid var(--border-strong); }
.strip .setchip .setbar i { display: block; height: 100%; background: var(--primary); }
.strip .setchip b { font-weight: 650; }
.strip #logout:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 700px) { .strip .in { flex-wrap: wrap; row-gap: 0; } .setslot:not(:empty) { order: 3; flex: 0 0 100%; } .strip button.setchip { max-width: none; padding: 0; } }
.paper .strip button.setchip, .paper .strip #logout { color: #F1F2EE; } .paper .strip .setbar { background: transparent; border-color: #F1F2EE; } .paper .strip .setbar i { background: #F1F2EE; }
.strip a:hover { color: var(--text); text-decoration: underline; }
.paper .strip { background: var(--text); } .paper .strip a { color: #F1F2EE; } .paper .strip .themebtn { color: #F1F2EE; }
.paper .strip :focus-visible { outline-color: #7FC9C4; }
