/* Shared Relics CSS owns the header fonts, search controls and fixed footer. */
.hub-document{--hub-header-height:136px;--hub-panel-height:calc(100svh - var(--hub-header-height) - var(--site-footer-height,28px));scroll-padding-top:var(--hub-header-height);scroll-padding-bottom:var(--site-footer-height,28px);scroll-snap-type:y proximity}
.hub{min-width:0}
.hub-header{position:sticky;top:0;z-index:100;background:#0c1013}
.hub-header-inner{height:48px}
.hub-header .restored-header-search{margin:0}
.hub-header .context-row>.header-inner{min-height:46px;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;scrollbar-width:none;overscroll-behavior-x:contain}
.hub-header .context-row>.header-inner::-webkit-scrollbar{display:none}
.hub-header .store-categories{flex:0 0 auto;min-width:max-content;flex-wrap:nowrap}
.wall-section{min-height:var(--hub-panel-height);scroll-snap-align:start;scroll-margin:0;padding-block:clamp(18px,3.5vh,36px);border-top:1px solid var(--border);display:grid;align-content:center;gap:24px}
.wall-section:first-child{border-top:0}
.wall-split{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;column-gap:clamp(26px,5vw,70px)}
.wall-copy{min-width:0}
.wall-copy h1,.wall-copy h2{font-size:clamp(32px,4vw,52px);margin:0 0 18px}
.wall-copy h1{line-height:1.08}
.wall-copy p{font-size:14px;line-height:1.6;margin:0 0 16px}
.wall-copy .eyebrow{font-size:10px;line-height:1.4;margin-bottom:14px}
.wall-copy .wall-intro{font-size:16px;color:var(--muted)}
.wall-copy .wall-note,.wall-copy .wall-hint{font-size:11px;line-height:1.5;color:var(--muted);margin-top:18px;margin-bottom:0}
.wall-section .button{margin-top:0;gap:14px}
.welcome-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.wall-card{padding:18px;background:var(--panel);border:1px solid var(--border);border-radius:7px;min-width:0}
.wall-card h2,.wall-card h3{font-size:23px;margin:0 0 9px;line-height:1.15}
.wall-card p{font-size:12px;line-height:1.55;color:var(--muted);margin:0}
.wall-card a{display:inline-block;margin-top:10px}
.wall-referrals{display:grid;gap:10px}
.wall-referrals .wall-card{padding:14px 16px}
.wall-referrals .wall-card h3{font-size:22px}
.wall-whatnot-logo{display:block;width:100%;max-width:520px;justify-self:center}
.wall-whatnot-logo img{display:block;width:100%;height:auto;border-radius:7px}
.wall-event-poster{display:flex;justify-content:center;align-items:center;min-width:0}
.wall-event-poster img{display:block;width:auto;max-width:100%;height:auto;max-height:max(220px,calc(var(--hub-panel-height) - 70px));object-fit:contain;border-radius:5px}
.wall-deck-search>.wall-copy{width:100%}
.hub #deck-form{max-width:780px}
.hub #deck-form label{display:block;font-size:12px;margin-bottom:5px}
.hub #deck-list{display:block;width:100%;max-width:100%;min-height:110px;height:clamp(110px,20vh,170px);margin-bottom:10px;resize:vertical}
.hub #deck-status{margin-top:18px;font-size:13px}
.wall-workshop-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,.9fr);align-content:center;align-items:center;gap:12px 20px;justify-self:center;width:100%;min-height:300px;padding:28px;border:1px solid #e9cf9140;border-radius:8px;background:linear-gradient(145deg,#1e2c35,#171d22);color:var(--gold)}


.wall-workshop-card:hover{border-color:var(--gold)}
@media(max-width:900px){.wall-split{column-gap:24px}.wall-card{padding:14px}.wall-card h2{font-size:21px}}
@media(max-width:700px){.hub-header .context-row>.header-inner{min-height:43px;-webkit-overflow-scrolling:touch}.wall-section{padding-block:20px;gap:18px}.wall-split{grid-template-columns:minmax(0,1fr)}.wall-copy h1,.wall-copy h2{font-size:clamp(30px,8vw,39px);margin-bottom:12px}.wall-copy p{font-size:13px;margin-bottom:12px}.wall-copy .wall-intro{font-size:14px}.wall-copy .eyebrow{font-size:9px;margin-bottom:10px}.wall-copy .wall-note,.wall-copy .wall-hint{font-size:10px;margin-top:12px}.welcome-rules{gap:8px}.wall-card{padding:12px}.welcome-rules .wall-card h2{font-size:21px;margin-bottom:7px}.wall-card p{font-size:11px}.wall-referrals .wall-card{padding:11px 12px}.wall-referrals .wall-card h3{font-size:20px}.wall-whatnot-logo{max-width:320px}.wall-event-poster img{max-height:max(180px,calc(var(--hub-panel-height) - 300px))}.wall-workshop-card{width:100%;min-height:0;padding:18px;gap:12px}}
@media(prefers-reduced-motion:reduce){.hub-document{scroll-behavior:auto;scroll-snap-type:none}}

