@font-face {
font-family: "Fraunces";
font-style: normal;
font-weight: 500 800;
font-display: swap;
src: url("frauncesext.font") format("woff2");
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: "Fraunces";
font-style: normal;
font-weight: 500 800;
font-display: swap;
src: url("fraunces.font") format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: "Outfit";
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url("outfitext.font") format("woff2");
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: "Outfit";
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url("outfit.font") format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
min-height: 100dvh;
color: #fff;
background: #1A1025;
font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
-webkit-tap-highlight-color: transparent;
}
body::before {
content: "";
position: fixed;
inset: 0;
background: linear-gradient(180deg, rgba(26, 16, 37, .45), rgba(26, 16, 37, .78)), url("vaultglow.jpg") center/cover;
z-index: -2;
}
body::after {
content: "";
position: fixed;
inset: 0;
background: url("tileblur.jpg") center/cover;
opacity: .18;
z-index: -1;
pointer-events: none;
}
img { max-width: 100%; display: block; }
button, a { text-decoration: none; }
button {
font-family: inherit;
color: inherit;
cursor: pointer;
appearance: none;
-webkit-appearance: none;
-webkit-tap-highlight-color: transparent;
}
::selection { background: #7C3AED; color: #fff; }
:focus-visible { outline: 2px solid #F2C14E; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: "Fraunces", Palatino, serif; font-weight: 700; margin: 0; }
h1 { font-size: clamp(28px, 7vw, 40px); line-height: 1; }
h2 { font-size: 22px; line-height: 1.15; margin: 2px 0 8px; }
.splash {
position: fixed;
inset: 0;
z-index: 6;
display: grid;
justify-items: center;
align-content: center;
gap: 16px;
background: #1A1025 url("vaultglow.jpg") center/cover;
transition: opacity .4s ease;
}
.splash.out { opacity: 0; pointer-events: none; }
.splash img { width: 128px; height: 128px; object-fit: contain; }
.splash p {
margin: 0;
padding: 0 16px;
text-align: center;
font-family: "Fraunces", Palatino, serif;
font-size: clamp(22px, 7vw, 48px);
font-weight: 700;
white-space: nowrap;
}
.grow {
width: 0;
height: 2px;
background: #F2C14E;
animation: grow 1.5s linear forwards;
}
@keyframes grow { to { width: 148px; } }
.journey {
position: fixed;
inset: 0;
z-index: 5;
display: grid;
grid-template-columns: 72px 1fr;
grid-template-rows: 1fr auto;
background: linear-gradient(180deg, rgba(26, 16, 37, .55), rgba(26, 16, 37, .88)), url("vaultglow.jpg") center/cover;
}
.stitch {
display: flex;
flex-direction: column;
align-items: center;
padding: calc(16px + env(safe-area-inset-top)) 0 calc(16px + env(safe-area-inset-bottom));
border-right: 1px solid rgba(242, 193, 78, .45);
background: rgba(26, 16, 37, .45);
}
.stitch b {
font-family: "Fraunces", Palatino, serif;
color: #F2C14E;
font-size: 22px;
}
.stitch small { color: rgba(255, 255, 255, .72); font-size: 12px; }
.skip {
grid-column: 1 / -1;
min-height: 48px;
border: 0;
border-top: 1px solid #F2C14E;
border-radius: 0;
background: rgba(26, 16, 37, .88);
color: #fff;
font-weight: 600;
letter-spacing: .12em;
text-transform: uppercase;
}
.thread {
flex: 1;
width: 2px;
margin: 10px 0;
background: rgba(255, 255, 255, .18);
position: relative;
min-height: 80px;
}
.thread span {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 0;
background: #F2C14E;
}
.scenebox {
overflow: auto;
padding: calc(20px + env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom));
}
.scene-inner { max-width: 680px; }
.chapter {
margin: 0 0 8px;
font-family: "Fraunces", Palatino, serif;
font-size: clamp(28px, 7vw, 42px);
line-height: 1.05;
}
#note { min-height: 3.2em; line-height: 1.45; color: rgba(255, 255, 255, .9); }
.book {
min-height: 100dvh;
display: grid;
grid-template-columns: 76px 1fr;
}
.spine {
position: sticky;
top: 0;
align-self: start;
min-height: 100dvh;
display: flex;
flex-direction: column;
padding-bottom: env(safe-area-inset-bottom);
background: linear-gradient(180deg, rgba(124, 58, 237, .42), rgba(26, 16, 37, .94));
border-right: 1px solid rgba(242, 193, 78, .4);
z-index: 2;
}
.brandlock { display: grid; place-items: center; padding: calc(12px + env(safe-area-inset-top)) 6px 8px; }
.brandlock img { width: 40px; height: 40px; object-fit: contain; }
.brandlock div { display: none; }
.spine button {
display: block;
width: 100%;
text-align: left;
padding: 16px 8px 12px;
color: rgba(255, 255, 255, .72);
background: transparent;
border: 0;
border-bottom: 2px solid transparent;
border-radius: 0;
font-weight: 600;
font-size: 11px;
letter-spacing: .04em;
text-transform: uppercase;
}
.spine button[aria-current="page"] {
color: #fff;
border-bottom-color: #F2C14E;
}
.sheet {
padding: calc(16px + env(safe-area-inset-top)) 14px calc(28px + env(safe-area-inset-bottom));
min-width: 0;
}
.folio { animation: rise .4s ease; }
@keyframes rise {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: none; }
}
.mast {
display: grid;
grid-template-columns: auto 1fr auto;
gap: 10px;
align-items: center;
margin-bottom: 14px;
}
.mark { width: 48px; height: 48px; object-fit: contain; }
.brand {
margin: 0 0 4px;
color: #F2C14E;
letter-spacing: .12em;
text-transform: uppercase;
font-size: 11px;
font-weight: 600;
}
.daymark { display: grid; justify-items: center; gap: 4px; }
.daymark img { width: 46px; height: 46px; object-fit: contain; }
.lead { margin: 0 0 14px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.foot {
margin: 22px 0 0;
font-size: 11px;
letter-spacing: .03em;
color: rgba(255, 255, 255, .55);
overflow-wrap: anywhere;
}
.plates { display: grid; gap: 12px; }
.plate {
position: relative;
isolation: isolate;
border-radius: 0;
background: rgba(26, 16, 37, .72);
border: 1px solid rgba(242, 193, 78, .72);
box-shadow: inset 0 0 0 4px rgba(26, 16, 37, .65), inset 0 0 0 5px rgba(242, 193, 78, .28);
padding: 14px 14px 12px;
color: #fff;
width: 100%;
text-align: left;
}
.plate::before {
content: "";
position: absolute;
inset: 0;
background: url("tileblur.jpg") center/cover;
opacity: .28;
z-index: -1;
}
.plate.pinned { border-color: #F2C14E; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.tag {
color: #F2C14E;
border: 1px solid rgba(242, 193, 78, .65);
padding: 4px 8px;
font-size: 10px;
letter-spacing: .06em;
text-transform: uppercase;
border-radius: 0;
white-space: nowrap;
}
.pin {
width: 40px;
height: 40px;
display: grid;
place-items: center;
border: 1px solid rgba(242, 193, 78, .7);
background: transparent;
color: #F2C14E;
border-radius: 2px;
flex: 0 0 auto;
}
.pin svg { width: 18px; height: 18px; }
.pin[aria-pressed="true"] { background: #F2C14E; color: #1A1025; }
.line { display: block; margin: 0 0 4px; line-height: 1.45; font-size: 14.5px; }
.plate.mini .lines { display: none; }
.plate.mini.open .lines { display: block; }
.plate.mini .hint { margin: 8px 0 0; color: #F2C14E; }
.plate.mini.open .hint { display: none; }
.stack { display: grid; gap: 10px; }
.ledger, .choices { display: grid; gap: 8px; }
.ledger button, .choice, .go, .next {
width: 100%;
min-height: 48px;
text-align: left;
padding: 12px;
color: #fff;
background: rgba(26, 16, 37, .55);
border: 1px solid rgba(242, 193, 78, .45);
border-radius: 2px;
font-weight: 600;
font-size: 15px;
line-height: 1.3;
}
.ledger button {
display: grid;
grid-template-columns: auto 1fr auto;
gap: 10px;
align-items: center;
}
.ledger button b, .slot b { color: #F2C14E; font-family: "Fraunces", Palatino, serif; }
.ledger button em, .slot em { font-style: normal; color: #F2C14E; }
.ledger button:disabled { opacity: .45; cursor: default; }
.choice.good { background: #7C3AED; border-color: #F2C14E; }
.choice.bad { opacity: .45; }
.choice:disabled { cursor: default; }
.go {
text-align: center;
background: #F2C14E;
color: #1A1025;
border: 0;
margin-top: 14px;
font-weight: 700;
letter-spacing: .03em;
}
.next {
text-align: center;
margin-top: 14px;
background: transparent;
border-color: #F2C14E;
}
.bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; color: rgba(255, 255, 255, .8); }
.strikes { display: flex; gap: 6px; }
.strikes i { width: 28px; height: 3px; background: rgba(255, 255, 255, .25); display: block; }
.strikes i.bad { background: #F2C14E; }
.slots { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.slot {
display: grid;
grid-template-columns: 28px 1fr auto;
gap: 10px;
align-items: center;
border: 1px solid rgba(242, 193, 78, .35);
padding: 8px 10px;
background: rgba(26, 16, 37, .45);
}
.slot.open { border-color: #F2C14E; background: rgba(124, 58, 237, .35); }
.score {
font-family: "Fraunces", Palatino, serif;
font-weight: 700;
font-size: clamp(72px, 20vw, 120px);
color: #F2C14E;
line-height: .85;
margin: 8px 0;
}
.end { display: grid; justify-items: start; gap: 6px; }
.end > img { width: 88px; height: 88px; object-fit: contain; }
.ask {
display: grid;
grid-template-columns: 72px 1fr;
gap: 10px;
align-items: center;
margin: 0 0 12px;
}
.ask img { width: 72px; height: 72px; object-fit: contain; }
.count {
margin: 0 0 4px;
color: #F2C14E;
font-size: 12px;
letter-spacing: .12em;
text-transform: uppercase;
}
.shake { animation: nudge .4s linear; }
@keyframes nudge {
20% { transform: translateX(-6px); }
40% { transform: translateX(6px); }
60% { transform: translateX(-4px); }
80% { transform: translateX(4px); }
}
.stats {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
margin: 0 0 16px;
}
.stats p {
margin: 0;
padding: 10px;
background: rgba(26, 16, 37, .55);
border: 1px solid rgba(242, 193, 78, .35);
}
.stats span {
display: block;
font-size: 11px;
letter-spacing: .05em;
text-transform: uppercase;
color: rgba(255, 255, 255, .7);
}
.stats strong { font-family: "Fraunces", Palatino, serif; font-size: clamp(22px, 6vw, 28px); }
.pips { display: flex; gap: 4px; }
.pips i { width: 14px; height: 4px; background: rgba(255, 255, 255, .22); display: block; }
.pips i.on { background: #F2C14E; }
.notice {
margin: 0 0 12px;
padding: 12px;
border: 1px solid rgba(242, 193, 78, .55);
background: rgba(124, 58, 237, .28);
line-height: 1.45;
}
.tiles { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
.pad {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 8px;
}
.tile, .key {
position: relative;
display: grid;
place-items: center;
border: 0;
background: transparent;
color: #fff;
padding: 0;
}
.tile { width: 68px; height: 68px; }
.key { width: 100%; aspect-ratio: 1; min-height: 52px; }
.tile img, .key img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tile b, .key b {
position: relative;
z-index: 1;
font-family: "Fraunces", Palatino, serif;
font-size: clamp(22px, 6vw, 30px);
font-weight: 700;
}
.note { min-height: 1.4em; color: #F2C14E; }
@media (max-width: 420px) {
.stats { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
.book { grid-template-columns: 250px 1fr; }
.brandlock {
display: flex;
gap: 12px;
align-items: center;
justify-content: flex-start;
padding: calc(22px + env(safe-area-inset-top)) 16px 12px;
}
.brandlock div { display: block; min-width: 0; }
.brandlock strong {
display: block;
font-family: "Fraunces", Palatino, serif;
font-size: 22px;
font-weight: 700;
}
.brandlock em {
display: block;
margin-top: 4px;
font-style: normal;
font-size: 11px;
line-height: 1.35;
color: rgba(255, 255, 255, .62);
overflow-wrap: anywhere;
}
.spine button { font-size: 15px; letter-spacing: .14em; padding: 20px 18px 14px; }
.sheet { padding: 32px 40px 56px; }
.folio { max-width: 880px; }
.plates { grid-template-columns: 1fr 1fr; }
.journey { grid-template-columns: 96px 1fr; }
.scenebox { padding: 40px 48px 56px; }
}
@media (hover: hover) {
.spine button:hover { color: #fff; }
.choice:hover:not(:disabled), .ledger button:hover:not(:disabled) { border-color: #F2C14E; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: .01ms !important;
animation-iteration-count: 1 !important;
transition-duration: .01ms !important;
}
}
