:root {
    color-scheme: dark;
    --bg: #060609;
    --panel: #0c0d10;
    --panel-2: #121318;
    --line: #30313b;
    --line-soft: #21232a;
    --purple: #6d24bd;
    --purple-bright: #a85cff;
    --lavender: #bca2ff;
    --text: #e8e6ec;
    --muted: #a6a4ae;
    --green: #60d957;
    --gold: #ffca27;
    --font-pixel: "Lucida Console", Monaco, "Courier New", monospace;
    --font-ui: Verdana, Geneva, sans-serif;
    --font-editorial: Tahoma, Verdana, Geneva, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
    margin: 0;
    background: #030305;
    color: var(--text);
    font: 12px/1.35 var(--font-ui);
    image-rendering: pixelated;
}
a { color: var(--lavender); text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }
button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 99; left: 10px; top: -50px; background: #fff; color: #000; padding: 8px 12px; }
.skip-link:focus { top: 10px; }

html.has-scimitar-cursor, html.has-scimitar-cursor * { cursor: none; }
html.has-scimitar-cursor input, html.has-scimitar-cursor textarea, html.has-scimitar-cursor select { cursor: text; }
html.has-scimitar-cursor input[type="button"], html.has-scimitar-cursor input[type="submit"], html.has-scimitar-cursor input[type="reset"], html.has-scimitar-cursor input[type="checkbox"], html.has-scimitar-cursor input[type="radio"], html.has-scimitar-cursor input[type="file"], html.has-scimitar-cursor button, html.has-scimitar-cursor label, html.has-scimitar-cursor a, html.has-scimitar-cursor summary { cursor: none; }
.scimitar-cursor { position: fixed; left: 0; top: 0; z-index: 100000; width: 32px; height: 32px; background: url("cursor-scimitar.png") 0 0 / 32px 32px no-repeat; image-rendering: pixelated; pointer-events: none; }
.scimitar-trail { position: fixed; inset: 0; z-index: 99999; pointer-events: none; overflow: hidden; }
.scimitar-blood { position: absolute; width: 6px; height: 8px; background: url("cursor-blood.png") center / 6px 8px no-repeat; image-rendering: pixelated; animation: scimitar-drip .45s linear forwards; }
@keyframes scimitar-drip { to { transform: translateY(12px); opacity: 0; } }
.rare-badges { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 0; padding: 0; list-style: none; }
.rare-badges li { width: 16px; height: 16px; }
.rare-badges img { display: block; width: 16px; height: 16px; image-rendering: pixelated; }

.site-wrap {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 10px 8px 0 14px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(56, 18, 117, .55), transparent 32%),
        repeating-linear-gradient(0deg, rgba(255,255,255,.014) 0, rgba(255,255,255,.014) 1px, transparent 1px, transparent 4px),
        #060609;
}
.site-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .07;
    background-image: radial-gradient(#9e8bc2 .6px, transparent .6px);
    background-size: 7px 7px;
}