/* Short phone screens keep the introductory sections compact without hiding text. */
@media(max-width:700px) and (max-height:750px){.wall-section{padding-block:12px;gap:12px}.wall-copy h1,.wall-copy h2{font-size:27px;margin-bottom:9px}.wall-copy .eyebrow{font-size:8px;margin-bottom:7px}.wall-copy p,.wall-copy .wall-intro{font-size:12px;line-height:1.45;margin-bottom:9px}.wall-copy .wall-note,.wall-copy .wall-hint{font-size:9px;line-height:1.4;margin-top:9px}.wall-section .button{padding:8px 12px;font-size:12px}.welcome-rules{gap:6px}.welcome-rules .wall-card{padding:9px}.welcome-rules .wall-card h2{font-size:18px;margin-bottom:5px}.wall-card p{font-size:10px;line-height:1.45}.wall-referrals{gap:7px}.wall-referrals .wall-card{padding:9px 11px}.wall-referrals .wall-card h3{font-size:19px;margin-bottom:5px}.wall-referrals .wall-card p{font-size:10px;line-height:1.45;margin-bottom:0}.wall-referrals .wall-card a{margin-top:6px;font-size:11px}.wall-whatnot-logo{max-width:190px}}

.wall-workshop-card img{grid-column:2;grid-row:1/4;display:block;width:100%;max-width:200px;height:auto;aspect-ratio:1;object-fit:contain;align-self:center;justify-self:end;border-radius:4px}
.wall-workshop-card .eyebrow{grid-column:1;grid-row:1;margin:0}
.wall-workshop-card strong{grid-column:1;grid-row:2;font:clamp(26px,3vw,44px)/1.05 Goudy,Georgia,serif}
.wall-workshop-card>span:last-child{grid-column:1;grid-row:3;font-size:12px}
@media(max-width:700px){.wall-workshop-card{grid-template-columns:minmax(0,1fr) 112px}.wall-workshop-card strong{font-size:28px}}
@media(max-width:700px) and (max-height:750px){.wall-workshop-card{grid-template-columns:minmax(0,1fr) 100px;gap:10px 12px;padding:14px}.wall-workshop-card strong{font-size:27px}}

/* Give each wall section its own accent from the supplied fantasy palette. */
.wall-section{position:relative;isolation:isolate;border-color:#6a625a66;--wall-tint:#86efac12;--wall-accent:#86efac}
.wall-section::before{content:'';position:absolute;z-index:-1;inset:0 -32px;background:radial-gradient(ellipse at 85% 35%,var(--wall-tint),transparent 70%);pointer-events:none}
#welcome{--wall-tint:#86efac22;--wall-accent:#e6b14a}
#whatnot{--wall-tint:#d8ca5826;--wall-accent:#e4d86b}
#events{--wall-tint:#60a5fa2b;--wall-accent:#60a5fa}
#store{--wall-tint:#86efac26;--wall-accent:#86efac}
#tabletop{--wall-tint:#fb718523;--wall-accent:#fb7185}
.wall-copy .eyebrow{color:var(--wall-accent)}
.wall-card{background:linear-gradient(145deg,#1d2926,#14191f);border-color:#86efac50;box-shadow:0 7px 22px #00000035}
.welcome-rules .wall-card:nth-child(2){background:linear-gradient(145deg,#1b2b40,#14191f);border-color:#60a5fa65}
.welcome-rules .wall-card:nth-child(3){background:linear-gradient(145deg,#3a241c,#14191f);border-color:#e6b14a70}
.welcome-rules .wall-card:nth-child(4){background:linear-gradient(145deg,#352029,#14191f);border-color:#fb718560}
.welcome-rules .wall-card:nth-child(1) h2{color:#86efac}
.welcome-rules .wall-card:nth-child(2) h2{color:#a5ccff}
.welcome-rules .wall-card:nth-child(3) h2{color:#f3dcc4}
.welcome-rules .wall-card:nth-child(4) h2{color:#ffa8b5}
.wall-referrals .wall-card{background:linear-gradient(135deg,#37341d,#1a1d1b);border-color:#d8ca5880}
.wall-referrals .wall-card+ .wall-card{background:linear-gradient(135deg,#1b2b40,#14191f);border-color:#60a5fa65}
.wall-referrals .wall-card:first-child h3{color:#e4d86b}
.wall-referrals .text-link{color:#e4d86b}
.wall-referrals .wall-card:first-child .text-link:hover{color:#fde414}
.wall-referrals .wall-card+ .wall-card .text-link{color:#9fcaff}
#events .button{background:#60a5fa;color:#0b0f1a;border-color:#60a5fa}
#events .button:hover{background:#a5ccff}
#store .button{background:#86efac;color:#1a1a1a;border-color:#86efac}
#store .button:hover{background:#b1f7cb}
#tabletop .wall-copy>.button{background:#3a241c;border-color:#9a5428;color:#f3dcc4}
#tabletop .wall-copy>.button:hover{background:#9a5428;color:#fff}
.wall-workshop-card{background:linear-gradient(135deg,#38232d,#1c2d42);border-color:#fb718570;box-shadow:0 10px 30px #00000045}
.wall-workshop-card .eyebrow{color:#a5ccff}
.wall-workshop-card strong{color:#f3dcc4}
.wall-workshop-card>span:last-child{color:#ffa8b5}
@media(max-width:700px){.wall-section::before{inset-inline:-16px}}

/* Trailing scroll room lets the final anchor reach the sticky header on mobile. */
@media(max-width:700px){.hub-page{padding-bottom:var(--hub-header-height)}}
