:root {
  --bg: #0f1216;
  --bg2: #161a20;
  --bg3: #1e232b;
  --line: #2c333d;
  --text: #e9ecef;
  --muted: #9aa4b0;
  --accent: #4dabf7;
  --accent2: #ffd43b;
  --ok: #51cf66;
  --warn: #fcc419;
  --bad: #ff6b6b;
  --radius: 8px;
  color-scheme: dark;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
}
* { box-sizing: border-box; }
html, body, #app { margin: 0; height: 100%; background: var(--bg); color: var(--text); }
body { overflow: hidden; }
body.compact-body { overflow: auto; }
a { color: var(--accent); }
h1 { font-size: 1.6rem; margin: 0 0 .6rem; }
h2 { font-size: 1.2rem; margin: .8rem 0 .5rem; }
h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: .4rem 0 .5rem; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.mt { margin-top: 1rem; } .mt-s { margin-top: .5rem; }
.row { display: flex; gap: .5rem; align-items: center; }
.row.space { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.row.tight { gap: .2rem; }
.col { display: flex; flex-direction: column; gap: .5rem; }
.warn-text { color: var(--warn); }
.boot { padding: 2rem; color: var(--muted); }
.boot.error { color: var(--bad); }
.legal { font-size: .75rem; color: var(--muted); margin-top: 1.5rem; }
.code { font-family: ui-monospace, monospace; font-size: 2rem; letter-spacing: .2em; text-align: center; background: var(--bg3); padding: .6rem; border-radius: var(--radius); }

input, select, textarea, button { font: inherit; color: inherit; }
input, select, textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: .45rem .55rem; width: 100%; min-width: 0;
}
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible, .map-svg:focus-visible { outline: 2px solid var(--accent2); outline-offset: 1px; }
input:disabled, select:disabled, textarea:disabled { opacity: .65; }
label { display: block; }
.field { display: flex; flex-direction: column; gap: .2rem; margin: .45rem 0; }
.field > span { font-size: .8rem; color: var(--muted); }
.field.half { flex: 1; }
.check { display: flex; align-items: center; gap: .45rem; margin: .3rem 0; cursor: pointer; }
.check input { width: auto; }

