:root { --pink: #c2255c; --amber: #e8590c; --green: #2b8a3e; --ink-on-pink: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-scheme="light"]) { --pink: #f06595; --amber: #ffa94d; --green: #69db7c; --ink-on-pink: #1b1e27; } }
.sheet { --pink: var(--accent-ink); --amber: color-mix(in srgb, var(--accent) 55%, var(--surface)); --green: var(--accent); --ink-on-pink: var(--on-accent); }

.sheet { border-bottom: 1px solid var(--line); }
.sheet.lined { border-top: 1px solid var(--line); }
.sheet + .sheet.lined { border-top: 0; }
.sheet .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
@media (max-width: 960px) { .sheet .wrap { grid-template-columns: minmax(0, 1fr); } }
.intro { align-content: start; border-right: 1px solid var(--line); display: grid; padding: 40px 40px 40px 0; }
.intro > div { display: grid; gap: 12px; position: sticky; top: 40px; }
.intro h2 { font-size: clamp(2rem, 3.2vw, 2.6rem); line-height: 1.08; }
.intro .price { color: var(--accent-ink); font-weight: 600; line-height: 1.3; }
.intro p { color: var(--text-muted); font-size: 1.08rem; }
.intro .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 960px) { .intro { border-right: 0; border-bottom: 1px solid var(--line); padding: 44px 0 32px; } }
.cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: -1px; }
@media (max-width: 640px) { .cells { grid-template-columns: minmax(0, 1fr); } }
.cell { border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; min-height: 260px; overflow: hidden; padding: 40px 32px 32px; }
.cell:nth-child(odd):not(.wide) { border-left: 0; }
.cells.shift .cell:nth-child(odd) { border-left: 1px solid var(--line); }
.cells.shift .cell:nth-child(even) { border-left: 0; }
.cell.wide { border-left: 0; grid-column: 1 / -1; }
@media (max-width: 960px) { .cell:nth-child(odd), .cells.shift .cell:nth-child(even) { border-left: 0; } .cells.shift .cell:nth-child(odd) { border-left: 1px solid var(--line); } }
@media (max-width: 640px) { .cell, .cells.shift .cell:nth-child(odd) { border-left: 0; min-height: 0; padding-inline: 0; } }
.cells.shift .cell.wide:nth-child(odd) { border-left: 0; }
.cell h3 { font-size: clamp(1.3rem, 1.8vw, 1.5rem); font-weight: 600; line-height: 1.25; }
.cell > p { color: var(--text-muted); max-width: 28em; }
.cell > :is(div, ul, p):last-child:not(:first-child):not(:nth-child(2)) { margin-top: auto; padding-top: 28px; }

