SOURCE / PINNED RELEASE
Made of little things.
Squad Table
- Release
- d36201f8ed4f…
- Author-recorded commit
- 7b9bb681d6ba…
- License
- LICENSE
- Author’s source reference
- nostr://npub1sj2vketepqw9v6fmge5fdzuj7atj9sv6qv2jss05n2z6rl64lcfqumdsnt/wss%3A%2F%2Fgit.napplet.soy%2F/n-c043b0c0f1d
Archive hash verified: 8c0604b31f00cc5a…. The source-to-build association is the author’s claim; it has not been independently rebuilt.
/*
Squad Table — "war-room table" direction. A dark felt table surrounds a cream
paper map; the HUD and panels are olive field-kit surfaces with brass accents
and condensed, stencil-like type. Colors are app-owned (no host theme).
*/
:root {
--felt: #151a15;
--felt-2: #1c231c;
--panel: #222a21;
--panel-2: #2a3328;
--panel-3: #333e30;
--line: #3d4839;
--ink: #efe6cb;
--ink-dim: #b2aa8f;
--ink-faint: #858069;
--brass: #d6a93a;
--brass-hi: #f2c94c;
--brass-ink: #1d1706;
--danger: #c4573c;
--ok: #7fb069;
--warn: #e3b341;
--paper: #efe7cf;
--radius: 6px;
--hud-h: 48px;
--panel-w: 340px;
--tap: 40px;
--font: 'Bahnschrift', 'DIN Alternate', 'DIN Condensed', 'Roboto Condensed', 'Arial Narrow', 'Liberation Sans Narrow', system-ui, sans-serif;
--mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
color-scheme: dark;
--napplet-text-selection: none;
}
@media (pointer: coarse) {
:root {
--tap: 44px;
--hud-h: 52px;
}
}
* {
box-sizing: border-box;
}
html,
body,
#app {
height: 100%;
margin: 0;
}
body {
background: var(--felt);
color: var(--ink);
font-family: var(--font);
font-size: 15px;
line-height: 1.35;
overflow: hidden;
-webkit-font-smoothing: antialiased;
user-select: var(--napplet-text-selection);
}
input,
select,
textarea,
[data-napplet-select='text'] {
user-select: text;
}
button,
input,
select {
font: inherit;
color: inherit;
}
[hidden] {
display: none !important;
}
svg {
flex: none;
}
.app {
position: relative;
overflow: hidden;
background:
radial-gradient(ellipse at 30% 20%, rgba(80, 100, 70, 0.18), transparent 60%),
radial-gradient(ellipse at 80% 90%, rgba(60, 40, 20, 0.25), transparent 60%),
var(--felt);
}
/* ---------- shared controls ---------- */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
min-height: var(--tap);
padding: 0 14px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--panel-2);
color: var(--ink);
font-weight: 700;
letter-spacing: 0.02em;
cursor: pointer;
transition: background 0.12s, border-color 0.12s;
}
.btn:hover:not(:disabled) {
background: var(--panel-3);
border-color: #56634f;
}
.btn.primary {
background: var(--brass);
border-color: #a98222;
color: var(--brass-ink);
}
.btn.primary:hover:not(:disabled) {
background: var(--brass-hi);
}
.btn.danger {
color: #ffd9cf;
border-color: #6f3022;
background: #45251c;
}
.btn.small {
min-height: 34px;
padding: 0 10px;
font-size: 13.5px;
}
@media (pointer: coarse) {
.btn.small {
min-height: 42px;
}
}
.btn:disabled,
.tool:disabled {
opacity: 0.42;
cursor: not-allowed;
}
.tool {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 5px;
min-width: var(--tap);
height: var(--tap);
padding: 0 8px;
border: 1px solid transparent;
border-radius: var(--radius);
background: transparent;
color: var(--ink);
font-weight: 700;
cursor: pointer;
}
.tool:hover:not(:disabled) {
background: var(--panel-3);
}
.tool[aria-pressed='true'] {
background: var(--brass);
color: var(--brass-ink);
}
.tool svg {
width: 20px;
height: 20px;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
stroke-linecap: round;
stroke-linejoin: round;
}
.tool.slim {
min-width: 32px;
padding: 0 4px;
}
@media (pointer: coarse) {
.tool.slim {
min-width: 40px;
}
}
:focus-visible {
outline: 2px solid var(--brass-hi);
outline-offset: 2px;
}
.hint {
color: var(--ink-dim);
font-size: 13px;
margin: 6px 0;
}
.row {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
}
.swatch,
.chip-swatch {
display: inline-block;
width: 14px;
height: 14px;
border-radius: 3px;
border: 1.5px solid #000;
flex: none;
}
.chip-swatch {
width: 12px;
height: 12px;
margin-right: 4px;
vertical-align: -1px;
}
.seg {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.seg-btn {
display: inline-flex;
align-items: center;
gap: 7px;
min-height: var(--tap);
padding: 0 12px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--panel);
cursor: pointer;
font-weight: 700;
}
.seg-btn[aria-checked='true'] {
border-color: var(--brass);
background: #3a3520;
box-shadow: inset 0 0 0 1px var(--brass);
}
.field {
display: grid;
gap: 5px;
margin: 0 0 12px;
padding: 0;
border: 0;
}
.field > span,
.field > legend {
color: var(--ink-dim);
font-size: 12.5px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
padding: 0;
margin-bottom: 5px;
}
input[type='text'],
select {
width: 100%;
min-height: var(--tap);
padding: 0 10px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #161b15;
color: var(--ink);
}
input[type='text']:focus,
select:focus {
border-color: var(--brass);
outline: none;
}
/* ---------- lobby ---------- */
.lobby {
height: 100%;
overflow: auto;
padding: clamp(12px, 3vw, 32px);
}
.lobby-inner {
max-width: 1080px;
margin: 0 auto;
}
.lobby-intro {
display: grid;
gap: 4px;
margin-bottom: 18px;
padding-left: 14px;
border-left: 4px solid var(--brass);
}
.lobby-kicker {
margin: 0;
color: var(--brass);
font-size: 13px;
font-weight: 800;
letter-spacing: 0.22em;
text-transform: uppercase;
}
.lobby-lede {
margin: 0;
max-width: 62ch;
color: var(--ink-dim);
}
.lobby-grid {
display: grid;
gap: 14px;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
align-items: start;
}
.card {
padding: 16px;
border: 1px solid var(--line);
border-radius: 8px;
background: linear-gradient(180deg, var(--panel-2), var(--panel));
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.card h2 {
margin: 0 0 12px;
font-size: 15px;
letter-spacing: 0.14em;
text-transform: uppercase;
}
.card-new {
grid-row: span 2;
}
.table-list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 6px;
}
.table-item {
display: flex;
gap: 4px;
align-items: stretch;
}
.table-open {
flex: 1;
display: grid;
grid-template-columns: auto 1fr;
gap: 2px 10px;
align-items: center;
min-height: 48px;
padding: 6px 10px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--panel);
text-align: left;
cursor: pointer;
}
.table-open:hover {
border-color: var(--brass);
}
.table-open .swatch {
grid-row: span 2;
}
.table-name {
font-weight: 700;
}
.table-meta {
color: var(--ink-dim);
font-size: 12.5px;
}
.identity-note {
margin-top: 16px;
font-family: var(--mono);
font-size: 12px;
}
/* ---------- table layout ---------- */
.table {
position: relative;
display: grid;
height: 100%;
grid-template-rows: var(--hud-h) minmax(0, 1fr);
grid-template-columns: minmax(0, 1fr) 0;
grid-template-areas: 'hud hud' 'board panel';
}
.table.panel-open {
grid-template-columns: minmax(0, 1fr) var(--panel-w);
}
@media (min-width: 1200px) {
:root {
--panel-w: 380px;
}
}
.hud {
grid-area: hud;
display: flex;
align-items: center;
gap: 4px;
padding: 0 6px;
border-bottom: 1px solid #0b0e0b;
background: linear-gradient(180deg, #2b3429, #222a21);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
z-index: 3;
overflow-x: auto;
scrollbar-width: none;
}
.phase {
flex: none;
display: flex;
align-items: center;
gap: 2px;
padding: 0 2px;
border: 1px solid #11160f;
border-radius: var(--radius);
background: #161b15;
min-width: 0;
}
.phase-text {
display: flex;
align-items: baseline;
gap: 7px;
padding: 0 4px;
white-space: nowrap;
}
.turn {
color: var(--brass-hi);
font-weight: 800;
font-variant-numeric: tabular-nums;
}
.chip {
font-weight: 800;
font-size: 13px;
}
.phase-name {
font-weight: 800;
letter-spacing: 0.06em;
text-transform: uppercase;
font-size: 13.5px;
}
.hud-tools {
display: flex;
gap: 2px;
margin-left: 4px;
}
.tool.dice {
font-size: 14px;
letter-spacing: 0.04em;
border-color: #6b2a1c;
background: #5b2318;
color: #ffe8d8;
}
.tool.dice:hover:not(:disabled) {
background: #7a2f20;
}
.tool-label {
font-size: 13px;
}
.hud-right {
display: flex;
align-items: center;
gap: 6px;
margin-left: auto;
}
.seat {
display: inline-flex;
align-items: center;
gap: 2px;
font-weight: 800;
font-size: 13px;
white-space: nowrap;
}
.seat-label {
color: var(--ink-dim);
font-weight: 600;
margin-left: 3px;
}
.seat-toggle {
display: inline-flex;
align-items: center;
min-height: 34px;
padding: 0 8px;
border: 1px dashed #56634f;
border-radius: var(--radius);
background: transparent;
font-weight: 800;
cursor: pointer;
}
.sync {
width: 11px;
height: 11px;
border-radius: 50%;
background: var(--ink-faint);
box-shadow: 0 0 0 2px #11160f;
flex: none;
}
.sync[data-state='ok'] {
background: var(--ok);
}
.sync[data-state='live'] {
background: #5fd0ff;
box-shadow: 0 0 0 2px #11160f, 0 0 8px #5fd0ff;
}
.sync[data-state='saving'] {
background: var(--warn);
animation: blink 1s infinite;
}
.sync[data-state='offline'],
.sync[data-state='error'] {
background: var(--danger);
}
.sync[data-state='local'] {
background: #cfc5a5;
}
@keyframes blink {
50% {
opacity: 0.35;
}
}
/* ---------- board ---------- */
.board-wrap {
grid-area: board;
position: relative;
min-height: 0;
overflow: hidden;
}
.board-host {
position: absolute;
inset: 0;
}
.board {
display: block;
width: 100%;
height: 100%;
touch-action: none;
cursor: grab;
}
.board:active {
cursor: grabbing;
}
.ctr-text {
font-family: var(--font);
}
.coord {
font-family: var(--font);
fill: rgba(70, 52, 24, 0.62);
font-weight: 700;
pointer-events: none;
}
.ghost {
pointer-events: none;
}
.zoom {
position: absolute;
right: 10px;
bottom: 10px;
display: flex;
flex-direction: column;
gap: 4px;
padding: 4px;
border: 1px solid var(--line);
border-radius: 8px;
background: rgba(28, 35, 27, 0.9);
z-index: 2;
}
.zoom .tool {
font-size: 20px;
font-weight: 600;
}
.board-tools {
position: absolute;
top: 10px;
left: 10px;
display: flex;
flex-direction: column;
gap: 4px;
padding: 4px;
border: 1px solid var(--line);
border-radius: 8px;
background: rgba(28, 35, 27, 0.9);
z-index: 2;
}
.board-tools .tool {
justify-content: flex-start;
}
.strip:not([hidden]) ~ .dice-tray {
bottom: 84px;
}
.too-small {
display: none;
}
@media (max-width: 259px), (max-height: 199px) {
.table .too-small {
position: absolute;
inset: 0;
z-index: 20;
display: grid;
align-content: center;
gap: 4px;
padding: 10px;
background: var(--felt);
text-align: center;
font-size: 13px;
}
.too-small p {
margin: 0;
}
.too-small p + p {
color: var(--ink-dim);
}
}
.mode-bar {
position: absolute;
top: 10px;
left: 50%;
transform: translateX(-50%);
display: flex;
align-items: center;
gap: 10px;
max-width: calc(100% - 20px);
padding: 6px 6px 6px 14px;
border: 1px solid #a98222;
border-radius: 999px;
background: rgba(40, 34, 14, 0.94);
color: var(--brass-hi);
font-weight: 800;
z-index: 2;
white-space: nowrap;
}
.mode-bar span {
overflow: hidden;
text-overflow: ellipsis;
}
.toast {
position: absolute;
top: 58px;
left: 50%;
transform: translateX(-50%);
max-width: min(440px, calc(100% - 24px));
padding: 9px 14px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: rgba(20, 24, 19, 0.95);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
font-size: 14px;
z-index: 4;
text-align: center;
}
.dice-tray {
position: absolute;
left: 10px;
bottom: 10px;
display: flex;
align-items: center;
gap: 10px;
padding: 8px 12px 8px 8px;
border: 1px solid #6b2a1c;
border-radius: 10px;
background: rgba(30, 20, 15, 0.94);
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
cursor: pointer;
z-index: 2;
}
.dice-tray.pop .die {
animation: tumble 0.45s ease-out;
}
.dice-tray.pop .die:nth-child(2) {
animation-delay: 0.06s;
}
@keyframes tumble {
0% {
transform: rotate(-200deg) scale(0.4);
}
70% {
transform: rotate(12deg) scale(1.08);
}
100% {
transform: none;
}
}
.dice-faces {
display: flex;
gap: 6px;
}
.dice-text {
display: grid;
}
.dice-text b {
font-size: 20px;
color: #ffe8d8;
}
.dice-text span {
color: var(--ink-dim);
font-size: 12.5px;
max-width: 16ch;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.strip {
position: absolute;
left: 8px;
right: 64px;
bottom: 8px;
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 8px;
padding: 6px 8px;
border: 1px solid var(--line);
border-radius: 10px;
background: rgba(28, 35, 27, 0.95);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
z-index: 2;
}
.strip-hex {
display: grid;
line-height: 1.15;
}
.strip-hex span {
color: var(--ink-dim);
font-size: 11.5px;
max-width: 11ch;
}
.strip-counters {
display: flex;
gap: 4px;
overflow-x: auto;
scrollbar-width: none;
min-width: 0;
}
.strip-ctr {
padding: 1px;
border: 2px solid transparent;
border-radius: 5px;
background: none;
cursor: pointer;
}
.strip-ctr[aria-pressed='true'] {
border-color: var(--brass-hi);
}
.strip-ctr[aria-pressed='false'] {
opacity: 0.55;
}
.strip-actions {
display: flex;
gap: 6px;
}
/* ---------- panel ---------- */
.panel {
grid-area: panel;
display: flex;
flex-direction: column;
min-height: 0;
min-width: 0;
overflow: hidden;
border-left: 1px solid #0b0e0b;
background: var(--panel);
z-index: 3;
}
.table:not(.panel-open) .panel {
visibility: hidden;
}
.tabs {
display: flex;
align-items: stretch;
gap: 2px;
padding: 6px 6px 0;
border-bottom: 1px solid var(--line);
background: var(--panel-2);
}
.tab {
position: relative;
flex: 1;
min-height: var(--tap);
border: 0;
border-radius: var(--radius) var(--radius) 0 0;
background: transparent;
color: var(--ink-dim);
font-weight: 800;
font-size: 13px;
letter-spacing: 0.08em;
text-transform: uppercase;
cursor: pointer;
}
.tab[aria-selected='true'] {
background: var(--panel);
color: var(--brass-hi);
box-shadow: inset 0 3px 0 var(--brass);
}
.badge-dot {
position: absolute;
top: 8px;
right: 8px;
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--brass-hi);
}
.panel-close {
display: none;
}
.tab-body {
flex: 1;
min-height: 0;
overflow: auto;
padding: 12px;
}
.tab-log {
display: flex;
flex-direction: column;
padding: 0;
}
.empty {
color: var(--ink-dim);
padding: 8px 2px;
margin: 0;
}
.stack-head {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 8px;
margin-bottom: 8px;
}
.stack-head > div {
display: grid;
}
.stack-hex {
font-size: 22px;
letter-spacing: 0.04em;
}
.stack-tools {
margin-bottom: 10px;
}
.stack-list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 6px;
}
.stack-item {
display: flex;
align-items: center;
gap: 4px;
padding: 3px;
border: 1px solid var(--line);
border-radius: 7px;
background: #1c231b;
}
.stack-item.picked {
border-color: var(--brass);
background: #2f2c1a;
}
.pick {
flex: 1;
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
padding: 2px;
border: 0;
background: none;
text-align: left;
cursor: pointer;
}
.pick-text {
display: grid;
min-width: 0;
}
.pick-name {
font-weight: 800;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.pick-sub {
color: var(--ink-dim);
font-size: 12px;
}
.item-tools {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
}
.boxes {
display: flex;
flex-wrap: wrap;
gap: 6px;
align-items: center;
margin-top: 16px;
padding-top: 12px;
border-top: 1px dashed var(--line);
}
.boxes .hint {
width: 100%;
margin: 0;
text-transform: uppercase;
letter-spacing: 0.1em;
font-size: 11.5px;
font-weight: 800;
}
.box {
display: inline-flex;
align-items: center;
gap: 4px;
min-height: 36px;
padding: 0 10px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #1c231b;
font-size: 13px;
cursor: pointer;
}
.box.active {
border-color: var(--brass);
background: #2f2c1a;
}
.los-report {
margin-bottom: 14px;
padding: 10px;
border: 1px solid #8a6d22;
border-radius: 8px;
background: #2b2816;
}
.los-report h3 {
margin: 0 0 4px;
font-size: 15px;
color: var(--brass-hi);
}
.los-report ol {
margin: 6px 0;
padding-left: 20px;
font-size: 13.5px;
}
.los-report .los-block {
color: #ffcf9e;
}
.tray {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
gap: 6px;
}
.tray-item {
display: grid;
justify-items: center;
gap: 2px;
padding: 6px 2px;
border: 1px solid var(--line);
border-radius: 7px;
background: #1c231b;
font-size: 11.5px;
font-weight: 700;
color: var(--ink-dim);
cursor: pointer;
text-align: center;
}
.tray-item:hover {
border-color: var(--brass);
color: var(--ink);
}
.log {
flex: 1;
min-height: 0;
overflow: auto;
list-style: none;
margin: 0;
padding: 8px 10px;
display: flex;
flex-direction: column;
gap: 2px;
}
.log-line {
display: grid;
grid-template-columns: 8px 1fr auto;
gap: 8px;
align-items: start;
padding: 4px 2px;
font-size: 13.5px;
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.log-side {
width: 8px;
height: 100%;
min-height: 16px;
border-radius: 2px;
border: 1px solid;
}
.log-time {
color: var(--ink-faint);
font-size: 11px;
font-variant-numeric: tabular-nums;
padding-top: 2px;
}
.log-dice {
display: inline-flex;
gap: 3px;
margin-right: 6px;
vertical-align: -4px;
}
.kind-phase {
color: var(--brass-hi);
font-weight: 800;
letter-spacing: 0.04em;
padding-top: 8px;
}
.kind-chat .chat-text {
color: #fff;
font-style: italic;
}
.kind-info {
color: var(--ink-dim);
}
.log-line.undone .log-body {
text-decoration: line-through;
opacity: 0.5;
}
.log-line.pending {
opacity: 0.6;
}
.link {
padding: 0;
border: 0;
background: none;
color: #9fd3ff;
text-decoration: underline;
cursor: pointer;
text-align: left;
}
.chat {
display: grid;
gap: 6px;
padding: 8px 10px 10px;
border-top: 1px solid var(--line);
background: var(--panel-2);
}
.chat-row {
display: flex;
gap: 6px;
}
.info-block {
margin-bottom: 16px;
}
.info-block h3 {
margin: 0 0 6px;
font-size: 13px;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--brass);
}
.info-block p {
margin: 0 0 8px;
}
.setup {
margin: 0;
padding-left: 18px;
font-size: 14px;
}
.seats {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 6px;
}
.seat-row {
display: flex;
align-items: center;
gap: 10px;
padding: 8px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #1c231b;
}
.seat-row > span:nth-child(2) {
flex: 1;
}
.code-row {
display: flex;
gap: 6px;
}
.code-row input {
font-family: var(--mono);
font-size: 12px;
}
.key {
list-style: none;
margin: 0;
padding: 0;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
gap: 4px 10px;
font-size: 13px;
}
.key li {
display: flex;
align-items: center;
gap: 7px;
}
.key-sw {
width: 14px;
height: 14px;
border-radius: 3px;
}
.key-line {
width: 16px;
height: 4px;
border-radius: 2px;
}
/* ---------- narrow frames: bottom sheet ---------- */
@media (max-width: 759px) {
.table,
.table.panel-open {
grid-template-columns: minmax(0, 1fr);
grid-template-areas: 'hud' 'board';
}
.panel {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: min(64%, 520px);
border-left: 0;
border-top: 1px solid #0b0e0b;
border-radius: 12px 12px 0 0;
box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.55);
transform: translateY(0);
transition: transform 0.2s ease;
}
.table:not(.panel-open) .panel {
transform: translateY(105%);
}
.panel-close {
display: inline-flex;
align-self: center;
}
.tool-label {
display: none;
}
}
@media (max-width: 560px) {
.seat-label,
.phase-name {
display: none;
}
.mode-bar {
left: 62px;
right: 62px;
transform: none;
justify-content: space-between;
border-radius: 10px;
white-space: normal;
font-size: 13.5px;
line-height: 1.2;
}
.hud {
gap: 2px;
padding: 0 3px;
}
}
@media (max-width: 420px) {
#backButton {
display: none;
}
.seat-toggle {
padding: 0 5px;
}
}
@media (max-width: 380px) {
.chip {
display: none;
}
.strip {
right: 8px;
bottom: 8px;
grid-template-columns: 1fr auto;
}
.strip-hex {
display: none;
}
.zoom {
bottom: auto;
top: 8px;
}
}
@media (max-height: 420px) and (max-width: 759px) {
.panel {
height: 82%;
}
}
@media (max-height: 420px) {
.tab-body {
padding: 8px;
}
.zoom {
flex-direction: row;
}
}
@media (max-width: 300px), (max-height: 220px) {
:root {
--hud-h: 40px;
--tap: 34px;
}
.zoom,
.dice-tray .dice-text span {
display: none;
}
.tool svg {
width: 17px;
height: 17px;
}
.strip {
left: 4px;
right: 4px;
bottom: 4px;
padding: 3px 4px;
}
.strip-ctr svg {
width: 28px;
height: 28px;
}
.toast {
top: 46px;
font-size: 12.5px;
padding: 6px 8px;
}
}
@media (prefers-reduced-motion: reduce) {
.dice-tray.pop .die,
.sync[data-state='saving'] {
animation: none;
}
.panel {
transition: none;
}
}
.label-input {
min-height: 32px !important;
font-weight: 800;
}
.table-forget.armed {
background: var(--danger);
color: #fff;
}
.phase-banner {
margin: 0 0 10px;
padding: 7px 10px;
border-left: 3px solid var(--brass);
border-radius: 4px;
background: #1a2019;
color: var(--ink-dim);
font-size: 13px;
}
.mode-actions {
display: flex;
gap: 6px;
flex: none;
}
.mode-actions .btn[aria-pressed='true'] {
background: var(--brass);
color: var(--brass-ink);
}
.kind-override .log-body {
color: #ff9d87;
font-weight: 700;
}
.kind-refused .log-body {
color: #c98a7c;
font-style: italic;
}
/* ---------- phase actions ---------- */
.tool.end-phase {
min-width: 52px;
margin-left: 2px;
border: 1px solid #a98222;
background: var(--brass);
color: var(--brass-ink);
font-size: 13px;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.tool.end-phase:hover:not(:disabled) {
background: var(--brass-hi);
}
.tool.end-phase:disabled {
opacity: 1;
border-color: var(--line);
background: transparent;
color: var(--ink-faint);
}
.tool.end-phase.armed {
background: var(--danger);
border-color: #6f3022;
color: #fff;
}
.menu-head {
margin-bottom: 10px;
}
.menu-head h3 {
margin: 0;
font-size: 22px;
letter-spacing: 0.04em;
color: var(--brass-hi);
}
.menu-turn {
margin: 0;
color: var(--ink-dim);
font-size: 12.5px;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.menu-sub {
margin: 16px 0 6px;
font-size: 12.5px;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--ink-dim);
}
.menu-end {
margin-top: 18px;
padding-top: 12px;
border-top: 1px dashed var(--line);
}
.end-btn {
width: 100%;
}
.steps {
margin: 0;
padding-left: 20px;
display: grid;
gap: 6px;
}
.callout {
padding: 10px 12px;
border: 1px solid #8a6d22;
border-radius: 8px;
background: #2b2816;
}
.warn {
color: #ffb39f;
}
.hex-chips,
.pick-list {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin: 6px 0 10px;
padding: 0;
list-style: none;
}
.chip-btn,
.pill {
min-height: 36px;
padding: 0 12px;
border: 1px solid var(--line);
border-radius: 999px;
background: #1c231b;
font-weight: 700;
cursor: pointer;
}
.chip-btn:hover,
.pill:hover {
border-color: var(--brass);
}
.pill[aria-pressed='true'] {
border-color: var(--brass);
background: #3a3520;
box-shadow: inset 0 0 0 1px var(--brass);
}
@media (pointer: coarse) {
.chip-btn,
.pill {
min-height: 44px;
}
}
.action-list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 6px;
}
.action-list li {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 8px 10px;
border: 1px solid var(--line);
border-radius: 7px;
background: #1c231b;
font-size: 13.5px;
}
.action-list li.muted {
color: var(--ink-dim);
}
.fire-card {
padding: 12px;
border: 1px solid #8f3a26;
border-radius: 10px;
background: linear-gradient(180deg, #2f1d16, #241712);
}
.fire-card header {
display: flex;
justify-content: space-between;
align-items: baseline;
font-size: 18px;
}
.fire-card header span {
color: var(--ink-dim);
font-size: 13px;
}
.fp-table {
width: 100%;
border-collapse: collapse;
font-size: 13.5px;
margin: 8px 0;
}
.fp-table th,
.fp-table td {
padding: 4px 4px;
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
text-align: left;
vertical-align: top;
}
.fp-table .num {
text-align: right;
font-variant-numeric: tabular-nums;
font-weight: 800;
}
.fp-table .notes {
color: var(--ink-dim);
font-size: 12px;
}
.fp-table tfoot td {
border-bottom: 0;
color: var(--brass-hi);
font-weight: 800;
}
.drm-list {
list-style: none;
margin: 6px 0;
padding: 0;
font-size: 13.5px;
}
.drm-list li {
display: flex;
justify-content: space-between;
padding: 2px 0;
}
.drm-list .drm-total {
margin-top: 4px;
padding-top: 4px;
border-top: 1px solid rgba(255, 255, 255, 0.12);
color: var(--brass-hi);
font-weight: 800;
}
.ladder summary {
cursor: pointer;
color: var(--ink-dim);
font-size: 13px;
padding: 4px 0;
}
.ift-ladder {
list-style: none;
margin: 4px 0 0;
padding: 0;
display: grid;
gap: 2px;
font-size: 12.5px;
}
.ift-ladder li {
display: grid;
grid-template-columns: 30px 56px 1fr;
gap: 6px;
}
.ift-ladder .dr {
color: var(--ink-faint);
font-variant-numeric: tabular-nums;
}
.ift-ladder .res {
font-weight: 800;
}
.ift-ladder .res-kia {
color: #ff7a5c;
}
.ift-ladder .res-k {
color: #ffa36b;
}
.ift-ladder .res-mc {
color: #f2c94c;
}
.ift-ladder .res-nmc,
.ift-ladder .res-ptc {
color: #c9c09f;
}
.ift-ladder .need {
color: var(--ink-dim);
}
.fire-actions {
margin-top: 10px;
}
.roll-btn {
flex: 1;
background: #a3321f;
border-color: #6b2a1c;
color: #fff4dc;
}
.roll-btn:hover:not(:disabled) {
background: #c03c25;
}
.result-card {
margin-bottom: 8px;
padding: 8px 10px;
border-left: 3px solid #b4462f;
border-radius: 4px;
background: #1c1915;
font-size: 13px;
}
.result-card p {
margin: 0 0 4px;
}
.result-card ul,
.log-detail {
margin: 2px 0 0;
padding-left: 16px;
color: var(--ink-dim);
font-size: 12.5px;
}
.kind-fire .log-body {
color: #ffd9cf;
}
.los-verdict {
margin: 4px 0;
font-weight: 800;
}
.los-verdict.ok {
color: var(--ok);
}
.los-verdict.bad {
color: #ff9d87;
}
.los-report .los-hinder {
color: #f2c94c;
}
.override-row {
display: grid;
gap: 4px;
margin-top: 16px;
}
/* ---------- battle effects ---------- */
.fx {
pointer-events: none;
}
.fx-label {
font-family: var(--font);
paint-order: stroke;
stroke: #1b120c;
stroke-width: 4px;
stroke-linejoin: round;
letter-spacing: 0.03em;
}
#soundButton[aria-pressed='true'] {
background: transparent;
color: var(--ink-faint);
}
#soundButton[aria-pressed='true'] .wave {
display: none;
}
.fx-tracer {
filter: drop-shadow(0 0 3px #ffb347);
}
