@font-face {
  font-family: Onest;
  src: url('/assets/onest-cyrillic.woff2') format('woff2');
  font-style: normal; font-weight: 400 850; font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Onest;
  src: url('/assets/onest-latin.woff2') format('woff2');
  font-style: normal; font-weight: 400 850; font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2190-2199;
}
:root {
  color-scheme: dark;
  --ground: #171612; --panel: #201f1a; --line: #3b382e; --quiet: #b6b2a6;
  --paper: #f7f3e9; --yellow: #ffda67; --green: #9bc79b;
  background: var(--ground); color: var(--paper);
  font: 16px/1.45 Onest, system-ui, sans-serif;
  scrollbar-color: #67604f var(--ground);
}
* { box-sizing: border-box }
body { margin: 0 }
[hidden] { display: none !important }
::selection { color: #201b0d; background: var(--yellow) }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px }
button,input { font: inherit }
button { cursor: pointer }
.wrap { width: min(1040px, calc(100% - 80px)); margin-inline: auto }
.freshness { display: inline-flex; align-items: center; gap: 8px; color: var(--quiet); font-size: 13px }
.freshness::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #a39e8e }
.freshness[data-state="live"]::before { background: var(--green) }
.freshness[data-state="delayed"]::before { background: var(--yellow) }
.intro {
  display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: 16px;
  margin: 28px 0 24px;
}
.intro h1 {
  display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 26px 32px;
  border: 1px solid #56492c; border-radius: 20px; background: linear-gradient(110deg,#332d1e,#25231c);
  font-size: clamp(36px,4.4vw,54px); line-height: 1.07; letter-spacing: -.035em; font-weight: 620;
}
.intro h1 span { color: #f1e2c5 }
.order-block {
  display: grid; align-content: center; gap: 18px; padding: 26px;
  border: 1px solid #e6bd55; border-radius: 16px; color: #36270e;
  background: linear-gradient(125deg,#ffe391,#ffd15c 65%,#eeb73c);
}
.order-block h2 { margin: 0; font-size: clamp(24px,2.6vw,30px); line-height: 1.2; letter-spacing: -.02em; font-weight: 600 }
.buy {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px;
  padding: 12px 18px; border-radius: 12px; background: #29271e; color: #fff3cc;
  font-size: 18px; line-height: 1.2; font-weight: 600; text-decoration: none;
}
.buy:hover { background: #413b2a }
.buy:active { background: #211f18 }
.buy:focus-visible { outline-color: #45381e }
.buy svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.mc-symbol { display: inline-block; position: relative; flex: none; width: 1.62em; height: 1em; font-size: 16px }
.mc-symbol::before, .mc-symbol::after { content: ''; position: absolute; width: 1em; height: 1em; border-radius: 50% }
.mc-symbol::before { left: 0; background: #eb001b }
.mc-symbol::after { right: 0; background: #f79e1b; background: radial-gradient(circle at -.12em 50%,#ff5f00 0 .5em,#f79e1b .51em) }
.ledger { margin-bottom: 60px }
.tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px }
.tools .choices { margin-right: auto }
.choices { display: flex; flex-wrap: wrap; gap: 3px; border: 1px solid var(--line); background: #1c1b17; padding: 4px; border-radius: 10px }
.choices button { color: var(--quiet); background: transparent; border: 0; border-radius: 6px; padding: 8px 16px; font-size: 14px; font-weight: 550; line-height: 1.15 }
.choices button:hover { color: var(--paper); background: #302e27 }
.choices button[aria-pressed="true"] { background: #3d392f; color: var(--paper) }
.search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 9px; padding-inline: 13px; min-height: 43px; color: var(--quiet); background: #1c1b17 }
.search:focus-within { border-color: var(--yellow) }
.search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round }
.search input { outline: none; color: var(--paper); background: transparent; border: 0; width: 160px; padding: 8px 0; font-size: 14px; caret-color: var(--yellow) }
.search input::placeholder { color: #aaa697 }
.sheet { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden }
table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums }
th { color: var(--quiet); background: #27251e; font-size: 12px; font-weight: 520; padding: 12px 20px }
th:first-child,td:first-child { padding-left: 24px }
th:last-child,td:last-child { padding-right: 24px }
td { border-top: 1px solid #353228; padding: 13px 20px; font-size: 15px }
tbody tr:hover { background: #26241e }
.vendor,.card-info { display: flex; align-items: center; gap: 12px }
.vendor-name { font-weight: 590; overflow-wrap: anywhere; line-height: 1.25 }
.service-logo { display: block; width: 32px; height: 32px; flex: none; border-radius: 6px; object-fit: contain }
.service-initial { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: #363630; color: #dddccf; font-size: 14px; font-weight: 700 }
.service-initial[data-service="Perplexity"] { background: #2b413a; color: #b7dcd1 }
.service-initial:is([data-service="Patreon"],[data-service="Cloudflare"],[data-service="Suno"]) { background: #50382c; color: #edb493 }
.service-initial[data-service="Cursor"] { background: #40364b; color: #d6c9ed }
.card-info { gap: 7px; color: #e5e0d3; font-size: 14px }
.card-unit { color: var(--quiet); font-size: 12px }
.visa-wordmark { width: 45px; height: auto; flex: none; filter: grayscale(1) invert(1) brightness(1.5); mix-blend-mode: screen }
.card-info.mobile-detail { display: none }
.amount,.date-col { text-align: right; white-space: nowrap }
td.amount { font-size: 16px; font-weight: 600 }
.date-col { color: var(--quiet) }
td.date-col { font-size: 14px }
.mobile-detail { display: none }
.empty { text-align: center; padding: 48px 20px; color: var(--quiet) }
.more { display: block; width: 100%; padding: 15px; background: transparent; color: var(--yellow); border: 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 570 }
.more:hover { background: #2c291e }
.more:focus-visible { outline-offset: -4px }
.skip,.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
.skip:focus { z-index: 2; top: 12px; left: 12px; width: auto; height: auto; clip-path: none; color: var(--ground); background: var(--yellow); padding: 10px }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px) }
  .intro { gap: 12px }
  .intro h1, .order-block { padding: 20px }
  .intro h1 { font-size: 34px }
  th,td { padding-inline: 10px }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px) }
  .intro { grid-template-columns: 1fr; gap: 12px; margin: 16px 0 20px }
  .intro h1 { padding: 22px 20px; font-size: clamp(32px,8vw,40px) }
  .order-block { gap: 14px }
  .order-block h2 { font-size: 25px }
  .freshness { font-size: 12px }
  .tools { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "filters filters" "search status"; align-items: center; gap: 10px; margin-bottom: 13px }
  .tools .choices { grid-area: filters; width: fit-content }
  .tools .freshness { grid-area: status; max-width: 120px }
  .tools .search { grid-area: search; min-width: 0 }
  .choices button { padding: 10px 15px }
  .search input { width: 100%; min-width: 0 }
  th:first-child,td:first-child { padding-left: 14px }
  th.amount,td.amount { padding-right: 14px }
  .card-col,.date-col { display: none }
  .vendor { gap: 9px }
  .vendor-name { font-size: 15px }
  .mobile-detail { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: var(--quiet) }
  .card-info.mobile-detail { display: flex; gap: 5px; min-height: 16px }
  .card-info.mobile-detail .visa-wordmark { width: 30px }
  .card-info.mobile-detail .mc-symbol { font-size: 10px }
  td { padding-block: 11px }
  .ledger { margin-bottom: 32px }
}
