/* Layout: a modern Minecraft server store. Night-sky sections, block-built hero art, item tiles, rank tags in chat colours, green buy buttons. */
:root {
    --night: #0c0a12;
    --night-2: #12101a;
    --panel: #17141f;
    --panel-2: #1e1a29;
    --tile: #231f31;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --text: #f3f0fa;
    --muted: #a6a1b8;
    --faint: #6f6a82;
    --brand: #ff4545;
    --brand-deep: #b3242d;
    --go: #3cbf4d;
    --go-hover: #47cf58;
    --go-edge: #237a2e;
    --gold: #ffb627;
    --gold-soft: #ffd77a;
    --amethyst: #a865ff;
    --mc-green: #55ff55;
    --mc-yellow: #ffff55;
    --mc-gold: #ffaa00;
    --mc-red: #ff5555;
    --mc-aqua: #55ffff;
    --mc-purple: #ff55ff;
    --good: #4ade6b;
    --warn: #ffcf4a;
    --bad: #ff6b6b;
    --display: "Bungee", "Arial Black", system-ui, sans-serif;
    --body: "Rubik", "Segoe UI", system-ui, sans-serif;
    --radius: 6px;
    color-scheme: dark;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    margin: 0;
    background: var(--night);
    color: var(--text);
    font: 400 17px/1.6 var(--body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.005em;
    text-wrap: balance;
}

p,
ol,
ul,
dl,
blockquote {
    margin: 0;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 300;
    padding: 10px 14px;
    border-radius: var(--radius);
    background: var(--gold);
    color: #000;
    font-weight: 700;
}

.skip:focus {
    top: 10px;
}

.shell {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.label {
    display: block;
    font: 600 0.74rem/1.2 var(--body);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}

.fine {
    color: var(--faint);
    font-size: 0.86rem;
}

.center {
    text-align: center;
}

.tile {
    flex: none;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    background: var(--tile);
    box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 rgba(0, 0, 0, 0.3);
}

.tile svg {
    width: 30px;
    height: 30px;
}

.tile.small {
    width: 32px;
    height: 32px;
}

.tile.small svg {
    width: 20px;
    height: 20px;
}

.tile.big {
    width: 64px;
    height: 64px;
}

.tile.big svg {
    width: 42px;
    height: 42px;
}

.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.45);
    font: 400 1.05rem/1 var(--display);
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.tag-vip { color: var(--mc-green); }
.tag-mvp { color: var(--mc-yellow); }
.tag-champion { color: var(--mc-gold); }
.tag-titan { color: var(--mc-red); }
.tag-mythical { color: var(--mc-aqua); }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px 4px;
    line-height: 1;
    border: 0;
    border-radius: 4px;
    font: 700 0.98rem var(--body);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.button:active:not([disabled]) {
    transform: translateY(2px);
}

.button.primary {
    background: var(--go);
    color: #06210b;
    box-shadow: inset 0 -4px 0 var(--go-edge), 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.button.primary:hover:not([disabled]) {
    background: var(--go-hover);
}

.button.primary:active:not([disabled]) {
    box-shadow: inset 0 -2px 0 var(--go-edge), 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.button.ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    box-shadow: inset 0 0 0 2px var(--line-2), inset 0 -4px 0 rgba(0, 0, 0, 0.25);
}

.button.ghost:hover:not([disabled]) {
    background: rgba(255, 255, 255, 0.09);
}

.button.wide {
    width: 100%;
}

.button[disabled] {
    cursor: not-allowed;
    opacity: 0.45;
}

.nav {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 100;
    background: rgba(12, 10, 18, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav-in {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 68px;
}

.mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.mark img {
    width: 34px;
    height: 34px;
}

.mark-word {
    font: 400 1.7rem/1 var(--display);
    color: var(--brand);
    letter-spacing: 0.02em;
    text-shadow: 0 3px 0 #4a0f14;
}

.mark-sub {
    color: var(--muted);
    font: 600 0.72rem var(--body);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.links {
    display: flex;
    gap: 2px;
    margin-left: auto;
}

.links a {
    padding: 8px 12px;
    border-radius: 4px;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.buyer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 230px;
    padding: 6px 14px 6px 6px;
    border: 0;
    border-radius: 4px;
    background: var(--panel-2);
    box-shadow: inset 0 0 0 1px var(--line-2);
    color: var(--text);
    text-align: left;
    cursor: pointer;
}

.buyer:hover {
    background: var(--tile);
}

.buyer-head {
    width: 30px;
    height: 30px;
    border-radius: 3px;
    background:
        linear-gradient(var(--faint), var(--faint)) 7px 12px / 5px 5px no-repeat,
        linear-gradient(var(--faint), var(--faint)) 18px 12px / 5px 5px no-repeat,
        var(--tile);
    flex: none;
}

.buyer.is-set .buyer-head {
    background:
        linear-gradient(#1b3a8c, #1b3a8c) 7px 12px / 5px 5px no-repeat,
        linear-gradient(#1b3a8c, #1b3a8c) 18px 12px / 5px 5px no-repeat,
        linear-gradient(#4a2a14, #4a2a14) 0 0 / 30px 8px no-repeat,
        #c8936b;
}

.buyer-text {
    display: grid;
    min-width: 0;
}

.buyer-label {
    color: var(--faint);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.buyer-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    font-size: 0.92rem;
}

.sale {
    padding: 10px max(20px, env(safe-area-inset-right, 0px)) 10px max(20px, env(safe-area-inset-left, 0px));
    background: var(--gold);
    color: #2a1a00;
    text-align: center;
    font-weight: 700;
}

.hero {
    position: relative;
    overflow: hidden;
    padding-block: 72px 110px;
    background:
        radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 28% 68%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1.5px 1.5px at 46% 14%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 63% 40%, rgba(255, 255, 255, 0.45), transparent),
        radial-gradient(1.5px 1.5px at 82% 18%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 92% 62%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 6% 84%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(55% 70% at 74% 45%, rgba(255, 226, 140, 0.10), transparent 70%),
        linear-gradient(180deg, #0a0812 0%, #140f22 100%);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 40px;
    background: var(--night-2);
    clip-path: polygon(0 50%, 6% 50%, 6% 25%, 14% 25%, 14% 60%, 23% 60%, 23% 35%, 31% 35%, 31% 55%, 42% 55%, 42% 20%, 50% 20%, 50% 45%, 61% 45%, 61% 30%, 70% 30%, 70% 60%, 79% 60%, 79% 25%, 88% 25%, 88% 50%, 100% 50%, 100% 100%, 0 100%);
}

.hero-in {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 8px;
    text-align: center;
}

.hero-copy {
    display: grid;
    justify-items: center;
}

.hero h1 {
    margin-top: 18px;
    font-size: clamp(2.7rem, 5.6vw, 4.8rem);
    text-shadow: 0 5px 0 rgba(0, 0, 0, 0.45);
}

.hero h1 span {
    color: var(--gold);
}

.lead {
    max-width: 34em;
    margin-top: 22px;
    margin-inline: auto;
    color: var(--muted);
    font-size: 1.15rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin-top: 26px;
    list-style: none;
    padding: 0;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
}

.trust li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    background: var(--go);
    vertical-align: 1px;
}

.hero-art {
    position: relative;
    order: -1;
    width: min(100%, 340px);
    padding-bottom: 40px;
}

.hero-art > img {
    display: block;
    width: 100%;
    height: auto;
}

.float {
    position: absolute;
    animation: bob 4s ease-in-out infinite;
}

.float.one { left: -22%; top: 30%; }
.float.two { right: -22%; top: 30%; animation-delay: -1.2s; }
.float.three { left: -12%; bottom: 22%; animation-delay: -2.4s; }
.float.four { right: -12%; bottom: 22%; animation-delay: -3.1s; }

@keyframes bob {
    50% {
        transform: translateY(-10px);
    }
}

.live-pill {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(12, 10, 18, 0.85);
    box-shadow: inset 0 0 0 1px var(--line-2);
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--faint);
}

.live-pill.is-live .live-dot {
    background: var(--good);
    box-shadow: 0 0 0 4px rgba(74, 222, 107, 0.18);
}

.strip {
    background: var(--night-2);
    border-bottom: 1px solid var(--line);
}

.strip-in {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.strip-in > div {
    display: flex;
    justify-content: center;
    gap: 14px;
    align-items: center;
    padding: 22px 20px 24px 0;
    min-width: 0;
}

.strip-in > div > div {
    min-width: 0;
}

.strip-in > div + div {
    padding-left: 20px;
    border-left: 1px solid var(--line);
}

.strip strong {
    display: block;
    font: 400 1.15rem/1.2 var(--display);
}

.strip-in > div > div > span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.buyer-band {
    background: var(--night-2);
    padding-block: 12px 40px;
}

.buyer-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 36px;
    align-items: center;
    padding: 26px 28px;
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: inset 0 0 0 1px var(--line);
}

.buyer-box h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.buyer-box p {
    color: var(--muted);
    max-width: 38em;
}

.buyer-form {
    display: flex;
    gap: 10px;
}

input:not([type="checkbox"]) {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 0;
    border-radius: 4px;
    background: #08070c;
    box-shadow: inset 0 0 0 2px var(--line-2);
    color: var(--text);
    font: 600 1rem var(--body);
}

input:not([type="checkbox"])::placeholder {
    color: var(--faint);
}

input:not([type="checkbox"]):focus {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--gold);
}

.buyer-form input {
    width: 260px;
}

.buyer-status {
    grid-column: 1 / -1;
    min-height: 1.5em;
    font-weight: 600;
    font-size: 0.94rem;
    color: var(--muted);
}

.buyer-status.good { color: var(--good); }
.buyer-status.warn { color: var(--warn); }
.buyer-status.bad { color: var(--bad); }

.section {
    padding-block: 96px;
}

.section.dark {
    background: var(--night);
}

.section.light {
    background: var(--night-2);
}

.section-head {
    max-width: 44em;
    margin: 0 auto 44px;
    text-align: center;
}

.section-head h2 {
    margin-top: 12px;
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    text-shadow: 0 4px 0 rgba(0, 0, 0, 0.4);
}

.section-head p:last-child:not(.label) {
    margin-top: 16px;
    font-size: 1.08rem;
    color: var(--muted);
}

.price {
    font: 400 2.2rem/1 var(--display);
    font-variant-numeric: tabular-nums;
}

.was {
    color: var(--faint);
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
    font-size: 0.95rem;
}

.save {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(74, 222, 107, 0.14);
    color: var(--good);
    font-weight: 700;
    font-size: 0.82rem;
}

.note {
    font-size: 0.86rem;
    color: var(--faint);
}

.note.up {
    color: var(--good);
    font-weight: 600;
}

.flag {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 9px;
    border-radius: 4px;
    background: var(--gold);
    color: #2a1a00;
    font: 700 0.7rem/1 var(--body);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 26px;
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: inset 0 0 0 1px var(--line);
    min-width: 0;
}

.card.featured {
    background: linear-gradient(180deg, rgba(255, 182, 39, 0.1), transparent 45%), var(--panel);
    box-shadow: inset 0 0 0 2px var(--gold);
}

.card-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.card-top > div {
    min-width: 0;
    display: grid;
    gap: 6px;
    justify-items: start;
}

.card h3 {
    font-size: 1.55rem;
}

.card-tagline {
    color: var(--muted);
}

.bundles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.contents {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 8px;
}

.contents li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.contents li > span:nth-child(2) {
    flex: 1;
    min-width: 0;
    font-weight: 600;
}

.contents li > span:last-child {
    color: var(--faint);
    font-variant-numeric: tabular-nums;
    font-size: 0.9rem;
}

.price-block {
    display: grid;
    gap: 6px;
}

.price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
}

.rank-tabs {
    display: none;
}

.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: inset 0 0 0 1px var(--line);
}

.compare {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    table-layout: fixed;
}

.compare th,
.compare td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    font-size: 0.93rem;
}

.compare thead th {
    vertical-align: bottom;
    padding-top: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-2);
}

.compare thead th:first-child {
    width: 22%;
}

.compare tr:last-child th,
.compare tr:last-child td {
    border-bottom: 0;
}

.compare .col-pop {
    background: rgba(255, 182, 39, 0.06);
}

.compare thead .col-pop {
    box-shadow: inset 0 3px 0 var(--gold);
}

.rank-head {
    display: grid;
    gap: 10px;
    justify-items: start;
}

.rank-head .price {
    flex-basis: 100%;
    font-size: 1.7rem;
}

.rank-head .price-block {
    width: 100%;
}

.rank-head .note {
    min-height: 2.6em;
    font-size: 0.82rem;
    line-height: 1.3;
}

.rank-head .note.up {
    min-height: 0;
}

.rank-head .button {
    min-height: 42px;
    width: 100%;
    padding: 0 12px 4px;
}

.rank-flag {
    min-height: 1.1em;
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.compare tbody th {
    font-weight: 600;
    color: var(--muted);
}

.compare td.none::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 2px;
    vertical-align: middle;
    background: var(--faint);
}

.tokens-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    justify-items: center;
}

.token-picker {
    width: min(100%, 680px);
}

.tokens-in .section-head {
    margin-bottom: 0;
}

.token-picker {
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: inset 0 0 0 1px var(--line);
    overflow: hidden;
}

.token-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 14px;
    border-bottom: 1px solid var(--line);
}

