/* =========================================================================
   Nightshift Network
   Palette is dusk: the minute the sun drops in Minecraft and the streetlights
   come on. Amber is sodium light; green is reserved strictly for "this is
   live" and never used decoratively.
   ========================================================================= */

:root {
    --dusk:     #10121C;
    --dusk-lo:  #0A0C14;
    --panel:    #191D2B;
    --panel-hi: #212637;
    --edge:     #2E3448;
    --bone:     #EDEAE3;
    --muted:    #868FA6;

    --amber:  #F0A93C;
    --signal: #6FCF6B;
    --rust:   #D9603B;
    --ice:    #6BA8D9;
    --moss:   #8FAF63;

    --display: "Bricolage Grotesque", "Segoe UI", sans-serif;
    --body:    "Instrument Sans", system-ui, sans-serif;
    --data:    "Silkscreen", "Courier New", monospace;

    --gutter: clamp(1.25rem, 5vw, 5rem);
    --rule:   1px solid var(--edge);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background-color: var(--dusk);
    /* Chunk grid, barely there. */
    background-image:
        radial-gradient(120% 70% at 50% -10%, #241F3A 0%, transparent 62%),
        linear-gradient(var(--edge) 1px, transparent 1px),
        linear-gradient(90deg, var(--edge) 1px, transparent 1px);
    background-size: 100% 100%, 64px 64px, 64px 64px;
    background-blend-mode: normal, overlay, overlay;
    color: var(--bone);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body::before {
    /* Softens the grid so it reads as texture, not a table. */
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, var(--dusk) 78%);
    pointer-events: none;
    z-index: 0;
}

body > * { position: relative; z-index: 1; }

a { color: inherit; }

code {
    font-family: var(--data);
    font-size: 0.78em;
    color: var(--amber);
}

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

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--amber);
    color: var(--dusk);
    padding: 0.6rem 1rem;
    font-family: var(--data);
    font-size: 0.7rem;
}
.skip:focus { left: 0; z-index: 50; }

/* ------------------------------------------------------------------ header */

.bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.9rem var(--gutter);
    border-bottom: var(--rule);
    background: rgba(16, 18, 28, 0.86);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.bar__mark {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.bar__glyph {
    display: grid;
    place-items: center;
    width: 1.65rem;
    height: 1.65rem;
    background: var(--amber);
    color: var(--dusk);
    font-family: var(--data);
    font-size: 0.8rem;
    line-height: 1;
}

.bar__nav {
    display: flex;
    gap: 1.4rem;
    margin-inline-start: auto;
    font-family: var(--data);
    font-size: 0.66rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bar__nav a {
    color: var(--muted);
    text-decoration: none;
    padding-block: 0.35rem;
    border-bottom: 1px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.bar__nav a:hover {
    color: var(--bone);
    border-bottom-color: var(--amber);
}

/* -------------------------------------------------------------------- hero */

.hero {
    padding: clamp(3rem, 9vw, 6.5rem) var(--gutter) clamp(3rem, 7vw, 5rem);
    max-width: 1180px;
    margin-inline: auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1.4rem;
    font-family: var(--data);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--muted);
}
.dot--up   { background: var(--signal); box-shadow: 0 0 0 4px rgba(111, 207, 107, 0.16); }
.dot--down { background: var(--rust);   box-shadow: 0 0 0 4px rgba(217, 96, 59, 0.16); }

.hero__title {
    margin: 0 0 clamp(2rem, 5vw, 3.25rem);
    max-width: 15ch;
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(2.6rem, 8.5vw, 5.4rem);
    line-height: 0.94;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

/* ------------------------------------------------- signature: the listing */

.listing {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
    padding: clamp(1rem, 2.5vw, 1.5rem);
    background: linear-gradient(180deg, var(--panel-hi), var(--panel));
    border: var(--rule);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.listing:hover,
.listing:focus-visible {
    border-color: var(--amber);
    transform: translateY(-2px);
}

.listing::after {
    /* A single sweep on load, like a row highlighting as it resolves. */
    content: "";
    position: absolute;
    inset: 0 auto 0 -40%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(240, 169, 60, 0.1), transparent);
    animation: sweep 1.5s ease-out 0.25s 1;
    pointer-events: none;
}

@keyframes sweep {
    to { left: 110%; }
}

.listing__icon {
    display: grid;
    place-items: center;
    width: clamp(3.25rem, 8vw, 4.5rem);
    aspect-ratio: 1;
    background: var(--dusk-lo);
    border: var(--rule);
}

.listing__icon img {
    width: 100%;
    height: 100%;
    display: block;
    image-rendering: pixelated;
}

.listing__initial {
    font-family: var(--data);
    font-size: clamp(1.3rem, 4vw, 1.9rem);
    color: var(--amber);
}

.listing__body { min-width: 0; }

.listing__name {
    margin: 0 0 0.3rem;
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.05rem, 2.6vw, 1.5rem);
    letter-spacing: -0.02em;
}

.listing__motd {
    margin: 0;
    font-family: var(--data);
    font-size: clamp(0.6rem, 1.6vw, 0.76rem);
    line-height: 1.75;
    color: var(--muted);
    word-break: break-word;
}

.is-obfuscated {
    filter: blur(2.5px);
    opacity: 0.85;
}

.listing__signal {
    display: grid;
    justify-items: end;
    gap: 0.4rem;
    font-family: var(--data);
}

.listing__count {
    margin: 0;
    font-size: clamp(0.95rem, 2.4vw, 1.35rem);
    letter-spacing: 0.02em;
}

.listing__slash { color: var(--edge); margin-inline: 0.15em; }

[data-players-online] { color: var(--signal); }
.listing--down [data-players-online] { color: var(--rust); }

.bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 0.95rem;
}

.bars i {
    display: block;
    width: 4px;
    background: var(--edge);
    transform-origin: bottom;
}
.bars i:nth-child(1) { height: 20%; }
.bars i:nth-child(2) { height: 40%; }
.bars i:nth-child(3) { height: 60%; }
.bars i:nth-child(4) { height: 80%; }
.bars i:nth-child(5) { height: 100%; }

.bars[data-bars="1"] i:nth-child(-n+1),
.bars[data-bars="2"] i:nth-child(-n+2),
.bars[data-bars="3"] i:nth-child(-n+3),
.bars[data-bars="4"] i:nth-child(-n+4),
.bars[data-bars="5"] i:nth-child(-n+5) {
    background: var(--signal);
    animation-name: raise;
    animation-duration: 0.4s;
    animation-timing-function: ease-out;
    animation-fill-mode: backwards;
}

/* These carry the attribute selector so they outweigh the rule above and the
   stagger survives. Left to right, like the client filling the row in. */
.bars[data-bars] i:nth-child(1) { animation-delay: 0.15s; }
.bars[data-bars] i:nth-child(2) { animation-delay: 0.25s; }
.bars[data-bars] i:nth-child(3) { animation-delay: 0.35s; }
.bars[data-bars] i:nth-child(4) { animation-delay: 0.45s; }
.bars[data-bars] i:nth-child(5) { animation-delay: 0.55s; }

.listing--down .bars[data-bars] i {
    background: var(--edge);
    animation-name: none;
}

@keyframes raise {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}

.listing__ping {
    margin: 0;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: var(--muted);
    text-transform: uppercase;
}

.listing__hint {
    position: absolute;
    right: 0.65rem;
    bottom: 0.4rem;
    font-family: var(--data);
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--edge);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.listing:hover .listing__hint { opacity: 1; }

/* ----------------------------------------------------------- hero footing */

.hero__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 1.5rem;
}

.hero__version {
    margin: 0;
    font-family: var(--data);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    text-transform: uppercase;
}

.copy {
    font-family: var(--data);
    background: transparent;
    color: var(--bone);
    border: 1px solid var(--edge);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.copy:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--dusk);
}