.btn {
  background: var(--bg3); border: 1px solid var(--line); border-radius: 6px; padding: .45rem .8rem; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; min-height: 34px;
}
.btn:hover:not(:disabled) { border-color: #48525f; background: #252b34; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: #1c7ed6; border-color: #1c7ed6; color: #fff; font-weight: 600; }
.btn.primary:hover:not(:disabled) { background: #1971c2; }
.btn.danger { border-color: #c92a2a; color: #ffa8a8; }
.btn.ghost { background: transparent; }
.btn.small { padding: .25rem .55rem; font-size: .85rem; min-height: 28px; }
.btn.block { width: 100%; justify-content: center; }
.btn.icon { width: 36px; justify-content: center; padding: 0; font-size: 1.1rem; }
.btn.big { padding: .9rem; font-size: 1.05rem; justify-content: center; }
.link { background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0 .2rem; text-decoration: underline; font-size: .85rem; }

.badge { display: inline-block; font-size: .72rem; padding: .05rem .4rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg3); white-space: nowrap; vertical-align: middle; }
.badge.ok { border-color: #2b8a3e; color: #8ce99a; }
.badge.warn { border-color: #e67700; color: #ffd43b; }
.badge.bad { border-color: #c92a2a; color: #ffa8a8; }
.role-owner { border-color: #e67700; color: #ffd8a8; }
.role-editor { border-color: #1971c2; color: #a5d8ff; }
.role-viewer { color: var(--muted); }
.st-draft { color: #ced4da; }
.st-tested { border-color: #2b8a3e; color: #8ce99a; }
.st-outdated { border-color: #862e9c; color: #e599f7; text-decoration: line-through; }
.or-community { border-color: #1098ad; color: #99e9f2; }
.or-verified { border-color: #2b8a3e; color: #b2f2bb; }
.or-team { color: var(--muted); }

/* Seiten ohne Karte */
.center-page { height: 100%; overflow: auto; display: flex; justify-content: center; align-items: flex-start; padding: 4vh 16px; }
.card { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem; }
.card.narrow { width: min(440px, 100%); }
.card.wide { width: min(900px, 100%); }
.room-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.room-link { display: flex; gap: .7rem; align-items: center; padding: .7rem .9rem; background: var(--bg3); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; flex-wrap: wrap; }
.room-link:hover { border-color: var(--accent); }
details > summary { cursor: pointer; color: var(--muted); padding: .2rem 0; }
.table-wrap { overflow-x: auto; }
table.cov { border-collapse: collapse; width: 100%; font-size: .82rem; }
table.cov th, table.cov td { border-bottom: 1px solid var(--line); padding: .3rem .4rem; text-align: left; vertical-align: top; }

/* Raum-Layout */
.topbar { height: 52px; display: flex; align-items: center; gap: .8rem; padding: 0 .7rem; background: var(--bg2); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .4rem; color: var(--text); text-decoration: none; font-weight: 700; }
.logo { color: var(--accent); font-size: 1.3rem; }
.hdr-title { flex: 1; min-width: 0; overflow: hidden; }
.hdr-room { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr-strat { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr-actions { display: flex; align-items: center; gap: .5rem; }
.seg { display: flex; gap: 0; align-items: center; }
.seg button:not(.btn) { background: var(--bg3); border: 1px solid var(--line); padding: .35rem .7rem; cursor: pointer; }
.seg button:not(.btn):first-child { border-radius: 6px 0 0 6px; }
.seg button:not(.btn):nth-child(2) { border-radius: 0 6px 6px 0; border-left: 0; margin-right: .3rem; }
.seg button.on { background: #1c7ed6; border-color: #1c7ed6; color: #fff; font-weight: 600; }
.status-pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.status-pill.ok .dot { background: var(--ok); }
.status-pill.saving .dot { background: var(--warn); animation: pulse 1s infinite; }
.status-pill.bad { border-color: #c92a2a; color: #ffa8a8; }
.status-pill.bad .dot { background: var(--bad); }
@keyframes pulse { 50% { opacity: .3; } }

.layout { position: relative; display: grid; grid-template-columns: 290px 1fr 350px; height: calc(100% - 52px); }
.panel { background: var(--bg2); overflow-y: auto; overscroll-behavior: contain; }
.panel.left { border-right: 1px solid var(--line); }
.panel.right { border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.sec { padding: .7rem .8rem; border-bottom: 1px solid var(--line); }
.center { position: relative; overflow: hidden; background: #0a0c0f; }
.map-host { position: absolute; inset: 0; }
.map-svg { width: 100%; height: 100%; display: block; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.map-svg[data-tool]:not([data-tool="select"]) { cursor: crosshair; }
.map-missing { position: absolute; inset: 40% 20% auto; text-align: center; background: var(--bg2); border: 1px dashed var(--bad); padding: 1rem; border-radius: var(--radius); }
.empty-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; }
.floor-tabs { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; background: rgba(15,18,22,.92); border: 1px solid var(--line); border-radius: 8px; padding: 3px; max-width: calc(100% - 20px); overflow-x: auto; }
.floor-tabs button { background: transparent; border: 0; padding: .35rem .7rem; border-radius: 6px; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: .3rem; min-height: 32px; }
.floor-tabs button.on { background: #1c7ed6; color: #fff; font-weight: 600; }
.cnt { font-size: .7rem; background: rgba(255,255,255,.12); border-radius: 999px; padding: 0 .35rem; }
.cnt.bad { background: #c92a2a; color: #fff; }
.pdot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; border: 1px solid #111; }
.pdot.big { width: 12px; height: 12px; margin-right: .3rem; }
.zoom-btns { position: absolute; right: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 4px; }
.zoom-btns .btn { background: rgba(30,35,43,.95); }
.path-finish { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; align-items: center; background: var(--bg2); border: 1px solid var(--line); padding: .4rem .6rem; border-radius: 8px; }

/* Markierungen */
.mk { cursor: pointer; }
.mk.dim { opacity: .28; }
.mk.pending { opacity: .85; }
.mk.done .badge circle, .mk.done .badge rect, .mk.done .badge path { opacity: .55; }
.mk.sel .badge > :first-child { stroke: #fff; stroke-width: 3px; }
.mk.flash { animation: flash 1.3s ease-out; }
.mk.warn-hl { filter: drop-shadow(0 0 6px #ff6b6b) drop-shadow(0 0 3px #ff6b6b); }
@keyframes flash { 0%, 40% { filter: drop-shadow(0 0 8px #fff) drop-shadow(0 0 4px #ffd43b); } 100% { filter: none; } }
.outlined { paint-order: stroke; stroke: #000; stroke-width: 3px; stroke-linejoin: round; }
text { pointer-events: none; font-family: system-ui, sans-serif; }
.handle { cursor: move; }
.rcursor { pointer-events: none; transition: transform .08s linear; }

.mk-card { position: absolute; width: 290px; max-width: calc(100% - 16px); background: rgba(22,26,32,.97); border: 1px solid #3b4450; border-radius: 10px; padding: .7rem .8rem; box-shadow: 0 8px 30px rgba(0,0,0,.5); z-index: 5; }
.mk-card.docked { left: 8px !important; right: 8px; bottom: 8px; top: auto !important; width: auto; }
.why { background: var(--bg3); border-left: 3px solid var(--accent2); padding: .45rem .55rem; margin: .45rem 0; border-radius: 4px; white-space: pre-wrap; }
.why-l { color: var(--accent2); font-weight: 700; }

/* Werkzeuge */
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tool { display: flex; align-items: center; gap: .35rem; background: var(--bg3); border: 1px solid var(--line); border-radius: 6px; padding: .3rem .4rem; cursor: pointer; text-align: left; font-size: .8rem; min-height: 36px; }
.tool.on { border-color: var(--accent2); background: #2b2a1a; box-shadow: inset 0 0 0 1px var(--accent2); }
.tool:disabled { opacity: .4; cursor: not-allowed; }
.ti { display: inline-flex; width: 22px; justify-content: center; flex: none; }
.layer-list .check { font-size: .9rem; }
.legend { display: grid; gap: .25rem; margin-top: .4rem; }
.leg { display: flex; align-items: center; gap: .5rem; font-size: .85rem; }
.leg-sym { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #ffd43b; background: #111; font-size: .8rem; }
.leg-sym.ok { background: #2b8a3e; color: #fff; }
.leg-line { width: 22px; height: 4px; background: #3bc9db; display: inline-block; }
.kv { display: flex; justify-content: space-between; margin-bottom: .3rem; }
.warn-list { padding-left: 1.1rem; margin: .4rem 0; }
.warn-list li { margin: .2rem 0; }
.rec { background: var(--bg3); padding: .4rem; border-radius: 6px; margin: .3rem 0; }

.strat-group { margin-bottom: .5rem; }
.strat-map { font-size: .75rem; color: var(--muted); margin: .3rem 0 .15rem; }
.strat-item { display: flex; align-items: center; gap: .35rem; padding: .4rem .5rem; border-radius: 6px; color: var(--text); text-decoration: none; flex-wrap: wrap; }
.strat-item:hover { background: var(--bg3); }
.strat-item.active { background: #1c3a5c; box-shadow: inset 3px 0 0 var(--accent); }
.strat-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Rechtes Panel */
.tabs { flex: none; display: flex; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg2); z-index: 1; overflow-x: auto; }
.tabs button { flex: 1; background: none; border: 0; border-bottom: 2px solid transparent; padding: .65rem .3rem; font-size: .85rem; cursor: pointer; color: var(--muted); white-space: nowrap; display: flex; gap: .3rem; align-items: center; justify-content: center; }
.tabs button.on { color: var(--text); border-bottom-color: var(--accent); font-weight: 600; }
.tab-body { flex: none; padding: .7rem .8rem; }
.online, .members, .comments, .versions, .activity, .tasks, .checks { list-style: none; padding: 0; margin: 0; }
.online li, .members li { display: flex; align-items: center; gap: .3rem; padding: .3rem 0; flex-wrap: wrap; }
.members li > span:first-child { flex: 1; }
.members select { width: auto; }
.roster { display: grid; gap: .45rem; }
.slot { border-left: 4px solid; padding: .35rem .5rem; background: var(--bg3); border-radius: 0 6px 6px 0; display: grid; gap: .3rem; }
.slot-head { display: flex; gap: .35rem; align-items: center; }
.slot-no { width: 22px; height: 22px; flex: none; border-radius: 4px; color: #111; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; }
.slot-name { flex: 1; }
.info-box { background: var(--bg3); padding: .45rem; border-radius: 6px; display: grid; gap: .2rem; }
.comments li { border-bottom: 1px solid var(--line); padding: .35rem 0; }
.versions li { border-bottom: 1px solid var(--line); padding: .45rem 0; display: grid; gap: .2rem; justify-items: start; }
.activity li { padding: .25rem 0; font-size: .85rem; border-bottom: 1px dashed var(--line); }
.checks li { display: flex; gap: .45rem; padding: .45rem; border-radius: 6px; margin-bottom: .35rem; background: var(--bg3); align-items: flex-start; }
.checks li.error { border-left: 4px solid var(--bad); }
.checks li.warn { border-left: 4px solid var(--warn); }
.checks li.info { border-left: 4px solid var(--accent); }
.checks li > span:nth-child(2) { flex: 1; }
.ci { flex: none; }
.tasks li { padding: .35rem .2rem; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.tasks li .check { flex: 1; margin: 0; }
.tasks li.done .check span:last-child { text-decoration: line-through; color: var(--muted); }
.tasks.big li { padding: .7rem .2rem; font-size: 1.05rem; }
.tasks.big input[type=checkbox] { width: 26px; height: 26px; }
.task-note { width: 100%; padding-left: 1.8rem; }
.rf-counter { display: flex; align-items: center; gap: .9rem; background: var(--bg3); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; }
.rf-counter .big { font-size: 1.9rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.rf-counter.bad { border-color: var(--bad); background: #3a1d1d; }
.progress-list { display: grid; gap: .4rem; }
.prog { display: grid; grid-template-columns: 22px minmax(0, 1fr) 90px 34px; gap: .4rem; align-items: center; }
.prog-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; }
.bar { height: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.bar > div { height: 100%; transition: width .3s; }

/* Toasts & Dialoge */
#toasts { position: fixed; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: .5rem; z-index: 100; max-width: min(420px, calc(100% - 24px)); }
.toast { background: var(--bg2); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: .6rem 2rem .6rem .8rem; position: relative; box-shadow: 0 6px 24px rgba(0,0,0,.5); }
.toast.error { border-left-color: var(--bad); }
.toast.warn { border-left-color: var(--warn); }
.toast-actions { margin-top: .4rem; display: flex; gap: .4rem; }
.toast-close { position: absolute; top: .2rem; right: .3rem; background: none; border: 0; color: var(--muted); font-size: 1.2rem; cursor: pointer; }
dialog { background: var(--bg2); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 0; width: min(520px, calc(100% - 24px)); max-height: 90vh; }
dialog::backdrop { background: rgba(0,0,0,.6); }
.modal { padding: 1rem 1.1rem; display: flex; flex-direction: column; max-height: 88vh; }
.modal h2 { margin-top: 0; }
.modal-body { overflow-y: auto; }
.modal-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }

.mobile-nav { display: none; }

/* Kompaktansicht */
.compact { max-width: 640px; margin: 0 auto; padding: 0 16px 2rem; }
.c-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; position: sticky; top: 0; background: var(--bg); padding: .7rem 0; border-bottom: 1px solid var(--line); z-index: 2; }

/* Tablet */
@media (max-width: 1200px) {
  .layout { grid-template-columns: 250px 1fr 310px; }
  .tool-grid { grid-template-columns: 1fr; }
}
/* Schmale Bildschirme: Panels als Schubladen */
@media (max-width: 900px) {
  body { font-size: 15px; }
  .layout { grid-template-columns: 1fr; height: calc(100% - 52px - 52px); }
  .panel { position: absolute; top: 0; bottom: 0; z-index: 10; width: min(360px, 92vw); transform: translateX(-105%); transition: transform .2s; box-shadow: 0 0 30px rgba(0,0,0,.6); }
  .panel.right { right: 0; transform: translateX(105%); }
  .layout.show-left .panel.left { transform: none; }
  .layout.show-right .panel.right { transform: none; }
  .mobile-nav { display: flex; height: 52px; gap: 6px; padding: 6px; background: var(--bg2); border-top: 1px solid var(--line); }
  .mobile-nav .btn { flex: 1; justify-content: center; }
  .brand-text, .hdr-room { display: none; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .floor-tabs { top: 6px; }
}
@media (max-width: 560px) {
  .topbar { gap: .4rem; padding: 0 .4rem; }
  .topbar .status-pill { font-size: 0; padding: .35rem; gap: 0; }
  .topbar .status-pill .dot { width: 12px; height: 12px; }
  .seg button:not(.btn) { padding: .35rem .45rem; font-size: .85rem; }
  #undo-btns { display: none; }
  .hdr-strat .badge { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- Erweiterungen: Kürzel, Gruppenauswahl, Live-Vorschau, Folgen, Kartendaten, Kommentare ---------- */
.tool { position: relative; }
.tool kbd { margin-left: auto; font-size: .65rem; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 0 .25rem; background: var(--bg2); font-family: inherit; }
kbd { font-family: inherit; font-size: .75rem; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: .05rem .35rem; background: var(--bg3); margin-right: .2rem; }
table.keys td:first-child { white-space: nowrap; }
.mk.msel > * { filter: drop-shadow(0 0 3px var(--accent)) drop-shadow(0 0 1px #fff); }
.mk.remote-drag > * { filter: drop-shadow(0 0 4px var(--drag, #fff)); opacity: .85; }
.follow-banner, .map-banner { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; align-items: center; background: var(--bg2); border: 1px solid var(--accent); padding: .35rem .6rem; border-radius: 8px; z-index: 5; max-width: calc(100% - 24px); font-size: .85rem; }
.map-banner { border-color: var(--accent2); }
.follow-banner.hidden, .map-banner.hidden { display: none; }
svg.map-mode { cursor: crosshair; }
svg.map-mode[data-tool="select"] { cursor: default; }
.mapinfo .mi { cursor: pointer; }
.mapinfo .callout.sel rect { stroke-width: 2px; }
.badge.unread { background: #1c3a57; color: #a5d8ff; }
.badge.unread.mention { background: #5c3b00; color: #ffd43b; }
.badge.new { background: #2b8a3e; color: #fff; margin-left: .3rem; }
.mention { color: var(--accent); font-weight: 600; }
.mention.me { color: #111; background: var(--accent2); border-radius: 3px; padding: 0 .15rem; }
.comments li.mentioned { border-left: 3px solid var(--accent2); padding-left: .4rem; }
.mention-pick { gap: .3rem; align-items: center; }
.btn.on { border-color: var(--accent2); color: var(--accent2); }
textarea.remote-edit, input.remote-edit { box-shadow: 0 0 0 2px #3bc9db; transition: box-shadow .3s; }
.info-box { background: var(--bg3); border: 1px solid var(--line); border-radius: 6px; padding: .5rem; margin-top: .5rem; }
.tool kbd { position: absolute; top: 2px; right: 3px; margin: 0; padding: 0 .2rem; font-size: .6rem; line-height: 1.2; }
.tool > span:not(.ti) { padding-right: .7rem; }
.btn.block { white-space: normal; text-align: center; }
.layout { overflow: hidden; } /* eingeklappte Schubladen erzeugen keine horizontale Scrollfläche */
.zoom-btns #sight-btn:not(.on) { opacity: .5; }
/* Wand-/Hatch-Werkzeuge im Kartenmodus: Bombsite-Bereiche und Raumnamen fangen keine Klicks ab */
.map-svg:is([data-tool=map_wall],[data-tool=map_units],[data-tool=map_split],[data-tool=map_hatch]) :is(.site-area, .callout) { pointer-events: none; }
/* Gadget-Leiste je Operator der Aufstellung */
.gadget-bar h3 { font-size: .8rem; margin: .4rem 0 .3rem; }
.gadget-bar .grow { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; margin-bottom: 4px; }
.gadget-bar .gslot { width: 18px; height: 18px; border-radius: 50%; color: #111; font-size: .7rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #111; }
.gadget-bar .gname { font-size: .75rem; min-width: 4.5rem; }
.gbtn { display: inline-flex; align-items: center; gap: 3px; background: var(--bg3); border: 1px solid var(--line); border-radius: 12px; padding: 1px 6px; font-size: .7rem; cursor: pointer; color: inherit; min-height: 24px; }
.gbtn b { background: #da77f2; color: #111; border-radius: 9px; padding: 0 4px; font-size: .65rem; }
.gbtn.sec { border-radius: 4px; }
.gbtn.sec b { background: #c5b3e6; border-radius: 3px; }
.gbtn.on { border-color: var(--accent2); box-shadow: inset 0 0 0 1px var(--accent2); }
.gbtn.over span { color: #ff8787; font-weight: 700; }