.token-option {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    min-height: 64px;
    padding: 8px 6px 11px;
    line-height: 1;
    border: 0;
    border-radius: 4px;
    background: var(--tile);
    box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 rgba(0, 0, 0, 0.3);
    color: var(--muted);
    font: 400 1.05rem var(--display);
    cursor: pointer;
}

.token-option small:empty {
    display: none;
}

.token-option small {
    display: block;
    font: 700 0.72rem var(--body);
    color: var(--gold);
}

.token-option[aria-checked="true"] {
    color: var(--text);
    background: #2d2740;
    box-shadow: inset 0 0 0 2px var(--go), inset 0 -3px 0 rgba(0, 0, 0, 0.3);
}

.token-detail {
    display: grid;
    gap: 18px;
    padding: 26px;
}

.token-head {
    display: flex;
    align-items: center;
    gap: 18px;
}

.token-amount {
    font: 400 clamp(2.6rem, 6vw, 4rem)/1 var(--display);
    font-variant-numeric: tabular-nums;
}

.token-amount span {
    display: block;
    margin-top: 6px;
    font: 600 0.8rem var(--body);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.token-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    color: var(--muted);
}

.token-breakdown strong {
    color: var(--gold);
}

.token-buy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.capacity {
    margin-bottom: 40px;
    padding: 24px 26px;
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: inset 0 0 0 1px var(--line);
}

