1460 lines
25 KiB
CSS
1460 lines
25 KiB
CSS
:root {
|
|||
|
|
color-scheme: light;
|
||
|
|
--paper: #f7f2e8;
|
||
|
|
--paper-deep: #eee5d5;
|
||
|
|
--surface: #fffdf7;
|
||
|
|
--surface-muted: #f1eadf;
|
||
|
|
--ink: #1f1b16;
|
||
|
|
--ink-soft: #655e55;
|
||
|
|
--ink-faint: #70675d;
|
||
|
|
--cinnabar: #8c2f2b;
|
||
|
|
--cinnabar-strong: #742521;
|
||
|
|
--cinnabar-soft: #f1ded8;
|
||
|
|
--ochre: #765d3e;
|
||
|
|
--outline: #b9aea0;
|
||
|
|
--outline-soft: #ddd3c4;
|
||
|
|
--success: #3e634a;
|
||
|
|
--error: #9b342d;
|
||
|
|
--shadow-soft: 0 12px 32px rgb(50 36 22 / 8%);
|
||
|
|
--shadow-raised: 0 18px 48px rgb(50 36 22 / 15%);
|
||
|
|
--radius-xs: 8px;
|
||
|
|
--radius-sm: 12px;
|
||
|
|
--radius-md: 18px;
|
||
|
|
--radius-lg: 26px;
|
||
|
|
--space-1: 4px;
|
||
|
|
--space-2: 8px;
|
||
|
|
--space-3: 12px;
|
||
|
|
--space-4: 16px;
|
||
|
|
--space-5: 20px;
|
||
|
|
--space-6: 24px;
|
||
|
|
--space-8: 32px;
|
||
|
|
--space-10: 40px;
|
||
|
|
--sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei UI", sans-serif;
|
||
|
|
--serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
|
||
|
|
}
|
||
|
|
|
||
|
|
* {
|
||
|
|
box-sizing: border-box;
|
||
|
|
}
|
||
|
|
|
||
|
|
html {
|
||
|
|
min-width: 320px;
|
||
|
|
background: #d8d0c4;
|
||
|
|
}
|
||
|
|
|
||
|
|
body {
|
||
|
|
min-width: 320px;
|
||
|
|
min-height: 100vh;
|
||
|
|
margin: 0;
|
||
|
|
color: var(--ink);
|
||
|
|
background:
|
||
|
|
radial-gradient(circle at 15% 8%, rgb(255 255 255 / 55%), transparent 26%),
|
||
|
|
linear-gradient(145deg, #e8e1d6, #cec5b7);
|
||
|
|
font-family: var(--sans);
|
||
|
|
font-size: 15px;
|
||
|
|
line-height: 1.6;
|
||
|
|
text-rendering: optimizeLegibility;
|
||
|
|
-webkit-font-smoothing: antialiased;
|
||
|
|
}
|
||
|
|
|
||
|
|
button,
|
||
|
|
textarea,
|
||
|
|
input {
|
||
|
|
font: inherit;
|
||
|
|
}
|
||
|
|
|
||
|
|
button {
|
||
|
|
color: inherit;
|
||
|
|
}
|
||
|
|
|
||
|
|
button:focus-visible,
|
||
|
|
textarea:focus-visible,
|
||
|
|
input:focus-visible,
|
||
|
|
a:focus-visible {
|
||
|
|
outline: 3px solid rgb(140 47 43 / 30%);
|
||
|
|
outline-offset: 3px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.skip-link {
|
||
|
|
position: fixed;
|
||
|
|
z-index: 100;
|
||
|
|
top: 8px;
|
||
|
|
left: 8px;
|
||
|
|
padding: 8px 12px;
|
||
|
|
color: white;
|
||
|
|
background: var(--ink);
|
||
|
|
border-radius: var(--radius-xs);
|
||
|
|
transform: translateY(-150%);
|
||
|
|
}
|
||
|
|
|
||
|
|
.skip-link:focus {
|
||
|
|
transform: translateY(0);
|
||
|
|
}
|
||
|
|
|
||
|
|
.prototype-stage {
|
||
|
|
min-height: 100vh;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-shell {
|
||
|
|
position: relative;
|
||
|
|
width: min(100%, 430px);
|
||
|
|
min-height: 100dvh;
|
||
|
|
margin: 0 auto;
|
||
|
|
overflow: hidden;
|
||
|
|
background:
|
||
|
|
radial-gradient(circle at 20% 25%, rgb(118 93 62 / 3%) 0 1px, transparent 1.5px),
|
||
|
|
radial-gradient(circle at 72% 63%, rgb(118 93 62 / 3%) 0 1px, transparent 1.5px),
|
||
|
|
var(--paper);
|
||
|
|
background-size: 22px 22px, 31px 31px, auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.topbar {
|
||
|
|
position: relative;
|
||
|
|
z-index: 10;
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: 48px 1fr 48px;
|
||
|
|
align-items: center;
|
||
|
|
min-height: calc(60px + env(safe-area-inset-top));
|
||
|
|
padding: env(safe-area-inset-top) 12px 0;
|
||
|
|
border-bottom: 1px solid rgb(185 174 160 / 45%);
|
||
|
|
background: rgb(247 242 232 / 92%);
|
||
|
|
backdrop-filter: blur(14px);
|
||
|
|
}
|
||
|
|
|
||
|
|
.icon-button {
|
||
|
|
display: inline-grid;
|
||
|
|
width: 48px;
|
||
|
|
height: 48px;
|
||
|
|
padding: 0;
|
||
|
|
place-items: center;
|
||
|
|
border: 0;
|
||
|
|
border-radius: 50%;
|
||
|
|
background: transparent;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: background-color 180ms ease, transform 180ms ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.icon-button:hover {
|
||
|
|
background: rgb(118 93 62 / 8%);
|
||
|
|
}
|
||
|
|
|
||
|
|
.icon-button:active {
|
||
|
|
transform: scale(.96);
|
||
|
|
}
|
||
|
|
|
||
|
|
.icon-button svg {
|
||
|
|
width: 22px;
|
||
|
|
height: 22px;
|
||
|
|
fill: none;
|
||
|
|
stroke: currentColor;
|
||
|
|
stroke-linecap: round;
|
||
|
|
stroke-linejoin: round;
|
||
|
|
stroke-width: 1.7;
|
||
|
|
}
|
||
|
|
|
||
|
|
.topbar__back[hidden] {
|
||
|
|
visibility: hidden;
|
||
|
|
display: inline-grid;
|
||
|
|
}
|
||
|
|
|
||
|
|
.wordmark {
|
||
|
|
display: flex;
|
||
|
|
min-width: 0;
|
||
|
|
align-items: baseline;
|
||
|
|
justify-content: center;
|
||
|
|
gap: 8px;
|
||
|
|
white-space: nowrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.wordmark__name {
|
||
|
|
font-family: var(--serif);
|
||
|
|
font-size: 19px;
|
||
|
|
font-weight: 700;
|
||
|
|
letter-spacing: .14em;
|
||
|
|
}
|
||
|
|
|
||
|
|
.wordmark__meta {
|
||
|
|
color: var(--ink-faint);
|
||
|
|
font-size: 10px;
|
||
|
|
font-weight: 600;
|
||
|
|
letter-spacing: .14em;
|
||
|
|
}
|
||
|
|
|
||
|
|
.screen {
|
||
|
|
min-height: calc(100dvh - 60px - env(safe-area-inset-top));
|
||
|
|
outline: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.page {
|
||
|
|
min-height: calc(100dvh - 60px - env(safe-area-inset-top));
|
||
|
|
padding: 24px 20px calc(112px + env(safe-area-inset-bottom));
|
||
|
|
animation: page-in 240ms ease both;
|
||
|
|
}
|
||
|
|
|
||
|
|
.page--compact {
|
||
|
|
padding-top: 18px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.page--welcome {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
justify-content: space-between;
|
||
|
|
padding-top: clamp(36px, 9vh, 72px);
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes page-in {
|
||
|
|
from { opacity: 0; transform: translateY(6px); }
|
||
|
|
to { opacity: 1; transform: translateY(0); }
|
||
|
|
}
|
||
|
|
|
||
|
|
.eyebrow {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 10px;
|
||
|
|
margin: 0 0 12px;
|
||
|
|
color: var(--cinnabar);
|
||
|
|
font-size: 12px;
|
||
|
|
font-weight: 700;
|
||
|
|
letter-spacing: .18em;
|
||
|
|
}
|
||
|
|
|
||
|
|
.eyebrow::before {
|
||
|
|
width: 24px;
|
||
|
|
height: 1px;
|
||
|
|
background: currentColor;
|
||
|
|
content: "";
|
||
|
|
}
|
||
|
|
|
||
|
|
h1,
|
||
|
|
h2,
|
||
|
|
h3,
|
||
|
|
p {
|
||
|
|
margin-top: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
h1,
|
||
|
|
h2,
|
||
|
|
h3,
|
||
|
|
.serif {
|
||
|
|
font-family: var(--serif);
|
||
|
|
}
|
||
|
|
|
||
|
|
h1 {
|
||
|
|
max-width: 9em;
|
||
|
|
margin-bottom: 16px;
|
||
|
|
font-size: clamp(32px, 10vw, 42px);
|
||
|
|
font-weight: 650;
|
||
|
|
line-height: 1.25;
|
||
|
|
letter-spacing: .03em;
|
||
|
|
}
|
||
|
|
|
||
|
|
h2 {
|
||
|
|
margin-bottom: 12px;
|
||
|
|
font-size: 27px;
|
||
|
|
font-weight: 650;
|
||
|
|
line-height: 1.35;
|
||
|
|
}
|
||
|
|
|
||
|
|
h3 {
|
||
|
|
margin-bottom: 8px;
|
||
|
|
font-size: 18px;
|
||
|
|
line-height: 1.45;
|
||
|
|
}
|
||
|
|
|
||
|
|
.lede {
|
||
|
|
max-width: 29em;
|
||
|
|
color: var(--ink-soft);
|
||
|
|
font-size: 16px;
|
||
|
|
line-height: 1.85;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fine-print,
|
||
|
|
.caption {
|
||
|
|
color: var(--ink-faint);
|
||
|
|
font-size: 12px;
|
||
|
|
line-height: 1.65;
|
||
|
|
}
|
||
|
|
|
||
|
|
.quiet {
|
||
|
|
color: var(--ink-soft);
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-mark {
|
||
|
|
position: relative;
|
||
|
|
width: 132px;
|
||
|
|
height: 132px;
|
||
|
|
margin: 30px auto 22px;
|
||
|
|
border: 1px solid rgb(118 93 62 / 23%);
|
||
|
|
border-radius: 50%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-mark::before,
|
||
|
|
.hero-mark::after {
|
||
|
|
position: absolute;
|
||
|
|
left: 32px;
|
||
|
|
width: 68px;
|
||
|
|
height: 8px;
|
||
|
|
background: var(--ink);
|
||
|
|
content: "";
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-mark::before {
|
||
|
|
top: 45px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-mark::after {
|
||
|
|
top: 78px;
|
||
|
|
background: linear-gradient(90deg, var(--ink) 0 43%, transparent 43% 57%, var(--ink) 57%);
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-mark__dot {
|
||
|
|
position: absolute;
|
||
|
|
top: 14px;
|
||
|
|
right: 8px;
|
||
|
|
display: grid;
|
||
|
|
width: 34px;
|
||
|
|
height: 34px;
|
||
|
|
color: white;
|
||
|
|
background: var(--cinnabar);
|
||
|
|
border-radius: var(--radius-xs);
|
||
|
|
font-family: var(--serif);
|
||
|
|
font-size: 15px;
|
||
|
|
place-items: center;
|
||
|
|
transform: rotate(5deg);
|
||
|
|
}
|
||
|
|
|
||
|
|
.principles {
|
||
|
|
display: grid;
|
||
|
|
margin: 26px 0 0;
|
||
|
|
padding: 0;
|
||
|
|
grid-template-columns: repeat(3, 1fr);
|
||
|
|
list-style: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.principles li {
|
||
|
|
padding: 0 10px;
|
||
|
|
color: var(--ink-soft);
|
||
|
|
border-right: 1px solid var(--outline-soft);
|
||
|
|
font-family: var(--serif);
|
||
|
|
font-size: 13px;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.principles li:first-child {
|
||
|
|
padding-left: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.principles li:last-child {
|
||
|
|
padding-right: 0;
|
||
|
|
border-right: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.bottom-action {
|
||
|
|
position: sticky;
|
||
|
|
z-index: 8;
|
||
|
|
bottom: 0;
|
||
|
|
display: grid;
|
||
|
|
gap: 8px;
|
||
|
|
margin: 30px -20px calc(-112px - env(safe-area-inset-bottom));
|
||
|
|
padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
|
||
|
|
background: linear-gradient(to bottom, rgb(247 242 232 / 0%), var(--paper) 18px, var(--paper));
|
||
|
|
}
|
||
|
|
|
||
|
|
.button {
|
||
|
|
display: inline-flex;
|
||
|
|
min-height: 52px;
|
||
|
|
padding: 12px 18px;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
gap: 9px;
|
||
|
|
border: 1px solid transparent;
|
||
|
|
border-radius: var(--radius-sm);
|
||
|
|
font-weight: 650;
|
||
|
|
letter-spacing: .02em;
|
||
|
|
text-decoration: none;
|
||
|
|
cursor: pointer;
|
||
|
|
transition:
|
||
|
|
background-color 180ms ease,
|
||
|
|
border-color 180ms ease,
|
||
|
|
color 180ms ease,
|
||
|
|
transform 180ms ease,
|
||
|
|
box-shadow 180ms ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.button:hover {
|
||
|
|
transform: translateY(-1px);
|
||
|
|
}
|
||
|
|
|
||
|
|
.button:active {
|
||
|
|
transform: translateY(0) scale(.99);
|
||
|
|
}
|
||
|
|
|
||
|
|
.button--primary {
|
||
|
|
color: white;
|
||
|
|
background: var(--cinnabar);
|
||
|
|
box-shadow: 0 8px 22px rgb(140 47 43 / 20%);
|
||
|
|
}
|
||
|
|
|
||
|
|
.button--primary:hover {
|
||
|
|
background: var(--cinnabar-strong);
|
||
|
|
}
|
||
|
|
|
||
|
|
.button--secondary {
|
||
|
|
color: var(--ink);
|
||
|
|
background: var(--surface);
|
||
|
|
border-color: var(--outline);
|
||
|
|
}
|
||
|
|
|
||
|
|
.button--quiet {
|
||
|
|
min-height: 48px;
|
||
|
|
color: var(--ochre);
|
||
|
|
background: transparent;
|
||
|
|
}
|
||
|
|
|
||
|
|
.button--danger-quiet {
|
||
|
|
color: var(--error);
|
||
|
|
background: transparent;
|
||
|
|
border-color: rgb(155 52 45 / 28%);
|
||
|
|
}
|
||
|
|
|
||
|
|
.button:disabled {
|
||
|
|
color: #91877a;
|
||
|
|
background: #ded6c9;
|
||
|
|
border-color: transparent;
|
||
|
|
box-shadow: none;
|
||
|
|
cursor: not-allowed;
|
||
|
|
transform: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.button svg,
|
||
|
|
.text-link svg {
|
||
|
|
width: 18px;
|
||
|
|
height: 18px;
|
||
|
|
fill: none;
|
||
|
|
stroke: currentColor;
|
||
|
|
stroke-linecap: round;
|
||
|
|
stroke-linejoin: round;
|
||
|
|
stroke-width: 1.7;
|
||
|
|
}
|
||
|
|
|
||
|
|
.text-link {
|
||
|
|
display: inline-flex;
|
||
|
|
min-height: 48px;
|
||
|
|
padding: 8px 2px;
|
||
|
|
align-items: center;
|
||
|
|
gap: 6px;
|
||
|
|
color: var(--ochre);
|
||
|
|
background: transparent;
|
||
|
|
border: 0;
|
||
|
|
font-weight: 650;
|
||
|
|
text-decoration: underline;
|
||
|
|
text-decoration-color: rgb(118 93 62 / 35%);
|
||
|
|
text-underline-offset: 4px;
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stepper {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
margin: 0 0 22px;
|
||
|
|
color: var(--ink-faint);
|
||
|
|
font-size: 12px;
|
||
|
|
font-weight: 700;
|
||
|
|
letter-spacing: .1em;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stepper__track {
|
||
|
|
position: relative;
|
||
|
|
height: 2px;
|
||
|
|
flex: 1;
|
||
|
|
overflow: hidden;
|
||
|
|
background: var(--outline-soft);
|
||
|
|
}
|
||
|
|
|
||
|
|
.stepper__track::after {
|
||
|
|
position: absolute;
|
||
|
|
inset: 0 auto 0 0;
|
||
|
|
width: var(--progress, 0%);
|
||
|
|
background: var(--cinnabar);
|
||
|
|
content: "";
|
||
|
|
transition: width 240ms ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.field-label {
|
||
|
|
display: block;
|
||
|
|
margin-bottom: 9px;
|
||
|
|
color: var(--ink-soft);
|
||
|
|
font-size: 13px;
|
||
|
|
font-weight: 700;
|
||
|
|
}
|
||
|
|
|
||
|
|
.question-input {
|
||
|
|
width: 100%;
|
||
|
|
min-height: 184px;
|
||
|
|
padding: 16px;
|
||
|
|
resize: vertical;
|
||
|
|
color: var(--ink);
|
||
|
|
background: rgb(255 253 247 / 72%);
|
||
|
|
border: 1px solid var(--outline);
|
||
|
|
border-radius: var(--radius-md);
|
||
|
|
font-size: 16px;
|
||
|
|
line-height: 1.8;
|
||
|
|
transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.question-input:focus {
|
||
|
|
background: var(--surface);
|
||
|
|
border-color: var(--cinnabar);
|
||
|
|
box-shadow: 0 0 0 4px rgb(140 47 43 / 9%);
|
||
|
|
outline: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.question-input::placeholder {
|
||
|
|
color: #93897c;
|
||
|
|
}
|
||
|
|
|
||
|
|
.field-meta {
|
||
|
|
display: flex;
|
||
|
|
min-height: 28px;
|
||
|
|
margin-top: 6px;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
color: var(--ink-faint);
|
||
|
|
font-size: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.privacy-note,
|
||
|
|
.notice {
|
||
|
|
display: flex;
|
||
|
|
gap: 12px;
|
||
|
|
margin-top: 22px;
|
||
|
|
padding: 14px;
|
||
|
|
color: var(--ink-soft);
|
||
|
|
background: rgb(255 253 247 / 65%);
|
||
|
|
border: 1px solid var(--outline-soft);
|
||
|
|
border-radius: var(--radius-sm);
|
||
|
|
font-size: 13px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.privacy-note svg,
|
||
|
|
.notice svg {
|
||
|
|
width: 20px;
|
||
|
|
height: 20px;
|
||
|
|
flex: 0 0 20px;
|
||
|
|
fill: none;
|
||
|
|
stroke: var(--ochre);
|
||
|
|
stroke-linecap: round;
|
||
|
|
stroke-linejoin: round;
|
||
|
|
stroke-width: 1.6;
|
||
|
|
}
|
||
|
|
|
||
|
|
.privacy-note p,
|
||
|
|
.notice p {
|
||
|
|
margin: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.question-chip {
|
||
|
|
display: block;
|
||
|
|
margin: 2px 0 18px;
|
||
|
|
padding: 10px 13px;
|
||
|
|
overflow: hidden;
|
||
|
|
color: var(--ink-soft);
|
||
|
|
background: rgb(255 253 247 / 62%);
|
||
|
|
border-left: 2px solid var(--outline);
|
||
|
|
font-family: var(--serif);
|
||
|
|
font-size: 13px;
|
||
|
|
text-overflow: ellipsis;
|
||
|
|
white-space: nowrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.casting-layout {
|
||
|
|
display: grid;
|
||
|
|
gap: 18px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-progress-card {
|
||
|
|
display: grid;
|
||
|
|
min-height: 172px;
|
||
|
|
padding: 16px 16px 14px;
|
||
|
|
grid-template-columns: 1fr 118px;
|
||
|
|
align-items: center;
|
||
|
|
gap: 14px;
|
||
|
|
background: rgb(255 253 247 / 58%);
|
||
|
|
border: 1px solid var(--outline-soft);
|
||
|
|
border-radius: var(--radius-md);
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-progress-copy strong {
|
||
|
|
display: block;
|
||
|
|
margin-bottom: 3px;
|
||
|
|
font-family: var(--serif);
|
||
|
|
font-size: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-progress-copy p {
|
||
|
|
margin: 0;
|
||
|
|
color: var(--ink-faint);
|
||
|
|
font-size: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-stack {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-slot {
|
||
|
|
position: relative;
|
||
|
|
display: flex;
|
||
|
|
width: 112px;
|
||
|
|
height: 13px;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
gap: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-slot::before,
|
||
|
|
.line-slot::after {
|
||
|
|
height: 7px;
|
||
|
|
background: var(--outline-soft);
|
||
|
|
border-radius: 1px;
|
||
|
|
content: "";
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-slot::before {
|
||
|
|
flex: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-slot::after {
|
||
|
|
flex: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-slot--yang::before {
|
||
|
|
width: 100%;
|
||
|
|
flex: 0 0 100%;
|
||
|
|
background: var(--ink);
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-slot--yang::after {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-slot--yin::before,
|
||
|
|
.line-slot--yin::after {
|
||
|
|
background: var(--ink);
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-slot--moving::before,
|
||
|
|
.line-slot--moving::after {
|
||
|
|
background: var(--cinnabar);
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-slot--empty {
|
||
|
|
gap: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-slot--empty::before {
|
||
|
|
height: 1px;
|
||
|
|
flex: 1;
|
||
|
|
background: repeating-linear-gradient(90deg, var(--outline-soft) 0 5px, transparent 5px 9px);
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-slot--empty::after {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-slot__number {
|
||
|
|
position: absolute;
|
||
|
|
right: -15px;
|
||
|
|
color: var(--cinnabar);
|
||
|
|
font-size: 9px;
|
||
|
|
font-weight: 800;
|
||
|
|
}
|
||
|
|
|
||
|
|
.coin-prompt {
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.coin-prompt h2 {
|
||
|
|
margin-bottom: 4px;
|
||
|
|
font-size: 22px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.coin-prompt p {
|
||
|
|
margin-bottom: 0;
|
||
|
|
color: var(--ink-faint);
|
||
|
|
font-size: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.coins {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(3, 1fr);
|
||
|
|
gap: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.coin-wrap {
|
||
|
|
display: grid;
|
||
|
|
justify-items: center;
|
||
|
|
gap: 7px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.coin {
|
||
|
|
position: relative;
|
||
|
|
display: grid;
|
||
|
|
width: 82px;
|
||
|
|
height: 82px;
|
||
|
|
padding: 7px;
|
||
|
|
place-items: center;
|
||
|
|
color: var(--ink-soft);
|
||
|
|
background:
|
||
|
|
radial-gradient(circle, var(--surface) 46%, transparent 47%),
|
||
|
|
conic-gradient(from 15deg, #d9c9a9, #f6ead1, #c9b58f, #efe1c2, #d9c9a9);
|
||
|
|
border: 1px solid #bca680;
|
||
|
|
border-radius: 50%;
|
||
|
|
box-shadow: inset 0 0 0 4px rgb(255 253 247 / 52%), 0 5px 14px rgb(66 47 27 / 9%);
|
||
|
|
cursor: pointer;
|
||
|
|
transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.coin::after {
|
||
|
|
position: absolute;
|
||
|
|
inset: 10px;
|
||
|
|
border: 1px solid rgb(118 93 62 / 25%);
|
||
|
|
border-radius: 50%;
|
||
|
|
content: "";
|
||
|
|
}
|
||
|
|
|
||
|
|
.coin:hover {
|
||
|
|
transform: translateY(-2px);
|
||
|
|
box-shadow: inset 0 0 0 4px rgb(255 253 247 / 52%), 0 8px 16px rgb(66 47 27 / 14%);
|
||
|
|
}
|
||
|
|
|
||
|
|
.coin[data-value] {
|
||
|
|
color: var(--ink);
|
||
|
|
}
|
||
|
|
|
||
|
|
.coin[data-value="3"] {
|
||
|
|
color: var(--cinnabar);
|
||
|
|
}
|
||
|
|
|
||
|
|
.coin__value {
|
||
|
|
position: relative;
|
||
|
|
z-index: 1;
|
||
|
|
display: grid;
|
||
|
|
justify-items: center;
|
||
|
|
font-family: var(--serif);
|
||
|
|
font-weight: 700;
|
||
|
|
line-height: 1.1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.coin__face {
|
||
|
|
font-size: 21px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.coin__score {
|
||
|
|
margin-top: 3px;
|
||
|
|
font-family: var(--sans);
|
||
|
|
font-size: 10px;
|
||
|
|
font-weight: 700;
|
||
|
|
}
|
||
|
|
|
||
|
|
.coin-wrap > span {
|
||
|
|
color: var(--ink-faint);
|
||
|
|
font-size: 11px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.round-sum {
|
||
|
|
min-height: 26px;
|
||
|
|
color: var(--ink-soft);
|
||
|
|
font-size: 13px;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.round-sum strong {
|
||
|
|
color: var(--cinnabar);
|
||
|
|
}
|
||
|
|
|
||
|
|
.result-hero {
|
||
|
|
margin: 0 -20px;
|
||
|
|
padding: 22px 20px 26px;
|
||
|
|
background:
|
||
|
|
linear-gradient(180deg, rgb(255 253 247 / 54%), rgb(255 253 247 / 90%)),
|
||
|
|
var(--surface);
|
||
|
|
border-bottom: 1px solid var(--outline-soft);
|
||
|
|
}
|
||
|
|
|
||
|
|
.result-kicker {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
color: var(--ink-faint);
|
||
|
|
font-size: 11px;
|
||
|
|
font-weight: 700;
|
||
|
|
letter-spacing: .08em;
|
||
|
|
}
|
||
|
|
|
||
|
|
.source-badge {
|
||
|
|
display: inline-flex;
|
||
|
|
min-height: 28px;
|
||
|
|
padding: 3px 9px;
|
||
|
|
align-items: center;
|
||
|
|
color: var(--ochre);
|
||
|
|
background: var(--surface-muted);
|
||
|
|
border: 1px solid var(--outline-soft);
|
||
|
|
border-radius: 999px;
|
||
|
|
font-family: var(--sans);
|
||
|
|
font-size: 11px;
|
||
|
|
font-weight: 700;
|
||
|
|
letter-spacing: .04em;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hexagram-pair {
|
||
|
|
display: grid;
|
||
|
|
margin-top: 24px;
|
||
|
|
grid-template-columns: 1fr 32px 1fr;
|
||
|
|
align-items: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hexagram-pair--single {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
justify-items: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hexagram-view {
|
||
|
|
display: grid;
|
||
|
|
justify-items: center;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hexagram-lines {
|
||
|
|
display: flex;
|
||
|
|
width: 96px;
|
||
|
|
margin-bottom: 12px;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hex-line {
|
||
|
|
position: relative;
|
||
|
|
display: flex;
|
||
|
|
width: 96px;
|
||
|
|
height: 9px;
|
||
|
|
gap: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hex-line span {
|
||
|
|
display: block;
|
||
|
|
height: 7px;
|
||
|
|
flex: 1;
|
||
|
|
background: var(--ink);
|
||
|
|
border-radius: 1px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hex-line--yang span:first-child {
|
||
|
|
flex-basis: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hex-line--yang span:last-child {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hex-line--moving span {
|
||
|
|
background: var(--cinnabar);
|
||
|
|
}
|
||
|
|
|
||
|
|
.hex-line--moving::after {
|
||
|
|
position: absolute;
|
||
|
|
top: -5px;
|
||
|
|
right: -14px;
|
||
|
|
color: var(--cinnabar);
|
||
|
|
font-size: 10px;
|
||
|
|
font-weight: 800;
|
||
|
|
content: "动";
|
||
|
|
}
|
||
|
|
|
||
|
|
.hexagram-name {
|
||
|
|
font-family: var(--serif);
|
||
|
|
font-size: 24px;
|
||
|
|
font-weight: 700;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hexagram-number {
|
||
|
|
color: var(--ink-faint);
|
||
|
|
font-size: 11px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.transform-arrow {
|
||
|
|
color: var(--outline);
|
||
|
|
font-family: var(--serif);
|
||
|
|
font-size: 23px;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.static-indicator {
|
||
|
|
display: inline-flex;
|
||
|
|
min-height: 28px;
|
||
|
|
width: max-content;
|
||
|
|
margin: 14px auto 0;
|
||
|
|
padding: 3px 10px;
|
||
|
|
align-items: center;
|
||
|
|
color: var(--success);
|
||
|
|
background: #e7eee6;
|
||
|
|
border-radius: 999px;
|
||
|
|
font-size: 11px;
|
||
|
|
font-weight: 700;
|
||
|
|
}
|
||
|
|
|
||
|
|
.content-section {
|
||
|
|
padding: 25px 0 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-heading {
|
||
|
|
display: flex;
|
||
|
|
margin-bottom: 12px;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
gap: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-heading h2,
|
||
|
|
.section-heading h3 {
|
||
|
|
margin: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-heading h2 {
|
||
|
|
font-size: 21px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.classic-quote {
|
||
|
|
margin: 0;
|
||
|
|
padding: 18px 17px;
|
||
|
|
color: #30271e;
|
||
|
|
background: rgb(255 253 247 / 72%);
|
||
|
|
border: 1px solid var(--outline-soft);
|
||
|
|
border-left: 3px solid var(--ochre);
|
||
|
|
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
|
||
|
|
font-family: var(--serif);
|
||
|
|
font-size: 16px;
|
||
|
|
line-height: 2;
|
||
|
|
}
|
||
|
|
|
||
|
|
.plain-copy {
|
||
|
|
color: var(--ink-soft);
|
||
|
|
font-size: 15px;
|
||
|
|
line-height: 1.9;
|
||
|
|
}
|
||
|
|
|
||
|
|
.plain-copy p:last-child,
|
||
|
|
.content-card p:last-child {
|
||
|
|
margin-bottom: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.moving-card,
|
||
|
|
.content-card,
|
||
|
|
.error-card {
|
||
|
|
padding: 17px;
|
||
|
|
background: rgb(255 253 247 / 72%);
|
||
|
|
border: 1px solid var(--outline-soft);
|
||
|
|
border-radius: var(--radius-md);
|
||
|
|
}
|
||
|
|
|
||
|
|
.moving-card {
|
||
|
|
border-top: 3px solid var(--cinnabar);
|
||
|
|
}
|
||
|
|
|
||
|
|
.moving-card__label {
|
||
|
|
margin-bottom: 5px;
|
||
|
|
color: var(--cinnabar);
|
||
|
|
font-size: 11px;
|
||
|
|
font-weight: 800;
|
||
|
|
letter-spacing: .12em;
|
||
|
|
}
|
||
|
|
|
||
|
|
.error-card {
|
||
|
|
margin-top: 18px;
|
||
|
|
background: #fff8f5;
|
||
|
|
border-color: #e4b9b3;
|
||
|
|
}
|
||
|
|
|
||
|
|
.error-card h3 {
|
||
|
|
color: var(--error);
|
||
|
|
}
|
||
|
|
|
||
|
|
.error-actions {
|
||
|
|
display: grid;
|
||
|
|
margin-top: 14px;
|
||
|
|
grid-template-columns: 1fr 1fr;
|
||
|
|
gap: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.divider {
|
||
|
|
height: 1px;
|
||
|
|
margin: 27px 0 0;
|
||
|
|
background: var(--outline-soft);
|
||
|
|
border: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.interpretation-header {
|
||
|
|
margin-bottom: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.interpretation-header h1 {
|
||
|
|
max-width: none;
|
||
|
|
margin-bottom: 9px;
|
||
|
|
font-size: 30px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.interpretation-meta {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 9px;
|
||
|
|
color: var(--ink-faint);
|
||
|
|
font-size: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.interpretation-lead {
|
||
|
|
margin: 0 -4px 20px;
|
||
|
|
padding: 20px;
|
||
|
|
background: var(--cinnabar-soft);
|
||
|
|
border-radius: var(--radius-md);
|
||
|
|
font-family: var(--serif);
|
||
|
|
font-size: 18px;
|
||
|
|
line-height: 1.8;
|
||
|
|
}
|
||
|
|
|
||
|
|
.reflection-list {
|
||
|
|
margin: 0;
|
||
|
|
padding-left: 1.25em;
|
||
|
|
color: var(--ink-soft);
|
||
|
|
}
|
||
|
|
|
||
|
|
.reflection-list li {
|
||
|
|
margin-bottom: 10px;
|
||
|
|
padding-left: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.question-list {
|
||
|
|
display: grid;
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
gap: 10px;
|
||
|
|
counter-reset: reflection;
|
||
|
|
list-style: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.question-list li {
|
||
|
|
display: grid;
|
||
|
|
padding: 14px;
|
||
|
|
grid-template-columns: 30px 1fr;
|
||
|
|
gap: 10px;
|
||
|
|
color: var(--ink-soft);
|
||
|
|
background: rgb(255 253 247 / 66%);
|
||
|
|
border: 1px solid var(--outline-soft);
|
||
|
|
border-radius: var(--radius-sm);
|
||
|
|
counter-increment: reflection;
|
||
|
|
}
|
||
|
|
|
||
|
|
.question-list li::before {
|
||
|
|
display: grid;
|
||
|
|
width: 28px;
|
||
|
|
height: 28px;
|
||
|
|
color: var(--cinnabar);
|
||
|
|
background: var(--cinnabar-soft);
|
||
|
|
border-radius: 50%;
|
||
|
|
content: counter(reflection, cjk-ideographic);
|
||
|
|
font-family: var(--serif);
|
||
|
|
font-size: 12px;
|
||
|
|
font-weight: 700;
|
||
|
|
place-items: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.small-step {
|
||
|
|
position: relative;
|
||
|
|
overflow: hidden;
|
||
|
|
padding: 20px;
|
||
|
|
color: #fffdf7;
|
||
|
|
background: #2e342d;
|
||
|
|
border-radius: var(--radius-md);
|
||
|
|
}
|
||
|
|
|
||
|
|
.small-step::after {
|
||
|
|
position: absolute;
|
||
|
|
right: -25px;
|
||
|
|
bottom: -42px;
|
||
|
|
width: 120px;
|
||
|
|
height: 120px;
|
||
|
|
border: 1px solid rgb(255 255 255 / 13%);
|
||
|
|
border-radius: 50%;
|
||
|
|
content: "";
|
||
|
|
}
|
||
|
|
|
||
|
|
.small-step__label {
|
||
|
|
margin-bottom: 8px;
|
||
|
|
color: #d8b18b;
|
||
|
|
font-size: 11px;
|
||
|
|
font-weight: 800;
|
||
|
|
letter-spacing: .12em;
|
||
|
|
}
|
||
|
|
|
||
|
|
.small-step p {
|
||
|
|
position: relative;
|
||
|
|
z-index: 1;
|
||
|
|
margin: 0;
|
||
|
|
font-family: var(--serif);
|
||
|
|
font-size: 17px;
|
||
|
|
line-height: 1.8;
|
||
|
|
}
|
||
|
|
|
||
|
|
.safety-note {
|
||
|
|
margin: 22px 0 0;
|
||
|
|
color: var(--ink-faint);
|
||
|
|
font-size: 12px;
|
||
|
|
line-height: 1.7;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-backdrop {
|
||
|
|
position: fixed;
|
||
|
|
z-index: 40;
|
||
|
|
inset: 0;
|
||
|
|
display: flex;
|
||
|
|
padding: 18px;
|
||
|
|
align-items: flex-end;
|
||
|
|
justify-content: center;
|
||
|
|
background: rgb(31 27 22 / 48%);
|
||
|
|
backdrop-filter: blur(2px);
|
||
|
|
animation: fade-in 180ms ease both;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-sheet {
|
||
|
|
width: min(100%, 430px);
|
||
|
|
max-height: min(88dvh, 720px);
|
||
|
|
padding: 12px 20px calc(20px + env(safe-area-inset-bottom));
|
||
|
|
overflow: auto;
|
||
|
|
background: var(--surface);
|
||
|
|
border: 1px solid rgb(255 255 255 / 60%);
|
||
|
|
border-radius: 24px 24px 18px 18px;
|
||
|
|
box-shadow: var(--shadow-raised);
|
||
|
|
animation: sheet-in 240ms cubic-bezier(.2, .8, .2, 1) both;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-handle {
|
||
|
|
width: 42px;
|
||
|
|
height: 4px;
|
||
|
|
margin: 0 auto 16px;
|
||
|
|
background: var(--outline-soft);
|
||
|
|
border-radius: 999px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-header {
|
||
|
|
display: grid;
|
||
|
|
margin-bottom: 16px;
|
||
|
|
grid-template-columns: 1fr 48px;
|
||
|
|
align-items: start;
|
||
|
|
gap: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-header h2 {
|
||
|
|
margin: 0;
|
||
|
|
font-size: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-header p {
|
||
|
|
margin: 6px 0 0;
|
||
|
|
color: var(--ink-soft);
|
||
|
|
font-size: 13px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.option-list {
|
||
|
|
display: grid;
|
||
|
|
gap: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.option-card {
|
||
|
|
display: grid;
|
||
|
|
width: 100%;
|
||
|
|
min-height: 80px;
|
||
|
|
padding: 14px;
|
||
|
|
grid-template-columns: 42px 1fr 22px;
|
||
|
|
align-items: center;
|
||
|
|
gap: 12px;
|
||
|
|
color: var(--ink);
|
||
|
|
background: var(--paper);
|
||
|
|
border: 1px solid var(--outline-soft);
|
||
|
|
border-radius: var(--radius-sm);
|
||
|
|
text-align: left;
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.option-card:hover {
|
||
|
|
border-color: var(--outline);
|
||
|
|
background: #f3ecdf;
|
||
|
|
}
|
||
|
|
|
||
|
|
.option-card__icon {
|
||
|
|
display: grid;
|
||
|
|
width: 42px;
|
||
|
|
height: 42px;
|
||
|
|
color: var(--cinnabar);
|
||
|
|
background: var(--cinnabar-soft);
|
||
|
|
border-radius: 50%;
|
||
|
|
font-family: var(--serif);
|
||
|
|
font-weight: 700;
|
||
|
|
place-items: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.option-card strong,
|
||
|
|
.option-card small {
|
||
|
|
display: block;
|
||
|
|
}
|
||
|
|
|
||
|
|
.option-card small {
|
||
|
|
margin-top: 2px;
|
||
|
|
color: var(--ink-faint);
|
||
|
|
font-size: 11px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.option-card svg {
|
||
|
|
width: 20px;
|
||
|
|
height: 20px;
|
||
|
|
fill: none;
|
||
|
|
stroke: var(--outline);
|
||
|
|
stroke-linecap: round;
|
||
|
|
stroke-linejoin: round;
|
||
|
|
stroke-width: 1.7;
|
||
|
|
}
|
||
|
|
|
||
|
|
.data-list {
|
||
|
|
margin: 16px 0;
|
||
|
|
padding: 15px 15px 15px 34px;
|
||
|
|
color: var(--ink-soft);
|
||
|
|
background: var(--paper);
|
||
|
|
border-radius: var(--radius-sm);
|
||
|
|
font-size: 13px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.data-list li + li {
|
||
|
|
margin-top: 7px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.consent-check {
|
||
|
|
display: grid;
|
||
|
|
min-height: 56px;
|
||
|
|
padding: 10px 0;
|
||
|
|
grid-template-columns: 24px 1fr;
|
||
|
|
align-items: start;
|
||
|
|
gap: 10px;
|
||
|
|
color: var(--ink-soft);
|
||
|
|
font-size: 13px;
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.consent-check input {
|
||
|
|
width: 20px;
|
||
|
|
height: 20px;
|
||
|
|
margin: 2px 0 0;
|
||
|
|
accent-color: var(--cinnabar);
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-actions {
|
||
|
|
display: grid;
|
||
|
|
margin-top: 14px;
|
||
|
|
gap: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.method-steps {
|
||
|
|
display: grid;
|
||
|
|
margin: 8px 0 18px;
|
||
|
|
padding: 0;
|
||
|
|
gap: 12px;
|
||
|
|
counter-reset: method;
|
||
|
|
list-style: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.method-steps li {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: 34px 1fr;
|
||
|
|
gap: 11px;
|
||
|
|
color: var(--ink-soft);
|
||
|
|
counter-increment: method;
|
||
|
|
}
|
||
|
|
|
||
|
|
.method-steps li::before {
|
||
|
|
display: grid;
|
||
|
|
width: 30px;
|
||
|
|
height: 30px;
|
||
|
|
color: white;
|
||
|
|
background: var(--ochre);
|
||
|
|
border-radius: 50%;
|
||
|
|
content: counter(method);
|
||
|
|
font-size: 12px;
|
||
|
|
font-weight: 800;
|
||
|
|
place-items: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.score-table {
|
||
|
|
display: grid;
|
||
|
|
margin: 18px 0;
|
||
|
|
grid-template-columns: 1fr 1fr;
|
||
|
|
overflow: hidden;
|
||
|
|
border: 1px solid var(--outline-soft);
|
||
|
|
border-radius: var(--radius-sm);
|
||
|
|
}
|
||
|
|
|
||
|
|
.score-table div {
|
||
|
|
padding: 12px;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.score-table div + div {
|
||
|
|
border-left: 1px solid var(--outline-soft);
|
||
|
|
}
|
||
|
|
|
||
|
|
.score-table strong,
|
||
|
|
.score-table span {
|
||
|
|
display: block;
|
||
|
|
}
|
||
|
|
|
||
|
|
.score-table strong {
|
||
|
|
font-family: var(--serif);
|
||
|
|
font-size: 19px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.score-table span {
|
||
|
|
color: var(--ink-faint);
|
||
|
|
font-size: 11px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.loading-state {
|
||
|
|
display: grid;
|
||
|
|
min-height: 280px;
|
||
|
|
align-content: center;
|
||
|
|
justify-items: center;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.loading-orbit {
|
||
|
|
position: relative;
|
||
|
|
width: 84px;
|
||
|
|
height: 84px;
|
||
|
|
margin-bottom: 22px;
|
||
|
|
border: 1px solid var(--outline-soft);
|
||
|
|
border-radius: 50%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.loading-orbit::before {
|
||
|
|
position: absolute;
|
||
|
|
top: -4px;
|
||
|
|
left: 37px;
|
||
|
|
width: 9px;
|
||
|
|
height: 9px;
|
||
|
|
background: var(--cinnabar);
|
||
|
|
border-radius: 50%;
|
||
|
|
content: "";
|
||
|
|
transform-origin: 5px 46px;
|
||
|
|
animation: orbit 1.4s linear infinite;
|
||
|
|
}
|
||
|
|
|
||
|
|
.loading-orbit::after {
|
||
|
|
position: absolute;
|
||
|
|
inset: 25px 20px;
|
||
|
|
border-top: 5px solid var(--ink);
|
||
|
|
border-bottom: 5px solid var(--ink);
|
||
|
|
content: "";
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes fade-in {
|
||
|
|
from { opacity: 0; }
|
||
|
|
to { opacity: 1; }
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes sheet-in {
|
||
|
|
from { transform: translateY(24px); opacity: 0; }
|
||
|
|
to { transform: translateY(0); opacity: 1; }
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes orbit {
|
||
|
|
to { transform: rotate(360deg); }
|
||
|
|
}
|
||
|
|
|
||
|
|
.toast-region {
|
||
|
|
position: fixed;
|
||
|
|
z-index: 60;
|
||
|
|
right: 16px;
|
||
|
|
bottom: calc(20px + env(safe-area-inset-bottom));
|
||
|
|
left: 16px;
|
||
|
|
display: grid;
|
||
|
|
justify-items: center;
|
||
|
|
pointer-events: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.toast {
|
||
|
|
padding: 10px 14px;
|
||
|
|
color: white;
|
||
|
|
background: rgb(31 27 22 / 93%);
|
||
|
|
border-radius: 999px;
|
||
|
|
box-shadow: var(--shadow-soft);
|
||
|
|
font-size: 12px;
|
||
|
|
animation: toast-in 180ms ease both;
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes toast-in {
|
||
|
|
from { opacity: 0; transform: translateY(8px); }
|
||
|
|
to { opacity: 1; transform: translateY(0); }
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (min-width: 560px) {
|
||
|
|
.prototype-stage {
|
||
|
|
display: grid;
|
||
|
|
min-height: 100vh;
|
||
|
|
padding: 28px;
|
||
|
|
place-items: start center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-shell {
|
||
|
|
min-height: min(792px, calc(100vh - 56px));
|
||
|
|
border: 1px solid rgb(97 78 59 / 24%);
|
||
|
|
border-radius: 28px;
|
||
|
|
box-shadow: 0 28px 70px rgb(47 36 25 / 22%);
|
||
|
|
}
|
||
|
|
|
||
|
|
.screen,
|
||
|
|
.page {
|
||
|
|
min-height: calc(min(792px, 100vh - 56px) - 60px);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 350px) {
|
||
|
|
.page {
|
||
|
|
padding-right: 16px;
|
||
|
|
padding-left: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.bottom-action {
|
||
|
|
margin-right: -16px;
|
||
|
|
margin-left: -16px;
|
||
|
|
padding-right: 16px;
|
||
|
|
padding-left: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.coin {
|
||
|
|
width: 76px;
|
||
|
|
height: 76px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-progress-card {
|
||
|
|
grid-template-columns: 1fr 110px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (prefers-reduced-motion: reduce) {
|
||
|
|
*,
|
||
|
|
*::before,
|
||
|
|
*::after {
|
||
|
|
scroll-behavior: auto !important;
|
||
|
|
animation-duration: .01ms !important;
|
||
|
|
animation-iteration-count: 1 !important;
|
||
|
|
transition-duration: .01ms !important;
|
||
|
|
}
|
||
|
|
}
|