/* Shared public pages, composed with the approved SkarCraft homepage. */
:root {
  --bg:#0c1427; --paper:#14213b; --card:#14213b; --ink:#f5f6fa;
  --muted:#b4bfd3; --gold:#edc06c; --line:#ffffff20;
  --forest:#294fb2; --deep:#101b30;
  --royal-background:var(--bg); --royal-surface:var(--paper);
  --royal-inset:#101b30; --royal-ink:var(--ink); --royal-muted:var(--muted);
  --royal-gold:var(--gold); --royal-edge:var(--line);
}
[hidden]{display:none!important}
body.minecraft-web,body.news-document {
  background:var(--bg);color:var(--ink);font:15px/1.7 'Segoe UI',Arial,sans-serif;
  margin:0;font-synthesis:none;
}
body.minecraft-web :is(h1,h2,h3,h4,h5,.eyebrow,.tag,.feature-number,.button,.brand),
body.news-document :is(h1,h2,h3,h4,h5,.eyebrow,.button,.brand) {font-family:inherit}
body.minecraft-web :is(h1,h2,h3),body.news-document :is(h1,h2,h3) {letter-spacing:-.035em;font-weight:760}
body.minecraft-web main:focus,body.news-document main:focus{outline:none}
body.minecraft-web .site-header{position:relative;padding-top:22px;margin-bottom:0;z-index:20}
body.minecraft-web #accueil .hero{margin-top:-110px;padding-top:110px;min-height:490px}
body.minecraft-web #accueil .hero-content{padding-top:140px}
body.minecraft-web #accueil .hero-art{height:100%;min-height:490px}
body.minecraft-web .hero-content .eyebrow{font-size:11px;color:#f0cf8d}
body.minecraft-web .hero h1{font-size:clamp(36px,4.5vw,64px);line-height:1.04;margin:18px 0 20px;max-width:none;letter-spacing:-.045em}
body.minecraft-web .hero-intro{color:#f5f6fa}
body.minecraft-web .nav-shell nav{gap:19px}
body.minecraft-web .nav-shell nav a{font-size:12px;white-space:nowrap}
body.minecraft-web .nav-play{padding:10px 15px;border-radius:8px;background:#e8bc67;color:#13203a!important;font-weight:750}
body.minecraft-web .wrap,body.news-document .wrap{width:calc(100% - 72px);max-width:1200px;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
body.minecraft-web .page-top{padding-top:52px;padding-bottom:70px}
body.minecraft-web .page-top>h1{font-size:clamp(36px,4.5vw,58px);line-height:1.1;max-width:950px;margin:12px 0 24px}
body.minecraft-web .page-top>h1 em{font-style:normal;color:var(--gold)}
body.minecraft-web .intro{color:var(--muted);font-size:17px;max-width:800px;line-height:1.8}
body.minecraft-web .eyebrow{color:var(--gold);font-size:11px;letter-spacing:.13em;font-weight:700}
body.minecraft-web .two-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
body.minecraft-web .three-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.minecraft-web :is(.details,.downloads,.news-grid){margin-top:32px}
body.minecraft-web :is(.parchment,.download-card,.ranking-card,.feature,.wiki-panel,.wiki-card){
  background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:14px;
  box-shadow:none;background-image:none;
}
body.minecraft-web :is(.parchment,.download-card){padding:30px}
body.minecraft-web .parchment{margin-top:32px}
body.minecraft-web .parchment h2{font-size:28px;line-height:1.2}
body.minecraft-web .parchment p,body.minecraft-web .parchment li,
body.minecraft-web .steps p,body.minecraft-web .download-card p,
body.minecraft-web .download-card ol,body.minecraft-web .download-card small,
body.minecraft-web .details p,body.minecraft-web .note{color:var(--muted)}
body.minecraft-web .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;line-height:1.6;padding:0;list-style:none}
body.minecraft-web .steps li::before{color:var(--gold);font-family:inherit;font-weight:750}
body.minecraft-web .steps b{font-size:16px;color:var(--ink)}
body.minecraft-web .download-card h2{font-size:30px}
body.minecraft-web .download-card ol{line-height:1.8}
body.minecraft-web .button{border-radius:8px;min-height:44px;padding:13px 19px;font-family:inherit;font-size:14px;letter-spacing:0}
body.minecraft-web .button.primary{background:var(--gold);border-color:var(--gold);color:#14213b}
body.minecraft-web .button.secondary,body.minecraft-web .button.ghost{background:#1c2c49;border:1px solid #ffffff30;color:var(--ink)}
body.minecraft-web .text-button{color:var(--gold)}
body.minecraft-web .wide-art img{border-radius:14px;max-height:440px;object-fit:cover}
body.minecraft-web .wide-art figcaption{color:var(--muted);font-size:12px}
body.minecraft-web .feature{padding:26px}
body.minecraft-web .feature h3{font-size:26px;line-height:1.2;color:var(--ink)}
body.minecraft-web .feature p{color:var(--muted);min-height:0}
body.minecraft-web .feature a{color:var(--gold);font-size:14px}
body.minecraft-web .faq{max-width:900px}
body.minecraft-web details{border-color:var(--line);background:#111d33;border-radius:8px;margin:10px 0;padding:17px 20px}
body.minecraft-web summary{font-weight:650;color:var(--ink);font-size:16px}
body.minecraft-web details p{color:var(--muted);font-size:14px}
body.minecraft-web .note{border-color:var(--gold);background:#13223b;padding:17px 20px;border-radius:0 9px 9px 0}
body.minecraft-web .ranking-card{padding:28px;overflow-x:auto}
body.minecraft-web .ranking-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
body.minecraft-web .ranking-heading h2{font-size:25px}
body.minecraft-web .ranking-heading p,body.minecraft-web .ranking-caption{color:var(--muted)}
body.minecraft-web .ranking-table th{color:var(--gold);border-color:#7e6b46}
body.minecraft-web .ranking-table td{color:var(--ink);border-color:var(--line)}
body.minecraft-web .ranking-table td:first-child{color:var(--gold)}
body.minecraft-web .ranking-top{background:#27436a6b}
body.minecraft-web .ranking-table{min-width:460px}
body.minecraft-web .site-footer{padding:0}
body.minecraft-web .site-footer .brand{align-items:flex-start;flex-direction:row;gap:0}
body.minecraft-web .site-footer .brand img{width:220px;height:auto;object-fit:contain}
body.minecraft-web .site-footer .brand small{padding:0}
body.minecraft-web .footer-main nav a{font-family:inherit;font-size:13px;color:#c7d1e3}
body.minecraft-web .site-visitor-stats{background:#111e35;color:var(--muted);border-color:var(--line);font:12px/1.5 inherit}
body.minecraft-web .language-picker{background:#162540;border:1px solid #ffffff2b;border-radius:10px;box-shadow:0 8px 24px #0004;color:var(--muted);font-family:inherit}
body.minecraft-web .language-picker button{background:#223657;color:var(--ink);border-color:#ffffff30}
body.minecraft-web .language-picker button[aria-pressed=true]{background:var(--gold);color:#14213b}
body.minecraft-web .toast:not(:empty){background:var(--gold);color:#14213b;padding:12px 20px;border-radius:9px;font-family:inherit}
/* Existing wiki content and controls keep their original IDs and behavior. */
body.minecraft-web #wiki :is(p,li,td,small){color:var(--muted)}
body.minecraft-web #wiki :is(h1,h2,h3,h4,summary){color:var(--ink);font-family:inherit}
body.minecraft-web #wiki :is(a,code){color:var(--gold)}
body.minecraft-web #wiki :is(.parchment,.wiki-section,.wiki-card,.wiki-content,.wiki-nav,.wiki-index,.wiki-sidebar,.wiki-command,.wiki-tab){background:var(--paper);border-color:var(--line);color:var(--ink);box-shadow:none;background-image:none}
body.minecraft-web #wiki table{border-color:var(--line);background:#121f36}
body.minecraft-web #wiki :is(th,td){border-color:var(--line)}
body.minecraft-web #wiki th{color:var(--gold);background:#1b2d4b}
body.minecraft-web #wiki input,body.minecraft-web #wiki select{background:#152641;color:var(--ink);border:1px solid #657a9d;border-radius:8px;min-height:44px}
body.minecraft-web #wiki img{max-width:100%;height:auto}
body.minecraft-web #wiki pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#101b30;color:var(--gold);padding:16px;border-radius:9px}
.web-gallery{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:30px 0}
.web-gallery figure{margin:0}
.web-gallery img{display:block;width:100%;border-radius:12px}
.web-gallery figcaption{font-size:12px;color:var(--muted);padding-top:8px}
body.news-document .site-header{position:relative;padding-top:24px;margin-bottom:0}
body.news-document .news-article-page{padding-top:36px}
body.news-document .site-footer .brand img{width:220px;height:auto;object-fit:contain}
body.news-document .button{min-height:44px;border-radius:8px;font-size:14px}
/* Keep shell insets separate from the shared content-width utility. */
body:is(.minecraft-web,.news-document) .site-header .nav-shell{
 padding:12px 24px;gap:24px;min-height:84px;
}
body:is(.minecraft-web,.news-document) .nav-shell nav{
 margin:0;padding:0;align-items:center;justify-content:flex-end;gap:19px;
}
body:is(.minecraft-web,.news-document) .nav-shell nav>a{
 display:inline-flex;align-items:center;justify-content:center;
 min-height:44px;line-height:1.25;font-family:inherit;border-bottom:0;
}
body:is(.minecraft-web,.news-document) .nav-shell nav>a.active::after{
 bottom:-6px;height:2px;
}
body:is(.minecraft-web,.news-document) .nav-shell nav>a.account-link{
 border:1px solid #ffffff18;padding:11px 13px;
}
body.minecraft-web .journal{padding:31px 37px 35px}
body.minecraft-web .community-banner{padding:31px 37px}
body.minecraft-web .portal-grid{padding:0}
body.news-document .news-article-body{min-width:0}
body.news-document .news-article-body div:has(>table){max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
@media(max-width:1100px){
 body:is(.minecraft-web,.news-document) .site-header .nav-shell{padding-inline:20px;gap:16px}
 body:is(.minecraft-web,.news-document) .nav-shell nav{gap:12px}
 body.minecraft-web .nav-shell nav{gap:12px}
 body.minecraft-web .nav-shell nav a{font-size:11px}
 body.minecraft-web .site-header .brand img{width:210px;height:auto}
}
@media(max-width:900px){
 body.minecraft-web .journal{padding:27px}
 body.minecraft-web .community-banner{padding:29px}
 body:is(.minecraft-web,.news-document) .site-header .nav-shell{padding:12px 16px;gap:12px;min-height:74px}
 body:is(.minecraft-web,.news-document) .nav-shell nav{align-items:stretch;gap:3px;justify-content:flex-start;padding:12px}
 body:is(.minecraft-web,.news-document) .nav-shell nav>a{justify-content:flex-start;padding:12px;min-height:44px}
 body:is(.minecraft-web,.news-document) .nav-shell nav>a.active::after{display:none}
 body:is(.minecraft-web,.news-document) .nav-shell nav>a[aria-current=page]{background:#ffffff0a;border-radius:7px}
 body.minecraft-web .wrap,body.news-document .wrap{width:calc(100% - 40px)}
 body.minecraft-web .site-header{padding-top:17px}
 body.minecraft-web #accueil .hero{margin-top:-92px;min-height:460px;padding-top:92px}
 body.minecraft-web #accueil .hero-content{padding-top:126px}
 body.minecraft-web .nav-shell nav a{font-size:14px;padding:12px}
 body.minecraft-web .three-grid,body.minecraft-web .two-grid{grid-template-columns:1fr}
 body.minecraft-web .steps{grid-template-columns:1fr;gap:18px}
 body.minecraft-web .feature{padding:24px}
 body.minecraft-web .page-top{padding-top:36px}
 body.minecraft-web .ranking-heading{align-items:flex-start;flex-direction:column}
}
@media(max-width:620px){
 body.minecraft-web .journal{padding:24px 22px}
 body.minecraft-web .community-banner{padding:25px 23px}
 body.minecraft-web .wrap,body.news-document .wrap{width:calc(100% - 32px)}
 body.minecraft-web .site-header .brand img{width:195px;height:auto}
 body.minecraft-web #accueil .hero{min-height:460px;margin-top:-86px;padding-top:86px}
 body.minecraft-web #accueil .hero-content{padding-top:125px}
 body.minecraft-web .hero h1{font-size:34px;line-height:1.02}
 body.minecraft-web .hero-intro{font-size:14px}
 body.minecraft-web .page-top>h1{font-size:35px}
 body.minecraft-web .intro{font-size:15px}
 body.minecraft-web :is(.parchment,.download-card,.ranking-card){padding:20px}
 body.minecraft-web .ranking-card{padding:15px}
 body.minecraft-web .ranking-heading h2{font-size:23px}
 body.minecraft-web .ranking-table td,body.minecraft-web .ranking-table th{padding:12px 8px}
 body.minecraft-web .language-picker{right:8px;bottom:8px;font-size:10px;padding:8px}
 body.minecraft-web .language-picker>span{display:none}
 body.minecraft-web .language-picker button{min-height:34px;padding:6px 9px}
 body.minecraft-web .site-footer .brand img,body.news-document .site-footer .brand img{width:195px}
 .web-gallery{grid-template-columns:1fr}
}
@media(max-width:360px){
 body.minecraft-web .site-header .brand img{width:185px}
 body.minecraft-web .hero h1{font-size:29px}
}

/* SkarCraft464: server address visible from the first screen. */
body.minecraft-web .hero-access{display:flex;align-items:center;gap:24px;margin-top:23px;max-width:680px}
body.minecraft-web .hero-access-address{position:relative;display:grid;gap:3px;min-width:270px;padding:12px 52px 13px 19px;text-align:left;color:#112342;background:#edc06c;border:1px solid #f8dba1;border-radius:9px;box-shadow:0 7px 24px #0003;line-height:1.2}
body.minecraft-web .hero-access-address:hover{background:#f5d18d}
body.minecraft-web .hero-access-address>span{font-size:10px;letter-spacing:.12em;font-weight:750}
body.minecraft-web .hero-access-address strong{font-size:27px;letter-spacing:.01em;font-weight:850}
body.minecraft-web .hero-access-address>.icon{position:absolute;right:17px;top:25px;width:22px;height:22px}
body.minecraft-web .hero-access-details{display:grid;gap:3px;color:#eef3fb;font-size:12px;line-height:1.5}
body.minecraft-web .hero-access-details>strong{font-size:14px;color:#f3d79d}
body.minecraft-web .hero-access-details>a{font-size:11px;color:#e2eaf6;text-decoration:underline;text-underline-offset:3px}
@media(max-width:620px){body.minecraft-web .hero-access{align-items:stretch;flex-direction:column;gap:10px;margin-top:20px;max-width:340px}body.minecraft-web .hero-access-address{min-width:0;width:100%;padding-top:11px;padding-bottom:12px}body.minecraft-web .hero-access-address strong{font-size:25px}body.minecraft-web .hero-access-details{gap:1px;font-size:11px}body.minecraft-web .hero-access-details>strong{font-size:13px}body.minecraft-web .hero-access-details>a{font-size:10px}body.minecraft-web .art-caption{bottom:72px}}
