rp_core (sessions, scrypt auth, self-written MySQL-wire driver rp_db), county-records NUI: residency-file auth, identity-record character intake, survey-grid spawn, procedural night-city loading screen. Secrets replaced with .example files. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
840 lines
22 KiB
CSS
840 lines
22 KiB
CSS
/* ---------------------------------------------------------------------------
|
|
Pre-spawn interface.
|
|
|
|
One spatial rule holds across every screen: the instrument sits in a rail on
|
|
the left, the world stays visible on the right. Nothing is ever a floating
|
|
centred card, because nothing here is a dialog - it is a file being worked
|
|
on while the city carries on behind it.
|
|
--------------------------------------------------------------------------- */
|
|
|
|
body {
|
|
background: transparent;
|
|
opacity: 1;
|
|
transition: opacity 420ms var(--ease);
|
|
}
|
|
body.hidden { opacity: 0; pointer-events: none; }
|
|
|
|
/* Keeps interface text legible over whatever the camera happens to be on. */
|
|
.edge {
|
|
position: fixed;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
background:
|
|
linear-gradient(90deg, rgba(8,9,11,.55) 0%, rgba(8,9,11,0) 55%),
|
|
radial-gradient(130% 100% at 70% 50%, transparent 45%, rgba(0,0,0,.6) 100%);
|
|
}
|
|
|
|
.grain {
|
|
position: fixed;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
opacity: .1;
|
|
mix-blend-mode: overlay;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
|
|
}
|
|
|
|
/* =========================================================================
|
|
chrome
|
|
========================================================================= */
|
|
|
|
.topbar {
|
|
position: fixed;
|
|
top: 0; left: 0; right: 0;
|
|
height: 74px;
|
|
padding: 0 var(--gut-x);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 28px;
|
|
z-index: 40;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.mark { display: flex; align-items: baseline; gap: 11px; }
|
|
.mark-name {
|
|
font-weight: 800;
|
|
font-size: 17px;
|
|
letter-spacing: -.01em;
|
|
}
|
|
.mark-tag {
|
|
font-family: 'Plex Mono', monospace;
|
|
font-size: 9.5px;
|
|
letter-spacing: .34em;
|
|
color: var(--sodium);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.stages { display: flex; align-items: center; gap: 10px; }
|
|
|
|
.stagechip {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
background: none;
|
|
border: 0;
|
|
padding: 6px 2px;
|
|
color: var(--muted);
|
|
font-family: inherit;
|
|
font-size: 12.5px;
|
|
letter-spacing: .01em;
|
|
cursor: default;
|
|
transition: color 300ms var(--ease);
|
|
}
|
|
.stagechip em {
|
|
font-family: 'Plex Mono', monospace;
|
|
font-style: normal;
|
|
font-size: 10px;
|
|
letter-spacing: .1em;
|
|
padding: 3px 5px;
|
|
border: 1px solid var(--line);
|
|
color: var(--muted);
|
|
transition: color 300ms var(--ease), border-color 300ms var(--ease), background 300ms var(--ease);
|
|
}
|
|
.stagechip.done { color: var(--paper-dim); }
|
|
.stagechip.done em { color: var(--paper-dim); border-color: var(--line); }
|
|
.stagechip.on { color: var(--paper); }
|
|
.stagechip.on em {
|
|
color: var(--ink-900);
|
|
background: var(--sodium);
|
|
border-color: var(--sodium);
|
|
}
|
|
|
|
.stagelink {
|
|
width: 26px;
|
|
height: 1px;
|
|
background: var(--line);
|
|
}
|
|
|
|
.filetag { color: var(--muted); }
|
|
.filetag span { color: var(--paper-dim); }
|
|
|
|
/* =========================================================================
|
|
screens + rail
|
|
========================================================================= */
|
|
|
|
.screen {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 20;
|
|
}
|
|
.screen[hidden] { display: none; }
|
|
|
|
.rail {
|
|
position: absolute;
|
|
top: 0; left: 0; bottom: 0;
|
|
width: var(--rail);
|
|
display: flex;
|
|
align-items: center;
|
|
pointer-events: auto;
|
|
}
|
|
.rail.wide { width: clamp(470px, 36vw, 640px); }
|
|
|
|
.rail-scrim {
|
|
position: absolute;
|
|
top: 0; bottom: 0; left: 0;
|
|
width: 168%;
|
|
pointer-events: none;
|
|
background: linear-gradient(
|
|
90deg,
|
|
rgba(8,9,11,.96) 0%,
|
|
rgba(8,9,11,.92) 42%,
|
|
rgba(8,9,11,.6) 72%,
|
|
rgba(8,9,11,0) 100%
|
|
);
|
|
}
|
|
|
|
.rail-inner {
|
|
position: relative;
|
|
width: 100%;
|
|
padding: 96px var(--gut-x) var(--gut-y);
|
|
max-height: 100vh;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--ink-500) transparent;
|
|
}
|
|
.rail-inner::-webkit-scrollbar { width: 3px; }
|
|
.rail-inner::-webkit-scrollbar-thumb { background: var(--ink-500); }
|
|
|
|
/* staged entrance, replayed each time a screen becomes current */
|
|
.screen.is-on .rail-inner > * { animation: rise 720ms var(--ease-out) both; }
|
|
.screen.is-on .rail-inner > *:nth-child(1) { animation-delay: 40ms; }
|
|
.screen.is-on .rail-inner > *:nth-child(2) { animation-delay: 110ms; }
|
|
.screen.is-on .rail-inner > *:nth-child(3) { animation-delay: 175ms; }
|
|
.screen.is-on .rail-inner > *:nth-child(4) { animation-delay: 235ms; }
|
|
.screen.is-on .rail-inner > *:nth-child(5) { animation-delay: 290ms; }
|
|
.screen.is-on .rail-inner > *:nth-child(6) { animation-delay: 340ms; }
|
|
.screen.is-on .rail-inner > *:nth-child(7) { animation-delay: 385ms; }
|
|
|
|
@keyframes rise {
|
|
from { opacity: 0; transform: translateY(12px); }
|
|
to { opacity: 1; transform: none; }
|
|
}
|
|
|
|
/* =========================================================================
|
|
type blocks
|
|
========================================================================= */
|
|
|
|
.kicker {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
margin-bottom: 22px;
|
|
}
|
|
.kicker .hair {
|
|
flex: 1;
|
|
height: 1px;
|
|
background: linear-gradient(90deg, var(--line), transparent);
|
|
}
|
|
|
|
.head {
|
|
font-size: clamp(30px, 2.9vw, 44px);
|
|
font-weight: 700;
|
|
line-height: 1.02;
|
|
letter-spacing: -.032em;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.sub {
|
|
color: var(--paper-dim);
|
|
font-size: 14.5px;
|
|
max-width: 46ch;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
/* =========================================================================
|
|
form
|
|
========================================================================= */
|
|
|
|
.form { display: block; }
|
|
|
|
.field { margin-bottom: 20px; }
|
|
|
|
.field label {
|
|
display: block;
|
|
font-family: 'Plex Mono', monospace;
|
|
font-size: 10.5px;
|
|
font-weight: 500;
|
|
letter-spacing: .18em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
margin-bottom: 9px;
|
|
transition: color 220ms var(--ease);
|
|
}
|
|
.field:focus-within label { color: var(--sodium); }
|
|
|
|
.field input {
|
|
width: 100%;
|
|
height: 46px;
|
|
padding: 0 14px;
|
|
background: rgba(20, 23, 29, .72);
|
|
border: 1px solid var(--line);
|
|
border-radius: 0;
|
|
color: var(--paper);
|
|
font-family: inherit;
|
|
font-size: 15px;
|
|
letter-spacing: .005em;
|
|
transition: border-color 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
|
|
}
|
|
.field input::placeholder { color: #565c66; }
|
|
.field input:hover { border-color: rgba(232,228,220,.22); }
|
|
.field input:focus {
|
|
outline: none;
|
|
border-color: var(--sodium);
|
|
background: rgba(29, 33, 42, .85);
|
|
box-shadow: inset 0 -2px 0 var(--sodium-soft);
|
|
}
|
|
|
|
.withbtn { position: relative; display: flex; }
|
|
.withbtn input { padding-right: 62px; }
|
|
.reveal-btn {
|
|
position: absolute;
|
|
right: 1px; top: 1px; bottom: 1px;
|
|
padding: 0 13px;
|
|
background: none;
|
|
border: 0;
|
|
border-left: 1px solid var(--line);
|
|
color: var(--muted);
|
|
font-family: 'Plex Mono', monospace;
|
|
font-size: 10px;
|
|
letter-spacing: .12em;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
transition: color 200ms var(--ease);
|
|
}
|
|
.reveal-btn:hover { color: var(--sodium); }
|
|
|
|
.hint {
|
|
margin-top: 8px;
|
|
font-family: 'Plex Mono', monospace;
|
|
font-size: 11px;
|
|
line-height: 1.45;
|
|
letter-spacing: .01em;
|
|
color: var(--muted);
|
|
transition: color 220ms var(--ease), transform 220ms var(--ease);
|
|
}
|
|
.field.bad input { border-color: var(--stamp); }
|
|
.field.bad .hint { color: var(--stamp); }
|
|
.field.good input { border-color: rgba(127,159,90,.55); }
|
|
.field.good .hint { color: var(--good); }
|
|
|
|
/* register-only row: grid trick so height animates without a fixed value */
|
|
.collapse {
|
|
display: grid;
|
|
grid-template-rows: 0fr;
|
|
opacity: 0;
|
|
transition: grid-template-rows 460ms var(--ease-out), opacity 300ms var(--ease);
|
|
}
|
|
.collapse.open { grid-template-rows: 1fr; opacity: 1; }
|
|
.collapse-inner { overflow: hidden; min-height: 0; }
|
|
|
|
.formerror {
|
|
margin-bottom: 16px;
|
|
padding: 11px 13px;
|
|
border-left: 2px solid var(--stamp);
|
|
background: rgba(196,70,47,.09);
|
|
color: #e8a598;
|
|
font-size: 13.5px;
|
|
animation: shake 380ms var(--ease);
|
|
}
|
|
.formerror[hidden] { display: none; }
|
|
@keyframes shake {
|
|
0%,100% { transform: translateX(0); }
|
|
22% { transform: translateX(-5px); }
|
|
46% { transform: translateX(4px); }
|
|
72% { transform: translateX(-2px); }
|
|
}
|
|
|
|
.switch {
|
|
margin-top: 22px;
|
|
font-size: 13.5px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
/* =========================================================================
|
|
buttons
|
|
========================================================================= */
|
|
|
|
.btn {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
height: 50px;
|
|
padding: 0 26px;
|
|
border: 1px solid transparent;
|
|
border-radius: 0;
|
|
font-family: inherit;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
letter-spacing: .07em;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
transition: transform 110ms var(--ease), background 240ms var(--ease),
|
|
color 240ms var(--ease), border-color 240ms var(--ease), opacity 240ms var(--ease);
|
|
}
|
|
.btn:active { transform: translateY(1px); }
|
|
.btn[disabled] { opacity: .34; cursor: not-allowed; }
|
|
.btn[disabled]:active { transform: none; }
|
|
|
|
.btn.primary {
|
|
width: 100%;
|
|
background: var(--sodium);
|
|
color: #17120b;
|
|
}
|
|
.btn.primary:hover:not([disabled]) { background: #ffb063; }
|
|
|
|
/* a light sweeps across on hover - the only ornament on the button */
|
|
.btn.primary::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.42) 50%, transparent 70%);
|
|
transform: translateX(-130%);
|
|
transition: transform 720ms var(--ease);
|
|
}
|
|
.btn.primary:hover:not([disabled])::after { transform: translateX(130%); }
|
|
|
|
.btn.ghost {
|
|
background: transparent;
|
|
border-color: var(--line);
|
|
color: var(--paper-dim);
|
|
}
|
|
.btn.ghost:hover:not([disabled]) { border-color: var(--sodium-line); color: var(--sodium); }
|
|
|
|
.btn-spin {
|
|
width: 13px; height: 13px;
|
|
border: 1.5px solid rgba(23,18,11,.3);
|
|
border-top-color: #17120b;
|
|
border-radius: 50%;
|
|
display: none;
|
|
animation: spin 640ms linear infinite;
|
|
}
|
|
.btn.busy .btn-spin { display: block; }
|
|
.btn.busy .btn-label { opacity: .55; }
|
|
@keyframes spin { to { transform: rotate(360deg); } }
|
|
|
|
.linkbtn {
|
|
background: none;
|
|
border: 0;
|
|
padding: 0;
|
|
color: var(--sodium);
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
cursor: pointer;
|
|
position: relative;
|
|
}
|
|
.linkbtn::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0; right: 0; bottom: -2px;
|
|
height: 1px;
|
|
background: var(--sodium);
|
|
transform: scaleX(0);
|
|
transform-origin: left;
|
|
transition: transform 280ms var(--ease-out);
|
|
}
|
|
.linkbtn:hover::after { transform: scaleX(1); }
|
|
|
|
/* =========================================================================
|
|
character list
|
|
========================================================================= */
|
|
|
|
.charlist { list-style: none; margin-bottom: 26px; }
|
|
|
|
.charcard {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: auto 1fr auto;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 17px 18px;
|
|
margin-bottom: 10px;
|
|
background: rgba(20,23,29,.6);
|
|
border: 1px solid var(--line);
|
|
cursor: pointer;
|
|
transition: border-color 240ms var(--ease), background 240ms var(--ease), transform 240ms var(--ease);
|
|
}
|
|
.charcard:hover { border-color: rgba(232,228,220,.24); transform: translateX(3px); }
|
|
.charcard.on {
|
|
border-color: var(--sodium);
|
|
background: rgba(255,159,69,.07);
|
|
}
|
|
/* the accent bar only exists on the selected row */
|
|
.charcard.on::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: -1px; top: -1px; bottom: -1px;
|
|
width: 2px;
|
|
background: var(--sodium);
|
|
}
|
|
|
|
.charslot {
|
|
font-family: 'Plex Mono', monospace;
|
|
font-size: 10px;
|
|
letter-spacing: .1em;
|
|
color: var(--muted);
|
|
border: 1px solid var(--line);
|
|
padding: 4px 6px;
|
|
}
|
|
.charcard.on .charslot { color: var(--sodium); border-color: var(--sodium-line); }
|
|
|
|
.charname { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
|
|
.charmeta {
|
|
display: block;
|
|
font-family: 'Plex Mono', monospace;
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
margin-top: 4px;
|
|
letter-spacing: .02em;
|
|
}
|
|
.charmoney {
|
|
font-family: 'Plex Mono', monospace;
|
|
font-size: 12.5px;
|
|
color: var(--paper-dim);
|
|
text-align: right;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.charcard.empty {
|
|
border-style: dashed;
|
|
background: transparent;
|
|
color: var(--muted);
|
|
grid-template-columns: auto 1fr;
|
|
}
|
|
.charcard.empty:hover { border-color: var(--sodium-line); color: var(--sodium); }
|
|
.charcard.empty .charname { font-size: 14px; font-weight: 500; color: inherit; }
|
|
|
|
.charactions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
|
|
|
|
/* =========================================================================
|
|
creator
|
|
========================================================================= */
|
|
|
|
.creator { padding-bottom: 26px; }
|
|
|
|
.tabs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 2px;
|
|
margin-bottom: 22px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.tab {
|
|
position: relative;
|
|
background: none;
|
|
border: 0;
|
|
padding: 10px 13px;
|
|
color: var(--muted);
|
|
font-family: inherit;
|
|
font-size: 12.5px;
|
|
letter-spacing: .01em;
|
|
cursor: pointer;
|
|
transition: color 220ms var(--ease);
|
|
}
|
|
.tab:hover { color: var(--paper-dim); }
|
|
.tab.is-on { color: var(--paper); }
|
|
.tab.is-on::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0; right: 0; bottom: -1px;
|
|
height: 2px;
|
|
background: var(--sodium);
|
|
animation: tabin 320ms var(--ease-out);
|
|
}
|
|
@keyframes tabin { from { transform: scaleX(.2); } to { transform: scaleX(1); } }
|
|
|
|
.panes { min-height: 300px; }
|
|
.pane { display: none; }
|
|
.pane.is-on { display: block; animation: panein 420ms var(--ease-out); }
|
|
@keyframes panein {
|
|
from { opacity: 0; transform: translateX(10px); }
|
|
to { opacity: 1; transform: none; }
|
|
}
|
|
|
|
.ctrl { margin-bottom: 15px; }
|
|
.ctrl-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
margin-bottom: 6px;
|
|
gap: 12px;
|
|
}
|
|
.ctrl-label {
|
|
font-size: 13px;
|
|
color: var(--paper-dim);
|
|
}
|
|
.ctrl-val {
|
|
font-family: 'Plex Mono', monospace;
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.slider {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 100%;
|
|
height: 20px;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
.slider::-webkit-slider-runnable-track { height: 2px; background: var(--line); }
|
|
.slider::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
width: 3px;
|
|
height: 14px;
|
|
margin-top: -6px;
|
|
background: var(--sodium);
|
|
border: 0;
|
|
transition: height 150ms var(--ease), margin-top 150ms var(--ease);
|
|
}
|
|
.slider:hover::-webkit-slider-thumb,
|
|
.slider:focus-visible::-webkit-slider-thumb { height: 20px; margin-top: -9px; }
|
|
|
|
.stepper { display: flex; align-items: stretch; gap: 0; }
|
|
.stepper button {
|
|
width: 34px;
|
|
background: transparent;
|
|
border: 1px solid var(--line);
|
|
color: var(--paper-dim);
|
|
font-family: 'Plex Mono', monospace;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: color 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
|
|
}
|
|
.stepper button:hover { color: var(--sodium); border-color: var(--sodium-line); }
|
|
.stepper button:active { background: var(--sodium-soft); }
|
|
.stepper .stepval {
|
|
flex: 1;
|
|
display: grid;
|
|
place-items: center;
|
|
border: 1px solid var(--line);
|
|
border-left: 0; border-right: 0;
|
|
font-family: 'Plex Mono', monospace;
|
|
font-size: 12px;
|
|
color: var(--paper);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
/* 64 colours is a lot of surface; kept small so a palette never outweighs the
|
|
control it belongs to */
|
|
.swatches { display: flex; flex-wrap: wrap; gap: 4px; }
|
|
.swatch {
|
|
width: 13px; height: 13px;
|
|
border: 1px solid var(--line);
|
|
cursor: pointer;
|
|
padding: 0;
|
|
transition: transform 160ms var(--ease), border-color 160ms var(--ease);
|
|
}
|
|
.swatch:hover { transform: scale(1.3); }
|
|
.swatch.on { border-color: var(--sodium); transform: scale(1.3); }
|
|
|
|
.seg { display: flex; gap: 0; margin-bottom: 22px; }
|
|
.seg button {
|
|
flex: 1;
|
|
height: 42px;
|
|
background: transparent;
|
|
border: 1px solid var(--line);
|
|
color: var(--muted);
|
|
font-family: inherit;
|
|
font-size: 12.5px;
|
|
letter-spacing: .05em;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
transition: color 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
|
|
}
|
|
.seg button + button { border-left: 0; }
|
|
.seg button.on {
|
|
color: var(--ink-900);
|
|
background: var(--sodium);
|
|
border-color: var(--sodium);
|
|
}
|
|
.seg button:not(.on):hover { color: var(--paper); }
|
|
|
|
.field textarea {
|
|
width: 100%;
|
|
min-height: 132px;
|
|
padding: 13px 14px;
|
|
background: rgba(20,23,29,.72);
|
|
border: 1px solid var(--line);
|
|
color: var(--paper);
|
|
font-family: inherit;
|
|
font-size: 14.5px;
|
|
line-height: 1.55;
|
|
resize: vertical;
|
|
transition: border-color 220ms var(--ease), background 220ms var(--ease);
|
|
}
|
|
.field textarea:focus {
|
|
outline: none;
|
|
border-color: var(--sodium);
|
|
background: rgba(29,33,42,.85);
|
|
}
|
|
.counter {
|
|
margin-top: 6px;
|
|
text-align: right;
|
|
font-family: 'Plex Mono', monospace;
|
|
font-size: 10.5px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.creator-foot { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 24px; }
|
|
|
|
/* drag surface over the world half */
|
|
.turntable {
|
|
position: fixed;
|
|
top: 0; right: 0; bottom: 0;
|
|
left: clamp(470px, 36vw, 640px);
|
|
z-index: 15;
|
|
cursor: grab;
|
|
}
|
|
.turntable.dragging { cursor: grabbing; }
|
|
|
|
.turnhint {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 46px;
|
|
transform: translateX(-50%);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
padding: 7px 13px;
|
|
border: 1px solid var(--line);
|
|
background: rgba(8,9,11,.55);
|
|
color: var(--paper-dim);
|
|
letter-spacing: .1em;
|
|
text-transform: uppercase;
|
|
font-size: 10px;
|
|
transition: opacity 420ms var(--ease);
|
|
}
|
|
.turntable.dragging .turnhint { opacity: 0; }
|
|
.turnicon {
|
|
width: 13px; height: 13px;
|
|
border: 1px solid currentColor;
|
|
border-radius: 50%;
|
|
border-left-color: transparent;
|
|
border-right-color: transparent;
|
|
animation: turnspin 2.6s linear infinite;
|
|
}
|
|
@keyframes turnspin { to { transform: rotate(360deg); } }
|
|
|
|
/* =========================================================================
|
|
spawn
|
|
========================================================================= */
|
|
|
|
.spawnlist { list-style: none; margin-bottom: 24px; }
|
|
|
|
.spawncard {
|
|
position: relative;
|
|
padding: 15px 17px;
|
|
margin-bottom: 8px;
|
|
border: 1px solid var(--line);
|
|
background: rgba(20,23,29,.55);
|
|
cursor: pointer;
|
|
transition: border-color 240ms var(--ease), background 240ms var(--ease), transform 240ms var(--ease);
|
|
}
|
|
.spawncard:hover { border-color: rgba(232,228,220,.24); transform: translateX(3px); }
|
|
.spawncard.on { border-color: var(--sodium); background: rgba(255,159,69,.07); }
|
|
.spawncard.on::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: -1px; top: -1px; bottom: -1px;
|
|
width: 2px;
|
|
background: var(--sodium);
|
|
}
|
|
.spawnhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
|
|
.spawnname { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
|
|
.spawnarea {
|
|
font-family: 'Plex Mono', monospace;
|
|
font-size: 10px;
|
|
letter-spacing: .14em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
.spawnblurb { margin-top: 5px; font-size: 13px; color: var(--paper-dim); max-width: 42ch; }
|
|
|
|
.chart {
|
|
position: fixed;
|
|
top: 50%;
|
|
right: clamp(40px, 7vw, 130px);
|
|
transform: translateY(-50%);
|
|
width: min(38vw, 44vh);
|
|
aspect-ratio: 1;
|
|
z-index: 18;
|
|
pointer-events: none;
|
|
opacity: 0;
|
|
animation: chartin 900ms var(--ease-out) 260ms forwards;
|
|
}
|
|
@keyframes chartin {
|
|
from { opacity: 0; transform: translateY(-50%) scale(.96); }
|
|
to { opacity: 1; transform: translateY(-50%) scale(1); }
|
|
}
|
|
.chart svg { width: 100%; height: 100%; display: block; }
|
|
|
|
/* the coastline draws itself once, then stays */
|
|
#coastline {
|
|
stroke-dasharray: 1400;
|
|
stroke-dashoffset: 1400;
|
|
animation: draw 2600ms var(--ease-out) 400ms forwards;
|
|
}
|
|
@keyframes draw { to { stroke-dashoffset: 0; } }
|
|
|
|
.pins { position: absolute; inset: 0; }
|
|
|
|
/* The marker rotates; the label must not, so they are separate elements
|
|
inside an unrotated anchor. */
|
|
.pin { position: absolute; width: 0; height: 0; }
|
|
|
|
.pin-mark {
|
|
position: absolute;
|
|
left: -6px; top: -6px;
|
|
width: 12px; height: 12px;
|
|
border: 1px solid var(--sodium-line);
|
|
background: rgba(255,159,69,.16);
|
|
transform: rotate(45deg);
|
|
transition: background 260ms var(--ease), border-color 260ms var(--ease), transform 260ms var(--ease);
|
|
}
|
|
.pin-label {
|
|
position: absolute;
|
|
left: 18px;
|
|
top: -7px;
|
|
white-space: nowrap;
|
|
font-family: 'Plex Mono', monospace;
|
|
font-size: 10px;
|
|
letter-spacing: .12em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
transition: color 260ms var(--ease);
|
|
}
|
|
.pin.on .pin-mark {
|
|
background: var(--sodium);
|
|
border-color: var(--sodium);
|
|
transform: rotate(45deg) scale(1.35);
|
|
}
|
|
.pin.on .pin-label { color: var(--paper); }
|
|
/* pins on the eastern side label leftwards so nothing runs off the sheet */
|
|
.pin.flip .pin-label { left: auto; right: 18px; }
|
|
/* a single ping when selected, not a permanent pulse */
|
|
.pin.on .pin-mark::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: -6px;
|
|
border: 1px solid var(--sodium);
|
|
animation: ping 900ms var(--ease-out);
|
|
}
|
|
|
|
/* survey chart furniture */
|
|
.chart-frame { fill: none; stroke: rgba(232,228,220,.10); }
|
|
.chart-ticks { fill: none; stroke: rgba(255,159,69,.45); stroke-width: 2; }
|
|
.chart-label {
|
|
font-family: 'Plex Mono', monospace;
|
|
font-size: 19px;
|
|
letter-spacing: 3.4px;
|
|
fill: #6e747f;
|
|
text-transform: uppercase;
|
|
}
|
|
@keyframes ping {
|
|
from { opacity: .9; transform: scale(.6); }
|
|
to { opacity: 0; transform: scale(1.9); }
|
|
}
|
|
|
|
/* =========================================================================
|
|
the stamp
|
|
========================================================================= */
|
|
|
|
.stamp {
|
|
position: fixed;
|
|
top: 46%;
|
|
left: 62%;
|
|
z-index: 60;
|
|
padding: 14px 30px;
|
|
border: 3px solid var(--stamp);
|
|
color: var(--stamp);
|
|
font-family: 'Plex Mono', monospace;
|
|
font-weight: 500;
|
|
font-size: 30px;
|
|
letter-spacing: .22em;
|
|
text-transform: uppercase;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transform: translate(-50%, -50%) rotate(-19deg) scale(2.6);
|
|
}
|
|
.stamp::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 4px;
|
|
border: 1px solid var(--stamp);
|
|
opacity: .55;
|
|
}
|
|
.stamp.show { animation: stamp 1500ms var(--ease-out) forwards; }
|
|
@keyframes stamp {
|
|
0% { opacity: 0; transform: translate(-50%,-50%) rotate(-19deg) scale(2.6); }
|
|
38% { opacity: .95; transform: translate(-50%,-50%) rotate(-6deg) scale(.94); }
|
|
48% { transform: translate(-50%,-50%) rotate(-8deg) scale(1.04); }
|
|
58% { transform: translate(-50%,-50%) rotate(-7deg) scale(1); }
|
|
80% { opacity: .95; }
|
|
100% { opacity: 0; transform: translate(-50%,-50%) rotate(-7deg) scale(1); }
|
|
}
|