/* Moss — tokens and components (night garden, home screen 4) */
:root {
  --paper: #E9E6DF; --paper-2: #DEDAD0; --rock: #CFCABF; --ink: #141613; --ink-2: #474A42;
  --moss: #3F7D3A; --moss-t: #2C6128; --dark: #1E3B22; --lichen: #C9D36A; --red: #9A2C20; --char: #6E4312;
  --line: rgba(20, 22, 19, .18); --bg: var(--paper); --fg: var(--ink); --fg-2: var(--ink-2); --acc: var(--moss-t);
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif; --mono: 'Martian Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
.night { --bg: #0E1610; --fg: #E9E6DF; --fg-2: #B5BAA9; --acc: #C9D36A; --line: rgba(233, 230, 223, .18); --paper-2: #16231A; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--moss) var(--paper-2); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.55 var(--serif); font-optical-sizing: auto; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: var(--lichen); color: var(--ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; } ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; line-height: 1.04; letter-spacing: -.022em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); } h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -.01em; }
p { text-wrap: pretty; } .lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; color: var(--fg-2); max-width: 34em; }
.mono, .chip, .hv, .tabs, .btn, .menu, time, dt, dd, output, .moss-tip, label, .coin-m, .coin-s, [data-cd] { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.mono { font-size: .8rem; line-height: 1.5; color: var(--fg-2); }
.w { width: min(1200px, 100% - 48px); margin-inline: auto; }
.sec { padding-block: clamp(64px, 9vw, 128px); }
.sec > .w > h2 + .lead, .sec h2 + .lead { margin-top: 18px; }
canvas { display: block; width: 100%; height: 100%; }
.split > *, .two > *, .you > *, .top > * { min-width: 0; }
em { font-style: italic; }

/* header */
.hd { display: flex; align-items: center; gap: 28px; padding: 16px 24px; position: relative; z-index: 20; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 500 1.45rem/1 var(--serif); letter-spacing: -.02em; }
.tabs { display: flex; gap: 4px; margin-inline: auto; font-size: .8rem; }
.tabs a { padding: 9px 12px; text-decoration: none; border-radius: 999px; color: var(--fg-2); transition: color .2s, background .2s; }
.tabs a:hover { color: var(--fg); background: color-mix(in srgb, var(--fg) 8%, transparent); }
.tabs a[aria-current] { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.hd-act { display: flex; align-items: center; gap: 10px; }
.xbtn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s; }
.xbtn:hover { background: var(--fg); color: var(--bg); }
.btn, .menu { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--fg);
  font-size: .8rem; font-weight: 500; text-decoration: none; cursor: pointer; box-shadow: inset 0 0 0 1px var(--fg); transition: background .25s var(--ease), color .25s, transform .25s var(--ease); }
.btn:hover, .menu:hover { background: var(--fg); color: var(--bg); } .btn:active { transform: translateY(1px); }
.btn-p { background: var(--dark); color: #F3F1EA; box-shadow: none; }
.btn-p:hover { background: var(--ink); color: var(--lichen); }
.night .btn-p { background: var(--lichen); color: var(--ink); } .night .btn-p:hover { background: #E9E6DF; color: var(--ink); }
.btn-l { min-height: 52px; padding: 0 28px; font-size: .82rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; background: none; color: var(--fg); }
.menu { display: none; }
@media (max-width: 900px) {
  .hd { gap: 12px; padding: 12px 16px; flex-wrap: wrap; } .hd-act { margin-left: auto; } .menu { display: inline-flex; padding: 0 14px; } .xbtn { display: none; }
  .tabs { display: none; order: 9; width: 100%; flex-direction: column; margin: 0; padding: 8px 0 4px; border-top: 1px solid var(--line); font-size: .8rem; }
  .hd.open .tabs { display: flex; } .hd.open { background: var(--bg); }
  .w { width: min(1200px, 100% - 32px); }
}

/* status chips */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 500; text-transform: uppercase; white-space: nowrap; color: var(--fg); }
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.chip-delivered { color: var(--acc); } .chip-delivered::before { background: currentColor; }
.chip-burned { color: var(--char); } .chip-burned::before { background: currentColor; border-radius: 1px; transform: rotate(45deg); }
.chip-cancelled { color: var(--red); } .chip-cancelled::before { background: currentColor; border-radius: 0; }
.chip-next::before { background: var(--lichen); box-shadow: inset 0 0 0 1.5px var(--fg); animation: pulse 1.6s ease-in-out infinite; }
.chip-none { color: var(--fg-2); } .chip-none::before { box-shadow: none; border-top: 1.5px solid currentColor; border-radius: 0; height: 0; }
.night .chip-burned { color: #D9A25C; } .night .chip-cancelled { color: #F08A78; }
@keyframes pulse { 50% { transform: scale(1.5); } }

/* harvests: shared cells, laid out per variant */
.hv li { font-size: .75rem; } .hv-t { font-weight: 600; font-size: .82rem; } .hv-w, .hv-n { color: var(--fg-2); } .hv-p { font-weight: 500; } .hv-n { font-size: .75rem; }
.hv-bar { display: block; background: var(--fg); opacity: .16; } .is-delivered .hv-bar { background: var(--moss); opacity: 1; } .is-next .hv-bar { background: var(--lichen); opacity: 1; box-shadow: inset 0 0 0 1px var(--fg); }
.is-burned .hv-bar { background: repeating-linear-gradient(135deg, var(--char) 0 2px, transparent 2px 5px); opacity: 1; }
.hv-track { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 1px solid var(--fg); }
.hv-track li { display: flex; flex-direction: column; gap: 5px; padding: 14px 12px 4px 0; position: relative; }
.hv-track li + li { padding-left: 12px; border-left: 1px solid var(--line); }
.hv-track .hv-bar { height: calc(var(--w) * 120px); margin-top: calc((1 - var(--w)) * 120px + 6px); margin-bottom: 6px; }
.hv-table { display: grid; }
.hv-table li { display: grid; grid-template-columns: 4.6em 5.6em 3.6em 9.5em 1fr; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.hv-table li:first-child { border-top: 1px solid var(--fg); } .hv-table .hv-bar { display: none; } .hv-table .hv-n { text-align: right; }
.hv-stones { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; }
.hv-stones li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 0 10px 0 0; }
.hv-stones canvas { aspect-ratio: 5 / 4; height: auto; margin-bottom: 10px; } .hv-stones .hv-bar { width: 100%; height: 3px; margin: 2px 0 6px; }
@media (max-width: 900px) {
  .hv-track, .hv-stones { grid-template-columns: repeat(8, 132px); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 12px; scrollbar-width: thin; }
  .hv-track li, .hv-stones li { scroll-snap-align: start; }
  .hv-table li { grid-template-columns: 4.2em 1fr auto; gap: 4px 12px; } .hv-table .hv-w { display: none; } .hv-table .hv-n { grid-column: 1 / -1; text-align: left; }
}

/* dev bag */
.bag-bar { display: flex; height: 34px; gap: 2px; } .bag-bar i { min-width: 3px; }
.b-arm { background: var(--dark); } .b-del { background: var(--moss); } .b-bur { background: repeating-linear-gradient(135deg, var(--char) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1px var(--char); }
.b-free { background: var(--rock); box-shadow: inset 0 0 0 1px var(--fg); } .b-sold { background: var(--red); }
.night .b-arm { background: #2F5A34; box-shadow: inset 0 0 0 1px var(--lichen); } .night .b-free { background: #7C7A70; }
.bag-key { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 16px 0 26px; font-size: .75rem; }
.bag-key div { display: flex; gap: 10px; align-items: baseline; } .bag-key dt { color: var(--fg-2); display: flex; gap: 7px; align-items: center; } .bag-key dt i { width: 10px; height: 10px; flex: none; } .bag-key dd { font-weight: 600; }
.bag-log li { display: grid; grid-template-columns: 5.4em 1fr auto; gap: 14px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); font-size: 1rem; }
.bag-log time, .bag-log a { font-size: .75rem; color: var(--fg-2); } .bag-log a:hover { color: var(--acc); }
.bag-log li:first-child span { color: var(--red); } .night .bag-log li:first-child span { color: #F08A78; }
@media (max-width: 600px) { .bag-log li { grid-template-columns: 5.4em 1fr; } .bag-log a { grid-column: 2; } }

/* coins */
.coin { display: grid; gap: 6px; text-decoration: none; padding-bottom: 16px; border-bottom: 1px solid var(--line); transition: border-color .25s; }
.coin canvas { aspect-ratio: 16 / 9; height: auto; background: var(--paper-2); transition: transform .5s var(--ease); margin-bottom: 8px; }
.coin:hover { border-color: var(--fg); } .coin:hover canvas { transform: translateY(-4px); }
.coin-h { display: flex; justify-content: space-between; align-items: baseline; } .coin-h b { font: 500 1.5rem/1.1 var(--serif); letter-spacing: -.015em; } .coin-h i { font: 500 .8rem var(--mono); color: var(--fg-2); }
.coin-m { font-size: .75rem; color: var(--fg-2); } .coin-s { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: .75rem; } .coin-s em { font-style: normal; color: var(--fg-2); }
.coins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
@media (max-width: 900px) { .coins { grid-template-columns: 1fr 1fr; gap: 28px 16px; } } @media (max-width: 520px) { .coins { grid-template-columns: 1fr; } }

/* faq */
.faq details { border-top: 1px solid var(--line); } .faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 1.3rem; line-height: 1.25; letter-spacing: -.01em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 13px; height: 13px; margin-top: 8px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; margin-right: 4px; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); } .faq summary:hover { color: var(--acc); }
.faq p { padding: 0 40px 24px 0; color: var(--fg-2); max-width: 62ch; }

/* studio */
form.stu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; }
.stu label { display: grid; gap: 7px; font-size: .75rem; color: var(--fg-2); align-content: start; }
.stu input, .stu select { min-width: 0; width: 100%; }
.stu input:not([type=range]), .stu select { height: 42px; padding: 0 12px; border: 0; border-radius: 0; box-shadow: inset 0 -1px 0 var(--fg); background: color-mix(in srgb, var(--fg) 5%, transparent); color: var(--fg); font: 500 1.05rem var(--serif); caret-color: var(--moss); }
.stu input:focus-visible, .stu select:focus-visible { outline-offset: 0; }
.stu-slot, .stu-r, .stu-out, .stu-act { grid-column: 1 / -1; }
.slot { display: grid; place-items: center; min-height: 64px; border: 1px dashed var(--fg-2); font-size: .75rem; color: var(--fg-2); text-align: center; padding: 8px; }
.stu output { font-size: .95rem; font-weight: 600; color: var(--fg); } .stu-r { grid-template-columns: auto auto 1fr; align-items: baseline; column-gap: 10px; } .stu-r input { grid-column: 1 / -1; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: linear-gradient(var(--fg), var(--fg)) center / 100% 1px no-repeat; cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--moss); box-shadow: 0 0 0 1.5px var(--fg); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--moss); box-shadow: 0 0 0 1.5px var(--fg); }
.stu-out { font-size: 1.05rem; line-height: 1.5; padding: 14px 0; border-block: 1px solid var(--line); } .stu-out b { font: 600 .82rem var(--mono); }
.stu-act { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 520px) { form.stu { grid-template-columns: repeat(2, minmax(0, 1fr)); } form.stu > label:nth-child(3) { grid-column: 1 / -1; } .stu-r { grid-template-columns: auto 1fr; } .stu-r small { grid-column: 1 / -1; order: 3; } }

