.player-shell { min-height: 100dvh; display: flex; flex-direction: column; background: #141d2b; }
.app-header { background: #111a29; border-bottom: 1px solid #39465c; }
.app-header-inner { max-width: 1248px; min-height: 72px; margin: auto; padding: 0 32px; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; width: 160px; max-height: 56px; }
.app-header nav { display: flex; align-self: stretch; gap: 8px; }
.app-header nav a { display: flex; align-items: center; padding: 0 16px; border-bottom: 3px solid transparent; text-decoration: none; color: var(--comic-muted); font-weight: 600; min-height: 44px; }
.app-header nav a:hover { color: #fff; background: #1d283b; }
.app-header nav a.active { color: #fff; border-color: var(--comic-blue); }
.app-label { margin-left: auto; color: #a5b4c9; font-size: 14px; }
main { width: calc(100% - 64px); max-width: 1184px; margin: 28px auto 48px; flex: 1; min-width: 0; }
main:focus { outline: none; }
.page-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 24px; }
.page-heading h1 { padding-left: 16px; border-left: 4px solid var(--comic-blue); }
.page-heading p { margin: 8px 0 0 20px; font-size: 15px; }
.player-footer { width: calc(100% - 64px); max-width: 1184px; margin: 0 auto; border-top: 1px solid #354157; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; color: #a5b4c9; font-size: 14px; }
.skip-link { position: fixed; top: -100px; left: 12px; padding: 12px; background: var(--comic-yellow); color: #000 !important; z-index: 100; }
.skip-link:focus { top: 12px; }
#blazor-error-ui { display: none; position: fixed; inset-inline: 0; bottom: 0; background: #692e1d; padding: 16px; z-index: 100; }
.supporting, .muted { color: var(--comic-muted); font-size: 14px; }
.eyebrow { display: block; color: #9eb9d9; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; font-weight: 650; }
.text-link { color: #b5d9ff !important; text-underline-offset: 4px; }
.quiet-button { min-height: 44px; background: transparent; border: 1px solid #566780; color: #e5edf8; padding: 8px 14px; cursor: pointer; }
.quiet-button:hover { background: #2a384c; }
.identity-row, .section-heading, .form-actions, .id-value { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.identity-row h2 { font: 650 24px/1.3 var(--comic-body-font); margin: 0 0 4px; }
.id-value { justify-content: flex-start; gap: 12px; }
.id-value code { font: 14px/1.5 ui-monospace, monospace; overflow-wrap: anywhere; }
.id-caption { display: block; color: var(--comic-muted); font-size: 14px; }
.id-copy-status { min-width: 50px; color: #addcb3; font-size: 14px; }
.summary-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 20px 0; margin: 24px 0 32px; border-block: 1px solid #43516a; }
.summary-strip .comic-metric { padding: 0 24px; border-right: 1px solid #43516a; }
.summary-strip .comic-metric:first-child { padding-left: 0; }
.summary-strip .comic-metric:last-child { border: 0; }
.section-heading { margin: 24px 0 16px; }
.section-heading h2 { margin: 0; }
.overview-tops { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.top-summary { display: block; text-decoration: none; padding: 20px; border: 1px solid #43516a; background: #1d283b; }
.top-summary:hover { border-color: var(--comic-blue); background: #26364b; }
.top-summary h3 { margin: 0 0 8px; font: 650 18px/1.4 var(--comic-body-font); }
.mini-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; color: var(--comic-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.mini-stats b { color: #f2f6fd; font-weight: 600; margin-left: 3px; }
.setup-callout { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-left: 3px solid var(--comic-yellow); background: #263245; padding: 16px; margin-top: 20px; }
.welcome { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 24px 0 40px; }
.welcome h1 { font-size: clamp(32px,3.5vw,48px); margin: 16px 0; }
.welcome-copy > p { max-width: 420px; font-size: 19px; margin: 0 0 24px; }
.welcome-copy > .supporting { font-size: 14px; margin-top: 14px; }
.featured-top { border: 1px solid #43516a; padding: 20px; background: #19212e; }
.featured-top .top-preview { height: 340px; }
.welcome-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; padding-top: 32px; border-top: 1px solid #43516a; }
.welcome-features p { margin-bottom: 0; font-size: 15px; }
.inventory-toolbar { display: flex; align-items: center; justify-content: space-between; margin: -8px 0 20px; gap: 12px; }
.inventory-workspace { display: grid; grid-template-columns: 272px minmax(0,1fr); gap: 24px; align-items: start; }
.collection-list { min-width: 0; border: 1px solid #43516a; background: #1a2536; }
.collection-tools { padding: 16px; border-bottom: 1px solid #43516a; }
.collection-tools label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.collection-search { display: flex; gap: 8px; }
.collection-search input { min-width: 0; width: 100%; min-height: 44px; border: 1px solid #71829a; background: #111a29; color: #fff; padding: 8px 10px; }
.collection-search button { padding-inline: 10px; }
.collection-filters { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
.collection-filters button { min-height: 44px; font-size: 14px; background: transparent; border: 0; border-bottom: 3px solid transparent; padding: 6px 8px; color: #bdc9da; cursor: pointer; }
.collection-filters button[aria-pressed=true] { color: #fff; border-color: var(--comic-blue); }
.inventory-list { max-height: 600px; overflow-y: auto; padding: 4px; }
.inventory-card { display: block; position: relative; text-align: left; width: 100%; min-height: 92px; padding: 14px 12px; border: 0; border-left: 3px solid transparent; border-bottom: 1px solid #354157; background: transparent; color: #fff; cursor: pointer; text-decoration: none; }
.inventory-card:hover { background: #26364b; }
.inventory-card.selected { border-left-color: var(--comic-blue); background: #2a384c; }
.inventory-card strong { display: block; font-size: 16px; line-height: 1.4; padding-right: 20px; overflow-wrap: anywhere; }
.inventory-card .row-meta { display: block; color: #bdc9da; font-size: 14px; margin-top: 4px; }
.row-check { position: absolute; top: 14px; right: 10px; color: #9bcaff; }
.inventory-detail { min-width: 0; background: #1d283b; border: 1px solid #43516a; padding: 20px; }
.top-heading { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: start; gap: 8px; margin-bottom: 12px; }
.top-heading h2 { margin: 0; font-size: 24px; }
.top-heading p { font-size: 14px; margin: 4px 0 0; }
.preview-tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid #43516a; }
.preview-tabs button { min-height: 44px; padding: 8px 14px; background: transparent; color: #bdc9da; border: 0; border-bottom: 3px solid transparent; cursor: pointer; }
.preview-tabs button[aria-pressed=true] { border-color: var(--comic-blue); color: #fff; background: #26364b; }
.top-inspector { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(160px,1fr); gap: 20px; }
.top-preview { position: relative; min-width: 0; height: 360px; background: #19212e; overflow: hidden; }
.top-preview canvas { display: block; width: 100%; height: 100%; }
.top-preview .comic-notice { position: absolute; inset-inline: 12px; top: 12px; }
.top-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0; align-content: start; }
.top-details .comic-metric { border-bottom: 1px solid #43516a; padding-bottom: 16px; }
.top-inspector .top-details { grid-template-columns: 1fr; gap: 12px; }
.secondary-stats, .build-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 20px 0 0; }
.secondary-stats .comic-metric dd { font-size: 20px; }
.build-details { padding-top: 16px; border-top: 1px solid #43516a; }
.build-details dt { color: #bdc9da; font-size: 14px; }
.build-details dd { margin: 4px 0 0; font-size: 15px; }
.mobile-back { display: none; }
.account-workspace { display: grid; grid-template-columns: minmax(0,640px) minmax(240px,1fr); gap: 24px; align-items: start; }
.account-form .comic-field { margin: 20px 0; }
.account-form input { width: 100%; }
.form-actions { justify-content: flex-start; margin-top: 20px; }
.form-feedback { min-height: 24px; margin: 12px 0 0; font-size: 15px; color: #addcb3; }
.field-error { color: #ffb894; }
.account-context .id-value { display: block; }
.account-context .id-value button { margin: 12px 8px 0 0; }
.account-session { border-top: 1px solid #43516a; margin-top: 24px; padding-top: 20px; }
.account-session p { font-size: 14px; }
.account-signout { min-height: 44px; padding: 8px 14px; border: 1px solid #71829a; background: transparent; color: #fff; cursor: pointer; }
.skeleton { height: 20px; background: #2a384c; margin: 12px 0; max-width: 340px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.palette-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.palette-swatch { height: 44px; margin-bottom: 8px; border: 1px solid #000; }
.spec-label { font-size: 14px; color: var(--comic-muted); }
@media(max-width:1099px) { .app-header-inner { gap: 24px; } main,.player-footer { width: calc(100% - 48px); } .inventory-workspace { grid-template-columns: 224px minmax(0,1fr); } .top-inspector { grid-template-columns: minmax(0,1fr); } .top-inspector .top-details { grid-template-columns: repeat(3,minmax(0,1fr)); } .top-preview { height: 320px; } .account-workspace { grid-template-columns: minmax(0,1.7fr) minmax(220px,1fr); } }
@media(max-width:767px) {
 .app-header-inner { padding: 0 16px; display: grid; grid-template-columns: 1fr; gap: 0; }
 .brand { height: 56px; } .brand img { width: 136px; max-height: 48px; }
 .app-header nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; }
 .app-header nav a { justify-content: center; min-height: 44px; padding: 8px; font-size: 15px; }
 .app-label { display: none; } main { width: calc(100% - 32px); margin-top: 24px; }
 .player-footer { width: calc(100% - 32px); font-size: 14px; flex-wrap: wrap; }
 .page-heading { margin-bottom: 20px; } .page-heading p { margin-left: 0; }
 .identity-row { align-items: start; } .id-value { gap: 8px; }
 .summary-strip { gap: 20px 16px; grid-template-columns: repeat(2,minmax(0,1fr)); }
 .summary-strip .comic-metric { padding: 0; border: 0; }
 .summary-strip .comic-metric:last-child { grid-column: 1/-1; }
 .overview-tops,.welcome-features { grid-template-columns: minmax(0,1fr); }
 .welcome { grid-template-columns: minmax(0,1fr); gap: 24px; padding-top: 0; }
 .featured-top .top-preview { height: 260px; } .welcome-features { gap: 24px; }
 .inventory-workspace { grid-template-columns: minmax(0,1fr); gap: 0; }
 .inventory-list { max-height: none; } .inventory-card { min-height: 96px; }
 .inventory-workspace:not(.mobile-detail) .inventory-detail { display: none; }
 .inventory-workspace.mobile-detail .collection-list { display: none; }
 .inventory-detail { padding: 16px; } .top-preview { height: 280px; }
 .mobile-back { display: inline-flex; margin-bottom: 16px; align-items: center; }
 .preview-tabs button { flex: 1; padding-inline: 8px; }
 .top-details .comic-metric dd { font-size: 24px; } .top-details .comic-metric dt { font-size: 13px; }
 .account-workspace { grid-template-columns: minmax(0,1fr); }
 .gallery-grid { grid-template-columns: minmax(0,1fr); }
 .setup-callout { align-items: start; flex-direction: column; }
}
@media(prefers-reduced-motion:no-preference) { .inventory-detail,.account-workspace { animation: panel-enter 140ms ease-out; } @keyframes panel-enter { from { opacity: .6; transform: translateY(4px); } to { opacity: 1; transform: none; } } }

.page-heading h1:focus, .welcome h1:focus, .top-heading h2:focus { outline: none; }
.account-identity { margin-top: 24px; }

.quiet-button:disabled { color: #8594aa; border-color: #43516a; cursor: not-allowed; background: transparent; }

.preview-loading { position: absolute; left: 16px; top: 16px; color: var(--comic-muted); font-size: 14px; }
.page-heading { flex-wrap: wrap; }
.gallery-grid > *, .palette-grid > * { min-width: 0; }
.palette-grid strong, .palette-grid code { overflow-wrap: anywhere; font-size: 14px; }
@media(max-width:767px) { .palette-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }

/* The arena and comic framing belong to the shell; content stays aligned. */
.player-shell { position: relative; isolation: isolate; background: #0e1a29; }
.player-shell::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .2; background: repeating-linear-gradient(78deg, transparent 0 21px, #3c607d 21px 29px, transparent 29px 54px); mask-image: linear-gradient(90deg,#000,transparent 16%,transparent 84%,#000); }
.app-header { border-bottom: 3px solid #05090f; background: #0c1522; box-shadow: 0 4px #22374b; }
.app-header-inner { min-height: 84px; gap: 40px; }
.brand img { width: 184px; max-height: 72px; }
.app-header nav { align-items: center; gap: 12px; }
.app-header nav a { position: relative; isolation: isolate; padding: 12px 20px; min-height: 48px; font: 18px/1.3 var(--comic-font); border: 0; color: #d1deee; text-shadow: 2px 2px #000; }
.app-header nav a::before { content: ''; position: absolute; inset: 2px 0; z-index: -1; background: #233549; clip-path: polygon(5% 0,100% 0,95% 100%,0 100%); }
.app-header nav a:hover { background: transparent; color: #fff; }
.app-header nav a:hover::before { background: #344b63; }
.app-header nav a.active::before { background: var(--comic-blue); background-image: radial-gradient(#0004 1px,transparent 1px); background-size: 5px 5px; }
.app-header nav a.active { color: #fff; filter: drop-shadow(3px 4px #000); }
.app-label { font-size: 11px; letter-spacing: .12em; font-weight: 750; }
.app-label span { color: var(--comic-yellow); padding-inline: 6px; }
main { margin-top: 32px; }
.page-heading h1 { display: inline-block; position: relative; isolation: isolate; border: 0; padding: 10px 24px 12px; margin: 0; font-size: 30px; }
.page-heading h1::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--comic-blue); background-image: radial-gradient(#0004 1px,transparent 1px); background-size: 5px 5px; clip-path: polygon(3% 0,98% 0,100% 100%,0 94%); }
.page-heading h1 { filter: drop-shadow(5px 5px #000); }
.page-heading p { margin: 16px 0 0; }
.eyebrow { color: var(--comic-yellow); font: 13px/1.4 var(--comic-font); letter-spacing: .07em; }
.quiet-button, .account-signout { border: 2px solid #05090f; box-shadow: 3px 3px #05090f; background: #2a384c; font-size: 14px; }
.quiet-button:disabled { box-shadow: none; border-color: #42516a; }
.text-link { font-weight: 650; }
.player-footer { border-top: 2px solid #30465d; }
.comic-scene { position: relative; min-width: 0; margin: 0; background: #182535; border: 4px solid #05090f; box-shadow: 7px 7px #05090f; overflow: hidden; }
.comic-scene > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.comic-scene figcaption { position: absolute; bottom: 0; left: 0; max-width: calc(100% - 20px); padding: 10px 22px 12px 14px; background: var(--comic-yellow); color: #05090f; clip-path: polygon(0 0,100% 0,94% 100%,0 100%); font: 20px/1.2 var(--comic-font); }
.welcome { grid-template-columns: minmax(0,.85fr) minmax(0,1.4fr); gap: 32px; padding: 16px 0 36px; }
.welcome h1 { font-size: clamp(56px,6.5vw,88px); line-height: .98; margin: 20px 0 24px; max-width: 400px; transform: rotate(-2deg); }
.welcome h1 em { display: block; color: var(--comic-yellow); font-style: normal; }
.welcome-copy > p { font-size: 19px; line-height: 1.6; margin-bottom: 22px; }
.welcome-copy > .supporting { font-size: 13px; }
.welcome-copy > .comic-button { min-width: 164px; font-size: 22px !important; min-height: 56px; }
.welcome-art { height: 430px; transform: rotate(1deg); }
.welcome-art > img { object-position: 50% 48%; }
.welcome-art figcaption { bottom: 28px; font-size: 24px; transform: rotate(-3deg); }
.scene-motion > summary { position: absolute; top: 16px; right: 16px; z-index: 4; list-style: none; padding: 12px 14px; min-height: 44px; color: #fff; background: #102033; border: 2px solid #05090f; box-shadow: 3px 3px #05090f; font: 14px/1.5 var(--comic-body-font); cursor: pointer; }
.scene-motion > summary::-webkit-details-marker { display: none; }
.motion-play > span { color: var(--comic-yellow); margin-right: 8px; }
.motion-close, .scene-motion[open] .motion-play { display: none; }
.scene-motion[open] .motion-close { display: inline; }
.scene-motion video { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; background: #05090f; object-fit: contain; }
.welcome-lower { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 28px; padding-bottom: 12px; }
.featured-top { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; padding: 20px; border: 3px solid #05090f; box-shadow: 5px 5px #05090f; background: #1d2d40; }
.feature-copy h2 { font-size: 26px; margin: 10px 0 12px; }
.feature-copy p { font-size: 14px; }
.featured-top .top-preview { height: 220px; background: transparent; border: 0; }
.burst-scene { height: 264px; }
.burst-scene > img { object-position: 50% 36%; }
.burst-scene figcaption { background: #e96a36; color: #fff; text-shadow: 2px 2px #000; }
.player-masthead { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.4fr); gap: 24px; min-height: 220px; margin-bottom: 32px; background: #17283b; border: 3px solid #05090f; box-shadow: 6px 6px #05090f; }
.masthead-copy { padding: 30px; align-self: center; }
.player-masthead h1 { font-size: clamp(32px,4vw,50px); margin: 12px 0; }
.player-masthead p { font-size: 14px; margin: 0; }
.player-masthead .comic-scene { height: 220px; border: 0; border-left: 4px solid #05090f; box-shadow: none; }
.player-masthead img { object-position: 50% 45%; }
.player-masthead figcaption { font-size: 18px; }
.identity-row { padding: 20px 24px; background: #192b3e; border: 3px solid #05090f; box-shadow: 4px 4px #05090f; }
.identity-row h2 { font-family: var(--comic-font); font-size: 26px; font-weight: normal; }
.summary-strip { margin-top: 28px; padding: 20px 24px; background: #192b3e; border: 3px solid #05090f; box-shadow: 4px 4px #05090f; }
.summary-strip .comic-metric dt { font: 15px/1.4 var(--comic-font); }
.summary-strip .comic-metric dd { color: var(--comic-yellow); }
.section-heading h2 { font-size: 26px; }
.top-summary { position: relative; padding: 24px; border: 3px solid #05090f; border-top: 7px solid var(--type-color, #31bfda); background: #223247; box-shadow: 5px 5px #05090f; }
.type-attack { --type-color: #ed703b; }.type-defense { --type-color: #3a95ef; }.type-stamina { --type-color: #5cc576; }
.top-summary:hover { border-color: #05090f; border-top-color: var(--type-color, #31bfda); background: #2a3f55; }
.top-summary h3 { font: 23px/1.3 var(--comic-font); padding-right: 20px; }
.top-card-mark { display: block; width: 46px; height: 46px; margin-bottom: 20px; font: 32px/1.25 system-ui; color: var(--type-color, #31bfda); }
.mini-stats { padding-top: 16px; margin-top: 16px; border-top: 2px solid #111a27; }
.collection-list, .inventory-detail { border: 3px solid #05090f; box-shadow: 5px 5px #05090f; }
.collection-list { background: #182b3d; }
.collection-tools { border-bottom: 3px solid #05090f; }
.collection-tools label { font: 16px/1.3 var(--comic-font); }
.collection-search input { border: 2px solid #05090f; font-size: 15px; }
.collection-filters button { font-size: 13px; }
.collection-filters button[aria-pressed=true] { border-color: var(--comic-yellow); color: var(--comic-yellow); }
.inventory-list { padding: 8px; }
.inventory-card { min-height: 96px; margin-bottom: 8px; border: 2px solid #05090f; background: #26394e; box-shadow: 3px 3px #05090f; padding: 14px 12px; }
.inventory-card:last-child { margin-bottom: 0; }
.inventory-card strong { font: 19px/1.3 var(--comic-font); text-shadow: 2px 2px #000; }
.inventory-card .row-meta { font-size: 13px; }
.inventory-card.selected { border-color: var(--comic-yellow); background: #2a4258; }
.row-check { color: var(--comic-yellow); }
.inventory-detail { background: #1d2d40; }
.top-heading { margin-bottom: 20px; }
.top-heading h2 { font-size: 28px; }
.preview-tabs { gap: 8px; border: 0; }
.preview-tabs button { position: relative; min-height: 44px; font: 16px/1.4 var(--comic-font); padding: 10px 16px; color: #d5dfeb; background: #304258; border: 2px solid #05090f; box-shadow: 3px 3px #05090f; }
.preview-tabs button[aria-pressed=true] { background: var(--comic-blue); color: #fff; border-color: #05090f; text-shadow: 2px 2px #000; }
.top-inspector > .top-preview { border: 2px solid #05090f; background: #152333; }
.top-details .comic-metric { border: 0; }
.top-details .comic-metric:nth-child(1) { --stat-color: #ed703b; }.top-details .comic-metric:nth-child(2) { --stat-color: #3a95ef; }.top-details .comic-metric:nth-child(3) { --stat-color: #5cc576; }
.secondary-stats { --stat-color: #dec63c; }
.build-details { border-color: #3b526a; }
@media(max-width:1099px) {
 .app-header-inner { gap: 24px; }.app-label { display: none; }
 .welcome { grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: 24px; }.welcome h1 { font-size: 64px; }.welcome-art { height: 380px; }
 .welcome-lower { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); }.featured-top { grid-template-columns: minmax(0,1fr); padding: 20px; }.featured-top .top-preview { height: 180px; }.burst-scene { height: 100%; min-height: 300px; }
}
@media(max-width:767px) {
 .app-header-inner { gap: 0; }.brand { height: 70px; }.brand img { width: 164px; max-height: 62px; }
 .app-header nav { gap: 8px; padding-bottom: 10px; }.app-header nav a { font-size: 15px; min-height: 44px; padding: 10px 6px; }
 main { margin-top: 24px; }.page-heading h1 { font-size: 28px; }.page-heading p { font-size: 14px; }
 .welcome { grid-template-columns: minmax(0,1fr); gap: 28px; padding-top: 0; }.welcome h1 { font-size: 64px; max-width: none; margin: 12px 0 20px; }.welcome h1 em { display: inline; }
 .welcome-copy > p { font-size: 17px; }.welcome-art { height: 300px; transform: none; }.welcome-art figcaption { bottom: 20px; font-size: 21px; }
 .welcome-lower { grid-template-columns: minmax(0,1fr); gap: 24px; }.featured-top { grid-template-columns: minmax(0,1fr) minmax(0,1fr); padding: 16px; }.feature-copy h2 { font-size: 23px; }.featured-top .top-preview { height: 220px; }.feature-copy .supporting { font-size: 12px; }.burst-scene { min-height: 0; height: 230px; }
 .player-masthead { grid-template-columns: minmax(0,1fr); gap: 0; margin-bottom: 24px; }.masthead-copy { padding: 20px; }.player-masthead h1 { font-size: 34px; }.player-masthead .comic-scene { height: 170px; border-left: 0; border-top: 3px solid #05090f; }
 .identity-row { padding: 16px; }.summary-strip { padding: 16px; }.summary-strip .comic-metric:last-child { grid-column: auto; }
 .summary-strip .comic-metric dt { font-size: 14px; }.summary-strip .comic-metric dd { font-size: 28px; }
 .top-details .comic-metric dd { font-size: 28px; }.comic-stat-track { margin-top: 8px; }.top-heading h2 { font-size: 25px; }
 .secondary-stats { gap: 12px; }.secondary-stats .comic-metric dt { font-size: 12px; }.secondary-stats .comic-metric dd { font-size: 22px; }
 .top-summary { padding: 20px; }.top-card-mark { margin-bottom: 12px; }
}
@media(prefers-reduced-motion:no-preference) {
 .welcome-copy, .welcome-art { animation: comic-arrive 220ms ease-out both; }.welcome-art { animation-delay: 60ms; }
 @keyframes comic-arrive { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
}

.player-masthead h1:focus { outline: none; }
@media(max-width:767px) {
 .preview-tabs button { font-size: 14px; padding: 10px 8px; white-space: nowrap; }
 .account-form .form-actions { gap: 12px; }
 .account-form .comic-button { font-size: 16px !important; padding-inline: 14px; }
}
@media(max-width:767px) {
 .featured-top { grid-template-columns: minmax(0,1fr); }
 .feature-copy h2 { margin-bottom: 8px; }
 .featured-top .top-preview { height: 220px; }
 .welcome-art { height: 344px; padding-top: 48px; }
 .welcome-art .scene-motion > summary { top: 0; right: 0; left: 0; border-width: 0 0 3px; box-shadow: none; text-align: right; }
}

.top-thumbnail { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; min-width: 0; overflow: hidden; background: #142335; }
.top-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; }
.thumbnail-placeholder { padding: 12px; color: #9fb0c4; font-size: 12px; }
.top-summary > .top-thumbnail { height: 164px; aspect-ratio: auto; margin-bottom: 20px; border: 2px solid #05090f; }
.thumbnail-renderer { position: fixed; left: -10000px; top: 0; width: 320px; height: 240px; pointer-events: none; }
.thumbnail-renderer .top-preview { width: 320px; height: 240px; }
.inventory-card { display: flex; align-items: center; gap: 10px; }
.inventory-card > .top-thumbnail { width: 72px; height: 60px; flex: 0 0 72px; }
.inventory-card-copy { min-width: 0; }
.inventory-card strong { font-size: 17px; }
.inventory-card .row-meta { font-size: 12px; }
.inventory-card .thumbnail-placeholder { font-size: 10px; padding: 4px; }
@media(max-width:1099px) and (min-width:768px) { .inventory-card { flex-direction: column; align-items: stretch; }.inventory-card > .top-thumbnail { width: 100%; height: 84px; flex-basis: 84px; } }
@media(max-width:767px) { .inventory-card > .top-thumbnail { width: 88px; height: 72px; flex-basis: 88px; }.inventory-card strong { font-size: 19px; } }
.top-thumbnail { position: relative; display: block; }
.top-thumbnail img { position: absolute; inset: 0; min-width: 0; min-height: 0; }
.thumbnail-placeholder { display: grid; place-items: center; width: 100%; height: 100%; }
.top-summary > .top-thumbnail img { object-fit: cover; }
.community-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.community-card { min-width: 0; border: 3px solid #05090f; background: #223247; box-shadow: 5px 5px #05090f; padding: 16px; }
.community-top-link { display: block; text-decoration: none; }
.community-top-link h3 { margin: 12px 0; font: 23px/1.3 var(--comic-font); }
.community-top-link .top-thumbnail { height: 180px; aspect-ratio: auto; }.community-top-link .top-thumbnail img { object-fit: cover; }
.community-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.community-card-footer a { overflow-wrap: anywhere; color: #c8e3ff; font-size: 14px; }
.like-button { min-width: 60px; }.like-button[aria-pressed=true] { color: #ffdc35; }.like-button span { font-size: 20px; }
.community-toolbar,.profile-heading,.profile-friend-actions,.friend-request { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.profile-heading { margin-top: 24px; }.profile-heading h1 { font-size: 34px; margin: 0; }.profile-friend-actions { margin: 0; justify-content: flex-start; }
.community-inspector { border: 3px solid #05090f; box-shadow: 5px 5px #05090f; background: #1d2d40; padding: 20px; margin-bottom: 24px; }
.privacy-panel { margin-top: 24px; }.friend-request { border: 3px solid #05090f; background: #223247; padding: 16px; }.friend-request > div { display: flex; gap: 16px; align-items: center; }.load-more { margin-top: 24px; }
@media(max-width:1099px) { .app-header-inner { gap: 20px; }.app-header nav { gap: 8px; }.app-header nav a { padding-inline: 12px; }.community-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:767px) { .app-header nav { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; }.app-header nav a { padding-inline: 2px; font-size: 12px; }.community-grid { grid-template-columns: minmax(0,1fr); }.community-inspector { padding: 16px; }.welcome h1 { font-size: 48px; }.community-card-footer { gap: 8px; } }
.welcome h1 { font-size: clamp(44px,5vw,64px); }
@media(max-width:767px) { .welcome h1 { font-size: 44px; } }
.friend-request > a, .profile-heading > div { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
@media(max-width:767px) { .app-header nav a { font-size: 13px; } }
.like-button[aria-disabled=true] { opacity: .6; cursor: wait; }