.capacity-bar {
    display: grid;
    grid-template-columns: repeat(55, minmax(0, 1fr));
    gap: 3px;
}

.capacity-bar span {
    aspect-ratio: 1;
    border-radius: 2px;
    background: linear-gradient(180deg, #6e6a78 0 30%, #57535f 30%);
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.3);
}

.capacity-bar span.premium {
    background: linear-gradient(180deg, #ffd75a 0 30%, #e6a92a 30%);
}

.capacity-bar span.mvp {
    background: linear-gradient(180deg, #c18cff 0 30%, #8f4de6 30%);
}

.capacity-key {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.92rem;
}

.capacity-key i {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    border-radius: 2px;
    vertical-align: -1px;
}

.key-normal { background: #6e6a78; }
.key-premium { background: var(--gold); }
.key-mvp { background: var(--amethyst); }

.slot-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.slot-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.slot-features {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 6px;
    color: var(--muted);
}

.slot-features li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 10px;
    background: var(--go);
    vertical-align: 1px;
}

.unban-in {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
    align-items: start;
}

.unban-head {
    grid-column: 1 / -1;
}

.unban-in .section-head {
    margin-bottom: 28px;
}

.steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step;
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.steps-list li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--muted);
}

.steps-list li::before {
    content: counter(step);
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    background: var(--tile);
    color: var(--gold);
    font: 400 1.25rem/1 var(--display);
}

