:root {
  --bg: #15181c;
  --panel: #1f242a;
  --panel-2: #262c33;
  --line: #343b44;
  --text: #e6e8eb;
  --muted: #9aa3ad;
  --accent: #ffb300;
  --move: #4fc3f7;
  --dice: #ef5350;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body { display: flex; flex-direction: column; }

button, select, .button {
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 10px;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
button:hover, .button:hover, select:hover { border-color: var(--muted); }
button.danger { color: #ff8a80; }

.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.topbar h1 { font-size: 16px; margin: 0; }
.topbar .title { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.topbar .title-name { color: var(--text); font-weight: 600; }
.icon-btn { padding: 1px 6px; font-size: 12px; }
.rename-input { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--accent); border-radius: 5px; padding: 2px 6px; min-width: 200px; }
#recordings .game-name { font-weight: 600; }
#recordings .game-cell .hint { font-size: 11px; margin: 0; }
.spacer { flex: 1; }

/* Library */
.library { padding: 24px; max-width: 980px; width: 100%; margin: 0 auto; }
.library h2 { margin-top: 0; }
.hint { color: var(--muted); }
.folder-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
}
.folder-panel.ok { border-left-color: #66bb6a; }
.folder-panel.warn { border-left-color: var(--accent); }
.folder-panel h3 { margin: 0 0 4px; font-size: 15px; }
.folder-panel p { margin: 0 0 10px; color: var(--muted); }
.folder-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.folder-buttons button.primary { background: var(--accent); border-color: var(--accent); color: #1b1b1b; font-weight: 600; }
#recordings td.saved { color: var(--muted); font-size: 12px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#recordings { width: 100%; border-collapse: collapse; margin-top: 12px; }
#recordings th, #recordings td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
#recordings th { color: var(--muted); font-weight: 500; }
#recordings td:last-child { text-align: right; white-space: nowrap; }
#recordings td:last-child > * { margin-left: 6px; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: 12px; }

/* Replay layout */
.replay {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(240px, 28vw, 360px);
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
}
.board-wrap { position: relative; min-width: 0; min-height: 0; background: #0c0e10; overflow: hidden; display: flex; flex-direction: column; }
#board { flex: 1; min-height: 0; width: 100%; display: block; cursor: grab; touch-action: none; }

/* Game bar: scores, turn counter and clock, styled after Wartable's header */
.gamebar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 6px 12px;
  background: #37474f;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.gb-scores, .gb-clock { display: flex; gap: 6px; align-items: stretch; }
.gb-box {
  min-width: 74px;
  padding: 3px 10px;
  border-radius: 5px;
  text-align: center;
  color: #fff;
  line-height: 1.15;
  transition: box-shadow 0.3s;
}
.gb-box .gb-label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.gb-box .gb-value { display: block; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gb-box.turn { background: rgba(255, 255, 255, 0.25); }
.gb-box.changed { box-shadow: 0 0 0 2px var(--accent); }
.gb-clock .gb-box { background: transparent; }
.gb-clock .gb-box.active { background: rgba(255, 255, 255, 0.22); }
.gb-clock .gb-box.expired .gb-value { color: #ff8a80; }
.gb-paused { align-self: center; color: #cfd8dc; font-size: 12px; }
#board.panning { cursor: grabbing; }
.board-text { font-family: Roboto, system-ui, sans-serif; pointer-events: none; }
.token { cursor: pointer; }
.select-ring { fill: none; stroke: var(--accent); stroke-width: 0.08; pointer-events: none; }
.focus-ring { fill: none; stroke: var(--accent); stroke-width: 0.06; }
.ghost { fill: none; stroke: #fff; stroke-width: 0.04; stroke-dasharray: 0.15 0.12; opacity: 0.8; }
.ghost-arrow { stroke: var(--accent); stroke-width: 0.05; opacity: 0.9; }
.ping { fill: none; stroke-width: 0.12; animation: ping 1.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ping { from { opacity: 1; transform: scale(0.4); } to { opacity: 0; transform: scale(1.6); } }
.board-wrap.has-gamebar .step-banner { top: 68px; }

.step-banner {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  max-width: 80%;
  background: rgba(20, 22, 26, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  pointer-events: none;
  text-align: center;
}
.step-banner:empty { display: none; }
.step-banner.dice { border-color: var(--dice); }
.step-banner.move { border-color: var(--move); }
.board-hint { position: absolute; left: 10px; bottom: 8px; color: var(--muted); font-size: 12px; pointer-events: none; }

/* Side panel */
.side { grid-row: 1 / span 2; grid-column: 2; display: flex; flex-direction: column; min-height: 0; background: var(--panel); border-left: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1 1 auto; justify-content: center; padding: 4px 7px; font-size: 13px; }
.tabs button.active { border-color: var(--accent); color: var(--accent); }
.events { list-style: none; margin: 0; padding: 4px 0; overflow-y: auto; flex: 1; min-height: 120px; }
.events li { display: grid; grid-template-columns: 62px 1fr; gap: 6px; padding: 4px 10px; cursor: pointer; border-left: 3px solid transparent; }
.events li:hover { background: var(--panel-2); }
.events li.current { background: #2f3740; border-left-color: var(--accent); }
.events li.future { opacity: 0.45; }
.events li .time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; padding-top: 1px; }
.events li.kind-move .text::before { content: "➜ "; color: var(--move); }
.events li.kind-dice .text::before { content: "🎲 "; }
.events li.kind-log .text::before { content: "💬 "; }
.events li.kind-added .text::before { content: "+ "; color: #81c784; }
.events li.kind-removed .text::before { content: "− "; color: #e57373; }

/* Checkpoints and changes */
.panel-scroll { flex: 1; min-height: 120px; overflow-y: auto; padding: 8px 0; }
.cp-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 0 10px 8px; color: var(--muted); }
.cp-list { list-style: none; margin: 0; padding: 0; }
.cp { display: flex; align-items: center; gap: 6px; padding: 4px 8px 4px 10px; border-left: 3px solid transparent; }
.cp:hover { background: var(--panel-2); }
.cp.current { background: #2f3740; border-left-color: var(--accent); }
.cp-main { flex: 1; min-width: 0; display: grid; grid-template-columns: 62px 1fr; gap: 6px; cursor: pointer; }
.cp-main .time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; padding-top: 1px; }
.cp.auto .cp-label::before { content: "⚙ "; color: var(--muted); }
.cp.manual .cp-label::before { content: "⚑ "; color: var(--move); }
.cp.start .cp-label { color: var(--muted); }
.cp-actions { display: flex; gap: 4px; }
.cp-actions button { padding: 2px 6px; font-size: 12px; }
.cp-note { padding: 8px 12px 0; font-size: 12px; margin: 0; }

.changes-head { padding: 0 12px 6px; }
.changes-head button { padding: 2px 8px; font-size: 12px; }
.changes-head h3 { margin: 8px 0 2px; font-size: 15px; }
.changes-head p { margin: 0; font-size: 12px; }
.changes-section { padding: 6px 12px; border-top: 1px solid var(--line); }
.changes-section h4 { margin: 2px 0 4px; font-size: 13px; color: var(--muted); font-weight: 600; }
.changes-section ul { list-style: none; margin: 0; padding: 0; }
.changes-section li { padding: 2px 0; display: flex; flex-wrap: wrap; gap: 0 8px; }
.changes-section li.clickable { cursor: pointer; }
.changes-section li.clickable:hover .what { text-decoration: underline; }
.changes-section .detail { color: var(--muted); font-size: 12px; }
.changes-section.moved h4 { color: var(--accent); }
.changes-section.removed h4 { color: #ef5350; }
.changes-section.added h4 { color: #66bb6a; }
.changes-section.changed h4 { color: var(--move); }
.step-banner.changes { border-color: var(--accent); }

.mark-ring { fill: none; stroke-width: 0.08; stroke-dasharray: 0.25 0.15; }
.mark-added { stroke: #66bb6a; }
.mark-changed { stroke: #4fc3f7; }
.mark-removed-base { fill: rgba(229, 57, 53, 0.15); stroke: #e53935; stroke-width: 0.05; stroke-dasharray: 0.2 0.12; }
.mark-removed-x { stroke: #e53935; stroke-width: 0.1; stroke-linecap: round; }

/* Fixed height so the log below doesn't move when you select something else */
.selection { flex: 0 0 auto; height: 40%; min-height: 180px; border-bottom: 1px solid var(--line); padding: 10px 12px; overflow-y: auto; }
.selection h3 { margin: 0 0 6px; font-size: 15px; }
.selection dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0; }
.selection dt { color: var(--muted); }
.selection dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
.selection details { margin-top: 8px; }

/* Damage grid / life spiral (styled after SoloWM) */
.dmg-wrap { margin: 8px 0 4px; }
.dmg-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 4px; }
.dmg-title { text-align: center; }
.dmg-grid { display: grid; gap: 2px; width: 150px; margin: 0 auto; }
.dmg-gc { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; border-radius: 2px; }
.dmg-gnum { color: var(--muted); font-size: 9px; aspect-ratio: auto; }
.dmg-gempty { background: transparent; }
.dmg-box { color: #10141c; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25); }
.dmg-on { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4); opacity: 0.9; }
.dmg-spiral-svg { width: 150px; height: auto; display: block; margin: 0 auto; }

/* Dice panel */
.dice-panel { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); display: grid; place-items: center; z-index: 20; }
.dice-box { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; width: min(760px, 94vw); max-height: 90vh; overflow-y: auto; }
.dice-head { display: flex; align-items: center; gap: 16px; color: var(--muted); }
.dice-head h2 { margin: 0; font-size: 17px; color: var(--text); }
.dice-legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin: 8px 0 4px; }
.dice-legend i { display: inline-block; vertical-align: middle; margin-right: 6px; }
.dice-legend .sw-bar { width: 10px; height: 10px; border-radius: 2px; background: var(--move); }
.dice-legend .sw-line { width: 16px; border-top: 2px dashed var(--muted); }
.dice-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.dice-player h3 { margin: 6px 0 0; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.dice-player .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dice-player .sub { margin: 2px 0 6px; font-size: 12px; color: var(--muted); }
.dice-chart-title { font-size: 12px; color: var(--muted); margin: 8px 0 2px; }
.dice-chart { width: 100%; height: auto; display: block; }
.dice-chart text { fill: var(--muted); font-size: 10px; font-family: system-ui, sans-serif; }
.dice-chart .bar { fill: var(--move); }
.dice-chart .hit:hover + .bar, .dice-chart .bar.hover { fill: #81d4fa; }
.dice-chart .grid { stroke: var(--line); stroke-width: 1; }
.dice-chart .fair { stroke: var(--muted); stroke-width: 2; stroke-dasharray: 4 3; fill: none; }
.dice-tip { position: absolute; pointer-events: none; background: #0c0e10; border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; font-size: 12px; white-space: nowrap; }
/* Army lists */
.lists-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 8px; }
.list-player h3 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.list-player .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.list-player .sub { margin: 2px 0 8px; font-size: 12px; color: var(--muted); }
.list-player pre { margin: 0; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; font: 12px/1.45 ui-monospace, Consolas, monospace; white-space: pre-wrap; color: var(--text); }
.list-player details { margin-top: 8px; font-size: 12px; color: var(--muted); }
.list-player details pre { margin-top: 6px; }

/* Game summary */
.summary-box { width: min(980px, 96vw); padding: 14px 22px 20px; }
.summary-body { display: flex; flex-direction: column; gap: 18px; margin-top: 10px; }
.sum-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.sum-headline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.sum-vs { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; }
.sum-vs-name { display: inline-flex; align-items: center; gap: 7px; }
.sum-vs-sep { color: var(--muted); font-weight: 400; font-size: 14px; }
.sum-facts { color: var(--muted); font-size: 13px; }
.sum-upto { flex-basis: 100%; color: var(--accent); font-size: 12px; }
.sum-board { border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.sum-board th { text-align: left; font-weight: 600; padding: 0 28px 6px 0; }
.sum-board th .sum-dot { margin-right: 7px; }
.sum-board td { padding: 4px 28px 4px 0; border-top: 1px solid var(--line); }
.sum-board .sum-board-label { color: var(--muted); }
.sum-board .sum-board-score td:not(.sum-board-label) { font-size: 20px; font-weight: 700; }
.sum-section { display: flex; flex-direction: column; gap: 4px; }
.sum-chart-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.sum-chart-head h3 { margin: 0; font-size: 14px; }
.sum-note { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.sum-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.sum-toggle button { border: 0; border-radius: 0; padding: 2px 10px; font-size: 12px; background: transparent; }
.sum-toggle button.active { background: var(--panel-2); color: var(--accent); }
.sum-toggle button:disabled { opacity: 0.45; cursor: not-allowed; }
.sum-time { display: flex; flex-direction: column; gap: 14px; padding: 12px 0 0; border-top: 1px solid var(--line); }
.sum-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; color: var(--text); margin-bottom: -8px; }
.sum-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sum-legend .sum-legend-shade { color: var(--muted); }
.sum-chart { width: 100%; height: auto; display: block; overflow: visible; }
.sum-ribbon { margin-bottom: -10px; }
.sum-ribbon-text { fill: var(--text); font-size: 11px; font-weight: 600; }
.sum-tick { fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.sum-cat { fill: var(--text); font-size: 12px; }
.sum-value { fill: var(--text); font-size: 11px; font-variant-numeric: tabular-nums; }
.sum-end { fill: var(--text); font-size: 12px; font-variant-numeric: tabular-nums; }
.sum-grid { stroke: var(--line); stroke-width: 1; opacity: 0.6; }
.sum-axis { stroke: var(--line); stroke-width: 1; }
.sum-divider { stroke: var(--line); stroke-width: 1; }
.sum-line { fill: none; stroke-width: 2.25; stroke-linejoin: round; }
.sum-dot-mark { stroke: var(--panel); stroke-width: 2; }
.sum-cross { stroke: var(--text); stroke-width: 1; opacity: 0.55; pointer-events: none; }
.sum-hit { cursor: pointer; }
.sum-bar.hover { filter: brightness(1.2); }
.sum-bar.partial { opacity: 0.6; }
.sum-key { display: inline-flex; align-items: center; gap: 6px; }
.sum-key i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-left: 4px; }
.sum-key-solid { background: var(--muted); }
.sum-key-hatch { background: repeating-linear-gradient(45deg, var(--muted) 0 2px, transparent 2px 5px); border: 1px solid var(--muted); }
.sum-tip { white-space: normal; max-width: 380px; line-height: 1.5; z-index: 2; }
.sum-tip-head { font-weight: 600; }
.sum-tip-sub { color: var(--muted); }
.sum-tip-row { display: flex; align-items: center; gap: 6px; }
.sum-tip-hint { color: var(--muted); font-size: 11px; margin-top: 2px; }
.sum-pauses { list-style: none; margin: 2px 0 0; padding: 0; counter-reset: pause; }
.sum-pauses li {
  counter-increment: pause;
  display: grid;
  grid-template-columns: 22px 92px minmax(80px, 1fr) 48px minmax(150px, auto);
  grid-template-areas: "n who track dur where" "n . ctx ctx ctx";
  align-items: center;
  gap: 1px 12px;
  padding: 6px 6px;
  border-top: 1px solid var(--line);
  cursor: pointer;
  font-size: 13px;
}
.sum-pauses li::before { content: counter(pause); grid-area: n; color: var(--muted); font-size: 12px; text-align: right; }
.sum-pauses li:hover { background: var(--panel-2); }
.sum-p-who { grid-area: who; display: inline-flex; align-items: center; gap: 7px; }
.sum-p-track { grid-area: track; height: 8px; background: var(--panel-2); border-radius: 4px; overflow: hidden; }
.sum-p-bar { display: block; height: 100%; border-radius: 4px; }
.sum-p-dur { grid-area: dur; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.sum-p-where { grid-area: where; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.sum-p-ctx { grid-area: ctx; font-size: 12px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sum-p-label { color: var(--muted); }
.sum-tag { margin-left: 8px; padding: 0 6px; border: 1px solid var(--line); border-radius: 8px; font-size: 11px; color: var(--muted); }

.dice-table { margin-top: 12px; font-size: 12px; color: var(--muted); }
.dice-table table { border-collapse: collapse; margin-top: 6px; }
.dice-table th, .dice-table td { padding: 2px 10px; border-bottom: 1px solid var(--line); text-align: right; }
.dmg-legend { display: flex; gap: 10px; justify-content: center; font-size: 11px; color: var(--muted); margin-top: 2px; }
.dmg-leg-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.selection pre { font-size: 11px; white-space: pre-wrap; word-break: break-all; color: var(--muted); }
.options { border-top: 1px solid var(--line); padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; color: var(--muted); }

/* Transport */
.transport {
  grid-column: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--panel);
  border-top: 1px solid var(--line);
}
.transport .play { min-width: 44px; justify-content: center; }
.scrub-wrap { flex: 1 1 160px; min-width: 120px; position: relative; display: flex; align-items: center; }
#scrubber { width: 100%; accent-color: var(--accent); margin: 0; }
.scrub-marks { position: absolute; left: 8px; right: 8px; top: -7px; height: 8px; pointer-events: none; }
.scrub-mark { position: absolute; width: 2px; height: 8px; margin-left: -1px; background: var(--muted); border-radius: 1px; }
.scrub-mark.manual { background: var(--move); }
.clock { font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }

.message {
  position: fixed;
  inset: auto 50% 24px auto;
  transform: translateX(50%);
  background: #3e2723;
  border: 1px solid #8d6e63;
  padding: 10px 16px;
  border-radius: 8px;
  max-width: 80vw;
}
body.dragging::after {
  content: "Drop a recording file to open it";
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: rgba(0, 0, 0, 0.6);
  border: 3px dashed var(--accent);
}

/* Website mode (the page outside the extension): no stored recordings, open a file instead */
h1 a { color: inherit; text-decoration: none; }
body.site [data-ext], body:not(.site) [data-site] { display: none !important; }
.open-panel { max-width: 640px; margin: 24px auto 0; }
.drop-zone {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 48px 24px; margin: 12px 0 16px;
  border: 2px dashed var(--line); border-radius: 12px; background: var(--panel);
  cursor: pointer; text-align: center;
}
.drop-zone:hover, body.dragging .drop-zone { border-color: var(--accent); }
.drop-big { font-size: 18px; font-weight: 600; }
.open-panel a { color: var(--accent); }

/* Sharing (website) */
button.primary { background: var(--accent); border-color: var(--accent); color: #1a1a1a; font-weight: 600; }
.share-box { max-width: 560px; }
.share-body { padding: 4px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.share-body p { margin: 0; }
.share-body label { display: flex; gap: 8px; align-items: flex-start; }
.share-body > button { align-self: flex-start; }
.share-link { display: flex; gap: 8px; }
.share-link input { flex: 1; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; font: inherit; }
.share-error { color: #ef9a9a; }
.share-body a, .my-shares a { color: var(--accent); }
.my-shares h3 { margin: 18px 0 2px; font-size: 15px; }
.my-shares ul { list-style: none; padding: 0; margin: 8px 0 0; }
.my-shares li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.my-shares li .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
