/* Locally hosted game artwork. Text and controls keep solid, readable surfaces. */
.portal-main-worlds{background-image:linear-gradient(180deg,#0b1416e8 0%,#0b1416f5 70%,#0b1416 100%),url('/static/games/minecraft-portal-v1.webp?v=81463685c18a81f77485');background-position:top center;background-size:100% 560px,auto 560px;background-repeat:no-repeat}
.game-picture{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.game-picture-logo{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);width:min(62%,270px);height:auto;filter:drop-shadow(0 4px 10px #0008);pointer-events:none}
.game-picture-fallback{display:grid;place-items:center;width:100%;height:100%;min-height:120px;background:radial-gradient(ellipse at top right,#395b46,#122629);color:var(--mint)}
.game-picture-fallback .icon{width:54px;height:54px}
.server-art.server-art-image{height:190px;background:#1b3331}
.server-art-image:after{background:linear-gradient(180deg,#0a171608 35%,#071b20b3)}
.server-art-image .game-picture{object-position:center 55%}
.server-art-image .art-coordinate{z-index:3;color:#f3fff3;text-shadow:0 1px 4px #000;letter-spacing:1.5px}
.game-tile-art{position:relative;display:block;flex-shrink:0;aspect-ratio:460/215;margin:-25px -25px 23px;overflow:hidden;background:#18312c;border-bottom:1px solid #ffffff12}
.game-tile-art .game-picture-logo{width:65%;max-width:245px}
.offer-art.offer-art-image{display:block;position:relative;width:100%;min-height:0;aspect-ratio:460/215;overflow:hidden;background:#172b2b}
.config-world-art.config-world-image{height:200px;background:#18312c}
.server-hero.server-hero-image,.legacy-server-hero{position:relative;isolation:isolate;background:#142728;border-color:#426151;min-height:236px}
.server-hero-scenery{position:absolute;z-index:-2;inset:0;overflow:hidden;pointer-events:none}
.server-hero-scenery:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0b1c20ee 0%,#102326ce 48%,#10232660 100%),linear-gradient(0deg,#0b1c20ed,transparent 80%)}
.server-hero-scenery .game-picture{object-position:center 54%}
.server-hero-image .server-heading{padding-block:10px}
.server-hero-image .server-heading h1{color:#f4fff5;text-shadow:0 2px 12px #0007}
.server-hero-image .server-edition{color:#d1e0d8}
.server-hero-image>.status{background:#0c1d1eee;border-color:#6f937a77}
.server-hero-image .server-toolbar{background:#0b1b1ee8;border:1px solid #56766655;border-radius:11px;padding:14px 16px}
.server-emblem.server-emblem-image{position:relative;overflow:hidden;background:#213c32;border-color:#a6cbaa70}
.server-emblem-image>.game-picture{object-position:72% 55%}
.server-emblem-image>.game-picture-logo{width:92%;filter:drop-shadow(0 1px 2px #000)}
.legacy-server-hero{padding:32px;border:1px solid #426151;border-radius:18px;overflow:hidden}
.legacy-server-hero>div:not(.server-hero-scenery){position:relative}
.legacy-server-hero>div>p:not(.eyebrow){color:#d1e0d8}
.legacy-server-hero>.status{padding:8px 12px;background:#0b1b1eee;border-radius:25px}
@media(max-width:700px){
  .server-art.server-art-image{height:180px}
  .server-hero.server-hero-image{min-height:0}
  .server-hero-image .server-toolbar{padding:13px 12px}
  .server-hero-scenery:after{background:linear-gradient(90deg,#0b1c20df,#1023269e),linear-gradient(0deg,#0b1c20ef,transparent)}
  .server-hero-image .server-heading{padding-block:3px}
  .legacy-server-hero{padding:24px;min-height:220px}
}
@media(max-width:600px){.game-tile-art{margin:-22px -22px 22px}}

/* The complete game artwork opens its server, with a visible keyboard focus. */
.server-art.server-art-link{display:block;cursor:pointer}
.server-art-link:focus-visible{outline:3px solid var(--mint);outline-offset:-5px}
.server-art-link:focus-visible:after{box-shadow:inset 0 0 0 5px var(--mint)}

/* Diels appearance variants: generated by build_palette.py. */
html[data-theme="light"] .portal-main-worlds{background-image:linear-gradient(180deg,#f8fafbe8 0%,#f8fafbf5 70%,#f8fafb 100%),url("/static/games/minecraft-portal-v1.webp?v=81463685c18a81f77485")}
html[data-theme="light"] .game-picture-fallback{background:radial-gradient(ellipse at top right,#e8f1ec,#f4f8f9)}
html[data-theme="light"] .server-art.server-art-image{background:#f2f7f7}
html[data-theme="light"] .server-art-image:after{background:linear-gradient(180deg,#f8fbfb08 35%,#f7fafab3)}
html[data-theme="light"] .server-art-image .art-coordinate{color:#158415;text-shadow:0 1px 4px #14291f1c}
html[data-theme="light"] .game-tile-art{background:#f2f7f6;border-bottom:1px solid #b0c2b512}
html[data-theme="light"] .offer-art.offer-art-image{background:#f3f8f8}
html[data-theme="light"] .config-world-art.config-world-image{background:#f2f7f6}
html[data-theme="light"] .server-hero.server-hero-image,html[data-theme="light"] .legacy-server-hero{background:#f4f8f9;border-color:#b0c2b5}
html[data-theme="light"] .server-hero-scenery:after{background:linear-gradient(90deg,#f7f9faee 0%,#f5f8f9ce 48%,#f5f8f960 100%),linear-gradient(0deg,#f7f9faed,transparent 80%)}
html[data-theme="light"] .server-hero-image .server-heading h1{color:#15841f;text-shadow:0 2px 12px #14291f1c}
html[data-theme="light"] .server-hero-image .server-edition{color:#23342b}
html[data-theme="light"] .server-hero-image>.status{background:#f7fafaee;border-color:#b0c2b577}
html[data-theme="light"] .server-hero-image .server-toolbar{background:#f7fafae8;border:1px solid #b0c2b555}
html[data-theme="light"] .server-emblem.server-emblem-image{background:#f0f6f4;border-color:#b0c2b570}
html[data-theme="light"] .legacy-server-hero{border:1px solid #b0c2b5}
html[data-theme="light"] .legacy-server-hero>div>p:not(.eyebrow){color:#23342b}
html[data-theme="light"] .legacy-server-hero>.status{background:#f7fafaee}
@media (max-width:700px){html[data-theme="light"] .server-hero-scenery:after{background:linear-gradient(90deg,#f7f9fadf,#f5f8f99e),linear-gradient(0deg,#f7f9faef,transparent)}}
html[data-theme="dark"] .portal-main-worlds{background-image:linear-gradient(180deg,#090b0ce8 0%,#090b0cf5 70%,#090b0c 100%),url("/static/games/minecraft-portal-v1.webp?v=81463685c18a81f77485")}
html[data-theme="dark"] .game-picture-fallback{background:radial-gradient(ellipse at top right,#2a3036,#111316)}
html[data-theme="dark"] .server-art.server-art-image{background:#16191d}
html[data-theme="dark"] .server-art-image:after{background:linear-gradient(180deg,#090b0c08 35%,#0b0d0eb3)}
html[data-theme="dark"] .server-art-image .art-coordinate{color:#f3fff3;text-shadow:0 1px 4px #000000}
html[data-theme="dark"] .game-tile-art{background:#15171b;border-bottom:1px solid #38404512}
html[data-theme="dark"] .offer-art.offer-art-image{background:#131518}
html[data-theme="dark"] .config-world-art.config-world-image{background:#15171b}
html[data-theme="dark"] .server-hero.server-hero-image,html[data-theme="dark"] .legacy-server-hero{background:#111316;border-color:#384045}
html[data-theme="dark"] .server-hero-scenery:after{background:linear-gradient(90deg,#0c0e10ee 0%,#0f1114ce 48%,#0f111460 100%),linear-gradient(0deg,#0c0e10ed,transparent 80%)}
html[data-theme="dark"] .server-hero-image .server-heading h1{color:#f4fff5;text-shadow:0 2px 12px #00000077}
html[data-theme="dark"] .server-hero-image .server-edition{color:#d5d9dc}
html[data-theme="dark"] .server-hero-image>.status{background:#0c0e0fee;border-color:#38404577}
html[data-theme="dark"] .server-hero-image .server-toolbar{background:#0c0d0fe8;border:1px solid #38404555}
html[data-theme="dark"] .server-emblem.server-emblem-image{background:#1a1e22;border-color:#38404570}
html[data-theme="dark"] .legacy-server-hero{border:1px solid #384045}
html[data-theme="dark"] .legacy-server-hero>div>p:not(.eyebrow){color:#d5d9dc}
html[data-theme="dark"] .legacy-server-hero>.status{background:#0c0d0fee}
@media (max-width:700px){html[data-theme="dark"] .server-hero-scenery:after{background:linear-gradient(90deg,#0c0e10df,#0f11149e),linear-gradient(0deg,#0c0e10ef,transparent)}}
