:root {
  color-scheme: light dark;
  --line: #8885;
  --soft: #8881;
  --on-color: #ffffff;
  --on-yellow: #2a2300;
  --blue-a: #2a62d0;    --blue-b: #1d4aa8;
  --member-a: #3563c4;  --member-b: #27489c;
  --green-a: #1f7a45;   --green-b: #14532d;
  --orange-a: #b45309;  --orange-b: #92400e;
  --purple-a: #7a52c7;  --purple-b: #5b3aa0;
  --purple2-a: #6f47bd; --purple2-b: #52329a;
  --yellow-a: #f4cf3a;  --yellow-b: #d5a90f;
  --chip-type-bg: #ffffff;
  --chip-type-text: #1b1b1b;
  --side: #232326;
  --side-text: #c8c8ce;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { font-family: system-ui, sans-serif; line-height: 1.45; max-width: 64rem; margin: 2rem auto 4rem; padding: 0 1rem; }
h1 { margin-bottom: 0.25rem; }
.lede { margin-top: 0; }
.nav { font-size: 14px; }
.note { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wallet { display: flex; min-height: 660px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 13px; }
.side { width: 76px; flex: none; background: var(--side); display: flex; flex-direction: column; align-items: center; padding: 12px 0; gap: 6px; }
.side button { width: 62px; padding: 9px 0 7px; border: 0; border-radius: 10px; background: transparent; color: var(--side-text); font: inherit; font-size: 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.side button svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.side button[aria-current="page"] { background: #3a3a40; color: #fff; }
.side button:focus-visible { outline: 2px solid #8db8ff; outline-offset: 2px; }
.main { flex: 1; min-width: 0; padding: 14px 18px 18px; }

.top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.timers { display: flex; gap: 8px; flex-wrap: wrap; }
.timer { display: flex; align-items: center; gap: 7px; background: var(--soft); border: 1px solid var(--line); border-radius: 99px; padding: 5px 11px 5px 8px; font-size: 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-a); }
.dot.green { background: var(--green-a); }
.dot.orange { background: var(--orange-a); }
.dot.purple { background: var(--purple-a); }
.dot.none { display: none; }
.sim { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11px; }
.btn, .sim button { font: inherit; font-size: 12px; color: inherit; background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; cursor: pointer; }
.sim button.dashed { border-style: dashed; }
.btn:focus-visible, .sim button:focus-visible, .ext:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

#banner { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.ask { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--yellow-b); background: #d5a90f22; border-radius: 8px; font-size: 13px; }

h3 { margin: 0 0 3px; font-size: 18px; }
h4 { margin: 20px 0 2px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; }
.sub { margin: 0 0 12px; font-size: 12px; max-width: 780px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 14px; }

.c { position: relative; display: flex; flex-direction: column; min-height: 178px; padding: 14px 15px 12px; border-radius: 14px; color: var(--on-color); box-shadow: 0 2px 6px #0003; }
.c.blue { background: linear-gradient(145deg, var(--blue-a), var(--blue-b)); }
.c.blue.member { background: linear-gradient(145deg, var(--member-a), var(--member-b)); }
.c.green { background: linear-gradient(145deg, var(--green-a), var(--green-b)); }
.c.orange { background: linear-gradient(145deg, var(--orange-a), var(--orange-b)); }
.c.purple { background: linear-gradient(145deg, var(--purple-a), var(--purple-b)); }
.c.purple.ltd { background: linear-gradient(145deg, var(--purple2-a), var(--purple2-b)); }
.c.yellow { background: linear-gradient(145deg, var(--yellow-a), var(--yellow-b)); color: var(--on-yellow); }
.c .hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; }
.c .big { font-size: 24px; font-weight: 650; margin: 8px 0 2px; letter-spacing: -0.01em; }
.c .meta { font-size: 12px; line-height: 1.4; }
.c .meta.small { font-size: 11px; }
.c .bar { height: 5px; margin: 10px 0 4px; border-radius: 3px; overflow: hidden; background: #ffffff4d; }
.c.yellow .bar { background: #2a23002e; }
.c .bar i { display: block; height: 100%; background: #fff; }
.c.yellow .bar i { background: var(--on-yellow); }
.c .bar.hidden i { width: 100%; background: repeating-linear-gradient(45deg, #ffffff8c 0 4px, #ffffff26 4px 8px); }
.c .ft { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-size: 12px; }
.c .ext { flex: none; font: inherit; font-size: 12px; color: inherit; cursor: pointer; border: 1px solid currentColor; background: #ffffff29; border-radius: 99px; padding: 4px 11px; }
.c.yellow .ext { background: #2a230014; }
.chip { font-size: 10px; padding: 2px 7px; border-radius: 99px; background: #00000047; color: var(--on-color); text-transform: none; letter-spacing: 0; white-space: nowrap; }
.c.yellow .chip { background: #2a23002e; color: var(--on-yellow); }
.chip.type { background: var(--chip-type-bg); color: var(--chip-type-text); font-weight: 600; }
.c .exp { margin-top: 8px; padding-top: 8px; border-top: 1px dashed currentColor; font-size: 11px; }

.punches { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0 2px; }
.punches i { width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.punches i.used { background: transparent; border: 1.5px dashed #ffffffbf; }

.c.ticket .ft { position: relative; border-top: 2px dashed #ffffff8c; }
.c.ticket .ft::before, .c.ticket .ft::after { content: ""; position: absolute; top: -11px; width: 18px; height: 18px; border-radius: 50%; background: Canvas; }
.c.ticket .ft::before { left: -24px; }
.c.ticket .ft::after { right: -24px; }

.list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.list li { display: flex; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 12px; }
.list li:first-child { border-top: 0; }
.list .when { min-width: 96px; flex: none; }
h3[tabindex="-1"]:focus { outline: none; }
.tag { flex: none; height: fit-content; font-size: 10px; border-radius: 99px; padding: 2px 7px; color: var(--on-color); }
.tag.t-blue { background: var(--blue-a); }
.tag.t-green { background: var(--green-a); }
.tag.t-orange { background: var(--orange-a); }
.tag.t-purple { background: var(--purple-a); }
.tag.t-yellow { background: var(--yellow-a); color: var(--on-yellow); }

@media (max-width: 640px) {
  .wallet { flex-direction: column; }
  .side { width: auto; flex-direction: row; justify-content: space-around; padding: 6px; }
  .sim { margin-left: 0; }
  .list li { flex-wrap: wrap; gap: 4px 12px; }
}

.prose { max-width: 44rem; }
.prose table { border-collapse: collapse; margin: 0.75rem 0 1rem; font-size: 14px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 6px 12px 6px 0; border-top: 1px solid var(--line); }
.prose th { border-top: 0; }