.steps-list li p {
    align-self: center;
}

.steps-list strong {
    color: var(--text);
}

.unban-card .price {
    font-size: 3.4rem;
}

.founder-in {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    max-width: 1000px;
    margin-inline: auto;
    padding: 36px;
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: inset 0 0 0 1px var(--line);
}

.founder blockquote p {
    font-size: clamp(1.2rem, 2.4vw, 1.5rem);
    line-height: 1.5;
    font-weight: 500;
}

.founder-body {
    display: grid;
    gap: 22px;
}

.founder-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.signature {
    display: grid;
    gap: 2px;
}

.signature strong {
    font: 400 1.15rem var(--display);
    color: var(--brand);
}

.signature span {
    color: var(--muted);
    font-size: 0.9rem;
}

.founder-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.faq > div {
    padding: 22px 24px;
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: inset 0 0 0 1px var(--line);
}

.faq dt {
    font: 400 1.05rem var(--display);
    margin-bottom: 8px;
}

.faq dd {
    margin: 0;
    color: var(--muted);
}

.footer {
    padding-block: 48px 40px;
    background: #08070c;
    border-top: 1px solid var(--line);
}

.footer-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 32px;
    align-items: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.footer-links a {
    color: var(--muted);
    font-weight: 600;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text);
}

.footer .fine {
    grid-column: 1 / -1;
}