.masthead {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 225px minmax(600px, 1fr) 290px;
    grid-template-rows: auto auto;
    gap: 5px 12px;
    max-width: 1560px;
    margin: 0 auto 5px;
    pointer-events: none;
}
.masthead > * { pointer-events: auto; }
.brand { grid-row: 1 / 3; position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 145px; padding-left: 7px; line-height: .78; }
.brand:hover, .brand:focus-visible { text-decoration: none; }
.brand::after { display: none; }
.brand-logo { display: block; width: 252px; height: 108px; margin: -2px 0 -2px -6px; object-fit: contain; }
.brand-pixel, .brand-haven { width: max-content; font: 900 53px/.78 "Arial Black", Impact, sans-serif; letter-spacing: -1px; transform: skew(-3deg); -webkit-text-stroke: 1px #0a0a0c; }
.brand > .brand-pixel, .brand > .brand-haven { display: none; }
.brand-pixel { color: #eef0f0; text-shadow: 3px 3px #858991, 6px 6px #1e242a; }
.brand-haven { color: #7a29dc; text-shadow: 3px 3px #3b0f75, 6px 6px #14101b; }
.brand-tag { margin-top: 17px; color: #9ba5b0; font: 700 12px var(--font-pixel); letter-spacing: 2px; text-transform: uppercase; }
.header-main { align-self: end; min-width: 0; }
.utility { display: flex; justify-content: flex-end; align-items: center; gap: 18px; height: 23px; padding-right: 6px; color: #d6d5da; font: 10px var(--font-pixel); text-transform: uppercase; }
.utility a { color: #d6d5da; }
.utility form { margin: 0; }
.utility .utility-link { display: inline-flex; align-items: center; gap: 4px; }
.utility-link i { display: block; flex: 0 0 16px; width: 16px; height: 16px; background-image: url("portal-relics-atlas-transparent.webp"); background-repeat: no-repeat; background-size: 400% 300%; filter: drop-shadow(0 0 2px #a85cff); image-rendering: pixelated; }
.utility-cms i { background-position: 33.333% 100%; }
.utility-inbox i { background-position: 33.333% 0; }
.utility-alerts i { background-position: 0 0; }
.utility-pets i { background-position: 0 50%; }
.utility-clans i { background-position: 100% 50%; }
.utility-logout i { background-position: 0 100%; }
.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-transform: inherit; cursor: pointer; }
.link-button:hover { color: #fff; text-decoration: underline; }

.primary-nav { display: grid; grid-template-columns: repeat(10, minmax(68px, 1fr)); min-height: 75px; border: 1px solid #4b2a75; background: linear-gradient(#13151a, #090a0d); }
.primary-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-right: 1px solid #1d1e25; color: #f2eff3; font: 700 10px var(--font-pixel); text-transform: uppercase; }
.primary-nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: transparent; }
.primary-nav a:hover, .primary-nav a.active { background: radial-gradient(circle at 50% 35%, #20232b, #0b0c10 70%); text-decoration: none; }
.primary-nav a:hover::after, .primary-nav a.active::after { background: var(--purple-bright); box-shadow: 0 0 8px var(--purple); }
.nav-icon { display: block; width: 38px; height: 38px; overflow: hidden; background-image: url("nav-icons-atlas.png?v=2"); background-size: 500% 200%; background-repeat: no-repeat; color: transparent; font-size: 0; image-rendering: pixelated; }
.primary-nav a:nth-child(1) .nav-icon { background-position: 0 0; }
.primary-nav a:nth-child(2) .nav-icon { background-position: 25% 0; }
.primary-nav a:nth-child(3) .nav-icon { background-position: 50% 0; }
.primary-nav a:nth-child(4) .nav-icon { background-position: 75% 0; }
.primary-nav a:nth-child(5) .nav-icon { background-position: 100% 0; }
.primary-nav a:nth-child(6) .nav-icon { background-position: 0 100%; }
.primary-nav a:nth-child(7) .nav-icon { background-position: 25% 100%; }
.primary-nav a:nth-child(8) .nav-icon { background-position: 50% 100%; }
.primary-nav a:nth-child(9) .nav-icon { background-position: 75% 100%; }
.primary-nav a:nth-child(10) .nav-icon { background-position: 100% 100%; }
.nav-toggle { display: none; }

.platform-nav { display: flex; height: 26px; overflow-x: auto; border: 1px solid var(--line); border-top: 0; background: #0b0c0f; scrollbar-width: thin; }
.platform-nav span, .platform-nav a { flex: 0 0 auto; padding: 6px 14px; border-right: 1px solid var(--line-soft); color: #dedce3; font: 10px var(--font-pixel); text-transform: uppercase; }
.platform-nav span { color: #c8c4ce; }
.platform-nav a:hover, .platform-nav a.active { background: #21122f; color: #fff; text-decoration: none; }
.ticker { display: flex; align-items: center; min-width: 0; height: 27px; overflow: hidden; border: 1px solid #393142; border-top: 0; background: #090a0d; font-size: 11px; white-space: nowrap; }
.ticker > b { position: relative; z-index: 1; align-self: stretch; display: flex; flex: 0 0 auto; align-items: center; padding: 0 13px; border-right: 1px solid #2d2633; background: #090a0d; color: #ffad18; font: 700 10px var(--font-pixel); text-transform: uppercase; }
.ticker-window { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.ticker-track { display: flex; width: max-content; will-change: transform; animation: ticker 28s linear infinite; }
.ticker-group { display: flex; flex: 0 0 auto; align-items: center; gap: 15px; padding-right: 15px; }
.ticker-track i { color: var(--gold); font-style: normal; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.search { align-self: start; display: flex; margin-top: 20px; padding: 6px; border: 1px solid #3a2c50; background: #0d0e12; }
.search input { min-width: 0; width: 100%; height: 28px; padding: 4px 8px; border: 1px solid #83818b; background: #dedde0; color: #111; outline: 0; }
.search input:focus { box-shadow: 0 0 0 2px var(--purple-bright); }
.search button { width: 42px; border: 1px solid #7840a9; background: linear-gradient(#6c289a, #3b145e); color: #fff; font: 700 11px var(--font-pixel); text-transform: uppercase; cursor: pointer; }
.site-search-form { display: grid; gap: 8px; padding: 18px; border-bottom: 1px solid #332d37; background: #0d0b0f; }
.site-search-form label { color: #aaa2af; font: 11px var(--font-pixel); text-transform: uppercase; }
.site-search-form > span { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.site-search-form input { min-width: 0; width: 100%; padding: 10px; border: 1px solid #6e6873; background: #dedde0; color: #111; }
.site-search-form input:focus { outline: 2px solid var(--purple-bright); }
.search-welcome { min-height: 210px; padding: 55px 20px; color: #8e8793; text-align: center; }
.search-welcome strong { display: block; margin-bottom: 12px; color: #d6b1e6; font: 13px var(--font-pixel); }
.search-summary { margin: 0; padding: 11px 14px; border-bottom: 1px solid #312b35; color: #918a96; }
.search-summary strong { color: #d5acdf; }
.search-result-group .sub-bar { display: flex; justify-content: space-between; }
.search-result-group .sub-bar span { color: #968a9d; }
.search-result-list > a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 76px; padding: 10px 13px; border-bottom: 1px solid #2c2730; background: #0d0b0f; }
.search-result-list > a:hover { background: #18101d; text-decoration: none; }
.search-result-icon, .search-result-avatar { display: grid; width: 52px; height: 52px; place-content: center; border: 1px solid #4b3b55; background: #1c1222; color: #c37ce9; font: 18px var(--font-pixel); }
.search-result-list small, .search-result-list strong, .search-result-list em { display: block; }
.search-result-list small { color: #817986; font: 10px var(--font-pixel); text-transform: uppercase; }
.search-result-list strong { margin: 6px 0; color: #d7d0db; font: 10px/1.3 var(--font-pixel); }
.search-result-list em { overflow: hidden; color: #a29ba6; font-style: normal; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.search-result-list > a > b { color: #b178cf; font: 10px var(--font-pixel); white-space: nowrap; }

.page-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 225px minmax(650px, 1fr) 290px; gap: 10px 12px; max-width: 1560px; margin: 0 auto; }
.left-rail, .right-rail, .content { min-width: 0; }
.left-rail { margin-top: -2px; }
.content { padding-top: 5px; }
.right-rail { margin-top: -93px; }
.panel { border: 1px solid #383944; background: linear-gradient(135deg, rgba(16,17,21,.98), rgba(8,9,11,.98)); box-shadow: inset 0 0 18px rgba(0,0,0,.4), inset 0 1px rgba(255,255,255,.035); }
.panel + .panel { margin-top: 9px; }
.bar { min-height: 25px; margin: 0; padding: 6px 10px 5px; border-top: 1px solid #7d39b5; background: linear-gradient(180deg, #6722a5, #4c147f); color: #fff; font: 700 11px var(--font-pixel); letter-spacing: .2px; text-shadow: 1px 1px #210532; text-transform: uppercase; }
.bar-with-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bar-with-link h2 { margin: 0; font: inherit; }
.bar-with-link a, .bar-with-text small { color: #d5c7e8; font: 11px var(--font-pixel); white-space: nowrap; }
.compact { font-family: var(--font-pixel); }

.quick-links { padding: 7px 9px 8px; margin: 0; list-style: none; }
.quick-links li { min-height: 16.92px; }
.quick-links a { color: #b9a9f5; font-size: 11px; }
.quick-links a::before { content: "▶"; margin-right: 8px; color: #bdc1ca; font-size: 10px; }
.stats dl { display: grid; grid-template-columns: 1fr auto; align-content: start; min-height: 112px; gap: 7px 12px; padding: 9px 8px; margin: 0; font-size: 10px; }
.stats dt { color: #c7c3cb; }
.stats dd { margin: 0; color: #b8a8f0; }
.stats dt a, .stats dd a { color: inherit; }
.playing-card { display: grid; grid-template-columns: 58px 1fr; gap: 8px; padding: 9px; }
.cover-art { display: grid; place-items: center; min-height: 61px; border: 1px solid #7f653c; background: radial-gradient(circle at 60% 35%, #de8f20, transparent 15%), linear-gradient(145deg, #23110c, #9b4e15 53%, #08070a); color: #ffe1a3; font: 700 19px Impact; }
.cover-art { background: url("game-thumbnails-atlas.png") 0 0 / 400% 400% no-repeat; color: transparent; }
.playing-card a { display: block; margin: 4px 0 2px; }
.playing-card small, .playing-card span { display: block; color: #b7b3bd; font-size: 9px; }
.meter { height: 7px; margin-top: 6px; padding: 1px; background: #292b31; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, #16841e, #59dc54); }
.left-rail .panel + .panel { margin-top: 1px; }
.stats + .playing { margin-top: 2px; }
.playing + .sponsors { margin-top: 6px; }
.sponsors { padding-bottom: 13px; }
.sponsors .bar { margin-bottom: 6px; }
.sponsor { display: grid; place-items: center; height: 45px; margin: 5px 8px; border: 1px solid currentColor; color: #fff; font: 900 17px Impact, sans-serif; letter-spacing: 1px; text-shadow: 2px 2px #000; }
.sponsor:hover { text-decoration: none; filter: brightness(1.25); }
.sponsor.pink { background: repeating-linear-gradient(135deg, #bb006b 0 4px, #85034f 4px 8px); }
.sponsor.gold { background: linear-gradient(#523a00, #0b0b0b); color: #ffd44d; }
.sponsor.blue { background: linear-gradient(135deg, #063f56, #07080a); }
.sponsor.green { background: linear-gradient(135deg, #6f8f40, #20291b); }
.ring-controls { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #29252e; }
.ring-controls a { padding: 5px 2px; border-right: 1px solid #29252e; color: #c9b6ff; font-size: 11px; text-align: center; }
.ring-feature { display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 7px; margin: 6px; color: #bbb7c1; font-size: 11px; }
.ring-feature img, .affiliate-grid img { display: block; border: 1px solid #65616a; image-rendering: pixelated; }
.ring-feature b { color: #ddcfff; font-size: 9px; }
.affiliate-grid { display: grid; grid-template-columns: repeat(2, 88px); justify-content: center; gap: 4px 5px; padding: 2px 5px 7px; }
.affiliate-grid a:hover img { border-color: #c571ff; filter: brightness(1.2); }
.ring-note { margin: 0; padding: 6px 8px 8px; border-top: 1px dashed #403746; color: #87818c; font-size: 10px; text-align: center; }

.feature-grid { display: grid; grid-template-columns: minmax(420px, 1.8fr) minmax(250px, 1fr); gap: 2px; height: 312px; overflow: hidden; }
.hero { position: relative; height: 312px; min-height: 0; border: 1px solid #34333a; overflow: hidden; background: #0b0808; }
.hero::before { content: "Featured"; position: absolute; z-index: 5; left: 8px; top: 7px; padding: 5px 13px; background: #5e1aa1; color: #fff; font: 700 11px var(--font-pixel); text-transform: uppercase; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-art { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(circle at 68% 37%, rgba(255,180,59,.46), transparent 18%), linear-gradient(115deg, #0a0709 0 37%, transparent 63%), linear-gradient(160deg, #8e551f, #1b1010 48%, #040407 77%); }
.hero-art::before, .hero-art::after { content: ""; position: absolute; background: #08070a; filter: drop-shadow(0 0 7px #d76d1b); }
.hero-art::before { right: 11%; bottom: 0; width: 29%; height: 68%; clip-path: polygon(0 100%, 14% 34%, 28% 44%, 34% 8%, 43% 43%, 53% 18%, 61% 50%, 75% 28%, 83% 52%, 100% 47%, 94% 100%); }
.hero-art::after { left: 0; right: 0; bottom: 0; height: 20%; clip-path: polygon(0 56%, 8% 31%, 18% 53%, 27% 18%, 39% 54%, 48% 40%, 59% 65%, 68% 35%, 79% 57%, 91% 24%, 100% 58%, 100% 100%, 0 100%); }
.hero-ashen .hero-art { background: linear-gradient(90deg, rgba(3,3,5,.48), transparent 64%), url("hero-ashen.png") 58% center / cover no-repeat; }
.hero-ashen .hero-art::before, .hero-ashen .hero-art::after,
.hero-ashen .moon, .hero-ashen .tower, .hero-ashen .wanderer { display: none; }
.hero-neon .hero-art { background: linear-gradient(90deg, rgba(2,3,8,.24), transparent 58%), url("hero-neon-divide.webp") 58% center / cover no-repeat; }
.hero-moss .hero-art { background: linear-gradient(90deg, rgba(2,4,3,.22), transparent 58%), url("hero-mosslight.webp") 58% center / cover no-repeat; }
.hero-neon .hero-art::before, .hero-neon .hero-art::after,
.hero-moss .hero-art::before, .hero-moss .hero-art::after,
.hero-neon .moon, .hero-neon .tower, .hero-neon .wanderer,
.hero-moss .moon, .hero-moss .tower, .hero-moss .wanderer { display: none; }
.moon { position: absolute; right: 12%; top: 19%; width: 98px; aspect-ratio: 1; border: 11px solid rgba(255,177,54,.75); border-radius: 50%; box-shadow: 0 0 33px rgba(255,133,22,.6), inset 0 0 18px #ff8f2c; }
.hero-neon .moon { border-color: #ed42f5; box-shadow: 0 0 33px #cd31f2; }
.hero-moss .moon { border-color: #7ee66e; box-shadow: 0 0 33px #4eba4b; }
.tower { position: absolute; right: 17%; bottom: 8%; width: 55px; height: 105px; background: #08070a; clip-path: polygon(0 100%, 8% 26%, 21% 26%, 25% 0, 32% 26%, 68% 26%, 72% 0, 79% 26%, 92% 26%, 100% 100%); }
.wanderer { position: absolute; right: 8%; bottom: 1%; z-index: 3; color: #1a0c0b; font-size: 105px; transform: scaleX(-1); text-shadow: 0 0 7px #ff822a; }
.hero-copy { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; width: 65%; height: 100%; padding: 43px 0 24px 28px; text-shadow: 2px 2px 2px #000; }
.hero-copy .kicker { color: #f4ad35; font: 700 9px var(--font-pixel); letter-spacing: 1.5px; text-transform: uppercase; }
.hero-copy h1 { margin: 8px 0 0; color: #f0d68b; font: 900 clamp(35px, 3.2vw, 48px)/.88 Georgia, serif; letter-spacing: -3px; white-space: nowrap; text-transform: uppercase; }
.hero-copy h1 small { display: block; margin-top: 10px; color: #f2f0e7; font: 400 19px/1 Georgia, serif; letter-spacing: 1px; }
.hero-copy p { max-width: 390px; margin: 15px 0; color: #eee; line-height: 1.5; }
.button { padding: 9px 16px; border: 1px solid #9b4bd5; background: linear-gradient(#6e25a6, #3e1267); color: #fff; font: 700 12px var(--font-pixel); text-transform: uppercase; box-shadow: inset 0 0 0 1px #3a0c56; }
.button:hover { text-decoration: none; background: #852bc8; }
.hero-score { display: none; }
.carousel-dots { position: absolute; z-index: 8; right: 9px; bottom: 18px; display: flex; gap: 3px; }
.carousel-dots button { width: 25px; height: 25px; padding: 0; border: 1px solid #d0ced2; background: #08080b; color: #fff; cursor: pointer; }
.carousel-dots button.active { border-color: #b465ff; background: #6120a8; }

/* Homepage relics turn each portal module into a distinct, collectible-feeling destination. */
body[data-hot-reload-page="home"] .panel > .bar { display: flex; align-items: center; gap: 7px; min-height: 31px; padding-block: 4px; }
body[data-hot-reload-page="home"] .panel > .bar::before {
    content: "";
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    background-image: url("portal-relics-atlas-transparent.webp");
    background-repeat: no-repeat;
    background-size: 400% 300%;
    filter: drop-shadow(1px 1px #210532) drop-shadow(0 0 3px rgba(183,115,255,.72));
    image-rendering: pixelated;
}
body[data-hot-reload-page="home"] .panel > .bar > :last-child:not(:first-child) { margin-left: auto; }
body[data-hot-reload-page="home"] .left-rail > .panel:first-child > .bar::before { background-position: 0 0; }
body[data-hot-reload-page="home"] .stats > .bar::before { background-position: 0 100%; }
body[data-hot-reload-page="home"] .playing > .bar::before { background-position: 33.333% 100%; }
body[data-hot-reload-page="home"] .sponsors > .bar::before { background-position: 100% 100%; }
body[data-hot-reload-page="home"] .highlights > .bar::before { background-position: 100% 0; }
body[data-hot-reload-page="home"] .news > .bar::before { background-position: 33.333% 0; }
body[data-hot-reload-page="home"] .reviews > .bar::before { background-position: 66.666% 0; }
body[data-hot-reload-page="home"] .editorials > .bar::before { background-position: 0 50%; }
body[data-hot-reload-page="home"] .player-card > .bar::before { background-position: 66.666% 100%; }
body[data-hot-reload-page="home"] .releases > .bar::before { background-position: 66.666% 50%; }
body[data-hot-reload-page="home"] .topics > .bar::before { background-position: 33.333% 50%; }
body[data-hot-reload-page="home"] .leaderboard > .bar::before { background-position: 100% 50%; }

.highlights { margin: 0 !important; overflow: hidden; }
.highlight { display: grid; grid-template-columns: 98px 1fr; min-height: 71px; padding: 7px; border-bottom: 1px solid #272931; color: #eee; }
.highlight:hover { background: #16121d; text-decoration: none; }
.thumb { display: grid; place-items: center; margin-right: 9px; border: 1px solid #3b3c43; color: rgba(255,255,255,.7); font-size: 31px; text-shadow: 2px 2px #000; }
.thumb, .news-thumb, .editorial-art { background-image: url("game-thumbnails-atlas.png") !important; background-size: 400% 400% !important; background-repeat: no-repeat !important; color: transparent !important; text-shadow: none !important; }
.highlight:nth-of-type(1) .thumb { background-position: 0 0 !important; }
.highlight:nth-of-type(2) .thumb { background-position: 33.333% 0 !important; }
.highlight:nth-of-type(3) .thumb { background-position: 66.666% 0 !important; }
.highlight:nth-of-type(4) .thumb { background-position: 100% 0 !important; }
.highlight .thumb { background-size: 400% auto !important; background-position-y: top !important; }
.news-item:nth-of-type(1) .news-thumb { background-position: 0 33.333% !important; }
.news-item:nth-of-type(2) .news-thumb { background-position: 33.333% 33.333% !important; }
.news-item:nth-of-type(3) .news-thumb { background-position: 66.666% 33.333% !important; }
.news-item:nth-of-type(4) .news-thumb { background-position: 100% 33.333% !important; }
.news-item:nth-of-type(5) .news-thumb { background-position: 66.666% 100% !important; }
.news-item:nth-of-type(6) .news-thumb { background-position: 100% 100% !important; }
.thumb.gold, .news-thumb.gold, .editorial-art.gold { background: radial-gradient(circle, #d88427, #431210); }
.thumb.pink, .news-thumb.pink { background: radial-gradient(circle, #cb3f95, #3d1648); }
.thumb.green, .news-thumb.green, .editorial-art.green { background: radial-gradient(circle, #5d9b3d, #152a21); }
.thumb.blue, .news-thumb.blue, .editorial-art.blue { background: radial-gradient(circle, #247cac, #101b41); }
.news-thumb.red, .editorial-art.red { background: radial-gradient(circle, #a72e28, #31100f); }
.news-thumb.cyan { background: radial-gradient(circle, #1c9fa0, #123035); }
.news-thumb.purple { background: radial-gradient(circle, #7b35ba, #26123b); }
.highlight > span:last-child { position: relative; min-width: 0; padding-bottom: 13px; }
.highlight b { display: block; overflow: hidden; margin: 1px 0 5px; color: var(--lavender); font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.highlight small { display: block; color: #e6e3e8; line-height: 1.4; }
.highlight em { position: absolute; right: 1px; bottom: 0; color: #9da1aa; font: 11px var(--font-pixel); font-style: normal; }

.content-split { display: grid; grid-template-columns: minmax(460px, 1.85fr) minmax(240px, .95fr); gap: 8px; margin-top: 8px; }
.news, .reviews { margin: 0 !important; }
.filter-note { padding: 8px 10px; border-bottom: 1px solid #34303c; background: #16111c; color: #c6c0cc; font: 11px var(--font-pixel); }
.empty { padding: 30px; color: #aaa; text-align: center; }
.news-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(110px, max-content); gap: 10px; min-height: 48px; padding: 6px 10px 5px; border-bottom: 1px solid #282a31; }
.news-item:hover { background: #111218; }
.news-thumb { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #494a52; color: rgba(255,255,255,.75); }
.news-item h3 { overflow: hidden; margin: 0 0 3px; color: var(--lavender); font: 400 12px var(--font-pixel); text-overflow: ellipsis; white-space: nowrap; }
.news-item h3 span { margin-right: 7px; padding: 2px 3px; background: #145d27; color: #8cff8d; font-size: 11px; text-transform: uppercase; }
.news-item p { overflow: hidden; margin: 0; color: #c1bec6; font: 11px var(--font-pixel); text-overflow: ellipsis; white-space: nowrap; }
.news-meta { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 7px; color: #969ba5; font: 11px var(--font-pixel); white-space: nowrap; }
.reviews ol, .leaderboard ol { padding: 0; margin: 0; list-style: none; counter-reset: rank; }
.reviews li { display: grid; grid-template-columns: 20px 28px minmax(0, 1fr) 32px; align-items: center; min-height: 46px; border-bottom: 1px solid #282a30; color: #aaa; font: 11px var(--font-pixel); }
.reviews li > img, .review-cover-fallback { width: 28px; height: 42px; object-fit: cover; background: #17111c; }
.review-cover-fallback { display: grid; place-content: center; color: #9b66bd; font-size: 9px; }
.rank { display: grid; place-items: center; align-self: stretch; min-width: 20px; background: #2e3339; color: #ddd; font: 9px var(--font-pixel); }
.reviews li:nth-child(-n+3) .rank { background: #2d8a21; color: #fff; }
.reviews li a { overflow: hidden; padding: 0 9px; text-overflow: ellipsis; white-space: nowrap; }
.reviews li b { margin-right: 4px; padding: 2px 4px; background: #408e35; color: #fff; font-size: 9px; text-align: center; }
.editorials { margin-top: 8px !important; }
.editorial-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.editorial-card { display: grid; grid-template-columns: 74px 1fr; gap: 8px; min-height: 91px; padding: 9px; border-right: 1px solid #31323a; color: #ddd; }
.editorial-card:hover { background: #14121a; text-decoration: none; }
.editorial-art { display: grid; place-items: center; font-size: 34px; border: 1px solid #42434b; }
.editorial-card:nth-child(1) .editorial-art { background-position: 0 66.666% !important; }
.editorial-card:nth-child(2) .editorial-art { background-position: 33.333% 66.666% !important; }
.editorial-card:nth-child(3) .editorial-art { background-position: 66.666% 66.666% !important; }
.editorial-card:nth-child(4) .editorial-art { background-position: 100% 66.666% !important; }
.editorial-card b { display: block; margin: 2px 0 6px; color: var(--lavender); font: 400 11px/1.3 var(--font-pixel); }
.editorial-card small { color: #bbb8c1; font: 9px/1.45 var(--font-pixel); }

.player-card { margin-bottom: 9px; }
.player-head { display: grid; grid-template-columns: 68px 1fr; gap: 10px; min-height: 105px; padding: 10px; }
.player-avatar-link:hover, .player-avatar-link:focus-visible { border-color: #a760d6; text-decoration: none; }
.avatar {
    --avatar-image: url("avatars/arcade-pilot.png");
    --avatar-tint: #8753d9;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 2px solid #34215a;
    background: #08070c;
}
.avatar::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--avatar-tint), var(--avatar-tint)), var(--avatar-image); background-position: center; background-size: cover; background-repeat: no-repeat; background-blend-mode: color, normal; }
.avatar.avatar-tint-original::before { background-image: var(--avatar-image); background-blend-mode: normal; }
.avatar span { display: none; }
.avatar-style-arcade-pilot { --avatar-image: url("avatars/arcade-pilot.png"); }
.avatar-style-8bit-knight { --avatar-image: url("avatars/8bit-knight.png"); }
.avatar-style-cyber-racer { --avatar-image: url("avatars/cyber-racer.png"); }
.avatar-style-dungeon-mage { --avatar-image: url("avatars/dungeon-mage.png"); }
.avatar-style-space-marine { --avatar-image: url("avatars/space-marine.png"); }
.avatar-style-shadow-ninja { --avatar-image: url("avatars/shadow-ninja.png"); }
.avatar-style-mech-engineer { --avatar-image: url("avatars/mech-engineer.png"); }
.avatar-style-monster-tamer { --avatar-image: url("avatars/monster-tamer.png"); }
.avatar-style-wasteland-rogue { --avatar-image: url("avatars/wasteland-rogue.png"); }
.avatar-style-synth-hacker { --avatar-image: url("avatars/synth-hacker.png"); }
.avatar-style-ashen-oathkeeper { --avatar-image: url("avatars/ashen-oathkeeper.png"); }
.avatar-style-ashen-ember-seer { --avatar-image: url("avatars/ashen-ember-seer.png"); }
.avatar-style-ashen-citadel-warden { --avatar-image: url("avatars/ashen-citadel-warden.png"); }
.avatar-style-ashen-cinder-smith { --avatar-image: url("avatars/ashen-cinder-smith.png"); }
.avatar-style-ashen-hollow-regent { --avatar-image: url("avatars/ashen-hollow-regent.png"); }
.avatar-tint-violet { --avatar-tint: #8753d9; }
.avatar-tint-cyan { --avatar-tint: #24b8cf; }
.avatar-tint-emerald { --avatar-tint: #37ad6b; }
.avatar-tint-amber { --avatar-tint: #d78b2d; }
.avatar-tint-crimson { --avatar-tint: #c34452; }
.avatar-tint-magenta { --avatar-tint: #c33da2; }
.avatar-tint-cobalt { --avatar-tint: #356bd6; }
.avatar-tint-mono { --avatar-tint: #8b8b92; }
.tint-swatch.avatar-tint-original { background: conic-gradient(#d78b2d, #8753d9, #24b8cf, #37ad6b, #d78b2d); }
.player-head strong { display: block; margin: 3px 0 1px; color: var(--lavender); font: 700 13px var(--font-pixel); text-transform: uppercase; }
.player-head strong a { color: inherit; }
.player-head span { color: #ddd; font-size: 11px; }
.xp { position: relative; height: 14px; margin: 8px 0; background: #303137; }
.xp i { display: block; width: 62%; height: 100%; background: linear-gradient(90deg, #6013a0, #9a54ec); }
.xp small { position: absolute; inset: 2px 5px auto auto; color: #ddd; font: 11px var(--font-pixel); }
.wallet { color: #ece8ee; font-size: 12px; }
.wallet b { font-family: var(--font-pixel); text-shadow: 1px 1px #000; }
.wallet .coin { color: #ffd224; }
.wallet .gem { color: #36d7ff; }
.wallet .rep { color: #d7b4ff; }
.account-section { display: grid; gap: 12px; padding: 16px 20px 20px; }
.account-section .account-form { padding: 0; }
.discord-link { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; }
.discord-avatar { width: 48px; height: 48px; border: 1px solid #3d3344; background: #100b13; object-fit: cover; }
.bar-with-text { display: flex; justify-content: space-between; }
.quest { padding: 6px 10px 1px; border-bottom: 1px solid #26282d; }
.quest-scroll { max-height: 215px; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #71458f #17131b; scrollbar-width: thin; }
.quest > div { display: flex; justify-content: space-between; gap: 6px; color: #ddd; font-size: 10px; }
.quest b { font-weight: 400; white-space: nowrap; }
.quest mark { background: none; color: var(--gold); font: 11px var(--font-pixel); }
.quest > i { display: block; height: 5px; margin: 5px 0; background: #25262a; }
.quest > i em { display: block; height: 100%; background: linear-gradient(90deg, #eb941a, #ffc120); }
.quest.complete > i em { background: linear-gradient(90deg, #168425, #43d150); }
.quest.complete b { color: #57dd55; }
.panel-link { display: block; padding: 14px 10px; color: var(--purple-bright); font: 9px var(--font-pixel); text-align: right; text-transform: uppercase; }
.release { display: grid; grid-template-columns: 35px 1fr; gap: 9px; min-height: 38px; padding: 4px 10px; color: #ddd; }
.release:hover { background: #15121b; text-decoration: none; }
.release time { display: grid; place-items: center; border: 1px solid #4d9f3e; background: #0c1c0c; color: #d8ffd3; font: 11px/1 var(--font-pixel); text-align: center; }
.release b, .release small { display: block; }
.release b { margin: 2px 0 4px; color: var(--lavender); font: 400 11px var(--font-pixel); }
.release small { color: #aaa; font: 11px var(--font-pixel); }
.topics > a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 9px; border-bottom: 1px solid #24262c; color: var(--lavender); font: 9px var(--font-pixel); }
.topics > a:hover { background: #15121a; text-decoration: none; }
.topics > a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topics > a small { color: #888d95; font: inherit; white-space: nowrap; }
.leaderboard li { display: grid; grid-template-columns: 20px 25px 1fr auto; align-items: center; min-height: 29px; font: 10px var(--font-pixel); }
.leaderboard li .rank { height: 20px; align-self: center; }
.leaderboard li:first-child .rank { background: #257c28; }
.mini-avatar { width: 22px; height: 22px; color: #f7a733; font: 15px var(--font-pixel); text-align: center; text-shadow: 1px 1px #000; }
.leaderboard small { padding-right: 9px; color: #c1bdc7; font: 9px var(--font-pixel); }

.flash { margin-bottom: 8px; padding: 9px 12px; border: 1px solid #725099; background: #241532; color: #f0e8f7; font: 10px var(--font-pixel); }
.flash.success { border-color: #398840; background: #102713; color: #9ff0a6; }
.flash.error { border-color: #a94444; background: #321313; color: #ffb0b0; }
.account-page { min-height: 420px; }
.account-page > .bar { font-size: 12px; }
.account-page .bar h1 { margin: 0; font: inherit; }
.narrow-page { max-width: 620px; margin: 35px auto; }
.account-copy, .account-switch { padding: 12px 18px; color: #c8c4cc; }
.account-form { display: grid; gap: 13px; padding: 20px; }
.account-form.two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.account-form label { display: grid; gap: 5px; color: #d2ccd9; font: 10px var(--font-pixel); text-transform: uppercase; }
.account-form label.wide { grid-column: 1 / -1; }
.account-form label small { color: #8f8995; font: 11px var(--font-pixel); text-transform: none; }
.account-form input, .account-form select, .account-form textarea { width: 100%; padding: 8px; border: 1px solid #68636e; background: #dedde0; color: #111; font: 12px var(--font-ui); }
.account-form textarea { resize: vertical; }
.account-form input:focus, .account-form select:focus, .account-form textarea:focus { outline: 2px solid var(--purple-bright); }
.bbcode-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; padding: 4px; border: 1px solid #4b4451; background: #100d13; }
.bbcode-button { min-width: 27px; padding: 5px 7px; border: 1px solid #554c5c; background: #211a27; color: #cfc6d5; font: 11px/1 var(--font-pixel); cursor: pointer; }
.bbcode-button:hover, .bbcode-button:focus-visible { border-color: var(--purple-bright); background: #382442; color: #fff; outline: none; }
.bbcode-b { font-weight: 700; }
.bbcode-i { font-style: italic; }
.bbcode-u { text-decoration: underline; }
.bbcode-s { text-decoration: line-through; }
.mention-autocomplete { position: absolute; z-index: 40; display: grid; max-height: 180px; border: 1px solid #654679; overflow-y: auto; background: #100b13; box-shadow: 0 7px 16px rgba(0,0,0,.45); }
.mention-autocomplete[hidden] { display: none; }
.mention-autocomplete button { padding: 7px 9px; border: 0; border-bottom: 1px solid #2e2334; background: transparent; color: #cbb9d4; font: 9px var(--font-pixel); cursor: pointer; text-align: left; }
.mention-autocomplete button.active { background: #3a1c47; color: #fff; }
.forum-roll { display: inline-block; padding: 0 5px; border: 1px solid #76439a; background: #37134f; color: #f2e5f7; font: 11px var(--font-pixel); }
.account-form .button { justify-self: start; cursor: pointer; }
.avatar-picker, .tint-picker { min-width: 0; padding: 0; border: 0; }
.account-form fieldset.wide { grid-column: 1 / -1; }
.avatar-picker legend, .tint-picker legend { margin-bottom: 8px; color: #d2ccd9; font: 10px var(--font-pixel); text-transform: uppercase; }
.avatar-grid { display: grid; grid-template-columns: repeat(5, minmax(78px, 1fr)); gap: 8px; }
.account-form .avatar-option, .account-form .tint-option { position: relative; display: flex; align-items: center; cursor: pointer; text-transform: none; }
.account-form .avatar-option { gap: 5px; padding: 6px; border: 1px solid #35313b; background: #0a0a0d; }
.avatar-option input, .tint-option input { position: absolute; width: 1px !important; height: 1px; opacity: 0; pointer-events: none; }
.avatar-preview { width: 100%; aspect-ratio: 1; }
.avatar-option strong, .tint-option strong { color: #aaa4af; font: 11px/1.25 var(--font-pixel); text-align: center; }
.avatar-option input:checked + .avatar-preview { border-color: #d09bff; box-shadow: 0 0 0 2px #7027aa, 0 0 10px rgba(168,92,255,.55); }
.avatar-option:has(input:checked) { border-color: #71359d; background: #191020; }
.avatar-option input:focus-visible + .avatar-preview, .tint-option input:focus-visible + .tint-swatch { outline: 2px solid #fff; outline-offset: 2px; }
.tint-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.account-form .tint-option { flex-direction: column; gap: 4px; min-width: 54px; }
.tint-swatch { display: block; width: 34px; height: 22px; border: 2px solid #242129; background: var(--avatar-tint); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.tint-option input:checked + .tint-swatch { border-color: #fff; box-shadow: 0 0 0 2px #7027aa; }
.tint-picker > small { display: block; margin-top: 8px; color: #8f8995; font: 11px var(--font-pixel); }
.profile-summary { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 20px; border-bottom: 1px solid #33313a; }
.profile-avatar { min-height: 90px; }
.profile-summary h2 { margin: 5px 0; color: var(--lavender); font: 18px var(--font-pixel); text-transform: uppercase; }
.profile-summary p { color: #aaa4af; }
.profile-summary .xp { max-width: 440px; }
.account-tabs { display: flex; flex-wrap: wrap; gap: 1px; padding: 8px; border-bottom: 1px solid #302c35; background: #08080a; }
.account-tabs a { padding: 7px 10px; border: 1px solid #443451; background: #17111d; font: 9px var(--font-pixel); text-transform: uppercase; }
.sub-bar { margin: 0; padding: 9px 20px; border-bottom: 1px solid #34303a; color: #ded8e4; font: 11px var(--font-pixel); text-transform: uppercase; }
.game-shelf-edit-row { display: grid; grid-template-columns: minmax(190px, 1fr) minmax(480px, 2fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid #2e2d34; }
.game-shelf-title { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: center; color: var(--lavender); font-weight: 700; }
.game-shelf-title:hover { text-decoration: none; }
.game-shelf-title img, .game-shelf-title .game-shelf-cover-fallback { width: 48px; height: 72px; object-fit: cover; border: 1px solid #594861; box-shadow: 2px 2px 0 #070609; }
.game-shelf-title .game-shelf-cover-fallback { font-size: 11px; }
.game-shelf-title strong { overflow-wrap: anywhere; }
.game-shelf-edit-fields { display: grid; grid-template-columns: minmax(105px, 1.2fr) repeat(3, minmax(72px, .7fr)); gap: 8px; align-items: end; }
.game-shelf-edit-row label, .game-shelf-add label { position: relative; display: grid; gap: 4px; color: #98919d; font: 10px var(--font-pixel); text-transform: uppercase; }
.game-shelf-edit-row input, .game-shelf-edit-row select, .game-shelf-add select { width: 100%; min-width: 0; padding: 6px; border: 1px solid #68636e; background: #dedde0; color: #111; font: 11px var(--font-ui); }
.game-shelf-edit-row label span { position: absolute; right: 6px; bottom: 7px; color: #555; font: 9px var(--font-ui); }
.game-shelf-edit-row label:has(span) input { padding-right: 28px; }
.danger-link { color: #e78d8d; }
.game-shelf-add { display: grid; grid-template-columns: minmax(220px, 2fr) minmax(140px, 1fr) auto; gap: 10px; align-items: end; padding: 15px 14px; background: #100c13; }
.game-shelf-add .button { cursor: pointer; }
.game-shelf-limit { margin: 0; padding: 13px 14px; color: #aaa3ae; }
.game-shelf-save-all { padding: 13px 14px; border-bottom: 1px solid #2e2d34; background: #100c13; }
.game-shelf-save-all .button { cursor: pointer; }
.message, .forum-list article { position: relative; padding: 14px 18px; border-bottom: 1px solid #2e2d34; }
.message.unread, .alert-row.unread { background: #191020; box-shadow: inset 3px 0 #9e4ee2; }
.message h2, .forum-list h2 { margin: 0 0 5px; color: var(--lavender); font: 12px var(--font-pixel); }
.message time, .forum-list small { color: #85808c; font: 11px var(--font-pixel); }
.message p, .forum-list p { color: #ccc8d0; line-height: 1.55; }
.small-button { padding: 4px 7px; border: 1px solid #76439a; background: #37134f; color: #fff; font: 11px var(--font-pixel); cursor: pointer; }
.dm-layout { display: grid; grid-template-columns: minmax(220px, 34%) minmax(0, 1fr); min-height: 520px; }
.dm-thread-list { border-right: 1px solid #37313d; background: #09080b; }
.dm-thread-row { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 9px; align-items: start; min-height: 76px; padding: 11px 9px; border-bottom: 1px solid #2b2730; color: inherit; }
.dm-thread-row:hover, .dm-thread-row.active { background: #1b1221; text-decoration: none; }
.dm-thread-row.active { box-shadow: inset 3px 0 #a35ce4; }
.dm-thread-row.unread { background-color: #17101c; }
.dm-thread-row .mini-avatar, .dm-conversation-head .mini-avatar, .dm-message .mini-avatar { width: 34px; height: 34px; border: 1px solid #563477; background-color: #09070c; background-image: linear-gradient(var(--avatar-tint), var(--avatar-tint)), var(--avatar-image); background-position: center; background-size: cover; background-blend-mode: color, normal; }
.dm-thread-row .mini-avatar.avatar-tint-original, .dm-conversation-head .mini-avatar.avatar-tint-original, .dm-message .mini-avatar.avatar-tint-original { background-image: var(--avatar-image); background-blend-mode: normal; }
.dm-thread-row span:nth-child(2) { min-width: 0; }
.dm-thread-row strong, .dm-thread-row b, .dm-thread-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-thread-row strong { margin-bottom: 3px; color: #d5a4ff; font: 9px var(--font-pixel); }
.dm-thread-row b { color: #d5d0d9; font-size: 11px; }
.dm-thread-row small { margin-top: 5px; color: #88828d; font-size: 9px; }
.dm-thread-row time { color: #7f7885; font: 10px var(--font-pixel); }
.dm-thread-row em { position: absolute; right: 8px; bottom: 8px; min-width: 18px; padding: 3px 5px; border-radius: 10px; background: #8537c0; color: #fff; font: normal 11px var(--font-pixel); text-align: center; }
.dm-conversation { display: flex; flex-direction: column; min-width: 0; background: #0d0b0f; }
.dm-conversation-head { display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 10px 15px; border-bottom: 1px solid #38313e; background: #151019; }
.dm-conversation-head h2 { margin: 3px 0 0; color: var(--lavender); font: 12px var(--font-pixel); }
.dm-conversation-head small { color: #938c99; font-size: 9px; }
.dm-message-list { flex: 1; padding: 13px 16px; }
.dm-message { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 9px; max-width: 88%; margin-bottom: 15px; }
.dm-message.mine { grid-template-columns: minmax(0, 1fr) 34px; margin-left: auto; }
.dm-message.mine .mini-avatar { grid-column: 2; grid-row: 1; }
.dm-message > div:last-child { min-width: 0; }
.dm-message header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.dm-message header strong { color: #cfa0f5; font: 9px var(--font-pixel); }
.dm-message header time { color: #77717d; font: 10px var(--font-pixel); }
.dm-message p { margin: 0; padding: 9px 11px; border: 1px solid #3b3440; background: #17141a; color: #d0ccd3; line-height: 1.55; overflow-wrap: anywhere; }
.dm-message.mine p { border-color: #553468; background: #25142d; }
.dm-reply { display: grid; grid-template-columns: 1fr auto; gap: 7px; padding: 12px 15px; border-top: 1px solid #3b3440; background: #121015; }
.dm-reply label { grid-column: 1 / -1; color: #aaa2af; font: 11px var(--font-pixel); text-transform: uppercase; }
.dm-reply textarea { min-width: 0; padding: 8px; border: 1px solid #62596a; resize: vertical; }
.dm-reply .button { align-self: end; cursor: pointer; }
.dm-welcome { margin: auto; max-width: 410px; padding: 40px 20px; color: #918b96; text-align: center; }
.dm-welcome > span { display: block; color: #9854d1; font-size: 42px; }
.dm-welcome h2, .dm-compose h2 { color: var(--lavender); font: 14px var(--font-pixel); }
.dm-compose { max-width: 670px; margin: 18px auto; }
.dm-form-actions { display: flex; align-items: center; gap: 14px; }
.system-messages { border-top: 1px solid #403747; background: #09080b; }
.system-messages summary { padding: 10px 15px; color: #aaa1ad; font: 11px var(--font-pixel); cursor: pointer; text-transform: uppercase; }
.alert-row { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; margin: 0; padding: 11px 15px; border-bottom: 1px solid #2c2931; color: #ccc8d0; }
.alert-row > span { color: var(--gold); }
.alert-row time { color: #827d88; font: 11px var(--font-pixel); }
.big-quest { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 15px 18px; border-bottom: 1px solid #302e35; }
.big-quest h2 { margin: 0 0 5px; color: #ddd8e2; font: 12px var(--font-pixel); }
.big-quest p { margin: 0; color: var(--gold); font: 11px var(--font-pixel); }
.big-quest > strong { color: #d2cbd7; font: 12px var(--font-pixel); }
.big-quest > i { grid-column: 1 / -1; display: block; height: 8px; background: #27252b; }
.big-quest > i em { display: block; height: 100%; background: #d89922; }
.big-quest.complete > i em { background: #41b94a; }
.big-quest.complete > strong { color: #6be276; }
.forum-form { border-bottom: 1px solid #3a3440; }
.forum-list h2 a { color: inherit; }
.forum-post-head { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.forum-post-head .mini-avatar { flex: 0 0 auto; width: 42px; height: 42px; border-width: 2px; }
.forum-post-head small strong { color: var(--lavender); }
.forum-post-author { display: grid; gap: 5px; min-width: 0; }
.forum-rank { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #8d8792; font: 10px var(--font-pixel); text-transform: uppercase; }
.forum-rank b { color: #d8c4e6; font-weight: 400; }
.forum-rank i { color: var(--gold); font-style: normal; letter-spacing: 1px; text-shadow: 0 0 5px rgba(216, 153, 34, .42); }
.forum-rank em { color: #77717c; font-style: normal; }
.forum-rank .author-reputation, .profile-reputation-score { color: #68d978; }
.forum-rank .author-reputation.negative, .profile-reputation-score.negative { color: #f06f78; }
.profile-forum-rank { margin: 5px 0 3px; }
.forum-post-body { color: #ccc8d0; line-height: 1.55; overflow-wrap: anywhere; }
.forum-mention { padding: 1px 3px; border-radius: 2px; background: #281334; color: #d8a8ef; font-weight: 700; }
.forum-post-body blockquote { margin: 10px 0; padding: 8px 12px; border-left: 3px solid #7845a0; background: #151019; }
.forum-post-body code, .forum-signature code { padding: 2px 4px; background: #09090b; color: #e6d4f6; }
.forum-signature { margin-top: 14px; border-top: 1px dashed #4b4650; padding-top: 8px; color: #8f8995; font-size: 10px; }
.forum-post-deleted { padding: 13px; border: 1px dashed #4a444d; background: #0c0a0d; color: #77717a; font-style: italic; }
.forum-post-owner-actions { display: flex; justify-content: flex-end; gap: 6px; align-items: center; margin: 12px 0 0; }
.forum-post-owner-actions .small-button { border-color: #794248; background: #38191d; color: #efb7bb; cursor: pointer; }
.forum-post-owner-actions .forum-edit { border-color: #76439a; background: #37134f; color: #fff; text-decoration: none; }
.forum-post-reputation { display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin: 13px -12px -12px; padding: 7px 10px; border-top: 1px solid #29242d; background: #0a080b; color: #77717d; font: 10px var(--font-pixel); text-transform: uppercase; }
.forum-post-reputation span b { color: #68d978; }
.forum-post-reputation form { display: flex; gap: 4px; margin: 0; }
.forum-post-reputation .small-button { cursor: pointer; }
.forum-post-reputation .small-button.positive { border-color: #477c4d; background: linear-gradient(#32613a, #19351e); color: #d8f9dd; }
.forum-post-reputation .small-button.negative { border-color: #87474d; background: linear-gradient(#682f37, #39191d); color: #ffe0e2; }
.forum-poll-tools { display: grid; gap: 8px; }
.forum-poll-builder { display: grid; gap: 8px; padding: 10px; border: 1px solid #3d3344; background: #120e16; }
.forum-poll-builder[hidden] { display: none; }
.forum-poll-option-fields { display: grid; gap: 6px; }
.forum-poll-max input { width: 4.5em; }
.forum-poll-locked { margin: 8px 0 0; color: #c9a0d8; }
.forum-poll-close { margin: 8px 0 0; }
.forum-link-card { margin: 12px 0 4px; }
.forum-link-card a { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; padding: 8px; border: 1px solid #3d3344; background: #120e16; color: inherit; text-decoration: none; }
.forum-link-card a:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.forum-link-card img { width: 88px; height: 88px; object-fit: cover; background: #0a080b; }
.forum-link-card span { display: grid; align-content: start; gap: 4px; min-width: 0; }
.forum-link-card small { color: #c9a0d8; font: 10px var(--font-pixel); text-transform: uppercase; }
.forum-link-card strong { color: #f2e5f7; }
.forum-link-card em { color: #8c8490; font-style: normal; }
.forum-poll.win95-window { display: grid; gap: 2px; margin: 14px 0 4px; padding: 3px; border: 2px solid; border-color: #fff #000 #000 #fff; background: #c0c0c0; box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080; color: #000; color-scheme: light; image-rendering: auto; }
.forum-poll-titlebar { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 18px; padding: 2px 3px 2px 5px; background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font: 700 11px Tahoma, "MS Sans Serif", Verdana, sans-serif; }
.forum-poll-caption { display: flex; flex: 0 0 auto; gap: 2px; }
.forum-poll-caption-min, .forum-poll-caption-max, .forum-poll-caption-close { position: relative; display: block; width: 16px; height: 14px; border: 1px solid; border-color: #fff #000 #000 #fff; background: #c0c0c0; box-shadow: inset 1px 1px 0 #dfdfdf; }
.forum-poll-caption-min::after { content: ""; position: absolute; right: 3px; bottom: 2px; width: 6px; height: 2px; background: #000; }
.forum-poll-caption-max::after { content: ""; position: absolute; inset: 2px 3px 3px 3px; border: 1px solid #000; border-top-width: 2px; }
.forum-poll-caption-close::before, .forum-poll-caption-close::after { content: ""; position: absolute; left: 3px; top: 6px; width: 8px; height: 2px; background: #000; }
.forum-poll-caption-close::before { transform: rotate(45deg); }
.forum-poll-caption-close::after { transform: rotate(-45deg); }
.forum-poll-client { display: grid; gap: 8px; padding: 10px 12px 12px; }
.forum-poll-form { display: grid; gap: 8px; }
.forum-poll.win95-window h3 { margin: 0; color: #000; font: 700 12px Tahoma, "MS Sans Serif", Verdana, sans-serif; }
.forum-poll-meta, .forum-poll-login { margin: 0; color: #000; }
.forum-poll-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 8px; align-items: center; color: #000; }
.forum-poll-option span { min-width: 0; }
.forum-poll-option b { color: #000; font: 11px Tahoma, "MS Sans Serif", Verdana, sans-serif; }
.forum-poll-option input { appearance: none; -webkit-appearance: none; width: 13px; height: 13px; margin: 0; flex: 0 0 auto; background: #fff; border: 1px solid #000; box-shadow: none; }
.forum-poll-option input[type="radio"] { border-radius: 50%; }
.forum-poll-option input[type="radio"]:checked { background: #fff radial-gradient(circle at center, #000 0 3px, #fff 3.5px 100%); }
.forum-poll-option input[type="checkbox"]:checked { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M2 6l3 3 5-6'/%3E%3C/svg%3E") center / 10px no-repeat; }
.forum-poll-bar { display: block; grid-column: 1 / -1; height: 18px; border: 2px solid; border-color: #808080 #fff #fff #808080; background: #fff; box-shadow: inset 1px 1px 0 #000; }
.forum-poll-bar em { display: block; height: 100%; width: var(--poll-pct, 0%); background: repeating-linear-gradient(90deg, #000080 0 8px, #fff 8px 10px); }
.win95-ok { min-width: 75px; min-height: 24px; margin-top: 14px; justify-self: start; padding: 4px 18px; border: 2px solid; border-color: #fff #000 #000 #fff; background: #c0c0c0; color: #000; font: 11px Tahoma, "MS Sans Serif", Verdana, sans-serif; box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080; cursor: pointer; }
.win95-ok:active { border-color: #000 #fff #fff #000; }
.forum-poll-haven { display: grid; gap: 8px; margin: 14px 0 4px; padding: 12px; border: 1px solid #3d3344; background: #120e16; }
.forum-poll-haven .forum-poll-client { display: grid; gap: 8px; padding: 0; }
.forum-poll-haven h3 { margin: 0; color: #f2e5f7; font: 13px var(--font-pixel); }
.forum-poll-haven .forum-poll-meta,
.forum-poll-haven .forum-poll-login { margin: 0; color: #8c8490; }
.forum-poll-haven .forum-poll-option { color: #d5ccd8; }
.forum-poll-haven .forum-poll-option b { color: #c9a0d8; font: 10px var(--font-pixel); }
.forum-poll-haven .forum-poll-bar { height: 10px; border: 1px solid #3d3344; background: #0a080b; box-shadow: none; }
.forum-poll-haven .forum-poll-bar em { background: linear-gradient(#8a56b0, #5c3478); }
.forum-poll-ashen { display: grid; margin: 14px 0 4px; border: 1px solid #8a5a28; background: linear-gradient(#1c1208, #0c0806); box-shadow: inset 0 0 0 1px #3a2412, 0 0 16px rgba(255,140,40,.12); }
.forum-poll-ashen .forum-poll-titlebar { display: flex; align-items: center; min-height: 24px; padding: 5px 10px; background: linear-gradient(#7a4214, #3a1c08); color: #ffd27a; font: 11px var(--font-pixel); letter-spacing: .4px; text-transform: uppercase; }
.forum-poll-ashen .forum-poll-client { display: grid; gap: 8px; padding: 12px; }
.forum-poll-ashen h3 { margin: 0; color: #ffe3b0; font: 13px var(--font-pixel); }
.forum-poll-ashen .forum-poll-meta,
.forum-poll-ashen .forum-poll-login { margin: 0; color: #b08958; }
.forum-poll-ashen .forum-poll-option { color: #f0d2a4; }
.forum-poll-ashen .forum-poll-option b { color: #ffb347; font: 10px var(--font-pixel); }
.forum-poll-ashen .forum-poll-bar { height: 10px; border: 1px solid #6a4220; background: #140c08; box-shadow: none; }
.forum-poll-ashen .forum-poll-bar em { background: linear-gradient(#ffb347, #c45a12); }
.forum-post-reputation.negative span b { color: #f06f78; }
.forum-post-reputation .small-button:disabled { border-color: #414642; background: #242725; color: #777c78; cursor: default; }
.forum-board-list { border-bottom: 1px solid #342d39; }
.forum-board { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(180px, .72fr) auto; align-items: center; gap: 16px; padding: 10px 16px; border-bottom: 1px solid #28232d; background: #0c0a0e; }
.forum-board:hover, .forum-board.active { background: #18101d; }
.forum-board-main { min-width: 0; padding-left: calc(var(--forum-depth) * 22px); }
.forum-board strong { display: block; color: var(--lavender); font: 10px var(--font-pixel); }
.forum-board small { display: block; margin-top: 4px; color: #8e8992; }
.forum-board-latest { min-width: 0; padding-left: 12px; border-left: 1px solid #2d2632; }
.forum-board-latest > small { margin: 0 0 4px; color: #716978; font: 10px var(--font-pixel); text-transform: uppercase; }
.forum-board-latest strong, .forum-board-latest em, .forum-board-latest time { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.forum-board-latest strong { font-size: 11px; }
.forum-board-latest time { margin-top: 4px; color: #746d78; font-size: 11px; }
.forum-board-latest.empty-latest em { color: #625d65; font-size: 9px; font-style: normal; }
.forum-board-stats { align-self: center; color: #918b97; font: 11px/1.5 var(--font-pixel); text-align: right; white-space: nowrap; }
.forum-topic-table { overflow-x: auto; }
.forum-topic-row { display: grid; grid-template-columns: minmax(220px, 1fr) 58px 62px minmax(120px, .32fr) minmax(120px, .32fr); align-items: center; min-width: 720px; border-bottom: 1px solid #2e2933; }
.forum-topic-row > * { padding: 10px; }
.forum-topic-row > strong { color: #c3bdc8; font: 10px var(--font-pixel); text-align: center; }
.forum-topic-row h2 { margin: 0; font: 10px var(--font-pixel); }
.forum-topic-row h2 a { color: var(--lavender); }
.forum-topic-row p { margin: 5px 0 0; color: #96909b; font-size: 10px; line-height: 1.35; }
.forum-topic-row small { color: #827c88; font-size: 9px; line-height: 1.5; }
.forum-topic-row small b { color: #aaa2b0; font-weight: 400; }
.forum-topic-heading { background: #17121b; color: #aaa2b0; font: 11px var(--font-pixel); text-transform: uppercase; }
.forum-topic-heading > span:not(:first-child) { text-align: center; }
.forum-actions { display: flex; justify-content: flex-end; padding: 9px 12px; border-bottom: 1px solid #302936; background: #0b090d; }
.thread-composer-toggle { display: none; cursor: pointer; }
.js .thread-composer-toggle { display: inline-flex; }
.js .thread-composer { display: none; }
.js .thread-composer.open { display: grid; }
.thread-composer-buttons { display: flex; align-items: center; gap: 8px; }
.forum-upload input[type="file"] { padding: 6px; color: #28232d; }
.forum-upload small { display: block; margin-top: 4px; }
.forum-upload small.upload-error { color: #ff9b9b; }
.signature-image-library { width: 100%; max-width: 100%; min-width: 0; padding: 0; border: 0; overflow: hidden; }
.signature-image-library legend { color: #d2ccd9; font: 10px var(--font-pixel); text-transform: uppercase; }
.signature-image-library > p { margin: 5px 0 9px; color: #8f8995; font-size: 10px; }
.signature-image-library > .signature-image-status:empty { display: none; }
.signature-image-library > .signature-image-status.upload-error { color: #ff9b9b; }
.signature-image-grid { display: grid; width: 100%; max-width: 100%; min-width: 0; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 8px; max-height: 360px; overflow-x: hidden; overflow-y: auto; }
.signature-image-grid > .empty { grid-column: 1 / -1; margin: 0; padding: 15px; border: 1px dashed #3f3945; }
.signature-image-choice { position: relative; width: 100%; max-width: 100%; min-width: 0; border: 1px solid #4a4051; overflow: hidden; background: #0b090d; color: #bbb4c0; }
.signature-image-choice:hover, .signature-image-choice:focus-within { border-color: #b26be0; background: #17101c; }
.signature-image-insert { display: grid; width: 100%; min-width: 0; grid-template-rows: 90px auto; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.signature-image-choice img { display: block; width: 100%; max-width: 100%; height: 90px; object-fit: contain; background: #050406; }
.signature-image-choice span { min-width: 0; padding: 6px; }
.signature-image-choice strong, .signature-image-choice small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.signature-image-choice strong { color: #d7acdf; font: 11px var(--font-pixel); }
.signature-image-choice small { margin-top: 4px; color: #837d88; font-size: 11px; }
.signature-image-delete { position: absolute; top: 4px; right: 4px; padding: 4px 5px; border: 1px solid #9e4c4c; background: rgba(48, 8, 8, .92); color: #ffb1b1; font: 10px var(--font-pixel); cursor: pointer; text-transform: uppercase; }
.signature-image-delete:hover, .signature-image-delete:focus-visible { border-color: #ff9292; background: #6b1515; color: #fff; }
.signature-image-delete:disabled { opacity: .55; cursor: wait; }
.forum-attachment-image { display: block; max-width: min(100%, 720px); max-height: 640px; margin: 10px 0; border: 1px solid #51465a; object-fit: contain; }
.forum-emote { display: inline-block; width: 24px; height: 24px; margin: 0 1px; vertical-align: -6px; border: 0; image-rendering: pixelated; }
.forum-emote-picker { display: grid; grid-template-columns: repeat(8, 30px); gap: 3px; width: max-content; max-width: 100%; margin: 4px 0 6px; padding: 6px; border: 1px solid #4b4451; background: #100d13; }
.forum-emote-picker[hidden] { display: none; }
.forum-emote-pick { width: 30px; height: 30px; padding: 2px; border: 1px solid #554c5c; background: #211a27; cursor: pointer; }
.forum-emote-pick:hover, .forum-emote-pick:focus-visible { border-color: var(--purple-bright); background: #382442; outline: none; }
.forum-emote-pick img { display: block; width: 24px; height: 24px; image-rendering: pixelated; }
.forum-signature .forum-attachment-image { width: auto; max-width: min(100%, 560px); height: auto; max-height: 220px; padding: 0; border: none !important; outline: none; background: transparent; box-shadow: none; object-fit: contain; }
.forum-attachment-file { display: inline-block; margin: 5px 0; padding: 5px 7px; border: 1px solid #503863; background: #17101c; }
.guest-player p { margin: 7px 0 0; color: #99949e; font-size: 9px; }
.guest-actions { display: flex; align-items: center; gap: 12px; padding: 0 10px 12px; }

.cms-nav { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 8px; padding: 5px; border: 1px solid #4a315e; background: #08060b; box-shadow: inset 0 0 0 1px #17111c; }
.cms-nav a { padding: 7px 9px; border: 1px outset #66427e; background: linear-gradient(#442159, #25112f); color: #eee5f7; font: 11px var(--font-pixel); text-transform: uppercase; }
.cms-nav a:hover { border-style: inset; background: #351745; text-decoration: none; }
.cms-page { min-height: 430px; }
.cms-page > .bar { font-size: 11px; }
.cms-page .bar h1 { margin: 0; font: inherit; }
.cms-intro { margin: 0; padding: 13px 16px; border-bottom: 1px solid #312a37; color: #bdb7c2; line-height: 1.55; }
.cms-intro strong { color: var(--lavender); }
.cms-dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 7px; padding: 12px; }
.cms-dashboard a { display: grid; min-height: 72px; place-content: center; border: 1px solid #493456; background: radial-gradient(circle at 50% 0, #2e1739, #0b090d 70%); text-align: center; }
.cms-dashboard a:hover { border-color: #a45adb; text-decoration: none; }
.cms-dashboard strong { color: #e8b8ff; font: 20px var(--font-pixel); text-shadow: 2px 2px #3f1857; }
.cms-dashboard span { margin-top: 7px; color: #aaa3ae; font: 11px var(--font-pixel); text-transform: uppercase; }
.cms-type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; padding: 1px; background: #28232d; }
.cms-type-grid a { display: grid; gap: 6px; min-height: 62px; padding: 11px; background: #0d0b10; }
.cms-type-grid a:hover { background: #18101e; text-decoration: none; }
.cms-type-grid b { color: var(--lavender); font: 9px var(--font-pixel); }
.cms-type-grid small { color: #85808a; font: 11px var(--font-pixel); text-transform: capitalize; }
.cms-type-tabs { display: flex; flex-wrap: wrap; gap: 1px; padding: 7px; border-bottom: 1px solid #332a3a; background: #0a080c; }
.cms-type-tabs a { padding: 6px 8px; border: 1px solid #3c3044; background: #17121b; color: #a99fb0; font: 11px var(--font-pixel); }
.cms-type-tabs a:hover, .cms-type-tabs a.active { border-color: #8751a7; background: #3c1557; color: #fff; text-decoration: none; }
.cms-table-wrap { max-width: 100%; overflow-x: auto; }
.cms-table { width: 100%; border-collapse: collapse; color: #bbb6c0; }
.cms-table th { padding: 8px 10px; border: 1px solid #3a3340; background: #18141c; color: #8f8995; font: 11px var(--font-pixel); text-align: left; text-transform: uppercase; }
.cms-table td { padding: 9px 10px; border: 1px solid #2b2730; vertical-align: top; }
.cms-table tbody tr:nth-child(even) { background: #0b090d; }
.cms-table tbody tr:hover { background: #17101c; }
.cms-table td strong, .cms-table td small { display: block; }
.cms-table td strong { color: #ddd6e1; }
.cms-table td small { margin-top: 3px; color: #77717c; font-size: 9px; }
.status { display: inline-block; padding: 4px 5px; border: 1px solid #555; font: 10px var(--font-pixel); text-transform: uppercase; }
.status-draft { border-color: #8b7932; background: #2d2710; color: #f2d65f; }
.status-published { border-color: #397c40; background: #102b15; color: #8ee897; }
.status-archived { border-color: #59545d; background: #242127; color: #aaa4ad; }
.cms-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; padding: 15px; }
.cms-form label, .cms-form fieldset { min-width: 0; }
.cms-form label { display: grid; gap: 5px; color: #c9c2ce; font: 11px var(--font-pixel); text-transform: uppercase; }
.cms-form label.wide, .cms-form fieldset.wide { grid-column: 1 / -1; }
.cms-form input, .cms-form select, .cms-form textarea { width: 100%; padding: 8px; border: 2px inset #88818c; border-radius: 0; background: #d8d5dc; color: #111; font: 12px var(--font-ui); }
.cms-form textarea { resize: vertical; }
.cms-form input:focus, .cms-form select:focus, .cms-form textarea:focus { outline: 2px solid #a756df; outline-offset: 1px; }
.cms-form fieldset { padding: 10px; border: 1px solid #4b3c54; }
.cms-form legend { padding: 0 6px; color: #bbaac6; font: 11px var(--font-pixel); text-transform: uppercase; }
.cms-form .button { justify-self: start; cursor: pointer; }
.cms-check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 7px; }
.cms-check-grid label, .cms-inline { display: flex !important; align-items: center; gap: 6px; text-transform: none !important; }
.cms-check-grid input, .cms-inline input { width: auto; }
.cms-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .7fr); gap: 8px; }
.cms-split > .panel { margin: 0; }
.cms-mini-form { display: flex; flex-wrap: wrap; align-items: end; gap: 7px; padding: 10px 14px; border-bottom: 1px solid #312b36; }
.cms-mini-form label { display: grid; gap: 4px; color: #aaa3ae; font: 11px var(--font-pixel); text-transform: uppercase; }
.cms-mini-form input, .cms-mini-form select { min-height: 29px; padding: 5px 7px; border: 1px inset #817a86; background: #d7d4da; color: #111; }
.cms-chip-list { display: flex; flex-wrap: wrap; gap: 5px; padding: 12px; }
.cms-chip-list a { padding: 5px 7px; border: 1px solid #483552; background: #161019; font: 11px var(--font-pixel); }
.cms-revisions { margin: 0 15px 15px; padding: 10px 14px; border: 1px dashed #4b4350; background: #09080a; color: #8e8992; }
.cms-revisions h2 { margin: 0 0 8px; color: #bbb3c0; font: 9px var(--font-pixel); text-transform: uppercase; }
.cms-revisions ul { margin: 0; padding-left: 19px; }
.cms-danger { margin: 0 15px 15px; padding: 11px; border: 1px solid #6f3434; background: #241010; }
.cms-danger button { border-color: #913b3b; background: #541919; }
.cms-user-list { display: grid; gap: 1px; background: #2d2831; }
.cms-user-list form { display: grid; grid-template-columns: minmax(130px, 1fr) repeat(5, minmax(90px, 1fr)) auto; align-items: center; gap: 8px; padding: 10px; background: #0d0b0f; }
.cms-user-list form > div strong, .cms-user-list form > div small { display: block; }
.cms-user-list form > div strong { color: var(--lavender); font: 9px var(--font-pixel); }
.cms-user-list form > div small { margin-top: 4px; color: #77717c; overflow-wrap: anywhere; }
.cms-user-list label { display: flex; gap: 5px; align-items: flex-start; color: #aaa3ae; font-size: 9px; }

.content-breadcrumb { padding: 7px 11px; border-bottom: 1px solid #3a3240; background: #0b090d; color: #77717d; font: 11px var(--font-pixel); text-transform: uppercase; }
.forum-breadcrumb { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.forum-breadcrumb a { color: #b88bdd; }
.forum-breadcrumb [aria-current="page"] { color: #c8c1cd; }
.breadcrumb-separator { color: #524a58; }
.content-hero-image { display: block; width: 100%; height: 330px; object-fit: cover; }
.content-header { position: relative; padding: 25px 28px 19px; border-bottom: 1px solid #3d3542; background: radial-gradient(circle at 85% 20%, rgba(110,42,150,.25), transparent 36%), linear-gradient(#17121b, #0c0a0e); }
.content-kicker { display: inline-block; margin-bottom: 9px; padding: 4px 6px; border: 1px solid #8554a2; background: #351448; color: #eacbff; font: 10px var(--font-pixel); text-transform: uppercase; }
.content-header h1 { max-width: 760px; margin: 0; color: #f1edf4; font: 25px/1.2 var(--font-pixel); letter-spacing: -1px; text-shadow: 2px 2px #3b174f; }
.content-subtitle { margin: 8px 0 0; color: #aaa2ae; font: 12px var(--font-pixel); }
.content-byline { margin: 13px 0 0; color: #817a86; font: 11px var(--font-pixel); }
.content-score { position: absolute; right: 25px; top: 24px; display: grid; width: 70px; height: 70px; place-content: center; border: 3px double #d19c35; border-radius: 50%; background: #211609; color: #ffd86b; font: 22px var(--font-pixel); text-align: center; }
.content-score small { font-size: 10px; }
.content-standfirst { margin: 0; padding: 17px 28px; border-bottom: 1px dashed #4d4551; background: #151117; color: #ddd6e0; font: 700 13px/1.6 var(--font-editorial); }
.content-body { min-height: 180px; padding: 25px 28px; color: #cec9d1; font: 400 13px/1.75 var(--font-editorial); overflow-wrap: anywhere; }
.related-game { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin: 0 28px 22px; padding: 12px; border: 1px solid #564063; background: linear-gradient(90deg, #25132d, #0d0a10); }
.related-game > span { padding: 7px; border: 1px solid #8655a1; color: #d3a8ef; font: 10px var(--font-pixel); text-transform: uppercase; }
.related-game strong, .related-game small { display: block; }
.related-game strong { color: var(--lavender); font: 10px var(--font-pixel); }
.related-game small { margin-top: 4px; color: #827b87; }
.content-source { padding: 0 28px 18px; }
.content-footer { display: flex; justify-content: space-between; gap: 12px; padding: 11px 15px; border-top: 1px solid #3b343f; background: #0a080b; color: #87808b; font: 11px var(--font-pixel); }
.content-type-nav { display: flex; flex-wrap: wrap; gap: 1px; padding: 6px; border-bottom: 1px solid #392e40; background: #09070a; }
.content-type-nav a { padding: 6px 8px; border: 1px solid #423149; background: #17111a; color: #a89dac; font: 10px var(--font-pixel); }
.content-type-nav a.active, .content-type-nav a:hover { border-color: #9251bb; background: #41165c; color: #fff; text-decoration: none; }
.content-index-list > article { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 13px; align-items: center; min-height: 82px; padding: 10px 13px; border-bottom: 1px solid #2d2931; }
.content-index-list > article:hover { background: #151019; }
.content-index-icon { display: grid; width: 60px; height: 60px; place-content: center; border: 1px solid #493b51; background: #18111c; color: #d2acd9; font: 16px var(--font-pixel); }
.content-index-image { width: 60px; height: 60px; border: 1px solid #493b51; object-fit: cover; }
.content-index-list article span { color: #817a87; font: 10px var(--font-pixel); text-transform: uppercase; }
.content-index-list h2 { margin: 5px 0; font: 11px/1.35 var(--font-pixel); }
.content-index-list p { margin: 0; color: #aaa4ae; line-height: 1.45; }
.content-index-list article > strong { color: #ffd463; font: 17px var(--font-pixel); }
.public-empty { min-height: 260px; }
.public-empty p, .public-empty > .button { margin: 18px; }
.free-games-heading { position: relative; min-height: 175px; padding: 28px 210px 24px 28px; overflow: hidden; border-bottom: 1px solid #4b3c22; background: radial-gradient(circle at 88% 30%, rgba(255,210,79,.24), transparent 22%), linear-gradient(120deg, #321143, #15100b 72%); }
.free-games-heading::after { content: "0"; position: absolute; right: 35px; top: -25px; color: rgba(255,220,90,.11); font: 150px/1 var(--font-pixel); text-shadow: 8px 8px rgba(120,55,145,.15); }
.free-games-eyebrow, .free-game-badge { display: inline-block; padding: 4px 6px; border: 1px solid #8c6c23; background: #2b2007; color: #ffe06e; font: 10px var(--font-pixel); text-transform: uppercase; }
.free-games-heading h1 { margin: 12px 0 9px; color: #fff5c8; font: 28px var(--font-pixel); text-shadow: 3px 3px #551e63; }
.free-games-heading p { max-width: 620px; margin: 0; color: #c8bec8; font: 13px/1.6 var(--font-editorial); }
.free-games-heading > div { margin-top: 13px; color: #8d838e; font: 11px var(--font-pixel); text-transform: uppercase; }
.free-games-heading > div b { color: #ffdd61; }
.free-games-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 9px; padding: 11px 14px; border-bottom: 1px solid #3a323e; background: #0a080b; }
.free-games-filters label { display: grid; gap: 4px; color: #8f8793; font: 10px var(--font-pixel); text-transform: uppercase; }
.free-games-filters select { min-width: 155px; min-height: 30px; padding: 5px 7px; border: 1px inset #8d858f; background: #d8d4da; color: #171219; }
.free-games-filters > a { align-self: center; font: 11px var(--font-pixel); }
.free-game-featured { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 280px; background: radial-gradient(circle at 80% 20%, #3d1b4b, #0e0b10 60%); }
.free-game-featured-art img, .free-game-featured-art > .game-cover-placeholder { display: grid; width: 220px; height: 280px; place-content: center; object-fit: cover; }
.free-game-featured > div:last-child { align-self: center; padding: 24px 28px; }
.free-game-featured h2 { margin: 13px 0 5px; color: #f1eaf3; font: 24px/1.2 var(--font-pixel); text-shadow: 2px 2px #4a1857; }
.free-game-featured strong { color: #b9adb9; font: 10px var(--font-pixel); }
.free-game-featured p { max-width: 580px; color: #c5bec8; font: 13px/1.6 var(--font-editorial); }
.free-game-featured small, .free-game-grid small { color: #a077b3; font: 10px var(--font-pixel); text-transform: uppercase; }
.free-game-actions { display: flex; align-items: center; gap: 13px; margin-top: 18px; font: 11px var(--font-pixel); }
.free-game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #342d36; }
.free-game-grid > article { display: grid; grid-template-columns: 125px minmax(0, 1fr); min-height: 190px; background: #0d0a0f; }
.free-game-grid > article:hover { background: #161019; }
.free-game-cover img, .free-game-cover > .game-cover-placeholder { display: grid; width: 125px; height: 190px; place-content: center; object-fit: cover; }
.free-game-grid article > div { display: flex; min-width: 0; padding: 13px 12px; flex-direction: column; align-items: flex-start; }
.free-game-grid h3 { margin: 9px 0 7px; color: #ded6e1; font: 10px/1.4 var(--font-pixel); }
.free-game-grid p { margin: 11px 0; color: #9e96a1; line-height: 1.5; }
.free-game-cta { margin-top: auto; font: 11px var(--font-pixel); }
.free-games-empty { padding: 35px 20px; text-align: center; }
.free-games-empty strong { color: #e4dce7; font: 11px var(--font-pixel); }
.free-games-empty p { color: #958d99; }
.free-games-single { margin: 0; padding: 25px; color: #aaa1ad; text-align: center; }
.free-games-note { display: flex; gap: 13px; padding: 13px 15px; border-top: 1px solid #413547; background: #09070a; color: #817a85; font-size: 9px; }
.free-games-note b { flex: 0 0 auto; color: #c6a94a; font: 10px var(--font-pixel); text-transform: uppercase; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 1px; background: #302a34; }
.game-grid > a { position: relative; display: grid; grid-template-rows: 125px auto auto; gap: 5px; min-width: 0; padding: 9px; background: #0c0a0e; }
.game-grid > a:hover { background: #18101d; text-decoration: none; }
.game-grid img, .game-grid .game-cover-placeholder { display: grid; width: 100%; height: 125px; place-content: center; object-fit: cover; border: 1px solid #4d4054; }
.game-cover-placeholder { display: grid; place-content: center; background: linear-gradient(135deg, #33184b, #0b1622); color: #d7a7f4; font: 24px var(--font-pixel); text-shadow: 3px 3px #151019; }
.game-grid strong { color: #ddd6e1; font: 9px/1.4 var(--font-pixel); }
.game-grid small { color: #7f7884; font: 10px var(--font-pixel); }
.game-grid b { position: absolute; right: 13px; top: 108px; padding: 4px; border: 1px solid #907221; background: #2c2106; color: #ffda59; font: 10px var(--font-pixel); }
.game-header { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 20px; background: radial-gradient(circle at 75% 25%, #32163e, #0d0a10 60%); }
.game-header > img, .game-header > .game-cover-placeholder { width: 180px; height: 220px; object-fit: cover; border: 2px ridge #6c5a74; }
.game-header > div > span { color: #b36edf; font: 11px var(--font-pixel); text-transform: uppercase; }
.game-header h1 { margin: 12px 0 6px; color: #f0e9f3; font: 25px/1.25 var(--font-pixel); text-shadow: 2px 2px #3f1850; }
.game-header p { color: #aaa2ad; font: 12px var(--font-pixel); }
.game-header dl { display: grid; grid-template-columns: 90px 1fr; gap: 8px; margin-top: 24px; }
.game-header dt { color: #817986; font: 10px var(--font-pixel); text-transform: uppercase; }
.game-header dd { margin: 0; color: #c5bec9; }
.game-description { padding: 21px; color: #c7c1cb; font: 13px/1.7 var(--font-ui); }
.game-credits { display: flex; flex-wrap: wrap; gap: 7px; padding: 13px; }
.game-credits span { padding: 7px 9px; border: 1px solid #44364c; background: #121016; color: #817b84; font-size: 9px; }
.game-credits b { margin-right: 7px; color: #ccc4d0; }
.game-release-list > div { display: grid; grid-template-columns: 110px minmax(0, 1fr) 120px; gap: 10px; padding: 9px 13px; border-bottom: 1px solid #2e2932; }
.game-release-list time { color: var(--gold); font: 11px var(--font-pixel); }
.game-release-list strong { color: #cfc7d3; }
.game-release-list span { color: #827b87; text-transform: capitalize; }
.game-coverage > a { display: grid; grid-template-columns: 110px 1fr auto; gap: 10px; padding: 11px 13px; border-bottom: 1px solid #2e2932; }
.game-coverage > a:hover { background: #17101b; text-decoration: none; }
.game-coverage span { color: #9a72af; font: 10px var(--font-pixel); text-transform: uppercase; }
.game-coverage strong { color: #d4cdd7; }
.game-coverage b { color: var(--gold); }
.public-profile-head { position: relative; overflow: hidden; padding: 0; background: radial-gradient(circle at 70% 20%, #361949, #0c0a0f 60%); }
.public-profile-identity { position: relative; z-index: 1; display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 22px; }
.public-profile-head .profile-avatar { min-height: 120px; }
.public-profile-head span { color: #a461ce; font: 11px var(--font-pixel); text-transform: uppercase; }
.public-profile-head h1 { margin: 8px 0; color: #f0e8f4; font: 23px var(--font-pixel); text-shadow: 2px 2px #401854, 0 0 12px #0c0a0f; }
.public-profile-head p { color: #99919e; }
.public-profile-head .xp { max-width: 440px; }
.public-profile-discord { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; }
.public-profile-discord span { color: #d5c6e0; font: 11px var(--font-pixel); text-transform: none; }
.public-profile-discord .discord-avatar { width: 32px; height: 32px; }
.public-profile-banner { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.4; }
.public-profile-head.has-banner { min-height: 220px; }
.public-profile-head.has-banner::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7, 6, 10, .12), rgba(7, 6, 10, .45)); }
.profile-banner-editor { display: grid; gap: 8px; }
.profile-banner-preview { display: block; width: 100%; max-height: 160px; object-fit: cover; object-position: center; border: 1px solid #594861; background: #0a0a0d; }
.profile-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #342e39; }
.profile-stat-grid > div { display: grid; min-height: 68px; place-content: center; gap: 6px; background: #0d0b0f; text-align: center; }
.profile-stat-grid strong { color: #d7a7ef; font: 13px var(--font-pixel); }
.profile-stat-grid span { color: #817985; font: 10px var(--font-pixel); text-transform: uppercase; }
.profile-public-bio { min-height: 80px; padding: 18px; color: #c4bec8; line-height: 1.65; }
.profile-game-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 1px; background: #302a34; }
.profile-game-shelf > a { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; min-height: 130px; padding: 11px; background: #0d0b0f; }
.profile-game-shelf > a:hover { background: #17101b; text-decoration: none; }
.profile-game-shelf > a > img, .profile-game-shelf > a > .game-shelf-cover-fallback { width: 72px; height: 108px; object-fit: cover; border: 1px solid #594861; box-shadow: 2px 2px 0 #070609; }
.game-shelf-cover-fallback { display: grid; place-content: center; background: linear-gradient(135deg, #33184b, #0b1622); color: #d7a7f4; font: 15px var(--font-pixel); text-shadow: 2px 2px #151019; }
.profile-game-shelf-copy { display: grid; align-content: center; gap: 8px; min-width: 0; }
.profile-game-shelf-copy strong { color: var(--lavender); font: 9px/1.4 var(--font-pixel); overflow-wrap: anywhere; }
.profile-game-shelf-copy > span { color: #817a85; text-transform: capitalize; }
.profile-game-shelf b { position: absolute; right: 10px; bottom: 9px; color: var(--gold); }
.member-directory-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: #302a34; }
.member-directory-tabs { display: flex; border-bottom: 1px solid #302a34; background: #100d13; }
.member-directory-tabs a { padding: 10px 14px; color: #978f9c; font: 11px var(--font-pixel); text-transform: uppercase; }
.member-directory-tabs a:hover, .member-directory-tabs a.active { background: #291a31; color: #e0b6f2; text-decoration: none; }
.member-directory-note { margin: 0; padding: 9px 13px; border-bottom: 1px solid #2d2731; color: #8d8691; font-size: 10px; }
.member-directory-list > a { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 11px; min-width: 0; padding: 11px; background: #0d0b0f; }
.member-directory-list > a:hover { background: #18101d; text-decoration: none; }
.member-directory-list .avatar { min-height: 68px; }
.member-directory-list strong, .member-directory-list small, .member-directory-list em, .member-directory-list time { display: block; }
.member-directory-list strong { color: var(--lavender); font: 10px var(--font-pixel); }
.online-indicator { display: inline-block; width: 7px; height: 7px; margin-left: 7px; border: 1px solid #7cf07c; border-radius: 50%; background: #32bd45; box-shadow: 0 0 5px #32bd45; vertical-align: 1px; }
.member-directory-list small { margin-top: 6px; color: #847d88; font: 10px var(--font-pixel); }
.member-directory-list em { margin-top: 7px; overflow: hidden; color: #a9a2ac; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.member-directory-list time { margin-top: 7px; color: #68616c; font-size: 9px; }
.member-directory-list > .empty { grid-column: 1 / -1; margin: 0; background: #0d0b0f; }
.small-button:disabled { border-color: #3d3741; background: #211e23; color: #665f69; cursor: not-allowed; }
.pet-page-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: center; min-height: 250px; overflow: hidden; padding: 32px; background: radial-gradient(circle at 80% 55%, #4d2364 0, #21122d 30%, #0b090e 68%); }
.pet-page-hero > div:first-child { position: relative; z-index: 2; max-width: 560px; }
.pet-kicker { color: #d797f0; font: 11px var(--font-pixel); letter-spacing: 1px; text-transform: uppercase; }
.pet-page-hero h1 { margin: 12px 0; color: #fff5d7; font: 25px var(--font-pixel); text-shadow: 3px 3px #4b1d5e; }
.pet-page-hero p { max-width: 500px; color: #c4b8c9; font-size: 13px; line-height: 1.55; }
.pet-hero-stack { position: relative; align-self: stretch; }
.pet-hero-stack .pet-art { position: absolute; width: 185px; height: 185px; object-fit: contain; filter: drop-shadow(0 8px 8px #050306); }
.pet-hero-stack .pet-art-mosskip { z-index: 2; right: 90px; bottom: -5px; }
.pet-hero-stack .pet-art-voltkit { right: -10px; bottom: 35px; width: 150px; height: 150px; }
.pet-hero-stack .pet-art-emberling { right: 205px; bottom: 30px; width: 145px; height: 145px; }
.pet-hero-stack .pet-art-tideflare { z-index: 3; right: 40px; bottom: -8px; width: 168px; height: 168px; }
.pet-hero-stack .pet-art-princessdonut { z-index: 4; right: 175px; bottom: -14px; width: 152px; height: 152px; }
.pet-hero-stack .pet-art-exie { z-index: 5; right: -8px; bottom: -10px; width: 158px; height: 158px; }
.pet-hero-stack .pet-art-pebbling { z-index: 6; right: 305px; bottom: -16px; width: 138px; height: 138px; }
.pet-intro-copy, .pet-empty-state { padding: 22px; background: #0d0b0f; text-align: center; }
.pet-intro-copy h2, .pet-empty-state strong { display: block; color: #e3c6ee; font: 13px var(--font-pixel); }
.pet-intro-copy p, .pet-empty-state p { max-width: 650px; margin: 10px auto 16px; color: #9f97a3; line-height: 1.6; }
.pet-habitat { display: grid; gap: 8px; padding: 10px; background: #08070a; }
.pet-card { display: grid; grid-template-columns: 260px minmax(0, 1fr); overflow: hidden; border: 1px solid #38313d; background: #100d13; }
.pet-card.active { border-color: #81549a; box-shadow: inset 0 0 0 1px #3d244b; }
.pet-stage { position: relative; display: grid; min-height: 270px; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 65%, #382044, #17101d 48%, #0b090d 72%); }
.pet-stage::after { content: ""; position: absolute; right: 12%; bottom: 24px; left: 12%; height: 14px; border-radius: 50%; background: rgba(0,0,0,.45); filter: blur(6px); }
.pet-stage .pet-art { position: relative; z-index: 1; width: 235px; height: 235px; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 6px 5px #08050a); }
.active-companion { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 5px 7px; border: 1px solid #d5a4e8; background: #48215c; color: #fff; font: 10px var(--font-pixel); text-transform: uppercase; }
.pet-card-body { min-width: 0; padding: 18px; }
.pet-card-body > header { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.pet-card-body header small { color: #a76fc2; font: 10px var(--font-pixel); text-transform: uppercase; }
.pet-card-body h2 { margin: 7px 0 5px; color: #f3eaf7; font: 19px var(--font-pixel); }
.pet-card-body header p { margin: 0; color: #88808c; }
.pet-state { padding: 6px 8px; border: 1px solid #56475e; color: #e8c36d; font: 10px var(--font-pixel); white-space: nowrap; }
.pet-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 0; }
.pet-stats > div { display: grid; gap: 3px; padding: 8px 7px; border: 1px solid #3d3344; background: #0b090d; text-align: center; }
.pet-stats dt { color: #a76fc2; font: 10px var(--font-pixel); text-transform: uppercase; }
.pet-stats dd { margin: 0; color: #f2e5f7; font: 16px var(--font-pixel); }
.pet-abilities { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.pet-abilities li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 7px 8px; border: 1px solid #3d3344; background: #0b090d; }
.pet-abilities b { color: #f2e5f7; font: 11px var(--font-pixel); }
.pet-abilities small { color: #a76fc2; font: 10px var(--font-pixel); text-transform: uppercase; }
.pet-abilities span { grid-column: 1 / -1; color: #9a929f; line-height: 1.4; }
.pet-ability-names { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0 0; padding: 0; list-style: none; }
.pet-ability-names li { padding: 3px 6px; border: 1px solid #4a3a55; color: #d5acdf; font: 10px var(--font-pixel); }
.profile-pet-abilities, .clan-pet-abilities { color: #c9a0d8; font-size: 10px; }
.pet-needs > div > small { display: block; margin-top: 4px; color: #6f6874; font: 10px var(--font-pixel); }
.pet-care-guide { margin: 14px 0 0; color: #8a8290; font-size: 11px; line-height: 1.5; }
.play-header { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 18px; align-items: center; padding: 18px 20px 8px; }
.play-header span { color: #a56bbe; font: 9px var(--font-pixel); text-transform: uppercase; }
.play-header h1 { margin: 8px 0; font: 22px var(--font-pixel); }
.play-header p { margin: 0; color: #b7afc0; font-size: 14px; line-height: 1.45; }
.play-duel-note { margin-top: 8px !important; color: #e8c36d !important; }
.pet-duel-board { background: #08070a; }
.pet-duel { padding: 14px 16px; border-bottom: 1px solid #2f2933; color: #c4bec8; }
.pet-duel.pending { background: #161018; }
.pet-duel p { margin: 0 0 10px; line-height: 1.5; }
.play-header .pet-art { width: 160px; height: 160px; object-fit: contain; }
.play-stage { display: grid; gap: 12px; padding: 0 20px 20px; }
.play-stage canvas { width: 100%; max-width: 960px; height: auto; border: 1px solid #3d3344; background: radial-gradient(circle at 50% 80%, #2a1b33, #0b090d 70%); touch-action: none; overscroll-behavior: none; user-select: none; -webkit-user-select: none; }
.play-stage-starlight-salvage canvas { border-color: #685593; background: #080c28; box-shadow: 0 0 0 3px rgba(107,78,151,.22), 0 18px 42px rgba(4,3,16,.55); }
.play-stage-fetch canvas { border-color: #397ea0; background: #07162b; box-shadow: 0 0 0 3px rgba(45,132,160,.2), 0 18px 42px rgba(3,10,25,.58); }
.play-stage-trail canvas { border-color: #7761b5; background: #090b2a; box-shadow: 0 0 0 3px rgba(113,80,184,.2), 0 18px 42px rgba(8,4,29,.6); }
.play-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.play-legend li { display: flex; align-items: center; gap: 8px; color: #d8d0de; font-size: 14px; }
.play-legend li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; }
.play-legend-mote::before { background: radial-gradient(circle at 35% 30%, #fff4c2, #e8c36d 55%, #b8862a); }
.play-legend-thorn::before { border-radius: 2px; background: #c45a6a; transform: rotate(45deg); }
.play-legend-seed::before { border: 2px solid #d9b8ff; background: radial-gradient(circle at 35% 30%, #fff, #a878e5 58%, #42256f); box-shadow: 0 0 8px #9c72e3; }
.play-legend-shard::before { border-radius: 2px; background: linear-gradient(135deg, #d9f7ff, #70ccea 42%, #8059c2); box-shadow: 0 0 8px #60c8ec; transform: rotate(45deg); }
.play-legend-cell::before { border: 2px solid #8ffff0; border-radius: 3px; background: #174c58; box-shadow: inset 0 0 0 2px #2f8f8b, 0 0 8px #53d9bd; }
.play-legend-cinder::before { border-radius: 2px; background: radial-gradient(circle, #ff7047 0 28%, #3b1d2d 30% 66%, #9b3e44 68%); box-shadow: 0 0 8px #ff542e; transform: rotate(22deg); }
.play-hud { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: baseline; color: #eadcf0; }
.play-hud strong { font: 22px var(--font-pixel); }
.play-hud em { font: 18px var(--font-pixel); font-style: normal; color: #d5acdf; }
.play-hud .play-salvage-meter { padding: 7px 10px; border: 1px solid #5f4a84; border-radius: 3px; background: linear-gradient(90deg, rgba(42,31,76,.92), rgba(25,42,72,.92)); color: #cfc3ea; font: 11px var(--font-pixel); letter-spacing: .2px; }
.play-salvage-meter b { color: #8ffff0; }
.play-hud span { flex: 1 1 240px; color: #c4bec8; font-size: 15px; line-height: 1.4; }
.play-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.play-controls .button { display: inline-flex; align-items: center; justify-content: center; font-size: 15px; padding: 10px 18px; text-decoration: none; cursor: pointer; }
.live-battle-challenge { display: inline-flex; margin-left: 6px; }
.pet-live-battle-board { margin-bottom: 22px; border: 1px solid #514171; background: #0b0a18; }
.pet-live-battle { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(150px, .5fr); gap: 12px 18px; align-items: center; padding: 14px 16px; border-bottom: 1px solid #332c4b; }
.pet-live-battle:last-child { border-bottom: 0; }
.pet-live-battle.active { background: linear-gradient(90deg, rgba(44,34,86,.65), rgba(12,27,45,.56)); }
.pet-live-battle.pending { background: rgba(34,24,54,.62); }
.pet-live-battle p { margin: 0; color: #c9bfd9; }
.pet-live-battle .pet-actions { justify-content: flex-end; }
.pet-live-battle-pair { display: grid; grid-template-columns: minmax(90px, 1fr) 34px minmax(90px, 1fr); gap: 8px; align-items: center; }
.pet-live-battle-pair > span { display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; gap: 0 8px; align-items: center; min-width: 0; }
.pet-live-battle-pair img { grid-row: 1 / 3; width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 0 7px rgba(150,116,236,.55)); }
.pet-live-battle-pair b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #f0e8ff; }
.pet-live-battle-pair small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #9188a5; }
.pet-live-battle-pair > strong { color: #8ffff0; font: 10px var(--font-pixel); text-align: center; }
.pet-battle-page { overflow: hidden; }
.pet-battle-shell { padding: 0 20px 22px; }
.pet-battle-header { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 12px; }
.pet-battle-header span { color: #8ffff0; font: 9px var(--font-pixel); text-transform: uppercase; }
.pet-battle-header h1 { margin: 7px 0 0; color: #f0eaff; font: 22px var(--font-pixel); }
.pet-battle-live { display: inline-flex; align-items: center; gap: 7px; color: #aaa1bc; font-size: 13px; }
.pet-battle-live i { width: 9px; height: 9px; border-radius: 50%; background: #d09543; box-shadow: 0 0 8px currentColor; }
.pet-battle-live.connected i { background: #69e8bd; }
.pet-battle-live.offline i { background: #cc5874; }
.pet-battle-turn { margin-bottom: 10px; padding: 9px 12px; border: 1px solid #4f4278; background: linear-gradient(90deg, rgba(48,35,91,.94), rgba(23,52,73,.9)); color: #e8ddff; font: 11px var(--font-pixel); text-align: center; }
.pet-battle-field { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr); min-height: 450px; overflow: hidden; border: 1px solid #69599a; background: linear-gradient(#090d2d 0 54%, #18274a 54% 70%, #101626 70%); box-shadow: inset 0 0 70px rgba(91,69,165,.3), 0 18px 42px rgba(5,3,18,.52); }
.pet-battle-field::before { content: ""; position: absolute; inset: 0; opacity: .46; background: radial-gradient(circle at 18% 18%, #7e68d3 0 1px, transparent 2px), radial-gradient(circle at 72% 12%, #8ffff0 0 1px, transparent 2px), radial-gradient(circle at 52% 30%, #fff 0 1px, transparent 2px); background-size: 90px 80px, 130px 100px, 170px 130px; }
.pet-battle-field::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: 0; height: 34%; background: repeating-linear-gradient(90deg, transparent 0 78px, rgba(120,101,189,.13) 79px 80px), linear-gradient(rgba(63,54,103,.72), rgba(10,13,30,.96)); clip-path: polygon(0 25%, 50% 0, 100% 25%, 100% 100%, 0 100%); }
.pet-battle-sky { position: absolute; inset: 0; pointer-events: none; }
.pet-battle-sky i { position: absolute; width: 58%; height: 55px; border-radius: 50%; border-top: 16px solid rgba(125,98,234,.16); transform: rotate(-9deg); }
.pet-battle-sky i:nth-child(1) { left: -8%; top: 14%; }
.pet-battle-sky i:nth-child(2) { right: -9%; top: 24%; border-color: rgba(91,232,214,.12); transform: rotate(8deg); }
.pet-battle-sky i:nth-child(3) { left: 24%; top: 7%; border-color: rgba(224,128,225,.1); transform: rotate(-2deg); }
.battle-pet { position: relative; z-index: 2; display: grid; grid-template-rows: auto 1fr; align-items: end; min-width: 0; padding: 20px; }
.battle-pet.defender { direction: rtl; }
.battle-pet.defender > * { direction: ltr; }
.battle-pet-card { align-self: start; width: min(270px, 90%); padding: 12px 14px; border: 1px solid rgba(150,132,205,.65); background: rgba(8,10,30,.86); box-shadow: 0 8px 20px rgba(2,2,12,.45); }
.battle-pet.defender .battle-pet-card { justify-self: end; text-align: right; }
.battle-pet-card small, .battle-pet-card strong, .battle-pet-card em { display: block; }
.battle-pet-card small { color: #9c92b6; }
.battle-pet-card strong { margin: 3px 0 9px; color: #f3ecff; font: 13px var(--font-pixel); }
.battle-pet-card span { display: block; height: 11px; overflow: hidden; border: 1px solid #5d4e7d; background: #160f28; }
.battle-pet-card span i { display: block; height: 100%; background: linear-gradient(90deg, #68e7bd, #b8f176); box-shadow: 0 0 10px #65ddad; transition: width .25s ease; }
.battle-pet-card em { margin-top: 5px; color: #b9b0c8; font-size: 12px; font-style: normal; }
.battle-pet-stage { position: relative; display: grid; align-items: end; justify-items: center; min-height: 270px; }
.battle-pet-stage span { position: absolute; bottom: 18px; width: 75%; height: 42px; border-radius: 50%; background: radial-gradient(ellipse, rgba(126,99,215,.55), transparent 70%); }
.battle-pet-stage img { position: relative; z-index: 1; width: min(220px, 78%); height: 230px; object-fit: contain; filter: drop-shadow(0 0 20px rgba(130,105,220,.68)); }
.battle-pet.defender .battle-pet-stage img { transform: scaleX(-1); }
.battle-versus { position: relative; z-index: 3; display: grid; place-content: center; text-align: center; }
.battle-versus span { color: #8ffff0; font: 9px var(--font-pixel); }
.battle-versus b { color: #fff; font: 30px var(--font-pixel); text-shadow: 0 0 15px #8a68db; }
.pet-battle-prompt, .pet-battle-command-deck, .pet-battle-log { margin-top: 14px; padding: 14px 16px; border: 1px solid #453a62; background: #0c0a18; }
.pet-battle-prompt strong { color: #efe6ff; font: 13px var(--font-pixel); }
.pet-battle-prompt p, .pet-battle-log p { color: #b8afc3; }
.pet-battle-moves { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pet-battle-moves button { min-height: 76px; padding: 10px; border: 1px solid #453d5f; background: linear-gradient(#1d1930, #0e0c18); color: #8e859d; text-align: left; }
.pet-battle-moves button:not(:disabled) { cursor: pointer; color: #e9e2f5; }
.pet-battle-moves button:not(:disabled):hover, .pet-battle-moves button:not(:disabled):focus-visible { border-color: #8ffff0; background: linear-gradient(#302456, #17162b); box-shadow: 0 0 14px rgba(113,255,226,.3); transform: translateY(-1px); }
.pet-battle-moves .battle-ability.tone-nova { border-color: #7060a9; background: radial-gradient(circle at 88% 18%, rgba(143,255,240,.16), transparent 28%), linear-gradient(#29204d, #111426); }
.pet-battle-moves .battle-ability.tone-might { border-color: #a4485c; background: radial-gradient(circle at 88% 18%, rgba(255,100,130,.18), transparent 30%), linear-gradient(#3a1b2b, #150f19); }
.pet-battle-moves .battle-ability.tone-spirit { border-color: #5c62b8; background: radial-gradient(circle at 88% 18%, rgba(140,160,255,.2), transparent 30%), linear-gradient(#1e214d, #0f1226); }
.pet-battle-moves .battle-ability.tone-heart { border-color: #3b8b6e; background: radial-gradient(circle at 88% 18%, rgba(100,255,180,.18), transparent 30%), linear-gradient(#15382a, #0b1c15); }
.pet-battle-moves .battle-ability.tone-heart em { color: #6bf2be; }
.pet-battle-moves .battle-ability.tone-moss, .pet-battle-moves .battle-ability.tone-grove { border-color: #4f8045; background: radial-gradient(circle at 88% 18%, rgba(130,220,90,.16), transparent 30%), linear-gradient(#1f331b, #0f1c0d); }
.pet-battle-moves .battle-ability.tone-spark { border-color: #a69136; background: radial-gradient(circle at 88% 18%, rgba(255,230,80,.2), transparent 30%), linear-gradient(#383215, #1c1809); }
.pet-battle-moves .battle-ability.tone-ember { border-color: #ba572d; background: radial-gradient(circle at 88% 18%, rgba(255,130,50,.2), transparent 30%), linear-gradient(#3e1c12, #1f0b06); }
.pet-battle-moves .battle-ability.tone-tide { border-color: #367ba8; background: radial-gradient(circle at 88% 18%, rgba(70,190,255,.2), transparent 30%), linear-gradient(#122c3d, #09151e); }
.pet-battle-moves .battle-ability.tone-crown { border-color: #944ca0; background: radial-gradient(circle at 88% 18%, rgba(240,120,255,.2), transparent 30%), linear-gradient(#34153a, #1a0a1d); }
.pet-battle-moves .battle-ability.tone-electric { border-color: #3988b5; background: radial-gradient(circle at 88% 18%, rgba(90,220,255,.2), transparent 30%), linear-gradient(#132e42, #081621); }
.pet-battle-moves .battle-ability.tone-stone { border-color: #6a6479; background: radial-gradient(circle at 88% 18%, rgba(180,170,210,.16), transparent 30%), linear-gradient(#292635, #14121a); }
.pet-battle-moves .battle-ability em { display: block; margin-top: 7px; color: #8ffff0; font-size: 11px; font-style: normal; }
.battle-pet.is-acting .battle-pet-stage img { animation: battle-pet-lunge .5s ease; }
.battle-pet.is-hit .battle-pet-stage img { animation: battle-pet-hit .5s ease; filter: drop-shadow(0 0 24px rgba(255,102,143,.95)); }
@keyframes battle-pet-lunge { 50% { transform: translateX(28px) scale(1.05); } }
@keyframes battle-pet-hit { 25%, 75% { transform: translateX(-9px); } 50% { transform: translateX(9px); } }
.battle-pet.defender.is-acting .battle-pet-stage img { animation-name: battle-pet-lunge-defender; }
.battle-pet.defender.is-hit .battle-pet-stage img { animation-name: battle-pet-hit-defender; }
@keyframes battle-pet-lunge-defender { 50% { transform: scaleX(-1) translateX(28px) scale(1.05); } }
@keyframes battle-pet-hit-defender { 25%, 75% { transform: scaleX(-1) translateX(-9px); } 50% { transform: scaleX(-1) translateX(9px); } }
.pet-battle-moves b, .pet-battle-moves span { display: block; }
.pet-battle-moves b { margin-bottom: 5px; font: 9px var(--font-pixel); }
.pet-battle-log { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; }
.pet-battle-log strong { color: #8ffff0; font: 9px var(--font-pixel); text-transform: uppercase; }
.pet-battle-log p { margin: 0; }
@media (max-width: 719px) {
    .pet-live-battle { grid-template-columns: 1fr; }
    .pet-live-battle .pet-actions { justify-content: flex-start; }
    .pet-battle-shell { padding-inline: 6px; }
    .pet-battle-header { align-items: flex-start; }
    .pet-battle-header h1 { font-size: 15px; }
    .pet-battle-field { grid-template-columns: 1fr 44px 1fr; min-height: 330px; }
    .battle-pet { padding: 9px 5px; }
    .battle-pet-card { width: auto; padding: 8px; }
    .battle-pet-card strong { font-size: 9px; }
    .battle-pet-stage { min-height: 195px; }
    .battle-pet-stage img { width: 94%; height: 170px; }
    .battle-versus b { font-size: 18px; }
    .pet-battle-moves { grid-template-columns: repeat(2, 1fr); }
    .pet-battle-command-deck .bar-with-text { display: grid; gap: 7px; align-items: start; }
    .pet-battle-command-deck .bar-with-text small { white-space: normal; line-height: 1.35; text-align: left; }
    .pet-battle-log { grid-template-columns: 1fr; gap: 5px; }
}
.profile-pet-stats { display: block; margin-top: 6px; color: #d5acdf; font: 11px var(--font-pixel); }
.pet-bond, .pet-needs > div { display: grid; gap: 5px; }
.pet-bond { margin: 16px 0 13px; }
.pet-bond span, .pet-needs span { display: flex; justify-content: space-between; color: #aaa2ae; font: 10px var(--font-pixel); }
.pet-bond span small, .pet-needs span small { color: #746d78; }
.pet-bond > i, .pet-needs i { height: 7px; overflow: hidden; border: 1px solid #403747; background: #070609; }
.pet-needs em, .pet-bond em { display: block; height: 100%; background: linear-gradient(90deg, #7641a0, #d58bee); transition: width .45s ease; }
.pet-care-button {
    --care-ready: 100;
    position: relative;
    border: 2px solid transparent;
    background:
        linear-gradient(#37134f, #37134f) padding-box,
        conic-gradient(#c98be2 calc(var(--care-ready) * 1%), #3d3741 0) border-box;
}
.pet-care-button:disabled {
    border-color: transparent;
    background:
        linear-gradient(#211e23, #211e23) padding-box,
        conic-gradient(#9b4bd5 calc(var(--care-ready) * 1%), #3d3741 0) border-box;
    color: #8a8290;
    cursor: wait;
}
.pet-care-burst {
    position: absolute;
    inset: 18% 12% 28%;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,210,120,.55), transparent 62%);
    opacity: 0;
}
.pet-card.is-caring .pet-art { animation: pet-care-bounce .65s ease; }
.pet-card.is-caring .pet-care-burst { display: block; animation: pet-care-burst .7s ease; }
.pet-card.is-feed .pet-care-burst { background: radial-gradient(circle, rgba(239,184,92,.6), transparent 62%); }
.pet-card.is-play .pet-care-burst { background: radial-gradient(circle, rgba(226,122,223,.6), transparent 62%); }
.pet-card.is-rest .pet-care-burst { background: radial-gradient(circle, rgba(97,207,229,.6), transparent 62%); }
@keyframes pet-care-bounce {
    0% { transform: translateY(0) scale(1); }
    35% { transform: translateY(-10px) scale(1.06); }
    70% { transform: translateY(3px) scale(.98); }
    100% { transform: translateY(0) scale(1); }
}
@keyframes pet-care-burst {
    0% { opacity: 0; transform: scale(.4); }
    40% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(1.35); }
}
.pet-needs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pet-needs div:nth-child(1) em { background: linear-gradient(90deg, #af642b, #efb85c); }
.pet-needs div:nth-child(2) em { background: linear-gradient(90deg, #8e3ba4, #e27adf); }
.pet-needs div:nth-child(3) em { background: linear-gradient(90deg, #2767a0, #61cfe5); }
.pet-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pet-actions form { margin: 0; }
.pet-settings { margin-top: 15px; border-top: 1px solid #2f2933; color: #827987; }
.pet-settings summary { padding-top: 10px; color: #9e77af; font: 10px var(--font-pixel); cursor: pointer; }
.pet-settings form label { display: block; margin: 10px 0; color: #8c8490; }
.pet-settings label span { display: flex; gap: 5px; margin-top: 5px; }
.pet-settings input { min-width: 0; padding: 6px; border: 1px solid #5c5261; background: #dedde0; color: #111; }
.pet-species-grid, .pet-shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #342d38; }
.pet-shop-grid { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
.pet-species-grid article, .pet-shop-grid article { display: flex; flex-direction: column; background: #0d0b0f; }
.pet-species-art { position: relative; display: grid; min-height: 220px; place-items: center; overflow: hidden; background: radial-gradient(circle, #382144, #151019 60%, #0a080c); }
.pet-species-art .pet-art { width: 205px; height: 205px; object-fit: contain; filter: drop-shadow(0 7px 6px #050306); transition: transform .15s ease; }
.pet-species-grid article:hover .pet-art, .pet-shop-grid article:hover .pet-art { transform: translateY(-3px) scale(1.02); }
.pet-species-art > span { position: absolute; z-index: 2; top: 9px; right: 9px; padding: 4px 6px; border: 1px solid #66516f; color: #d9b8e7; font: 10px var(--font-pixel); text-transform: uppercase; }
.pet-species-grid article > div:nth-child(2), .pet-shop-grid article > div:nth-child(2) { flex: 1; padding: 15px; }
.pet-species-grid h3, .pet-shop-grid h3 { margin: 0 0 8px; color: #ecdaf3; font: 13px var(--font-pixel); }
.pet-species-grid p, .pet-shop-grid p { color: #b1a9b5; line-height: 1.45; }
.pet-species-grid small, .pet-shop-grid small { color: #77707b; line-height: 1.45; }
.pet-shop-price { display: block; margin-top: 8px; color: #e8c36d; font: 11px var(--font-pixel); }
.pet-species-choice { display: block; cursor: pointer; }
.pet-species-choice input { position: absolute; opacity: 0; }
.pet-species-choice span { display: block; margin: 0 12px 12px; padding: 8px; border: 1px solid #68447b; color: #cfa3e2; font: 11px var(--font-pixel); text-align: center; }
.pet-species-choice input:focus + span, .pet-species-choice input:checked + span { border-color: #dda6f6; background: #49225c; color: #fff; box-shadow: 0 0 0 2px #201126; }
.pet-adoption-form { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(140px, .7fr) auto; align-items: stretch; gap: 12px; padding: 18px; background: #151019; }
.pet-adoption-form label { display: grid; grid-template-rows: 2.4em auto; align-content: end; gap: 6px; color: #a59dab; font: 12px var(--font-pixel); }
.pet-adoption-form input, .pet-adoption-form select { min-width: 0; height: 38px; padding: 9px; border: 1px solid #6b6171; background: #dedde0; color: #111; font: 12px var(--font-pixel); }
.pet-adoption-form select { appearance: none; }
.pet-adoption-form > .button { align-self: end; }
.pet-adoption-form > small { grid-column: 1 / -1; color: #766f7a; }
.pet-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #302a34; }
.pet-principles div { padding: 16px; background: #0d0b0f; }
.pet-principles strong { color: #c98be2; font: 11px var(--font-pixel); }
.pet-principles p { margin-bottom: 0; color: #817a85; line-height: 1.5; }
.profile-pet { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; min-height: 155px; padding: 10px 22px; background: radial-gradient(circle at 10% 50%, #342041, #0d0b0f 42%); }
.profile-pet-art { display: grid; width: 135px; height: 135px; place-items: center; }
.profile-pet-art img { width: 130px; height: 130px; object-fit: contain; filter: drop-shadow(0 5px 5px #050306); }
.profile-pet > span:last-child { display: grid; gap: 8px; }
.profile-pet small { color: #a76fc2; font: 10px var(--font-pixel); text-transform: uppercase; }
.profile-pet strong { color: #f2e5f7; font: 16px var(--font-pixel); }
.profile-pet em { color: #928a96; font-style: normal; }
.profile-pet-list { display: grid; gap: 1px; background: #302a34; }
.profile-pet-other { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; min-height: 108px; padding: 8px 16px; background: radial-gradient(circle at 8% 50%, #2a1a33, #0d0b0f 44%); }
.profile-pet-other .profile-pet-art { width: 88px; height: 88px; }
.profile-pet-other .profile-pet-art img { width: 84px; height: 84px; }
.profile-pet-other span:last-child { display: grid; gap: 5px; }
.profile-pet-other small { color: #a76fc2; font: 10px var(--font-pixel); text-transform: uppercase; }
.profile-pet-other strong { color: #eadcf0; font: 12px var(--font-pixel); }
.profile-pet-other em { color: #8c8490; font-style: normal; }
.clan-page-hero { padding: 35px 24px; background: radial-gradient(circle at 85% 50%, #3d2150, #120d17 56%, #0a080c); text-align: center; }
.clan-page-hero > span, .clan-header > div > span, .clan-create-form > div > span { color: #c985e5; font: 11px var(--font-pixel); text-transform: uppercase; }
.clan-page-hero h1, .clan-header h1 { margin: 10px 0; color: #f3e6f8; font: 22px var(--font-pixel); }
.clan-page-hero p { max-width: 650px; margin: auto; color: #a49ba8; font-size: 13px; }
.clan-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; padding: 25px; background: radial-gradient(circle at 80% 30%, #402451, #0d0a10 62%); }
.clan-header p { max-width: 720px; color: #aaa1ad; line-height: 1.6; }
.clan-header dl { display: grid; grid-template-columns: repeat(3, minmax(85px, 1fr)); align-self: center; gap: 1px; margin: 0; background: #4a3d50; }
.clan-header dl div { display: grid; min-height: 70px; place-content: center; gap: 7px; padding: 10px; background: #151018; text-align: center; }
.clan-header dt { color: #827887; font: 10px var(--font-pixel); text-transform: uppercase; }
.clan-header dd { margin: 0; color: #e4b9f4; font: 10px var(--font-pixel); }
.clan-join-banner { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 18px; border-block: 1px solid #5a3d66; background: #25142d; }
.clan-join-banner span { display: grid; gap: 5px; }
.clan-join-banner strong { color: #e6d9eb; font: 9px var(--font-pixel); }
.clan-join-banner small { color: #928799; }
.clan-member-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 1px; background: #332c37; }
.clan-member { min-width: 0; background: #0d0b0f; }
.clan-member > header { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; padding: 11px; border-bottom: 1px solid #302a34; }
.clan-member > header .avatar { min-height: 64px; }
.clan-member header small { color: #a56bbe; font: 10px var(--font-pixel); text-transform: uppercase; }
.clan-member h2 { margin: 5px 0; font: 11px var(--font-pixel); }
.clan-member header p { margin: 0; color: #716a75; }
.clan-pet-list > div { display: grid; grid-template-columns: 105px minmax(0, 1fr); align-items: center; min-height: 120px; padding: 7px 12px; border-bottom: 1px solid #29232c; background: radial-gradient(circle at 12% 50%, #2d1a36, #0d0b0f 40%); }
.clan-pet.is-active { background: radial-gradient(circle at 12% 50%, #3d2450, #140f18 42%); }
.clan-pet-list small b { color: #e8c36d; }
.clan-pet-stats { color: #c9a0d8 !important; font-size: 10px; }
.clan-pet-list img { width: 100px; height: 100px; object-fit: contain; filter: drop-shadow(0 4px 4px #050306); }
.clan-pet-list span { display: grid; gap: 6px; }
.clan-pet-list small { color: #9d6db2; font: 10px var(--font-pixel); text-transform: uppercase; }
.clan-pet-list strong { color: #eadcf0; font: 12px var(--font-pixel); }
.clan-pet-list em { color: #8c8490; font-style: normal; }
.clan-leave { padding: 12px; background: #0a080c; text-align: right; }
.clan-create-form { display: grid; grid-template-columns: minmax(210px, 1.2fr) 1fr 1.2fr auto; align-items: end; gap: 12px; padding: 18px; background: #120e15; }
.clan-create-form > div { align-self: center; }
.clan-create-form h2 { margin: 7px 0; color: #e4d4eb; font: 11px var(--font-pixel); }
.clan-create-form p { margin: 0; color: #807783; }
.clan-create-form label { display: grid; gap: 6px; color: #978d9d; font: 10px var(--font-pixel); }
.clan-create-form input, .clan-create-form textarea { min-width: 0; padding: 8px; border: 1px solid #675d6c; background: #dedde0; color: #111; resize: vertical; }
.clan-guest-callout { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 15px; background: #120e15; color: #99909d; }
.current-clan-banner { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 16px; background: #17101c; }
.current-clan-banner:hover { background: #25152d; text-decoration: none; }
.current-clan-banner span { color: #9864ad; font: 10px var(--font-pixel); text-transform: uppercase; }
.current-clan-banner strong { color: #e9d8f0; font: 12px var(--font-pixel); }
.current-clan-banner em { color: #8c8390; font-style: normal; }
.current-clan-banner b { color: #c784e2; font: 11px var(--font-pixel); }
.clan-directory { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: #332c37; }
.clan-directory article { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; background: #0d0b0f; }
.clan-directory article > a { display: grid; gap: 7px; min-width: 0; padding: 14px; }
.clan-directory article > a:hover { background: #18101d; text-decoration: none; }
.clan-directory article > a > span { color: #84618f; font: 10px var(--font-pixel); text-transform: uppercase; }
.clan-directory article > a > strong { color: #e2d1e9; font: 11px var(--font-pixel); }
.clan-directory article p { overflow: hidden; margin: 0; color: #8d8591; text-overflow: ellipsis; white-space: nowrap; }
.clan-directory article small { color: #b579ca; }
.clan-directory form { padding-right: 12px; }
.profile-clan { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto auto; align-items: center; gap: 15px; padding: 17px 20px; background: #0d0b0f; }
.profile-clan:hover { background: #18101d; text-decoration: none; }
.profile-clan span { color: #9463a8; font: 10px var(--font-pixel); text-transform: uppercase; }
.profile-clan strong { color: #e6d5ed; font: 11px var(--font-pixel); }
.profile-clan em { color: #89818d; font-style: normal; }
.profile-clan b { color: #bf7cda; font: 11px var(--font-pixel); }

.site-footer { position: relative; z-index: 2; max-width: 1560px; margin: 0 auto; padding-top: 0; }
.footer-world { position: relative; height: 190px; overflow: hidden; border-block: 1px solid #32234a; background: radial-gradient(circle at 72% 18%, rgba(119,71,185,.28), transparent 19%), linear-gradient(180deg, #090711 0, #160d29 58%, #321557 100%); isolation: isolate; }
.footer-sky { position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 60%, #7772af 0 1px, transparent 1.5px), radial-gradient(circle at 70% 30%, #d1c8f3 0 1px, transparent 1.5px), radial-gradient(circle at 40% 80%, #76538e 0 1px, transparent 2px); background-size: 68px 55px, 103px 81px, 127px 93px; opacity: .85; }
.footer-sky i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px #c9a7ff; animation: footer-star 3s ease-in-out infinite alternate; }
.footer-sky i:nth-child(1) { top: 18%; left: 8%; }
.footer-sky i:nth-child(2) { top: 31%; left: 27%; animation-delay: -.7s; }
.footer-sky i:nth-child(3) { top: 12%; left: 46%; animation-delay: -1.4s; }
.footer-sky i:nth-child(4) { top: 39%; left: 65%; animation-delay: -2.1s; }
.footer-sky i:nth-child(5) { top: 21%; left: 82%; animation-delay: -1.1s; }
.footer-sky i:nth-child(6) { top: 48%; left: 93%; animation-delay: -2.6s; }
.footer-mountains { position: absolute; z-index: 1; right: 0; bottom: 38px; left: 0; height: 92px; background: linear-gradient(180deg, #1b1030, #0b0912); clip-path: polygon(0 73%, 5% 49%, 11% 70%, 18% 29%, 25% 68%, 32% 42%, 38% 75%, 45% 24%, 53% 66%, 59% 40%, 65% 73%, 72% 31%, 79% 69%, 86% 45%, 93% 72%, 100% 36%, 100% 100%, 0 100%); }
.footer-mountains::after { content: ""; position: absolute; inset: 27px 0 0; background: #09070e; clip-path: polygon(0 74%, 8% 53%, 15% 72%, 24% 40%, 31% 76%, 39% 56%, 47% 75%, 55% 47%, 62% 74%, 71% 52%, 79% 76%, 88% 48%, 95% 70%, 100% 55%, 100% 100%, 0 100%); }
.footer-city { position: absolute; z-index: 2; right: 2%; bottom: 31px; left: 2%; display: flex; align-items: end; justify-content: space-around; height: 60px; color: #050509; }
.footer-city span { width: 28px; height: 35px; background: currentColor; clip-path: polygon(0 100%, 7% 28%, 25% 28%, 31% 0, 38% 28%, 66% 28%, 72% 0, 79% 28%, 94% 28%, 100% 100%); }
.footer-city i { width: 7px; height: 49px; background: currentColor; box-shadow: 13px 14px 0 3px currentColor, -13px 22px 0 2px currentColor; }
.footer-city b { width: 42px; height: 54px; background: currentColor; clip-path: polygon(8% 100%, 8% 42%, 25% 42%, 25% 20%, 42% 20%, 50% 0, 58% 20%, 75% 20%, 75% 42%, 92% 42%, 92% 100%); }
.footer-ground { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; height: 40px; border-top: 3px solid #332247; background: linear-gradient(180deg, #0a0810, #040407); }
.footer-ground::before { content: ""; position: absolute; inset: 7px 0 auto; height: 1px; background: repeating-linear-gradient(90deg, transparent 0 31px, #43295d 32px 34px, transparent 35px 65px); opacity: .65; }
.footer-ground::after { content: ""; position: absolute; inset: 14px 0 0; background: radial-gradient(ellipse at 50% 0, rgba(118,67,158,.2), transparent 55%); }
.footer-world-label { position: absolute; z-index: 7; top: 10px; left: 12px; padding: 5px 7px; border: 1px solid #49345d; background: rgba(8,6,12,.76); color: #8c8193; font: 10px var(--font-pixel); letter-spacing: .3px; text-transform: uppercase; }
.footer-world-label i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #48d96a; box-shadow: 0 0 5px #48d96a; }
.footer-world-label b { color: #c7a4d8; }
.footer-walkers { position: absolute; z-index: 6; inset: 28px 0 18px; overflow: hidden; }
.footer-walker { --walker-sheet: none; --walker-filter: brightness(1); position: absolute; bottom: 0; left: 0; display: block; width: 80px; height: 98px; color: #ddd0e4; will-change: transform; }
.footer-walker:hover, .footer-walker:focus-visible { z-index: 10; text-decoration: none; }
.footer-walker-sprite { position: absolute; right: 0; bottom: 0; width: 80px; height: 80px; background-image: var(--walker-sheet); background-position: 0 0; background-repeat: no-repeat; background-size: 1280px 80px; image-rendering: pixelated; filter: var(--walker-filter) drop-shadow(0 3px 2px #030205); transform-origin: 50% 100%; }
.footer-walker.is-walking .footer-walker-sprite { animation: footer-walk-frames var(--walker-step-speed, 1.08s) steps(16) infinite; }
.footer-walker.is-facing-left .footer-walker-sprite { transform: scaleX(-1); }
.footer-walker.is-paused .footer-walker-sprite { animation-play-state: paused; }
.footer-walker-name { position: absolute; z-index: 2; top: 0; left: 50%; max-width: 110px; padding: 3px 5px; overflow: hidden; border: 1px solid #4f3a5e; background: rgba(7,5,10,.82); color: #a996b3; font: 10px var(--font-pixel); text-overflow: ellipsis; white-space: nowrap; opacity: .72; transform: translateX(-50%); }
.footer-walker:hover .footer-walker-name, .footer-walker:focus-visible .footer-walker-name { border-color: #a765c3; color: #f1dbfa; opacity: 1; }
.walker-tint-violet { --walker-filter: sepia(.18) saturate(1.4) hue-rotate(220deg); }
.walker-tint-cyan { --walker-filter: sepia(.2) saturate(1.45) hue-rotate(145deg); }
.walker-tint-emerald { --walker-filter: sepia(.22) saturate(1.35) hue-rotate(80deg); }
.walker-tint-amber { --walker-filter: sepia(.25) saturate(1.45) hue-rotate(345deg); }
.walker-tint-crimson { --walker-filter: sepia(.22) saturate(1.5) hue-rotate(305deg); }
.walker-tint-magenta { --walker-filter: sepia(.2) saturate(1.5) hue-rotate(255deg); }
.walker-tint-cobalt { --walker-filter: sepia(.16) saturate(1.4) hue-rotate(175deg); }
.walker-tint-mono { --walker-filter: grayscale(1) contrast(1.08); }
.walker-tint-original { --walker-filter: brightness(1); }
.footer-world-empty { position: absolute; z-index: 5; inset: 0; display: grid; margin: 0; place-items: center; color: #746c7b; font: 11px var(--font-pixel); }
.footer-world-empty[hidden] { display: none; }
@keyframes footer-walk-frames { to { background-position: -1280px 0; } }
@keyframes footer-star { to { opacity: .25; transform: scale(.65); } }
.site-footer > div:last-child { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 46px; color: #898590; font: 9px var(--font-pixel); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; }
.site-footer nav a { padding: 0 11px; border-right: 1px solid #6f6878; }
.network { justify-self: end; }
.network b { display: inline-grid; place-items: center; width: 23px; height: 23px; border: 2px solid var(--purple-bright); color: var(--purple-bright); }

@media (max-width: 1250px) {
    .masthead { grid-template-columns: 200px minmax(525px, 1fr) 260px; }
    .page-grid { grid-template-columns: 200px minmax(550px, 1fr) 260px; }
    .primary-nav { grid-template-columns: repeat(5, 1fr); }
    .primary-nav a { min-height: 58px; }
    .nav-icon { font-size: 21px; }
    .editorial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1020px) {
    .site-wrap { padding: 8px; }
    .masthead { grid-template-columns: 190px 1fr; }
    .brand { grid-row: 1 / 2; min-height: 115px; }
    .brand-pixel, .brand-haven { font-size: 43px; }
    .header-main { align-self: stretch; }
    .search { grid-column: 1 / -1; margin-top: 0; }
    .page-grid { grid-template-columns: 180px minmax(0, 1fr); }
    .right-rail { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 0; }
    .right-rail .panel { margin: 0 !important; }
    .feature-grid { grid-template-columns: 1fr; }
    .highlights { display: grid; grid-template-columns: repeat(2, 1fr); }
    .highlights .bar { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .forum-board { grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
    .forum-board-latest { grid-column: 1 / -1; padding: 8px 0 0; border-top: 1px solid #2d2632; border-left: 0; }
    body { font: 12px/1.4 var(--font-ui); }
    .site-wrap { padding: 8px; }
    .masthead { display: block; }
    .brand { display: flex; flex-direction: column; justify-content: center; min-height: 0; padding: 8px 6px 4px; }
    .brand-logo { display: block; width: min(220px, 72vw); height: auto; max-height: 72px; margin: 0; }
    .brand > .brand-pixel, .brand > .brand-haven { display: none; }
    .brand-tag { margin-top: 6px; font-size: 11px; letter-spacing: 1px; }
    .utility { position: static; flex-wrap: wrap; justify-content: flex-start; height: auto; gap: 10px 12px; padding: 8px 4px; font-size: 11px; }
    .utility a:nth-of-type(-n+2) { display: inline-flex; }
    .nav-toggle { display: block; width: 100%; min-height: 44px; padding: 12px 10px; border: 1px solid #7c3db4; background: linear-gradient(#6722a5, #4c147f); color: #fff; font: 700 12px var(--font-pixel); text-align: left; text-transform: uppercase; }
    .primary-nav { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; }
    .primary-nav.open { display: grid; }
    .primary-nav a { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; min-height: 44px; padding: 8px 10px; color: #f2eff3; font-size: 11px; text-align: left; }
    .primary-nav a::after { inset: auto auto 0 0; width: 3px; height: auto; }
    .nav-icon { width: 28px; height: 28px; }
    .platform-nav { height: 32px; }
    .platform-nav span, .platform-nav a { padding: 8px 12px; font-size: 11px; }
    .ticker { display: none; }
    .search { margin-top: 8px; padding: 6px; }
    .search input { height: 36px; font: 12px var(--font-ui); }
    .search button { width: 48px; height: 36px; font-size: 11px; }
    .page-grid { display: flex; flex-direction: column; }
    .content { order: 1; padding-top: 0; }
    .left-rail { order: 3; display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 0; }
    .left-rail .panel { margin: 0 !important; }
    .right-rail { order: 2; display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 0; }
    .right-rail .panel { margin: 0 !important; }
    .panel + .panel { margin-top: 8px; }
    .bar { min-height: 28px; padding: 7px 10px; font-size: 11px; }
    .feature-grid { min-height: auto; }
    .hero { min-height: 240px; }
    .hero::before { left: 8px; top: 8px; padding: 5px 10px; font-size: 11px; }
    .hero-art { opacity: .55; }
    .hero-copy { width: 100%; padding: 48px 14px 28px; }
    .hero-copy h1 { margin-top: 6px; font: 700 26px/1 var(--font-pixel); letter-spacing: -1px; white-space: normal; }
    .hero-copy .kicker { font-size: 11px; }
    .hero-copy h1 small { margin-top: 6px; font: 12px var(--font-pixel); letter-spacing: 0; }
    .hero-copy p { max-width: 100%; margin: 10px 0; font-size: 12px; }
    .button { padding: 10px 14px; font-size: 12px; }
    .content-hero-image { height: 210px; }
    .site-search-form { padding: 10px 7px; }
    .search-result-list > a { grid-template-columns: 40px minmax(0, 1fr); gap: 8px; padding: 8px 6px; }
    .search-result-icon, .search-result-avatar { width: 40px; height: 40px; font-size: 13px; }
    .search-result-list > a > b { grid-column: 2; }
    .hero-score { display: none; }
    .carousel-dots { right: 8px; bottom: 8px; }
    .carousel-dots button { width: 28px; height: 28px; font-size: 11px; }
    .highlights { display: block; }
    .highlights .bar { display: block; }
    .highlight { grid-template-columns: 1fr; min-height: 0; padding: 10px; }
    .highlight .thumb { display: none; }
    .highlight b { margin: 0 0 4px; font-size: 12px; }
    .highlight small { font-size: 11px; }
    .highlight em { bottom: 6px; }
    .content-split { grid-template-columns: 1fr; }
    .reviews { margin-top: 8px !important; }
    .news-item { grid-template-columns: 1fr; min-height: 0; gap: 6px; padding: 10px; }
    .news-thumb { display: none; }
    .news-item h3 { overflow: visible; font-size: 13px; text-overflow: unset; white-space: normal; }
    .news-item p { overflow: visible; font-size: 12px; text-overflow: unset; white-space: normal; }
    .news-meta { grid-column: auto; grid-row: auto; flex-direction: row; justify-content: space-between; align-items: center; font-size: 11px; }
    .reviews li { min-height: 28px; font-size: 11px; }
    .editorials { margin-top: 8px !important; }
    .editorial-grid { grid-template-columns: 1fr; }
    .editorial-card { grid-template-columns: 1fr; min-height: 0; padding: 10px; }
    .editorial-art { display: none; }
    .editorial-card b { margin: 0 0 4px; font-size: 12px; }
    .editorial-card small { font-size: 11px; }
    .player-head { grid-template-columns: 48px 1fr; min-height: 0; padding: 10px; }
    .avatar { min-height: 48px; }
    .player-head strong { font-size: 12px; }
    .xp { margin: 4px 0; }
    .quest, .release, .topics > a { padding-block: 8px; }
    .sponsor { height: auto; margin: 6px; padding: 10px; font: 12px Impact, sans-serif; }
    .cover-art { min-height: 54px; }
    .affiliate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-form.two-column { grid-template-columns: 1fr; }
    .account-form label.wide { grid-column: auto; }
    .account-form fieldset.wide { grid-column: auto; }
    .game-shelf-edit-row { grid-template-columns: 1fr auto; }
    .game-shelf-title { grid-template-columns: 40px minmax(0, 1fr); }
    .game-shelf-title img, .game-shelf-title .game-shelf-cover-fallback { width: 40px; height: 60px; }
    .game-shelf-edit-fields { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .game-shelf-add { grid-template-columns: 1fr; }
    .profile-game-shelf { grid-template-columns: 1fr; }
    .pet-page-hero { grid-template-columns: 1fr; min-height: 310px; padding: 18px 15px 145px; }
    .pet-hero-stack { position: absolute; right: 0; bottom: 0; left: 0; height: 150px; }
    .pet-hero-stack .pet-art { width: 125px; height: 125px; }
    .pet-hero-stack .pet-art-mosskip { right: calc(50% - 62px); }
    .pet-hero-stack .pet-art-voltkit { right: calc(50% - 145px); bottom: 8px; width: 110px; height: 110px; }
    .pet-hero-stack .pet-art-emberling { right: calc(50% + 35px); bottom: 7px; width: 110px; height: 110px; }
    .pet-hero-stack .pet-art-tideflare { right: calc(50% - 20px); bottom: 0; width: 125px; height: 125px; }
    .pet-hero-stack .pet-art-princessdonut { right: calc(50% + 55px); bottom: -4px; width: 118px; height: 118px; }
    .pet-hero-stack .pet-art-exie { right: calc(50% - 155px); bottom: -2px; width: 120px; height: 120px; }
    .pet-hero-stack .pet-art-pebbling { right: calc(50% + 125px); bottom: -8px; width: 104px; height: 104px; }
    .pet-card { grid-template-columns: 1fr; }
    .pet-stage { min-height: 220px; }
    .play-header { grid-template-columns: 1fr; }
    .play-header .pet-art { width: 120px; height: 120px; }
    .pet-stage .pet-art { width: 205px; height: 205px; }
    .pet-card-body { padding: 12px; }
    .pet-species-grid, .pet-shop-grid { grid-template-columns: 1fr; }
    .pet-species-grid article { display: grid; grid-template-columns: 125px minmax(0, 1fr); }
    .pet-species-art { min-height: 150px; }
    .pet-species-art .pet-art { width: 135px; height: 135px; }
    .pet-species-choice { grid-column: 1 / -1; }
    .pet-adoption-form, .pet-principles { grid-template-columns: 1fr; }
    .pet-adoption-form > small { grid-column: auto; }
    .profile-pet { grid-template-columns: 100px minmax(0, 1fr); padding: 8px; }
    .profile-pet-art { width: 95px; height: 95px; }
    .profile-pet-art img { width: 92px; height: 92px; }
    .clan-header { grid-template-columns: 1fr; padding: 15px; }
    .clan-header dl { grid-template-columns: repeat(3, 1fr); }
    .clan-join-banner { align-items: start; flex-direction: column; }
    .clan-member-grid { grid-template-columns: 1fr; }
    .clan-create-form { grid-template-columns: 1fr; }
    .current-clan-banner, .profile-clan { grid-template-columns: 1fr; gap: 7px; }
    .clan-directory { grid-template-columns: 1fr; }
    .avatar-grid { grid-template-columns: repeat(5, minmax(48px, 1fr)); gap: 4px; }
    .account-form .avatar-option { padding: 3px; }
    .avatar-option strong { display: none; }
    .profile-summary { grid-template-columns: 60px 1fr; padding: 10px; }
    .profile-avatar { min-height: 60px; }
    .alert-row { grid-template-columns: 14px 1fr; }
    .alert-row time { grid-column: 2; }
    .dm-layout { grid-template-columns: 1fr; }
    .dm-thread-list { border-right: 0; }
    .dm-conversation { min-height: 430px; }
    .dm-thread-row.active { border-bottom-color: #6c3b87; }
    .dm-message { max-width: 100%; }
    .dm-reply { grid-template-columns: 1fr; }
    .dm-reply .button { justify-self: start; }
    .cms-form, .cms-split { grid-template-columns: 1fr; }
    .cms-form label.wide, .cms-form fieldset.wide { grid-column: auto; }
    .cms-user-list form { grid-template-columns: 1fr; }
    .cms-table { min-width: 580px; }
    .content-header { padding: 16px 12px; }
    .content-header h1 { font-size: 18px; }
    .content-score { position: static; width: 54px; height: 54px; margin-top: 12px; font-size: 16px; }
    .content-standfirst, .content-body { padding: 13px 12px; }
    .related-game { grid-template-columns: 1fr; margin: 0 10px 12px; }
    .content-index-list > article { grid-template-columns: 42px minmax(0, 1fr) auto; padding: 7px; }
    .content-index-icon, .content-index-image { width: 40px; height: 40px; font-size: 10px; }
    .free-games-heading { min-height: 0; padding: 19px 65px 18px 13px; }
    .free-games-heading::after { right: -8px; top: 3px; font-size: 90px; }
    .free-games-heading h1 { font-size: 21px; }
    .free-games-heading p { font-size: 12px; }
    .free-games-filters { align-items: stretch; }
    .free-games-filters label, .free-games-filters select { width: 100%; }
    .free-game-featured { grid-template-columns: 105px minmax(0, 1fr); min-height: 180px; }
    .free-game-featured-art img, .free-game-featured-art > .game-cover-placeholder { width: 105px; height: 180px; }
    .free-game-featured > div:last-child { padding: 12px; }
    .free-game-featured h2 { font-size: 15px; }
    .free-game-featured p { font-size: 11px; }
    .free-game-actions { align-items: flex-start; flex-direction: column; }
    .free-game-grid { grid-template-columns: 1fr; }
    .free-game-grid > article { grid-template-columns: 100px minmax(0, 1fr); min-height: 155px; }
    .free-game-cover img, .free-game-cover > .game-cover-placeholder { width: 100px; height: 155px; }
    .free-games-note { flex-direction: column; }
    .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .game-header { grid-template-columns: 90px minmax(0, 1fr); gap: 10px; padding: 10px; }
    .game-header > img, .game-header > .game-cover-placeholder { width: 90px; height: 120px; }
    .game-header h1 { font-size: 16px; }
    .game-header dl { grid-column: 1 / -1; }
    .game-release-list > div, .game-coverage > a { grid-template-columns: 1fr; }
    .public-profile-identity { grid-template-columns: 70px 1fr; gap: 10px; padding: 10px; }
    .public-profile-head .profile-avatar { min-height: 70px; }
    .public-profile-head h1 { font-size: 16px; }
    .public-profile-identity > .button { grid-column: 1 / -1; }
    .profile-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .forum-topic-row { grid-template-columns: minmax(0, 1fr) 52px 52px; min-width: 0; }
    .forum-topic-row > :nth-child(n+4) { display: none; }
    .forum-post-head { flex-wrap: wrap; }
    .forum-post-reputation { flex-wrap: wrap; gap: 8px; }
    .forum-post-reputation form { display: flex; flex-wrap: wrap; gap: 8px; }
    .forum-post-reputation .small-button { min-height: 40px; padding: 8px 12px; }
    .win95-window, .forum-poll-haven, .forum-poll-ashen { max-width: 100%; }
    .account-form, .forum-form { grid-template-columns: 1fr; }
    .site-footer { padding-top: 4px; }
    .site-footer > div:last-child { font: 11px var(--font-pixel); }
    .footer-world { height: 140px; }
    .footer-mountains { bottom: 28px; height: 70px; }
    .footer-city { bottom: 23px; height: 43px; opacity: .85; }
    .footer-ground { height: 30px; }
    .footer-walkers { inset: 24px 0 10px; }
    .footer-walker { height: 92px; }
    .footer-world-label { top: 6px; left: 6px; }
    .site-footer > div:last-child { grid-template-columns: 1fr; padding: 14px 5px; text-align: center; }
    .network { justify-self: center; }
}

@media (max-width: 480px) {
    .site-wrap { padding: 6px; }
    .brand-logo { max-height: 60px; }
    .ticker { display: none; }
    .left-rail { grid-template-columns: 1fr; }
    .highlights { grid-template-columns: 1fr; }
    .feature-grid { height: auto; }
    .hero { height: 250px; min-height: 250px; }
    .hero-copy { width: 100%; padding: 42px 10px 30px; }
    .hero-copy h1 { font-size: 25px; }
    .hero-copy h1 small { font-size: 10px; }
    .carousel-dots { bottom: 12px; }
    .editorial-grid { grid-template-columns: 1fr; }
    .footer-walker-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .footer-walkers { display: flex; align-items: end; gap: 2px; padding-inline: 8px; overflow-x: auto; }
    .footer-walker { position: relative; flex: 0 0 64px; height: 88px; transform: none !important; }
    .footer-walker-sprite { transform: scale(.8) !important; }
}

.duel-toast-stack { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: grid; gap: 10px; width: min(340px, calc(100vw - 24px)); pointer-events: none; }
.duel-toast { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px; border: 1px solid #81549a; background: #140f18; box-shadow: 0 10px 24px #050306; pointer-events: auto; }
.duel-toast-art { width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 6px 5px #050306); }
.duel-toast-copy { min-width: 0; }
.duel-toast-copy strong { display: block; margin-bottom: 4px; color: #e8c36d; font: 8px var(--font-pixel); text-transform: uppercase; }
.duel-toast-copy p { margin: 0 0 10px; color: #d7cfe0; line-height: 1.4; }
.duel-toast-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.duel-toast-actions form { margin: 0; }