.copy--sm {
    padding: 0.5rem 0.9rem;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.copy--lg {
    padding: 0.85rem 1.4rem;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    background: var(--bone);
    border-color: var(--bone);
    color: var(--dusk);
}

.copy--lg:hover { background: var(--amber); border-color: var(--amber); }

.copy.is-done { background: var(--signal); border-color: var(--signal); color: var(--dusk); }

/* ------------------------------------------------------------------ worlds */

.worlds {
    padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
    max-width: 1180px;
    margin-inline: auto;
    border-top: var(--rule);
}

.worlds__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.worlds__title {
    margin: 0;
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    letter-spacing: -0.03em;
}

.worlds__note {
    margin: 0;
    max-width: 42ch;
    color: var(--muted);
    font-size: 0.95rem;
}

.worlds__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: 1px;
    background: var(--edge);
    border: var(--rule);
}

/* Three up, with the flagship taking a double slot. Five modes then land as
   a clean rectangle instead of leaving an orphan on the last row. */
@media (min-width: 62rem) {
    .worlds__grid { grid-template-columns: repeat(3, 1fr); }
    .world--featured { grid-column: span 2; }
    .world--featured .world__name { font-size: 2.4rem; }
    .world--featured .world__blurb { font-size: 1.02rem; max-width: 46ch; }
}

.world {
    padding: clamp(1.4rem, 3vw, 2rem);
    background: var(--panel);
    position: relative;
    transition: background 0.22s ease;
}

.world::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 2.5rem;
    background: var(--accent, var(--amber));
    transition: height 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.world:hover { background: var(--panel-hi); }
.world:hover::before { height: 100%; }

.world--amber { --accent: var(--amber); }
.world--moss  { --accent: var(--moss); }
.world--ice   { --accent: var(--ice); }
.world--rust  { --accent: var(--rust); }

.world__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.world__kicker {
    margin: 0;
    font-family: var(--data);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent, var(--amber));
}

/* Live count sits opposite the kicker: the card header then carries the two
   true facts about a mode — what it is, and whether anyone's on it. */
.world__live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    flex: none;
    font-family: var(--data);
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.world__live .dot { width: 0.4rem; height: 0.4rem; box-shadow: none; }

.world__live [data-node-label] { transition: opacity 0.2s ease; }
.world__live.is-updating [data-node-label] { opacity: 0.35; }

.world__name {
    margin: 0 0 0.7rem;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.025em;
}