.modal {
    width: min(500px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: var(--panel);
    box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px rgba(0, 0, 0, 0.6);
    color: var(--text);
}

.modal.small {
    width: min(420px, calc(100% - 32px));
}

.modal::backdrop {
    background: rgba(5, 4, 9, 0.75);
    backdrop-filter: blur(3px);
}

.modal-close-form {
    position: absolute;
    top: 14px;
    right: 14px;
    margin: 0;
}

.modal-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 4px;
    background: var(--tile);
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--text);
    cursor: pointer;
    display: grid;
    place-items: center;
}

.modal-close svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.8;
}

.modal-body {
    padding: 28px 28px 24px;
}

.modal-body h2 {
    margin-top: 10px;
    font-size: 1.9rem;
    padding-right: 44px;
}

.modal-text {
    margin: 12px 0 18px;
    color: var(--muted);
}

.modal-items {
    list-style: none;
    padding: 0;
    margin-top: 16px;
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 0.94rem;
}

.modal-items li::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 10px;
    background: var(--go);
    vertical-align: 1px;
}

.field-label {
    display: block;
    margin: 20px 0 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
}

.quote {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 4px;
    background: #0f0d16;
    box-shadow: inset 0 0 0 1px var(--line);
    display: grid;
    gap: 6px;
    font-size: 0.95rem;
}

.quote:empty {
    display: none;
}

.quote-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-variant-numeric: tabular-nums;
}

.quote-line.total {
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px solid var(--line);
    font: 400 1.3rem var(--display);
}

.quote-line.credit {
    color: var(--good);
}

.quote-msg {
    color: var(--muted);
    font-size: 0.9rem;
}

.quote-msg.warn {
    color: var(--warn);
}

.quote-msg.bad {
    color: var(--bad);
}

.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.94rem;
}

.check input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--go);
    flex: none;
}

.check a {
    color: var(--text);
}

.form-error {
    min-height: 1.3em;
    margin: 12px 0;
    color: var(--bad);
    font-size: 0.92rem;
    font-weight: 600;
}

.modal .fine {
    margin-top: 12px;
}

.modal.paying {
    width: min(620px, calc(100% - 32px));
}

.pay-step {
    display: grid;
    gap: 14px;
}

.stripe-checkout {
    min-height: 420px;
    border-radius: 8px;
    overflow: hidden;
}

.page-bar .shell {
    display: flex;
    align-items: center;
    min-height: 68px;
}

.doc {
    padding-block: 72px;
}

.doc .shell {
    max-width: 820px;
}

.doc h1 {
    font-size: clamp(2.4rem, 6vw, 3.4rem);
    margin: 14px 0 28px;
}

.doc h2 {
    font-size: 1.35rem;
    margin: 34px 0 10px;
}

.doc p,
.doc li {
    color: var(--muted);
    margin-bottom: 10px;
}

.doc a {
    color: var(--gold-soft);
}

.doc .button {
    margin-top: 24px;
}

.page-foot {
    padding-block: 30px;
}

.status-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px max(20px, env(safe-area-inset-right, 0px)) 32px max(20px, env(safe-area-inset-left, 0px));
}

.status-card {
    width: min(560px, 100%);
    padding: 34px 32px 30px;
    border-radius: 8px;
    background: var(--panel);
    box-shadow: inset 0 0 0 1px var(--line-2);
    display: grid;
    gap: 18px;
}

.status-card h1 {
    font-size: clamp(1.9rem, 6vw, 2.6rem);
}

.status-card p {
    color: var(--muted);
}

.steps {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 8px;
}

.steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 4px;
    background: var(--tile);
    color: var(--faint);
    font-weight: 600;
}

.steps li::before {
    content: "";
    width: 12px;
    height: 12px;
    flex: none;
    border-radius: 2px;
    border: 2px solid currentColor;
}