:is(.v-up, .v-msg, .v-clock, .v-who, .v-date, .v-badge, .v-coins, .v-spons, .v-ok, .v-bank, .v-url, .v-from, .v-tree, .v-chat, .v-stack, .v-flow, .v-gantt, .v-wallet, .v-langs, .v-modes) { zoom: .78; }
:is(.when, .v-who span, .diff, .tk, .v-url, .v-from, .v-spons span, .tools span, .today b) { text-box: trim-both cap alphabetic; }
.v-shot { margin: 0 -32px -32px; padding: 28px 32px 0 !important; }
@media (max-width: 640px) { .v-shot { margin: 0 0 -32px; padding: 24px 0 0 !important; } }
.v-shot img { border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; box-shadow: var(--lift); display: block; height: 260px; object-fit: cover; object-position: top left; width: 100%; }
.v-up, .v-date { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; }
.arrow { flex: none; }
.tk { background: var(--accent); border-radius: 8px; color: var(--on-accent); font-size: .92rem; font-weight: 600; padding: 14px 14px; white-space: nowrap; position: relative; -webkit-mask: radial-gradient(circle 7px at 0 50%, transparent 98%, #000) , radial-gradient(circle 7px at 100% 50%, transparent 98%, #000); -webkit-mask-composite: source-in; mask: radial-gradient(circle 7px at 0 50%, transparent 98%, #000), radial-gradient(circle 7px at 100% 50%, transparent 98%, #000); mask-composite: intersect; }
.tk.dim { background: color-mix(in srgb, var(--text) 12%, transparent); color: var(--text-muted); }
.arrow { background: var(--text-muted); height: 2px; position: relative; width: 28px; }
.arrow::after { border-right: 2px solid var(--text-muted); border-top: 2px solid var(--text-muted); content: ""; height: 7px; position: absolute; right: 0; top: -4px; transform: rotate(45deg); width: 7px; }
.diff { background: var(--pink); border-radius: 999px; color: var(--ink-on-pink); font-weight: 700; padding: 8px 12px; transform: rotate(-4deg); }
.v-msg { border: 1px solid var(--line); border-radius: 10px; display: grid; gap: 8px; max-width: 300px; padding: 16px; background: var(--surface); }
.ln { background: color-mix(in srgb, var(--text) 14%, transparent); border-radius: 4px; display: block; height: 8px; }
.w80 { width: 80%; } .w60 { width: 60%; } .w70 { width: 70%; }
.pic { background: linear-gradient(135deg, var(--accent), var(--pink) 60%, var(--amber)); border-radius: 6px; display: block; height: 56px; }
.file { align-items: center; color: var(--text); display: inline-flex; font-size: .85rem; font-weight: 600; gap: 6px; }
.file svg { color: var(--accent); height: 16px; width: 16px; }
.v-clock { align-items: center; display: flex; gap: 12px; }
.face { border: 2px solid var(--line-strong); border-radius: 50%; display: block; flex: none; height: 54px; position: relative; width: 54px; }
.face::after { background: var(--accent); border-radius: 50%; content: ""; height: 6px; left: calc(50% - 3px); position: absolute; top: calc(50% - 3px); width: 6px; }
.face i { background: var(--text-muted); border-radius: 2px; bottom: 50%; left: calc(50% - 1px); position: absolute; transform-origin: bottom center; width: 2px; }
.face .h { height: 13px; transform: rotate(270deg); }
.face .m { background: var(--accent); height: 19px; }
.when { background: var(--accent-weak-2); border-radius: 999px; color: var(--accent-ink); font-weight: 600; padding: 12px 16px; }
.v-who { font-family: var(--display); font-size: 1.35rem; font-weight: 600; line-height: 2; }
.v-who span { border-radius: 8px; display: inline-block; line-height: 1.5; margin: 0 2px 8px 0; padding: 9px 10px; white-space: nowrap; }
.v-who span:nth-child(1) { background: var(--accent-weak-2); color: var(--accent-ink); }
.v-who span:nth-child(2) { background: color-mix(in srgb, var(--pink) 16%, transparent); color: var(--pink); }
.v-who span:nth-child(3) { background: color-mix(in srgb, var(--text-muted) 16%, transparent); color: var(--text); }
.day { border: 1px solid var(--line-strong); border-radius: 10px; display: grid; font-size: .85rem; font-weight: 600; justify-items: center; overflow: hidden; width: 64px; background: var(--surface); }
.day b { font-family: var(--display); font-size: 1.6rem; line-height: 1.6; }
.day::before { background: var(--accent); content: ""; height: 10px; width: 100%; }
.day.dim { opacity: .5; } .day.dim b { text-decoration: line-through; }
.v-badge { align-items: center; display: flex; gap: 22px; }
.badge { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: var(--lift); display: grid; gap: 2px; justify-items: center; padding: 22px 18px 16px; position: relative; transform: rotate(-3deg); width: 150px; }
.badge::before { background: var(--accent); border-radius: 9px 9px 0 0; content: ""; height: 10px; left: 0; position: absolute; right: 0; top: 0; }
.badge .hole { border: 2px solid var(--line-strong); border-radius: 4px; height: 6px; position: absolute; top: 16px; width: 28px; }
.badge b { font-family: var(--display); font-size: 1.15rem; margin-top: 10px; }
.badge small { color: var(--text-muted); }
.tap { display: grid; place-items: center; position: relative; height: 56px; width: 56px; }
.tap i { border: 3px solid var(--pink); border-color: var(--pink) var(--pink) transparent transparent; border-radius: 50%; position: absolute; transform: rotate(45deg); }
.tap i:nth-child(1) { height: 16px; width: 16px; } .tap i:nth-child(2) { height: 32px; width: 32px; opacity: .7; } .tap i:nth-child(3) { height: 50px; width: 50px; opacity: .45; }
.v-coins { display: flex; }
.v-coins span { align-items: center; flex: none; border: 3px solid var(--bg); border-radius: 50%; color: #fff; display: flex; font-family: var(--display); font-size: 1.9rem; font-weight: 700; height: 72px; justify-content: center; margin-right: -16px; width: 72px; }
.v-coins span:nth-child(1) { background: var(--accent); color: var(--on-accent); } .v-coins span:nth-child(n+2) { background: var(--accent-weak-2); color: var(--accent-ink); }
.v-spons { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 340px; }
.v-spons span { align-items: center; border: 1px solid var(--line-strong); border-radius: 8px; display: flex; font-family: var(--display); font-size: .95rem; font-weight: 700; height: 64px; justify-content: center; letter-spacing: -.01em; }
.s1 { color: var(--accent-ink); } .s2 { color: var(--pink); font-style: italic; } .s3 { color: var(--text); text-transform: lowercase; }
.v-ok, .v-stack { align-items: center; display: flex; gap: 10px; }
.av { align-items: center; border: 3px solid var(--bg); border-radius: 50%; color: #fff; display: flex; flex: none; font-size: .9rem; font-weight: 700; height: 52px; justify-content: center; position: relative; width: 52px; }
.av.a1, .av.a4 { background: var(--accent); color: var(--on-accent); } .av.a2, .av.a3 { background: var(--accent-weak-2); color: var(--accent-ink); }
.av i { border: 2px solid var(--bg); border-radius: 50%; bottom: -4px; height: 20px; position: absolute; right: -4px; width: 20px; }
.av i.yes { background: color-mix(in srgb, var(--green) 70%, #000) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.av i.no { background: color-mix(in srgb, var(--text-muted) 70%, #000) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 6l8 8M14 6l-8 8' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.v-stack .av { margin-right: -12px; }
.v-stack .more { color: var(--text-muted); font-weight: 600; margin-left: 22px; }
.v-bank { display: grid; gap: 10px; max-width: 340px; }
.v-bank .row { align-items: center; border: 1px solid var(--line-strong); border-radius: 8px; display: flex; justify-content: space-between; padding: 12px 14px; background: var(--surface); }
.v-bank code { color: var(--text-muted); font-family: var(--mono); font-size: .82rem; }
.v-bank .match { align-items: center; color: var(--green); display: inline-flex; font-weight: 600; gap: 8px; }
.v-bank .match::before { background: var(--green); border-radius: 50%; content: ""; height: 8px; width: 8px; }
.cell.side { align-items: flex-end; flex-direction: row; justify-content: space-between; padding-bottom: 0; }
.cell.side .words { align-self: flex-start; display: grid; gap: 8px; padding-bottom: 32px; }
.cell.side .words p { color: var(--text-muted); max-width: 28em; }
@media (max-width: 640px) { .cell.side { flex-direction: column; align-items: flex-start; } }
.v-url, .v-from { align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; display: inline-flex; font-weight: 600; gap: 10px; padding: 15px 18px; align-self: flex-start; background: var(--surface); }
.lock { border: 2px solid var(--green); border-radius: 3px; flex: none; height: 10px; margin-top: 6px; position: relative; width: 12px; }
.lock::before { border: 2px solid var(--green); border-bottom: 0; border-radius: 6px 6px 0 0; content: ""; height: 7px; left: 0; position: absolute; top: -9px; width: 8px; }
.v-gantt { align-self: stretch; column-gap: 14px; display: grid; grid-template-columns: max-content minmax(0, 1fr); max-width: 420px; position: relative; row-gap: 0; }
.v-gantt .nm { border-bottom: 1px solid var(--line); display: grid; font-size: 1.05rem; font-weight: 600; line-height: 1.25; padding: 10px 0; }
.v-gantt .nm small { color: var(--text-muted); font-size: .9rem; font-weight: 500; }
.v-gantt .tr { border-bottom: 1px solid var(--line); position: relative; }
.v-gantt .nm:nth-last-child(3), .v-gantt .tr:nth-last-child(2) { border-bottom: 0; }
.v-gantt .tr i { border-radius: 4px; height: 14px; position: absolute; top: calc(50% - 7px); }
.v-gantt .done { background: color-mix(in srgb, var(--text-muted) 30%, transparent); }
.v-gantt .live { background: var(--accent); }
.v-gantt .wait { background: color-mix(in srgb, var(--accent) 22%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); mask-image: linear-gradient(to right, #000 75%, transparent); }
.v-gantt > :nth-child(-n+2) { grid-row: 1; } .v-gantt > :nth-child(n+3):nth-child(-n+4) { grid-row: 2; } .v-gantt > :nth-child(n+5):nth-child(-n+6) { grid-row: 3; }
.v-gantt .nm { grid-column: 1; } .v-gantt .tr { grid-column: 2; }
.v-gantt .today { grid-column: 2; grid-row: 1 / 4; pointer-events: none; position: relative; }
.v-gantt .today i { background: var(--text); bottom: 0; left: 52%; position: absolute; top: 0; width: 2px; }
.v-gantt .today b { background: var(--text); border-radius: 4px; bottom: -24px; color: var(--bg); font-size: .85rem; left: 52%; padding: 6px 7px; position: absolute; transform: translateX(-50%); }
.v-gantt { margin-bottom: 22px; }
.v-wallet .pass { align-self: flex-start; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--lift); display: grid; overflow: hidden; width: 320px; }
.v-wallet .top { background: var(--accent); color: var(--on-accent); display: flex; justify-content: space-between; align-items: baseline; padding: 12px 16px; }
.v-wallet .top b { font-family: var(--display); font-size: 1.15rem; }
.v-wallet .top small { font-size: .9rem; opacity: .85; }
.v-wallet .body { align-items: center; display: flex; gap: 16px; justify-content: space-between; padding: 14px 16px; }
.v-wallet .who { display: grid; font-size: 1rem; line-height: 1.25; }
.v-wallet .who small { color: var(--text-muted); font-size: .82rem; }
.v-wallet .who b + small { margin-top: 8px; }
.v-wallet .qr { color: var(--text); flex: none; height: 72px; width: 72px; }
.v-from .k { color: var(--text-muted); font-weight: 500; }
.v-tree { font-family: var(--mono); font-size: .9rem; line-height: 1.8; list-style: none; margin: 0; padding: 0; }
.v-tree .in { color: var(--text-muted); padding-left: 20px; }
.v-tree .in:last-child { color: var(--pink); }
.v-chat { display: grid; gap: 8px; max-width: 320px; }
.v-chat span { border-radius: 14px; font-size: .92rem; padding: 10px 14px; }
.v-chat .q { background: var(--accent); border-bottom-right-radius: 4px; color: var(--on-accent); justify-self: end; }
.v-chat .a { background: color-mix(in srgb, var(--text) 8%, transparent); border-bottom-left-radius: 4px; justify-self: start; }
.v-flow { align-items: center; display: flex; gap: 10px; }
.hub { background: var(--accent); border-radius: 12px; color: var(--on-accent); font-family: var(--display); font-weight: 700; padding: 14px 16px; }
.dots { border-top: 2px dotted var(--text-muted); width: 36px; }
.tools { display: grid; gap: 6px; }
.tools span { border: 1px solid var(--line-strong); border-radius: 999px; font-size: .85rem; font-weight: 600; padding: 7px 12px; background: var(--surface); }
.cell.list ul { display: grid; gap: 9px; list-style: none; margin: 6px 0 0; padding: 0; }
.cell.list li { align-items: start; display: flex; gap: 10px; line-height: 1.35; }
.cell.list li::before { background: var(--accent); content: ""; flex: none; height: 16px; margin-top: 2px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; width: 16px; }
.cell.list { min-height: 0; }
.v-langs { display: flex; flex-wrap: wrap; gap: 8px; max-width: 340px; }
.v-langs span { border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 600; padding: 6px 14px; background: var(--surface); }
.v-langs span:nth-child(1) { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.v-modes { height: 120px; position: relative; width: 220px; }
.v-modes span { align-items: flex-start; border: 1px solid var(--line-strong); border-radius: 10px; display: flex; font-weight: 700; height: 96px; padding: 12px 14px; position: absolute; width: 170px; }
.v-modes .live { background: var(--surface); left: 0; top: 0; }
.v-modes .test { background: color-mix(in srgb, var(--amber) 16%, var(--surface)); border-color: color-mix(in srgb, var(--amber) 45%, transparent); color: var(--text); left: 48px; top: 24px; }
.cell.text { min-height: 0; }
.v-fig { align-items: baseline; display: flex; flex-wrap: wrap; font-family: var(--display); gap: 8px; }
.v-fig b { color: var(--accent-ink); font-size: clamp(2.5rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.v-fig small { color: var(--text-muted); font-family: var(--body); font-size: 1rem; }
.cell.list h3 { font-size: 1.25rem; }
