:root {
  --bg: #f3efe4;
  --card: #fffdf6;
  --ink: #1b1b18;
  --forest: #2f5d3a;
  --forest-d: #234a2e;
  --moss: #9cc27f;
  --sage: #d9e8c9;
  --sand: #ece3c8;
  --gold: #e2b04a;
  --red: #c8553d;
  --wa: #5fb36a;
  --bd: 2.5px solid var(--ink);
  --sh: 4px 4px 0 var(--ink);
  --sh-lg: 4px 4px 0 var(--ink), 9px 9px 0 rgba(47, 93, 58, .22);
  --sh-s: 3px 3px 0 var(--ink);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { font-size: 15px; scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(27, 27, 24, .12) 1px, transparent 1.2px);
  background-size: 20px 20px;
  min-height: 100vh;
  display: flex; flex-direction: column;
  line-height: 1.5;
}
.hidden { display: none !important; }
a { color: inherit; text-decoration: none; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic.sm { width: 15px; height: 15px; }

/* Topbar */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--forest); border-bottom: var(--bd); }
.topbar-in { max-width: 900px; margin: 0 auto; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 44px; height: 44px; display: grid; place-items: center; background: var(--gold); color: var(--ink); border: var(--bd); box-shadow: 3px 3px 0 var(--ink); }
.brand h1 { color: var(--bg); font-size: 1.2rem; font-weight: 700; letter-spacing: -.3px; line-height: 1.1; }
.tag { color: var(--sage); font-family: 'JetBrains Mono', monospace; font-size: .66rem; font-weight: 700; letter-spacing: .14em; }

.tabs { display: flex; gap: 8px; }
.tab {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 13px; font-family: inherit; font-size: .88rem; font-weight: 700;
  background: var(--card); color: var(--ink); border: var(--bd); box-shadow: 2px 2px 0 var(--ink); cursor: pointer; transition: transform .1s, box-shadow .1s, background .15s;
}
.tab:hover { background: var(--sage); }
.tab.active { background: var(--gold); transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }

