/* feeNFT — BNB-yellow canvas, ink fee tickets with a perforated stub (the 100 shares). */
@font-face { font-family: "Bricolage"; src: url(fonts/bricolage-grotesque.woff2) format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(fonts/instrument-sans.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JBMono"; src: url(fonts/jetbrains-mono.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
:root {
  --yellow: #F3BA2F; --yellow2: #E2A716; --yellow3: #FFD66B;
  --ink: #16130D; --ink2: #221E15; --ink3: #2E2819; --line-ink: rgba(255, 247, 222, .1); --line-ink2: rgba(255, 247, 222, .18);
  --paper: #FFF7DE; --muted: #BFAE7A; --dim: #857851; --on-yellow: #5F4A0E;
  --burn: #E4432D; --ok: #1FB26B;
  --display: "Bricolage", "Arial Narrow", system-ui, sans-serif; --body: "Instrument", system-ui, sans-serif; --mono: "JBMono", ui-monospace, monospace;
  --r: 20px;
}
* { box-sizing: border-box; }
html { background: var(--yellow); }
body { margin: 0; min-height: 100vh; background: var(--yellow); color: var(--ink); font-family: var(--body); font-size: 15.5px; line-height: 1.5; -webkit-font-smoothing: antialiased; padding-bottom: 84px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: .98; letter-spacing: -.02em; }
h1 { font-size: clamp(44px, 7.4vw, 104px); font-weight: 800; font-stretch: 78%; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; font-stretch: 82%; }
h3 { font-size: 22px; font-weight: 700; font-stretch: 88%; }
.wrap { width: min(1240px, 100% - 32px); margin: 0 auto; }
.sec { padding: 28px 0 8px; }
.mono { font-family: var(--mono); }
.small { font-size: 13px; }
.muted { color: var(--on-yellow); } .muted-ink { color: var(--muted); } .dim { color: var(--dim); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.ink :focus-visible, .ticket :focus-visible, .sheet-ink :focus-visible { outline-color: var(--yellow); }

/* ── preloader ── */
#boot { position: fixed; inset: 0; z-index: 100; background: var(--yellow); display: grid; place-items: center; }
#boot.tear { animation: bootOut .7s cubic-bezier(.7, 0, .2, 1) forwards; }
#boot.tear .boot-ticket { animation: tearUp .7s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes bootOut { 60% { opacity: 1; } to { opacity: 0; visibility: hidden; } }
@keyframes tearUp { 30% { transform: rotate(-2deg) translateY(6px); } to { transform: rotate(-9deg) translateY(-120vh); } }
.boot-ticket { width: min(420px, 86vw); background: var(--ink); color: var(--paper); border-radius: 22px; padding: 26px 28px 22px; position: relative; box-shadow: 0 30px 60px -30px rgba(40, 28, 0, .55); animation: bootIn .45s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes bootIn { from { transform: translateY(40px) scale(.94); opacity: 0; } }
.bt-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--yellow); }
.bt-no b { font-weight: 700; color: var(--paper); }
.bt-word { font-family: var(--display); font-weight: 800; font-stretch: 76%; font-size: 92px; line-height: .9; letter-spacing: -.035em; margin: 26px 0 22px; }
.bt-word span { color: var(--yellow); }
.bt-perf { display: grid; grid-template-columns: repeat(25, 1fr); gap: 4px; position: relative; margin: 0 -28px; padding: 16px 28px; }
.bt-perf::before, .bt-perf::after { content: ""; position: absolute; top: 50%; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); transform: translateY(-50%); }
.bt-perf::before { left: -13px; } .bt-perf::after { right: -13px; }
.bt-perf i { aspect-ratio: 1; border-radius: 50%; background: var(--ink3); transition: background .08s, transform .12s; }
.bt-perf i.on { background: var(--yellow); transform: scale(.7); }
.bt-foot { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); margin-top: 6px; }