.steps li.active {
    color: var(--warn);
}

.steps li.active::before {
    animation: pulse-box 1s ease-in-out infinite;
}

.steps li.done {
    color: var(--good);
}

.steps li.done::before {
    background: currentColor;
}

@keyframes pulse-box {
    50% {
        background: currentColor;
    }
}

.order-id {
    color: var(--faint) !important;
    font-size: 0.85rem;
    word-break: break-all;
}

.admin .doc-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 8px;
}

.admin .doc-form input {
    width: 280px;
}

.admin select {
    min-height: 48px;
    padding: 0 12px;
    border: 0;
    border-radius: 4px;
    background: var(--panel-2);
    box-shadow: inset 0 0 0 1px var(--line-2);
    color: var(--text);
    font: 600 0.9rem var(--body);
}

.admin .shell {
    max-width: 1200px;
}

.admin-table {
    width: 100%;
    min-width: 960px;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.admin-table th,
.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    white-space: pre-line;
}

.admin-table .button {
    min-height: 34px;
    padding: 0 12px 3px;
    font-size: 0.8rem;
    margin: 2px;
}

.pill {
    font-weight: 700;
}

.pill.paid { color: var(--warn); }
.pill.delivered { color: var(--good); }
.pill.failed,
.pill.review { color: var(--bad); }

[hidden] {
    display: none !important;
}