.world__blurb {
    margin: 0 0 1.4rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.world__details {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.world__details li {
    font-family: var(--data);
    font-size: 0.55rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--edge);
    padding: 0.3rem 0.5rem;
}

/* ------------------------------------------------------------------ footer */

.foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 2rem;
    padding: 2rem var(--gutter);
    border-top: var(--rule);
    font-family: var(--data);
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.foot p { margin: 0; }
.foot__mark { color: var(--bone); }
.foot__legal { text-transform: none; letter-spacing: 0.02em; }
.foot__ip { color: var(--amber); }

/* ------------------------------------------------------------------- toast */

.toast {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    translate: -50% 130%;
    padding: 0.7rem 1.1rem;
    background: var(--bone);
    color: var(--dusk);
    font-family: var(--data);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: translate 0.28s cubic-bezier(0.2, 0.9, 0.2, 1);
    z-index: 40;
}

.toast.is-shown { translate: -50% 0; }

/* ------------------------------------------------------------------ mobile */

@media (max-width: 720px) {
    .bar { flex-wrap: wrap; gap: 0.75rem 1rem; }
    .bar__nav { order: 3; width: 100%; margin-inline-start: 0; justify-content: space-between; gap: 0.75rem; }
    .bar__nav a { padding-block: 0; }

    .listing {
        grid-template-columns: auto minmax(0, 1fr);
        row-gap: 1rem;
    }
    .listing__signal {
        grid-column: 1 / -1;
        grid-auto-flow: column;
        justify-items: center;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-top: 0.9rem;
        border-top: var(--rule);
    }
    .listing__hint { display: none; }
    .copy--lg { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .listing::after { display: none; }
}

/* =========================================================================
   Inner pages — rules, vote, news, discord
   ========================================================================= */

.sheet {
    max-width: 1180px;
    margin-inline: auto;
    padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(3rem, 7vw, 5rem);
}

.page__head { margin-bottom: clamp(2rem, 5vw, 3.25rem); }

.page--narrow { max-width: 46rem; }

.page__title {
    margin: 0 0 1rem;
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.035em;
}

.page__lede {
    margin: 0;
    max-width: 58ch;
    font-size: clamp(1rem, 2vw, 1.12rem);
    color: var(--muted);
}

.page__lede strong { color: var(--bone); font-weight: 600; }

/* Current page marker in the nav. */
.bar__nav a.is-current {
    color: var(--bone);
    border-bottom-color: var(--amber);
}

.bar__badge {
    display: inline-block;
    margin-inline-start: 0.35rem;
    padding: 0.1rem 0.3rem;
    background: var(--edge);
    color: var(--bone);
    font-size: 0.9em;
}

/* ------------------------------------------------------------------ rules */

.rules {
    display: grid;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
}

@media (min-width: 60rem) {
    .rules { grid-template-columns: 15rem minmax(0, 1fr); }
    .rules__index { position: sticky; top: 5.5rem; }
}

.rules__index-label {
    margin: 0 0 1rem;
    font-family: var(--data);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.rules__index ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.15rem;
}

.rules__index a {
    display: flex;
    gap: 0.7rem;
    padding: 0.5rem 0.6rem;
    font-size: 0.92rem;
    color: var(--muted);
    text-decoration: none;
    border-left: 2px solid var(--edge);
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.rules__index a:hover {
    color: var(--bone);
    border-left-color: var(--amber);
    background: var(--panel);
}

.rules__index-num {
    font-family: var(--data);
    font-size: 0.66rem;
    color: var(--amber);
    padding-top: 0.15rem;
}

.ruleset { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); scroll-margin-top: 5.5rem; }

.ruleset__title {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    margin: 0 0 1.25rem;
    padding-bottom: 0.8rem;
    border-bottom: var(--rule);
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    letter-spacing: -0.025em;
}

.ruleset__num {
    font-family: var(--data);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--amber);
}

.ruleset__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.15rem;
}

.rule {
    display: grid;
    grid-template-columns: 3.1rem minmax(0, 1fr);
    gap: 0.5rem;
    padding: 0.85rem 0.75rem;
    scroll-margin-top: 5.5rem;
    transition: background 0.2s ease;
}

.rule:hover { background: var(--panel); }

/* Highlight the rule someone was linked to, so they land on the right line. */
.rule:target {
    background: var(--panel-hi);
    box-shadow: inset 2px 0 0 var(--amber);
}

.rule__ref {
    font-family: var(--data);
    font-size: 0.66rem;
    color: var(--muted);
    text-decoration: none;
    padding-top: 0.28rem;
    transition: color 0.18s ease;
}

.rule__ref:hover { color: var(--amber); }

.rule__text { margin: 0; font-size: 1rem; }

.rule__note {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    color: var(--muted);
}

/* --------------------------------------------------------------- callouts */

.callout {
    margin: clamp(2rem, 4vw, 3rem) 0 0;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    background: var(--panel);
    border: var(--rule);
    border-left: 3px solid var(--amber);
}

.callout--warn { border-left-color: var(--rust); }

.callout p { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.95rem; }
.callout p:last-child { margin-bottom: 0; }

.callout__title {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--bone) !important;
}

.callout .copy { margin-top: 0.5rem; display: inline-block; text-decoration: none; }

/* ------------------------------------------------------------------- vote */

.votebar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.85rem 1rem;
    background: var(--panel);
    border: var(--rule);
}

