@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=Inter:wght@400;500;600;700&display=swap');

.pickem-archive {
    --ink: #1e2328;
    --deep: #ffffff;
    --panel: #ffffff;
    --blue: #687b91;
    --bright: #1e2328;
    --gold: #c8aa6e;
    --light-gold: #1e2328;
    --bronze: #785a28;
    --text: #1e2328;
    --muted: #4f5b66;
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin-inline: auto;
    overflow: hidden;
    isolation: isolate;
    background-color: #f5f3ee;
    background-image: none;
    color: var(--text);
    font: 400 15px/1.6 Inter, Arial, sans-serif;
}

.pickem-archive *,
.pickem-archive *::before,
.pickem-archive *::after { box-sizing: border-box; }

.pickem-archive h1,
.pickem-archive h2,
.pickem-archive h3,
.pickem-archive h4 { margin: 0; font-family: Cinzel, Georgia, serif; font-weight: 600; line-height: 1.1; }
.pickem-archive button,
.pickem-archive input { font: inherit; }
.archive-stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .16; background-image: radial-gradient(circle, rgba(200, 170, 110, .4) 0 1px, transparent 1.5px); background-size: 190px 190px; }
.archive-hero,
.archive-section { width: min(1600px, 92vw); margin: 0 auto; padding: clamp(4rem, 8vw, 8rem) 0; }
.archive-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(250px, .85fr); align-items: center; min-height: 70vh; gap: clamp(2rem, 8vw, 9rem); }
.hero-copy { min-width: 0; }
.archive-kicker { margin: 0 0 1rem; color: var(--bright); font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.archive-event { margin: 0 0 1.5rem; color: var(--gold); font-size: .72rem; font-weight: 600; letter-spacing: .18em; }
.archive-event span { padding: 0 .45rem; color: var(--muted); }
.archive-hero h1 { max-width: 900px; font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -.04em; overflow-wrap: anywhere; }
.archive-hero h1 em { color: var(--light-gold); font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; letter-spacing: 0; }
.hero-intro { max-width: 560px; margin: 1.75rem 0; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.archive-button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--blue); cursor: pointer; font-weight: 700; letter-spacing: .04em; text-decoration: none; transition: .25s ease; }
.archive-button span { font-size: 1.25em; }
.archive-button-primary { background: var(--blue); color: #1e2328; }
.archive-button-primary:hover { background: var(--bright); box-shadow: 0 0 30px rgba(94, 169, 255, .35); transform: translateY(-2px); }
.archive-status { display: inline-flex; align-items: center; gap: .55rem; color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .14em; }
.archive-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero-sigil { position: relative; display: grid; grid-template-columns: 76px 1fr 76px; align-items: center; min-height: 360px; gap: .75rem; padding: 2rem; border: 1px solid rgba(200, 170, 110, .62); background: linear-gradient(145deg, rgba(70, 55, 20, .5), rgba(30, 35, 40, .96) 52%, rgba(10, 20, 40, .96)); clip-path: polygon(8% 0, 92% 0, 100% 8%, 100% 92%, 92% 100%, 8% 100%, 0 92%, 0 8%); }
.hero-sigil::before { position: absolute; inset: 10px; border: 1px solid rgba(200, 170, 110, .34); content: ""; pointer-events: none; }
.hero-matchup { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: clamp(.45rem, 1.4vw, 1.5rem); color: var(--light-gold); font: 600 .65rem/1.5 Cinzel; letter-spacing: .12em; text-align: center; }
.hero-matchup span { min-width: 76px; }
.hero-matchup span small { position: static; display: block; color: var(--gold); font-size: .5rem; letter-spacing: .16em; }
.hero-matchup strong { display: block; color: var(--light-gold); font-size: clamp(2rem, 4vw, 4.2rem); line-height: 1; }
.hero-matchup em { display: block; margin-top: .35rem; color: var(--muted); font: 500 .5rem Inter; letter-spacing: .08em; white-space: nowrap; }
.hero-matchup b { color: var(--gold); font-size: .75rem; }
.matchup-crest { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 66px; height: 66px; border: 1px solid var(--gold); color: var(--light-gold); font: 600 2.4rem Cinzel; }
.crest-gen { background: linear-gradient(145deg, #d6b86a, #5f4518); }
.crest-blg { background: linear-gradient(145deg, #c23838, #4b1717); }
.cup-mark { position: absolute; top: 36%; left: 50%; color: rgba(240, 230, 210, .065); font: 600 clamp(8rem, 16vw, 13rem)/.75 Cinzel; transform: translateX(-50%); }
.matchup-meta { position: absolute; bottom: 11%; left: 0; width: 100%; color: var(--muted); font-size: .55rem; letter-spacing: .2em; text-align: center; }
.identity-section,
.prophecy-section,
.archive-leaderboard { border-top: 1px solid rgba(150, 164, 192, .16); }
.section-heading { margin-bottom: 2.5rem; }
.section-heading h2 { font-size: clamp(1.7rem, 3vw, 3rem); }
.section-heading > p:last-child { margin: .7rem 0 0; color: var(--muted); }
.identity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.identity-card { display: flex; flex-direction: column; min-height: 290px; padding: 2rem; border: 1px solid rgba(128, 200, 255, .2); background: linear-gradient(135deg, rgba(11, 20, 48, .94), rgba(7, 14, 32, .92)); color: var(--text); cursor: pointer; text-align: left; transition: .3s ease; }
.identity-card:hover,
.identity-card:focus-visible { border-color: var(--blue); box-shadow: 0 15px 50px rgba(0, 0, 0, .3), 0 0 35px rgba(94, 169, 255, .12); transform: translateY(-5px); }
.identity-card-featured { border-color: rgba(200, 170, 110, .5); background: linear-gradient(135deg, rgba(18, 42, 79, .95), rgba(8, 19, 43, .95)); }
.card-mark { margin-bottom: auto; color: var(--gold); font-size: 1.6rem; }
.card-eyebrow { margin-bottom: .75rem; color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .18em; }
.identity-card strong { font: 600 clamp(1.4rem, 3vw, 2.1rem) Cinzel; }
.identity-card > span:not(.card-mark):not(.card-eyebrow) { max-width: 400px; margin: 1rem 0 2rem; color: var(--muted); font-size: .9rem; }
.identity-card b { color: var(--bright); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.identity-card b i { margin-left: .5rem; font-size: 1.2rem; font-style: normal; }
.identity-form-wrap { margin-top: 1rem; padding: clamp(1.2rem, 4vw, 2.5rem); border: 1px solid rgba(128, 200, 255, .2); background: rgba(11, 20, 48, .7); }
.archive-form { display: grid; gap: 1.25rem; }
.compact-form { max-width: 550px; }
.compact-form h3 { font-size: 1.4rem; }
.archive-form label { display: grid; gap: .45rem; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.archive-form input,
.search-field { padding: .85rem 1rem; border: 1px solid #273c64; outline: 0; background: #050b19; color: var(--text); }
.archive-form input:focus,
.search-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(94, 169, 255, .12); }
.archive-feedback { margin: 0; color: var(--gold); }
.prophecy-top { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.prophecy-top h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
.step-indicator { display: flex; align-items: center; gap: .7rem; }
.step-indicator span { padding: .45rem; border: 1px solid rgba(150, 164, 192, .35); color: var(--muted); font-size: .65rem; }
.step-indicator span.is-active { border-color: var(--blue); background: var(--blue); color: #1e2328; }
.step-indicator i { width: 20px; height: 1px; background: rgba(150, 164, 192, .3); }
.prediction-form { max-width: 1200px; }
.prediction-step { display: none; }
.prediction-step.is-active { display: block; animation: archive-in .35s ease; }
.step-title { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
.step-title > span { color: var(--gold); font: 600 1.5rem Cinzel; }
.step-title h3 { font-size: clamp(1.3rem, 3vw, 2.3rem); }
.step-title p:last-child { margin: .5rem 0 0; color: var(--muted); }
.winner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
.choice-card { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: .4rem; padding: 1.25rem; border: 1px solid rgba(128, 200, 255, .22); background: var(--deep); color: var(--text); cursor: pointer; text-align: left; transition: .25s; }
.choice-card:hover,
.choice-card.is-selected { border-color: var(--blue); box-shadow: 0 0 25px rgba(94, 169, 255, .16); }
.choice-card.is-selected { background: linear-gradient(135deg, #123361, #0b1835); }
.team-crest { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border: 1px solid var(--gold); background: rgba(200, 170, 110, .15); color: var(--gold); font: 600 2rem Cinzel; }
.choice-card strong { font: 600 1.1rem Cinzel; }
.choice-card small,
.artifact-counter small,
.fate-chamber small,
.rank-card small { color: var(--muted); font-size: .62rem; letter-spacing: .12em; }
.champion-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.search-field { display: flex; align-items: center; max-width: 480px; gap: .5rem; padding: .5rem .75rem; }
.search-field span { font-size: 1.4rem; }
.search-field input { width: 100%; padding: .25rem; border: 0; background: transparent; box-shadow: none; }
.selection-count { color: var(--gold); font-size: .65rem; font-weight: 700; letter-spacing: .1em; white-space: nowrap; }
.champion-field { margin: 1.5rem 0 2.5rem; }
.champion-field h4 { margin-bottom: 1rem; font-size: 1rem; }
.champion-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .8rem; max-height: 520px; padding: .2rem; overflow: auto; }
.champion-card { position: relative; display: flex; flex-direction: column; min-width: 120px; min-height: 140px; padding: .45rem; border: 1px solid rgba(128, 200, 255, .12); background: rgba(6, 14, 31, .75); cursor: pointer; transition: .25s ease; }
.champion-card:hover { border-color: rgba(128, 200, 255, .7); box-shadow: 0 8px 26px rgba(0, 0, 0, .35), 0 0 18px rgba(94, 169, 255, .2); transform: translateY(-4px); }
.champion-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.champion-card img { width: 100%; aspect-ratio: 1 / .86; object-fit: cover; filter: saturate(.72); transition: .25s; }
.champion-card span { display: block; padding: .45rem .1rem .15rem; overflow: hidden; color: var(--text); font-size: .7rem; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.champion-card input:checked + img { border: 2px solid var(--blue); box-shadow: 0 0 18px rgba(94, 169, 255, .8); filter: none; }
.champion-card input:checked ~ span { color: var(--bright); }
.played-field { padding-top: 2rem; border-top: 1px solid rgba(150, 164, 192, .16); }
.step-actions { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; }
.text-button { padding: .7rem 0; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.text-button:hover { color: var(--bright); }
.artifact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.artifact-counter,
.lane-artifact,
.fate-chamber,
.seal-card { padding: 1.4rem; border: 1px solid rgba(128, 200, 255, .2); background: linear-gradient(135deg, rgba(13, 28, 58, .92), rgba(7, 14, 31, .94)); }
.artifact-icon { display: block; color: var(--gold); font-size: 1.6rem; }
.artifact-counter strong { display: block; margin: .7rem 0 .25rem; font: 600 1rem Cinzel; }
.counter { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; }
.counter button,
.fate-controls button { width: 34px; height: 34px; border: 1px solid rgba(128, 200, 255, .4); background: transparent; color: var(--bright); cursor: pointer; font-size: 1.3rem; }
.counter output { color: var(--text); font: 600 1.7rem Cinzel; }
.lane-artifact { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.lane-artifact h4 { font-size: 1.1rem; }
.lane-selector { display: flex; flex-wrap: wrap; gap: .45rem; }
.lane-selector button { padding: .65rem .8rem; border: 1px solid rgba(150, 164, 192, .35); background: transparent; color: var(--muted); cursor: pointer; }
.lane-selector button:hover,
.lane-selector button.is-selected { border-color: var(--blue); background: var(--blue); color: #1e2328; }
.round-lane-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
.round-lane { padding: 1rem; border-top: 1px solid rgba(200, 170, 110, .25); }
.round-lane > span { display: block; margin-bottom: .65rem; color: var(--light-gold); font: 600 .72rem Cinzel; letter-spacing: .12em; text-transform: uppercase; }
.fate-chamber { display: flex; flex-direction: column; align-items: center; margin-bottom: 2rem; padding: 3rem; border-color: rgba(200, 170, 110, .5); text-align: center; }
.fate-ring { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-bottom: 1rem; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 1.6rem; }
.fate-entry { display: grid; gap: .6rem; color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .14em; }
.fate-entry input { width: min(340px, 75vw); padding: .5rem; border: 0; border-bottom: 1px solid var(--gold); background: transparent; color: var(--light-gold); font: 600 clamp(2.8rem, 8vw, 6rem)/1 Cinzel; letter-spacing: .12em; text-align: center; }
.fate-controls { display: flex; gap: .5rem; margin-top: 1.4rem; }
.fate-controls input { width: 130px; border: 0; background: transparent; color: var(--text); font: 600 1.2rem Cinzel; text-align: center; }
.seal-card { max-width: 680px; margin-bottom: 1rem; border-color: var(--gold); }
.seal-head { display: flex; justify-content: space-between; margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(200, 170, 110, .3); }
.seal-head span,
.seal-head strong { font-size: .65rem; letter-spacing: .14em; }
.seal-head span { color: var(--gold); }
.summary-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.summary-list div { color: var(--muted); font-size: .8rem; }
.summary-list strong { display: block; color: var(--text); font-size: 1rem; }
.seal-line { margin: 1.3rem 0; border-bottom: 1px solid rgba(200, 170, 110, .3); }
.seal-card > p { color: var(--muted); font-size: .8rem; }
.seal-button { width: 100%; border-color: var(--gold); background: var(--gold); color: #1e2328; }
.ranking-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.rank-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid rgba(150, 164, 192, .16); background: rgba(11, 20, 48, .7); }
.rank-card-first { grid-column: span 2; padding: 1.5rem; border-color: rgba(200, 170, 110, .65); background: linear-gradient(110deg, rgba(65, 53, 31, .8), rgba(11, 20, 48, .8)); }
.rank-number { color: var(--gold); font: 600 1.5rem Cinzel; }
.rank-card:not(.rank-card-first) .rank-number { color: var(--blue); font-size: 1rem; }
.rank-card div { flex: 1; }
.rank-card strong,
.rank-card small { display: block; }
.rank-points { color: var(--gold); font: 600 1.2rem Cinzel; }
.sealed-section { min-height: 40vh; }
.archive-muted { color: var(--muted); }

@keyframes archive-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 800px) {
    .archive-hero { grid-template-columns: 1fr; min-height: 70vh; }
    .hero-sigil { display: none; }
    .artifact-grid { grid-template-columns: repeat(2, 1fr); }
    .lane-artifact { align-items: flex-start; flex-direction: column; }
    .ranking-grid { grid-template-columns: 1fr; }
    .rank-card-first { grid-column: auto; }
}

/* Tablet and mobile identity flow: never preserve the desktop two-column cards. */
@media (max-width: 1023px) {
    .pickem-archive .identity-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .pickem-archive .identity-card,
    .pickem-archive .identity-form-wrap,
    .pickem-archive .archive-form,
    .pickem-archive .compact-form {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        justify-self: stretch;
    }
}

@media (max-width: 560px) {
    .archive-hero,
    .archive-section { width: min(1600px, calc(100vw - 2rem)); }
    .identity-grid,
    .winner-grid { grid-template-columns: 1fr; }
    .identity-card { min-height: 240px; padding: 1.4rem; }
    .prophecy-top { align-items: flex-start; flex-direction: column; }
    .step-indicator { width: 100%; }
    .step-indicator i { flex: 1; }
    .champion-toolbar { align-items: flex-start; flex-direction: column; }
    .search-field { width: 100%; max-width: none; }
    .champion-grid { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
    .artifact-grid { gap: .6rem; }
    .artifact-counter { padding: .8rem; }
    .artifact-counter strong { font-size: .8rem; }
    .step-actions { align-items: stretch; flex-direction: column-reverse; gap: .5rem; }
    .step-actions .archive-button { width: 100%; }
    .summary-list { grid-template-columns: 1fr; }
}

/* Grounded event surface and handcrafted emblems. */
.pickem-archive {
    background: transparent !important;
    background-image: none !important;
    cursor: url("lol-cursor.png") 32 32, auto;
}
.pickem-archive .archive-stars { display: none; }
.pickem-archive button,
.pickem-archive a,
.pickem-archive label { cursor: url("lol-cursor.png") 32 32, pointer; }
.pickem-archive .matchup-crest img { display: block; width: 74px; height: 74px; object-fit: contain; }
.pickem-archive .team-crest { padding: .2rem; background: transparent; }
.pickem-archive .team-crest img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pickem-archive .artifact-icon { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: .6rem; border: 1px solid rgba(200, 170, 110, .48); background: rgba(70, 55, 20, .2); }
.pickem-archive .artifact-icon svg { width: 58px; height: 58px; fill: none; stroke: var(--gold); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.4; }
.pickem-archive .artifact-icon img { display: block; width: 58px; height: 58px; object-fit: contain; }
.pickem-archive .artifact-counter:hover .artifact-icon { border-color: var(--light-gold); background: rgba(120, 90, 40, .3); }
.pickem-archive .is-pressed { transform: translateY(2px) scale(.98); filter: brightness(1.2); }
.pickem-archive button,
.pickem-archive a,
.pickem-archive .champion-card,
.pickem-archive .identity-card { position: relative; overflow: hidden; }
.pickem-archive .ripple-mark { position: absolute; width: 12px; height: 12px; border: 1px solid var(--light-gold); border-radius: 50%; pointer-events: none; animation: archive-ripple .45s ease-out forwards; }
@keyframes archive-ripple { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(7); } }

/* Keep the event surface transparent; only intentional controls carry color. */
.pickem-archive .archive-hero,
.pickem-archive .archive-section,
.pickem-archive .identity-section,
.pickem-archive .prophecy-section,
.pickem-archive .archive-leaderboard,
.pickem-archive .identity-card,
.pickem-archive .identity-form-wrap,
.pickem-archive .choice-card,
.pickem-archive .winner-grid,
.pickem-archive .champion-field,
.pickem-archive .champion-card,
.pickem-archive .artifact-grid,
.pickem-archive .artifact-counter,
.pickem-archive .lane-artifact,
.pickem-archive .fate-chamber,
.pickem-archive .seal-card,
.pickem-archive .rank-card,
.pickem-archive .search-field,
.pickem-archive .archive-form input {
    background: transparent !important;
    background-image: none !important;
}
.pickem-archive .archive-button {
    border-radius: .55rem;
    background: var(--gold) !important;
    color: #1e2328 !important;
}
.pickem-archive .hero-sigil {
    background: transparent !important;
    background-image: none !important;
}
.pickem-archive .archive-button:hover {
    background: var(--light-gold) !important;
    color: #1e2328 !important;
}
.pickem-archive .choice-card,
.pickem-archive .identity-card,
.pickem-archive .champion-card,
.pickem-archive .lane-selector button,
.pickem-archive .counter button {
    border-radius: .45rem;
}

/* Worlds application layer: the archive is an event tool, not a marketing page. */
.pickem-archive {
    left: auto;
    width: 100%;
    max-width: 1600px;
    margin-inline: auto;
    border-inline: 1px solid rgba(200, 170, 110, .12);
    --blue: #687b91;
    --bright: #b8b2a7;
    --muted: #a49d90;
}
.pickem-archive [hidden],
.pickem-archive .champion-card[hidden] { display: none !important; }
.pickem-archive .archive-hero,
.pickem-archive .archive-section {
    width: min(1600px, 92vw);
    margin-inline: auto;
}
.pickem-archive .archive-hero {
    min-height: 70vh;
    border-bottom: 1px solid rgba(200, 170, 110, .28);
}
.pickem-archive .archive-button {
    border-color: var(--gold);
    background: var(--gold);
    color: #1e2328;
}
.pickem-archive .archive-button:hover {
    background: var(--light-gold);
    box-shadow: 0 0 20px rgba(200, 170, 110, .28);
}
.pickem-archive .identity-section,
.pickem-archive .prophecy-section,
.pickem-archive .archive-leaderboard {
    position: relative;
    background: linear-gradient(180deg, rgba(30, 35, 40, .78), rgba(10, 20, 40, .5));
}
.pickem-archive .identity-section::before,
.pickem-archive .prophecy-section::before,
.pickem-archive .archive-leaderboard::before {
    position: absolute;
    inset: 1rem 0 auto;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--bronze) 0 8px, transparent 8px 14px);
    content: "";
    opacity: .7;
}
.pickem-archive .identity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}
.pickem-archive .identity-card,
.pickem-archive .identity-form-wrap,
.pickem-archive .choice-card,
.pickem-archive .artifact-counter,
.pickem-archive .lane-artifact,
.pickem-archive .fate-chamber,
.pickem-archive .seal-card,
.pickem-archive .rank-card {
    position: relative;
    border-color: rgba(200, 170, 110, .42);
    border-radius: 0;
    background: linear-gradient(145deg, rgba(30, 35, 40, .98), rgba(10, 20, 40, .96));
    box-shadow: inset 0 0 0 1px rgba(120, 90, 40, .18);
}
.pickem-archive .identity-card::before,
.pickem-archive .identity-form-wrap::before,
.pickem-archive .choice-card::before,
.pickem-archive .artifact-counter::before,
.pickem-archive .lane-artifact::before,
.pickem-archive .fate-chamber::before,
.pickem-archive .seal-card::before,
.pickem-archive .rank-card::before {
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(120, 90, 40, .34);
    pointer-events: none;
    content: "";
}
.pickem-archive .identity-card:hover,
.pickem-archive .identity-card:focus-visible {
    border-color: var(--light-gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(240, 230, 210, .16);
}
.pickem-archive .identity-card-featured {
    border-color: var(--gold);
    background: linear-gradient(145deg, rgba(70, 55, 20, .74), rgba(10, 20, 40, .96));
}
.pickem-archive .identity-form-wrap {
    max-width: 760px;
    margin-inline: auto;
}
.pickem-archive .archive-form input,
.pickem-archive .search-field {
    border-color: rgba(200, 170, 110, .46);
    border-radius: 0;
    background: #0a1428;
}
.pickem-archive .archive-form input:focus,
.pickem-archive .search-field:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(200, 170, 110, .16);
}
.pickem-archive .prophecy-top {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(200, 170, 110, .34);
}
.pickem-archive .step-indicator span {
    border-color: var(--bronze);
    color: var(--light-gold);
}
.pickem-archive .step-indicator button {
    padding: .45rem;
    border: 1px solid #d8cdb4;
    background: transparent;
    color: #4f5b66;
    cursor: pointer;
    font: inherit;
    font-size: .65rem;
}
.pickem-archive .step-indicator button.is-active,
.pickem-archive .step-indicator button:hover,
.pickem-archive .step-indicator button:focus-visible {
    border-color: #c8aa6e;
    background: #c8aa6e;
    color: #1e2328;
}
.pickem-archive .step-indicator span.is-active {
    border-color: var(--gold);
    background: var(--gold);
    color: #1e2328;
}
.pickem-archive .step-title {
    padding: 1rem 1.25rem;
    border-inline-start: 4px solid var(--gold);
    background: rgba(70, 55, 20, .22);
}
.pickem-archive .step-title > span,
.pickem-archive .archive-kicker,
.pickem-archive .selection-count { color: var(--light-gold); }
.pickem-archive .winner-grid {
    position: relative;
    padding: 1rem;
    border: 1px solid rgba(200, 170, 110, .35);
    background: #0a1428;
}
.pickem-archive .choice-card {
    min-height: 150px;
}
.pickem-archive .choice-card:hover,
.pickem-archive .choice-card.is-selected {
    border-color: var(--light-gold);
    box-shadow: 0 0 0 2px rgba(200, 170, 110, .2);
}
.pickem-archive .team-crest {
    border-color: var(--gold);
    background: var(--bronze);
    color: var(--light-gold);
}
.pickem-archive .artifact-icon {
    background: transparent !important;
}
.pickem-archive .artifact-counter:hover .artifact-icon {
    background: transparent !important;
}
.pickem-archive .champion-field {
    padding: 1.25rem;
    border: 1px solid rgba(200, 170, 110, .35);
    background: #0a1428;
}
.pickem-archive .champion-field h4 {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--light-gold);
    font: 600 1rem Cinzel;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.pickem-archive .champion-field h4::before {
    width: 22px;
    height: 22px;
    border: 1px solid var(--gold);
    background: linear-gradient(135deg, var(--gold), var(--bronze));
    content: "";
    transform: rotate(45deg);
}
.pickem-archive .champion-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    max-height: 610px;
    gap: .65rem;
}
.pickem-archive .champion-card {
    min-height: 140px;
    border-color: rgba(120, 90, 40, .55);
    background: #1e2328;
}
.pickem-archive .champion-card:hover {
    border-color: var(--light-gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
}
.pickem-archive .champion-card img {
    filter: saturate(.9) contrast(1.05);
}
.pickem-archive .champion-card input:checked + img {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px var(--gold), 0 0 18px rgba(200, 170, 110, .42);
}
.pickem-archive .champion-card input:checked ~ span {
    color: var(--light-gold);
}
.pickem-archive .played-field {
    border-top-color: var(--gold);
}
.pickem-archive .artifact-grid {
    padding: 1rem;
    border: 1px solid rgba(200, 170, 110, .35);
    background: #0a1428;
}
.pickem-archive .counter button,
.pickem-archive .lane-selector button {
    border-color: var(--bronze);
    color: var(--light-gold);
}
.pickem-archive .counter button:hover,
.pickem-archive .lane-selector button:hover,
.pickem-archive .lane-selector button.is-selected {
    border-color: var(--gold);
    background: var(--gold);
    color: #1e2328;
}
.pickem-archive .round-lane {
    border-top-color: rgba(200, 170, 110, .45);
}
.pickem-archive .fate-chamber {
    background: radial-gradient(circle at center, rgba(120, 90, 40, .22), transparent 60%), #0a1428;
}
.pickem-archive .fate-entry input {
    border-bottom-color: var(--gold);
    color: var(--light-gold);
}
.pickem-archive .seal-button {
    background: var(--gold);
}
.pickem-archive .rank-card-first {
    border-color: var(--gold);
    background: linear-gradient(110deg, rgba(70, 55, 20, .86), rgba(30, 35, 40, .96));
}
.pickem-archive .rank-number,
.pickem-archive .rank-points { color: var(--light-gold); }
.pickem-archive .rank-card:not(.rank-card-first) .rank-number { color: var(--gold); }

@media (max-width: 560px) {
    .pickem-archive,
    .pickem-archive .archive-hero,
    .pickem-archive .archive-section { width: 100%; }
    .pickem-archive .archive-hero,
    .pickem-archive .archive-section { padding-inline: 1rem; }
}

/* Final surface pass: the supplied marks and champion art carry the visual weight. */
.pickem-archive .archive-hero,
.pickem-archive .hero-sigil,
.pickem-archive .identity-section,
.pickem-archive .prophecy-section,
.pickem-archive .archive-leaderboard,
.pickem-archive .identity-card,
.pickem-archive .identity-form-wrap,
.pickem-archive .choice-card,
.pickem-archive .winner-grid,
.pickem-archive .champion-field,
.pickem-archive .champion-card,
.pickem-archive .artifact-grid,
.pickem-archive .artifact-counter,
.pickem-archive .lane-artifact,
.pickem-archive .fate-chamber,
.pickem-archive .seal-card,
.pickem-archive .rank-card,
.pickem-archive .archive-form input,
.pickem-archive .search-field,
.pickem-archive .team-crest {
    background: transparent !important;
    background-image: none !important;
}
.pickem-archive .identity-card,
.pickem-archive .identity-form-wrap,
.pickem-archive .choice-card,
.pickem-archive .artifact-counter,
.pickem-archive .lane-artifact,
.pickem-archive .fate-chamber,
.pickem-archive .seal-card,
.pickem-archive .rank-card,
.pickem-archive .champion-card,
.pickem-archive .search-field,
.pickem-archive .archive-form input,
.pickem-archive .archive-button {
    border-radius: .55rem;
}
.pickem-archive .archive-button,
.pickem-archive .archive-button:hover,
.pickem-archive .archive-button:focus-visible {
    background: var(--gold) !important;
    color: #1e2328 !important;
}
.pickem-archive .archive-button:hover,
.pickem-archive .archive-button:focus-visible {
    background: var(--light-gold) !important;
}
.pickem-archive .champion-field h4::before {
    display: none;
}

/* Light Worlds application theme: content first, finals context second. */
.pickem-archive {
    --ink: #1e2328;
    --deep: #ffffff;
    --panel: #ffffff;
    --blue: #687b91;
    --bright: #1e2328;
    --gold: #c8aa6e;
    --light-gold: #1e2328;
    --bronze: #785a28;
    --text: #1e2328;
    --muted: #4f5b66;
    background: #f5f3ee !important;
    background-image: none !important;
    color: #1e2328;
    color-scheme: light;
}
.pickem-archive > .archive-hero,
.pickem-archive > .identity-section,
.pickem-archive > .prophecy-section,
.pickem-archive > .archive-leaderboard,
.pickem-archive > .sealed-section {
    order: initial;
}
.pickem-archive {
    display: flex;
    flex-direction: column;
}
.pickem-archive > .archive-hero { order: 1; }
.pickem-archive > .identity-section { order: 2; }
.pickem-archive > .prophecy-section { order: 3; }
.pickem-archive > .archive-leaderboard,
.pickem-archive > .sealed-section { order: 4; }
.pickem-archive .archive-hero,
.pickem-archive .archive-section {
    width: min(1600px, 92vw);
    padding-block: clamp(2rem, 4vw, 3.5rem);
}
.pickem-archive .archive-hero {
    min-height: 28vh;
    border-bottom: 1px solid #d8cdb4;
}
.pickem-archive .archive-hero h1 {
    color: #1e2328;
    font-size: clamp(2rem, 4vw, 4rem);
}
.pickem-archive .archive-hero h1 em,
.pickem-archive .hero-matchup strong,
.pickem-archive .hero-matchup span,
.pickem-archive .hero-matchup em,
.pickem-archive .hero-matchup b,
.pickem-archive .matchup-meta,
.pickem-archive .cup-mark {
    color: #1e2328;
}
.pickem-archive .hero-intro,
.pickem-archive .section-heading > p:last-child,
.pickem-archive .step-title p:last-child,
.pickem-archive .archive-muted {
    color: #4f5b66;
}
.pickem-archive .archive-kicker,
.pickem-archive .archive-event,
.pickem-archive .archive-status,
.pickem-archive .selection-count,
.pickem-archive .step-title > span,
.pickem-archive .card-mark,
.pickem-archive .card-eyebrow,
.pickem-archive .archive-feedback,
.pickem-archive .rank-number,
.pickem-archive .rank-points,
.pickem-archive .seal-head span {
    color: #785a28;
}
.pickem-archive .archive-event span,
.pickem-archive .archive-status i {
    color: #4f5b66;
}
.pickem-archive .archive-status i {
    background: #c8aa6e;
    box-shadow: none;
}
.pickem-archive .hero-sigil {
    min-height: 190px;
    padding: 1rem;
    border-color: #d8cdb4;
    clip-path: none;
}
.pickem-archive .hero-sigil::before {
    border-color: #d8cdb4;
}
.pickem-archive .matchup-crest {
    border-color: #c8aa6e;
}
.pickem-archive .crest-gen,
.pickem-archive .crest-blg {
    background: transparent;
}
.pickem-archive .identity-section,
.pickem-archive .prophecy-section,
.pickem-archive .archive-leaderboard {
    background: transparent !important;
}
.pickem-archive .identity-section::before,
.pickem-archive .prophecy-section::before,
.pickem-archive .archive-leaderboard::before {
    background: #d8cdb4;
    background-image: none;
}
.pickem-archive .identity-card,
.pickem-archive .identity-form-wrap,
.pickem-archive .choice-card,
.pickem-archive .winner-grid,
.pickem-archive .champion-field,
.pickem-archive .champion-card,
.pickem-archive .artifact-grid,
.pickem-archive .artifact-counter,
.pickem-archive .lane-artifact,
.pickem-archive .fate-chamber,
.pickem-archive .seal-card,
.pickem-archive .rank-card,
.pickem-archive .archive-form input,
.pickem-archive .search-field {
    background: #ffffff !important;
    background-image: none !important;
    border-color: #d8cdb4;
    box-shadow: none;
    color: #1e2328;
}
.pickem-archive .identity-card:hover,
.pickem-archive .identity-card:focus-visible,
.pickem-archive .choice-card:hover,
.pickem-archive .choice-card.is-selected,
.pickem-archive .champion-card:hover {
    border-color: #c8aa6e;
    box-shadow: 0 6px 18px rgba(30, 35, 40, .12);
}
.pickem-archive .identity-card strong,
.pickem-archive .choice-card strong,
.pickem-archive .champion-card span,
.pickem-archive .artifact-counter strong,
.pickem-archive .lane-artifact h4,
.pickem-archive .step-title h3,
.pickem-archive .section-heading h2,
.pickem-archive .prophecy-top h2,
.pickem-archive .seal-head strong,
.pickem-archive .summary-list strong,
.pickem-archive .rank-card strong,
.pickem-archive .fate-entry input {
    color: #1e2328;
}
.pickem-archive .identity-card > span:not(.card-mark):not(.card-eyebrow),
.pickem-archive .choice-card small,
.pickem-archive .artifact-counter small,
.pickem-archive .fate-chamber small,
.pickem-archive .rank-card small,
.pickem-archive .summary-list div,
.pickem-archive .seal-card > p,
.pickem-archive .round-lane > span,
.pickem-archive .archive-form label,
.pickem-archive .text-button {
    color: #4f5b66;
}
.pickem-archive .archive-form input,
.pickem-archive .search-field input {
    color: #1e2328;
}
.pickem-archive .archive-form input::placeholder,
.pickem-archive .search-field input::placeholder {
    color: #4f5b66;
    opacity: 1;
}
.pickem-archive .step-title {
    background: #ffffff;
    border-color: #c8aa6e;
}
.pickem-archive .step-indicator span {
    border-color: #d8cdb4;
    color: #4f5b66;
}
.pickem-archive .step-indicator span.is-active,
.pickem-archive .counter button:hover,
.pickem-archive .lane-selector button:hover,
.pickem-archive .lane-selector button.is-selected {
    border-color: #c8aa6e;
    background: #c8aa6e;
    color: #1e2328;
}
.pickem-archive .step-indicator i,
.pickem-archive .played-field,
.pickem-archive .round-lane {
    background: none;
    border-color: #d8cdb4;
}
.pickem-archive .counter button,
.pickem-archive .lane-selector button {
    border-color: #d8cdb4;
    color: #1e2328;
}
.pickem-archive .counter output {
    color: #1e2328;
}
.pickem-archive .champion-card input:checked + img {
    border-color: #c8aa6e;
    box-shadow: 0 0 0 2px #c8aa6e;
}
.pickem-archive .champion-card input:checked ~ span {
    color: #1e2328;
}
.pickem-archive .fate-entry,
.pickem-archive .fate-entry input {
    color: #785a28;
}
.pickem-archive .fate-entry input {
    border-bottom-color: #c8aa6e;
}
.pickem-archive .seal-line,
.pickem-archive .seal-head {
    border-color: #d8cdb4;
}
.pickem-archive .archive-button,
.pickem-archive .archive-button:hover,
.pickem-archive .archive-button:focus-visible,
.pickem-archive .seal-button {
    border-color: #c8aa6e;
    background: #c8aa6e !important;
    color: #1e2328 !important;
}
.pickem-archive .archive-button:hover,
.pickem-archive .archive-button:focus-visible {
    background: #f0e6d2 !important;
}
.pickem-archive .rank-card-first {
    background: #ffffff !important;
    border-color: #c8aa6e;
}
.pickem-archive .hero-user-state,
.pickem-archive .hero-sealed-state {
    color: #4f5b66;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.pickem-archive .hero-user-state strong {
    color: #1e2328;
}
.pickem-archive .prophecy-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .9rem 1.25rem;
    margin-top: .8rem;
}
.pickem-archive .prophecy-status .archive-status {
    margin: 0;
}
.pickem-archive .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.pickem-archive button:focus-visible,
.pickem-archive a:focus-visible,
.pickem-archive input:focus-visible,
.pickem-archive .champion-card:focus-within {
    outline: 3px solid rgba(120, 90, 40, .65);
    outline-offset: 3px;
}

/* Mobile application pass: preserve the draft hierarchy without horizontal scrolling. */
@media (max-width: 800px) {
    .pickem-archive {
        min-width: 0;
        overflow-x: hidden;
    }

    .pickem-archive .archive-hero,
    .pickem-archive .archive-section {
        width: 100%;
        padding-inline: clamp(1rem, 5vw, 1.5rem);
    }

    .pickem-archive .archive-hero {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .pickem-archive .archive-hero h1 {
        max-width: 100%;
        font-size: clamp(2rem, 10vw, 3.25rem);
        line-height: 1.05;
    }

    .pickem-archive .hero-intro {
        margin: 1rem 0 1.25rem;
        font-size: .95rem;
    }

    .pickem-archive .hero-actions,
    .pickem-archive .hero-actions .archive-button {
        width: 100%;
    }

    .pickem-archive .section-heading,
    .pickem-archive .prophecy-top {
        margin-bottom: 1.75rem;
    }

    .pickem-archive .section-heading h2,
    .pickem-archive .prophecy-top h2 {
        font-size: clamp(1.45rem, 7vw, 2.1rem);
    }

    .pickem-archive .identity-grid,
    .pickem-archive .winner-grid {
        gap: .75rem;
    }

    .pickem-archive .identity-card {
        min-height: 0;
        padding: 1.25rem;
    }

    .pickem-archive .identity-card > span:not(.card-mark):not(.card-eyebrow) {
        margin: .75rem 0 1.25rem;
    }

    .pickem-archive .identity-form-wrap {
        padding: 1rem;
    }

    .pickem-archive .prophecy-top {
        align-items: stretch;
        gap: 1.25rem;
    }

    .pickem-archive .step-indicator {
        position: sticky;
        top: 0;
        z-index: 5;
        margin-inline: -1rem;
        padding: .6rem 1rem;
        background: rgba(245, 243, 238, .96);
        border-bottom: 1px solid #d8cdb4;
        gap: .35rem;
        justify-content: space-between;
    }

    .pickem-archive .step-indicator button {
        min-width: 42px;
        min-height: 42px;
        padding: .55rem;
    }

    .pickem-archive .step-indicator i {
        min-width: 8px;
    }

    .pickem-archive .step-title {
        gap: .65rem;
        margin-bottom: 1.25rem;
    }

    .pickem-archive .step-title > span {
        font-size: 1.15rem;
    }

    .pickem-archive .step-title h3 {
        font-size: clamp(1.2rem, 6vw, 1.7rem);
    }

    .pickem-archive .champion-field {
        margin: 1rem 0 1.5rem;
        padding: .75rem;
    }

    .pickem-archive .champion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .5rem;
        max-height: 55vh;
    }

    .pickem-archive .champion-card {
        min-width: 0;
        min-height: 0;
        padding: .3rem;
    }

    .pickem-archive .champion-card span {
        padding: .35rem .1rem .2rem;
        font-size: .68rem;
    }

    .pickem-archive .champion-card img {
        aspect-ratio: 1;
    }

    .pickem-archive .artifact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .55rem;
        padding: .65rem;
    }

    .pickem-archive .artifact-counter {
        min-width: 0;
        padding: .75rem;
    }

    .pickem-archive .artifact-icon {
        width: 52px;
        height: 52px;
    }

    .pickem-archive .artifact-icon img {
        width: 44px;
        height: 44px;
    }

    .pickem-archive .artifact-counter strong {
        min-height: 2.2em;
        font-size: .78rem;
    }

    .pickem-archive .counter {
        margin-top: .75rem;
    }

    .pickem-archive .counter button,
    .pickem-archive .lane-selector button,
    .pickem-archive .archive-button,
    .pickem-archive .text-button {
        min-height: 44px;
    }

    .pickem-archive .lane-artifact {
        gap: 1rem;
        padding: 1rem;
    }

    .pickem-archive .round-lane-grid {
        width: 100%;
        margin-top: .25rem;
    }

    .pickem-archive .lane-selector {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pickem-archive .lane-selector button {
        padding: .55rem .4rem;
    }

    .pickem-archive .fate-chamber {
        padding: 2rem 1rem;
    }

    .pickem-archive .fate-entry input {
        max-width: 100%;
        font-size: clamp(2.4rem, 15vw, 4rem);
    }

    .pickem-archive .seal-card {
        padding: 1rem;
    }

    .pickem-archive .seal-head {
        gap: .75rem;
        flex-wrap: wrap;
    }

    .pickem-archive .summary-list {
        gap: .75rem;
    }

    .pickem-archive .rank-card,
    .pickem-archive .rank-card-first {
        padding: 1rem;
    }

    .pickem-archive .archive-feedback {
        min-height: 1.5em;
    }
}

@media (max-width: 380px) {
    .pickem-archive .archive-hero,
    .pickem-archive .archive-section {
        padding-inline: .8rem;
    }

    .pickem-archive .champion-grid {
        gap: .35rem;
    }

    .pickem-archive .artifact-grid {
        padding: .45rem;
    }

    .pickem-archive .artifact-counter {
        padding: .6rem;
    }

    .pickem-archive .artifact-counter small {
        font-size: .55rem;
    }
}

/* Final narrow-screen guardrails: keep every interaction readable at 320px. */
@media (max-width: 768px) {
    .pickem-archive,
    .pickem-archive .archive-hero,
    .pickem-archive .archive-section {
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    .pickem-archive .identity-grid {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 1rem;
        justify-items: stretch;
    }

    .pickem-archive .identity-card {
        width: 100%;
        min-width: 0;
        max-width: none;
        justify-self: stretch;
        margin: 0;
    }

    .pickem-archive .identity-form-wrap,
    .pickem-archive .identity-form-wrap .archive-form,
    .pickem-archive .identity-form-wrap .compact-form {
        width: 100%;
        max-width: none;
        justify-self: stretch;
        margin-left: 0;
        margin-right: 0;
    }

    .pickem-archive .archive-hero h1 {
        font-size: clamp(2rem, 8vw, 4rem);
    }

    .pickem-archive .identity-card strong {
        font-size: clamp(1.5rem, 5vw, 2.25rem);
        line-height: 1.12;
    }

    .pickem-archive .identity-card > span:not(.card-mark):not(.card-eyebrow),
    .pickem-archive .hero-intro,
    .pickem-archive .section-heading > p:last-child,
    .pickem-archive .step-title p:last-child {
        font-size: clamp(.95rem, 3.5vw, 1rem);
        overflow-wrap: anywhere;
    }

    .pickem-archive .identity-card b,
    .pickem-archive .identity-card b i {
        display: block;
    }

    .pickem-archive .identity-card b {
        width: 100%;
        padding: .7rem .8rem;
        border: 1px solid #c8aa6e;
        border-radius: .55rem;
        text-align: center;
    }

    .pickem-archive .archive-button,
    .pickem-archive .step-actions .archive-button,
    .pickem-archive .identity-form-wrap .archive-button {
        width: 100%;
    }

    .pickem-archive .champion-grid {
        grid-template-columns: repeat(2, minmax(72px, 1fr));
        width: 100%;
        overflow-x: hidden;
    }

    .pickem-archive .champion-card {
        width: 100%;
        min-width: 72px;
        min-height: 92px;
    }

    .pickem-archive .champion-card span {
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .pickem-archive .step-title > div,
    .pickem-archive .prophecy-top > div,
    .pickem-archive .lane-artifact > div {
        min-width: 0;
    }
}

@media (max-width: 360px) {
    .pickem-archive .archive-hero,
    .pickem-archive .archive-section {
        padding-inline: .7rem;
    }

    .pickem-archive .identity-card,
    .pickem-archive .identity-form-wrap {
        padding: 1rem;
    }

    .pickem-archive .champion-grid {
        gap: .35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pickem-archive *,
    .pickem-archive *::before,
    .pickem-archive *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/*
 * The archive owns the page when its shortcode is present. Theme containers
 * are neutralized only in this page context; the archive sections retain
 * their own internal max-width system above.
 */
html.pickem-archive-context,
body.pickem-archive-context {
    overflow-x: hidden !important;
}

body.pickem-archive-context {
    margin: 0 !important;
}

body.pickem-archive-context .pickem-archive-host.site,
body.pickem-archive-context .pickem-archive-host.site-content,
body.pickem-archive-context .pickem-archive-host.site-main,
body.pickem-archive-context .pickem-archive-host#primary,
body.pickem-archive-context .pickem-archive-host#content,
body.pickem-archive-context .pickem-archive-host.content-area,
body.pickem-archive-context .pickem-archive-host.entry-content,
body.pickem-archive-context .pickem-archive-host.wp-site-blocks,
body.pickem-archive-context .pickem-archive-host.wp-block-group,
body.pickem-archive-context .pickem-archive-host.container,
body.pickem-archive-context .pickem-archive-host.container-fluid,
body.pickem-archive-context .pickem-archive-host.entry {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
}

body.pickem-archive-context .pickem-archive-host > .pickem-archive-host {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
}

body.pickem-archive-context .pickem-archive {
    width: 100vw !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-right: calc(50% - 50vw) !important;
    margin-left: calc(50% - 50vw) !important;
}

body.pickem-archive-context .pickem-archive .archive-hero,
body.pickem-archive-context .pickem-archive .archive-section {
    width: min(1600px, 92vw) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-inline: 0 !important;
}

@media (max-width: 560px) {
    body.pickem-archive-context .pickem-archive .archive-hero,
    body.pickem-archive-context .pickem-archive .archive-section {
        width: calc(100vw - 2rem) !important;
    }
}