@media (max-width: 1080px) {
    .links {
        display: none;
    }

    .buyer {
        margin-left: auto;
    }

    .hero-in,
    .tokens-in,
    .unban-in {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-art {
        width: min(100%, 480px);
    }

    .bundles {
        grid-template-columns: minmax(0, 1fr);
    }


}

@media (max-width: 820px) {
    .rank-tabs {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        margin-bottom: 14px;
        padding-bottom: 4px;
    }

    .rank-tab {
        flex: 1 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 12px;
        line-height: 1;
        border: 0;
        border-radius: 4px;
        background: var(--tile);
        box-shadow: inset 0 0 0 1px var(--line);
        font: 400 1rem/1 var(--display);
        cursor: pointer;
    }

    .rank-tab[aria-selected="true"] {
        background: #2d2740;
        box-shadow: inset 0 0 0 2px var(--go);
    }

    .compare {
        min-width: 0;
    }

    .compare .rank-col:not(.is-active) {
        display: none;
    }

    .compare thead th:first-child {
        width: 44%;
    }

    .strip-in {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .strip-in > div:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .strip-in > div:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .slot-cards,
    .faq {
        grid-template-columns: minmax(0, 1fr);
    }

    .token-options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .founder-in {
        grid-template-columns: minmax(0, 1fr);
        padding: 26px 22px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-block: 44px 90px;
    }

    .section {
        padding-block: 68px;
    }

    .buyer-box {
        grid-template-columns: minmax(0, 1fr);
        padding: 22px 20px;
    }

    .buyer-form {
        flex-direction: column;
    }

    .buyer-form input {
        width: 100%;
    }

    .buyer {
        max-width: 160px;
    }

    .mark-sub {
        display: none;
    }

    .card,
    .capacity,
    .token-detail {
        padding: 22px 18px;
    }


    .capacity-bar {
        gap: 2px;
    }

    .footer-in {
        grid-template-columns: minmax(0, 1fr);
    }

    .modal-body {
        padding: 24px 20px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.rank-head .price-line {
    gap: 4px 8px;
}

.rank-head .was {
    font-size: 0.84rem;
}

.rank-head .save {
    padding: 2px 6px;
    font-size: 0.76rem;
}

@media (max-width: 640px) {
    .hero-art {
        width: min(72%, 300px);
    }

    .float.one,
    .float.two {
        top: 24%;
    }

    .float.three,
    .float.four {
        bottom: 26%;
    }

    .strip-in > div {
        justify-content: flex-start;
    }
}

.buyer-box {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
}

.buyer-box p {
    margin-inline: auto;
}

@media (max-width: 640px) {
    .strip-in {
        grid-template-columns: minmax(0, 1fr);
    }

    .strip-in > div,
    .strip-in > div + div,
    .strip-in > div:nth-child(3),
    .strip-in > div:nth-child(n + 3) {
        padding: 14px 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .strip-in > div:first-child {
        border-top: 0;
    }
}

@media (max-width: 820px) {
    .token-options {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        padding: 10px;
    }
}

@media (max-width: 640px) {
    .token-option {
        min-height: 56px;
        padding: 6px 2px 9px;
        font-size: 0.92rem;
    }

    .token-option small {
        font-size: 0.6rem;
    }


}

:root {
    --display-sm: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
    --gif-ground: #141418;
}

.strip strong,
.card h3,
.price,
.tag,
.token-option,
.token-amount,
.faq dt,
.rank-tab,
.quote-line.total,
.steps-list li::before,
.signature strong {
    font-family: var(--display-sm);
    letter-spacing: 0.01em;
}

.card h3 {
    font-size: 1.6rem;
}

.strip strong {
    font-size: 1.25rem;
}

.tile img {
    width: 74%;
    height: 74%;
    object-fit: contain;
    image-rendering: pixelated;
}

.tile.small img {
    width: 80%;
    height: 80%;
}

.founder-altar img {
    width: 88%;
    height: 88%;
    image-rendering: auto;
}

.hero-art {
    width: min(100%, 430px);
    padding-bottom: 46px;
}

.altar-display {
    display: block;
    width: 100%;
    height: auto;
    image-rendering: pixelated;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%);
    mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%);
}

.float.one { left: -10%; top: 26%; }
.float.two { right: -10%; top: 26%; }
.float.three { left: -2%; bottom: 26%; }
.float.four { right: -2%; bottom: 26%; }

@media (max-width: 640px) {
    .hero-art {
        width: min(86%, 340px);
    }
}

.ticker {
    overflow: hidden;
    padding-block: 14px;
    background: var(--night-2);
    border-block: 1px solid var(--line);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker 48s linear infinite;
}

.ticker:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-run {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
}

.ticker-item {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.ticker-supporter {
    color: var(--muted);
    font-size: 0.95rem;
}

.ticker-supporter strong {
    color: var(--text);
}

@keyframes ticker {
    to {
        transform: translateX(-50%);
    }
}

.can-reveal .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s ease var(--reveal-delay, 0ms), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

.can-reveal .reveal.is-in {
    opacity: 1;
    transform: none;
}

.hero-art .float {
    animation: drift 7s ease-in-out infinite;
}

.hero-art .float.two { animation-delay: -1.7s; }
.hero-art .float.three { animation-delay: -3.4s; }
.hero-art .float.four { animation-delay: -5.1s; }

@keyframes drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(6px, -12px) rotate(4deg); }
    50% { transform: translate(0, -18px) rotate(0deg); }
    75% { transform: translate(-6px, -8px) rotate(-4deg); }
}

.tile img.render {
    width: 86%;
    height: 86%;
    image-rendering: auto;
}

.tile {
    background: #141418;
}

.links a.is-current {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.shop-head {
    padding-block: 48px 8px;
    background: var(--night-2);
    text-align: center;
}

.shop-head h2 {
    font-size: clamp(2.6rem, 6vw, 4rem);
    text-shadow: 0 4px 0 rgba(0, 0, 0, 0.4);
}

.back {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--muted);
    font-weight: 600;
    text-decoration: none;
}

.back:hover {
    color: var(--text);
}

.shop-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.shop-jump a {
    padding: 8px 14px;
    border-radius: 4px;
    background: var(--panel);
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--muted);
    font-weight: 600;
    text-decoration: none;
}

.shop-jump a:hover {
    color: var(--text);
}

.token-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    gap: 16px;
    align-items: stretch;
}

.token-card {
    align-items: center;
    text-align: center;
    gap: 12px;
}

.token-card .flag-empty {
    visibility: hidden;
}

.token-card .token-amount {
    font-size: 2.4rem;
}

.token-bonus {
    min-height: 1.4em;
    color: var(--gold);
    font-weight: 700;
}

.token-card .price {
    font-size: 1.8rem;
}

.token-card .button {
    margin-top: auto;
}

.rank-cards {
    display: none;
}

.rank-perks {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 6px;
    font-size: 0.92rem;
}

.rank-perks li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.rank-perks strong {
    color: var(--text);
    text-align: right;
}

@media (max-width: 820px) {
    .rank-cards {
        display: grid;
        gap: 14px;
    }

    #ranks .table-wrap {
        display: none;
    }
}
