2420 lines
45 KiB
CSS
2420 lines
45 KiB
CSS
:root {
|
|
font-family: Inter, ui-sans-serif, system-ui, sans-serif;
|
|
color: #eaf3f7;
|
|
background: #0b141c;
|
|
font-synthesis: none;
|
|
--muted: #bfd0dc;
|
|
--line: #2b3c48;
|
|
--gold: #e8c984;
|
|
--panel: #12232f;
|
|
--cyan: #78cecf;
|
|
--red: #e2968d;
|
|
--blue: #8ab4ec;
|
|
--white: #d6d4b9;
|
|
color-scheme: dark;
|
|
}
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
background: radial-gradient(ellipse at 10% 0, #20344450, transparent 60%);
|
|
min-height: 100vh;
|
|
}
|
|
body:has(.console-dialog[open]) {
|
|
overflow: hidden;
|
|
}
|
|
button,
|
|
select,
|
|
input {
|
|
font: inherit;
|
|
}
|
|
button,
|
|
select {
|
|
color: inherit;
|
|
background: #1a303e;
|
|
border: 1px solid #415864;
|
|
border-radius: 7px;
|
|
min-height: 40px;
|
|
padding: 8px 12px;
|
|
touch-action: manipulation;
|
|
}
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
.pictogram {
|
|
display: inline-block;
|
|
width: 24px;
|
|
height: 24px;
|
|
flex-shrink: 0;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 2.1;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
vertical-align: middle;
|
|
}
|
|
.icon-button,
|
|
.icon-label,
|
|
.controls button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
vertical-align: middle;
|
|
}
|
|
.icon-button,
|
|
#sound {
|
|
min-width: 44px;
|
|
min-height: 44px;
|
|
padding: 8px;
|
|
}
|
|
.symbol-stat {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
white-space: nowrap;
|
|
}
|
|
button:hover {
|
|
border-color: var(--gold);
|
|
}
|
|
button:focus-visible,
|
|
select:focus-visible,
|
|
input:focus-visible {
|
|
outline: 2px solid var(--gold);
|
|
outline-offset: 3px;
|
|
}
|
|
button:disabled {
|
|
opacity: 0.6;
|
|
cursor: default;
|
|
}
|
|
button.quiet {
|
|
background: transparent;
|
|
border-color: var(--line);
|
|
font-size: 12px;
|
|
}
|
|
a {
|
|
color: inherit;
|
|
}
|
|
header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
max-width: none;
|
|
margin: auto;
|
|
padding: 22px 28px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.brand {
|
|
display: flex;
|
|
gap: 12px;
|
|
text-decoration: none;
|
|
color: var(--gold);
|
|
font-size: 22px;
|
|
letter-spacing: 3px;
|
|
font-weight: 800;
|
|
}
|
|
.brand small {
|
|
display: block;
|
|
font-size: 8px;
|
|
letter-spacing: 2px;
|
|
color: var(--muted);
|
|
margin-top: 4px;
|
|
}
|
|
.header-tools {
|
|
display: flex;
|
|
gap: 7px;
|
|
}
|
|
main {
|
|
max-width: none;
|
|
margin: auto;
|
|
padding: 22px 28px;
|
|
}
|
|
.mission-line {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
h1 {
|
|
font-size: 22px;
|
|
font-weight: 600;
|
|
margin: 4px 0 12px;
|
|
}
|
|
#connection {
|
|
font-size: 9px;
|
|
letter-spacing: 2px;
|
|
color: var(--cyan);
|
|
}
|
|
.timer {
|
|
text-align: right;
|
|
}
|
|
.timer strong {
|
|
font-size: 32px;
|
|
letter-spacing: 2px;
|
|
font-variant-numeric: tabular-nums;
|
|
color: var(--gold);
|
|
}
|
|
.timer small {
|
|
display: block;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
.crew {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 5px;
|
|
margin: 8px 0 16px;
|
|
}
|
|
.crew-member {
|
|
box-shadow: inset 3px 0 var(--player-color, transparent);
|
|
font-size: 12px;
|
|
border: 1px solid var(--line);
|
|
padding: 5px 9px;
|
|
border-radius: 30px;
|
|
}
|
|
.crew-member.own {
|
|
border-color: var(--gold);
|
|
}
|
|
.crew-member.ready::before {
|
|
content: "● ";
|
|
color: var(--cyan);
|
|
}
|
|
.flight-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
|
|
gap: 30px;
|
|
}
|
|
.tactical {
|
|
width: 100%;
|
|
max-width: 760px;
|
|
min-width: 0;
|
|
}
|
|
.section-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin: 0 0 10px;
|
|
}
|
|
h2 {
|
|
font-size: 11px;
|
|
letter-spacing: 1.5px;
|
|
text-transform: uppercase;
|
|
margin: 0;
|
|
color: var(--muted);
|
|
}
|
|
#comms,
|
|
#phase {
|
|
font-size: 10px;
|
|
letter-spacing: 1px;
|
|
color: var(--cyan);
|
|
}
|
|
#comms.offline {
|
|
color: var(--red);
|
|
}
|
|
.resources {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 4px;
|
|
flex-wrap: wrap;
|
|
font-size: 11px;
|
|
padding: 10px 0 18px;
|
|
color: var(--muted);
|
|
}
|
|
.resources b {
|
|
color: var(--gold);
|
|
font-size: 14px;
|
|
}
|
|
.resources .pictogram {
|
|
width: 21px;
|
|
height: 21px;
|
|
}
|
|
.computer-phase {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 16px;
|
|
height: 18px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 3px;
|
|
color: var(--muted);
|
|
font-size: 10px;
|
|
}
|
|
.computer-phase.maintained {
|
|
background: #24494b;
|
|
border-color: var(--cyan);
|
|
color: #d5ffff;
|
|
}
|
|
.threat {
|
|
border: 1px solid var(--line);
|
|
border-left: 3px solid var(--zone);
|
|
border-radius: 5px;
|
|
margin: 7px 0;
|
|
padding: 9px 11px;
|
|
background: #101f2b;
|
|
}
|
|
.threat-card {
|
|
display: flex;
|
|
gap: 7px;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
}
|
|
.threat-card strong {
|
|
flex: 1;
|
|
}
|
|
.threat .stats {
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
display: inline-flex;
|
|
gap: 10px;
|
|
}
|
|
.threat .stats .pictogram {
|
|
width: 17px;
|
|
height: 17px;
|
|
}
|
|
.threat-facts {
|
|
display: flex;
|
|
gap: 20px;
|
|
color: var(--gold);
|
|
}
|
|
.threat p {
|
|
font-size: 12px;
|
|
line-height: 1.6;
|
|
}
|
|
.track {
|
|
display: flex;
|
|
gap: 2px;
|
|
align-items: center;
|
|
margin: 8px 0;
|
|
}
|
|
.track span {
|
|
height: 12px;
|
|
flex: 1;
|
|
background: #344453;
|
|
font-size: 8px;
|
|
text-align: center;
|
|
}
|
|
.track .current {
|
|
background: var(--gold);
|
|
color: #0d1c28;
|
|
}
|
|
.track .mark {
|
|
border-bottom: 2px solid var(--red);
|
|
}
|
|
.latest {
|
|
font-size: 12px;
|
|
color: var(--gold);
|
|
border-top: 1px solid var(--line);
|
|
padding: 12px 0;
|
|
line-height: 1.5;
|
|
}
|
|
.program {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 5px;
|
|
}
|
|
.slot {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 0;
|
|
min-height: 64px;
|
|
padding: 20px 3px;
|
|
background: #101f2b;
|
|
border-color: #344553;
|
|
}
|
|
.slot .turn {
|
|
position: absolute;
|
|
top: 7px;
|
|
left: 3px;
|
|
right: 3px;
|
|
font-size: 9px;
|
|
color: var(--muted);
|
|
display: block;
|
|
}
|
|
.slot .turn .pictogram {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
.slot .action {
|
|
font-size: 18px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 2px;
|
|
min-height: 22px;
|
|
}
|
|
.slot .action .pictogram {
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
.slot.future {
|
|
opacity: 0.4;
|
|
}
|
|
.slot.locked {
|
|
background: #25323a;
|
|
opacity: 0.75;
|
|
}
|
|
.slot.selected {
|
|
outline: 2px solid var(--gold);
|
|
}
|
|
.controls {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
margin: 10px 0;
|
|
}
|
|
.controls button {
|
|
font-size: 12px;
|
|
}
|
|
.controls .primary {
|
|
background: var(--gold);
|
|
border-color: var(--gold);
|
|
color: #15242c;
|
|
font-weight: 700;
|
|
}
|
|
#player-help {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
min-height: 18px;
|
|
line-height: 1.5;
|
|
}
|
|
.hand {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
gap: 6px;
|
|
}
|
|
.card {
|
|
border: 1px solid #62787d;
|
|
background: #192d36;
|
|
border-radius: 8px;
|
|
overflow: clip;
|
|
position: relative;
|
|
}
|
|
.card.special,
|
|
.card.heroic {
|
|
border-color: var(--gold);
|
|
}
|
|
.card button {
|
|
border: 0;
|
|
border-radius: 0;
|
|
width: 100%;
|
|
min-height: 42px;
|
|
padding: 4px;
|
|
font-size: 20px;
|
|
background: transparent;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 3px;
|
|
}
|
|
.card button > .pictogram {
|
|
min-width: 0;
|
|
flex-shrink: 1;
|
|
}
|
|
.card button + button {
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
.card button.selected {
|
|
background: var(--gold);
|
|
color: #132430;
|
|
}
|
|
.card .tiny {
|
|
font-size: 10px;
|
|
line-height: 1.2;
|
|
display: block;
|
|
}
|
|
.card .copies {
|
|
position: absolute;
|
|
top: 3px;
|
|
right: 3px;
|
|
font-size: 8px;
|
|
color: var(--muted);
|
|
pointer-events: none;
|
|
}
|
|
.special-action,
|
|
.hero-action,
|
|
.teleport-action {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 3px;
|
|
min-width: 0;
|
|
}
|
|
.special-action small {
|
|
color: var(--gold);
|
|
font-size: 10px;
|
|
}
|
|
.hero-action > .pictogram:first-child {
|
|
width: 12px;
|
|
height: 12px;
|
|
color: var(--gold);
|
|
}
|
|
.teleport-action > .pictogram {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 13px;
|
|
height: 13px;
|
|
}
|
|
.teleport-action {
|
|
position: relative;
|
|
display: block;
|
|
width: 39px;
|
|
height: 29px;
|
|
}
|
|
.teleport-action .ship-locator {
|
|
width: 34px;
|
|
height: 24px;
|
|
margin: 5px 0 0 5px;
|
|
}
|
|
.ship-locator {
|
|
display: block;
|
|
width: 60px;
|
|
height: auto;
|
|
flex-shrink: 0;
|
|
}
|
|
.ship-locator .locator-hull {
|
|
fill: #10232f;
|
|
stroke: #8ea5b3;
|
|
stroke-width: 1.2;
|
|
}
|
|
.ship-locator rect {
|
|
fill: #142e3d;
|
|
stroke: #728e9d;
|
|
stroke-width: 1;
|
|
}
|
|
.ship-locator rect.located {
|
|
fill: var(--zone, #eaf3f7);
|
|
stroke: #f5fbff;
|
|
stroke-width: 1.5;
|
|
}
|
|
.ship-locator .incoming-arrow {
|
|
fill: none;
|
|
stroke: var(--zone, #eaf3f7);
|
|
stroke-width: 2.5;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
.card button.selected .special-action small,
|
|
.card button.selected .hero-action > .pictogram,
|
|
.card button.selected .teleport-action {
|
|
color: inherit;
|
|
}
|
|
.empty {
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
padding: 16px 0;
|
|
line-height: 1.5;
|
|
}
|
|
#transfer {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
margin: 12px 0;
|
|
}
|
|
#transfer button {
|
|
font-size: 11px;
|
|
}
|
|
#replay input {
|
|
width: 100%;
|
|
}
|
|
#replay p {
|
|
font-size: 12px;
|
|
line-height: 1.6;
|
|
}
|
|
ol {
|
|
padding-left: 24px;
|
|
}
|
|
li {
|
|
font-size: 12px;
|
|
line-height: 1.6;
|
|
padding: 4px 0;
|
|
color: var(--muted);
|
|
}
|
|
#announcements {
|
|
margin: 0;
|
|
padding-left: 24px;
|
|
}
|
|
form {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: end;
|
|
flex-wrap: wrap;
|
|
}
|
|
label,
|
|
.field {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
form button[type="submit"],
|
|
#create-explorer-button {
|
|
background: var(--gold);
|
|
color: #10202a;
|
|
}
|
|
#help {
|
|
font-size: 13px;
|
|
line-height: 1.7;
|
|
color: var(--muted);
|
|
}
|
|
#error {
|
|
color: #ffc6b7;
|
|
font-size: 13px;
|
|
padding: 8px 0;
|
|
}
|
|
#error:empty {
|
|
padding: 0;
|
|
}
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|
|
@media (max-width: 760px) {
|
|
header {
|
|
padding: 12px;
|
|
}
|
|
.brand {
|
|
font-size: 15px;
|
|
letter-spacing: 1px;
|
|
gap: 6px;
|
|
}
|
|
.brand small {
|
|
font-size: 6px;
|
|
letter-spacing: 1px;
|
|
}
|
|
.header-tools select {
|
|
padding: 5px;
|
|
font-size: 11px;
|
|
}
|
|
main {
|
|
padding: 12px;
|
|
}
|
|
.flight-layout {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 20px;
|
|
}
|
|
h1 {
|
|
font-size: 18px;
|
|
}
|
|
.timer strong {
|
|
font-size: 26px;
|
|
}
|
|
.program {
|
|
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
}
|
|
.slot {
|
|
min-height: 58px;
|
|
}
|
|
.slot .action {
|
|
font-size: 16px;
|
|
}
|
|
.hand {
|
|
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
}
|
|
.card button {
|
|
min-height: 44px;
|
|
}
|
|
.crew-member {
|
|
font-size: 10px;
|
|
}
|
|
.crew {
|
|
gap: 4px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.resources {
|
|
font-size: 10px;
|
|
}
|
|
.header-tools {
|
|
gap: 4px;
|
|
}
|
|
#sound {
|
|
padding: 5px 9px;
|
|
}
|
|
.section-heading select {
|
|
max-width: 180px;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
* {
|
|
scroll-behavior: auto !important;
|
|
}
|
|
}
|
|
|
|
.token-controls {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: end;
|
|
margin: 10px 0;
|
|
}
|
|
#teleport small,
|
|
#card-help {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
line-height: 1.5;
|
|
}
|
|
#card-help:empty {
|
|
display: none;
|
|
}
|
|
.trait {
|
|
color: var(--gold);
|
|
}
|
|
#combine[aria-pressed="true"] {
|
|
border-color: var(--gold);
|
|
color: var(--gold);
|
|
}
|
|
@media (max-width: 380px) {
|
|
.hand {
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
}
|
|
.header-tools {
|
|
gap: 2px;
|
|
}
|
|
header {
|
|
gap: 4px;
|
|
}
|
|
.brand small {
|
|
display: none;
|
|
}
|
|
}
|
|
#hand-filter {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 3px;
|
|
margin: 0.4rem 0;
|
|
}
|
|
#hand-filter [aria-pressed="true"] {
|
|
border-color: var(--gold);
|
|
}
|
|
#campaign button,
|
|
#explorers button {
|
|
margin: 0.2rem 0.1rem;
|
|
}
|
|
#explorers select {
|
|
max-width: 100%;
|
|
}
|
|
#explorers label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin: 0.6rem 0;
|
|
}
|
|
#create-explorer {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.7rem;
|
|
align-items: end;
|
|
margin: 0.8rem 0;
|
|
}
|
|
#create-explorer label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.4rem;
|
|
}
|
|
input:not([type="checkbox"]):not([type="range"]) {
|
|
padding: 0.6rem;
|
|
background: #13212b;
|
|
color: inherit;
|
|
border: 1px solid #43525c;
|
|
border-radius: 0.4rem;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.called-threat {
|
|
border-left: 2px solid var(--gold);
|
|
margin: 0.7rem 0;
|
|
padding-left: 0.7rem;
|
|
}
|
|
.called-threat h4 {
|
|
margin: 0.5rem 0;
|
|
}
|
|
#lesson-guide {
|
|
border: 1px solid #465c65;
|
|
border-radius: 0.7rem;
|
|
padding: 1rem;
|
|
margin-bottom: 1rem;
|
|
background: #102530;
|
|
}
|
|
#lesson-guide li {
|
|
margin: 0.15rem 0;
|
|
line-height: 1.5;
|
|
}
|
|
#lesson-list button {
|
|
margin: 0.3rem 0.1rem;
|
|
}
|
|
|
|
.preparing .flight-layout {
|
|
display: none;
|
|
}
|
|
#preparation {
|
|
margin: 24px 0;
|
|
}
|
|
#ready-help {
|
|
margin-bottom: 12px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
/* The console remains the play surface; secondary screens live in a game menu. */
|
|
#connection:empty {
|
|
display: none;
|
|
}
|
|
.console-nav {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
max-width: none;
|
|
margin: auto;
|
|
padding: 8px 28px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.console-nav button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
background: transparent;
|
|
border-color: transparent;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
.console-nav button:hover,
|
|
.console-nav button[aria-expanded="true"] {
|
|
background: var(--panel);
|
|
border-color: var(--line);
|
|
color: var(--gold);
|
|
}
|
|
.console-nav svg {
|
|
width: 19px;
|
|
height: 19px;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 1.6;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
.console-dialog {
|
|
color: #d4e1e6;
|
|
background: linear-gradient(135deg, #172b39, #0d1b26 65%);
|
|
border: 1px solid #536977;
|
|
border-radius: 12px;
|
|
padding: 0;
|
|
width: 880px;
|
|
max-width: calc(100% - 32px);
|
|
max-height: calc(100% - 48px);
|
|
max-height: calc(100dvh - 48px);
|
|
box-shadow: 0 20px 90px #0009;
|
|
}
|
|
.console-dialog[open] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.console-dialog::backdrop {
|
|
background: #03090edd;
|
|
}
|
|
.dialog-header {
|
|
display: flex;
|
|
flex-shrink: 0;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 14px 20px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.dialog-header h2 {
|
|
color: var(--gold);
|
|
font-size: 16px;
|
|
letter-spacing: 1px;
|
|
}
|
|
.dialog-header button {
|
|
min-width: 44px;
|
|
height: 44px;
|
|
background: transparent;
|
|
font-size: 24px;
|
|
border-color: var(--line);
|
|
}
|
|
.dialog-body {
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding: 22px;
|
|
touch-action: auto;
|
|
}
|
|
.dialog-body p,
|
|
.dialog-body li {
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
}
|
|
.choice-dialog {
|
|
width: 640px;
|
|
}
|
|
.choice-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 8px;
|
|
}
|
|
.choice-list button {
|
|
text-align: left;
|
|
min-height: 52px;
|
|
}
|
|
.choice-control {
|
|
display: flex;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
}
|
|
.choice-control.segmented {
|
|
flex-wrap: wrap;
|
|
}
|
|
.choice-control button {
|
|
font-size: 12px;
|
|
min-height: 44px;
|
|
background: #0c1b26;
|
|
color: #b7cbd7;
|
|
border-color: #344c5d;
|
|
}
|
|
.choice-control button[aria-pressed="true"],
|
|
.choice-list button[aria-pressed="true"] {
|
|
background: #293b3d;
|
|
border-color: var(--gold);
|
|
color: #ffe4a7;
|
|
}
|
|
.choice-trigger {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 14px;
|
|
width: 100%;
|
|
text-align: left;
|
|
}
|
|
.choice-trigger > span:first-child {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.choice-symbol {
|
|
color: var(--gold);
|
|
}
|
|
.crew-tabs {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
|
|
gap: 5px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.crew-tabs button {
|
|
min-width: 0;
|
|
padding: 8px 6px;
|
|
border-radius: 6px 6px 2px 2px;
|
|
border-bottom-width: 3px;
|
|
overflow-wrap: anywhere;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
.crew-tabs button > span:not(.crew-specialization) {
|
|
min-width: 0;
|
|
}
|
|
.crew-specialization .pictogram {
|
|
width: 14px;
|
|
height: 14px;
|
|
color: var(--gold);
|
|
}
|
|
.pictogram-legend {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
|
|
gap: 12px;
|
|
margin-bottom: 22px;
|
|
}
|
|
.pictogram-legend > span {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
#new-session {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
align-items: start;
|
|
gap: 20px;
|
|
}
|
|
#new-session .token-controls,
|
|
#new-button {
|
|
grid-column: 1 / -1;
|
|
}
|
|
#new-session .token-controls:empty {
|
|
display: none;
|
|
}
|
|
#new-session .field {
|
|
min-width: 0;
|
|
}
|
|
#new-session .choice-control button {
|
|
flex: 1;
|
|
}
|
|
#new-button {
|
|
justify-self: end;
|
|
min-width: 180px;
|
|
}
|
|
#ready-all,
|
|
#next-event {
|
|
margin-top: 20px;
|
|
}
|
|
#lesson-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px;
|
|
counter-reset: lessons;
|
|
}
|
|
#lesson-list button {
|
|
counter-increment: lessons;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
min-height: 82px;
|
|
margin: 0;
|
|
text-align: left;
|
|
background: #142a38;
|
|
}
|
|
#lesson-list button::before {
|
|
content: counter(lessons, decimal-leading-zero);
|
|
color: var(--gold);
|
|
font-size: 22px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.explorer-card {
|
|
padding: 18px;
|
|
background: #122633;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
margin: 16px 0;
|
|
}
|
|
.explorer-card h3 {
|
|
color: var(--gold);
|
|
margin: 0 0 12px;
|
|
font-size: 16px;
|
|
}
|
|
#lesson-guide {
|
|
padding: 10px 14px;
|
|
}
|
|
#lesson-guide ol {
|
|
margin: 0 0 10px;
|
|
}
|
|
.threat {
|
|
padding: 0;
|
|
}
|
|
.threat-card {
|
|
width: 100%;
|
|
min-height: 48px;
|
|
background: transparent;
|
|
border: 0;
|
|
padding: 10px;
|
|
text-align: left;
|
|
}
|
|
.inspect-symbol {
|
|
color: var(--gold);
|
|
}
|
|
#inspection .track {
|
|
margin-top: 24px;
|
|
}
|
|
#inspection p {
|
|
margin: 14px 0;
|
|
}
|
|
@media (max-width: 760px) {
|
|
.threat-portrait {
|
|
height: 180px;
|
|
}
|
|
#threats {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
.system-detail-art {
|
|
width: 140px;
|
|
height: 115px;
|
|
}
|
|
}
|
|
@media (max-width: 760px) {
|
|
header {
|
|
padding: 10px 12px;
|
|
}
|
|
.console-nav {
|
|
padding: 4px 8px;
|
|
gap: 0;
|
|
flex-wrap: nowrap;
|
|
}
|
|
.console-nav button {
|
|
flex: 1;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
padding: 6px 3px;
|
|
font-size: 10px;
|
|
}
|
|
.console-dialog {
|
|
max-width: calc(100% - 16px);
|
|
max-height: calc(100% - 16px);
|
|
max-height: calc(100dvh - 16px);
|
|
border-radius: 10px;
|
|
}
|
|
.dialog-header {
|
|
padding: 8px 12px;
|
|
}
|
|
.dialog-body {
|
|
padding: 14px;
|
|
}
|
|
#new-session {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 18px;
|
|
}
|
|
#lesson-list {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 8px;
|
|
}
|
|
#lesson-list button {
|
|
min-height: 64px;
|
|
}
|
|
.choice-list {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
.crew-tabs {
|
|
grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
|
|
}
|
|
.crew-tabs button {
|
|
font-size: 11px;
|
|
}
|
|
.header-tools .choice-trigger {
|
|
max-width: 110px;
|
|
font-size: 10px;
|
|
padding: 5px 7px;
|
|
}
|
|
.brand small {
|
|
display: none;
|
|
}
|
|
}
|
|
/* Equipment drawings use broad silhouettes and a shared, high-contrast palette. */
|
|
.equipment-art {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
border-radius: 6px;
|
|
pointer-events: none;
|
|
}
|
|
.card-art {
|
|
display: inline-block;
|
|
width: 30px;
|
|
height: 30px;
|
|
flex-shrink: 0;
|
|
}
|
|
.slot .card-art {
|
|
width: 27px;
|
|
height: 27px;
|
|
}
|
|
.equipment-symbol {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #b8f4ff;
|
|
background: radial-gradient(ellipse, #21536b, #0b1722 70%);
|
|
}
|
|
.equipment-symbol .pictogram {
|
|
width: 42px;
|
|
height: 42px;
|
|
}
|
|
.action-key {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
width: 23px;
|
|
height: 23px;
|
|
border-radius: 5px;
|
|
background: #ffda83;
|
|
border: 1px solid #ffeba5;
|
|
color: #172332;
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
}
|
|
/* Fixed six-room cutaway. Only the document scrolls, including over controls. */
|
|
.cutaway {
|
|
position: relative;
|
|
container-type: inline-size;
|
|
}
|
|
.ship-hull {
|
|
position: relative;
|
|
padding: 0 14px 12px;
|
|
}
|
|
.ship-hull::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 39px 0 0;
|
|
border: 2px solid #8296a0;
|
|
border-top: 0;
|
|
border-radius: 0 0 18px 18px;
|
|
background: #172c39;
|
|
}
|
|
.ship-bow {
|
|
position: relative;
|
|
margin: 0 -14px;
|
|
height: 40px;
|
|
}
|
|
.ship-bow svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
stroke: #8296a0;
|
|
stroke-width: 2;
|
|
fill: none;
|
|
}
|
|
.ship-bow .hull-shell {
|
|
fill: #172c39;
|
|
}
|
|
.ship-bow .bridge-window {
|
|
fill: #79ccd4;
|
|
stroke: #122b3b;
|
|
}
|
|
.ship-deck {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
.station {
|
|
position: relative;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 7px 5px 5px;
|
|
border: 2px solid #5b7581;
|
|
border-top: 3px solid var(--zone);
|
|
border-radius: 9px 9px 5px 5px;
|
|
background:
|
|
linear-gradient(
|
|
90deg,
|
|
transparent 49%,
|
|
#2c465240 49%,
|
|
#2c465240 51%,
|
|
transparent 51%
|
|
),
|
|
#112330;
|
|
}
|
|
.station.selected-station {
|
|
background-color: #203744;
|
|
}
|
|
.station-title {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 3px;
|
|
align-items: center;
|
|
min-height: 19px;
|
|
color: #eaf3f7;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
.station-title .pictogram {
|
|
width: 13px;
|
|
height: 13px;
|
|
}
|
|
.station-title .damage {
|
|
margin-left: auto;
|
|
color: #ffab8d;
|
|
font-size: 9px;
|
|
}
|
|
.station-title .damage .symbol-stat {
|
|
gap: 2px;
|
|
}
|
|
.illustrated-systems {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 2px;
|
|
margin: 4px 0;
|
|
}
|
|
.system-card {
|
|
min-width: 0;
|
|
}
|
|
.weapon-system {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
}
|
|
.special-system {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
}
|
|
.energy-system {
|
|
grid-column: 1 / -1;
|
|
grid-row: 2;
|
|
}
|
|
.deck-lower .weapon-system,
|
|
.deck-lower .special-system {
|
|
grid-row: 2;
|
|
}
|
|
.deck-lower .energy-system {
|
|
grid-row: 1;
|
|
}
|
|
.system-card button {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
min-height: 78px;
|
|
gap: 0;
|
|
padding: 4px 0 2px;
|
|
color: #f1f8fc;
|
|
border: 1px solid transparent;
|
|
background: transparent;
|
|
border-radius: 8px;
|
|
}
|
|
.system-card button:hover,
|
|
.system-card button:focus-visible {
|
|
background: #355361;
|
|
border-color: #bfdee2;
|
|
}
|
|
.system-card .action-key {
|
|
position: absolute;
|
|
top: 1px;
|
|
left: 0;
|
|
width: 18px;
|
|
height: 18px;
|
|
font-size: 11px;
|
|
z-index: 1;
|
|
}
|
|
.system-card .equipment-art {
|
|
width: 56px;
|
|
height: 56px;
|
|
max-width: 100%;
|
|
}
|
|
.system-caption {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 3px;
|
|
font-size: 10px;
|
|
}
|
|
.system-caption strong {
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
}
|
|
.weapon-system .system-caption strong,
|
|
.special-system .system-caption {
|
|
display: none;
|
|
}
|
|
.power-value {
|
|
color: #ffe0a3;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
}
|
|
.power-value .symbol-stat {
|
|
gap: 3px;
|
|
}
|
|
.power-value .pictogram {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
.energy-system button {
|
|
min-height: 55px;
|
|
display: grid;
|
|
grid-template-columns: 48px minmax(0, 1fr);
|
|
gap: 3px;
|
|
padding: 2px 5px;
|
|
border-block: 1px solid #466979;
|
|
background: #1a3645;
|
|
}
|
|
.energy-system .equipment-art {
|
|
width: 44px;
|
|
height: 44px;
|
|
}
|
|
.energy-system .system-caption {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
}
|
|
.energy-system .system-caption strong {
|
|
display: none;
|
|
}
|
|
.energy-system .action-key {
|
|
top: 2px;
|
|
left: 1px;
|
|
}
|
|
.energy-value {
|
|
color: #b8f6f6;
|
|
font-size: 18px;
|
|
font-weight: 750;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.charge-pips {
|
|
display: flex;
|
|
width: 100%;
|
|
max-width: 90px;
|
|
gap: 3px;
|
|
}
|
|
.charge-pips i {
|
|
height: 5px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
background: #112330;
|
|
border: 1px solid #7696a4;
|
|
border-radius: 2px;
|
|
}
|
|
.charge-pips i.filled {
|
|
background: #96ebed;
|
|
border-color: #d6ffff;
|
|
}
|
|
.energy-system.depleted button {
|
|
border-color: #c99871;
|
|
}
|
|
.energy-system.depleted .energy-value {
|
|
color: #ffc39c;
|
|
}
|
|
.occupants {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
align-items: end;
|
|
justify-content: center;
|
|
min-height: 30px;
|
|
margin-top: auto;
|
|
padding-top: 2px;
|
|
}
|
|
.crew-pawn {
|
|
position: relative;
|
|
display: inline-flex;
|
|
width: 23px;
|
|
height: 29px;
|
|
color: var(--player-color, #bfd0db);
|
|
}
|
|
.crew-pawn > svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
fill: currentColor;
|
|
stroke: var(--player-stroke, #0a2231);
|
|
stroke-width: 1.5;
|
|
}
|
|
.crew-pawn .visor {
|
|
fill: #2a5969;
|
|
}
|
|
.crew-pawn b {
|
|
text-shadow:
|
|
0 0 2px #fff,
|
|
0 0 2px #fff;
|
|
position: absolute;
|
|
bottom: 3px;
|
|
width: 100%;
|
|
color: #0d2330;
|
|
text-align: center;
|
|
font-size: 11px;
|
|
}
|
|
.crew-pawn.selected {
|
|
color: var(--player-color, #ffe0a0);
|
|
filter: drop-shadow(0 0 2px #e8c98460);
|
|
}
|
|
.crew-pawn.out {
|
|
opacity: 0.55;
|
|
}
|
|
.crew-pawn.out b {
|
|
text-decoration: line-through;
|
|
}
|
|
.crew-pawn i {
|
|
position: absolute;
|
|
right: -5px;
|
|
top: 0;
|
|
color: #98eef1;
|
|
background: #112330;
|
|
border-radius: 3px;
|
|
}
|
|
.crew-pawn i .pictogram {
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
.ship-passage {
|
|
position: absolute;
|
|
top: 48%;
|
|
z-index: 2;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
.passage-1 {
|
|
left: calc(33.333% - 2px);
|
|
}
|
|
.passage-2 {
|
|
left: calc(66.667% + 2px);
|
|
}
|
|
.ship-passage button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 26px;
|
|
min-height: 44px;
|
|
padding: 0;
|
|
border: 2px solid #8499a3;
|
|
border-block-color: #203947;
|
|
background: #294652;
|
|
border-radius: 3px;
|
|
}
|
|
.ship-passage .pictogram {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
.between-decks {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
height: 44px;
|
|
}
|
|
.energy-conduits {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
fill: none;
|
|
stroke: #e7bf75;
|
|
stroke-width: 2;
|
|
pointer-events: none;
|
|
}
|
|
.energy-conduits .conduit-back {
|
|
stroke: #071927;
|
|
stroke-width: 8;
|
|
}
|
|
.lift-bay {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: end;
|
|
padding-right: 10%;
|
|
}
|
|
.lift-control {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 36px;
|
|
min-height: 40px;
|
|
padding: 0;
|
|
background: #213e4e;
|
|
border: 2px solid #8499a3;
|
|
border-radius: 5px;
|
|
z-index: 1;
|
|
}
|
|
.lift-control .pictogram {
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
.lift-control.damaged-lift {
|
|
color: #ffb895;
|
|
border-color: #e5a984;
|
|
}
|
|
.passage-explanation {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin: 16px;
|
|
color: #9ce7ec;
|
|
}
|
|
.passage-explanation .pictogram {
|
|
width: 65px;
|
|
height: 65px;
|
|
}
|
|
.ship-stern {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 12px;
|
|
padding: 0 14px 18px;
|
|
}
|
|
.ship-stern > span {
|
|
display: flex;
|
|
gap: 5px;
|
|
justify-content: center;
|
|
width: min(55%, 100px);
|
|
margin: auto;
|
|
padding: 0 8px;
|
|
height: 20px;
|
|
border: 2px solid #81939a;
|
|
border-top: 0;
|
|
border-radius: 0 0 12px 12px;
|
|
background: #29424e;
|
|
}
|
|
.ship-stern i {
|
|
width: 12px;
|
|
height: 14px;
|
|
transform: translateY(12px);
|
|
background: #95dfe7;
|
|
border-radius: 0 0 6px 6px;
|
|
box-shadow: 0 3px 7px #82eff04a;
|
|
}
|
|
.ship-key {
|
|
display: flex;
|
|
gap: 12px;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
font-size: 10px;
|
|
color: #c9dbe5;
|
|
padding: 10px 0;
|
|
}
|
|
.ship-key > span {
|
|
display: inline-flex;
|
|
gap: 4px;
|
|
align-items: center;
|
|
}
|
|
.ship-key b {
|
|
color: #ffdfa1;
|
|
font-size: 12px;
|
|
}
|
|
@container (max-width: 400px) {
|
|
.station {
|
|
padding: 5px 2px 3px;
|
|
}
|
|
.ship-deck {
|
|
gap: 10px;
|
|
}
|
|
.system-card button {
|
|
min-height: 67px;
|
|
}
|
|
.system-card .equipment-art {
|
|
width: 44px;
|
|
height: 44px;
|
|
}
|
|
.energy-system button {
|
|
grid-template-columns: 36px minmax(0, 1fr);
|
|
gap: 1px;
|
|
min-height: 47px;
|
|
padding: 2px 3px;
|
|
}
|
|
.energy-system .equipment-art {
|
|
width: 35px;
|
|
height: 40px;
|
|
}
|
|
.energy-value {
|
|
font-size: 15px;
|
|
}
|
|
.system-card .action-key {
|
|
width: 15px;
|
|
height: 15px;
|
|
font-size: 10px;
|
|
}
|
|
.station-title {
|
|
font-size: 9px;
|
|
gap: 1px;
|
|
}
|
|
.station-title .damage .pictogram {
|
|
display: none;
|
|
}
|
|
.crew-pawn {
|
|
width: 19px;
|
|
height: 25px;
|
|
}
|
|
.crew-pawn b {
|
|
font-size: 10px;
|
|
}
|
|
.occupants {
|
|
gap: 1px;
|
|
min-height: 27px;
|
|
}
|
|
.ship-passage button {
|
|
width: 22px;
|
|
}
|
|
.ship-passage .pictogram {
|
|
width: 16px;
|
|
}
|
|
.lift-bay {
|
|
padding-right: 4%;
|
|
}
|
|
.lift-control {
|
|
width: 31px;
|
|
}
|
|
.ship-stern > span {
|
|
width: 75%;
|
|
padding: 5px 5px 6px;
|
|
}
|
|
.ship-stern i {
|
|
height: 10px;
|
|
}
|
|
}
|
|
/* Compact fallback for browsers without container queries. */
|
|
@supports not (container-type: inline-size) {
|
|
@media (max-width: 760px) {
|
|
.station {
|
|
padding: 5px 2px 3px;
|
|
}
|
|
.ship-deck {
|
|
gap: 10px;
|
|
}
|
|
.system-card button {
|
|
min-height: 67px;
|
|
}
|
|
.system-card .equipment-art {
|
|
width: 44px;
|
|
height: 44px;
|
|
}
|
|
.energy-system button {
|
|
grid-template-columns: 36px minmax(0, 1fr);
|
|
gap: 1px;
|
|
min-height: 47px;
|
|
padding: 2px 3px;
|
|
}
|
|
.energy-system .equipment-art {
|
|
width: 35px;
|
|
height: 40px;
|
|
}
|
|
.energy-value {
|
|
font-size: 15px;
|
|
}
|
|
.system-card .action-key {
|
|
width: 15px;
|
|
height: 15px;
|
|
font-size: 10px;
|
|
}
|
|
.station-title {
|
|
font-size: 9px;
|
|
gap: 1px;
|
|
}
|
|
.station-title .damage .pictogram {
|
|
display: none;
|
|
}
|
|
.crew-pawn {
|
|
width: 19px;
|
|
height: 25px;
|
|
}
|
|
.crew-pawn b {
|
|
font-size: 10px;
|
|
}
|
|
.occupants {
|
|
gap: 1px;
|
|
min-height: 27px;
|
|
}
|
|
.ship-passage button {
|
|
width: 22px;
|
|
}
|
|
.ship-passage .pictogram {
|
|
width: 16px;
|
|
}
|
|
.lift-bay {
|
|
padding-right: 4%;
|
|
}
|
|
.lift-control {
|
|
width: 31px;
|
|
}
|
|
.ship-stern > span {
|
|
width: 75%;
|
|
padding: 5px 5px 6px;
|
|
}
|
|
.ship-stern i {
|
|
height: 10px;
|
|
}
|
|
}
|
|
}
|
|
@media (max-width: 760px) {
|
|
.cutaway {
|
|
margin-inline: 0;
|
|
}
|
|
.ship-hull {
|
|
padding-inline: 9px;
|
|
}
|
|
.ship-hull::before {
|
|
top: 29px;
|
|
}
|
|
.ship-bow {
|
|
height: 30px;
|
|
margin-inline: -9px;
|
|
}
|
|
}
|
|
/* Shared equipment inspector and threat cards. */
|
|
.system-detail-art {
|
|
width: 180px;
|
|
height: 150px;
|
|
margin: 0 auto;
|
|
}
|
|
.system-detail-art .equipment-symbol {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.room-location {
|
|
text-align: center;
|
|
color: var(--gold);
|
|
}
|
|
.energy-flow {
|
|
display: grid;
|
|
grid-template-columns: 1fr 30px 1fr;
|
|
gap: 18px;
|
|
align-items: center;
|
|
margin: 8px auto 20px;
|
|
max-width: 460px;
|
|
}
|
|
.energy-flow > span {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 5px;
|
|
text-align: center;
|
|
}
|
|
.energy-flow .equipment-art,
|
|
.energy-flow .equipment-symbol {
|
|
width: 80px;
|
|
height: 70px;
|
|
}
|
|
.energy-flow b {
|
|
font-size: 24px;
|
|
color: #e7fcff;
|
|
}
|
|
.energy-flow small {
|
|
color: var(--muted);
|
|
}
|
|
.energy-flow + p {
|
|
color: #eef6f9;
|
|
}
|
|
#inspection .planning-note {
|
|
color: var(--muted);
|
|
padding: 12px;
|
|
background: #0b1d29;
|
|
border-left: 2px solid #6794ae;
|
|
}
|
|
.weapon-facts {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 25px;
|
|
font-size: 22px;
|
|
color: var(--gold);
|
|
}
|
|
#threats {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
|
|
gap: 12px;
|
|
}
|
|
.illustrated-threat {
|
|
min-width: 0;
|
|
margin: 0;
|
|
overflow: clip;
|
|
background: #0b1722;
|
|
border-color: #4c697c;
|
|
}
|
|
.illustrated-threat .threat-card {
|
|
display: block;
|
|
padding: 0;
|
|
color: #eff7fa;
|
|
}
|
|
.threat-heading {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 11px 12px;
|
|
font-size: 16px;
|
|
}
|
|
.threat-portrait {
|
|
display: block;
|
|
position: relative;
|
|
height: 204px;
|
|
background: #10212d;
|
|
overflow: hidden;
|
|
}
|
|
.threat-portrait > .equipment-art {
|
|
width: 128px;
|
|
height: 118px;
|
|
margin: 66px auto 0;
|
|
border-radius: 0;
|
|
}
|
|
.threat-timing {
|
|
color: #d6e5ef;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
font-variant-numeric: tabular-nums;
|
|
white-space: nowrap;
|
|
}
|
|
.threat-target {
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: end;
|
|
width: 56px;
|
|
min-height: 48px;
|
|
flex-shrink: 0;
|
|
}
|
|
.threat-target .ship-locator {
|
|
width: 56px;
|
|
}
|
|
.threat-hud {
|
|
position: absolute;
|
|
bottom: 8px;
|
|
left: 10px;
|
|
right: 10px;
|
|
display: flex;
|
|
align-items: end;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
.hull-gauge,
|
|
.shield-badge {
|
|
padding: 6px 9px;
|
|
background: #081723eb;
|
|
border: 1px solid #607580;
|
|
border-radius: 7px;
|
|
color: #f2ffd9;
|
|
}
|
|
.hull-gauge {
|
|
min-width: 84px;
|
|
}
|
|
.hull-gauge .symbol-stat,
|
|
.shield-badge .symbol-stat {
|
|
gap: 7px;
|
|
}
|
|
.hull-gauge b,
|
|
.shield-badge b {
|
|
font-size: 24px;
|
|
line-height: 1;
|
|
}
|
|
.hull-gauge small {
|
|
font-size: 13px;
|
|
color: #c4d3dd;
|
|
}
|
|
.hull-bar {
|
|
display: block;
|
|
margin-top: 5px;
|
|
height: 5px;
|
|
background: #344034;
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
.hull-bar i {
|
|
display: block;
|
|
height: 100%;
|
|
background: #b4eb6d;
|
|
}
|
|
.shield-badge {
|
|
color: #9eeaff;
|
|
border-color: #4988a0;
|
|
}
|
|
.threat-hud .pictogram {
|
|
width: 25px;
|
|
height: 25px;
|
|
}
|
|
.threat-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 7px 12px;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
.threat-footer .pictogram {
|
|
width: 23px;
|
|
height: 23px;
|
|
}
|
|
.threat-footer .symbol-stat {
|
|
color: #e5f2fc;
|
|
font-size: 15px;
|
|
}
|
|
.resolved-threat > .equipment-art {
|
|
filter: saturate(0.3);
|
|
opacity: 0.55;
|
|
}
|
|
.threat-outcome {
|
|
position: absolute;
|
|
top: 38%;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 8px;
|
|
background: #081723db;
|
|
color: #ffe29b;
|
|
text-align: center;
|
|
font-weight: 700;
|
|
}
|
|
.approach-track {
|
|
display: flex;
|
|
gap: 7px;
|
|
align-items: center;
|
|
padding: 10px;
|
|
border-top: 1px solid #344d60;
|
|
}
|
|
.approach-track > .pictogram {
|
|
width: 22px;
|
|
height: 22px;
|
|
color: var(--gold);
|
|
}
|
|
.track-caption {
|
|
font-size: 10px;
|
|
color: var(--muted);
|
|
}
|
|
.approach-track .track {
|
|
margin: 0;
|
|
flex: 1;
|
|
min-width: 0;
|
|
gap: 2px;
|
|
}
|
|
.approach-track .track span {
|
|
height: 20px;
|
|
line-height: 19px;
|
|
font-size: 11px;
|
|
color: #d4e5f0;
|
|
border-radius: 2px;
|
|
}
|
|
.approach-track .track .mark {
|
|
border-bottom: 2px solid #ffaf83;
|
|
}
|
|
.approach-track .track .current {
|
|
background: #ffe19a;
|
|
color: #13202c;
|
|
outline: 1px solid #fff5d8;
|
|
}
|
|
.approach-track .track .entry {
|
|
outline: 1px dashed #ffe19a;
|
|
}
|
|
#inspection .threat-portrait {
|
|
height: 220px;
|
|
max-width: 440px;
|
|
margin: 0 auto;
|
|
border-radius: 9px;
|
|
}
|
|
#inspection .threat-portrait > .equipment-art {
|
|
width: 164px;
|
|
height: 150px;
|
|
margin-top: 28px;
|
|
}
|
|
#inspection .threat-facts {
|
|
margin-top: 15px;
|
|
}
|
|
.console-nav svg {
|
|
width: 23px;
|
|
height: 23px;
|
|
stroke-width: 1.9;
|
|
}
|
|
.console-nav button {
|
|
color: #dcebf4;
|
|
}
|
|
.slot.future {
|
|
opacity: 0.7;
|
|
}
|
|
@media (max-width: 760px) {
|
|
.threat-portrait {
|
|
height: 180px;
|
|
}
|
|
#threats {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
.system-detail-art {
|
|
width: 140px;
|
|
height: 115px;
|
|
}
|
|
}
|
|
|
|
/* The first lesson reveals only the idea currently being taught. */
|
|
.learning-basics .flight-layout,
|
|
.learning-basics .mission-line,
|
|
.learning-basics #lesson-guide,
|
|
.learning-basics #crew,
|
|
.learning-basics .header-tools {
|
|
display: none !important;
|
|
}
|
|
#basics-guide {
|
|
max-width: 760px;
|
|
margin: 16px auto 60px;
|
|
}
|
|
.basics-top,
|
|
.basics-stages {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
.basics-top > span {
|
|
font-size: 0.75rem;
|
|
letter-spacing: 0.12em;
|
|
color: #b4c8d9;
|
|
}
|
|
.basics-stages {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
margin: 24px 0;
|
|
color: #a0aabb;
|
|
}
|
|
.basics-stages button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 10px;
|
|
min-height: 52px;
|
|
margin: 0;
|
|
padding: 10px 12px;
|
|
border: 0;
|
|
border-bottom: 3px solid transparent;
|
|
border-radius: 0;
|
|
font-size: inherit;
|
|
line-height: 1.3;
|
|
text-align: left;
|
|
}
|
|
.basics-stages .step-number {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 26px;
|
|
height: 26px;
|
|
flex: 0 0 26px;
|
|
border: 1px solid currentColor;
|
|
border-radius: 50%;
|
|
font-size: .8rem;
|
|
}
|
|
.basics-stages .active {
|
|
color: #b8ffe3;
|
|
border-bottom-color: #74e8bd;
|
|
background: #142b32;
|
|
}
|
|
#basics-guide h1 {
|
|
font-size: clamp(1.5rem, 4vw, 2.25rem);
|
|
line-height: 1.2;
|
|
}
|
|
.basics-explanation {
|
|
max-width: 62ch;
|
|
line-height: 1.65;
|
|
min-height: 4.5em;
|
|
}
|
|
.basics-program button {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding: 14px 8px;
|
|
}
|
|
.basics-program button:disabled {
|
|
opacity: 1;
|
|
color: #b9c9d7;
|
|
background: #17232e;
|
|
cursor: default;
|
|
}
|
|
.basics-program button:not(:disabled),
|
|
.basics-program button.current {
|
|
outline: 2px solid #74e8bd;
|
|
outline-offset: 2px;
|
|
}
|
|
.basics-program strong,
|
|
.basics-card strong {
|
|
font-size: 2.2rem;
|
|
line-height: 1;
|
|
}
|
|
.basics-card-area {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
.basics-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 165px;
|
|
padding: 20px;
|
|
}
|
|
.basics-card.selected {
|
|
outline: 3px solid #74e8bd;
|
|
outline-offset: 3px;
|
|
}
|
|
.practice-clock {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
padding: 18px;
|
|
margin: 20px 0;
|
|
border: 1px solid #496071;
|
|
border-radius: 12px;
|
|
}
|
|
.practice-clock strong,
|
|
.practice-clock small {
|
|
display: block;
|
|
}
|
|
.practice-clock strong {
|
|
font-size: 1.35rem;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
#basics-run {
|
|
width: 100%;
|
|
}
|
|
@media (max-width: 520px) {
|
|
.basics-top {
|
|
align-items: flex-start;
|
|
}
|
|
.basics-stages {
|
|
font-size: 0.85rem;
|
|
}
|
|
.basics-program {
|
|
gap: 7px;
|
|
}
|
|
}
|
|
|
|
.shared-equipment-icon {
|
|
fill: none;
|
|
stroke: #b7e3e9;
|
|
stroke-width: 1.7;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
.system-card .action-key {
|
|
width: 22px;
|
|
height: 22px;
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
.action-key .pictogram {
|
|
width: 17px;
|
|
height: 17px;
|
|
}
|
|
.ship-key .pictogram {
|
|
width: 18px;
|
|
height: 18px;
|
|
color: var(--gold);
|
|
}
|
|
#hand-filter .pictogram {
|
|
width: 23px;
|
|
height: 23px;
|
|
}
|
|
#resources .symbol-stat small {
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
/* Crew selectors and board markers share the same drawing and number treatment. */
|
|
.crew-tabs .equipment-art {
|
|
width: 27px;
|
|
height: 27px;
|
|
flex: 0 0 27px;
|
|
color: #bfd0db;
|
|
}
|
|
.crew-tabs [aria-pressed="true"] .equipment-art {
|
|
color: #ffe0a0;
|
|
}
|
|
.crew-pawn {
|
|
width: auto;
|
|
height: 30px;
|
|
gap: 2px;
|
|
align-items: center;
|
|
}
|
|
.crew-pawn > svg.equipment-art {
|
|
width: 27px;
|
|
height: 27px;
|
|
fill: none;
|
|
stroke: #162e3d;
|
|
stroke-width: 2;
|
|
}
|
|
.crew-pawn > svg.pictogram {
|
|
width: 23px;
|
|
height: 27px;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
}
|
|
.crew-pawn b {
|
|
position: static;
|
|
width: auto;
|
|
min-width: 8px;
|
|
color: currentColor;
|
|
text-shadow: none;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.lesson-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
padding-top: 4px;
|
|
}
|
|
.lesson-actions > button {
|
|
min-height: 44px;
|
|
margin: 0;
|
|
padding: 10px 14px;
|
|
line-height: 22px;
|
|
}
|
|
.lesson-actions > .icon-button {
|
|
width: 44px;
|
|
padding: 10px;
|
|
flex: 0 0 44px;
|
|
}
|
|
.lesson-actions .pictogram {
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
.basics-card-choices {
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
}
|
|
.basics-card-choices .basics-card {
|
|
min-width: 135px;
|
|
}
|
|
.basics-program strong .pictogram,
|
|
.basics-card strong .pictogram {
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
.basics-card-choices .basics-card {
|
|
min-width: 88px;
|
|
min-height: 80px;
|
|
}
|
|
|
|
/* Teach on the real ship; reveal its systems in later lessons. */
|
|
.training-ship {
|
|
max-width: 530px;
|
|
margin: 20px auto 28px;
|
|
}
|
|
.training-ship .systems,
|
|
.training-ship .between-decks,
|
|
.training-ship .ship-passage,
|
|
.training-ship .ship-key,
|
|
.training-ship .damage {
|
|
display: none;
|
|
}
|
|
.training-ship .deck-upper .station {
|
|
min-height: 88px;
|
|
}
|
|
.training-ship .occupants {
|
|
align-items: center;
|
|
min-height: 50px;
|
|
padding: 8px 0;
|
|
}
|
|
.training-ship .deck-lower {
|
|
margin-top: 10px;
|
|
opacity: 0.25;
|
|
}
|
|
.training-ship .deck-lower .station {
|
|
min-height: 88px;
|
|
}
|
|
.training-ship .deck-lower .occupants {
|
|
display: flex;
|
|
}
|
|
.training-ship .crew-pawn > svg.equipment-art {
|
|
width: 36px;
|
|
height: 36px;
|
|
}
|
|
.training-ship .crew-pawn {
|
|
height: 38px;
|
|
}
|
|
.basics-program-heading {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
color: #b9c9d7;
|
|
font-size: 0.85rem;
|
|
}
|
|
.basics-program.program {
|
|
display: flex;
|
|
gap: 16px;
|
|
justify-content: flex-start;
|
|
margin: 0 0 20px;
|
|
padding: 14px;
|
|
border-left: 3px solid #e6b66b;
|
|
background: #101e28;
|
|
border-radius: 0 8px 8px 0;
|
|
}
|
|
.basics-program button.slot {
|
|
width: 76px;
|
|
min-height: 90px;
|
|
flex: 0 0 76px;
|
|
border-radius: 6px;
|
|
gap: 16px;
|
|
}
|
|
.basics-program .turn {
|
|
font-size: 0.72rem;
|
|
}
|
|
.basics-card-area {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
/* BGS checkpoint controller, with a localized guide matching the ship console. */
|
|
.native-guide { margin: 0 0 24px; }
|
|
.native-guide-top, .native-guide-tools, .native-guide-controls {
|
|
display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
|
|
}
|
|
.native-guide-top { justify-content: space-between; color: #b4c8d9; }
|
|
.native-guide-tools a { color: #a9d7e7; font-size: .8rem; }
|
|
.native-guide h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 20px 0 8px; }
|
|
.native-guide-text { line-height: 1.6; white-space: pre-line; max-width: 65ch; }
|
|
.native-guide-controls { margin-top: 16px; }
|
|
.native-guide .basics-stages { grid-template-columns: repeat(3, 1fr); margin: 16px 0; }
|
|
.native-tutorial .basics-top,
|
|
.native-tutorial #basics-guide > .basics-stages,
|
|
.native-tutorial #basics-guide > h1,
|
|
.native-tutorial .basics-explanation,
|
|
.native-tutorial #basics-start,
|
|
.native-tutorial .basics-complete,
|
|
.native-tutorial #console-nav,
|
|
.native-tutorial .header-tools,
|
|
.native-tutorial .mission-line,
|
|
.native-tutorial #crew,
|
|
.native-tutorial #lesson-guide > ol,
|
|
.native-tutorial #lesson-guide [data-lesson] { display: none; }
|
|
.native-tutorial #basics-guide { margin-top: 0; }
|
|
.native-tutorial .training-ship { margin-top: 0; }
|
|
.practice-readiness { display: flex; align-items: center; gap: 12px; margin: 12px 0; color: #b8ffe3; }
|
|
.practice-readiness progress { width: 80px; height: 6px; accent-color: #74e8bd; }
|
|
@media (max-width: 520px) {
|
|
.native-guide .basics-stages { gap: 3px; }
|
|
.native-guide .basics-stages button { flex-direction: column; gap: 6px; padding: 10px 4px; text-align: center; }
|
|
}
|
|
.native-tutorial #basics-run { width: 64px; height: 48px; }
|
|
.practice-readiness > span { display: inline-flex; align-items: center; gap: 6px; }
|
|
.native-tutorial.learning-basics .flight-layout { display: grid !important; margin: 0; align-items: start; }
|
|
.native-tutorial.learning-basics #planning { min-width: 0; }
|
|
.native-tutorial.learning-basics #program { display: flex; gap: 12px; border-left: 3px solid #e6b66b; padding: 12px; background: #101e28; }
|
|
.native-tutorial.learning-basics #program .slot { flex: 0 0 72px; min-height: 90px; }
|
|
.native-tutorial.learning-basics #program .slot.current { border-color: #74e8bd; box-shadow: 0 0 0 2px #74e8bd55; }
|
|
.native-tutorial.learning-basics #hand { grid-template-columns: repeat(3, 80px); }
|
|
.native-tutorial.learning-basics #hand .card { min-height: 68px; }
|
|
.native-tutorial.learning-basics #program-crew,
|
|
.native-tutorial.learning-basics .crew-tabs,
|
|
.native-tutorial.learning-basics #player-help,
|
|
.native-tutorial.learning-basics #card-help,
|
|
.native-tutorial.learning-basics #controls,
|
|
.native-tutorial.learning-basics #hand-filter,
|
|
.native-tutorial.learning-basics #resources,
|
|
.native-tutorial.learning-basics #threats,
|
|
.native-tutorial.learning-basics #comms,
|
|
.native-tutorial.learning-basics #latest,
|
|
.native-tutorial.learning-basics #replay,
|
|
.native-tutorial.learning-basics .tactical .section-heading:has(#threat-title),
|
|
.native-tutorial[data-tutorial-step="0"] #planning { display: none !important; }
|
|
|
|
.native-tutorial.learning-basics .tactical { max-width: 600px; }
|
|
.native-tutorial.learning-basics #ship { width: 100%; max-width: 600px; margin: 0; }
|
|
.ready-dots { display: flex; gap: 6px; }
|
|
.ready-dots i { display: block; width: 14px; height: 18px; border: 1px solid #688999; border-radius: 3px; }
|
|
.ready-dots i.filled { background: #74e8bd; border-color: #74e8bd; }
|
|
.practice-readiness #basics-run { margin-left: auto; }
|
|
@media (max-width: 720px) {
|
|
.native-tutorial.learning-basics .flight-layout { grid-template-columns: 1fr; }
|
|
}
|
|
.native-tutorial.learning-basics #ship .station-title { visibility: hidden; }
|
|
.native-tutorial.learning-basics[data-tutorial-stage="resolution"] #controls { display: flex !important; gap: 10px; }
|
|
.native-tutorial.learning-basics[data-tutorial-stage="resolution"] #replay { display: block !important; }
|
|
.native-tutorial.learning-basics[data-tutorial-stage="resolution"] #replay label,
|
|
.native-tutorial.learning-basics[data-tutorial-stage="resolution"] #replay #live { display: none; }
|
|
.native-tutorial.learning-basics[data-tutorial-step="3"] #controls { display: none !important; }
|
|
|
|
.training-ship .deck-upper .station,
|
|
.training-ship .deck-lower .station { min-height: 104px; }
|
|
|
|
.native-tutorial.learning-basics .training-ship .deck-lower { opacity: 1; }
|
|
.training-ship .station.tutorial-destination {
|
|
border: 2px dashed #e8c984;
|
|
background: #e8c98418;
|
|
}
|
|
.destination-marker { position: absolute; right: 10px; bottom: 10px; color: #e8c984; }
|
|
.training-ship .station.destination-reached { border-style: solid; border-color: #74e8bd; background: #74e8bd18; }
|
|
.destination-reached .destination-marker { color: #74e8bd; }
|
|
.native-tutorial.learning-basics #hand .card > button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 68px;
|
|
width: 100%;
|
|
}
|
|
|
|
.planning-shortcuts { display: flex; gap: 6px; margin-top: 12px; color: var(--muted); }
|
|
.planning-shortcuts kbd { min-width: 25px; text-align: center; padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; font: inherit; font-size: 12px; }
|
|
.native-tutorial.learning-basics #planning > #basics-guide {
|
|
width: 100%;
|
|
max-width: 280px;
|
|
margin: 12px 0 0;
|
|
}
|
|
.native-tutorial.learning-basics #program { width: fit-content; max-width: 100%; }
|
|
.native-tutorial .practice-readiness #basics-run { margin-left: 12px; }
|
|
.native-tutorial .practice-clock { margin: 12px 0; padding: 12px; gap: 12px; }
|
|
.native-tutorial .practice-clock strong { font-size: 1rem; }
|