/* tooltip, footer, misc */
.moss-tip { position: absolute; z-index: 5; width: 182px; padding: 10px 12px; background: var(--ink); color: #E9E6DF; font-size: .75rem; line-height: 1.6; pointer-events: none; box-shadow: 0 10px 24px -8px rgba(20, 22, 19, .45); }
.moss-tip b { display: block; color: var(--lichen); font-weight: 500; }
.sim { font: 400 .75rem var(--mono); color: var(--fg-2); }
.ft { border-top: 1px solid var(--fg); padding: 56px 0 40px; }
.ft-in { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 32px; }
.ft-a p { margin-top: 14px; color: var(--fg-2); max-width: 30em; font-size: 1rem; }
.ft nav { display: grid; gap: 9px; align-content: start; font: 400 .75rem var(--mono); } .ft nav b { font-weight: 600; margin-bottom: 4px; } .ft nav a { color: var(--fg-2); text-decoration: none; } .ft nav a:hover { color: var(--fg); text-decoration: underline; }
.ft-n { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font: 400 .75rem/1.6 var(--mono); color: var(--fg-2); }
@media (max-width: 900px) { .ft-in { grid-template-columns: 1fr 1fr; } .ft-a { grid-column: 1 / -1; } }
.cd { font: 500 clamp(2rem, 4vw, 3.2rem)/1 var(--mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 0 20px; } .kv > div { display: contents; }
.kv dt, .kv dd { padding: 11px 0; border-top: 1px solid var(--line); font-size: .75rem; } .kv dt { color: var(--fg-2); } .kv dd { font-weight: 600; text-align: right; }
.lose { color: var(--red); } .night .lose { color: #F08A78; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
.hero { text-align: center; padding: clamp(28px, 5vw, 64px) 0 0; }
.hero .mono { font-size: .8rem; }
.hero .cd { display: block; margin: 14px 0 6px; font-size: clamp(3.2rem, 11vw, 6rem); color: var(--lichen); }
.hero h1 { font-size: clamp(2rem, 3.8vw, 3.3rem); margin-top: 34px; }
.hero .lead { margin: 16px auto 26px; max-width: 36em; }
.act { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.gard { position: relative; margin-top: 36px; border-block: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 100%, #1B2E20 0%, #0E1610 70%); }
.gard canvas { height: 400px; } .gard .sim { position: absolute; left: 24px; bottom: 12px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.cell { background: #142019; border: 1px solid var(--line); border-radius: 6px; padding: clamp(18px, 2.4vw, 30px); min-width: 0; }
.cell h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); } .cell > h2 + * { margin-top: 20px; } .cell p { color: var(--fg-2); }
.c-you { grid-column: span 7; grid-row: span 2; display: flex; flex-direction: column; } .c-you canvas { flex: 1; min-height: 260px; height: auto; }
.c-lose { grid-column: span 5; background: var(--lichen); border-color: var(--lichen); color: var(--ink); }
.c-lose p { color: #2B3016; font-size: 1.15rem; line-height: 1.4; } .c-lose .big { font: 500 clamp(3rem, 6vw, 4.6rem)/1 var(--mono); letter-spacing: -.04em; margin: 4px 0 10px; color: var(--ink); }
.c-lose .btn { margin-top: 18px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); } .c-lose .btn:hover { background: var(--ink); color: var(--lichen); }
.c-no { grid-column: span 5; } .c-no .kv { margin-top: 18px; }
.c-hv { grid-column: span 12; } .c-hv .hv-track { border-top-color: var(--line); margin-top: 26px; }
.c-bag { grid-column: span 7; } .c-stu { grid-column: span 5; }
.c-stu .stu form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .c-stu .stu form > label:nth-child(3) { grid-column: 1 / -1; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(330px, 78vw); gap: 20px; overflow-x: auto; padding: 4px 24px 20px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--lichen) #142019; margin-top: 36px; }
.rail .coin { scroll-snap-align: start; } .rail .coin canvas { background: #142019; }
.narrow { width: min(760px, 100% - 48px); margin-inline: auto; } .narrow h2 { text-align: center; margin-bottom: 36px; }
.ft { border-top-color: var(--line); }
@media (max-width: 900px) { .cell { grid-column: 1 / -1 !important; } .gard canvas { height: 300px; } .rail { padding-inline: 16px; } .narrow { width: calc(100% - 32px); } }

/* ---- site pages ---- */
.hero .cd { aria: none; }
.hero p.cd { margin: 14px 0 6px; }
.top { padding-top: clamp(36px, 6vw, 72px); }
.top h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.top h1 + .lead, .top h1 + p { margin-top: 16px; }
.tag { display: inline-flex; align-items: center; padding: 2px 8px; margin-right: 6px; font: 500 .75rem var(--mono); text-transform: uppercase; color: var(--ink); background: var(--lichen); border-radius: 2px; }
.tk { font: 500 .42em var(--mono); color: var(--fg-2); letter-spacing: 0; vertical-align: .35em; }
.coin-hero h1 { margin-top: 18px; font-size: clamp(2.4rem, 6vw, 4.4rem); }
.coin-hero .act { margin-top: 22px; }
.w-addr { word-break: break-all; }
.tweet { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; }
.btn.copied { background: var(--lichen); color: var(--ink); box-shadow: none; }
.none-note { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--fg-2); padding-top: 18px; }
.hv-l { color: var(--acc); margin-left: 4px; } .tx { color: var(--fg-2); }
a.tx:hover { color: var(--acc); }
.bag-h { margin-bottom: 14px; color: var(--fg-2); } .bag-h b { font: 600 1.6rem var(--mono); color: var(--fg); letter-spacing: -.02em; }
.bag-log li:first-child span { color: inherit; } .night .bag-log li:first-child span { color: inherit; }
.bag-log .l-cancel span, .night .bag-log .l-cancel span { color: #F08A78; } .bag-log .l-burned span { color: #D9A25C; }
.c-bag2 { grid-column: span 7; } .c-st { grid-column: span 8; } .c-pr { grid-column: span 4; } .c-pr .mono { margin-top: 16px; word-break: break-word; }
.c-pr dd { word-break: break-all; }
.tbl-w { overflow-x: auto; scrollbar-width: thin; }
.tbl { width: 100%; border-collapse: collapse; font: 400 .75rem var(--mono); font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-weight: 500; color: var(--fg-2); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--fg); white-space: nowrap; }
.tbl td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td.w { white-space: normal; word-break: break-all; min-width: 14em; }
.tbl tr.me td { color: var(--lichen); }
.who { display: grid; gap: 8px; margin-top: 20px; font: 400 .75rem var(--mono); color: #2B3016; }
.who-r { display: flex; flex-wrap: wrap; gap: 8px; }
.who input { flex: 1 1 14em; min-width: 0; height: 40px; padding: 0 12px; border: 0; border-radius: 0; background: rgba(20, 22, 19, .08); box-shadow: inset 0 -1px 0 var(--ink); color: var(--ink); font: 500 .8rem var(--mono); }
.c-lose .who .btn { margin-top: 0; }
.c-lose .kv dt, .c-lose .kv dd { border-top-color: rgba(20, 22, 19, .25); color: var(--ink); }
.c-lose p b { font-family: var(--mono); font-size: .95rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 36px; }
.filters .btn[aria-pressed=true] { background: var(--fg); color: var(--bg); }
.empty { margin-bottom: 28px; }
.coins .coin canvas { background: #142019; }
.narrow-l { width: min(860px, 100% - 48px); margin-inline: auto; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 56px 0 16px; } .prose p { margin-top: 14px; max-width: 40em; color: var(--fg-2); } .prose p.lead { color: var(--fg-2); }
.prose .tbl-w { margin: 20px 0; } .prose .act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.demo { position: relative; margin: 8px 0 18px; } .demo canvas { height: 260px; } .demo .btn { position: absolute; right: 0; bottom: 8px; }
.sub { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 48px 0 18px; }
.more { margin-top: 22px; font: 500 .8rem var(--mono); } .more a { color: var(--acc); }
.kv.wide { margin: 28px 0; max-width: 760px; }
.top .act { display: flex; flex-wrap: wrap; gap: 10px; }
.proof { display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; align-items: center; margin: 32px 0 20px; max-width: 640px; font: 400 .75rem var(--mono); color: var(--fg-2); }
.proof select, .stu select { height: 42px; padding: 0 10px; border: 0; border-radius: 0; background: #142019; color: var(--fg); box-shadow: inset 0 -1px 0 var(--fg); font: 500 .85rem var(--mono); min-width: 0; }
.proof .btn { grid-column: 1 / -1; justify-self: start; }
[data-r=proof] { margin: 8px 0 28px; } [data-r=proof] .ok { color: var(--lichen); } [data-r=proof] .bad { color: #F08A78; }
.steps-l { counter-reset: s; display: grid; gap: 12px; } .steps-l li { counter-increment: s; display: grid; grid-template-columns: 2.4em 1fr; color: var(--fg-2); }
.steps-l li::before { content: counter(s, decimal-leading-zero); font: 500 .8rem/1.9 var(--mono); color: var(--acc); }
/* studio */
.stu-l { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 36px; }
.stu textarea { min-width: 0; width: 100%; padding: 10px 12px; border: 0; border-radius: 0; box-shadow: inset 0 -1px 0 var(--fg); background: color-mix(in srgb, var(--fg) 5%, transparent); color: var(--fg); font: 400 1rem var(--serif); resize: vertical; }
.stu input[type=file] { font: 400 .75rem var(--mono); color: var(--fg-2); }
.stu input[type=file]::file-selector-button { margin-right: 12px; padding: 9px 14px; border: 0; border-radius: 999px; background: none; color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); font: 500 .75rem var(--mono); cursor: pointer; }
.hint { font: 400 .75rem var(--mono); color: var(--fg-2); }
.err { grid-column: 1 / -1; min-height: 1.4em; font: 400 .8rem/1.5 var(--mono); color: #F08A78; } .err .ok { color: var(--lichen); }
.steps { grid-column: 1 / -1; display: grid; } .steps li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 1rem; }
.steps li span:last-child { font: 400 .75rem var(--mono); color: var(--fg-2); } .steps li.done span:last-child { color: var(--lichen); } .steps li.bad span:last-child { color: #F08A78; }
.pv { position: sticky; top: 24px; background: #142019; border: 1px solid var(--line); border-radius: 6px; padding: 18px; display: grid; gap: 16px; }
.pv-banner { aspect-ratio: 3 / 1; background: #0E1610 center / cover; border: 1px dashed var(--line); }
.pv-id { display: flex; gap: 12px; align-items: center; } .pv-id .img { width: 56px; height: 56px; flex: none; border-radius: 50%; background: #0E1610 center / cover; box-shadow: inset 0 0 0 1px var(--line); }
.pv-id b { display: block; font: 500 1.4rem/1.1 var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pv-id div { min-width: 0; }
.pv .hv-table li { grid-template-columns: 4em 1fr auto; gap: 10px; padding: 9px 0; } .pv .hv-table .hv-w, .pv .hv-table .hv-n { display: none; }
form.stu > .err, form.stu > .steps { grid-column: 1 / -1; } .stu-out:empty, .err:empty { display: none; }
@media (max-width: 900px) { .stu-l { grid-template-columns: 1fr; } .pv { position: static; } .narrow-l { width: calc(100% - 32px); } .proof { grid-template-columns: 1fr; } }
/* champ de fichier : l'input natif reste cliquable via le label mais n'est pas dessiné (sa langue est celle du navigateur) */
input.file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); }
.pick { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pick .btn { flex: none; pointer-events: none; }
.pick-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .7; font-size: .85em; }
.stu-slot:focus-within .pick .btn { outline: 2px solid var(--lichen); outline-offset: 2px; }
