/* Typography and proportions of the 2019–2020 light website. */
@font-face{font-family:Gotham;src:url('assets/fonts/GothamSSm-Book.otf') format('opentype');font-weight:400;font-display:swap}
@font-face{font-family:Gotham;src:url('assets/fonts/GothamSSm-Medium.otf') format('opentype');font-weight:500 600;font-display:swap}
@font-face{font-family:Gotham;src:url('assets/fonts/GothamSSm-Bold.otf') format('opentype');font-weight:700;font-display:swap}
@font-face{font-family:Gotham;src:url('assets/fonts/GothamSSm-Black.otf') format('opentype');font-weight:800 1000;font-display:swap}
:root{font-family:Gotham,Arial,sans-serif;--muted:#606162;--line:#b8babe;--surface:#fff;background:#f2f4f5;color:#393b3d;font-size:16px}
body{min-height:100vh;display:flex;flex-direction:column}
header{height:40px;padding:0 12px;gap:0;background:#dee1e3;border-bottom:1px solid #c7cbce}
header .hamburger{margin-right:16px}
.logo{font-size:24px;font-weight:900;letter-spacing:.2px;line-height:1;min-width:115px;margin-right:18px;text-transform:uppercase}
@media(min-width:651px){header .logo{justify-content:center;padding-left:8px}}
.topnav{gap:0;justify-content:space-between;width:340px;margin-right:24px;flex-shrink:0;font-size:16px;font-weight:500}
.topnav a{height:40px;padding:10px 12px}
#search-form{height:28px;max-width:320px;border-color:#b8babe;background:#fff;border-radius:3px}
#search{font-size:14px;padding:4px 8px;background:#fff;color:#393b3d}
#search::placeholder{color:#777}
@media(min-width:1380px){header #search-form{position:absolute;left:50%;transform:translateX(-50%);width:320px;max-width:320px}}
.account{gap:12px;padding-left:20px;font-size:12px}
.balance span{font-size:14px}
/* The original sprite includes white header icons; recolor those for light theme. */
header .nav-icon{filter:brightness(0) opacity(.76)}
body.dark header .nav-icon{filter:brightness(0) invert(1)}
aside{width:175px;padding:0 10px;overflow-y:auto;border-right:1px solid #e9ebec}
.username{font-size:16px;font-weight:700;margin:0 0 12px;padding:16px 4px 14px;border-bottom:1px solid #d5d7d9}
#side-nav a{font-size:16px;height:36px;gap:8px;padding:0 3px;border-radius:0!important}
#side-nav a:hover,#side-nav a.active{background:#eceeef}
#side-nav a.active{font-weight:700}
.revival-note{border-top:1px solid #d5d7d9;padding-top:14px;margin:14px 3px;color:#606162;font-size:12px}
main{width:calc(100% - 175px);max-width:1154px;margin:40px auto 0 calc(175px + max(0px,(100% - 1329px)/2));padding:24px 24px 44px;min-height:620px;flex:1}
h1{font-size:32px;line-height:1.25;font-weight:800;margin:0 0 24px;letter-spacing:-.6px}
h2{font-size:24px;font-weight:700;line-height:1.35;letter-spacing:-.3px}
.section{margin-bottom:30px}
.section-head{margin-bottom:14px}
.see-all,.outline{height:28px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;font-size:12px;font-weight:500;border:1px solid #b8babe;border-radius:3px;background:transparent}
.see-all:hover,.outline:hover{background:#e5e7e9}
.inline-empty{color:var(--muted);font-size:14px;padding:22px 0}
.home-friends{margin-bottom:26px}
.home-friends .inline-empty{padding:16px 0 22px}
.panel.empty{border:0;background:transparent;padding:44px 16px;font-size:16px}
.catalog-grid{grid-template-columns:repeat(auto-fill,150px);gap:24px 18px}
.catalog-image{background:#e7e9eb;border-radius:0}
.game-art{border-radius:8px;overflow:hidden}
.game-art img{object-fit:cover;object-position:50% 60%}
.catalog-card h2{font-size:16px;font-weight:700;line-height:1.3;letter-spacing:0;margin:9px 0 5px}
.catalog-card p{font-size:12px;margin:0 0 6px}
.game-caption{font-size:12px;color:var(--muted)}
.item-price{font-size:14px;color:#393b3d;font-weight:500}
.browse-toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 22px;min-height:36px;gap:16px}
.browse-toolbar label{display:flex;align-items:center;gap:12px;font-size:14px}
.browse-toolbar select{background:var(--surface);border:1px solid var(--line);color:inherit;padding:8px 32px 8px 12px;border-radius:3px;font-size:14px}
.result-count{font-size:12px;color:var(--muted)}
.catalog-layout{display:grid;grid-template-columns:160px 1fr;gap:28px}
.catalog-categories{border-right:1px solid #d5d7d9;padding-right:20px}
.catalog-categories h2{font-size:18px;margin:6px 0 18px}
.catalog-categories a{display:block;padding:9px 10px;font-size:14px}
.catalog-categories a.selected{background:#e2e5e7;font-weight:700;border-radius:3px}
.catalog-categories a:hover{background:#e7e9eb}
.game-hero{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;margin:0 0 30px}
.game-cover{aspect-ratio:16/9;background:#e2e5e7;overflow:hidden}
.game-cover img{width:100%;height:100%;object-fit:cover}
.game-summary h1{font-size:32px;line-height:1.22;margin:0 0 12px;letter-spacing:-.7px}
.byline{margin:0 0 25px;font-size:14px;color:var(--muted)}
.byline a{color:#393b3d;text-decoration:underline;font-weight:500}
.play{height:56px;padding:0 16px;font-size:20px;font-weight:700;background:#00b06f;border-radius:4px;margin:0 0 16px;display:flex;align-items:center;justify-content:center;gap:12px}
.play-triangle{display:inline-block;width:0;height:0;border-top:10px solid transparent;border-bottom:10px solid transparent;border-left:17px solid #fff}
.favorite-button{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 auto;border:0;background:none;font-size:12px;color:var(--muted);height:32px}
.favorite-button span{font-family:Arial,sans-serif;font-size:27px;line-height:1;color:#606162}
.favorite-button[aria-pressed=true] span{color:#b88700}
.launcher-note{font-size:12px!important;line-height:1.6;margin:16px 0 0}
.tabs{margin:0 0 24px;border-bottom:1px solid #b8babe}
.tabs button{font-size:16px;font-weight:500;padding:13px 8px}
.tabs button.selected{font-weight:700;border-bottom:3px solid #393b3d}
.game-about{padding:0 0 20px;min-height:230px}
.game-about h2{font-size:20px;margin:0 0 18px}
.game-about p{font-size:14px;line-height:1.6;margin:0 0 14px}
.game-facts{display:flex;gap:48px;padding-top:24px;margin:28px 0 0;border-top:1px solid #d5d7d9;font-size:14px}
.game-facts dt{color:var(--muted);margin-bottom:8px;font-size:12px}
.game-facts dd{margin:0;font-weight:500}
.download-place{display:inline-block;font-size:12px;text-decoration:underline;color:var(--muted)}
.server-row{display:flex;align-items:center;justify-content:space-between;background:var(--surface);border:1px solid #d5d7d9;border-radius:3px;padding:20px;margin:24px 0;max-width:600px;font-size:14px}
.server-row p{font-size:12px;color:var(--muted);margin:6px 0 0}
.server-row .outline{min-width:80px}
.hat-detail{grid-template-columns:minmax(0,420px) minmax(220px,340px);gap:36px}
.hat-preview{border-radius:0}
.hat-info .play{margin-top:24px}
footer{width:calc(100% - 223px);max-width:1106px;margin:0 auto 0 calc(199px + max(0px,(100% - 1329px)/2));padding:24px 0 36px;border-top:1px solid #c7cbce}
footer>div{justify-content:space-between;gap:20px}
footer a{font-size:16px;font-weight:500}
footer p{font-size:10px;margin:22px 0 16px}
.language{width:200px;height:36px;font-size:12px;justify-content:space-between;border-color:#b8babe}
.language span{margin-right:auto}
.chat-toggle{width:280px;height:36px;right:16px;font-size:14px;font-weight:700;padding:0 12px;box-shadow:0 0 6px #0001;border-radius:3px 3px 0 0}
dialog{border-radius:3px;max-width:480px;padding:28px 32px;text-align:center}
dialog h2{font-size:24px;margin-bottom:20px}
dialog .notice{font-size:14px}
body.dark .catalog-categories a.selected,body.dark .catalog-categories a:hover{background:#505457}
body.dark .byline a,body.dark .favorite-button span,body.dark .item-price{color:#eee}
body.dark aside{border-color:#393b3d}
body.dark #search{background:#393b3d;color:#eee}
body.dark .server-row{border-color:#606467}
@media(max-width:1150px){.topnav{width:290px;margin-right:18px}.topnav a{padding:10px 6px}.logo{min-width:105px;margin-right:12px}.account{padding-left:12px;gap:8px}main{padding:24px}.game-hero{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.game-summary h1{font-size:28px}.game-cover{aspect-ratio:4/3}.catalog-grid{grid-template-columns:repeat(auto-fill,minmax(130px,150px))}}
@media(max-width:900px){aside{width:175px}.topnav{width:250px;font-size:14px;margin-right:12px}.logo{min-width:95px;font-size:22px}.account{gap:6px}.game-hero{grid-template-columns:1fr}.game-cover{aspect-ratio:16/9}.game-summary h1{font-size:32px}.game-summary .play{max-width:400px}.favorite-button{margin:0}.catalog-layout{grid-template-columns:130px 1fr;gap:20px}}
@media(max-width:650px){header{height:40px;padding:0 10px}.hamburger{margin-right:10px!important}.logo{font-size:23px;min-width:100px;margin-right:14px}.topnav{display:none}.account{padding-left:8px}aside{top:40px;width:175px}main{width:100%;margin:40px 0 0;max-width:none;padding:22px 16px 36px;min-height:620px}h1{font-size:28px}.section-head h2{font-size:21px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,150px));gap:20px 16px}.catalog-layout{grid-template-columns:1fr}.catalog-categories{display:flex;align-items:center;gap:8px;border:0;padding:0}.catalog-categories h2{display:none}.catalog-categories a{padding:8px 12px}.game-hero{gap:20px}.game-summary h1{font-size:28px}.game-summary .play{max-width:none}.game-facts{gap:30px}.hat-detail{grid-template-columns:1fr}.hat-preview{max-width:340px}.hat-info .play{width:100%}footer{width:calc(100% - 32px);max-width:none;margin:0 16px;padding:24px 0 60px}footer>div{justify-content:flex-start;gap:20px}footer a{font-size:12px}.chat-toggle{right:10px;width:240px}.tabs button{font-size:14px}}
