:root {
  --bg: #120d0b;
  --bg2: #1c1512;
  --panel: #241b17;
  --panel2: #2e231e;
  --line: #4a3a30;
  --text: #f1e6d6;
  --muted: #b3a08c;
  --gold: #e8b64c;
  --red: #c8372d;
  --red2: #8f1f19;
  --green: #4caf50;
  --blue: #3d8bff;
  --hp: #d33c32;
  --xp: #7d5cff;
  --energy: #2fb8a4;
  --radius: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: radial-gradient(ellipse at top, #2a1712 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text);
  font: 15px/1.45 Inter, system-ui, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; cursor: pointer; }
input, select { font: inherit; color: var(--text); background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; width: 100%; }
input:focus, select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
h1, h2, h3 { font-family: Cinzel, serif; margin: 0 0 10px; letter-spacing: .5px; }
h2 { font-size: 20px; color: var(--gold); }
h3 { font-size: 16px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.gold { color: var(--gold); }
.row { display: flex; gap: 10px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.spacer { flex: 1; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.btn {
  background: linear-gradient(180deg, var(--red) 0%, var(--red2) 100%);
  border: 1px solid #e0574b; border-radius: 8px; padding: 10px 16px; font-weight: 700;
  box-shadow: 0 2px 0 #4d0f0b; transition: transform .05s, filter .15s;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn:disabled { filter: grayscale(1) brightness(.6); cursor: not-allowed; }
.btn.alt { background: var(--panel2); border-color: var(--line); box-shadow: none; }
.btn.gold { background: linear-gradient(180deg, #f3c862, #b8862a); border-color: #f6d27d; color: #2a1a05; box-shadow: 0 2px 0 #6b4a12; }
.btn.sm { padding: 6px 10px; font-size: 13px; }
.btn.full { width: 100%; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }

/* ---------- autentificare */
.auth { max-width: 520px; margin: 0 auto; padding: 32px 16px; }
.logo { text-align: center; margin-bottom: 20px; }
.logo h1 { font-size: 40px; font-weight: 800; color: var(--gold); text-shadow: 0 0 24px rgba(232,182,76,.35), 0 3px 0 #5a1a12; margin: 0; }
.logo p { color: var(--muted); margin: 6px 0 0; }
.tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.tabs button { flex: 1; background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; padding: 10px; font-weight: 700; color: var(--muted); }
.tabs button.on { color: var(--text); border-color: var(--gold); background: var(--panel2); }
.field { margin-bottom: 10px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.classes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 12px; }
.cls-card { background: var(--bg2); border: 2px solid var(--line); border-radius: 10px; padding: 10px; text-align: left; }
.cls-card.on { border-color: var(--gold); background: var(--panel2); }
.cls-card .ic { font-size: 28px; }
.cls-card b { display: block; font-family: Cinzel, serif; }
.cls-card span { font-size: 12px; color: var(--muted); }

/* ---------- joc */
.game { max-width: 900px; margin: 0 auto; padding: 0 12px 90px; }
.topbar { position: sticky; top: 0; z-index: 5; background: rgba(18,13,11,.94); backdrop-filter: blur(6px); padding: 10px 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.topbar .name { font-family: Cinzel, serif; font-weight: 800; }
.res { display: flex; gap: 12px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.bar { height: 8px; background: #0c0908; border-radius: 6px; overflow: hidden; border: 1px solid #3a2c24; }
.bar > i { display: block; height: 100%; background: var(--xp); transition: width .3s; }
.bar.hp > i { background: var(--hp); }
.bar.en > i { background: var(--energy); }
.bars { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; font-size: 11px; color: var(--muted); }

.nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 6; display: flex; justify-content: center; background: rgba(18,13,11,.97); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.nav button { flex: 1; max-width: 120px; background: none; border: 0; padding: 8px 2px 10px; color: var(--muted); font-size: 11px; font-weight: 600; }
.nav button .i { display: block; font-size: 22px; line-height: 1.2; }
.nav button.on { color: var(--gold); }

/* erou */
.hero { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 720px) { .hero { grid-template-columns: 1fr 1fr; } }
.avatar { text-align: center; padding: 18px 10px; border-radius: var(--radius); background: radial-gradient(circle, #3a2018 0%, var(--panel) 70%); }
.avatar .big { font-size: 64px; line-height: 1; filter: drop-shadow(0 0 var(--glow, 0px) var(--glowc, #e8b64c)); }
.stat { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed #3a2c24; }
.stat:last-child { border-bottom: 0; }
.stat .n { flex: 1; }
.stat .v { font-weight: 700; min-width: 34px; text-align: right; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 14px; }

.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.inv { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (min-width: 720px) { .inv { grid-template-columns: repeat(10, 1fr); } .slots { grid-template-columns: repeat(8, 1fr); } }
.tile {
  position: relative; aspect-ratio: 1; border-radius: 8px; background: var(--bg2); border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 26px; padding: 0;
}
.tile.empty { opacity: .45; font-size: 11px; color: var(--muted); }
.tile .up { position: absolute; top: 1px; right: 3px; font-size: 11px; font-weight: 800; color: var(--gold); text-shadow: 0 1px 2px #000; }
.tile .lv { position: absolute; bottom: 1px; left: 3px; font-size: 10px; color: var(--muted); }
.tile.glow { box-shadow: 0 0 calc(var(--g) * 1px) var(--rc), inset 0 0 calc(var(--g) * .6px) var(--rc); }

/* aventură */
.locs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.loc { flex: 0 0 auto; min-width: 128px; background: var(--bg2); border: 2px solid var(--line); border-radius: 10px; padding: 10px; text-align: left; }
.loc.on { border-color: var(--gold); }
.loc:disabled { opacity: .45; }
.loc .ic { font-size: 24px; }
.loc b { display: block; font-size: 13px; }
.missions { display: grid; gap: 10px; }
@media (min-width: 720px) { .missions { grid-template-columns: repeat(3, 1fr); } }
.mission { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.mission .mon { font-size: 34px; }
.timer { font-family: Cinzel, serif; font-size: 28px; color: var(--gold); }
.boss { display: flex; gap: 14px; align-items: center; }
.boss .ic { font-size: 54px; }

/* liste */
.list { display: flex; flex-direction: column; gap: 6px; }
.li { display: flex; align-items: center; gap: 10px; background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.li .tile { width: 46px; flex: 0 0 46px; font-size: 22px; }
.li .grow { flex: 1; min-width: 0; }
.li .grow b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 6px 4px; text-align: left; border-bottom: 1px solid #3a2c24; }
th { color: var(--muted); font-weight: 600; }
td.r, th.r { text-align: right; }

/* chat */
.chat-box { height: 50vh; overflow-y: auto; background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; padding: 8px; margin-bottom: 8px; }
.msg { padding: 2px 0; word-wrap: break-word; }
.msg b { color: var(--gold); }
.msg .t { color: var(--muted); font-size: 11px; margin-right: 6px; }

/* modal + luptă */
.modal { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.7); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-box { background: var(--panel); border: 1px solid var(--gold); border-radius: 12px; width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto; padding: 16px; }
.item-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.item-head .tile { width: 64px; flex: 0 0 64px; font-size: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fight { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; text-align: center; }
.fighter .ic { font-size: 52px; transition: transform .15s; }
.fighter .ic.hit { transform: translateX(6px) rotate(8deg); filter: brightness(1.8) saturate(.4); }
.fighter b { display: block; font-size: 13px; }
.vs { font-family: Cinzel, serif; color: var(--gold); font-size: 20px; }
.flog { height: 140px; overflow-y: auto; font-size: 13px; background: var(--bg2); border-radius: 8px; padding: 8px; margin: 12px 0; }
.flog .c { color: var(--gold); font-weight: 700; }
.flog .h { color: var(--green); }
.result { text-align: center; font-family: Cinzel, serif; font-size: 26px; margin: 6px 0; }
.result.win { color: var(--gold); }
.result.lose { color: var(--red); }

/* ---------- rame aurii ornamentate */
.frame {
  position: relative; margin-bottom: 14px; padding: 16px; border-radius: 6px;
  background: linear-gradient(180deg, rgba(255,220,150,.05), rgba(0,0,0,.15)), var(--panel);
  border: 2px solid #8a6a3a;
  box-shadow: inset 0 0 0 1px #2a1c12, inset 0 0 0 4px rgba(201,160,80,.18), 0 6px 18px rgba(0,0,0,.45);
}
.frame::before, .frame::after {
  content: ''; position: absolute; width: 22px; height: 22px; pointer-events: none;
  border: 3px solid #e3bd6a; filter: drop-shadow(0 0 3px rgba(227,189,106,.5));
}
.frame::before { top: -4px; left: -4px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: -4px; right: -4px; border-left: 0; border-top: 0; }

/* harta */
.map-frame { padding: 8px; }
.world { display: block; width: 100%; height: auto; border-radius: 3px; }
.pin { cursor: pointer; transition: transform .15s; }
.pin:hover > circle:not(.ring), .pin:focus > circle:not(.ring) { stroke: #fff2c4; }
.pin:focus { outline: none; }
.pin.locked { cursor: not-allowed; }
.pin .ring { animation: pulse 1.6s ease-in-out infinite; transform-origin: 0 0; }
@keyframes pulse { 0%, 100% { opacity: .9; transform: scale(1); } 50% { opacity: .35; transform: scale(1.15); } }
.loc-head h2 { font-size: 20px; }

/* păpușa de echipament */
.doll-wrap { text-align: center; }
.doll-title { margin-bottom: 8px; }
.doll { display: grid; grid-template-columns: 68px 1fr 68px; gap: 8px; align-items: center; }
.doll-col { display: flex; flex-direction: column; gap: 8px; }
.doll-col .tile { width: 68px; }
.slot-empty { font-size: 10px; background: radial-gradient(circle, #2a1f19, #15100d); }
.stage { min-width: 0; }
.hero-svg { width: 100%; max-height: 330px; display: block; margin: 0 auto; }
.hero-body { filter: drop-shadow(0 0 var(--glow) var(--aura)); }
.doll-stats { display: flex; justify-content: space-around; margin-top: 10px; padding-top: 10px; border-top: 1px solid #4a3a30; font-size: 14px; }
.bag .inv { margin-top: 10px; grid-template-columns: repeat(5, 1fr); }
.inv .tile.empty { background: radial-gradient(circle, #241a15, #120d0b); border-color: #3a2c22; }

/* tooltip obiect (stil MMO) */
.tip { position: fixed; z-index: 40; width: 250px; pointer-events: none; background: rgba(10,7,6,.96); border: 1px solid #6b5536; border-radius: 4px; padding: 10px 12px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.7); }
.tip-name { font-weight: 800; font-size: 15px; }
.tip-sub { font-size: 12px; color: #d8cbb6; }
.tip-stats { margin: 8px 0; color: #5fe08a; font-size: 13px; font-weight: 600; }
.tip-stats .tip-base { color: #f1e6d6; }
.tip-stats .tip-none { color: #8a7f72; font-weight: 400; font-style: italic; }
.modal .tip-stats { text-align: center; background: #120d0b; border: 1px solid #3b2d20; border-radius: 6px; padding: 8px; }
.flog .p { color: #b98cff; }
.bonus-actions { display: grid; grid-template-columns: 1fr; gap: 6px; }
@media (min-width: 480px) { .bonus-actions { grid-template-columns: repeat(3, 1fr); } }
.bonus-actions .btn { display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.2; }
.bonus-actions small { font-weight: 600; font-size: 11px; opacity: .85; }
.bonus-list { margin-top: 10px; background: #15100d; border: 1px solid #3b2d20; border-radius: 6px; padding: 8px 10px; }
.bonus-list summary { cursor: pointer; font-weight: 700; color: var(--gold); }
.bl-grid { display: grid; gap: 4px; margin-top: 8px; font-size: 13px; }
.bl-grid > div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed #2e231c; padding: 2px 0; }
.bl-grid b { color: #5fe08a; white-space: nowrap; }
.tip-foot { color: #e8dcc8; font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.tip-cmp { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #4a3a30; }
.xs { font-size: 10.5px; letter-spacing: .4px; font-weight: 700; }

/* ---------- panouri mari cu banner (Personaj / Inventar / Piață) */
.char-layout { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 12px; }
@media (min-width: 820px) { .char-layout { grid-template-columns: 1fr 1fr; } }
.wpanel { background: #1b1411; border: 2px solid #5a4630; border-radius: 6px; box-shadow: inset 0 0 0 3px #120c0a, inset 0 0 0 4px #3b2d20, 0 8px 22px rgba(0,0,0,.5); margin-bottom: 14px; position: relative; }
.wpanel-head {
  text-align: center; font-family: Cinzel, serif; font-weight: 800; font-size: 22px; letter-spacing: 1.5px; text-transform: uppercase;
  color: #f4ead8; text-shadow: 0 2px 0 #000; padding: 8px 0 7px;
  background: linear-gradient(180deg, #7a3a1c, #4e2210 60%, #3a180b); border-bottom: 2px solid #a8783c;
  box-shadow: inset 0 1px 0 rgba(255,200,140,.35);
}
.wpanel-body { padding: 12px; }

/* portret */
.portrait { position: relative; aspect-ratio: 1 / 1.02; overflow: hidden; border: 2px solid #3b2d20; border-radius: 4px; background: #222; }
.pback { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait .hero-svg { position: absolute; bottom: -2%; left: 50%; transform: translateX(-50%); height: 86%; width: auto; max-height: none; }
.portrait-name { position: absolute; top: 8px; left: 0; right: 0; text-align: center; text-shadow: 0 2px 3px #000, 0 0 8px #000; font-weight: 800; }
.pn-name { font-size: 18px; color: #fff; }
.pn-lv { color: #a6e05a; }
.pn-cls { color: #59c7ff; }
.xp-box { position: relative; display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 8px 12px; background: #120d0b; border: 1px solid #3b2d20; border-radius: 4px; overflow: hidden; }
.xp-box > * { position: relative; z-index: 1; }
.xp-fill { position: absolute !important; z-index: 0 !important; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(125,92,255,.28), rgba(125,92,255,.12)); }
.xp-pct { font-size: 18px; }

/* statistici */
.stat-head { display: flex; align-items: flex-end; gap: 10px; margin-top: 12px; }
.tabtag { font-family: Cinzel, serif; font-weight: 800; font-size: 18px; padding: 8px 18px; background: #241a15; border: 1px solid #3b2d20; border-bottom: 0; border-radius: 6px 6px 0 0; }
.points { margin-left: auto; display: flex; align-items: center; gap: 12px; padding: 6px 12px; background: #120d0b; border: 1px solid #3b2d20; border-radius: 4px; }
.points b { font-size: 24px; }
.points.has { border-color: #c9a050; box-shadow: 0 0 10px rgba(232,182,76,.35); }
.points.has b { color: var(--gold); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; background: #241a15; border: 1px solid #3b2d20; border-radius: 0 6px 6px 6px; }
.stat-col { display: flex; flex-direction: column; gap: 6px; }
.srow, .drow { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 4px; background: #15100d; border: 1px solid #2e231c; min-height: 46px; }
.srow { background: linear-gradient(90deg, var(--sc, #333) 0%, #15100d 75%); }
.srow .grow { flex: 1; min-width: 0; }
.srow b, .drow b { font-size: 15px; }
.si { font-size: 18px; width: 22px; text-align: center; }
.plus { width: 32px; height: 32px; border-radius: 4px; border: 1px solid #a8783c; background: linear-gradient(180deg, #8a6a3a, #4e3a20); color: #ffe7b0; font-weight: 800; font-size: 20px; line-height: 1; }
.plus:disabled { opacity: .35; cursor: default; }
.plus:not(:disabled):hover { filter: brightness(1.2); }
@media (max-width: 420px) { .stat-grid { grid-template-columns: 1fr; } }

/* păpușa în stil Metin */
.mdoll {
  position: relative; display: grid; grid-template-columns: repeat(3, 72px); grid-template-rows: repeat(4, 72px); gap: 18px 34px;
  justify-content: center; padding: 16px 0; border: 1px solid #3b2d20; border-radius: 4px;
  background: radial-gradient(circle at 50% 45%, #2e241e, #15100d 70%);
}
.mdoll .sil { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 92%; opacity: .9; pointer-events: none; }
.dslot { position: relative; z-index: 1; }
.dslot .tile { width: 72px; }
.ds-cercei { grid-area: 1 / 1; } .ds-coif { grid-area: 1 / 2; } .ds-colier { grid-area: 1 / 3; }
.ds-arma { grid-area: 2 / 1; } .ds-armura { grid-area: 2 / 2; } .ds-scut { grid-area: 2 / 3; }
.ds-bratara { grid-area: 3 / 3; } .ds-cizme { grid-area: 4 / 2; }
.tile.ghost { font-size: 28px; opacity: 1; filter: grayscale(1) brightness(.35); background: rgba(20,14,11,.75); border-color: #3b2d20; }
@media (max-width: 400px) { .mdoll { grid-template-columns: repeat(3, 62px); grid-template-rows: repeat(4, 62px); gap: 14px 26px; } .dslot .tile { width: 62px; } }

/* rucsac cu pagini */
.bag-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 8px; }
.bag-tabs button { font-family: Cinzel, serif; font-weight: 800; font-size: 20px; padding: 6px; background: #241a15; border: 1px solid #3b2d20; border-radius: 4px; color: var(--muted); }
.bag-tabs button.on { color: #fff; border-color: #c9a050; background: linear-gradient(180deg, #2c3f6a 0%, #241a15 40%); }
.bag-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid #3b2d20; }
.bag-grid .tile { border-radius: 0; border-width: 1px; }
.bag-grid .tile.empty { background: #0e0a08; border-color: #2a201a; }

/* piață */
.mk-bar { display: grid; grid-template-columns: 1fr 48px 48px auto; gap: 8px; }
.mk-search { background: #120d0b; border: 1px solid #3b2d20; font-weight: 700; letter-spacing: .5px; }
.mk-btn { background: linear-gradient(180deg, #4a3826, #2a1f16); border: 1px solid #6b5536; border-radius: 4px; color: #f4ead8; font-weight: 800; font-size: 18px; min-height: 42px; padding: 0 12px; }
.mk-btn.wide { font-family: Cinzel, serif; font-size: 16px; padding: 0 18px; }
.mk-btn:disabled { opacity: .35; }
.mk-filters { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-top: 8px; align-items: center; }
.mk-grid { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
@media (min-width: 640px) { .mk-grid { grid-template-columns: 1fr 1fr; } }
.mk-card { display: flex; gap: 10px; text-align: left; padding: 8px; background: #15100d; border: 1px solid #3b2d20; border-radius: 4px; }
.mk-card:hover { border-color: #c9a050; box-shadow: 0 0 0 1px #c9a050 inset; }
.mk-card.mine { border-style: dashed; }
.mk-card .tile { width: 80px; flex: 0 0 80px; font-size: 34px; }
.mk-info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.mk-name { font-weight: 800; font-size: 15px; line-height: 1.25; }
.mk-price { margin-top: auto; text-align: right; font-weight: 800; color: #f1e6d6; display: flex; justify-content: flex-end; align-items: center; gap: 5px; }
.mk-price.big { color: #f3c13a; }
.coin { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff2b8, #d7a636 55%, #8a6418); box-shadow: 0 0 0 1px #5a4010; display: inline-block; }
.mk-pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 12px; font-weight: 700; }
.mk-pager .mk-btn { width: 56px; font-size: 22px; }

/* ---------- imagini: iconițe obiecte + portrete */
.tile .ii { width: 78%; height: 78%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0,0,0,.6)); }
.tile .ii.cursed { filter: hue-rotate(220deg) saturate(1.3) drop-shadow(0 0 4px #b45cff); }
.tile.ghost .ii { filter: grayscale(1) brightness(.5); opacity: .45; }
.tile.ghost { filter: none; }
.portrait .pimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.portrait::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, transparent 22%, transparent 70%, rgba(0,0,0,.6) 100%); box-shadow: inset 0 0 var(--glow, 4px) var(--aura, #e8b64c); }
.portrait.cls-razboinic { --aura: #e0483a; } .portrait.cls-asasin { --aura: #4fd27a; } .portrait.cls-sura { --aura: #b45cff; } .portrait.cls-vrajitor { --aura: #4aa8ff; }
.portrait-name { z-index: 1; }
.cls-card .cls-img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 15%; border-radius: 6px; margin-bottom: 6px; border: 1px solid #3b2d20; }
.fighter img.ic { width: 96px; height: 120px; object-fit: cover; object-position: center 15%; border-radius: 6px; border: 2px solid #8a6a3a; display: block; margin: 0 auto 4px; }
.fighter .ic.emoji { display: block; }
.boss img.ic { width: 84px; height: 104px; object-fit: cover; object-position: center 15%; border-radius: 6px; border: 2px solid #8a6a3a; }
.mission img.mon { width: 48px; height: 60px; object-fit: cover; object-position: center 15%; border-radius: 4px; border: 1px solid #6b5536; }
.arena-face { width: 46px; height: 58px; object-fit: cover; object-position: center 15%; border-radius: 4px; border: 1px solid #6b5536; }

/* ---------- drag & drop */
.tile.dnd { touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.tile.dragging { opacity: .25; }
.drag-ghost { position: fixed !important; z-index: 60; pointer-events: none; cursor: grabbing; transform: scale(1.12); box-shadow: 0 10px 24px rgba(0,0,0,.7) !important; opacity: .95; }
.bcell, .dslot { position: relative; }
.bcell.drop-ok::after, .dslot.drop-ok::after, .bag-tabs button.drop-ok { outline: 2px solid #5fe08a; }
.bcell.drop-ok::after, .dslot.drop-ok::after, .bcell.drop-bad::after, .dslot.drop-bad::after,
.dslot.drop-hint::before { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: 8px; }
.bcell.drop-ok::after, .dslot.drop-ok::after { background: rgba(95,224,138,.18); box-shadow: inset 0 0 0 2px #5fe08a; }
.bcell.drop-bad::after, .dslot.drop-bad::after { background: rgba(255,90,80,.18); box-shadow: inset 0 0 0 2px #ff5a50; }
.dslot.drop-hint::before { box-shadow: 0 0 0 2px #e8b64c, 0 0 14px #e8b64c; animation: pulse 1s ease-in-out infinite; }
.bag-tabs button.drop-ok { border-color: #5fe08a; color: #5fe08a; }
.bag-tabs button.drop-bad { border-color: #ff5a50; }

/* ---------- hartă: harta + panoul locației */
.map-layout { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 980px) { .map-layout { grid-template-columns: 3fr 2fr; } .game { max-width: 1240px; } }
.map-col .missions { grid-template-columns: 1fr !important; }
@media (min-width: 980px) { .map-col .missions { grid-template-columns: 1fr 1fr !important; } }
.side-col .missions { grid-template-columns: 1fr !important; }
.loc-modal-head { display: flex; gap: 12px; align-items: center; }
.loc-modal-head .big-ic { font-size: 40px; }
.mon-list { display: grid; gap: 6px; }
.mon-row { display: flex; gap: 10px; align-items: center; padding: 6px 8px; background: #15100d; border: 1px solid #3b2d20; border-radius: 6px; }
.mon-row .mon.emoji { font-size: 30px; width: 48px; text-align: center; }
.mon-row img.mon { width: 48px; height: 60px; object-fit: cover; object-position: center 15%; border-radius: 4px; border: 1px solid #6b5536; flex: 0 0 48px; }
.boss-row { border-color: #8a3a2a; background: linear-gradient(90deg, #3a1610, #15100d); }

/* ---------- oraș */
.town-frame { padding: 8px; position: relative; }
.town { display: block; width: 100%; height: auto; border-radius: 3px; }
.bld { cursor: pointer; }
.bld:hover > :not(.arrow) { filter: brightness(1.12); }
.bld:focus { outline: none; }
.bld:focus > :first-child { filter: drop-shadow(0 0 6px #ffd36b); }
.arrow { animation: bob 1s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.bld .arrow { transform-box: fill-box; }
.smoke circle { animation: smoke 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.smoke circle:nth-child(2) { animation-delay: .8s; } .smoke circle:nth-child(3) { animation-delay: 1.6s; }
@keyframes smoke { 0% { opacity: 0; transform: translateY(20px) scale(.6); } 40% { opacity: .55; } 100% { opacity: 0; transform: translateY(-30px) scale(1.4); } }
.fire { animation: flick .4s ease-in-out infinite alternate; }
@keyframes flick { from { opacity: .6; } to { opacity: 1; } }
.bub { animation: bub 1.2s ease-in infinite; transform-box: fill-box; }
.bub.b2 { animation-delay: .6s; }
@keyframes bub { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-18px); opacity: 0; } }
.flow { animation: flow 3s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -64; } }
.glow-l { filter: drop-shadow(0 0 6px #ffd36b); }
/* (banda de chat de peste oraș a fost scoasă — chatul global e în tab-ul Chat) */
.town-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin-bottom: 14px; }
.town-btn { text-align: left; background: #1b1411; border: 1px solid #5a4630; border-radius: 6px; padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.town-btn:hover { border-color: #c9a050; }
.bld-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }

/* fierar + magazin */
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
.pick-grid .tile { position: relative; }
.tile.picked, .bcell.craft-sel .tile { outline: 3px solid #ffd36b; outline-offset: 1px; }
.eq-badge { position: absolute; top: 2px; left: 4px; font-size: 10px; font-weight: 800; color: #5fe08a; }
.panel.forge { margin-top: 12px; }
.shop-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 760px) { .shop-grid { grid-template-columns: 1fr 1fr; } }
.shop-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; background: #15100d; border: 1px solid #3b2d20; border-radius: 6px; padding: 8px; }
.shop-card .tile { width: 64px; }
.shop-buy { display: flex; flex-direction: column; gap: 6px; width: 92px; }
.qty-in { padding: 6px; text-align: center; }
.tile .qty { position: absolute; bottom: 1px; right: 4px; font-size: 11px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px #000; }
.tile.consum { border-color: #6b5536; }
.btn-ic { width: 22px; height: 22px; object-fit: contain; }
.tip-desc { font-size: 12.5px; color: #d8cbb6; margin: 6px 0; }

/* ---------- sub-tab-uri Erou */
.subtabs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.subtabs button { flex: 1; min-width: 110px; background: #1b1411; border: 1px solid #5a4630; border-radius: 6px; padding: 10px; font-weight: 800; color: var(--muted); font-family: Cinzel, serif; }
.subtabs button.on { color: #f4ead8; border-color: #c9a050; background: linear-gradient(180deg, #4e2210, #2a160c); }

/* abilități */
.doc-grid { display: grid; gap: 10px; }
@media (min-width: 720px) { .doc-grid { grid-template-columns: 1fr 1fr; } }
.doc-card { background: #15100d; border: 1px solid #5a4630; border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.skill-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.skill-row { display: flex; gap: 12px; align-items: center; padding: 10px; background: #15100d; border: 1px solid #3b2d20; border-radius: 6px; }
.skill-ic { position: relative; width: 56px; height: 56px; flex: 0 0 56px; display: flex; align-items: center; justify-content: center; font-size: 30px; background: radial-gradient(circle, #3a2a1e, #120d0b); border: 2px solid #8a6a3a; border-radius: 8px; }
.grade { position: absolute; bottom: -6px; right: -6px; min-width: 24px; padding: 1px 5px; border-radius: 6px; background: #2a1c12; border: 1px solid #8a6a3a; font-size: 11px; font-weight: 800; text-align: center; }
.grade.gm { background: #1f3a6a; border-color: #4aa8ff; color: #bfe0ff; }
.grade.gg { background: #4a2a6a; border-color: #b357ff; color: #e8d0ff; }
.grade.gp { background: #6a4a10; border-color: #ffd36b; color: #fff2c4; box-shadow: 0 0 8px #ffd36b; }
.skill-row .grow { flex: 1; min-width: 0; }

/* animal + cal */
.pet-card { display: flex; gap: 14px; align-items: center; }
.pet-ic { font-size: 56px; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, #3a2a1e, #120d0b); border: 2px solid #8a6a3a; border-radius: 10px; }
.pet-ic.small-ic { font-size: 34px; width: 64px; height: 64px; }
.pet-card .grow { flex: 1; }
.picked-card { border-color: #ffd36b !important; }

/* temnițe + boss mondial */
.floors { display: flex; gap: 6px; }
.floor { flex: 1; text-align: center; padding: 8px 0; border-radius: 6px; background: #15100d; border: 1px solid #3b2d20; font-weight: 800; }
.floor.done { background: #1f3a24; border-color: #4caf50; color: #9fe0a8; }
.floor.cur { border-color: #ffd36b; box-shadow: 0 0 8px rgba(255,211,107,.5); color: #ffd36b; }
.wb .wb-face { width: 72px; height: 90px; object-fit: cover; object-position: center 15%; border-radius: 6px; border: 2px solid #8a3a2a; flex: 0 0 72px; }
.wb .wb-face.emoji { font-size: 50px; text-align: center; }
.bar.big { height: 14px; margin: 6px 0 2px; }

/* altar */
.daily-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
@media (max-width: 600px) { .daily-row { grid-template-columns: repeat(4, 1fr); } }
.daily-box { text-align: center; padding: 8px 4px; background: #15100d; border: 1px solid #3b2d20; border-radius: 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.daily-box.done { opacity: .5; border-color: #4caf50; }
.daily-box.cur { border-color: #ffd36b; box-shadow: 0 0 10px rgba(255,211,107,.45); }
.btn-ic.big { width: 36px; height: 36px; }
.wheel-box { max-width: 320px; margin: 0 auto; }
.wheel-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 14px rgba(0,0,0,.6)); }
.wheel-g { transform-origin: 0 0; }
.wheel-spin { animation: wheelSpin 12s linear infinite; }
@keyframes wheelSpin { to { transform: rotate(360deg); } }

/* regate */
.kingdom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kingdom-card { background: #15100d; border: 2px solid #3b2d20; border-radius: 8px; padding: 10px 6px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.kingdom-card.on { background: #2a1c12; }
.kwar-row { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed #3b2d20; }
.kwar-row .grow { flex: 1; }
.kwar-ic { font-size: 26px; width: 34px; text-align: center; }
.tip-stats .tip-gem { color: #7fc8ff; font-weight: 600; }
.tip-stats .tip-gem.empty { color: #6f7f8f; font-weight: 400; }

/* ---------- buton limbă RO / EN */
.lang-switch { display: inline-flex; gap: 2px; background: #120d0b; border: 1px solid #5a4630; border-radius: 6px; padding: 2px; }
.lang-switch button { background: none; border: 0; border-radius: 4px; padding: 3px 7px; font-size: 12px; font-weight: 800; color: var(--muted); }
.lang-switch button.on { background: #4e2210; color: #f4ead8; }
.auth .lang-switch { display: flex; width: max-content; margin: 0 0 10px auto; }
.topbar .lang-switch { margin-left: 8px; }

/* ---------- hartă pe imagine (public/img/map.webp) */
.map-photo { position: relative; padding: 6px; }
.map-bg { display: block; width: 100%; height: auto; border-radius: 3px; }
/* zona apăsabilă: acoperă medalionul și eticheta deja desenate în imagine */
.mspot { position: absolute; transform: translate(-50%, -50%); width: 17%; height: 15%; background: none; border: 0; border-radius: 10px; }
.mspot:hover { background: rgba(255,211,107,.16); box-shadow: 0 0 0 2px rgba(255,211,107,.6) inset; }
.mspot:focus { outline: none; background: rgba(255,211,107,.16); box-shadow: 0 0 0 2px #ffd36b inset; }
.mspot.locked { cursor: not-allowed; }
.mspot.locked:hover { background: rgba(255,90,80,.14); box-shadow: 0 0 0 2px rgba(255,90,80,.5) inset; }
/* medalionul care acoperă lacătul din imagine și arată starea adevărată */
.mbadge {
  position: absolute; transform: translate(-50%, -50%); width: 4.6%; aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; pointer-events: none;
  background: radial-gradient(circle at 40% 35%, #3a2a1e, #140d09 70%); border: 2px solid #c9a050;
  font-size: clamp(12px, 2vw, 24px); box-shadow: 0 2px 6px rgba(0,0,0,.6);
}
.mbadge.locked { border-color: #6a6a6a; filter: grayscale(.6); }
/* atenție: nu folosim animația „pulse” aici, fiindcă ar suprascrie centrarea (transform) */
.mbadge.here { border-color: #ffd36b; animation: glowPulse 1.6s ease-in-out infinite; }
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(255,211,107,.6); }
  50% { box-shadow: 0 0 22px rgba(255,211,107,1); }
}
.mhere {
  position: absolute; bottom: 112%; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: clamp(7px, .85vw, 11px); font-weight: 900; letter-spacing: .5px; color: #2a1a05;
  background: #ffd36b; border-radius: 6px; padding: 1px 6px; animation: none;
}

/* ---------- oraș pe imagine (public/img/town.jpg) */
.town-photo { position: relative; padding: 6px; container-type: inline-size; }
.town-bg { display: block; width: 100%; height: auto; border-radius: 3px; }
.spot { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 0; background: none; border: 0; padding: 0; }
.spot-label {
  font-family: Cinzel, serif; font-weight: 800; font-size: clamp(10px, 1.25vw, 15px); color: #f3d58a; white-space: nowrap;
  background: rgba(33,21,15,.92); border: 1.5px solid #c9a050; border-radius: 5px; padding: 2px 9px; box-shadow: 0 3px 8px rgba(0,0,0,.6);
}
.spot-arrow { color: #ffc531; font-size: clamp(14px, 1.8vw, 22px); line-height: .9; text-shadow: 0 2px 3px rgba(0,0,0,.8); animation: bob 1s ease-in-out infinite; }

/* Etichetele se micșorează odată cu imaginea, nu cu fereastra: altfel pe telefon rămân mari și intră una în alta. */
@container (min-width: 0px) {
  .spot-label { font-size: clamp(8px, 1.7cqw, 15px); padding: 0.2cqw 1cqw; border-width: max(1px, 0.17cqw); border-radius: 0.6cqw; }
  .spot-arrow { font-size: clamp(11px, 2.5cqw, 22px); }
}
/* Sub lățimea asta eticheta ar fi oricum prea mică pentru citit: lăsăm doar săgețile,
   numele clădirilor se văd în lista de butoane de sub imagine. */
@container (max-width: 430px) {
  .spot-label { display: none; }
  .spot-arrow { font-size: 20px; filter: drop-shadow(0 0 3px #000); }
  .spot { padding: 6px; }
}
.spot:hover .spot-label { background: #4e2210; border-color: #ffd36b; color: #fff2c4; }
.spot:focus { outline: none; }
.spot:focus .spot-label { box-shadow: 0 0 0 2px #ffd36b; }

.online-chip { color: #7fe08a; font-weight: 800; letter-spacing: .2px; }

/* bulina cu mesaje necitite de pe butonul Chat */
.nav button { position: relative; }
.nav-badge {
  position: absolute; top: 2px; right: 50%; transform: translateX(26px);
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: #c0392b; color: #fff; font-size: 11px; font-weight: 800; line-height: 17px;
  text-align: center; box-shadow: 0 0 0 2px #120d0b, 0 1px 3px rgba(0,0,0,.6);
}

/* ---------- fluxul de știri de pe ecranul de logare */
.newsfeed { margin: 18px auto 0; max-width: 520px; width: 100%; background: #1b1411; border: 1px solid #5a4630; border-radius: 8px; padding: 10px 12px; }
.nf-title { font-family: Cinzel, serif; font-weight: 800; color: #f3d58a; font-size: 14px; margin-bottom: 6px; }
.nf-list { display: flex; flex-direction: column; gap: 4px; max-height: 230px; overflow-y: auto; }
.nf-row { font-size: 13px; line-height: 1.35; color: #cdbfae; display: flex; gap: 5px; align-items: baseline; flex-wrap: wrap; }
.nf-row b { color: #f3d58a; font-weight: 700; }
.nf-ic { flex: 0 0 auto; }
.nf-txt { flex: 1 1 auto; min-width: 0; }
.nf-ago { color: #7b6a58; font-size: 11px; white-space: nowrap; }

/* ---------- Ghidul jocului */
.wiki-head { margin-bottom: 12px; }
.wiki-search { width: 100%; margin-top: 10px; }
.wiki-sec { background: #1b1411; border: 1px solid #5a4630; border-radius: 7px; margin-bottom: 8px; overflow: hidden; }
.wiki-sec > summary { cursor: pointer; padding: 10px 12px; font-family: Cinzel, serif; color: #f3d58a; display: flex; gap: 8px; align-items: center; list-style: none; }
.wiki-sec > summary::-webkit-details-marker { display: none; }
.wiki-sec > summary::after { content: '▾'; margin-left: auto; color: #c9a050; transition: transform .15s; }
.wiki-sec[open] > summary::after { transform: rotate(180deg); }
.wiki-sec > summary:hover { background: #241a14; }
.wk-ic { font-size: 18px; }
.wk-body { padding: 4px 12px 12px; }
.wk-line { font-size: 14px; line-height: 1.5; color: #cdbfae; padding: 3px 0 3px 12px; position: relative; }
.wk-line::before { content: '•'; position: absolute; left: 0; color: #c9a050; }
.wk-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13px; }
.wk-table th { text-align: left; color: #f3d58a; border-bottom: 1px solid #5a4630; padding: 5px 6px; font-weight: 700; }
.wk-table td { color: #cdbfae; border-bottom: 1px solid #2c211a; padding: 5px 6px; }
.wk-table tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .wk-table { font-size: 12px; } .wk-line { font-size: 13px; } }

/* ---------- Monede Dragon, Premium, titluri */
.md { display: inline-block; color: #6fd3ff; text-shadow: 0 0 6px rgba(111,211,255,.7); font-weight: 900; margin-right: 3px; }
.coin-btn { background: #101a24; border: 1px solid #2f6f9f; border-radius: 6px; padding: 2px 8px; font-weight: 800; color: #cfe9ff; font-size: 14px; }
.coin-btn:hover { border-color: #6fd3ff; box-shadow: 0 0 8px rgba(111,211,255,.35); }
.pname .crown { color: #ffd36b; margin-right: 3px; text-shadow: 0 0 6px rgba(255,211,107,.7); }
.pname .ptitle { color: #c9a050; font-size: .85em; font-weight: 700; }
.boosts { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.boost-chip { font-size: 10.5px; font-weight: 800; padding: 2px 6px; border-radius: 10px; background: #1f3a24; border: 1px solid #4caf50; color: #9fe0a8; white-space: nowrap; }
.boost-chip.prem { background: #3a2c10; border-color: #ffd36b; color: #ffe7b0; }

.boost-chip.event { background: #3a1030; border-color: #ff6bd6; color: #ffc8f0; }

/* misiuni zilnice */
.quest-list { display: flex; flex-direction: column; gap: 8px; }
.quest-row { display: flex; gap: 10px; align-items: center; padding: 10px; background: #15100d; border: 1px solid #3b2d20; border-radius: 6px; }
.quest-row .grow { flex: 1; min-width: 0; }
.quest-row.ready { border-color: #ffd36b; box-shadow: 0 0 10px rgba(255,211,107,.3); }
.quest-row.claimed { opacity: .55; }
.quest-row.all { background: linear-gradient(90deg, #2a1c12, #15100d); border-color: #5a4630; }
.q-ic { font-size: 24px; width: 32px; text-align: center; }

/* invită prieteni */
.ref-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; text-align: center; }
.ref-steps > div { background: #15100d; border: 1px solid #3b2d20; border-radius: 6px; padding: 8px 4px; }
.ref-steps b { color: var(--gold); }
.ref-code { display: flex; align-items: center; gap: 10px; background: #101a24; border: 1px solid #2f6f9f; border-radius: 6px; padding: 8px 12px; }
.ref-code b { font-size: 18px; color: #cfe9ff; flex: 1; }

/* Item-Shop */
.shop-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.coin-big { font-size: 26px; font-weight: 900; color: #cfe9ff; }
.coin-big .md { font-size: 28px; }
.prem-state { margin-left: auto; text-align: right; padding: 6px 12px; border: 1px solid #3b2d20; border-radius: 6px; background: #15100d; }
.prem-state.on { border-color: #ffd36b; background: linear-gradient(90deg, #2a1c12, #3a2c10); }
.perk-list { display: grid; gap: 4px; font-size: 14px; color: #d8cbb6; }
.perk-list > div { color: #9fe0a8; }
.shop-card.best { border-color: #ffd36b; box-shadow: 0 0 0 1px rgba(255,211,107,.35) inset; }
.badge-best { display: inline-block; margin-left: 6px; font-size: 9.5px; font-weight: 900; letter-spacing: .5px; padding: 1px 5px; border-radius: 8px; background: #6a4a10; color: #ffe7b0; vertical-align: middle; }
.coin-price { font-weight: 800; color: #cfe9ff; text-align: center; font-size: 15px; }

/* panou de administrare */
.adm-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 640px) { .adm-grid { grid-template-columns: 1fr 1fr; } }
.adm-grid input { width: 110px; }
tr.banned td { color: #ff8a7a; text-decoration: line-through; }
#content table .row { gap: 4px; justify-content: flex-end; }
#content table .btn.sm { padding: 4px 7px; }

#toasts { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 30; display: flex; flex-direction: column; gap: 6px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--panel2); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px; padding: 10px 12px; box-shadow: 0 6px 18px rgba(0,0,0,.4); animation: tin .2s ease-out; }
.toast.err { border-left-color: var(--red); }
.toast.ok { border-left-color: var(--green); }
@keyframes tin { from { opacity: 0; transform: translateY(-6px); } }