/* ── header ── */
.top { position: sticky; top: 10px; z-index: 30; display: flex; align-items: center; gap: 12px; width: min(1240px, 100% - 20px); margin: 10px auto 0; padding: 8px 8px 8px 14px; background: var(--ink); color: var(--paper); border-radius: 18px; box-shadow: 0 16px 34px -22px rgba(40, 28, 0, .7); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand .mark { width: 32px; height: 32px; }
.brand span { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 25px; letter-spacing: -.03em; } .brand b { color: var(--yellow); font-weight: 800; }
.search { flex: 1 1 180px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; background: var(--ink2); border: 1px solid var(--line-ink); min-width: 0; }
.search svg { width: 17px; height: 17px; color: var(--muted); flex: none; } .search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--paper); font: inherit; font-size: 14px; }
.search input::placeholder { color: var(--dim); }
.topnav { display: none; gap: 2px; } @media (min-width: 900px) { .topnav { display: flex; } }
.topnav a { text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--muted); white-space: nowrap; } .topnav a:hover, .topnav a.on { color: var(--paper); background: var(--ink3); }
@media (max-width: 1080px) { .topnav a[href="#/docs"] { display: none; } }
@media (max-width: 520px) { .search { max-width: 44px; padding: 0 12px; } .search:focus-within { max-width: none; } .search input::placeholder { color: transparent; } }
.bnav { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--ink); border-radius: 20px; padding: 8px; box-shadow: 0 -10px 30px -20px rgba(40, 28, 0, .6); }
@media (min-width: 900px) { .bnav { display: none; } }
.bnav a { display: grid; place-items: center; height: 48px; color: var(--muted); border-radius: 14px; } .bnav a.on { color: var(--paper); background: var(--ink3); } .bnav svg { width: 23px; height: 23px; }
.bnav a.go { background: var(--yellow); color: var(--ink); }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 14px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .14s, background .14s, box-shadow .14s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--ink); } .btn:active { transform: translateY(0); box-shadow: none; }
.btn:disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }
.btn-ink { background: var(--ink); color: var(--yellow); } .btn-ink:hover { box-shadow: 0 4px 0 var(--on-yellow); }
.btn-paper { background: var(--paper); color: var(--ink); border-color: var(--paper); height: 40px; border-radius: 12px; } .btn-paper:hover { box-shadow: none; background: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); } .btn-yellow:hover { box-shadow: 0 4px 0 var(--yellow2); }
.ink .btn, .ticket .btn, .sheet-ink .btn { border-color: var(--line-ink2); color: var(--paper); } .ink .btn:hover, .sheet-ink .btn:hover { box-shadow: 0 4px 0 var(--ink3); }
.ink .btn-yellow, .sheet-ink .btn-yellow { color: var(--ink); border-color: var(--yellow); }
.btn-sm { height: 36px; padding: 0 13px; font-size: 13.5px; border-radius: 11px; }

