/* CONQUEST — war-room aesthetic: deep ocean navy, brass gold, parchment. */
:root {
  --bg: #0a1420;
  --bg2: #0e1c2e;
  --panel: rgba(13, 24, 38, .92);
  --line: rgba(212, 168, 67, .28);
  --gold: #d4a843;
  --gold-hi: #f0c968;
  --parch: #e8dcc0;
  --dim: #7d8fa3;
  --red: #e5484d;
  --serif: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  background: radial-gradient(1200px 800px at 30% 20%, var(--bg2), var(--bg));
  color: var(--parch); font-family: var(--sans); overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }
.screen { display: none; position: absolute; inset: 0; flex-direction: column; }
.screen.active { display: flex; }
.row { display: flex; align-items: center; }
.gap { gap: 10px; }
b { color: var(--gold-hi); }

/* ---------- buttons / fields ---------- */
.btn {
  font-family: var(--serif); letter-spacing: .12em; font-size: 13px;
  padding: 10px 18px; border-radius: 8px; cursor: pointer; border: 1px solid var(--line);
  background: transparent; color: var(--parch); transition: all .15s;
  white-space: nowrap;
}
.btn:hover { border-color: var(--gold); color: var(--gold-hi); transform: translateY(-1px); }
.btn:disabled { opacity: .35; cursor: default; transform: none; }
.btn-gold {
  background: linear-gradient(180deg, #d9ad4b, #a97e28); color: #1a1206;
  border-color: #f0c968; font-weight: 700; text-shadow: 0 1px 0 rgba(255,255,255,.25);
}
.btn-gold:hover { filter: brightness(1.12); color: #1a1206; }
.btn.big { padding: 14px 22px; font-size: 15px; width: 100%; }
.btn.sm { padding: 6px 12px; font-size: 11px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; flex: 1; }
.field.half { min-width: 0; }
.field span { font-size: 10px; letter-spacing: .2em; color: var(--dim); font-family: var(--serif); }
input, select {
  background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 8px;
  color: var(--parch); padding: 11px 12px; font-size: 15px; outline: none; width: 100%;
}
input:focus, select:focus { border-color: var(--gold); }
.check { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--dim); cursor: pointer; margin-bottom: 12px; }
.check input { width: auto; }

/* ---------- home ---------- */
#screen-home { align-items: center; justify-content: center; }
.home-inner { text-align: center; width: min(420px, 92vw); }
.wordmark {
  position: relative; left: 50%; transform: translateX(-50%); width: max-content; max-width: 98vw;
  font-family: var(--serif); font-size: clamp(44px, 7vw, 76px); letter-spacing: .16em;
  background: linear-gradient(180deg, #f6d98a, #c1922f 60%, #8a6520);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 18px 50px rgba(212,168,67,.18);
}
.tagline { letter-spacing: .5em; font-size: 11px; color: var(--dim); margin: 4px 0 34px; font-family: var(--serif); }
.home-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.conn { font-size: 11px; color: var(--dim); letter-spacing: .1em; }
.conn.ok { color: #6fcf8f; }
.home-foot { margin-top: 22px; font-size: 12px; color: var(--dim); letter-spacing: .08em; }

/* ---------- top bars ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--line); background: rgba(8,14,22,.7);
}
.bar-title { font-family: var(--serif); letter-spacing: .3em; font-size: 16px; color: var(--gold); }
.scroll-body { overflow-y: auto; flex: 1; padding: 22px; }

/* ---------- lobby list ---------- */
.lobby-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; max-width: 1100px; margin: 0 auto; }
.lobby-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
  cursor: pointer; transition: all .15s;
}
.lobby-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.lobby-card h3 { font-family: var(--serif); letter-spacing: .06em; font-size: 16px; margin-bottom: 6px; }
.lobby-card .meta { font-size: 12px; color: var(--dim); display: flex; gap: 12px; flex-wrap: wrap; }
.empty { text-align: center; color: var(--dim); padding: 60px 0; font-size: 15px; }

/* ---------- lobby room ---------- */
.lobby-room { display: flex; gap: 18px; padding: 20px; flex: 1; overflow: auto; max-width: 1200px; margin: 0 auto; width: 100%; }
.lobby-left { width: 360px; display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; }
.lobby-right { flex: 1; min-width: 0; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.panel-h { font-family: var(--serif); letter-spacing: .25em; font-size: 11px; color: var(--gold); margin-bottom: 12px; }
.slot { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; margin-bottom: 6px; background: rgba(255,255,255,.03); }
.slot .dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 8px currentColor; }
.slot .nm { flex: 1; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot .tag { font-size: 10px; letter-spacing: .1em; color: var(--dim); border: 1px solid var(--line); padding: 2px 7px; border-radius: 20px; }
.slot .tag.rdy { color: #6fcf8f; border-color: rgba(111,207,143,.4); }
.slot .kick { cursor: pointer; color: var(--dim); font-size: 13px; padding: 0 4px; }
.slot .kick:hover { color: var(--red); }
.slot.empty-slot { opacity: .4; font-size: 13px; color: var(--dim); justify-content: center; border: 1px dashed var(--line); background: none; }
#map-preview svg { width: 100%; height: auto; border-radius: 8px; display: block; }
.region-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.region-chips span { font-size: 11px; border: 1px solid var(--line); border-radius: 20px; padding: 3px 10px; color: var(--dim); }
.region-chips b { margin-left: 4px; }

/* ---------- game screen ---------- */
#screen-game { background: var(--bg); }
.gamebar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 14px; border-bottom: 1px solid var(--line); background: rgba(8,14,22,.85);
  z-index: 5; flex-wrap: wrap;
}
.gb-left { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.gb-logo { color: var(--gold); font-size: 18px; }
.gb-right { display: flex; align-items: center; gap: 8px; }
#players-strip { display: flex; gap: 6px; overflow-x: auto; }
.pchip {
  display: flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 8px;
  border: 1px solid transparent; background: rgba(255,255,255,.04); font-size: 12px; flex-shrink: 0;
}
.pchip.cur { border-color: var(--gold); box-shadow: 0 0 14px rgba(212,168,67,.25); background: rgba(212,168,67,.08); }
.pchip.dead { opacity: .3; text-decoration: line-through; }
.pchip .dot { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 6px currentColor; }
.pchip .st { color: var(--dim); font-size: 11px; }
.pill {
  font-family: var(--serif); letter-spacing: .12em; font-size: 12px; color: var(--gold);
  border: 1px solid var(--line); padding: 6px 12px; border-radius: 20px; white-space: nowrap;
}
.pill.warn { color: var(--red); border-color: rgba(229,72,77,.5); }

#map-wrap { flex: 1; position: relative; overflow: hidden; background: radial-gradient(900px 600px at 45% 35%, #16406b, #0d2543); }
#map-holder, #map-holder svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* territories — board-game look */
.cell { cursor: pointer; transition: filter .12s; stroke: #171a24; stroke-width: 2.2; }
.cell:hover { filter: brightness(1.18) saturate(1.1); }
.cell.sel { stroke: #ffffff; stroke-width: 3.6; filter: brightness(1.15); }
.cell.tgt { stroke: #ffe08a; stroke-width: 3; animation: pulse 1s infinite; cursor: crosshair; }
.cell.dim { opacity: .5; cursor: default; }
.cell.flash { animation: capture .7s; }
@keyframes pulse { 50% { stroke-opacity: .35; } }
@keyframes capture { 0% { filter: brightness(2.4); } 100% { filter: brightness(1); } }
.badge-g { pointer-events: none; }
.badge-g text {
  fill: #fff; font: 800 13px var(--sans); text-anchor: middle; dominant-baseline: central;
  paint-order: stroke; stroke: rgba(0,0,0,.5); stroke-width: 2.6px;
}
.region-label { fill: rgba(255,255,255,.32); font: 700 17px var(--serif); letter-spacing: .32em; text-anchor: middle; pointer-events: none; text-transform: uppercase; }
.bridge { stroke: rgba(255,255,255,.7); stroke-width: 2.3; stroke-dasharray: 6 7; fill: none; stroke-linecap: round; }
.tname {
  fill: #fff; opacity: .9; font: 700 10px var(--sans); text-anchor: middle; pointer-events: none;
  letter-spacing: .02em; paint-order: stroke; stroke: rgba(8, 12, 20, .85); stroke-width: 2.4px;
}

/* action bar */
#action-bar {
  display: flex; align-items: center; gap: 14px; padding: 10px 16px;
  border-top: 1px solid var(--line); background: rgba(8,14,22,.9); z-index: 5; min-height: 62px; flex-wrap: wrap;
}
#phase-steps { display: flex; gap: 4px; font-family: var(--serif); font-size: 11px; letter-spacing: .1em; }
#phase-steps span { padding: 5px 10px; border-radius: 6px; color: var(--dim); border: 1px solid transparent; }
#phase-steps span.on { color: var(--gold-hi); border-color: var(--line); background: rgba(212,168,67,.08); }
#action-main { flex: 1; display: flex; align-items: center; gap: 10px; font-size: 14px; flex-wrap: wrap; min-width: 200px; }
#action-side { display: flex; gap: 8px; }
.amt-btns { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.amt-btns button { background: none; border: none; color: var(--parch); padding: 8px 13px; cursor: pointer; font-size: 13px; border-right: 1px solid var(--line); }
.amt-btns button:last-child { border-right: none; }
.amt-btns button.on { background: var(--gold); color: #1a1206; font-weight: 700; }
.hint { color: var(--dim); font-size: 13px; }
.bignum { font-family: var(--serif); font-size: 26px; color: var(--gold-hi); }
input[type=range] { accent-color: var(--gold); width: 160px; }

/* battle panel + rolling dice */
#battle-panel {
  position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%);
  background: var(--panel); border: 2px solid var(--gold); border-radius: 16px;
  padding: 18px 30px; z-index: 8; text-align: center; box-shadow: 0 24px 70px rgba(0,0,0,.65);
  min-width: 360px;
}
#battle-title { font-family: var(--serif); letter-spacing: .1em; font-size: 15px; margin-bottom: 14px; }
#battle-title .swords { color: var(--gold); }
.dice-row { display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 54px; }
.dice { display: flex; gap: 8px; min-width: 108px; }
.dice.att { justify-content: flex-end; }
.vs { font-family: var(--serif); color: var(--dim); font-size: 12px; letter-spacing: .2em; }
#battle-sub { margin-top: 12px; font-size: 13px; color: var(--dim); min-height: 18px; }
#battle-sub .hit { color: #ff8787; font-weight: 700; }
#battle-sub .ok { color: #69db7c; font-weight: 700; }

.die3d {
  width: 50px; height: 50px; border-radius: 11px; background: var(--die-col, #fff);
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr);
  padding: 7px; gap: 2px;
  box-shadow: inset 0 -5px 0 rgba(0,0,0,.28), inset 0 2px 0 rgba(255,255,255,.3), 0 5px 10px rgba(0,0,0,.5);
}
.die3d .pip { border-radius: 50%; background: #fff; opacity: 0; box-shadow: inset 0 1.5px 2px rgba(0,0,0,.4); }
.die3d.def .pip { background: #1d2635; }
.die3d[data-f="1"] .pip:nth-child(5),
.die3d[data-f="2"] .pip:nth-child(1), .die3d[data-f="2"] .pip:nth-child(9),
.die3d[data-f="3"] .pip:nth-child(1), .die3d[data-f="3"] .pip:nth-child(5), .die3d[data-f="3"] .pip:nth-child(9),
.die3d[data-f="4"] .pip:nth-child(1), .die3d[data-f="4"] .pip:nth-child(3), .die3d[data-f="4"] .pip:nth-child(7), .die3d[data-f="4"] .pip:nth-child(9),
.die3d[data-f="5"] .pip:nth-child(1), .die3d[data-f="5"] .pip:nth-child(3), .die3d[data-f="5"] .pip:nth-child(5), .die3d[data-f="5"] .pip:nth-child(7), .die3d[data-f="5"] .pip:nth-child(9),
.die3d[data-f="6"] .pip:nth-child(1), .die3d[data-f="6"] .pip:nth-child(3), .die3d[data-f="6"] .pip:nth-child(4), .die3d[data-f="6"] .pip:nth-child(6), .die3d[data-f="6"] .pip:nth-child(7), .die3d[data-f="6"] .pip:nth-child(9) { opacity: 1; }
@keyframes diceshake {
  0% { transform: translate(1px, -3px) rotate(-7deg); }
  25% { transform: translate(-3px, 1px) rotate(6deg); }
  50% { transform: translate(3px, 2px) rotate(-5deg); }
  75% { transform: translate(-1px, -2px) rotate(7deg); }
  100% { transform: translate(0, 0) rotate(0); }
}
.die3d.shake { animation: diceshake .16s infinite; }
@keyframes diceland { 0% { transform: scale(1.32); } 55% { transform: scale(.92); } 100% { transform: scale(1); } }
.die3d.land { animation: diceland .24s ease-out; }

/* log */
#log-panel {
  position: absolute; right: 0; top: 49px; bottom: 62px; width: 290px; z-index: 6;
  background: rgba(8,14,22,.94); border-left: 1px solid var(--line); padding: 14px;
  display: flex; flex-direction: column;
}
#log-lines { flex: 1; overflow-y: auto; font-size: 12px; line-height: 1.75; color: var(--dim); }
#log-lines .who { font-weight: 700; }
#log-lines .chatln { color: var(--parch); }
#chat-form { margin-top: 8px; }
#chat-form input { padding: 8px 10px; font-size: 13px; }

/* overlays & modals */
.overlay {
  position: fixed; inset: 0; background: rgba(4, 8, 14, .82); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; z-index: 40;
}
.overlay-card {
  background: var(--panel); border: 1px solid var(--gold); border-radius: 16px;
  padding: 30px; width: min(420px, 92vw); text-align: center;
  box-shadow: 0 40px 120px rgba(0,0,0,.7); max-height: 90vh; overflow-y: auto;
}
.overlay-card.wide { width: min(520px, 94vw); text-align: left; }
.modal-title { font-family: var(--serif); letter-spacing: .25em; color: var(--gold); font-size: 15px; margin-bottom: 18px; text-align: center; }
#winner-crown { font-size: 64px; }
#winner-name { font-family: var(--serif); font-size: 34px; letter-spacing: .08em; margin: 10px 0 2px; }
#winner-sub { color: var(--dim); letter-spacing: .2em; font-size: 12px; margin-bottom: 24px; font-family: var(--serif); }
#setup-preview svg { width: 100%; height: auto; border-radius: 8px; margin-bottom: 14px; }

/* cards */
#cards-info { font-size: 13px; color: var(--dim); margin-bottom: 12px; }
#cards-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; min-height: 90px; }
.tcard {
  width: 86px; height: 112px; border: 1px solid var(--line); border-radius: 10px;
  background: linear-gradient(170deg, #1b2a3d, #0e1a29); cursor: pointer; padding: 9px;
  display: flex; flex-direction: column; justify-content: space-between; transition: all .12s;
}
.tcard:hover { border-color: var(--gold); }
.tcard.pick { border-color: var(--gold-hi); box-shadow: 0 0 16px rgba(212,168,67,.4); transform: translateY(-4px); }
.tcard .ic { font-size: 30px; text-align: center; }
.tcard .tn { font-size: 9px; color: var(--dim); text-align: center; line-height: 1.3; min-height: 24px; }

#toast {
  position: absolute; top: 60px; left: 50%; transform: translateX(-50%); z-index: 30;
  background: var(--panel); border: 1px solid var(--gold); color: var(--parch);
  border-radius: 10px; padding: 10px 20px; font-size: 14px; opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
#toast.show { opacity: 1; }

@media (max-width: 900px) {
  .lobby-room { flex-direction: column; }
  .lobby-left { width: 100%; }
  #log-panel { width: min(85vw, 290px); }
}
@media (max-width: 1150px) {
  .pchip .st { display: none; }  /* keep all 6 player chips visible on narrow screens */
  .pchip { padding: 5px 8px; }
}

/* ---------- home footer ---------- */
.home-links { margin-top: 18px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; font-size: 12px; color: var(--dim); }
.home-links a { color: var(--dim); cursor: pointer; text-decoration: none; letter-spacing: .06em; }
.home-links a:hover { color: var(--gold-hi); }
.home-credit { margin-top: 10px; font-size: 11px; color: rgba(125,143,163,.7); letter-spacing: .04em; }
.home-credit a { color: var(--gold); text-decoration: none; }
.home-credit a:hover { color: var(--gold-hi); text-decoration: underline; }

/* ---------- identity plate & clickable chips ---------- */
#me-plate { display: flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 8px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); flex-shrink: 0; }
.mp-dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 8px currentColor; }
.mp-you { font-family: var(--serif); font-size: 10px; letter-spacing: .2em; color: var(--gold); }
.mp-name { font-size: 13px; font-weight: 700; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pchip.me { border-color: rgba(212,168,67,.55); }
.pchip.clickable { cursor: pointer; }
.pchip.clickable:hover { background: rgba(255,255,255,.1); }

/* ---------- capitals ---------- */
.capstar { font-size: 15px; fill: #ffd43b; paint-order: stroke; stroke: rgba(0,0,0,.7); stroke-width: 2.4px; pointer-events: none; }

/* ---------- start banner ---------- */
#start-banner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(5,9,16,.55); z-index: 25; pointer-events: none; animation: bannerfade .4s; }
.sb-inner { text-align: center; background: var(--panel); border: 2px solid var(--gold); border-radius: 18px;
  padding: 30px 60px; box-shadow: 0 30px 90px rgba(0,0,0,.7); animation: bannerpop .45s cubic-bezier(.2,1.6,.4,1); }
.sb-title { font-family: var(--serif); letter-spacing: .4em; font-size: 13px; color: var(--dim); }
.sb-shield { width: 54px; height: 54px; border-radius: 50%; margin: 14px auto 10px; border: 3px solid rgba(255,255,255,.85);
  box-shadow: 0 0 26px currentColor; }
.sb-name { font-family: var(--serif); font-size: 30px; letter-spacing: .06em; }
.sb-sub { margin-top: 8px; font-size: 13px; color: var(--dim); }
@keyframes bannerpop { 0% { transform: scale(.7); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes bannerfade { 0% { opacity: 0; } 100% { opacity: 1; } }

/* ---------- alliance bar ---------- */
#ally-bar { position: absolute; top: 62px; left: 50%; transform: translateX(-50%); z-index: 26;
  display: flex; align-items: center; gap: 12px; background: var(--panel); border: 2px solid var(--gold);
  border-radius: 12px; padding: 12px 18px; box-shadow: 0 16px 50px rgba(0,0,0,.6); font-size: 14px; }

/* ---------- info modal ---------- */
.info-card { width: min(640px, 94vw); }
.info-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.info-tabs button { background: none; border: 1px solid var(--line); color: var(--dim); border-radius: 20px;
  padding: 7px 14px; cursor: pointer; font-family: var(--serif); letter-spacing: .08em; font-size: 12px; }
.info-tabs button.on { color: #1a1206; background: var(--gold); border-color: var(--gold); font-weight: 700; }
.info-body { max-height: 52vh; overflow-y: auto; font-size: 13.5px; line-height: 1.65; color: var(--parch); padding-right: 6px; margin-bottom: 14px; }
.info-body h3 { font-family: var(--serif); color: var(--gold); font-size: 14px; letter-spacing: .06em; margin: 14px 0 4px; }
.info-body h3:first-child { margin-top: 0; }
.info-body p { margin-bottom: 8px; color: #cfd8e3; }
textarea { background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 8px; color: var(--parch);
  padding: 11px 12px; font-size: 14px; outline: none; width: 100%; font-family: var(--sans); resize: vertical; }
textarea:focus { border-color: var(--gold); }

/* ---------- mobile ---------- */
@media (max-width: 640px) {
  #battle-panel { min-width: min(92vw, 360px); padding: 14px 14px; bottom: 110px; }
  .die3d { width: 42px; height: 42px; }
  #action-bar { padding: 8px 8px; gap: 8px; min-height: 56px; }
  #phase-steps span { padding: 4px 6px; font-size: 10px; }
  #me-plate { padding: 4px 8px; }
  .mp-name { display: none; }
  .btn.sm { padding: 6px 8px; font-size: 10px; }
  .sb-inner { padding: 22px 30px; }
  #action-side .btn { padding: 10px 12px; font-size: 11px; }
  .amt-btns button { padding: 8px 10px; }
}

/* ---------- house ads + cross-promo ---------- */
.house-ad { margin-top: 14px; }
.ha-card {
  position: relative; display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 10px; text-decoration: none;
  background: linear-gradient(120deg, hsla(var(--ha-hue), 45%, 22%, .55), hsla(var(--ha-hue), 55%, 14%, .65));
  border: 1px solid hsla(var(--ha-hue), 60%, 55%, .35);
  transition: border-color .15s, transform .15s;
}
.ha-card:hover { border-color: hsla(var(--ha-hue), 75%, 60%, .8); transform: translateY(-1px); }
.ha-emoji { font-size: 22px; flex: none; }
.ha-body { flex: 1; min-width: 0; text-align: left; }
.ha-title { display: block; font-size: 13px; font-weight: 700; color: var(--parch); }
.ha-line { display: block; font-size: 11.5px; color: var(--dim); line-height: 1.35; }
.ha-cta { flex: none; font-size: 11.5px; font-weight: 700; color: hsl(var(--ha-hue), 80%, 70%); white-space: nowrap; }
.ha-tag {
  position: absolute; top: -7px; right: 8px; font-size: 8.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--dim); background: var(--bg); padding: 1px 6px; border-radius: 4px; border: 1px solid var(--line);
}
.promo-frontlines {
  display: flex; align-items: center; gap: 11px; margin-top: 14px; padding: 12px 14px;
  border-radius: 12px; text-decoration: none; text-align: left;
  background: linear-gradient(120deg, rgba(35, 80, 140, .5), rgba(20, 45, 85, .6));
  border: 1px solid rgba(90, 150, 220, .45);
  transition: border-color .15s, transform .15s;
}
.promo-frontlines:hover { border-color: rgba(120, 180, 255, .9); transform: translateY(-1px); }
.pf-emoji { font-size: 26px; }
.pf-body { flex: 1; min-width: 0; }
.pf-body b { display: block; font-size: 13.5px; color: #dfeaff; letter-spacing: .04em; }
.pf-body span { display: block; font-size: 11.5px; color: var(--dim); }
.pf-cta { font-family: var(--serif); font-size: 12px; letter-spacing: .1em; color: #9cc4ff; font-weight: 700; white-space: nowrap; }