.votebar__count {
    margin: 0;
    flex: none;
    font-family: var(--data);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.votebar__track {
    flex: 1;
    height: 4px;
    background: var(--edge);
    overflow: hidden;
}

.votebar__fill {
    display: block;
    height: 100%;
    width: 0;
    background: var(--signal);
    transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.votebar__reset {
    flex: none;
    background: none;
    border: 0;
    padding: 0.2rem 0.3rem;
    font-family: var(--data);
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    cursor: pointer;
}

.votebar__reset:hover { color: var(--bone); }

.votes {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 1px;
    background: var(--edge);
    border: var(--rule);
}

.votesite {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem clamp(1rem, 2.5vw, 1.4rem);
    background: var(--panel);
    transition: background 0.2s ease;
}

.votesite:hover { background: var(--panel-hi); }

.votesite__num {
    flex: none;
    font-family: var(--data);
    font-size: 0.72rem;
    color: var(--edge);
}

.votesite__body { flex: 1; min-width: 0; }

.votesite__name {
    margin: 0;
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.08rem;
    letter-spacing: -0.015em;
}

.votesite__meta {
    margin: 0.15rem 0 0;
    font-family: var(--data);
    font-size: 0.55rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}

.votesite__dot { color: var(--edge); margin-inline: 0.3rem; }

.votesite__done {
    flex: none;
    font-family: var(--data);
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--signal);
}

.votesite__go { flex: none; text-decoration: none; }

.votesite.is-done { background: var(--dusk-lo); }
.votesite.is-done .votesite__name { color: var(--muted); }

/* ------------------------------------------------------------------- news */

.posts {
    display: grid;
    gap: 1px;
    background: var(--edge);
    border: var(--rule);
}

.post {
    padding: clamp(1.4rem, 3vw, 2rem);
    background: var(--panel);
    transition: background 0.2s ease;
}

.post:hover { background: var(--panel-hi); }
.post--pinned { border-left: 3px solid var(--amber); }

.post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.7rem;
    font-family: var(--data);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.post__tag {
    padding: 0.2rem 0.4rem;
    border: 1px solid var(--edge);
    color: var(--ice);
}

.post__pin { color: var(--amber); }

.post__title {
    margin: 0 0 0.6rem;
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    letter-spacing: -0.03em;
}

.post__title a { text-decoration: none; }
.post__title a:hover { color: var(--amber); }

.post__summary { margin: 0 0 1rem; color: var(--muted); max-width: 62ch; }

.post__more {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    margin: 0;
    font-family: var(--data);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post__more a { color: var(--amber); text-decoration: none; }
.post__more a:hover { text-decoration: underline; }
.post__age { color: var(--edge); }

.backlink { color: var(--amber); text-decoration: none; }
.backlink:hover { text-decoration: underline; }

/* Article body. */
.prose { max-width: 62ch; }
.prose p { margin: 0 0 1.1rem; }
.prose h3 {
    margin: 2rem 0 0.8rem;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}
.prose ul { margin: 0 0 1.1rem; padding-left: 1.1rem; color: var(--muted); }
.prose li { margin-bottom: 0.5rem; }
.prose strong { color: var(--bone); font-weight: 600; }
.prose a { color: var(--amber); }

/* ---------------------------------------------------------------- discord */

.cta-row { margin: 0 0 clamp(2rem, 4vw, 3rem); }
.cta-row .copy { text-decoration: none; display: inline-block; }

.notes { margin-top: clamp(2rem, 4vw, 3rem); }

.notes__title {
    margin: 0 0 1rem;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.025em;
}

.notes ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.notes li { margin-bottom: 0.6rem; }

.channels__list { margin: 0; display: grid; gap: 1px; background: var(--edge); border: var(--rule); }
.channels__list > div { padding: 1rem clamp(1rem, 2.5vw, 1.4rem); background: var(--panel); }

.channels__list dt {
    font-family: var(--data);
    font-size: 0.7rem;
    color: var(--amber);
    margin-bottom: 0.35rem;
}

.channels__list dd { margin: 0; color: var(--muted); font-size: 0.92rem; }
.channels__list dd a { color: var(--bone); }

.widget { margin-top: clamp(2rem, 4vw, 3rem); }
.widget iframe { display: block; border: var(--rule); background: var(--panel); }

/* Footer IP is a copy button now, not plain text. */
.foot__ip {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--amber);
    cursor: pointer;
}

.foot__ip:hover { color: var(--bone); }

@media (max-width: 720px) {
    .votesite { flex-wrap: wrap; }
    .votesite__body { flex-basis: 60%; }
    .votesite__go { margin-inline-start: auto; }
}
