/* ═══════════════════════════════════════════════════════════
   HOOD RAIDS – noir guld/röd (Oswald, glaspaneler, 3D-knappar)
   ═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');

.rd {
  --rd-gold: #e8c15a; --rd-gold-hi: #ffdf8a; --rd-red: #c0392b; --rd-red-dk: #4a0f0d;
  --rd-ink: #0b0b0f; --rd-glass: rgba(20, 18, 24, .72); --rd-line: rgba(232, 193, 90, .22);
  --rd-txt: #efe6d2; --rd-dim: #9d927c; --rd-green: #52d273; --rd-blue: #5ab0e8;
  color: var(--rd-txt); font-family: 'Oswald', 'Roboto', sans-serif; letter-spacing: .02em;
  position: relative; max-width: 1180px; margin: 0 auto;
}
.rd * { box-sizing: border-box; }
.rd-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 20% -10%, rgba(192, 57, 43, .22), transparent 55%),
    radial-gradient(ellipse at 90% 10%, rgba(232, 193, 90, .10), transparent 50%),
    linear-gradient(180deg, #0d0b10 0%, #07070a 100%);
}

/* ── Header ─────────────────────────────────────────── */
.rd-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 4px 0 14px; flex-wrap: wrap; }
.rd-title { font-size: 2.3rem; font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: .06em;
  background: linear-gradient(180deg, var(--rd-gold-hi), var(--rd-gold) 55%, #9c7a2a); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 30px rgba(232, 193, 90, .15); }
.rd-sub { color: var(--rd-dim); font-size: .95rem; font-family: 'Roboto', sans-serif; letter-spacing: 0; }
.rd-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.rd-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .9rem;
  background: rgba(0, 0, 0, .45); border: 1px solid var(--rd-line); white-space: nowrap; }
.rd-chip b { color: var(--rd-gold); font-weight: 600; }
.rd-chip.red { border-color: rgba(192, 57, 43, .6); } .rd-chip.red b { color: #ff6b5a; }
.rd-chip.blue { border-color: rgba(90, 176, 232, .5); } .rd-chip.blue b { color: var(--rd-blue); }

/* ── Paneler ────────────────────────────────────────── */
.rd-panel { background: var(--rd-glass); border: 1px solid var(--rd-line); border-radius: 14px; padding: 14px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .04); }
.rd-panel h3 { margin: 0 0 10px; font-size: 1.05rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rd-gold); display: flex; align-items: center; gap: 8px; }
.rd-panel h3 small { color: var(--rd-dim); font-weight: 400; letter-spacing: .02em; text-transform: none; font-size: .8rem; margin-left: auto; }
.rd-grid { display: grid; gap: 14px; }
.rd-plan { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.rd-two { grid-template-columns: 1fr 1fr; }
.rd-stack { display: flex; flex-direction: column; gap: 14px; }

/* ── Tabs ───────────────────────────────────────────── */
.rd-tabs { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.rd-tab { flex: 0 0 auto; padding: 9px 16px; border-radius: 10px; cursor: pointer; font: 500 .95rem 'Oswald', sans-serif; letter-spacing: .06em; text-transform: uppercase;
  color: var(--rd-dim); background: rgba(0, 0, 0, .35); border: 1px solid transparent; transition: all .15s; }
.rd-tab:hover { color: var(--rd-txt); }
.rd-tab.on { color: #1a1206; background: linear-gradient(180deg, var(--rd-gold-hi), var(--rd-gold)); box-shadow: 0 3px 0 #7a5d18; }
.rd-tab .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rd-red); margin-left: 6px; animation: rd-blink 1s infinite; }

/* ── Knappar (3D) ──────────────────────────────────── */
.rd-btn { font: 600 1rem 'Oswald', sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; border: 0; border-radius: 10px;
  padding: 10px 18px; color: #fff; background: linear-gradient(180deg, #e0503f, var(--rd-red)); box-shadow: 0 4px 0 var(--rd-red-dk), 0 8px 18px rgba(192, 57, 43, .25);
  transition: transform .06s, box-shadow .06s, filter .15s; position: relative; }
.rd-btn:hover:not(:disabled) { filter: brightness(1.1); }
.rd-btn:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--rd-red-dk); }
.rd-btn:disabled { filter: grayscale(.8) brightness(.6); cursor: not-allowed; }
.rd-btn.gold { color: #1a1206; background: linear-gradient(180deg, var(--rd-gold-hi), var(--rd-gold)); box-shadow: 0 4px 0 #7a5d18, 0 8px 18px rgba(232, 193, 90, .2); }
.rd-btn.gold:active:not(:disabled) { box-shadow: 0 1px 0 #7a5d18; }
.rd-btn.ghost { background: rgba(255, 255, 255, .06); box-shadow: 0 3px 0 rgba(0, 0, 0, .6); color: var(--rd-txt); border: 1px solid var(--rd-line); }
.rd-btn.sm { padding: 6px 12px; font-size: .85rem; border-radius: 8px; }
.rd-btn.big { width: 100%; padding: 16px; font-size: 1.35rem; letter-spacing: .14em; }
.rd-btn.big::after { content: ''; position: absolute; inset: -4px; border-radius: 14px; border: 2px solid rgba(224, 80, 63, .55); animation: rd-ring 1.6s ease-out infinite; pointer-events: none; }
.rd-btn.big:disabled::after { display: none; }

/* ── Karta ──────────────────────────────────────────── */
.rd-map { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 50%, #1b1720 0%, #0a090c 80%); border: 1px solid var(--rd-line); }
.rd-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rd-pin { position: absolute; transform: translate(-50%, -100%); cursor: pointer; text-align: center; z-index: 2; transition: transform .15s; }
.rd-pin:hover { transform: translate(-50%, -100%) scale(1.1); z-index: 4; }
.rd-pin .ic { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; margin: 0 auto;
  background: linear-gradient(135deg, #2b2530, #15121a); border: 2px solid var(--rd-gold); box-shadow: 0 4px 10px rgba(0, 0, 0, .7); }
.rd-pin .ic span { transform: rotate(45deg); font-size: 15px; }
.rd-pin .nm { font-size: .72rem; margin-top: 3px; padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, .7); white-space: nowrap; }
.rd-pin.blocked .ic { border-color: #555; filter: grayscale(1); opacity: .6; }
.rd-pin.blocked .nm { opacity: .6; }
.rd-pin.revenge .ic { border-color: var(--rd-red); box-shadow: 0 0 14px rgba(192, 57, 43, .8); }
.rd-pin.sel { z-index: 5; }
.rd-pin.sel .ic { border-color: var(--rd-gold-hi); background: linear-gradient(135deg, #5a4214, #221a08); animation: rd-pop .3s ease-out; }
.rd-pin.sel::before { content: ''; position: absolute; left: 50%; bottom: -6px; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; border: 2px solid var(--rd-gold); animation: rd-ring 1.2s ease-out infinite; }
.rd-pin.me .ic { border-color: var(--rd-blue); }
.rd-pin .on { position: absolute; top: -2px; right: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--rd-green); box-shadow: 0 0 6px var(--rd-green); }

/* ── Mållista (mobil + desktop under kartan) ───────── */
.rd-list { display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow-y: auto; margin-top: 10px; }
.rd-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; cursor: pointer;
  background: rgba(0, 0, 0, .3); border: 1px solid transparent; transition: all .12s; }
.rd-row:hover { border-color: var(--rd-line); }
.rd-row.sel { border-color: var(--rd-gold); background: rgba(232, 193, 90, .08); }
.rd-row.blocked { opacity: .55; }
.rd-av { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: #1d1922; border: 1px solid var(--rd-line); font-size: 16px; }
.rd-row .n { font-weight: 500; } .rd-row .m { font-size: .78rem; color: var(--rd-dim); font-family: 'Roboto', sans-serif; }
.rd-tag { font-size: .7rem; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--rd-line); color: var(--rd-gold); margin-left: 4px; }
.rd-tag.red { color: #ff6b5a; border-color: rgba(192, 57, 43, .6); }
.rd-tag.green { color: var(--rd-green); border-color: rgba(82, 210, 115, .5); }

/* ── Intel ──────────────────────────────────────────── */
.rd-intel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rd-intel-head .big { font-size: 1.4rem; font-weight: 600; }
.rd-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rd-kv > div { background: rgba(0, 0, 0, .35); border-radius: 10px; padding: 8px 10px; border: 1px solid rgba(255, 255, 255, .04); }
.rd-kv .k { font-size: .72rem; color: var(--rd-dim); text-transform: uppercase; letter-spacing: .08em; }
.rd-kv .v { font-size: 1.05rem; font-weight: 600; color: var(--rd-gold); }
.rd-kv .v.fuzzy { color: #cdbf9c; } .rd-kv .v.fuzzy::after { content: ' ?'; color: var(--rd-dim); font-size: .8em; }
.rd-defbars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.rd-defbar { text-align: center; font-size: .75rem; color: var(--rd-dim); }
.rd-defbar .t { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; margin: 4px 0 2px; }
.rd-defbar .t i { display: block; height: 100%; background: linear-gradient(90deg, var(--rd-red), var(--rd-gold)); }
.rd-note { font-size: .8rem; color: var(--rd-dim); font-family: 'Roboto', sans-serif; letter-spacing: 0; }
.rd-err { color: #ff7a6b; font-size: .85rem; font-family: 'Roboto', sans-serif; }

/* ── Metodkort ──────────────────────────────────────── */
.rd-approaches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rd-card { position: relative; padding: 12px 10px; border-radius: 12px; cursor: pointer; text-align: center; background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .06); transition: transform .12s, border-color .12s, background .12s; user-select: none; }
.rd-card:hover { transform: translateY(-2px); border-color: var(--rd-line); }
.rd-card.on { border-color: var(--rd-gold); background: linear-gradient(180deg, rgba(232, 193, 90, .14), rgba(0, 0, 0, .35)); box-shadow: 0 0 0 1px var(--rd-gold) inset, 0 8px 20px rgba(232, 193, 90, .12); }
.rd-card .e { font-size: 1.7rem; line-height: 1.1; }
.rd-card .t { font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }
.rd-card .d { font-size: .72rem; color: var(--rd-dim); font-family: 'Roboto', sans-serif; letter-spacing: 0; min-height: 2.4em; }
.rd-card .pct { margin-top: 6px; font-size: 1.25rem; font-weight: 700; }
.rd-card .pct.hi { color: var(--rd-green); } .rd-card .pct.mid { color: var(--rd-gold); } .rd-card .pct.lo { color: #ff6b5a; }
.rd-card.disabled { opacity: .45; cursor: not-allowed; }

/* ── Crew & muskler ────────────────────────────────── */
.rd-crew { display: flex; flex-wrap: wrap; gap: 6px; }
.rd-mate { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; cursor: pointer; font-size: .85rem;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .08); transition: all .12s; }
.rd-mate.on { border-color: var(--rd-gold); background: rgba(232, 193, 90, .12); }
.rd-mate .p { color: var(--rd-gold); font-size: .75rem; }
.rd-stepper { display: flex; align-items: center; gap: 10px; }
.rd-stepper button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--rd-line); background: rgba(0, 0, 0, .4); color: var(--rd-gold); font: 700 1.2rem 'Oswald'; cursor: pointer; box-shadow: 0 3px 0 #000; }
.rd-stepper button:active { transform: translateY(2px); box-shadow: 0 1px 0 #000; }
.rd-stepper .n { font-size: 1.4rem; font-weight: 700; min-width: 1.5em; text-align: center; }
.rd-muscles { display: flex; gap: 3px; font-size: 1.1rem; }
.rd-muscles span { opacity: .18; transition: opacity .2s; } .rd-muscles span.on { opacity: 1; animation: rd-pop .25s ease-out; }
.rd-power { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.rd-power .bar { flex: 1; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .06); position: relative; overflow: hidden; }
.rd-power .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #7a5d18, var(--rd-gold)); transition: width .3s; }
.rd-power .bar b { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--rd-red); box-shadow: 0 0 6px var(--rd-red); }

/* ── Min hood ──────────────────────────────────────── */
.rd-stash { display: flex; align-items: center; gap: 16px; }
.rd-safe { width: 84px; height: 84px; border-radius: 16px; display: grid; place-items: center; font-size: 42px; flex-shrink: 0;
  background: radial-gradient(circle at 30% 30%, #3a2d10, #120e06); border: 2px solid var(--rd-gold); box-shadow: 0 0 24px rgba(232, 193, 90, .2) inset; }
.rd-stash .amt { font-size: 2rem; font-weight: 700; color: var(--rd-gold); line-height: 1; }
.rd-fill { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; margin: 8px 0 4px; }
.rd-fill i { display: block; height: 100%; background: linear-gradient(90deg, #7a5d18, var(--rd-gold)); }
.rd-defs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.rd-def { padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .06); }
.rd-def .hd { display: flex; align-items: center; gap: 8px; }
.rd-def .hd .e { font-size: 1.6rem; } .rd-def .hd .t { font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.rd-def .hd .lv { margin-left: auto; color: var(--rd-gold); font-weight: 700; }
.rd-pips { display: flex; gap: 3px; margin: 8px 0; }
.rd-pips i { flex: 1; height: 6px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.rd-pips i.on { background: linear-gradient(180deg, var(--rd-gold-hi), var(--rd-gold)); box-shadow: 0 0 6px rgba(232, 193, 90, .5); }
.rd-vs { display: flex; gap: 10px; font-size: .75rem; color: var(--rd-dim); margin-bottom: 8px; }
.rd-vs b { color: var(--rd-txt); font-weight: 500; }

/* ── Logg & topplista ─────────────────────────────── */
.rd-log { display: flex; flex-direction: column; gap: 6px; }
.rd-log-row { display: grid; grid-template-columns: 30px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; background: rgba(0, 0, 0, .3); border-left: 3px solid #555; }
.rd-log-row.win { border-left-color: var(--rd-green); } .rd-log-row.loss { border-left-color: var(--rd-red); }
.rd-log-row .amt { font-weight: 600; } .rd-log-row .amt.pos { color: var(--rd-green); } .rd-log-row .amt.neg { color: #ff6b5a; }
.rd-lb { width: 100%; border-collapse: collapse; }
.rd-lb td, .rd-lb th { padding: 8px 6px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .05); font-weight: 400; }
.rd-lb th { color: var(--rd-dim); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.rd-lb td.r, .rd-lb th.r { text-align: right; }
.rd-lb .rk { width: 34px; font-weight: 700; color: var(--rd-dim); }
.rd-lb tr:nth-child(1) .rk { color: var(--rd-gold); font-size: 1.2rem; } .rd-lb tr:nth-child(2) .rk { color: #c9c9c9; } .rd-lb tr:nth-child(3) .rk { color: #c98a4a; }
.rd-lb tr.me td { background: rgba(232, 193, 90, .07); }
.rd-empty { text-align: center; color: var(--rd-dim); padding: 22px 8px; font-family: 'Roboto', sans-serif; }

/* ── Live-raid overlay ─────────────────────────────── */
.rd-live-wrap { position: fixed; inset: 0; z-index: 1400; display: grid; place-items: center; padding: 14px; background: rgba(4, 3, 6, .82); backdrop-filter: blur(6px); animation: rd-fade .25s; }
.rd-live { width: min(760px, 100%); max-height: calc(100vh - 28px); overflow-y: auto; }
.rd-live .top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.rd-live .vs { font-size: 1.3rem; font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-live .vs em { color: var(--rd-red); font-style: normal; margin: 0 8px; }
.rd-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.rd-step { text-align: center; padding: 7px 4px; border-radius: 8px; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(0, 0, 0, .4); color: var(--rd-dim); border: 1px solid rgba(255, 255, 255, .06); }
.rd-step.now { color: #1a1206; background: linear-gradient(180deg, var(--rd-gold-hi), var(--rd-gold)); box-shadow: 0 3px 0 #7a5d18; }
.rd-step.ok { color: var(--rd-green); border-color: rgba(82, 210, 115, .4); } .rd-step.bad { color: #ff6b5a; border-color: rgba(192, 57, 43, .6); } .rd-step.warn { color: var(--rd-gold); border-color: var(--rd-line); }
.rd-scene { position: relative; height: 210px; border-radius: 12px; overflow: hidden; margin-bottom: 12px; border: 1px solid var(--rd-line);
  background: linear-gradient(180deg, #120f16 0%, #1a141c 60%, #0b0a0d 100%); }
.rd-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rd-scene .lbl { position: absolute; left: 12px; bottom: 10px; font-size: 1.1rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 2px 6px #000; }
.rd-ring { position: absolute; right: 12px; top: 12px; width: 64px; height: 64px; }
.rd-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.rd-ring .n { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; color: var(--rd-gold); }
.rd-alarm { position: absolute; inset: 0; pointer-events: none; animation: rd-alarm 1s infinite; }
.rd-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.rd-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rd-side { background: rgba(0, 0, 0, .35); border-radius: 10px; padding: 10px; }
.rd-side h4 { margin: 0 0 6px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rd-dim); font-weight: 500; display: flex; justify-content: space-between; }
.rd-side h4 b { color: var(--rd-gold); font-weight: 600; }
.rd-side .who { font-size: .85rem; display: flex; justify-content: space-between; padding: 2px 0; }
.rd-side .who span:last-child { color: var(--rd-dim); }
.rd-result { text-align: center; padding: 10px 0 4px; position: relative; }
.rd-result .big { font-size: 2.4rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; animation: rd-pop .45s cubic-bezier(.2, 1.6, .4, 1); }
.rd-result .big.win { color: var(--rd-gold); text-shadow: 0 0 24px rgba(232, 193, 90, .5); } .rd-result .big.loss { color: var(--rd-red); text-shadow: 0 0 24px rgba(192, 57, 43, .5); }
.rd-result .big.draw { color: var(--rd-txt); }
.rd-float { position: absolute; left: 50%; top: 0; transform: translateX(-50%); font-size: 1.8rem; font-weight: 700; color: var(--rd-green); text-shadow: 0 2px 10px #000; pointer-events: none; animation: rd-rise 1.8s ease-out forwards; white-space: nowrap; }
.rd-float.neg { color: #ff6b5a; }
.rd-split { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 10px 0; }

/* ── Toast (global) ───────────────────────────────── */
.rd-toast-stack { position: fixed; right: 20px; top: 76px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; width: min(360px, calc(100vw - 24px)); font-family: 'Oswald', 'Roboto', sans-serif; }
.rd-toast { position: relative; overflow: hidden; padding: 12px 14px; border-radius: 12px; color: #efe6d2; background: linear-gradient(180deg, rgba(60, 12, 10, .95), rgba(20, 10, 12, .95));
  border: 1px solid rgba(192, 57, 43, .8); box-shadow: 0 10px 30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(192, 57, 43, .3), 0 0 30px rgba(192, 57, 43, .35); animation: rd-toast-in .4s cubic-bezier(.16, 1, .3, 1); }
.rd-toast::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(192, 57, 43, .12) 0 12px, transparent 12px 24px); animation: rd-stripes 1s linear infinite; pointer-events: none; }
.rd-toast .t { position: relative; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ff6b5a; display: flex; justify-content: space-between; align-items: center; }
.rd-toast .t button { background: none; border: 0; color: #efe6d2; font-size: 1.2rem; cursor: pointer; }
.rd-toast .m { position: relative; margin: 4px 0 10px; font-family: 'Roboto', sans-serif; font-size: .9rem; }
.rd-toast .a { position: relative; display: flex; gap: 8px; }
.rd-toast .bar { position: absolute; left: 0; bottom: 0; height: 3px; background: #e8c15a; animation: rd-shrink linear forwards; }

/* ── Animationer ──────────────────────────────────── */
@keyframes rd-ring { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes rd-pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes rd-rise { 0% { transform: translate(-50%, 10px) scale(.8); opacity: 0; } 15% { opacity: 1; transform: translate(-50%, 0) scale(1.15); } 100% { transform: translate(-50%, -70px) scale(1); opacity: 0; } }
@keyframes rd-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rd-blink { 50% { opacity: .2; } }
@keyframes rd-alarm { 0%, 100% { box-shadow: inset 0 0 0 rgba(192, 57, 43, 0); } 50% { box-shadow: inset 0 0 60px rgba(192, 57, 43, .55); } }
@keyframes rd-toast-in { from { transform: translateX(120%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rd-stripes { to { background-position: 34px 0; } }
@keyframes rd-shrink { from { width: 100%; } to { width: 0; } }
@keyframes rd-walk { from { transform: translateX(-40px); } to { transform: translateX(0); } }
@keyframes rd-sweep { 0%, 100% { transform: rotate(-25deg); } 50% { transform: rotate(25deg); } }
@keyframes rd-shake { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-3px, 1px); } 75% { transform: translate(3px, -1px); } }
@keyframes rd-drive { from { transform: translateX(-30%); } to { transform: translateX(130%); } }
@keyframes rd-coin { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-50px); opacity: 0; } }
.rd-anim-walk { animation: rd-walk 1.2s ease-out both; }
.rd-anim-sweep { transform-origin: top center; transform-box: fill-box; animation: rd-sweep 2.4s ease-in-out infinite; }
.rd-anim-shake { animation: rd-shake .25s infinite; }
.rd-anim-drive { animation: rd-drive 2.2s linear infinite; }
.rd-anim-coin { animation: rd-coin 1.4s ease-out infinite; }
.rd-anim-blink { animation: rd-blink 1s infinite; }

/* ── Responsivt ───────────────────────────────────── */
@media (max-width: 900px) {
  .rd-plan, .rd-two { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .rd-title { font-size: 1.7rem; }
  .rd-panel { padding: 11px; border-radius: 12px; }
  .rd-kv { grid-template-columns: repeat(3, 1fr); gap: 5px; } .rd-kv .v { font-size: .9rem; }
  .rd-approaches, .rd-choices { gap: 6px; } .rd-card { padding: 9px 5px; } .rd-card .d { display: none; } .rd-card .e { font-size: 1.4rem; }
  .rd-defs { grid-template-columns: 1fr; }
  .rd-map { aspect-ratio: 4 / 3; } .rd-pin .nm { display: none; } .rd-pin.sel .nm { display: block; }
  .rd-scene { height: 170px; }
  .rd-sides { grid-template-columns: 1fr; }
  .rd-log-row { grid-template-columns: 26px 1fr auto; } .rd-log-row .act { grid-column: 2 / -1; justify-self: end; }
  .rd-toast-stack { right: 12px; top: 64px; }
  .rd-hero { align-items: flex-start; }
}
