302 lines
6.5 KiB
CSS
302 lines
6.5 KiB
CSS
/* ======================================================
|
|
Turn Order card — round and command reference (rules v0.8)
|
|
Signature accent: cyan (distinct from all other cards).
|
|
====================================================== */
|
|
|
|
.card {
|
|
position: relative;
|
|
width: 750px;
|
|
height: 1050px;
|
|
box-sizing: border-box;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
font-family: "Consolas", "Courier New", monospace;
|
|
background: #05080a;
|
|
--accent: #22d3ee;
|
|
--accent-dk: #0e6b78;
|
|
--screen: #e6fbff;
|
|
--chamfer: 22px;
|
|
}
|
|
|
|
/* ----- Neon HUD outline (shared across card types) ----- */
|
|
.neon {
|
|
position: absolute;
|
|
inset: 13px;
|
|
z-index: 40;
|
|
pointer-events: none;
|
|
border: 3px solid var(--accent);
|
|
clip-path: polygon(
|
|
var(--chamfer) 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer),
|
|
100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%,
|
|
var(--chamfer) 100%, 0 calc(100% - var(--chamfer)), 0 var(--chamfer)
|
|
);
|
|
box-shadow: 0 0 16px var(--accent), 0 0 6px var(--accent), inset 0 0 16px rgba(0,0,0,0.4);
|
|
}
|
|
|
|
/* ----- Terminal screen shell ----- */
|
|
.terminal {
|
|
position: absolute;
|
|
inset: 20px;
|
|
box-sizing: border-box;
|
|
border-radius: 16px;
|
|
padding: 0 0 24px;
|
|
color: var(--screen);
|
|
background: radial-gradient(120% 90% at 50% 0%, #0a1c20 0%, #06090c 60%, #04070a 100%);
|
|
box-shadow:
|
|
inset 0 0 70px rgba(0,0,0,0.7),
|
|
inset 0 0 0 2px rgba(34,211,238,0.08),
|
|
0 0 0 2px rgba(0,0,0,0.6),
|
|
0 10px 24px rgba(0,0,0,0.6);
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* CRT scanline + phosphor glow overlay */
|
|
.scanlines {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 4;
|
|
pointer-events: none;
|
|
border-radius: 16px;
|
|
background:
|
|
repeating-linear-gradient(0deg, rgba(0,0,0,0.20) 0 2px, transparent 2px 4px),
|
|
radial-gradient(120% 80% at 50% 30%, rgba(34,211,238,0.06) 0%, transparent 70%);
|
|
}
|
|
|
|
/* ----- Header bar ----- */
|
|
.term-bar {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
height: 90px;
|
|
padding: 0 24px;
|
|
background: linear-gradient(180deg, rgba(34,211,238,0.10) 0%, rgba(0,0,0,0) 100%);
|
|
border-bottom: 2px solid var(--accent-dk);
|
|
}
|
|
.title {
|
|
flex: 1;
|
|
font-size: 44px;
|
|
font-weight: 800;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
color: #f2feff;
|
|
text-shadow: 0 0 12px rgba(34,211,238,0.5), 0 2px 4px #000;
|
|
line-height: 1.02;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.badge {
|
|
flex: none;
|
|
padding: 8px 14px;
|
|
border-radius: 8px;
|
|
font-size: 22px;
|
|
font-weight: 800;
|
|
letter-spacing: 2px;
|
|
color: #05080a;
|
|
background: var(--accent);
|
|
box-shadow: 0 0 14px var(--accent);
|
|
}
|
|
|
|
/* ----- Command line ----- */
|
|
.cmdline {
|
|
position: relative;
|
|
z-index: 2;
|
|
margin: 18px 24px 0;
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
letter-spacing: 1px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.cmdline .user { color: var(--accent); }
|
|
.cmdline .punc { color: #6f8a90; margin: 0 2px; }
|
|
.cmdline .cwd { color: #a9d9e0; }
|
|
.cmdline .cmd { color: #f2feff; margin-left: 10px; }
|
|
|
|
/* ----- Section labels ----- */
|
|
.label {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
letter-spacing: 2px;
|
|
text-transform: uppercase;
|
|
color: #6f8a90;
|
|
}
|
|
|
|
/* ----- Boxed panels (order, round start) ----- */
|
|
.panel {
|
|
position: relative;
|
|
z-index: 2;
|
|
margin: 10px 26px 0;
|
|
padding: 10px 18px 12px;
|
|
border: 2px dashed var(--accent-dk);
|
|
border-radius: 10px;
|
|
background: rgba(34,211,238,0.04);
|
|
}
|
|
.panel .label { margin-bottom: 10px; }
|
|
|
|
/* Snake order: one row per round parity, one chip per command */
|
|
.order {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
.order + .order { margin-top: 10px; }
|
|
.rnd {
|
|
flex: none;
|
|
width: 190px;
|
|
font-size: 24px;
|
|
font-weight: 800;
|
|
letter-spacing: 1px;
|
|
color: #a9d9e0;
|
|
}
|
|
.chip {
|
|
flex: 1;
|
|
height: 48px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 8px;
|
|
font-size: 26px;
|
|
font-weight: 800;
|
|
letter-spacing: 1px;
|
|
}
|
|
.chip.p1 {
|
|
color: #05080a;
|
|
background: var(--accent);
|
|
box-shadow: 0 0 10px rgba(34,211,238,0.5);
|
|
}
|
|
.chip.p2 {
|
|
color: var(--accent);
|
|
border: 3px solid var(--accent);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Round-start actions */
|
|
.tags {
|
|
display: flex;
|
|
gap: 14px;
|
|
}
|
|
.tag {
|
|
flex: 1;
|
|
padding: 8px 10px;
|
|
border-radius: 8px;
|
|
text-align: center;
|
|
font-size: 26px;
|
|
font-weight: 700;
|
|
color: #eafcff;
|
|
background: rgba(34,211,238,0.12);
|
|
border: 2px solid var(--accent-dk);
|
|
}
|
|
|
|
/* ----- Phase list (steps of one command) ----- */
|
|
.steps-label {
|
|
position: relative;
|
|
z-index: 2;
|
|
margin: 10px 30px 0;
|
|
}
|
|
.phases {
|
|
position: relative;
|
|
z-index: 2;
|
|
list-style: none;
|
|
margin: 8px 26px 0;
|
|
padding: 0;
|
|
}
|
|
.phases li {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 22px;
|
|
padding: 2px 18px;
|
|
min-height: 52px;
|
|
box-sizing: border-box;
|
|
}
|
|
.phases li + li { margin-top: 4px; }
|
|
/* flow connector between step badges */
|
|
.phases li:not(:last-child)::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 43px; /* center of the 50px badge (18px pad + 25) */
|
|
top: 52px; /* from one badge's bottom to the next one's top */
|
|
height: 10px;
|
|
width: 3px;
|
|
background: var(--accent-dk);
|
|
box-shadow: 0 0 6px rgba(34,211,238,0.4);
|
|
}
|
|
.num {
|
|
flex: none;
|
|
width: 50px;
|
|
height: 50px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 10px;
|
|
font-size: 28px;
|
|
font-weight: 800;
|
|
color: #05080a;
|
|
background: var(--accent);
|
|
border: 3px solid #05080a;
|
|
box-shadow: 0 0 14px rgba(34,211,238,0.55);
|
|
}
|
|
.step {
|
|
flex: 1;
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
line-height: 1.15;
|
|
color: #eafcff;
|
|
text-shadow: 0 1px 2px #000;
|
|
}
|
|
.step em {
|
|
font-style: normal;
|
|
font-size: 22px;
|
|
color: #a9d9e0;
|
|
}
|
|
|
|
/* ----- The limits strip ----- */
|
|
.limits {
|
|
position: relative;
|
|
z-index: 2;
|
|
margin: 10px 26px 0;
|
|
padding: 8px 18px;
|
|
border-left: 5px solid var(--accent);
|
|
background: rgba(34,211,238,0.07);
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
line-height: 1.35;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
color: #eafcff;
|
|
}
|
|
.limits b { color: var(--accent); }
|
|
.limits.combat {
|
|
margin-top: 10px;
|
|
padding: 8px 18px;
|
|
font-size: 20px;
|
|
line-height: 1.3;
|
|
letter-spacing: 0.5px;
|
|
border-left-style: dashed;
|
|
}
|
|
|
|
/* ----- Status bar footer ----- */
|
|
.statusbar {
|
|
position: absolute;
|
|
left: 24px;
|
|
right: 24px;
|
|
bottom: 18px;
|
|
z-index: 2;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
letter-spacing: 2px;
|
|
color: #6f8a90;
|
|
}
|
|
.statusbar .loop {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--accent);
|
|
}
|