/* Testserver: a Minecraft player selection, not a generic dashboard skin.
   Direction informed by Taste Skill + Anthropic Frontend Design. */
:root{--stage:#233c2a;--stage-edge:#47644a;--stage-floor:#304e35;--portal-gap:24px}
.site-header{grid-template-columns:auto minmax(0,1fr) auto;padding:16px 32px;min-height:88px;gap:24px}
.brand{font-size:26px;letter-spacing:0;gap:12px}
.brand-cube{width:36px;height:36px}
.brand-bottom{font-size:12px}
.site-header #nav{grid-column:auto;grid-row:auto;justify-content:center;gap:0;flex-wrap:nowrap}
.site-header #nav a{padding:12px 10px;font-size:14px;min-height:44px;position:relative}
.site-header #nav a svg{display:none}
.site-header #nav a.active{background:transparent;box-shadow:inset 0 -2px var(--accent)}
.site-header #nav a:hover{background:var(--surface-hover)}
.header-actions{gap:8px;justify-content:flex-end;flex-wrap:nowrap}
.header-player{background:var(--card);max-width:210px;font-size:14px}
.header-divider{display:none}
.header-actions #change-player{display:inline-flex;padding:10px;min-width:40px}
.header-actions #change-player svg{width:18px;height:18px}
.nav-toggle{display:none}
.header-admin{border-color:var(--line);padding:10px;box-shadow:none}
body:not([data-route=build]) #app{padding-top:40px}
.page-heading h1,.history-intro h1{font-size:clamp(48px,5.3vw,76px);font-weight:500;letter-spacing:-.02em}
.page-heading{margin-bottom:36px}
.section-title h2,.overview-map-heading h2,.join-intro h2,.statistics-section-heading h2{font-size:36px;font-weight:500}
.section-title,.overview-map-heading{margin-bottom:28px}
.heading-dot{color:var(--accent)}
.button{box-shadow:none;min-height:48px;padding:12px 20px;transition:background .18s ease-out,border-color .18s ease-out,transform .18s ease-out}
.button:hover{transform:translateY(-2px)}
.button:active{transform:translateY(0)}
.button.small{min-height:44px}
.button.primary{box-shadow:inset 0 -3px #233c2a55}
.button.primary:hover{box-shadow:inset 0 -3px #233c2a55}

/* The first screen is the real server and its real players. */
.world-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:1fr auto;min-height:calc(100svh - 190px);gap:24px 32px;padding:24px 0 0;border:0;background:transparent;text-align:left;overflow:hidden}
.world-intro-copy{align-items:flex-start;justify-content:center;padding:20px 0 36px}
.world-intro h1{font-size:clamp(64px,6.6vw,104px);font-weight:500;line-height:1;letter-spacing:-.035em;margin-bottom:24px}
.world-intro-lead{font-size:24px;line-height:1.5;color:var(--muted);margin:0 0 32px;max-width:28ch;text-wrap:balance}
.world-connection{justify-content:flex-start;font-size:14px;gap:10px}
.world-intro-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-top:24px}
.hero-address{margin:0;font-size:17px;padding:14px 20px;gap:20px;min-height:52px;box-shadow:inset 0 -3px #233c2a55}
.hero-join-link{display:inline-flex;align-items:center;gap:12px;background:transparent;border:0;color:var(--ink);font-size:14px;min-height:48px;padding:12px 0;cursor:pointer}
.hero-join-link svg{width:18px;height:18px;transition:transform .18s ease-out}
.hero-join-link:hover svg{transform:translateX(4px)}
.world-intro-players{display:flex;align-items:center;justify-content:center;align-self:stretch;position:relative;min-width:0;padding:32px 0 40px;gap:0}
.hero-player{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;width:34%;min-width:0;padding:0 0 12px;border:0;background:transparent;color:var(--ink);cursor:pointer;transition:transform .2s ease-out}
.hero-player:nth-child(2){align-self:center;z-index:2;transform:translateY(-28px)}
.hero-player:hover{transform:translateY(-8px)}
.hero-player:nth-child(2):hover{transform:translateY(-36px)}
.hero-player .minecraft-figure{width:clamp(144px,14.6vw,216px);height:clamp(216px,21.9vw,324px)}
.hero-player-name{font:500 22px/1.4 var(--pixel);overflow-wrap:anywhere;max-width:100%;padding:8px 12px;background:var(--paper);border:1px solid var(--line);text-align:center}
.hero-player:hover .hero-player-name{color:var(--accent);border-color:var(--border-strong)}
.hero-roster-empty{display:flex;align-items:center;gap:20px;padding:32px;background:var(--card);border:1px solid var(--line);max-width:400px;z-index:1}
.hero-roster-empty svg{width:40px;height:40px;flex:none;color:var(--muted)}
.hero-roster-empty p{font-size:16px;line-height:1.6;margin:0}
.world-intro .world-totals{grid-column:1/-1;align-self:end;justify-content:flex-start;padding:28px 0;margin:0;gap:24px 56px;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:transparent;text-align:left}
.world-totals>span{min-width:0;justify-content:flex-start;gap:16px}
.world-totals b{font:500 30px/1.2 var(--pixel)}
.world-totals small{font-size:13px}
.world-intro .world-totals>a{margin-left:auto;font-size:14px;flex-basis:auto}
#server-news,.overview-crew,.overview-world,.join-server,.server-team{margin-top:72px}
.overview-crew .section-title p,.overview-map-heading p{font-size:15px}
.news-empty{background:transparent;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;font-size:15px}
.overview-map-surface{border:1px solid var(--line);height:520px}

/* Wide player tiles make full skins readable, even on phones. */
.participant-summary{gap:24px 40px;margin-bottom:24px;font-size:14px}
.participant-summary strong{font-size:20px;font-weight:500;color:var(--ink)}
.participant-summary>button strong{font-size:20px}
.members-tools{gap:16px;margin-bottom:32px}
.members-tools .search-field{width:400px;min-height:48px}
.members-tools>select{min-height:48px;width:216px}
.members-list.participant-grid,.participant-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.participant-card{position:relative;border:1px solid var(--line);background:var(--card);box-shadow:none;overflow:hidden;min-width:0;transition:border-color .18s ease-out}
.participant-card:hover,.participant-card:focus-within{border-color:var(--border-strong)}
.participant-card.selected{border-color:var(--accent)}
.participant-open{display:grid;grid-template-columns:minmax(0,1fr) 47%;min-height:300px;align-items:center;position:relative;isolation:isolate;text-align:left}
.participant-open:focus-visible{outline:3px solid var(--accent);outline-offset:-4px}
.participant-portrait{grid-column:2;grid-row:1;background:var(--stage);height:300px;padding:32px 0 0;border:0;align-self:stretch;align-items:flex-end;overflow:hidden}
.participant-portrait .minecraft-figure{width:180px;height:270px;z-index:1}
.participant-presence{top:16px;left:16px;font-size:12px;max-width:calc(100% - 32px);line-height:1.4;align-items:baseline;text-align:left}
.participant-presence i{flex:none}
.participant-identity{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:24px 16px 24px 28px;min-width:0}
.participant-name{padding:0;font:500 clamp(24px,2.5vw,36px)/1.2 var(--pixel);gap:12px;width:100%;overflow-wrap:anywhere}
.participant-name>span{font-size:22px;color:var(--muted)}
.participant-identity .member-role{font-size:12px;background:transparent;padding:4px 8px;border-color:var(--border-strong)}
.participant-mini-stats{display:flex;gap:40px;margin:0;padding:20px 28px;border-top:1px solid var(--line);font-size:15px}
.participant-mini-stats>span{grid-template-columns:20px auto;gap:4px 10px}
.participant-mini-stats small{font-size:13px}
.participant-stats-link{padding:12px 28px;font-size:14px;background:transparent}
.participant-first-visit{border-top:1px solid var(--line);margin:0;padding:20px 28px;font-size:14px;line-height:1.6}
.crew-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.is-compact .participant-open{display:flex;flex-direction:column;min-height:0;align-items:stretch}
.is-compact .participant-portrait{height:256px;order:0;padding:20px 0 0;align-items:flex-end}
.is-compact .participant-portrait .minecraft-figure{width:166px;height:249px}
.is-compact .participant-identity{order:1;padding:24px;gap:12px}
.is-compact .participant-name{font-size:30px}
.is-compact .participant-mini-stats{padding:20px 24px;gap:24px}
.team-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.team-member{display:flex;flex-direction:column;align-items:flex-start;padding:0;gap:0;min-height:0;overflow:hidden;border-color:var(--line)}
.team-face{height:256px;width:100%;background:var(--stage)}
.team-face .minecraft-figure{width:166px;height:249px}
.team-member>div:last-child{padding:24px;width:100%}
.team-member h3{font-size:30px;margin:12px 0 8px}
.team-member .member-role{font-size:12px;background:transparent}
.member-detail{padding:28px;background:var(--card);border-color:var(--line)}
.member-detail h2{font-size:40px}
.member-detail .member-role{display:block;max-width:max-content;margin-top:12px;font-family:var(--sans)}
.member-detail-avatar{background:var(--stage)}
.member-detail-avatar .minecraft-figure{width:128px;height:192px}

/* Related routes keep their task layouts, with the same scale and spacing. */
.ranking-overview-heading h2{font-size:36px}
.stat-disclosure .stat-value{font-size:40px}
.ranking-summary p{font-size:44px}
.stat-disclosure,.ranking-panel{border-color:var(--line)}
.ranking-panel h3{font-size:16px}
.ranking-entries li{padding:16px 0}
.statistics-identify{border:0;border-bottom:1px solid var(--line);background:transparent;padding:0 0 28px;box-shadow:none}
.statistics-identify h2{font-size:30px}
.statistics-customize{margin-bottom:40px}
.community-grid>.card{background:transparent;border:0;padding:0}
.community-grid aside>.card{background:var(--stage);padding:32px}
.rules{margin-top:24px}
.rules li{padding:24px 0}
.guide-simple>summary{padding:28px 0;min-height:72px}
.guide-simple>summary strong{font-size:26px}
.history-cover{background:var(--stage);border-right:1px solid var(--line)}
.history-cover-name{font-size:clamp(80px,8vw,120px)}
.history-content{padding:40px}
.history-content h2{font-size:44px}
.join-info{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);background:transparent}
.join-requirement{background:var(--card)}
.join-versions{background:var(--stage)}
.join-pack{margin-top:24px;background:transparent}
.join-pack-heading h3{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.join-download{background:var(--card)}
footer{display:flex;justify-content:space-between;align-items:center;padding:32px 0;gap:24px;font-size:14px}
footer a{color:var(--muted);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
footer a:hover{color:var(--ink)}
footer>span:last-child{display:flex;gap:24px;flex-wrap:wrap}

@media(max-width:1260px){
 .site-header{grid-template-columns:1fr auto;padding:16px 28px;gap:12px}
 .site-header #nav{grid-column:1/-1;grid-row:2;justify-content:flex-start}
 .world-intro{min-height:calc(100svh - 212px);gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .world-intro h1{font-size:clamp(60px,7.4vw,88px)}
 .world-intro-lead{font-size:22px}
 .hero-player .minecraft-figure{width:clamp(128px,14vw,180px);height:clamp(192px,21vw,270px)}
 .hero-player-name{font-size:18px;padding:8px}
 .team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:950px){
 .world-intro{min-height:0;padding-top:24px;grid-template-columns:1fr;gap:16px}
 .world-intro-copy{padding:0;align-items:flex-start}
 .world-intro h1{font-size:80px;margin-bottom:20px}
 .world-intro-lead{margin-bottom:24px}
 .world-intro-players{padding:24px 24px 44px;min-height:340px;max-width:640px;width:100%;justify-self:center}
 .hero-player .minecraft-figure{width:176px;height:264px}
 .hero-player-name{font-size:22px}
 .world-intro .world-totals{margin-top:8px;gap:24px}
 .participant-open{grid-template-columns:minmax(0,1fr) 48%;min-height:272px}
 .participant-portrait{height:272px;padding-top:40px}
 .participant-portrait .minecraft-figure{width:152px;height:228px}
 .participant-identity{padding:20px 12px 20px 20px}
 .participant-name{font-size:28px}
 .participant-mini-stats{padding:20px;gap:24px}
 .participant-stats-link,.participant-first-visit{padding:16px 20px}
 .crew-grid{gap:16px}
 .is-compact .participant-identity{padding:20px}
 .is-compact .participant-name{font-size:26px}
 .is-compact .participant-mini-stats{padding:20px;gap:16px;flex-wrap:wrap}
 .is-compact .participant-portrait{height:232px}
 .is-compact .participant-portrait .minecraft-figure{width:148px;height:222px}
 .join-info{grid-template-columns:1fr}
 .join-versions{border-left:0;border-top:1px solid var(--line)}
}
@media(max-width:760px){
 .site-header{position:relative;padding:16px 20px;gap:12px}
 .brand{font-size:24px;gap:8px}
 .brand-cube,.brand-bottom{display:none}
 .header-actions #change-player,#search-open{display:none}
 .header-actions{gap:8px}
 .header-player{max-width:112px;min-height:44px;font-size:13px}
 .header-player-face{display:flex;width:24px;height:24px}
 .header-player-name{min-width:0}
 .header-admin{font-size:0;width:44px;min-height:44px;padding:12px}
 .header-admin svg{width:18px;height:18px}
 .header-actions .nav-toggle{display:inline-flex;order:5;width:44px;height:44px;padding:10px;border:1px solid var(--line);background:var(--card)}
 .nav-toggle svg{width:22px;height:22px}
 .site-header #nav{display:none;grid-template-columns:1fr 1fr;gap:4px;overflow:visible;padding:16px 0 0;border-top:1px solid var(--line)}
 .site-header #nav[data-open=true]{display:grid}
 .site-header #nav a{min-height:52px;padding:14px 12px;font-size:15px}
 .site-header #nav a.active{background:var(--pine);box-shadow:none;color:var(--accent)}
 .page-heading h1,.history-intro h1{font-size:52px}
 .world-intro h1{font-size:clamp(52px,10.5vw,76px)}
 .world-intro-lead{font-size:22px}
 .members-list.participant-grid,.participant-grid{grid-template-columns:1fr;gap:20px}
 .crew-grid{grid-template-columns:1fr;gap:20px}
 .is-compact .participant-open{display:grid;grid-template-columns:minmax(0,1fr) 47%;min-height:272px}
 .is-compact .participant-portrait{grid-column:2;grid-row:1;height:272px;padding:40px 0 0;align-items:flex-end}
 .is-compact .participant-portrait .minecraft-figure{width:152px;height:228px}
 .is-compact .participant-identity{grid-column:1;grid-row:1;padding:24px 12px 24px 24px}
 .participant-name,.is-compact .participant-name{font-size:30px}
 .participant-mini-stats,.is-compact .participant-mini-stats{display:flex;flex-direction:row;gap:40px;padding:20px 24px}
 .participant-identity .member-role{font-size:12px}
 .participant-stats-link,.participant-first-visit{padding:16px 24px}
 .team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 .team-member h3{font-size:26px}
 .team-member>div:last-child{padding:20px}
 .team-member .member-role{font-size:12px}
 .section-title h2,.overview-map-heading h2,.join-intro h2,.statistics-section-heading h2,.ranking-overview-heading h2{font-size:32px}
 .world-intro .world-totals>a{flex-basis:100%;margin:0;justify-content:flex-start}
 .world-totals>span{flex:initial;min-width:0}
 #server-news,.overview-crew,.overview-world,.join-server,.server-team{margin-top:56px}
 .join-requirement,.join-versions,.join-pack{padding:28px}
 .history-content{padding:28px}
 .guide-simple>summary strong{font-size:24px}
 footer{align-items:flex-start;flex-direction:column;gap:16px}
}
@media(max-width:480px){
 body:not([data-route=build]) #app{padding:32px 20px 48px}
 .site-header{padding:12px 20px;gap:8px}
 .brand{font-size:20px;min-width:0}
 .header-player{max-width:96px;padding:4px 6px;gap:6px}
 .header-player-face{display:grid}
 .header-actions{gap:8px}
 .world-intro{padding-top:12px;gap:12px}
 .world-intro-copy{padding:0}
 .world-intro h1{font-size:clamp(48px,13vw,62px);letter-spacing:-.02em;margin-bottom:16px}
 .world-intro-lead{font-size:20px;margin-bottom:24px}
 .world-connection{font-size:14px}
 .world-intro-actions{gap:8px 20px;margin-top:20px}
 .hero-address{font-size:16px;padding:12px 16px;min-height:48px}
 .hero-join-link{font-size:14px}
 .world-intro-players{min-height:260px;padding:28px 0 36px}
 .hero-player .minecraft-figure{width:124px;height:186px}
 .hero-player:nth-child(2){transform:translateY(-20px)}
 .hero-player:nth-child(2):hover{transform:translateY(-20px)}
 .hero-player-name{font-size:16px;padding:4px 8px}
 .world-intro .world-totals{padding:24px 0;gap:20px 28px}
 .world-totals>span{gap:12px}
 .world-totals b{font-size:26px}
 .world-totals small{font-size:12px}
 .world-totals img{width:24px;height:24px}
 .page-heading h1,.history-intro h1{font-size:48px}
 .page-heading{margin-bottom:28px}
 .section-title h2,.overview-map-heading h2,.join-intro h2,.statistics-section-heading h2,.ranking-overview-heading h2{font-size:30px}
 .participant-summary{gap:16px 24px;padding:16px 0;margin-bottom:24px}
 .participant-summary>span{font-size:13px}
 .participant-summary>button{margin:0;font-size:13px}
 .participant-summary strong,.participant-summary>button strong{font-size:18px}
 .members-tools{gap:12px;margin-bottom:24px}
 .members-tools .search-field{min-height:48px;width:100%}
 .members-tools>select{width:auto;min-width:0;flex:1;min-height:48px}
 .participant-identity,.is-compact .participant-identity{padding:20px 12px 20px 20px;gap:12px}
 .participant-name,.is-compact .participant-name{display:block;font-size:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .participant-mini-stats,.is-compact .participant-mini-stats{padding:20px;gap:32px}
 .participant-presence{left:12px;font-size:12px;max-width:calc(100% - 24px)}
 .participant-card .member-role{font-size:12px;padding:4px 6px}
 .team-grid{grid-template-columns:1fr}
 .team-member{display:grid;grid-template-columns:44% minmax(0,1fr);align-items:center;min-height:252px}
 .team-face{height:252px}
 .team-face .minecraft-figure{width:152px;height:228px}
 .team-member>div:last-child{padding:20px 16px}
 .team-member h3{font-size:24px}
 .member-detail{padding:20px;gap:20px}
 .member-detail h2{font-size:32px}
 .member-detail-avatar .minecraft-figure{width:104px;height:156px}
 .history-cover-name{font-size:88px}
 .history-content h2{font-size:36px}
 .join-requirement,.join-versions,.join-pack{padding:24px}
 .stat-disclosure .stat-value{font-size:36px}
 .guide-simple>summary strong{font-size:22px}
}
@media(max-width:360px){
 .site-header{padding:12px 16px}
 .brand{font-size:18px}
 .header-player{width:44px;max-width:44px;padding:10px}
 .header-player-name{display:none}
 .hero-player .minecraft-figure{width:108px;height:162px}
 .hero-player-name{font-size:15px;padding:4px 6px}
 .participant-name,.is-compact .participant-name{font-size:22px}
}
@media(prefers-reduced-motion:reduce){
 .hero-player,.hero-join-link svg,.button,.participant-card{transition:none}
 .hero-player:hover{transform:none}
 .hero-player:nth-child(2):hover{transform:translateY(-28px)}
 .hero-join-link:hover svg,.button:hover,.button:active{transform:none}
}
