:root {
    color-scheme: dark;
    --bg: #0b0b10;
    --panel: #14141d;
    --line: #292934;
    --text: #f5f4fa;
    --muted: #a5a4b5;
    --accent: #a45cff;
    --accent-bright: #c29aff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 4px; }
.skip { position: fixed; top: -90px; left: 20px; background: var(--accent); padding: 12px 18px; z-index: 20; }
.skip:focus { top: 10px; }
.site-header { min-height: 88px; padding: 0 4.5%; border-bottom: 1px solid #24232d; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 800; letter-spacing: 1.8px; }
.brand-mark { font-size: 27px; font-style: italic; color: var(--accent); letter-spacing: -7px; padding-right: 7px; }
nav { display: flex; gap: 32px; }
.site-header nav { font-size: 12px; }
nav a { color: var(--muted); transition: color .2s; }
nav a:hover, nav .active, nav [aria-current] { color: #fff; }
.header-link { display: flex; align-items: center; gap: 26px; font-size: 11px; padding: 10px 14px; border: 1px solid #393441; border-radius: 3px; }
.store-page main, .store-page footer { max-width: 1536px; margin: auto; }
.store-page main { padding: 0 4.5%; }
.store-intro { display: flex; justify-content: space-between; align-items: center; padding: 38px 0 28px; gap: 20px; }
.eyebrow { margin: 0 0 12px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 2px; line-height: 1.6; }
.store-intro .eyebrow { font-size: 8px; letter-spacing: 2.6px; color: #9893a4; margin-bottom: 8px; }
.store-intro h1 { font-size: clamp(28px, 3vw, 43px); font-weight: 800; line-height: 1.2; letter-spacing: -1.5px; color: #c58eff; text-shadow: 0 0 22px #9f32f43d; margin: 0; }
.launch-badge { color: #b2a9c0; background: #17131e; border: 1px solid #33283f; font-size: 10px; padding: 8px 12px; display: flex; gap: 9px; align-items: center; border-radius: 3px; }
.launch-badge i { width: 5px; height: 5px; border-radius: 50%; background: #bd8aee; }
.featured-layout { display: grid; grid-template-columns: 1.85fr 1fr; gap: 18px; }
.feature-hero { min-height: 552px; position: relative; overflow: hidden; background: #151821; border: 1px solid #35313f; border-radius: 4px; display: flex; align-items: center; }
.hero-art { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: 66% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #05070bee 0%, #080910b0 38%, #07080a10 78%), linear-gradient(0deg, #0b0c19aa, transparent 45%); }
.hero-copy { position: relative; padding: 45px 38px; max-width: 470px; z-index: 1; }
.hero-copy .eyebrow { color: #d0c3dc; font-size: 8px; letter-spacing: 2px; max-width: 240px; }
.hero-copy h2 { font-size: clamp(35px, 3.6vw, 56px); font-weight: 750; letter-spacing: -2px; line-height: 1.08; margin: 20px 0; text-wrap: balance; }
.hero-copy > p:not(.eyebrow) { font-size: 12px; max-width: 285px; color: #c7c6d0; line-height: 1.8; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 23px; border-radius: 3px; font-size: 11px; font-weight: 700; padding: 12px 19px; border: 1px solid transparent; transition: background .18s, transform .18s, border-color .18s; }
.primary { background: #913deb; color: white; box-shadow: 0 4px 20px #6431a024; }
.primary:hover { background: #a459f1; transform: translateY(-2px); }
.hero-copy .button { margin-top: 18px; }
.secondary { color: #ded9e8; border-color: #4b3c60; background: #1c1726; }
.secondary:hover { background: #2d203e; border-color: #8453ac; }
.art-label { position: absolute; bottom: 18px; left: 38px; font-size: 7px; letter-spacing: 1.7px; color: #c6bdd3; z-index: 1; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #030305; }
.video-copy { position: absolute; top: 15px; left: 20px; padding: 0; max-width: 65%; pointer-events: none; }
.video-copy h2 { font-size: 23px; text-shadow: 0 2px 7px #000; }
.video-copy p, .video-copy a { display: none; }
.promo-stack { display: grid; grid-template-rows: repeat(3, 1fr); gap: 18px; }
.promo-banner { position: relative; min-height: 170px; overflow: hidden; border: 1px solid #3d3350; border-radius: 4px; }
.promo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 35%; transition: transform .5s; }
.promo-banner:hover img { transform: scale(1.045); }
.promo-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #130522e8, #220b2730 80%); }
.promo-2 .promo-shade { background: linear-gradient(90deg, #3d1405da, #46130700 95%); }
.promo-3 .promo-shade { background: linear-gradient(90deg, #2f103add, #1f083010 90%); }
.promo-copy { position: relative; padding: 24px; max-width: 65%; }
.promo-copy > p { margin: 0; color: #ded1ec; font-size: 7px; letter-spacing: 1.7px; }
.promo-copy h3 { font-size: 23px; line-height: 1.12; letter-spacing: -.7px; margin: 10px 0 15px; }
.promo-copy > span { font-size: 9px; color: #efe8f6; }
.promo-copy b { margin-left: 18px; font-size: 13px; font-weight: 400; }
.catalog-section { padding: 60px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.section-heading .eyebrow { color: #b478ed; margin-bottom: 8px; }
h2 { font-size: 29px; line-height: 1.2; letter-spacing: -.8px; margin: 0; }
h2 > span { color: var(--accent); }
.catalog-count { font-size: 8px; letter-spacing: 1.6px; color: #9791a6; padding-bottom: 5px; }
.catalog-note { font-size: 10px; line-height: 1.7; color: #a19aad; margin: 16px 0 24px; }
.catalog-tools { display: flex; align-items: center; gap: 15px; padding-bottom: 20px; }
.catalog-tools label { font-size: 10px; color: #b0a6bd; }
.catalog-tools input { background: #14121b; color: #eee9f5; border: 1px solid #332c3f; border-radius: 3px; padding: 9px 12px; max-width: 230px; font-size: 11px; }
.catalog-tools p { font-size: 10px; color: #c0b1d0; margin: 0; }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 23px; }
.concept-card { margin: 0; min-width: 0; }
.cover-art { aspect-ratio: 4 / 4.7; position: relative; overflow: hidden; border: 1px solid #38313e; border-radius: 3px; background: #17131d; }
.cover-art:after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #100819df, transparent 55%); pointer-events: none; }
.cover-art img { height: 100%; width: 100%; object-fit: cover; object-position: 68% center; transition: transform .5s; }
.concept-card:first-child img { object-position: 68% center; }
.concept-card:hover img { transform: scale(1.035); }
.cover-badge { position: absolute; right: 10px; top: 10px; color: #eee6f8; padding: 4px 6px; border: 1px solid #d3b5f559; background: #17101caa; font-size: 6px; letter-spacing: 1px; z-index: 1; }
.cover-title { position: absolute; bottom: 26px; left: 22px; right: 20px; font-family: Georgia, serif; font-size: 31px; line-height: 1.1; text-shadow: 0 2px 9px #000; z-index: 1; }
figcaption h3 { font-size: 12px; font-weight: 500; margin: 15px 0 4px; }
figcaption p { font-size: 7px; letter-spacing: 1.3px; color: #9c91a9; margin: 0; }
figcaption > span { display: inline-block; font-size: 9px; color: #c599ef; margin-top: 10px; }
.catalog-empty { display: flex; gap: 25px; border: 1px solid #352b42; background: #15121c; padding: 36px; margin-top: 25px; }
.catalog-empty h3 { margin: 0; font-size: 22px; font-weight: 500; }
.catalog-empty p { font-size: 12px; color: var(--muted); }
.empty-index { color: #9d64cf; font-size: 35px; }
.platforms { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 40px; padding: 40px 0 60px; border-top: 1px solid #292330; }
.platforms h2 { font-size: 27px; }
.platforms h3 { font-size: 17px; font-weight: 500; margin: 10px 0; }
.platforms p:not(.eyebrow) { font-size: 12px; color: var(--muted); max-width: 280px; }
.platforms article > span { color: #b678ee; font-size: 25px; line-height: 1; }
.store-page footer { padding: 30px 4.5%; border-top: 1px solid #292330; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
footer .brand { color: #c5b8d5; font-size: 11px; }
footer p, footer > a:last-child { color: #aca2b9; font-size: 10px; }
/* Creator space. */
.admin-page { background: #0e0d14; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 23px 4%; border-bottom: 1px solid var(--line); }
.admin-topbar nav { gap: 23px; font-size: 11px; }
.admin-topbar form { margin: 0; }
.admin-shell { max-width: 1440px; margin: auto; padding: 45px 4% 80px; }
.admin-page-heading { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 35px; }
.admin-page-heading h1 { font-size: 35px; line-height: 1.15; letter-spacing: -1px; margin: 12px 0; }
.admin-page-heading p:not(.eyebrow) { font-size: 12px; color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.stat-grid article { background: #17131f; border: 1px solid #372b45; padding: 24px; border-radius: 4px; }
.stat-grid article > span { font-size: 10px; color: #b8a9c9; }
.stat-grid strong { display: block; font-size: 38px; color: #e9d5ff; line-height: 1.3; margin: 10px 0; }
.stat-grid strong.stat-text { font-size: 25px; }
.stat-grid article p, .stat-grid article a { font-size: 11px; color: #ac9cbc; margin: 0; }
.stat-grid article a { color: #cca1f5; }
.admin-card { background: #16141e; border: 1px solid #302a3a; border-radius: 4px; padding: 25px; margin-bottom: 22px; }
.card-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.admin-card h2 { font-size: 20px; letter-spacing: -.5px; }
.admin-card p { font-size: 12px; color: var(--muted); }
.pill, .status-pill { display: inline-block; font-size: 9px; padding: 5px 10px; border: 1px solid #483455; background: #271c32; color: #d8b6f1; border-radius: 3px; white-space: nowrap; }
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 580px; border-collapse: collapse; text-align: left; font-size: 12px; }
th { color: #aba0b9; font-size: 10px; font-weight: 400; }
th, td { padding: 17px 12px; border-bottom: 1px solid #302936; }
.project-monogram { display: inline-grid; place-items: center; width: 30px; height: 34px; background: #3a244e; color: #d4b2ed; margin-right: 13px; font-family: Georgia, serif; }
.pagination { display: flex; gap: 25px; margin-top: 20px; font-size: 12px; }
.content-editor-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(250px, 1fr); gap: 26px; }
.content-form label, .media-sidebar label { display: block; font-size: 11px; color: #c3b8d1; margin: 20px 0 7px; }
.content-form input:not([type=checkbox]), .content-form select, .content-form textarea { display: block; width: 100%; background: #0f0e15; color: #f0eaf8; border: 1px solid #3a3047; border-radius: 3px; padding: 11px 12px; font-size: 12px; }
.content-form textarea { resize: vertical; }
.content-form fieldset { border: 1px solid #3c2e49; padding: 0 20px 20px; margin: 25px 0 0; }
.content-form legend { font-size: 11px; padding: 0 9px; color: #c99cf1; }
.admin-card .field-hint { font-size: 10px; line-height: 1.7; color: #b0a2bd; }
.checkbox-label { display: flex !important; align-items: center; gap: 12px; }
.checkbox-label input { accent-color: #a45cff; }
.save-bar { position: sticky; bottom: 15px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #21162ff5; border: 1px solid #533469; border-radius: 4px; padding: 15px 20px; box-shadow: 0 8px 24px #0008; }
.save-bar p { font-size: 10px; color: #c6b2d9; margin: 0; }
.success-notice { color: #c8e9c8; background: #18271c; border: 1px solid #38513d; padding: 14px 18px; font-size: 12px; }
.error-notice { color: #f3b9c3; background: #301822; border: 1px solid #6b3549; padding: 18px; font-size: 12px; }
.error-notice h2 { font-size: 16px; }
.media-sidebar .upload-zone { display: grid; justify-items: center; padding: 26px 15px; border: 1px dashed #6c478d; background: #20162c; text-align: center; cursor: pointer; }
.upload-zone > span { font-size: 28px; color: #c395ed; }
.upload-zone strong { font-size: 12px; font-weight: 500; }
.upload-zone small { font-size: 9px; margin-top: 5px; color: #baa4cb; }
.media-sidebar input[type=file] { font-size: 9px; width: 100%; color: #b8a8c7; }
.media-sidebar input[type=file]::file-selector-button { background: #31233f; color: #e6d4f5; border: 1px solid #593b72; padding: 6px 8px; font-size: 9px; }
.media-sidebar button { width: 100%; }
.file-preview { margin-top: 15px; overflow: hidden; border-radius: 3px; background: #08060c; }
.file-preview img, .file-preview video { width: 100%; max-height: 220px; object-fit: contain; }
.media-library { display: grid; gap: 18px; }
.media-library figure { margin: 0; padding-bottom: 15px; border-bottom: 1px solid #362a40; }
.media-library img, .media-library video { width: 100%; max-height: 185px; object-fit: contain; background: #09070e; }
.media-library figcaption { padding-top: 9px; font-size: 11px; overflow-wrap: anywhere; }
.media-library small { display: block; color: #a996ba; font-size: 9px; margin-top: 3px; }
.library-empty { font-size: 11px; line-height: 1.8; }
.auth-shell { width: min(460px, 100%); margin: 70px auto; padding: 30px; }
.auth-shell .brand { margin-bottom: 45px; }
.auth-shell h1 { font-size: 40px; line-height: 1.08; letter-spacing: -1.5px; }
.auth-shell > p { font-size: 12px; color: #b8a9c8; }
.auth-shell label { display: block; font-size: 11px; margin: 22px 0 7px; }
.auth-shell input { width: 100%; padding: 12px; border: 1px solid #44304f; border-radius: 3px; background: #17101e; color: #f3e9fb; }
.auth-shell button { width: 100%; margin-top: 25px; }
.auth-shell button:disabled { opacity: .5; cursor: not-allowed; }
.auth-shell .notice { padding: 13px; border: 1px solid #58335d; font-size: 11px; color: #deb8e5; background: #25132b; }
.hero-note { font-size: 10px; color: #aa99b9; }
/* Responsive composition. */
@media (min-width: 1600px) { .hero-copy h2 { font-size: 56px; } }
@media (max-width: 1050px) {
    .site-header nav { gap: 20px; }
    .brand { font-size: 11px; }
    .header-link { font-size: 10px; gap: 12px; }
    .featured-layout { grid-template-columns: 1.7fr 1fr; }
    .hero-copy { padding: 34px 26px; max-width: 375px; }
    .hero-copy h2 { font-size: 43px; }
    .promo-copy { padding: 20px 17px; max-width: 75%; }
    .promo-copy h3 { font-size: 21px; }
    .cover-title { font-size: 25px; left: 17px; bottom: 20px; }
    .game-grid { gap: 17px; }
    .admin-topbar { flex-wrap: wrap; }
    .content-editor-grid { grid-template-columns: 1.5fr 1fr; gap: 18px; }
}
@media (max-width: 760px) {
    .site-header { min-height: 72px; }
    .site-header nav { display: none; }
    .store-intro { padding: 25px 0; }
    .store-intro h1 { font-size: 29px; }
    .launch-badge { font-size: 8px; padding: 7px 9px; }
    .store-intro .eyebrow { font-size: 6px; letter-spacing: 1.6px; }
    .featured-layout { grid-template-columns: 1fr; }
    .feature-hero { min-height: 490px; }
    .hero-copy { max-width: 430px; }
    .hero-copy h2 { font-size: 48px; }
    .hero-copy > p:not(.eyebrow) { max-width: 280px; }
    .promo-stack { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; gap: 12px; }
    .promo-banner { min-height: 220px; }
    .promo-banner img { object-position: 75% center; }
    .promo-copy { max-width: 100%; padding: 17px 13px; }
    .promo-copy > p { font-size: 6px; letter-spacing: 1px; }
    .promo-copy h3 { font-size: 19px; margin-top: 75px; }
    .promo-shade, .promo-2 .promo-shade, .promo-3 .promo-shade { background: linear-gradient(0deg, #17091be8, #13081a05 90%); }
    .promo-copy > span { font-size: 8px; }
    .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 16px; }
    .cover-art { aspect-ratio: 4 / 4.7; }
    .cover-title { font-size: 29px; }
    .section-heading h2 { font-size: 25px; }
    .platforms { gap: 25px; }
    .platforms h2 { font-size: 23px; }
    .platforms h3 { font-size: 15px; }
    .platforms p:not(.eyebrow) { font-size: 11px; }
    .admin-topbar nav { order: 3; width: 100%; flex-wrap: wrap; }
    .admin-page-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .admin-page-heading h1 { font-size: 30px; }
    .stat-grid { grid-template-columns: 1fr; gap: 12px; }
    .stat-grid article { padding: 18px 22px; }
    .stat-grid strong { margin: 7px 0; font-size: 32px; }
    .content-editor-grid { grid-template-columns: 1fr; }
    .media-sidebar { grid-row: 1; }
    .media-library { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .media-library .library-empty { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
    .store-page main { padding: 0 5%; }
    .site-header { padding: 0 5%; gap: 12px; }
    .brand { font-size: 10px; letter-spacing: 1.1px; gap: 8px; }
    .brand-mark { font-size: 24px; }
    .header-link { font-size: 9px; padding: 8px; gap: 8px; }
    .store-intro { display: block; padding: 26px 0 22px; }
    .store-intro h1 { font-size: 34px; }
    .launch-badge { display: inline-flex; margin-top: 16px; }
    .feature-hero { min-height: 455px; }
    .hero-art { object-position: 64% center; }
    .hero-copy { padding: 35px 23px; max-width: 310px; }
    .hero-copy h2 { font-size: 40px; letter-spacing: -1.4px; }
    .hero-copy .eyebrow { font-size: 7px; }
    .hero-copy > p:not(.eyebrow) { font-size: 11px; max-width: 245px; }
    .hero-shade { background: linear-gradient(90deg, #05070bda, #08091075 65%, #07080a10), linear-gradient(0deg, #0b0c19a0, transparent); }
    .art-label { left: 23px; font-size: 6px; }
    .promo-stack { grid-template-columns: 1fr; gap: 12px; }
    .promo-banner { min-height: 165px; }
    .promo-copy { max-width: 65%; padding: 24px; }
    .promo-copy h3 { font-size: 24px; margin-top: 9px; }
    .promo-copy > p { font-size: 7px; }
    .promo-shade, .promo-2 .promo-shade, .promo-3 .promo-shade { background: linear-gradient(90deg, #17091be8, #13081a05 90%); }
    .catalog-section { padding: 40px 0; }
    .section-heading { align-items: flex-start; }
    .section-heading h2 { font-size: 24px; }
    .catalog-count { font-size: 6px; padding-top: 25px; }
    .catalog-note { font-size: 9px; }
    .catalog-tools { flex-wrap: wrap; gap: 8px; }
    .catalog-tools label { width: 100%; }
    .catalog-tools input { width: 100%; max-width: none; }
    .cover-title { font-size: 23px; left: 13px; right: 12px; bottom: 18px; }
    .cover-badge { font-size: 5px; right: 6px; top: 6px; }
    figcaption h3 { font-size: 10px; }
    figcaption p { font-size: 6px; line-height: 1.7; letter-spacing: .7px; }
    .platforms { grid-template-columns: 1fr; padding: 30px 0; gap: 20px; }
    .platforms article { border-top: 1px solid #2e2237; padding-top: 15px; }
    .platforms article > span { float: right; }
    .store-page footer { flex-wrap: wrap; gap: 10px; padding: 24px 5%; }
    footer p { width: 100%; order: 3; margin-bottom: 0; }
    .save-bar { flex-direction: column; align-items: stretch; bottom: 5px; }
    .save-bar .button { width: 100%; }
    .admin-card { padding: 20px; }
    .admin-topbar { gap: 18px; }
    .admin-topbar .button { font-size: 9px; padding: 9px 11px; }
    .admin-topbar nav { gap: 18px; font-size: 10px; }
    .card-heading { align-items: flex-start; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *:before, *:after { animation: none !important; transition: none !important; }
}

.published-games{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px;margin:24px 0}.published-game{border:1px solid #393943;border-radius:20px;background:#19191f;padding:26px}.published-game h3{font-size:28px;margin:15px 0}.published-game p{color:#bbbcc8;min-height:44px}.game-page{margin:0;height:100dvh;display:flex;flex-direction:column;background:#08090d}.game-toolbar{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:14px 24px;border-bottom:1px solid #30303a}.game-toolbar h1{font-size:20px;margin:0}.game-toolbar span{font-size:12px;color:#aaa}.game-frame{flex:1;min-height:0}.game-frame iframe{border:0;width:100%;height:100%;display:block}@media(max-width:640px){.game-toolbar{padding:10px;gap:8px;flex-wrap:wrap}.game-toolbar .brand{font-size:14px}.game-toolbar h1{font-size:16px}.game-toolbar .button{padding:8px;font-size:12px}}