/* Layout */
.container { width: 100%; max-width: 900px; margin: 0 auto; padding: 22px 16px 30px; flex: 1; }
.view { display: flex; flex-direction: column; gap: 18px; animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.grid { display: grid; grid-template-columns: 1fr; gap: 18px; }

.card { background: var(--card); border: var(--bd); box-shadow: var(--sh-lg); padding: 18px; }
.card-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; }
.kicker { display: flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: .68rem; font-weight: 700; letter-spacing: .12em; color: #55554c; }
.kicker::before { content: ''; width: 8px; height: 8px; background: var(--forest); border: 1.5px solid var(--ink); }
.hint { font-size: .85rem; color: #5f5e52; margin-top: -4px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--forest); color: var(--bg); display: flex; flex-direction: column; gap: 12px; padding: 24px 22px; }
.hero::before { content: ''; position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; border: 3px solid rgba(243, 239, 228, .18); transform: rotate(14deg); }
.hero::after { content: ''; position: absolute; right: 18px; bottom: -34px; width: 96px; height: 96px; background: rgba(226, 176, 74, .18); border: 3px solid rgba(226, 176, 74, .35); transform: rotate(-10deg); }
.hero > * { position: relative; z-index: 1; }
.hero h2 { font-size: clamp(1.7rem, 6vw, 2.3rem); font-weight: 700; letter-spacing: -.5px; line-height: 1.15; }
.hero mark { background: var(--moss); color: var(--ink); padding: 0 8px; border: 2px solid var(--ink); }
.hero p { color: #dbe6cf; font-size: .98rem; max-width: 46ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.hero-actions .btn { width: auto; flex: 1 1 150px; max-width: 220px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; background: var(--sand); color: var(--ink); border: 2px solid var(--ink); font-family: 'JetBrains Mono', monospace; font-size: .7rem; font-weight: 700; letter-spacing: .06em; }
.chip.gold { background: var(--gold); }
.chip .ic { width: 15px; height: 15px; }

/* Stat */
.stat { display: flex; align-items: center; justify-content: space-between; background: var(--sage); }
.stat-num { font-size: clamp(2.6rem, 11vw, 3.4rem); font-weight: 700; line-height: 1.05; margin-top: 6px; }
.stat-sub { font-size: .8rem; color: #4a5a43; }
.stat-icon { width: 58px; height: 58px; display: grid; place-items: center; background: var(--forest); color: var(--gold); border: var(--bd); box-shadow: var(--sh-s); }
.stat-icon .ic { width: 28px; height: 28px; }

.contact-mini { display: flex; flex-direction: column; gap: 10px; background: var(--sand); }
.contact-mini p { font-size: .9rem; color: #3e3d34; }

/* Stepper */
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stp { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 10px 6px; text-align: center; background: var(--card); border: var(--bd); box-shadow: 3px 3px 0 var(--ink); color: #77766a; transition: .2s; }
.stp-k { font-family: 'JetBrains Mono', monospace; font-size: .62rem; letter-spacing: .1em; }
.stp b { font-size: .95rem; }
.stp .ic { display: none; position: absolute; top: 5px; right: 5px; width: 15px; height: 15px; }
.stp.active { background: var(--forest); color: var(--bg); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--gold), 4px 4px 0 2.5px var(--ink); }
.stp.done { background: var(--moss); color: var(--ink); }
.stp.done .ic { display: block; }

/* Form */
.form { display: flex; flex-direction: column; gap: 12px; }
.step { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; }
.num { width: 28px; height: 28px; display: grid; place-items: center; background: var(--forest); color: var(--bg); font-family: 'JetBrains Mono', monospace; font-size: .85rem; }
.field { display: flex; align-items: center; gap: 10px; padding: 0 12px; background: #fff; border: var(--bd); transition: box-shadow .1s, transform .1s; }
.field.top { align-items: flex-start; padding-top: 12px; }
.field:focus-within { box-shadow: var(--sh-s); transform: translate(-2px, -2px); }
.input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 12px 0; font-family: 'JetBrains Mono', monospace; font-size: .85rem; font-weight: 500; color: var(--ink); resize: none; }
.field.top .input { padding-top: 0; }
.input::placeholder { color: #9a988b; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px 16px; font-family: inherit; font-size: .93rem; font-weight: 700;
  color: var(--ink); background: var(--moss); border: var(--bd); box-shadow: var(--sh-s); cursor: pointer;
  transition: transform .1s, box-shadow .1s;
}
.btn:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active:not(:disabled) { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-dark { background: var(--forest); color: var(--bg); }
.btn-sand { background: var(--gold); }
.btn-ghost { background: var(--card); }
.btn-wa { background: var(--wa); }

.link-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; font-family: 'JetBrains Mono', monospace; font-size: .75rem; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { background: var(--sage); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.help-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--sand); border: var(--bd); box-shadow: var(--sh-s); font-size: .9rem; cursor: pointer; transition: .1s; }
.help-bar span { flex: 1; }
.help-bar:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); background: var(--sage); }

/* Guide */
.head-card { background: var(--forest); color: var(--bg); display: flex; flex-direction: column; gap: 6px; }
.head-card .kicker { color: var(--sage); }
.head-card .kicker::before { background: var(--gold); }
.head-card h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); line-height: 1.2; letter-spacing: -.3px; }
.head-card p { color: #dbe6cf; font-size: .95rem; }
.guide { display: grid; grid-template-columns: 1fr; gap: 18px; }
.g-card { display: flex; flex-direction: column; gap: 8px; transition: transform .15s, box-shadow .15s; }
.g-card:hover { transform: translate(-2px, -2px); }
.g-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.g-num { font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--forest); font-family: 'JetBrains Mono', monospace; letter-spacing: -.04em; }
.g-ic { width: 44px; height: 44px; display: grid; place-items: center; background: var(--gold); border: var(--bd); box-shadow: 3px 3px 0 var(--ink); }
.g-card h3 { font-size: 1rem; letter-spacing: .02em; }
.g-card p { font-size: .9rem; color: #46453c; }
.g-card:nth-child(2) .g-ic { background: var(--moss); }
.g-card:nth-child(3) .g-ic { background: var(--sage); }

.contact { display: flex; flex-direction: column; gap: 16px; background: var(--sand); }
.contact-info { display: flex; flex-direction: column; gap: 6px; }
.contact h3 { font-size: 1.15rem; }
.contact p { font-size: .9rem; color: #46453c; }
.phone { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; margin-top: 6px; padding: 8px 14px; background: var(--card); border: var(--bd); font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: .95rem; box-shadow: var(--sh-s); }

/* Terminal */
.term { background: #16211a; border: var(--bd); box-shadow: var(--sh-lg); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #1f2f24; border-bottom: 2px solid var(--ink); }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--ink); }
.dots i:nth-child(1) { background: #d9715a; } .dots i:nth-child(2) { background: #d6b25e; } .dots i:nth-child(3) { background: #7fb069; }
.term-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; color: #b9cdb0; font-family: 'JetBrains Mono', monospace; font-size: .74rem; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.term-actions { display: flex; gap: 6px; }
.tbtn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; background: transparent; color: #c9dcc0; border: 1.5px solid #3f5646; font-family: 'JetBrains Mono', monospace; font-size: .7rem; font-weight: 700; cursor: pointer; transition: .15s; }
.tbtn:hover { background: #2a3d30; border-color: var(--moss); }
.tbtn.icon { padding: 5px 7px; }
#term-clear:hover { border-color: #d9715a; color: #f0a592; }
.term.collapsed .term-body { display: none; }
.term.collapsed #term-toggle svg { transform: rotate(180deg); }

.term-body { padding: 12px 14px 14px; min-height: 150px; max-height: 320px; overflow-y: auto; font-family: 'JetBrains Mono', monospace; font-size: .76rem; line-height: 1.6; color: #b9d4ad; }
.term-body::-webkit-scrollbar { width: 8px; } .term-body::-webkit-scrollbar-thumb { background: #3f5646; }
.ln { display: flex; gap: 8px; padding: 1px 0; animation: ln .25s ease; }
@keyframes ln { from { opacity: 0; transform: translateX(-4px); } to { opacity: 1; transform: none; } }
.ln .ts { color: #7d8f77; flex-shrink: 0; }
.ln .msg { min-width: 0; word-break: break-word; display: flex; gap: 6px; align-items: flex-start; }
.ln .msg .ic { width: 14px; height: 14px; margin-top: 4px; }
.ln.sys .msg { color: #a9d29a; }
.ln.ready .msg { color: #8fc4c4; }
.ln.info .msg { color: #b9d4ad; }
.ln.ok .msg { color: #8fd694; }
.ln.tip .msg { color: #e0c37a; }
.ln.warn .msg { color: #e0c37a; }
.ln.err .msg { color: #ee9a86; }
.ln.raw .msg { color: #7d8f77; }
.cursor-ln::after { content: ''; display: inline-block; width: 8px; height: 14px; margin-left: 4px; vertical-align: -2px; background: #8fd694; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* List */
.list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.empty { text-align: center; padding: 18px 0; font-size: .88rem; color: #6b6a5e; border: 2px dashed var(--ink); }
.item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border: 2px solid var(--ink); }
.item .meta { flex: 1; min-width: 0; }
.item .meta b { display: block; font-family: 'JetBrains Mono', monospace; font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .meta span { font-size: .72rem; color: #6b6a5e; }
.badge { padding: 2px 8px; background: var(--gold); color: var(--ink); border: 2px solid var(--ink); font-family: 'JetBrains Mono', monospace; font-size: .65rem; font-weight: 700; letter-spacing: .05em; }
.mini { display: grid; place-items: center; width: 30px; height: 30px; background: #fff; border: 2px solid var(--ink); color: var(--ink); cursor: pointer; }
.mini:hover { background: #f0b8aa; }
.mini .ic { width: 15px; height: 15px; }

.footer { text-align: center; padding: 14px; font-family: 'JetBrains Mono', monospace; font-size: .72rem; font-weight: 700; background: var(--forest); color: var(--sage); border-top: var(--bd); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 50; max-width: 90vw; padding: 11px 18px; background: var(--ink); color: #dff0d2; border: var(--bd); box-shadow: 4px 4px 0 var(--moss); font-size: .88rem; font-weight: 700; text-align: center; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { color: #f6c4b8; box-shadow: 4px 4px 0 var(--red); }

/* Responsif */
@media (min-width: 720px) {
  html { font-size: 16px; }
  .container { padding: 30px 20px 40px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .guide { grid-template-columns: repeat(3, 1fr); }
  .card { padding: 22px; }
  .contact { flex-direction: row; align-items: center; justify-content: space-between; }
  .contact .btn { width: auto; min-width: 210px; }
  .term-body { font-size: .8rem; }
}
@media (max-width: 520px) {
  .topbar-in { flex-direction: column; align-items: stretch; }
  .tabs { width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 8px 6px; font-size: .8rem; gap: 6px; }
  .tab .ic { width: 17px; height: 17px; }
  .tbtn span { display: none; }
  .ln { flex-direction: column; gap: 0; }
  .hero-actions .btn { max-width: none; }
}

/* ===== Real-time stats ===== */
.live-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; background: var(--card); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); font-family: 'JetBrains Mono', monospace; font-size: .66rem; letter-spacing: .1em; }
.live-badge i { width: 9px; height: 9px; border-radius: 50%; background: #aaa; border: 1.5px solid var(--ink); }
.live-badge.on i { background: #3fbf5a; animation: pulse 1.4s infinite; }
.live-badge.wait i { background: var(--gold); }
.live-badge.off i { background: var(--red); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 191, 90, .65); } 70% { box-shadow: 0 0 0 8px rgba(63, 191, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 191, 90, 0); } }
.live-hint { font-size: .8rem; font-family: 'JetBrains Mono', monospace; padding: 10px 12px; background: #fff0e8; border: 2px dashed var(--red); color: #7a2f1f; }
.muted-mono { font-family: 'JetBrains Mono', monospace; font-size: .65rem; letter-spacing: .1em; color: #6b6a5e; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stats .stat { display: block; padding: 14px; }
.stats .stat-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.stats .stat-top .kicker { font-size: .6rem; letter-spacing: .08em; line-height: 1.35; }
.stats .stat-icon { width: 38px; height: 38px; box-shadow: 2px 2px 0 var(--ink); }
.stats .stat-icon .ic { width: 20px; height: 20px; }
.stats .stat-num { font-family: 'JetBrains Mono', monospace; font-size: clamp(2rem, 9vw, 2.9rem); letter-spacing: -.04em; margin-top: 10px; color: var(--forest); transition: color .3s; }
.stat-gold { background: #f4e2b0; }
.stat-gold .stat-num { color: var(--ink); }
.stat-num.bump { animation: bump .6s ease; }
@keyframes bump { 30% { transform: scale(1.12); } 100% { transform: scale(1); } }

.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 150px; margin-top: 14px; }
.bar { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.bar b { font-family: 'JetBrains Mono', monospace; font-size: .7rem; }
.bar-track { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.bar-fill { width: 100%; min-height: 6px; background: var(--moss); border: 2px solid var(--ink); transition: height .6s ease; }
.bar.today .bar-fill { background: var(--gold); }
.bar span { font-family: 'JetBrains Mono', monospace; font-size: .62rem; color: #55554c; text-transform: uppercase; }
.bars .wide { grid-column: 1 / -1; align-self: center; }

.feed { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; max-height: 190px; overflow-y: auto; }
.feed-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #fff; border: 2px solid var(--ink); font-size: .84rem; animation: ln .3s ease; }
.feed-item .dot { width: 10px; height: 10px; flex-shrink: 0; background: var(--wa); border: 2px solid var(--ink); }
.feed-item time { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: .7rem; color: #5f5e52; white-space: nowrap; }
.feed-item.new { background: var(--sage); }

/* ===== Peringatan keras ===== */
.warn { background: #fff0e8; border: var(--bd); box-shadow: 4px 4px 0 var(--ink), 9px 9px 0 rgba(200, 85, 61, .3); }
.warn::before, .modal-stripe { content: ''; display: block; height: 12px; background: repeating-linear-gradient(-45deg, var(--ink) 0 10px, var(--gold) 10px 20px); border-bottom: var(--bd); }
.warn-in { display: flex; gap: 14px; padding: 16px; }
.warn-ic { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; background: var(--red); color: #fff; border: var(--bd); box-shadow: var(--sh-s); }
.warn-ic.big { width: 58px; height: 58px; margin-bottom: 4px; }
.warn-ic.big .ic { width: 30px; height: 30px; }
.warn h4 { font-family: 'JetBrains Mono', monospace; font-size: .75rem; letter-spacing: .14em; color: var(--red); }
.warn strong { display: block; font-size: .95rem; line-height: 1.35; text-transform: uppercase; margin: 4px 0 6px; }
.warn p { font-size: .82rem; color: #5a443b; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; background: rgba(20, 22, 18, .75); backdrop-filter: blur(3px); }
.modal-card { width: 100%; max-width: 430px; max-height: 92vh; overflow-y: auto; background: #fff0e8; border: var(--bd); box-shadow: 8px 8px 0 var(--ink); animation: pop .3s ease; }
.modal-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
.modal-body h3 { font-family: 'JetBrains Mono', monospace; font-size: .85rem; letter-spacing: .16em; color: var(--red); }
.wm-main { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.modal-body ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: .85rem; color: #4a3a33; }
.modal-body li { display: flex; gap: 8px; align-items: flex-start; }
.modal-body li .ic { color: var(--red); margin-top: 3px; }

@media (min-width: 720px) {
  .stats .stat { padding: 18px; }
  .stats .stat-top .kicker { font-size: .66rem; }
}

/* ===== Info Pengunjung ===== */
.visitor { display: flex; flex-direction: column; gap: 14px; }
.vis-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.vis-title { font-size: 1.3rem; font-weight: 700; letter-spacing: -.3px; line-height: 1.15; }
.vis-sub { font-size: .85rem; color: #5f5e52; margin-top: 2px; }
.role-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--gold); border: var(--bd); box-shadow: 3px 3px 0 var(--ink); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.role-badge .ic { width: 16px; height: 16px; }

.vrow { display: flex; align-items: center; gap: 14px; padding: 14px; background: #f7f3e6; border: var(--bd); box-shadow: 3px 3px 0 var(--ink); }
.vicon { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border: var(--bd); box-shadow: 2px 2px 0 var(--ink); color: var(--ink); }
.vicon .ic { width: 24px; height: 24px; }
.vicon.green { background: var(--moss); }
.vicon.orange { background: #e8a063; }
.vmeta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vlabel { font-family: 'JetBrains Mono', monospace; font-size: .68rem; letter-spacing: .1em; color: #55554c; text-transform: uppercase; }
.vval { font-family: 'JetBrains Mono', monospace; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; word-break: break-all; line-height: 1.25; }
.vsub { font-size: .82rem; color: #55554c; }
.vbar { height: 12px; margin: 4px 0 2px; background: #fff; border: 2px solid var(--ink); }
.vbar i { display: block; height: 100%; width: 0; background: var(--moss); transition: width .5s ease, background .3s; }
.vbar i.mid { background: var(--gold); }
.vbar i.low { background: var(--red); }
.vbar i.chg { background-image: repeating-linear-gradient(-45deg, rgba(27,27,24,.25) 0 6px, transparent 6px 12px); background-size: 17px 17px; animation: slide 1s linear infinite; }
@keyframes slide { to { background-position: 17px 0; } }
.vrow .mini { align-self: flex-start; flex-shrink: 0; }
#v-refresh { align-self: flex-start; }

@media (max-width: 380px) {
  .vval { font-size: 1.05rem; }
  .vicon { width: 44px; height: 44px; }
}

/* Cloudflare Turnstile */
.cf-card { display: flex; flex-direction: column; gap: 10px; }
.cf-head { display: flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: .78rem; letter-spacing: .08em; }
.cf-state { margin-left: auto; padding: 2px 8px; border: 2px solid var(--ink); background: var(--gold); font-weight: 700; font-size: .7rem; }
.cf-card.ok .cf-state { background: var(--moss); }
.cf-card.err .cf-state { background: var(--red); color: #fff; }
.cf-box { width: 100%; min-height: 70px; display: flex; align-items: center; justify-content: center; border: var(--bd); background: #fff; padding: 6px; overflow: hidden; }
.cf-loading { font-family: 'JetBrains Mono', monospace; font-size: .8rem; color: #7a786b; }