/* ── hero ── */
.hero { display: grid; gap: 30px; padding: 44px 0 20px; align-items: center; }
@media (min-width: 980px) { .hero { grid-template-columns: 1.25fr 1fr; padding-top: 64px; } }
.hero h1 em { font-style: normal; color: var(--paper); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink); }
.hero p { font-size: 18px; max-width: 58ch; margin: 22px 0 0; color: #3b2e08; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hero-ticket { justify-self: center; width: min(430px, 100%); transform: rotate(3deg); transition: transform .4s cubic-bezier(.2, .9, .3, 1.2); }
.hero-ticket:hover { transform: rotate(0deg) translateY(-6px); }
.tape { overflow: hidden; background: var(--ink); color: var(--yellow); font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 12px 0; margin: 34px 0 10px; transform: rotate(-1deg); }
.tape div { display: flex; gap: 44px; white-space: nowrap; width: max-content; animation: tape 36s linear infinite; }
.tape span b { color: var(--paper); font-weight: 700; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ── the fee ticket (card + preview + boot share the look) ── */
.ticket { --notch: var(--yellow); position: relative; display: block; background: var(--ink); color: var(--paper); border-radius: var(--r); text-decoration: none; overflow: hidden;
  -webkit-mask: radial-gradient(circle 13px at 0 var(--cut, 64%), transparent 12.5px, #000 13px) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% var(--cut, 64%), transparent 12.5px, #000 13px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 13px at 0 var(--cut, 64%), transparent 12.5px, #000 13px) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% var(--cut, 64%), transparent 12.5px, #000 13px) right / 51% 100% no-repeat; }
.ticket .t-main { padding: 18px 20px 16px; }
.ticket .t-stub { position: relative; padding: 14px 20px 16px; border-top: 2px dotted rgba(243, 186, 47, .55); background: var(--ink2); transition: transform .35s cubic-bezier(.2, .9, .3, 1.2); transform-origin: 0 0; }
a.ticket { transition: transform .25s cubic-bezier(.2, .9, .3, 1.2); } a.ticket:hover { transform: translateY(-4px) rotate(-.6deg); } a.ticket:hover .t-stub { transform: rotate(1.4deg) translateY(3px); }
.t-row { display: flex; align-items: center; gap: 12px; }
.t-logo { width: 46px; height: 46px; border-radius: 13px; object-fit: cover; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 22px; flex: none; }
.t-id b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 84%; font-size: 24px; letter-spacing: -.02em; line-height: 1.05; } .t-id span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.t-no { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--yellow); text-align: right; }
.t-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.t-nums span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); } .t-nums b { font-family: var(--mono); font-size: 16px; font-weight: 600; }
.t-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 7px; background: var(--ink3); color: var(--paper); white-space: nowrap; }
.tag.burn { background: rgba(228, 67, 45, .18); color: #ff8a75; } .tag.hold { background: rgba(243, 186, 47, .16); color: var(--yellow); } .tag.wait { background: rgba(255, 214, 107, .16); color: var(--yellow3); } .tag.sale { background: rgba(31, 178, 107, .18); color: #6fe3a9; }
.tag svg { width: 11px; height: 11px; }
/* share strip: 100 perforations, colored by who holds them */
.strip { display: grid; grid-template-columns: repeat(50, 1fr); gap: 3px; margin: 10px 0 8px; }
.strip i { aspect-ratio: 1; border-radius: 50%; background: var(--ink3); }
.strip i.h0 { background: var(--yellow); } .strip i.h1 { background: var(--paper); } .strip i.h2 { background: #ff8a75; } .strip i.h3 { background: #6fe3a9; } .strip i.h4 { background: #9db4ff; } .strip i.hx { background: var(--muted); } .strip i.cu { background: var(--yellow3); opacity: .45; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ── sections on yellow ── */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 18px 0 16px; flex-wrap: wrap; }
.sec-head p { margin: 6px 0 0; color: var(--on-yellow); }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); } @media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border: 2px solid var(--ink); border-radius: 18px; padding: 16px 18px; background: var(--yellow3); }
.stat .k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-yellow); } .stat .v { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 40px; line-height: 1.05; margin-top: 4px; } .stat .n { font-size: 13px; color: var(--on-yellow); }
.ink .stat, .sheet-ink .stat { border: 1px solid var(--line-ink); background: var(--ink2); } .ink .stat .k, .sheet-ink .stat .k { color: var(--dim); } .ink .stat .n, .sheet-ink .stat .n { color: var(--muted); }
.steps { display: grid; gap: 14px; counter-reset: s; position: relative; } @media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 20px; border: 2px solid var(--ink); border-radius: 18px; background: var(--paper); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; display: inline-block; background: var(--ink); color: var(--yellow); border-radius: 7px; padding: 3px 8px; margin-bottom: 14px; }
.step p { margin: 8px 0 0; color: #4a3a0d; font-size: 14.5px; }
.list { display: grid; gap: 6px; }
.act { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: var(--ink); color: var(--paper); font-size: 14px; }
.act i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex: none; } .act.collect i { background: #6fe3a9; } .act.sold i, .act.offer i { background: var(--paper); } .act.policy i { background: #ff8a75; }
.act span { flex: 1; min-width: 0; } .act b { color: var(--yellow); } .act time { font-family: var(--mono); font-size: 11.5px; color: var(--dim); white-space: nowrap; } .act a { color: var(--muted); text-decoration: none; }
.live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; } .live i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.empty { padding: 34px 20px; border: 2px dashed var(--ink); border-radius: 18px; text-align: center; font-weight: 600; }
.empty .btn { margin-top: 14px; }
.notice { padding: 12px 16px; border-radius: 14px; background: var(--ink); color: var(--yellow); font-size: 14px; margin-bottom: 18px; }
.tabs { display: flex; gap: 4px; margin: 18px 0; overflow-x: auto; } .tabs a { text-decoration: none; padding: 9px 14px; border-radius: 12px; font-weight: 700; border: 2px solid transparent; } .tabs a.on { background: var(--ink); color: var(--yellow); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button, .seg a { border: 2px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-weight: 700; font-size: 13.5px; padding: 7px 13px; border-radius: 11px; cursor: pointer; text-decoration: none; }
.seg button.on, .seg a.on { background: var(--ink); color: var(--yellow); }
.sheet-ink .seg button { border-color: var(--line-ink2); color: var(--paper); } .sheet-ink .seg button.on { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.rank { display: grid; grid-template-columns: 28px 40px 1fr 90px; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 14px; background: var(--ink); color: var(--paper); text-decoration: none; }
@media (min-width: 760px) { .rank { grid-template-columns: 34px 44px 1fr 110px 110px 120px; } } .rank .opt { display: none; } @media (min-width: 760px) { .rank .opt { display: block; } }
.rank.head { background: transparent; color: var(--on-yellow); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding-top: 0; padding-bottom: 0; }
.rank .n { font-family: var(--mono); color: var(--yellow); } .rank .t-logo { width: 40px; height: 40px; border-radius: 11px; font-size: 18px; } .rank .name { font-weight: 700; } .rank .name small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; } .rank span.v { font-family: var(--mono); }

/* ── ink sheets (forms, claim panels) ── */
.sheet-ink { background: var(--ink); color: var(--paper); border-radius: 22px; padding: 22px; }
.sheet-ink h3 { color: var(--paper); margin-bottom: 12px; }
.sheet-ink .sub, .sheet-ink p { color: var(--muted); }
.f { display: grid; gap: 6px; margin-bottom: 14px; }
.f label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.f input, .f textarea { width: 100%; border: 1px solid var(--line-ink2); border-radius: 12px; background: var(--ink2); color: var(--paper); font: inherit; padding: 12px 14px; outline: none; }
.f input:focus, .f textarea:focus { border-color: var(--yellow); }
.f .hint { color: var(--dim); font-size: 12.5px; }
.two { display: grid; gap: 12px; } @media (min-width: 600px) { .two { grid-template-columns: 1fr 1fr; } }
.logo-pick { display: flex; align-items: center; gap: 14px; }
.logo-pick .ph, .logo-pick img { width: 74px; height: 74px; border-radius: 18px; border: 2px dashed var(--line-ink2); display: grid; place-items: center; color: var(--muted); object-fit: cover; flex: none; font-size: 26px; }
.logo-pick input { font-size: 13px; color: var(--muted); }
.kinds, .pols { display: grid; gap: 8px; }
.kind, .pol { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--line-ink2); border-radius: 14px; cursor: pointer; background: transparent; color: var(--paper); text-align: left; font: inherit; }
.kind.on, .pol.on { border-color: var(--yellow); background: rgba(243, 186, 47, .08); }
.kind i, .pol i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-ink2); margin-top: 2px; } .kind.on i, .pol.on i { border-color: var(--yellow); background: radial-gradient(circle, var(--yellow) 45%, transparent 50%); }
.kind b, .pol b { display: block; } .kind span, .pol span { color: var(--muted); font-size: 13.5px; }
.pol .custom { margin-top: 12px; display: grid; gap: 10px; } .pol .custom label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); } .pol .custom label b { display: inline; color: var(--paper); }
.pol input[type=range] { width: 100%; accent-color: var(--yellow); }
.split { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: 12px; font-size: 14px; color: var(--muted); } .split b { color: var(--paper); font-family: var(--mono); }
.bar { grid-column: 1 / -1; display: flex; height: 10px; border-radius: 8px; overflow: hidden; background: var(--ink3); } .bar i { display: block; height: 100%; background: var(--yellow); } .bar em { display: block; height: 100%; background: var(--burn); }
.msg { min-height: 20px; color: var(--muted); font-size: 14px; margin-top: 10px; } .msg.err { color: #ff8a75; } .msg a { color: var(--yellow); }
/* the create card: form + live ticket */
.create { display: grid; gap: 18px; align-items: start; } @media (min-width: 980px) { .create { grid-template-columns: 1.25fr 1fr; } }
.create .preview { position: sticky; top: 90px; }
.create .preview .ticket { transform: rotate(-1.5deg); }
.create h2 + p { margin: 8px 0 18px; }
.sheet-ink .step-lbl { display: flex; align-items: center; gap: 10px; margin: 22px 0 12px; font-family: var(--display); font-weight: 700; font-stretch: 88%; font-size: 21px; color: var(--paper); }
.sheet-ink .step-lbl:first-child { margin-top: 0; }
.sheet-ink .step-lbl span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; background: var(--yellow); color: var(--ink); border-radius: 7px; padding: 3px 8px; }
/* claim page */
.ch { display: grid; gap: 16px; align-items: start; } @media (min-width: 980px) { .ch { grid-template-columns: 1fr 380px; } }
.c-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.c-head .t-logo { width: 74px; height: 74px; border-radius: 20px; font-size: 32px; }
.c-head h2 { color: var(--paper); } .c-head h2 small { font-family: var(--body); font-weight: 600; font-size: 17px; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.kvl { list-style: none; margin: 0; padding: 0; } .kvl li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-ink); font-size: 14px; } .kvl li:first-child { border-top: 0; }
.kvl code { font-family: var(--mono); font-size: 12.5px; color: var(--muted); } .kvl a { color: var(--yellow); text-decoration: none; } .kvl .you { color: var(--yellow); font-size: 12px; font-weight: 700; margin-left: 6px; }
.polbar { display: flex; height: 14px; border-radius: 8px; overflow: hidden; background: var(--ink3); margin-top: 6px; } .polbar i { background: var(--yellow); } .polbar em { background: var(--burn); }
.polrow { display: flex; justify-content: space-between; margin: 10px 0 6px; color: var(--muted); } .polrow b { color: var(--paper); }
.pending { margin-top: 12px; padding: 14px; border-radius: 14px; background: rgba(243, 186, 47, .1); border: 1px dashed var(--yellow); font-size: 14px; color: var(--muted); } .pending b { color: var(--paper); }
details summary { cursor: pointer; font-weight: 700; padding: 8px 0; color: var(--paper); } details { margin-top: 10px; }
/* ledger: a receipt tape */
.ledger { background: var(--paper); color: var(--ink); border-radius: 18px 18px 0 0; padding: 8px 18px 22px; font-family: var(--mono); font-size: 13px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, radial-gradient(circle 8px at 50% 100%, #000 7.5px, transparent 8px) bottom / 18px 10px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, radial-gradient(circle 8px at 50% 100%, #000 7.5px, transparent 8px) bottom / 18px 10px repeat-x; }
.lrow { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(22, 19, 13, .25); align-items: start; }
.lrow:last-child { border-bottom: 0; } .lrow time { color: #8a7a4a; } .lrow .flow { display: flex; flex-wrap: wrap; gap: 4px 8px; } .lrow .flow b { font-weight: 700; } .lrow .burnt { color: var(--burn); font-weight: 700; } .lrow .warn { color: var(--burn); } .lrow a { color: var(--ink); text-decoration: none; }
@media (max-width: 600px) { .lrow { grid-template-columns: 1fr auto; } .lrow time { grid-column: 1 / -1; } }
.li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--ink); color: var(--paper); text-decoration: none; }
.li span:nth-child(2) { flex: 1; min-width: 0; } .li small { display: block; color: var(--muted); } .li .r { text-align: right; font-family: var(--mono); } .li .t-logo { width: 42px; height: 42px; border-radius: 12px; font-size: 19px; }
.docs { max-width: 72ch; } .docs h3 { margin: 30px 0 8px; } .docs p, .docs li { color: #3b2e08; }
.foot { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding: 40px 0 30px; font-size: 13.5px; } .foot a { text-decoration: none; font-weight: 600; } .foot span { font-family: var(--mono); font-size: 12px; }
/* modal + toast */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(22, 19, 13, .55); padding: 16px; }
.modal-card { width: min(420px, 100%); background: var(--ink); color: var(--paper); border-radius: 22px; padding: 18px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .modal-head .x { border: 0; background: transparent; color: var(--muted); font-size: 26px; cursor: pointer; }
.wopt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; margin-bottom: 6px; border: 1px solid var(--line-ink2); border-radius: 14px; background: var(--ink2); color: var(--paper); font: inherit; font-weight: 600; cursor: pointer; }
.wopt img, .wopt svg { width: 28px; height: 28px; border-radius: 8px; } .wopt small { margin-left: auto; color: var(--muted); font-weight: 400; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 70; background: var(--ink); color: var(--yellow); border-radius: 14px; padding: 12px 16px; font-weight: 700; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .5); max-width: 92vw; }
@media (min-width: 900px) { .toast { bottom: 28px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
.t-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 8px; } .t-foot .mono { color: var(--dim); font-size: 11px; }
