/* SizeVS: the approved cream collection card is the product's visual base. */
:root {
  color-scheme: light;
  --bg: #f4f1e8;
  --fg: #30463b;
  --muted: #5f6b59;
  --accent: #82672c;
  --action: #30463b;
  --action-ink: #fffcf4;
  --daily: #e7c266;
  --daily-soft: #f6e9c2;
  --competitive: #5c688c;
  --competitive-soft: #e8ebf3;
  --collection-charcoal: #242824;
  --accent-hover: #3d584a;
  --accent-soft: #30463b12;
  --accent-line: #30463b30;
  --accent-ink: #fffcf4;
  --paper: #fffcf4;
  --line: #30463b22;
  --ink-soft: #7a8574;
}
body { background: var(--bg); background-attachment: initial; }
::selection { background: #e5ca78; color: #30463b; }
.shell { max-width: 1392px; padding: 0 42px; }
main { justify-content: flex-start; }
.app-header { height: 100px; border-color: var(--line); }
.app-header .brand { display: flex; width: max-content; align-items: center; }
.sizevs-wordmark { display: block; width: 120px; height: 36px; object-fit: contain; }
.app-header .brand::before, .brand-mark, .brand-dot, .pack-mark, .pack-sequence { display: none; }
.app-header nav { gap: 32px; }
.app-header nav button { font-size: 15px; color: var(--muted); font-weight: 500; }
.app-header nav button[aria-current=page] { color: var(--fg); }
.app-header nav button[aria-current=page]::after { height: 2px; background: var(--fg); }
.header-tools { gap: 18px; }
.language-picker select { color: var(--muted); color-scheme: light; }
.language-picker select option { background: var(--paper); color: var(--fg); }
.points { color: var(--fg); font-size: 15px; }
#account-button { background: transparent; color: var(--fg); border-color: #30463b3b; border-radius: 9px; }
#account-button:hover { background: #30463b07; }
.hub-view { max-width: 1120px; margin: 44px auto; }
.daily-view { display: block; max-width: 1120px; min-height: 0; margin: 22px auto 36px; }
.daily-copy h1 { color: var(--fg); font-weight: 550; letter-spacing: -.055em; }
.daily-description, .hub-heading>p:last-child, .hub-note { color: var(--muted); }
.hub-heading h1 { font-size: 42px; font-weight: 550; }
.hub-overline, .overline { color: var(--muted); }
.quiz-hero .hub-overline { color: var(--muted); }
.primary, .secondary, .quiz-choice>button, .category-card.collectible-pack .secondary,
.category-card.collectible-pack[data-locked=false] .secondary, .owned-pack-card.collectible-pack .secondary {
  background: var(--action); color: var(--action-ink); border: 1px solid var(--action);
  border-radius: 9px; font-weight: 550; box-shadow: none;
}
.primary:hover, .secondary:hover, .quiz-choice>button:hover,
.category-card.collectible-pack .secondary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.quiet, .pack-practice { color: var(--muted); }
.quiet:hover, .pack-practice:hover { color: var(--fg); }
.section-heading h2, .discovery-heading h2, .bonus-heading h2 { font-weight: 550; }
.quiz-choice-list { gap: 24px; }
.quiz-choice {
  background: var(--paper); border: 1px solid #ffffffa8; border-radius: 16px;
  box-shadow: inset 0 0 0 1px #30463b05, 0 12px 26px #37433207;
  padding: 30px; min-height: 207px;
}
.quiz-choice:hover { background: #f4f0e3; border-color: #fffdf3; }
.quiz-choice h3 { color: var(--fg); font-weight: 550; }
.quiz-choice p:not(.hub-overline), .quiz-choice span:not(.choice-number) { color: var(--muted); }
.choice-number { color: #30463b; opacity: .10; }
.daily-choice, .competitive-choice { background: var(--paper); }
.daily-choice .hub-overline, .competitive-choice .hub-overline { color: var(--muted); }
.quiz-library, .discovery-section, .bonus-section { border-color: var(--line); }
.library-empty { border-color: var(--line); background: #f0ece06b; border-radius: 12px; }
.library-empty p { color: var(--fg); }
.library-empty span, .inventory-note, .discovery-heading p, .bonus-heading p { color: var(--muted); }
.category-atmosphere { height: min(100%, 100vh); max-height: 100vh; height: min(100%, 100svh); max-height: 100svh; opacity: .22; }

/* A series is a compact shelf entry, not a second collectible card. */
#categories-view { margin-top: 42px; }
#unlock-note { max-width: 680px; line-height: 1.7; }
.collection-shelf-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 32px 0 24px; }
.collection-filter { display: flex; gap: 24px; border-bottom: 1px solid var(--line); }
.collection-filter button { position: relative; padding: 12px 0; background: none; border: 0; border-radius: 0; color: var(--muted); font-size: 16px; }
.collection-filter button[aria-pressed=true] { color: var(--fg); }
.collection-filter button[aria-pressed=true]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--fg); }
.collection-total { color: var(--muted); font-size: 14px; }
#category-list, .owned-pack-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; padding: 0; }
.series-tile { overflow: hidden; border: 1px solid #fffdf199; border-radius: 18px; background: var(--paper); box-shadow: 0 8px 24px #30463b06; }
.series-open { width: 100%; display: grid; grid-template-columns: 46% 1fr; align-items: center; gap: 10px; padding: 22px 24px 18px; color: var(--fg); background: transparent; border: 0; border-radius: 0; text-align: left; min-height: 194px; }
.series-open:hover { background: #ffffff20; }
.series-art { width: 100%; height: 156px; }
.series-art canvas { display: block; width: 100%; height: 100%; }
.series-art canvas[data-mirrored=true],
.collection-art canvas[data-mirrored=true],
.collection-peek-art canvas[data-mirrored=true],
.collection-thumbnail canvas[data-mirrored=true] { transform: scaleX(-1); }
.series-copy { min-width: 0; padding-left: 8px; }
.series-copy h3 { margin: 0 0 11px; color: var(--fg); font-size: 28px; line-height: 1.25; font-weight: 550; letter-spacing: -.04em; }
.series-count { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); font-weight: 400; }
.series-meter { display: block; height: 3px; margin-top: 18px; max-width: 144px; border-radius: 2px; background: #30463b12; overflow: hidden; }
.series-meter span { display: block; height: 100%; background: #788673; border-radius: 2px; }
.series-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #30463b0c; margin: 0 24px; padding: 16px 0; }
.series-status { color: var(--muted); font-size: 13px; line-height: 1.4; }
.series-action.secondary { padding: 10px 15px; min-height: 42px; font-size: 14px; white-space: normal; line-height: 1.35; }
.collection-empty { border: 1px solid var(--line); border-radius: 18px; padding: 66px 24px; text-align: center; background: #f1eddf50; }
.collection-empty h2 { margin: 0; font-size: 25px; font-weight: 500; color: var(--fg); }
.collection-empty p { margin: 14px 0 28px; font-size: 15px; color: var(--muted); }
.collection-empty .primary { padding: 13px 24px; }
.collection-dialog .collection-heading { margin: 0; }
.series-open:focus-visible { outline: 2px solid var(--fg); outline-offset: -5px; border-radius: 17px; }
.discovery-card { border-color: #fffaf0; background: var(--paper); border-radius: 14px; }
.discovery-card h3, .discovery-count { color: var(--fg); }
.discovery-card p, .discovery-ready { color: var(--muted); }
.discovery-art { background: transparent; }
.discovery-art::after, .discovery-art::before { opacity: .15; }
.bonus-card, .bonus-list>article { background: #f1eddf85; border-color: var(--line); }
.bonus-card h3, .bonus-value, .bonus-points { color: var(--fg); }
.bonus-card p, .bonus-card span { color: var(--muted); }
.bonus-card button { color: var(--fg); }

/* Gameplay keeps the same interaction and objects, on the same paper ground. */
.play-heading { border-color: var(--line); }
.play-heading span, .question .overline, #count, #category, .hint, #answer-note, #source { color: var(--muted); }
.question h1 { color: var(--fg); font-weight: 550; }
.scale-control button { color: var(--fg); }
.scale-control input::-webkit-slider-runnable-track { background: #30463b33; }
.scale-control input::-webkit-slider-thumb { background: var(--fg); box-shadow: 0 0 0 4px #30463b0a; }
.scale-control input::-moz-range-track { background: #30463b33; }
.scale-control input::-moz-range-thumb { background: var(--fg); }
#stage>canvas{width:100%}
#stage .scale-adjustments{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:44px;z-index:1;opacity:1;transition:opacity .2s ease-out}
#stage[data-controls=hidden] .scale-adjustments{opacity:0;pointer-events:none}
#stage[data-controls=hidden] .scale-adjustments:has(:focus-visible){opacity:1;pointer-events:auto}
@media(prefers-reduced-motion:reduce){#stage .scale-adjustments{transition:none}}
#stage .scale-control{display:flex;flex-direction:column;gap:5px;height:auto}
#stage .scale-control button{width:44px;height:44px;flex:none;font-size:22px;border:1px solid #30463b18;border-radius:9px;background:#f1eddf80;line-height:1;touch-action:manipulation}
#stage .scale-control button:hover{background:#f1eddf}
#stage .scale-control input{writing-mode:vertical-lr;direction:rtl;width:22px;height:102px;margin:0;appearance:none;background:transparent;cursor:ns-resize;touch-action:none}
#stage .scale-control input::-webkit-slider-runnable-track{width:2px;height:100%;background:#30463b33}
#stage .scale-control input::-webkit-slider-thumb{margin-top:0;margin-left:-4.5px}
#stage .scale-control input::-moz-range-track{width:2px;height:100%;background:#30463b33}
body[data-tutorial=open] #stage .scale-adjustments{visibility:hidden}
.compare-values p:first-child span, .compare-values p:first-child strong { color: #8b682e; }
.compare-values p:first-child span::before { background: repeating-linear-gradient(90deg,#8b682e 0 4px,transparent 4px 7px); }
.compare-values p:last-child span, .compare-values p:last-child strong { color: #3f614d; }
.progress i { background: #30463b25; }
.progress i.done { background: #798771; }
footer { color: var(--muted); }

/* Results read as a matching collection record, with no receipt decoration. */
#summary {
  --fg: #30463b; --muted: #5f6b59; --accent: #82672c; --session-line: #30463b22;
  color-scheme: light; background: var(--paper); border: 1px solid #fffdf1;
  border-radius: 22px; box-shadow: 0 18px 40px #30463b0d;
}
#summary .total-score { border-radius: 15px; height: auto; width: auto; border: 0; background: none; gap: 8px; padding: 5px 0; }
#summary .total-score strong { color: var(--fg); font-size: 86px; }
#summary .round-score { background: #e9e3cf; border-color: #d7cfb7; color: var(--fg); }
#summary .round-score:hover { background: #e4dbc0; border-color: #a79b76; }
#summary .round-score strong, #summary .record-score { color: var(--fg); }
#summary .round-index, #summary .choice-bias, #summary .session-highlights small,
#summary .record small, #summary .record-error, #summary .breakdown-heading span { color: var(--muted); }
#summary [data-tier=precise] { --tier: #3f6a4a; }
#summary [data-tier=good] { --tier: #64784b; }
#summary [data-tier=wide] { --tier: #8f712d; }
#summary [data-tier=far] { --tier: #9c6450; }
#summary .summary-metrics, #summary .record, #summary .breakdown-heading { border-color: var(--line); }
#summary .record { background: transparent; }
#summary .record:hover { background: #30463b05; }
#summary .name-entry input { background: #fffcf3; color: var(--fg); border-color: var(--line); }
#summary .summary-actions .primary, #summary .summary-actions .secondary { background: var(--action); color: var(--action-ink); border-color: #bc9f4b42; }

/* Rankings, account and legal panels are part of the same system. */
.leaderboard-tabs button { color: var(--muted); border-color: var(--line); background: transparent; }
.leaderboard-tabs button[aria-pressed=true] { color: var(--fg); border-color: #30463b5a; background: var(--paper); }
.ranking-personal { border-color: #fffdf1; background: var(--paper); box-shadow: 0 12px 30px #30463b08; }
.ranking-personal strong { color: var(--fg); }
.ranking-personal span, .ranking-personal-detail p { color: var(--muted); }
.podium-card { border-color: #fffdf1; background: var(--paper); }
.podium-card[data-rank="1"] { border-color: #d7bf72; background: #f3ecd3; }
.podium-rank { color: var(--muted); }
.ranking-heading, .ranking-list li { border-color: var(--line); color: var(--fg); }
.ranking-list li.mine { background: #e8dfbc; }
.ranking-list .rank, .ranking-empty, .ranking-list small { color: var(--muted); }
.participation { border-color: var(--line); }
.participation dd { color: var(--fg); }
.participation dt, .participation p { color: var(--muted); }
#account-dialog, .web-info-dialog { color-scheme: light; background: var(--paper); color: var(--fg); border: 1px solid #fffdf1; box-shadow: 0 24px 80px #30463b24; }
#account-dialog::backdrop, .web-info-dialog::backdrop { background: #38453865; backdrop-filter: blur(8px); }
.account-panel h2, .account-management h3, .web-info-dialog h2 { color: var(--fg); }
.account-panel>p, .account-hint, .web-info-content p, .web-info-content .web-info-note,
.account-form label, .account-close, .account-management summary { color: var(--muted); }
.account-form input:not([type=checkbox]), #player-name { background: #fffaf0; color: var(--fg); border-color: #30463b35; }
.account-form input::placeholder, #player-name::placeholder { color: #7e8978; }
.account-tabs { border-color: var(--line); }
.account-tabs button { background: none; color: var(--muted); }
.account-tabs button[aria-pressed=true] { color: var(--fg); border-color: var(--fg); }
.account-management { border-color: var(--line); }
#web-info-close { background: var(--action); color: var(--action-ink); border-color: #bc9f4b42; }
.web-footer { color: var(--muted); border-color: var(--line); }
.web-footer a:hover, .web-footer button:hover { color: var(--fg); }
.web-ad-preferences { color-scheme: light; background: var(--paper); color: var(--fg); }
.app-status { color: var(--muted); }
@media (max-width: 1000px) { .shell { padding: 0 28px; } .header-tools { gap: 12px; } #category-list { gap: 36px 24px; } }
@media (max-width: 800px) and (min-width: 651px) { #category-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 780px) { .app-header { height: 114px; } .sizevs-wordmark { width: 100px; height: 30px; } .header-tools { gap: 10px; } }
@media (max-width: 650px) {
  .shell { padding: 0 22px; }
  .hub-view { margin: 27px auto; }
  .hub-heading h1 { font-size: 32px; }
  .quiz-choice { padding: 24px; min-height: 170px; }
  #category-list, .owned-pack-list { grid-template-columns: 1fr; gap: 16px; }
  .pack-envelope, .owned-pack-card.collectible-pack .pack-envelope { border-radius: 13px; aspect-ratio: 63/88; }
  .pack-envelope::before { inset: 7px; border-radius: 8px; }
  .pack-back-card { border-radius: 13px; }
  .pack-wordmark { width: 54px; height: 16px; }
  .category-card.collectible-pack .pack-title { font-size: 24px; }
  .pack-envelope[data-owned=false] .pack-title { font-size: 29px; }
  .pack-envelope[data-owned=false] .pack-wordmark { width: 68px; height: 20px; }
  .pack-envelope[data-owned=false] .pack-art { filter: blur(9px) saturate(.48); }
  .pack-details { margin: 17px 0 11px; flex-wrap: wrap; gap: 5px 10px; }
  .pack-discovery { font-size: 12px; }
  .collectible-pack .pack-price { font-size: 14px; }
  .category-card.collectible-pack .secondary { font-size: 13px; min-height: 46px; }
  .owned-pack-list { grid-template-columns: 1fr; gap: 16px; }
  #summary { padding: 28px 24px; }
}
@media (max-width: 390px) {
  .app-header { height: 142px; }
  .sizevs-wordmark { width: 90px; height: 27px; }
  .category-card.collectible-pack .pack-title { font-size: 22px; }
  .pack-envelope[data-owned=false] .pack-title { font-size: 26px; }
  .shell { padding: 0 18px; }
}

/* Preserve the smaller wordmark on physical cards. */
.collection-brand.sizevs-wordmark { width: 56px; height: auto; max-height: 18px; }
.collection-back-brand.sizevs-wordmark { width: 34%; height: auto; max-height: none; }
.collection-add.primary { background: var(--action); color: var(--action-ink); border-color: #bc9f4b42; }

/* Reveal legends and result reviews use the same comparison colours. */
.compare-values p:last-child span::before { background: #456552; }
#summary .record-choice strong, #summary .review-key .choice-key { color: #8b682e; }
#summary .review-key, #summary .review-scene, #summary .share-copy { background: #eae7dc; }
#summary .review-key > span { color: #3f614d; }
#summary .review-key > span::before { background: #456552; }
#summary .review-key .choice-key::before { background: #8b682e; }
#summary .record-source { color: #82672c; }
#summary .name-entry .secondary { background: var(--action); color: var(--action-ink); border-color: #bc9f4b42; }

/* Small captions and ancillary panels remain readable on paper. */
.daily-meta, .discovery-meta, .category-count, .collectible-pack .category-count,
.pack-status, .size-banner-ad-label { color: var(--muted); }
.account-error { color: #8b542f; }
.discovery-start, .discovery-start:hover { background: var(--action); color: var(--action-ink); border-color: var(--accent-line); }
.discovery-card:hover { box-shadow: 0 10px 24px #30463b0a; }
.bonus-card[data-claimed=true] { background: #e5e6d985; border-color: #30463b25; }
.ranking-empty, .size-banner-ad { border-color: var(--line); }
.size-ad-preferences { background: #38453865; }
.size-ad-preferences-panel { color-scheme: light; background: var(--paper); color: var(--fg); border-color: #fffdf1; box-shadow: 0 24px 80px #30463b24; }
.size-ad-preferences-panel p, .size-ad-preferences-close { color: var(--muted); }
.size-ad-preferences-links a { color: var(--accent); }
.size-ad-preferences-actions button { background: var(--action); color: var(--action-ink); border-color: var(--accent-line); }
.size-ad-preferences-actions button:hover { background: var(--accent-hover); }
.size-ad-preferences-panel :focus-visible { outline-color: var(--fg); }
.collection-dialog { --collection-muted: #5f6b59; }
.collection-card-measurement { color: #5f6b59; font-size: 10px; }

.category-card.collectible-pack[data-locked=false] .pack-price { color: var(--fg); }

@media (max-width: 900px) { .series-open { padding: 18px; min-height: 170px; } .series-art { height: 132px; } .series-copy h3 { font-size: 24px; } .series-footer { margin: 0 18px; } }
@media (max-width: 650px) { .series-open { grid-template-columns: 42% 1fr; min-height: 170px; } .series-copy h3 { font-size: 26px; } .collection-shelf-heading { margin-top: 24px; gap: 12px; } .collection-filter { gap: 22px; } .collection-filter button { font-size: 15px; } .collection-empty { padding: 46px 18px; } }


/* Reserve room for the answer button; only active questions use this viewport budget. */
body[data-view=play]:not([data-phase=summary]) { --quiz-header-height: 82px; }
body[data-view=play]:not([data-phase=summary]) .app-header { height: var(--quiz-header-height); }
body[data-view=play]:not([data-phase=summary]) #play-view {
  display: grid;
  grid-template-rows: auto auto minmax(220px,1fr) auto;
  min-height: min-content;
  height: calc(100svh - var(--quiz-header-height) - 48px - env(safe-area-inset-bottom));
}
body[data-view=play]:not([data-phase=summary]) .play-heading { height: 32px; min-height: 32px; }
body[data-view=play]:not([data-phase=summary]) .question { height: auto; min-height: 84px; padding: 6px 0 8px; }
body[data-view=play]:not([data-phase=summary]) .stage { height: 100%; min-height: 220px; max-height: 680px; }
body[data-view=play]:not([data-phase=summary]) .interaction { height: auto; min-height: 160px; }
@media (max-width: 780px) {
  body[data-view=play]:not([data-phase=summary]) { --quiz-header-height: 102px; }
}
@media (max-width: 650px) {
  body[data-view=play]:not([data-phase=summary]) .question { min-height: 90px; padding-top: 4px; }
}
@media (max-width: 390px) {
  body[data-view=play]:not([data-phase=summary]) { --quiz-header-height: 124px; }
}

/* Keep link and button labels clean, including the initially focused dialog close button. */
body :is(a, button, summary) { text-decoration: none !important; }
body :is(a, button, summary):focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: -2px;
}
body :is(input:not([type=range]),select,textarea):focus-visible {
  border-color: #789078;
  box-shadow: none;
}
body input[type=range]:focus-visible { filter: contrast(1.3); }
body .stage:focus-visible { box-shadow: inset 0 -1px 0 #30463b45; }

/* Individual discoveries and series have distinct shelves. */
.collection-shelf-tools{display:flex;align-items:center;gap:22px;flex-wrap:wrap;justify-content:flex-end}
.collection-sort-control{position:relative}
.collection-sort-trigger{display:flex;align-items:center;gap:16px;min-height:38px;padding:8px 12px;background:#f1eddf70;color:var(--muted);border:1px solid #30463b14;border-radius:9px;font-size:14px;cursor:pointer}
.collection-sort-trigger:hover,.collection-sort-trigger[aria-expanded=true]{background:var(--paper);border-color:#30463b35}
.collection-sort-trigger svg{transition:transform .18s}
.collection-sort-trigger[aria-expanded=true] svg{transform:rotate(180deg)}
.collection-sort-options{position:absolute;z-index:20;top:calc(100% + 7px);right:0;width:148px;padding:5px;background:#f7f3e8;border:1px solid #30463b22;border-radius:12px;box-shadow:0 10px 26px #30463b1a}
.collection-sort-options[hidden]{display:none}
.collection-sort-options [role=option]{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:38px;padding:9px 12px;background:transparent;border:0;border-radius:7px;text-align:left;font-size:14px;color:var(--muted);cursor:pointer}
.collection-sort-options [role=option][aria-selected=true]{color:var(--fg);background:#7a857410}
.collection-sort-options [role=option][aria-selected=true]::after{content:'✓';font-size:12px}
.collection-sort-options [role=option]:hover,.collection-sort-options [role=option]:focus-visible{background:#7a85741c;text-decoration:none}
.collected-card-meta{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0;flex:1}
.collected-card-meta .collected-card-series{max-width:none;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.collected-card-rarity{display:block;flex:none;width:7px;height:7px;border:1px solid #85908188;border-radius:50%;background:#85908120}
.collected-card-rarity[data-rarity=rare]{border-color:#729994;background:#72999440}
.collected-card-rarity[data-rarity=epic]{border-color:#9c86ad;background:#9c86ad50;border-radius:1px;transform:rotate(45deg)}
.collected-card-rarity[data-rarity=legendary]{width:10px;height:10px;border:0;background:#b89543;clip-path:polygon(50% 0,61% 35%,100% 50%,61% 64%,50% 100%,36% 64%,0 50%,36% 35%)}
.card-library-status{font-size:14px;color:var(--muted);padding:16px 0;margin:0}
.collected-card-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin-top:26px}
.collected-card{position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;aspect-ratio:5/7;min-width:0;padding:20px 19px 21px;text-align:left;color:var(--fg);background:var(--paper);border:1px solid #fffdf1aa;border-radius:20px;box-shadow:0 10px 24px #30463b08;cursor:pointer;overflow:hidden;transition:transform .2s,box-shadow .2s}
.collected-card::before{content:'';position:absolute;inset:7px;border:1px solid #fffdf199;border-radius:14px;pointer-events:none}
.collected-card:hover{transform:translateY(-3px);box-shadow:0 15px 28px #30463b12}
.collected-card-header{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0}
.collected-card-brand{display:block;width:45px;height:auto;opacity:.69}
.collected-card-series{font-size:11px;line-height:1.35;color:var(--muted);text-align:right;max-width:62%;overflow-wrap:anywhere}
.collected-card-art{display:block;min-height:0;margin:4px 0 12px}
.collected-card-art canvas{display:block;width:100%;height:100%;pointer-events:none}
.collected-card-art canvas[data-mirrored=true]{transform:scaleX(-1)}
.collected-card-footer{display:grid;gap:4px;align-content:end;justify-items:stretch;position:relative;min-width:0;text-align:center}
.collected-card-name{color:var(--muted);font-size:clamp(15px,1.2vw,17px);font-weight:500;line-height:1.3;text-align:center;letter-spacing:-.04em;overflow-wrap:anywhere;max-width:100%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.collected-card-value{font-size:14px;color:var(--muted);font-weight:500;white-space:nowrap}
.collected-card:focus-visible{box-shadow:0 12px 26px #30463b12}
.series-catalogue-dialog{width:min(1040px,calc(100vw - 36px));max-height:calc(100dvh - 40px);margin:auto;padding:28px;background:var(--bg);color:var(--fg);border:1px solid #fffdf188;border-radius:26px;overflow:auto;box-shadow:0 28px 80px #23362b24}
.series-catalogue-dialog::backdrop{background:#28372e66;backdrop-filter:blur(7px)}
.series-catalogue-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px;position:relative}
.series-catalogue-heading h2{margin:0;font-size:28px;letter-spacing:-.05em;font-weight:550}
.series-catalogue-heading .collection-close{position:static;flex:none}
.series-catalogue-dialog .category-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.series-catalogue-note{font-size:14px;line-height:1.5;color:var(--muted);margin:18px 0 0;text-align:center}
.series-catalogue-note:empty{display:none}
@media(max-width:1100px){
  .collected-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
  .collected-card{padding:17px 14px 18px}
  .collected-card-brand{width:38px}
  .collected-card-name{font-size:15px}
  .collected-card-value{font-size:13px}
}
@media(max-width:700px){
  .collected-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}
  .collected-card{padding:13px 11px 14px;border-radius:15px}
  .collected-card::before{inset:5px;border-radius:10px}
  .collected-card-header{gap:5px}
  .collected-card-brand{width:31px}
  .collected-card-series{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
  .collected-card-art{margin:10px 0 12px}
  .collected-card-footer{min-height:32px}
  .collected-card-name{font-size:16px;word-break:keep-all;overflow-wrap:break-word}
  .collected-card-value{display:none}
}
@media(max-width:440px){
  .collected-card-grid{gap:12px}
  .collected-card{padding:13px 12px 14px;border-radius:14px}
  .collected-card::before{inset:4px;border-radius:8px}
  .collected-card-brand{width:27px}
  .collected-card-series{display:none}
  .collected-card-art{margin:7px 0 8px}
  .collected-card-name{font-size:16px}
}
@media(max-width:650px){.collection-shelf-heading{align-items:flex-end;flex-wrap:wrap}.collection-shelf-tools{gap:12px}.collection-sort-trigger{font-size:13px;gap:10px;padding:7px 10px}.series-catalogue-dialog{padding:22px 15px;border-radius:22px}.series-catalogue-dialog .category-list{grid-template-columns:1fr;gap:15px}}
@media(prefers-reduced-motion:reduce){.collected-card{transition:none}.collected-card:hover{transform:none}}


/* Account identity is read first; settings are edited deliberately. */
.account-nickname-view{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0 15px}
.account-nickname-copy{display:grid;gap:8px;min-width:0}
.account-nickname-label{font-size:12px;color:var(--muted)}
.account-nickname-name{font-size:24px;line-height:1.25;font-weight:500;letter-spacing:-.035em;color:var(--fg);overflow-wrap:anywhere}
.account-nickname-edit.quiet{flex:none;min-width:56px;min-height:36px;margin:0;padding:7px 12px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:13px}
.account-nickname-edit.quiet:hover{background:#30463b06;color:var(--fg)}
.account-profile-actions{display:flex;align-items:center;gap:16px;margin-top:8px}
.account-profile-actions .primary{width:auto;min-width:104px;margin:0}
.account-profile-actions .quiet{min-height:44px;min-width:56px;margin:0;font-size:14px}
.account-nickname-editor[hidden]{display:none!important}
/* Language is a secondary preference in the site footer. */
.web-footer .footer-language{display:flex;align-items:center;margin:0 0 0 auto}
.web-footer .footer-language select{min-height:36px;max-width:145px;padding:6px 8px;font-size:13px;color:var(--muted);background:transparent;border:1px solid #30463b14;border-radius:8px}
.web-footer nav{margin-left:8px}
@media(max-width:650px){.web-footer .footer-language{margin:2px 0 4px}.web-footer nav{width:100%;margin-left:0}.account-nickname-name{font-size:22px}}

@media(max-width:650px){
  .app-header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:40px 36px;height:112px;gap:9px 12px;align-content:center}
  .app-header .brand{grid-row:1;grid-column:1;flex-basis:auto;margin:0}
  .app-header .header-tools{display:flex;grid-row:1;grid-column:2;align-items:center;gap:12px}
  .header-tools .points,.header-tools #account-button{grid-row:auto;grid-column:auto;order:0;margin:0;justify-self:auto}
  .app-header nav{grid-row:2;grid-column:1/-1;justify-self:center;gap:26px;margin:0}
}

/* Center typography: darker frame, muted paper field, and tonal signatures. */
:where(.collection-card,.collected-card,.collection-peek){--material-edge:6px;--material-stock:#e8dfcf;--material-border:#a89a86;--material-ink:#493f32;--material-grade:#b8aa95;--material-footer:#e3d7c4;--material-paper:radial-gradient(ellipse at 50% 38%,#ffffff24 0%,#ffffff0a 38%,transparent 72%),linear-gradient(145deg,#ffffff10,transparent 48%,#00000005),linear-gradient(var(--material-stock),var(--material-stock));--material-rim:linear-gradient(var(--material-border),var(--material-border))}
:is(.collection-card,.collected-card,.collection-peek)[data-rarity=rare]{--material-stock:#9cbd80;--material-border:#416341;--material-ink:#2d4528;--material-grade:#7b9e63;--material-footer:#a5bf89}
:is(.collection-card,.collected-card,.collection-peek)[data-rarity=epic]{--material-stock:#b389be;--material-border:#63436c;--material-ink:#3c2747;--material-grade:#9267a0;--material-footer:#bc95c6}
:is(.collection-card,.collected-card,.collection-peek)[data-rarity=legendary]{--material-stock:#d8ba58;--material-border:#8a7137;--material-ink:#3f341d;--material-grade:#a58a3a;--material-footer:#e6d8a7}
.collected-card[data-rarity],.collection-peek[data-rarity]{border:var(--material-edge) solid transparent;background:var(--material-paper) padding-box,var(--material-rim) border-box;background-repeat:no-repeat}
.collection-card{--material-edge:calc(var(--collection-card-width)*.03);--hanger-band:calc(var(--collection-card-width)*.105);border-radius:24px;font-family:'Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic',sans-serif;box-shadow:0 16px 26px #2e1c1324,0 3px 5px #2e1c1320}
.collection-card[data-rarity] .collection-card-face{border:0;border-radius:24px;background:linear-gradient(145deg,#ffffff10,transparent 42%,#00000008),var(--material-border)}
.collection-card[data-rarity] .collection-card-front::after,.collected-card[data-rarity]::before,.collection-peek[data-rarity]::after{display:none}
.collection-card-heading,.collection-card-details{position:relative;z-index:4}
.collection-back-brand{position:relative;z-index:4}
.collection-art{z-index:1}
.collected-card-header,.collected-card-art,.collected-card-footer,.collection-peek-brand,.collection-peek-art,.collection-peek-name{position:relative;z-index:2}
.collection-card[data-rarity] .collection-card-sheen{display:block;background:radial-gradient(circle at var(--card-light-x,50%) var(--card-light-y,50%),#ffffff26,transparent 62%)}
.collection-card-rarity{padding:0;background:transparent;color:var(--material-grade)!important;font-family:'Outfit',sans-serif;font-size:clamp(16px,calc(var(--collection-card-width)*.066),22px);font-weight:600;line-height:1.2;letter-spacing:.105em;white-space:nowrap;text-shadow:0 1px 0 #ffffff20}
.collection-card-rarity::before{display:none}
.collection-card .collection-card-face{padding:var(--material-edge) var(--material-edge) 0}
.collection-card-field{position:relative;display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;border-radius:calc(24px - var(--material-edge));background:var(--material-paper);box-shadow:inset 0 1px 0 #ffffff65,inset 0 0 0 1px #ffffff1a,0 1px 2px #3b240c1a}
.collection-card-field::before{content:'';position:absolute;inset:0;background:url('/assets/card-paper-grain.svg') repeat;background-size:128px 128px;mix-blend-mode:multiply;opacity:.075;pointer-events:none}
.collection-card-hanger-band{position:relative;z-index:4;display:flex;align-items:center;justify-content:center;width:100%;height:var(--hanger-band);flex:none}
.collection-card-hanger{position:relative;display:block;flex:none;width:calc(var(--collection-card-width)*.28);height:calc(var(--collection-card-width)*.058);min-height:12px;margin:0;border-radius:999px;background:linear-gradient(180deg,#090a08 0%,#10110e 72%,color-mix(in srgb,var(--material-border) 18%,#10110e) 100%);border:1px solid color-mix(in srgb,var(--material-border) 55%,#171910);border-bottom-color:color-mix(in srgb,var(--material-border) 85%,var(--material-stock));box-shadow:inset 0 1.5px 2.5px #0007,0 1px 0 #ffffff12;pointer-events:none}
.collection-card-hanger::after{content:'';position:absolute;inset:1px;border-radius:inherit;box-shadow:inset 0 1px 2px #0006,inset 0 -1px 0 #ffffff06;pointer-events:none}
.collection-card-heading{justify-content:center;min-height:25px;padding-top:calc(var(--collection-card-width)*.046);flex:none}
.collection-card .collection-art{margin:7px 5px 0}
.collection-card .collection-art canvas{filter:drop-shadow(0 6px 4px #4f2e2120)}
.collection-card-details{display:flex;flex-direction:column;align-items:center;gap:7px;padding:9px 12px calc(var(--collection-card-width)*.062);background:transparent;border-radius:0;min-height:0;color:var(--material-ink);flex:none}
.collection-card-caption{min-width:0;max-width:100%}
.collection-card .collection-card-name{font-size:clamp(19px,calc(var(--collection-card-width)*.086),27px);font-weight:800;line-height:1.25;letter-spacing:-.045em;color:inherit;text-align:center;overflow-wrap:anywhere}
.collection-card-dimension{display:flex;flex-direction:row;align-items:baseline;justify-content:center;gap:7px;max-width:100%}
.collection-card .collection-card-size{display:inline-flex;align-items:baseline;font-family:'Outfit','Noto Sans KR',sans-serif;font-size:clamp(26px,calc(var(--collection-card-width)*.117),38px);font-weight:600;line-height:1;letter-spacing:-.035em;color:var(--material-ink);font-variant-numeric:lining-nums}
.collection-card .collection-card-unit{font-size:.52em;font-weight:500;letter-spacing:0}
.collection-card .collection-card-literal{white-space:pre;font-size:.42em;letter-spacing:0}
.collection-card .collection-card-measurement{font-size:11px;font-weight:500;line-height:1.2;color:var(--material-ink);opacity:.65}
.collection-card-footer{position:relative;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:calc(var(--collection-card-width)*.107);padding:0 12px;color:var(--material-footer);flex:none}
.collection-card-wordmark{display:block;flex:none;width:calc(var(--collection-card-width)*.16);height:calc(var(--collection-card-width)*.045);margin:0;background:currentColor;mask:url('/assets/sizevs-logo-current.svg') center/contain no-repeat;-webkit-mask:url('/assets/sizevs-logo-current.svg') center/contain no-repeat}
.collection-card .collection-card-category{display:block;margin:0;max-width:70%;font-size:11px;font-weight:500;line-height:1.25;letter-spacing:-.025em;color:inherit;text-align:right;text-wrap:pretty;overflow-wrap:anywhere}
.collection-card[data-rarity] .collection-card-face.collection-card-backface{justify-content:flex-start;padding:var(--material-edge);background:var(--material-border);border:0;box-shadow:inset 0 0 0 1px #ffffff0b}
.collected-card[data-rarity] .collected-card-name{font-family:'Noto Sans KR','Apple SD Gothic Neo',sans-serif;color:var(--material-ink);font-weight:700}
.collection-peek[data-rarity] .collection-peek-name{font-family:'Noto Sans KR','Apple SD Gothic Neo',sans-serif;color:var(--material-ink)}
@media(max-width:650px){.collected-card,.collection-peek{--material-edge:5px}.collection-card .collection-card-category{font-size:10px}.collection-card-footer{padding-inline:10px}}

/* Children discovery loop: optional inline help and completed-card bridge. */
.quiz-howto{margin:0 0 24px;padding:0;border:1px solid var(--line);border-radius:12px;background:#f1eddf45;color:var(--muted)}
.quiz-howto>summary{padding:12px 17px;font-size:14px;font-weight:500;cursor:pointer}
.quiz-howto ol{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;margin:0;padding:4px 18px 17px;list-style:none;counter-reset:quiz-step}
.quiz-howto li{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.6;counter-increment:quiz-step}
.quiz-howto li::before{content:counter(quiz-step);display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:50%;background:#78867314;color:var(--fg);font-size:12px}
.quiz-howto li>span{min-width:0;word-break:keep-all;overflow-wrap:anywhere}
.quiz-howto-actions{padding:0 18px 12px}
.quiz-howto-actions .quiet{padding:6px 0;text-decoration:underline;text-underline-offset:3px}
.question .question-measurement{margin:0 0 7px;color:var(--muted);font-size:12px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}
.scale-tutorial{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(0 0 0 / 58%);border-radius:12px;color:#fff;cursor:default;padding:24px;text-align:center}
.scale-tutorial-content{width:100%;max-width:500px;display:flex;flex-direction:column;align-items:center;gap:16px}
.scale-tutorial h2{margin:0;font-size:clamp(20px,3vw,26px);font-weight:500;line-height:1.4;word-break:keep-all;color:#fff}
.scale-tutorial p{margin:0;color:#fff;font-size:14px;line-height:1.7;word-break:keep-all}
.scale-tutorial p{white-space:pre-line}
.tutorial-adjustment-demo{position:relative;width:100%;min-height:150px;display:flex;justify-content:center;align-items:center}
.tutorial-control-demo{width:44px;display:flex;flex-direction:column;align-items:center;gap:7px}
.tutorial-arrow{display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff45;border-radius:10px;background:#ffffff12;color:#fff;font-size:28px;font-weight:400;line-height:1}
.tutorial-rail{position:relative;display:block;width:2px;height:48px;background:#ffffff55}
.tutorial-rail>span{position:absolute;left:50%;top:50%;width:12px;height:12px;border-radius:50%;background:#fff;transform:translate(-50%,-50%);box-shadow:0 0 0 4px #ffffff18}
.tutorial-direction{position:absolute;max-width:calc(50% - 42px);font-size:14px;font-weight:500;line-height:1.4;word-break:keep-all}
.tutorial-direction-up{left:calc(50% + 36px);top:18px;text-align:left}
.tutorial-direction-down{right:calc(50% + 36px);bottom:18px;text-align:right}
@media(max-width:480px){.scale-tutorial{padding:18px}.scale-tutorial-content{gap:12px}.scale-tutorial h2{font-size:20px}.tutorial-direction{font-size:13px}.scale-tutorial p{font-size:13px}}
.play-heading #play-label{flex:1;text-align:center;min-width:0}
.play-heading #tutorial-replay{flex:none;text-align:right;white-space:nowrap;font-size:12px;min-height:32px}
.scale-tutorial .primary{width:auto;min-width:140px}
body[data-tutorial=open] .interaction{visibility:hidden}
.tutorial-preview-dialog{border:0;border-radius:12px;padding:0;width:min(760px,calc(100vw - 36px));max-width:none;background:var(--bg);max-height:calc(100svh - 36px);overflow:auto}
.tutorial-preview-dialog::backdrop{background:rgb(0 0 0 / 35%)}
.tutorial-preview-stage{position:relative;height:min(460px,calc(100svh - 90px));min-height:360px}
.tutorial-preview-stage canvas{display:block;width:100%;height:100%}
.account-content-preview{margin:18px 0;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#f0ecdf}
.account-content-preview .ranking-preference{margin:0;font-size:14px;color:var(--fg)}
.account-content-preview .account-hint{margin:8px 0 0;font-size:12px;line-height:1.5}
.series-catalogue-help{margin:0 0 24px;max-width:620px;color:var(--muted);font-size:14px;line-height:1.6}
.result-collection-bridge{margin:0 0 30px;padding:19px 22px;border:1px solid var(--line);border-radius:16px;background:var(--paper)}
.result-collection-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.result-collection-heading h3{margin:0;font-size:17px;font-weight:550;color:var(--fg)}
.result-collection-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.result-collection-actions .secondary{padding:9px 14px;min-height:44px;font-size:14px}
.result-collection-actions .quiet{min-height:44px;font-size:14px}
.result-card-preview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:16px}
.result-discovered-card{display:flex;min-width:0;flex-direction:column;align-items:center;gap:7px;padding:8px;border:1px solid #30463b12;border-radius:11px;background:#fffdf329;color:var(--muted);cursor:pointer}
.result-discovered-card:hover{background:#7886730a;border-color:#30463b32}
.result-discovered-art{display:block;width:100%;height:80px}
.result-discovered-art canvas{display:block;width:100%;height:100%}
.result-discovered-name{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:12px;line-height:1.4;text-align:center}
@media(max-width:650px){.quiz-howto ol{grid-template-columns:1fr;gap:8px}.result-collection-bridge{padding:16px;margin-bottom:24px}.result-collection-heading{gap:10px}.result-collection-actions{gap:12px}.result-card-preview{gap:6px}.result-discovered-card{padding:5px;gap:5px}.result-discovered-art{height:65px}.result-discovered-name{font-size:11px}.series-catalogue-help{font-size:13px}}

/* Children discovery loop, mobile first screen: keep the object stream and all guide steps. */
@media(max-width:650px){
  body[data-view=daily] .daily-view{margin-top:14px}
  #quiz-hub .quiz-hero{gap:8px;padding:0 0 18px}
  #quiz-hub .quiz-hero .comparison-preview{height:clamp(128px,18svh,158px)}
  #quiz-hub .quiz-hero .daily-copy{padding-bottom:0}
  #quiz-hub .quiz-hero .daily-copy h1{font-size:clamp(30px,7.7vw,36px);line-height:1.18;margin-bottom:8px}
  #quiz-hub .quiz-hero .daily-description{font-size:14px;line-height:1.55}
  #quiz-hub .quiz-howto{margin-bottom:18px}
  #quiz-hub .quiz-howto>summary{box-sizing:border-box;min-height:44px;padding:10px 14px;line-height:24px}
  #quiz-hub .quiz-howto ol{gap:6px;padding:0 14px 14px}
  #quiz-hub .quiz-howto li{font-size:13px;line-height:1.5}
  #quiz-hub .quiz-choices .section-heading{margin-bottom:14px}
  #quiz-hub .quiz-choices .section-heading h2{font-size:22px}
  #daily-enter{min-height:44px}
}

/* Children result preview: readable mobile thumbnails in a native scroll strip. */
@media(max-width:650px){
  .result-card-preview{display:flex;gap:8px;overflow-x:auto;padding-bottom:5px;scroll-snap-type:x proximity;scrollbar-width:thin;overscroll-behavior-x:contain}
  .result-card-preview .result-discovered-card{flex:0 0 84px;width:84px;min-height:110px;scroll-snap-align:start}
  .result-card-preview .result-discovered-name{width:100%;font-size:12px;line-height:1.4;word-break:normal;overflow-wrap:break-word}
}

/* Mode colours share a bright paper base; card materials keep their own grades. */
.quiz-choice.daily-choice{background:var(--daily-soft);border-color:#e7c26655}
.quiz-choice.daily-choice:hover{background:#f8edce;border-color:#d6b45f}
.quiz-choice.competitive-choice{background:var(--competitive-soft);border-color:#5c688c30}
.quiz-choice.competitive-choice:hover{background:#edf0f7;border-color:#5c688c65}
.competitive-choice h3{color:#354363}
.competitive-choice .hub-overline,.competitive-choice p:not(.hub-overline),.competitive-choice span:not(.choice-number){color:#505c79}
.competitive-choice .choice-number{color:var(--competitive)}
.daily-choice .choice-number{color:#785c22}
#daily-enter,#daily-start,#competition-unlock,.collection-empty .primary{background:var(--daily);color:var(--fg);border-color:#bd9b4945}
#daily-enter:hover,#daily-start:hover,#competition-unlock:hover,.collection-empty .primary:hover{background:#edd08a;border-color:#bd9b4980}
#mixed-start,#competition-start{background:var(--competitive);color:#fffdf5;border-color:var(--competitive)}
#mixed-start:hover,#competition-start:hover{background:#4d587b;border-color:#4d587b}
.collection-dialog{--collection-ink:#f4f1e8;--collection-muted:#bbc3ba;background:var(--collection-charcoal);color:var(--collection-ink);border-color:#ffffff18;box-shadow:0 24px 80px #00000038;color-scheme:dark}
.collection-dialog[data-mode=cards]{background:var(--collection-charcoal);border-radius:24px}
.collection-dialog::backdrop,.collection-dialog[data-mode=cards]::backdrop{background:#242824ed;backdrop-filter:blur(9px)}
.collection-dialog .collection-heading,.collection-dialog[data-mode=cards] .collection-progress{color:var(--collection-ink)}
.collection-dialog .collection-close,.collection-dialog[data-mode=cards] .collection-close{color:var(--collection-ink);background:#ffffff08}
.collection-dialog .collection-close:hover,.collection-dialog[data-mode=cards] .collection-close:hover{color:#ffffff;background:#ffffff15}
.collection-dialog .collection-thumbnail{background:#f4f1e818;border-color:#f4f1e818}
.collection-dialog .collection-thumbnail:hover{background:#f4f1e830}
.collection-dialog .collection-thumbnail[aria-current=true]{background:var(--collection-stock);border-color:#f4f1e8;box-shadow:0 4px 12px #00000030}
.collection-dialog .collection-add.primary{color:var(--action-ink)}
.collection-dialog .collection-step{background:#343b33;color:var(--collection-ink);border-color:#f4f1e830}
.collection-dialog .collection-step:hover:not(:disabled){background:#414a40}
.collection-dialog .collection-benefits{color:var(--collection-muted)}
.collection-dialog .collection-empty{background:#ffffff06;border-color:#ffffff1a}
.collection-dialog .collection-empty h2,.collection-dialog .collection-empty h3{color:var(--collection-ink)}
.collection-dialog .collection-empty p{color:var(--collection-muted)}
.collection-dialog .collection-error{color:#e1aa92}

/* A tactile card can be tilted independently of its flip and of list navigation. */
.collection-card{touch-action:none;transition:transform .18s ease-out}
.collection-card[data-hovered=true]{transition:transform .08s ease-out}
.collection-back-logo{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);width:44%;height:calc(var(--collection-card-width)*.135);background:var(--material-stock);opacity:.38;mask:url('/assets/sizevs-logo-current.svg') center/contain no-repeat;-webkit-mask:url('/assets/sizevs-logo-current.svg') center/contain no-repeat;pointer-events:none}
.collection-acquired{position:absolute;z-index:3;bottom:calc(var(--collection-card-width)*.10);left:12%;right:12%;margin:0;text-align:center;font-size:11px;line-height:1.5;font-weight:500;color:var(--material-footer);opacity:.85}
.collection-pack-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 auto 22px;max-width:540px}
.collection-rarity-stat{padding:9px 8px;border-radius:10px;background:#ffffff07;text-align:center;display:grid;gap:4px}
.collection-rarity-stat>span{font-family:'Outfit',sans-serif;font-size:11px;letter-spacing:.045em;color:var(--collection-muted)}
.collection-rarity-stat>strong{font-size:15px;font-weight:500;color:var(--collection-ink);font-variant-numeric:tabular-nums}
/* Four entry points reveal their own existing selection sections. */
.quiz-mode-rule{display:block;margin-top:11px;color:inherit;font-size:12px;line-height:1.6}
.pack-choice{background:#e6ede1;border-color:#30463b18}
.pack-choice:hover{background:#edf2e9;border-color:#30463b30}
.practice-choice{background:var(--paper)}
.choice-symbol{position:absolute;right:28px;top:26px;width:90px;height:90px;color:var(--fg);opacity:.13;pointer-events:none}
.choice-pack-symbol i{position:absolute;left:22px;top:8px;display:block;width:47px;height:66px;border:4px solid currentColor;border-radius:8px;background:var(--paper);transform:rotate(-14deg)}
.choice-pack-symbol i:nth-child(2){transform:rotate(0deg);left:31px}
.choice-pack-symbol i:nth-child(3){transform:rotate(14deg);left:40px}
.choice-practice-symbol{display:flex;align-items:center;gap:7px;justify-content:center}
.choice-practice-symbol i{display:block;width:29px;height:29px;border:4px solid currentColor;border-radius:50%}
.choice-practice-symbol i:last-child{width:46px;height:46px}
#owned-pack-list,#discovery-section{scroll-margin-top:24px}
#browse-packs,#result-view-cards.secondary,#share-rank.secondary,#web-info-close{background:transparent;color:var(--fg);border:1px solid var(--line);border-radius:9px}
#browse-packs{padding:8px 12px}
#browse-packs:hover,#result-view-cards.secondary:hover,#share-rank.secondary:hover,#web-info-close:hover{background:#30463b08;border-color:#30463b40}
.scale-tutorial #tutorial-preview-close{background:transparent;color:#fff;border-color:#ffffff60}
.scale-tutorial #tutorial-preview-close:hover{background:#ffffff12}
.series-copy h3{font-size:24px}
.series-rarity-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 10px;margin-top:11px}
.series-rarity-count{position:relative;display:grid;gap:1px;padding-left:9px;font-family:'Outfit','Noto Sans KR',sans-serif;font-size:11px;line-height:1.5;color:var(--muted);font-variant-numeric:tabular-nums}
.series-grade-label{white-space:nowrap;font-size:10px;letter-spacing:.025em}
.series-grade-value{white-space:nowrap;font-size:12px;font-weight:550;color:var(--fg)}
.series-rarity-count::before{content:'';position:absolute;left:0;top:5px;width:5px;height:5px;border-radius:50%;background:#a89a86}
.series-rarity-count[data-rarity=rare]::before{background:#416341}.series-rarity-count[data-rarity=epic]::before{background:#63436c}.series-rarity-count[data-rarity=legendary]::before{background:#8a7137}
.series-tile[data-quiz=false] .series-footer{justify-content:flex-end}
.competition-tier-rank{margin:0 0 14px;font-size:14px;line-height:1.5;color:var(--competition-ink)}
.competition-tier-guide{grid-column:1/-1;margin:0;border-top:1px solid var(--line);padding-top:10px;color:var(--fg)}
.competition-tier-guide summary{width:max-content;max-width:100%;font-size:14px;padding:7px 0;cursor:pointer}
.competition-tier-levels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:14px}
.competition-tier-level{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 8px;border-radius:12px;background:var(--paper)}
.competition-tier-level[data-current=true]{background:#e7ebdf;box-shadow:inset 0 0 0 1px #30463b25}
.competition-tier-level>strong{font-size:13px;font-weight:500}.competition-tier-level>span:last-child{font-size:12px;color:var(--muted)}
.competition-tier-guide>p{font-size:12px;line-height:1.7;color:var(--muted);margin:13px 0 0}
.competition-emblem-scale i:nth-child(1){height:6px}.competition-emblem-scale i:nth-child(2){height:10px}.competition-emblem-scale i:nth-child(3){height:14px}.competition-emblem-scale i:nth-child(4){height:18px}.competition-emblem-scale i:nth-child(5){height:22px}
.competition-tier-badge .competition-emblem-scale{gap:1px}.competition-tier-badge .competition-emblem-scale i{width:2px}.competition-tier-badge .competition-emblem-scale i:nth-child(1){height:2px}.competition-tier-badge .competition-emblem-scale i:nth-child(2){height:3px}.competition-tier-badge .competition-emblem-scale i:nth-child(3){height:4px}.competition-tier-badge .competition-emblem-scale i:nth-child(4){height:5px}.competition-tier-badge .competition-emblem-scale i:nth-child(5){height:6px}
@media(max-width:650px){.collection-pack-summary{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}.series-tile[data-quiz=false] .series-open{min-height:215px}.series-tile[data-quiz=false] .series-art{height:155px}.series-copy h3{font-size:22px}.series-rarity-summary{gap:5px 6px}.competition-tier-levels{grid-template-columns:repeat(3,minmax(0,1fr))}.choice-symbol{width:70px;height:70px;right:22px;top:22px}}
@media(prefers-reduced-motion:reduce){.collection-card,.collection-card[data-hovered=true]{transition:none}}

.series-quiz-rule{font-size:12px;line-height:1.6;color:var(--muted);margin:10px 0 0;word-break:keep-all}

@media(max-width:440px){.series-rarity-summary{grid-template-columns:1fr;gap:4px}.series-rarity-count{display:flex;justify-content:space-between;align-items:center;gap:6px}}
#ranking-play[data-mode=competitive]{background:var(--competitive);border-color:var(--competitive);color:var(--paper)}
#ranking-play[data-mode=competitive]:hover{background:#4b587a;border-color:#4b587a}
#ranking-play[data-mode=daily]{background:var(--daily);border-color:#d8b757;color:var(--fg)}
#ranking-play[data-mode=daily]:hover{background:#deba56;border-color:#cba549}

/* Flat, dark card reverse; no inset panel, repeated pattern or moving light. */
.collection-card[data-rarity] .collection-card-backface::before,.collection-card[data-rarity] .collection-card-backface::after,.collection-card-backface .collection-card-sheen{display:none!important}

/* Mode inks are the same materials as the collectible cards. */
:root{--daily:#d8ba58;--daily-soft:#d8ba58;--competitive:#63436c;--competitive-soft:#b389be}
.quiz-choice.daily-choice,.quiz-choice.competitive-choice,.quiz-choice.pack-choice,.quiz-choice.practice-choice{--mode-stock:#e8dfcf;--mode-edge:#a89a86;--mode-ink:#493f32;background:var(--mode-stock);border:1px solid var(--mode-edge);box-shadow:inset 0 0 0 5px var(--mode-edge),0 8px 18px #30463b08}
.quiz-choice.daily-choice{--mode-stock:#d8ba58;--mode-edge:#8a7137;--mode-ink:#3f341d}
.quiz-choice.competitive-choice{--mode-stock:#b389be;--mode-edge:#63436c;--mode-ink:#3c2747}
.quiz-choice.pack-choice{--mode-stock:#9cbd80;--mode-edge:#416341;--mode-ink:#2d4528}
.quiz-choice:is(.daily-choice,.competitive-choice,.pack-choice,.practice-choice):hover{background:var(--mode-stock);border-color:var(--mode-edge);box-shadow:inset 0 0 0 5px var(--mode-edge),0 10px 22px #30463b12}
.quiz-choice:is(.daily-choice,.competitive-choice,.pack-choice,.practice-choice) :is(h3,.hub-overline,p,span:not(.choice-number)){color:var(--mode-ink)}
.quiz-choice .choice-number,.quiz-choice .choice-symbol{color:var(--mode-edge);opacity:.24}
.quiz-choice.daily-choice #daily-enter{background:var(--mode-edge);border-color:var(--mode-edge);color:#fff5d9}
.quiz-choice.competitive-choice #mixed-start{background:var(--mode-edge);border-color:var(--mode-edge);color:#fff5fc}
#daily-start,#competition-unlock,#ranking-play[data-mode=daily]{background:#d8ba58;border-color:#8a7137;color:#3f341d}
#daily-start:hover,#competition-unlock:hover,#ranking-play[data-mode=daily]:hover{background:#cfad42;border-color:#8a7137}
#competition-start,#ranking-play[data-mode=competitive]{background:#63436c;border-color:#63436c;color:#fff5fc}
#competition-start:hover,#ranking-play[data-mode=competitive]:hover{background:#52355b;border-color:#52355b}

/* Neutral theme packs: upright front with a small Z rotation and real rear layers. */
.series-tile .series-open{grid-template-columns:minmax(0,180px) minmax(0,1fr);gap:28px;padding:34px 30px 22px;min-height:310px;perspective:none}
.series-tile .series-art,.series-tile[data-quiz=false] .series-art{position:relative;isolation:isolate;justify-self:center;width:100%;max-width:172px;height:auto;aspect-ratio:63/88;margin:0 0 9px;border:0;border-radius:12px;background:transparent;box-shadow:none;transform:none;transform-style:flat;overflow:visible;transition:none}
.series-tile .series-open:hover .series-art{transform:none}
.series-tile .series-art::before,.series-tile .series-art::after,.series-tile[data-quiz=false] .series-art::before,.series-tile[data-quiz=false] .series-art::after{display:none}
.theme-pack-face{position:absolute;z-index:4;inset:0;display:grid;grid-template-rows:minmax(0,1fr) auto;row-gap:6px;padding:7% 5% 8%;border:1px solid #bcb4a5;border-radius:12px;background:radial-gradient(ellipse at 50% 35%,#ffffff80,transparent 70%),#f1ebdf;box-shadow:inset 0 0 0 4px #fffcf480,0 10px 16px #30463b12;overflow:hidden}
.series-art .theme-pack-layer{position:absolute;inset:0;border:1px solid #bcb4a5;border-radius:12px;background:#f5f0e7;box-shadow:0 1px 2px #30463b0c;pointer-events:none}
.series-tile .series-art canvas,.series-tile[data-quiz=false] .series-art canvas{position:static;grid-row:1;min-width:0;min-height:0;width:100%;height:100%;margin:0;filter:drop-shadow(0 4px 2px #30463b12)}
.theme-pack-label{position:static;grid-row:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#493f32;text-align:center}
.theme-pack-title{font-family:'Noto Sans KR','Outfit',sans-serif;font-size:clamp(13px,1.5vw,19px);font-weight:750;letter-spacing:-.045em;line-height:1.3;word-break:keep-all;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.theme-pack-type{font-size:10px;line-height:1.3;letter-spacing:.03em;color:#81796b;font-weight:450}
.theme-pack-placeholder{position:absolute;left:37%;top:25%;width:26%;aspect-ratio:63/88;border:1px solid #bcb4a5;border-radius:5px;box-shadow:4px -3px 0 -1px #f1ebdf,4px -3px 0 0 #bcb4a5;opacity:.55}
.series-tile .series-copy h3{font-size:23px}
@media(max-width:900px){.series-tile .series-open{grid-template-columns:minmax(0,140px) minmax(0,1fr);gap:24px;padding:28px 24px 18px;min-height:275px}.series-tile .series-copy h3{font-size:21px}}
@media(max-width:650px){.series-tile .series-open,.series-tile[data-quiz=false] .series-open{grid-template-columns:minmax(0,.85fr) minmax(0,1fr);gap:22px;padding:27px 22px 18px;min-height:245px}.series-tile .series-art,.series-tile[data-quiz=false] .series-art{max-width:140px;height:auto}.theme-pack-title{font-size:13px}.theme-pack-type{font-size:10px}.series-tile .series-copy h3{font-size:21px}}

/* Miniatures share the full card frame, hanger band and paper face; only art/name remain. */
.collected-card[data-rarity]{display:flex;flex-direction:column;aspect-ratio:63/88;padding:5px 5px 12px;border:0;border-radius:14px;background:var(--material-border);box-shadow:0 5px 12px #30463b0b;color:var(--material-ink);text-align:center}
.collected-card-band{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 8%;min-height:15px;width:100%}
.collected-card-hanger{display:block;width:28%;height:7px;border-radius:999px;background:#10110e;border:1px solid #0005;box-shadow:inset 0 1px 1px #0008,0 1px 0 #ffffff10}
.collected-card-field{display:grid;grid-template-rows:minmax(0,1fr) auto;flex:1;min-height:0;overflow:hidden;border-radius:10px;background:url('/assets/card-paper-grain.svg') repeat,var(--material-paper);background-blend-mode:soft-light;box-shadow:inset 0 1px 0 #ffffff55,inset 0 0 0 1px #ffffff18}
.collected-card-field .collected-card-art{display:block;min-height:0;margin:8px 4px 0}
.collected-card[data-rarity] .collected-card-field .collected-card-name{padding:8px 7px 13px;font-size:clamp(15px,1.2vw,18px);font-weight:800;line-height:1.3;color:var(--material-ink);letter-spacing:-.045em}
@media(max-width:440px){.collected-card-field .collected-card-art{margin:6px 3px 0}.collected-card[data-rarity] .collected-card-field .collected-card-name{font-size:15px;padding:7px 5px 12px}.collected-card[data-rarity]{padding:4px 4px 10px;border-radius:12px}.collected-card-field{border-radius:8px}}

/* SizeVS ranks: paired sizes, ruler ticks, then a calibrated matching pair. */
.competition-emblem::before,.competition-emblem::after{display:none}
.competition-emblem-art{display:block;width:100%;height:100%;object-fit:contain}
.competition-profile-panel[data-tier=silver],.competition-result-panel[data-tier=silver],.competition-tier-badge[data-tier=silver]{--competition-color:#416341;--competition-wash:#4163410e}
.competition-profile-panel[data-tier=gold],.competition-result-panel[data-tier=gold],.competition-tier-badge[data-tier=gold]{--competition-color:#63436c;--competition-wash:#63436c0e}
.competition-profile-panel[data-tier=platinum],.competition-result-panel[data-tier=platinum],.competition-tier-badge[data-tier=platinum]{--competition-color:#4b687a;--competition-wash:#4b687a0e}
.competition-profile-panel[data-tier=diamond],.competition-result-panel[data-tier=diamond],.competition-tier-badge[data-tier=diamond]{--competition-color:#987b29;--competition-wash:#d8ba5818}
.competition-identity .competition-tier-name{font-size:clamp(25px,2.8vw,34px)}
.competition-tier-level[data-current=true]{background:#d8ba5818;box-shadow:inset 0 0 0 1px #8a713735}
.competition-tier-level>strong{text-align:center;line-height:1.4;word-break:keep-all}
.competition-tier-level .competition-emblem{width:54px;height:62px}
.competition-tier-badge .competition-emblem{width:22px;height:24px}


/* Collection pack tiles are covers; collecting facts belong to the pack detail. */
#category-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px}
.series-tile[data-quiz=false]{background:transparent;border:0;box-shadow:none;overflow:visible}
.series-tile[data-quiz=false] .series-open{grid-template-columns:minmax(0,1fr);gap:0;min-height:0;padding:16px 16px 22px;text-align:center;background:transparent;border-radius:16px}
.series-tile[data-quiz=false] .series-art{max-width:220px;margin:0}
.series-tile[data-quiz=false] .series-open:hover{background:#30463b04}
.theme-pack-face[data-illustrated=true]{padding:0;border-color:#bcb4a5}
.theme-pack-title{font-family:'Outfit',sans-serif;font-weight:650;letter-spacing:-.025em;line-height:1.1}
.collection-pack-description{max-width:520px;margin:12px auto 0;font-size:13px;line-height:1.6;text-align:center;color:var(--collection-muted);word-break:keep-all}
.collection-dialog[data-mode=series] .collection-progress{margin:12px 0 9px}
.collection-progress-meter{height:4px;max-width:180px;border-radius:3px;background:#ffffff12;margin:0 auto 18px;overflow:hidden}
.collection-progress-meter>span{display:block;height:100%;border-radius:inherit;background:#a8b799}
@media(max-width:1000px){#category-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){#category-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}}
@media(max-width:650px){#category-list{gap:18px 12px}.series-tile[data-quiz=false] .series-open{grid-template-columns:minmax(0,1fr);gap:0;min-height:0;padding:12px 9px 16px}.series-tile[data-quiz=false] .series-art{max-width:190px}.collection-pack-description{font-size:12px}}

/* Pack covers are single printed posters, with no rear-card layers. */
.theme-pack-face{box-shadow:0 8px 18px #30463b14}

/* Authored scene art keeps its full composition and needs no cutout shadow. */
.collection-art canvas[data-artwork-kind=illustration],
.collected-card-art canvas[data-artwork-kind=illustration],
.collection-peek-art canvas[data-artwork-kind=illustration]{filter:none}

/* Scene illustrations fill the entire inset paper field, beneath live typography. */
.collection-card-field[data-artwork-kind=illustration],
.collected-card-field[data-artwork-kind=illustration]{isolation:isolate}
.collection-card-field[data-artwork-kind=illustration]>.collection-art,
.collected-card-field[data-artwork-kind=illustration]>.collected-card-art{position:absolute;inset:0;margin:0;z-index:0}
.collection-card-field[data-artwork-kind=illustration]::before,
.collected-card-field[data-artwork-kind=illustration]::before{z-index:3;opacity:.035}
.collection-card-field[data-artwork-kind=illustration]::after,
.collected-card-field[data-artwork-kind=illustration]::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#f6efdcc7 0%,#f6efdc2e 18%,transparent 32%,transparent 60%,#f5eddb80 81%,#f5eddbeb 100%)}
.collection-card-field[data-artwork-kind=illustration]>.collection-card-heading{position:relative;z-index:2}
.collection-card-field[data-artwork-kind=illustration]>.collection-card-details{position:relative;z-index:2;margin-top:auto;padding-top:22px}
.collected-card-field[data-artwork-kind=illustration]>.collected-card-name{position:relative;z-index:2;margin-top:auto}
.collection-card-field[data-artwork-kind=illustration] .collection-card-rarity{color:var(--material-border)!important;text-shadow:0 1px 5px #fff8}
.collection-card-field[data-artwork-kind=illustration]>.collection-card-sheen{z-index:3;pointer-events:none}

/* Full-art collectible editions. Gameplay assets stay independent. */
.collection-card-pack-title,.collection-card-subject-label,.collection-back-rule{display:none}
:is(.collection-card,.collected-card,.collection-peek)[data-design=full-art]{--full-edge:#9f89b5;--full-deep:#40334e;--full-accent:#d8c4e9;border-radius:16px;box-shadow:0 20px 35px #17201928,0 3px 6px #17201924}
.collection-card[data-design=full-art] .collection-card-face{padding:0;border:3px solid var(--full-edge);border-radius:16px;background:#17251d;box-shadow:inset 0 0 0 1px #ede5f340}
.collection-card[data-design=full-art] .collection-card-hanger-band{display:none}
.collection-card[data-design=full-art] .collection-card-field{position:absolute;inset:0;border-radius:12px;background:#17251d;box-shadow:none}
.collection-card[data-design=full-art] .collection-card-field::after{background:linear-gradient(180deg,#18231e9e 0%,#18231e20 16%,transparent 31%,transparent 60%,#17251d36 72%,#17251dcc 86%,#17251d 100%)}
.collection-card[data-design=full-art] .collection-card-field::before{z-index:5;opacity:.035}
.collection-card[data-design=full-art] .collection-card-front::after{display:block;inset:5px;border:1px solid #fff3;border-radius:9px;z-index:6}
.collection-card[data-design=full-art] .collection-art{position:absolute;inset:0;margin:0;z-index:0}
.collection-card[data-design=full-art] .collection-card-heading{position:absolute;top:13px;left:13px;right:13px;padding:0;min-height:0;justify-content:space-between;gap:8px;z-index:4}
.collection-card[data-design=full-art] .collection-card-rarity{display:inline-flex;align-items:center;gap:5px;padding:7px 8px;border-radius:5px;background:var(--full-deep);box-shadow:inset 0 0 0 1px #ffffff23;color:var(--full-accent)!important;font-size:clamp(11px,calc(var(--collection-card-width)*.037),13px);line-height:1;letter-spacing:.075em;font-weight:600;text-shadow:none}
.collection-card[data-design=full-art] .collection-card-rarity::before{display:block;content:'◇';width:auto;height:auto;flex:none;border-radius:0;background:transparent;opacity:1;font-size:15px;line-height:.7}
.collection-card[data-design=full-art] .collection-card-pack-title{display:block;color:#f3eedfe0;font-family:'Outfit',sans-serif;font-size:clamp(10px,calc(var(--collection-card-width)*.034),12px);font-weight:500;line-height:1.2;letter-spacing:.07em;text-align:right;white-space:nowrap}
.collection-card[data-design=full-art] .collection-card-details{position:absolute;left:17px;right:17px;bottom:53px;display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;gap:10px;margin:0;padding:0 0 12px;border-bottom:1px solid #faf5e82e;color:#faf5e8;z-index:4}
.collection-card[data-design=full-art] .collection-card-caption{min-width:0;flex:1}
.collection-card[data-design=full-art] .collection-card-name{font-size:clamp(24px,calc(var(--collection-card-width)*.105),34px);font-weight:800;line-height:1.15;letter-spacing:-.035em;text-align:left;color:#faf5e8;text-shadow:0 1px 5px #17251d30}
.collection-card[data-design=full-art] .collection-card-dimension{flex-direction:column;align-items:flex-end;gap:3px;flex:none}
.collection-card[data-design=full-art] .collection-card-size{color:#faf5e8;font-size:clamp(29px,calc(var(--collection-card-width)*.125),42px);font-weight:600;line-height:1;letter-spacing:-.045em}
.collection-card[data-design=full-art] .collection-card-measurement{color:#faf5e8;opacity:.83;font-size:11px;line-height:1.2;text-align:right}
.collection-card[data-design=full-art] .collection-card-footer{position:absolute;bottom:17px;left:17px;right:17px;padding:0;min-height:0;z-index:4;color:#f3eedfbf}
.collection-card[data-design=full-art] .collection-card-wordmark{width:calc(var(--collection-card-width)*.23);height:calc(var(--collection-card-width)*.054)}
.collection-card[data-design=full-art] .collection-card-category{display:none}
.collection-card[data-design=full-art] .collection-card-subject-label{display:block;font-family:'Outfit',sans-serif;font-size:11px;line-height:1.2;letter-spacing:.12em;text-align:right}
.collection-card[data-design=full-art] .collection-card-sheen{border-radius:12px;background:linear-gradient(125deg,transparent 14%,#fff3 35%,transparent 45%,transparent 57%,#d3e8d91a 66%,transparent 82%);mix-blend-mode:screen;z-index:5}
.collection-card[data-design=full-art] .collection-card-face.collection-card-backface{padding:0;background:#f1ead8;border:3px solid var(--full-edge);border-radius:16px;box-shadow:inset 0 0 0 1px #ffffff80}
.collection-card[data-design=full-art] .collection-back-logo{width:46%;height:calc(var(--collection-card-width)*.12);background:#314d3d;opacity:.78}
.collection-card[data-design=full-art] .collection-back-rule{display:block;position:absolute;left:50%;transform:translateX(-50%);height:2px;border-radius:2px;background:var(--full-edge);opacity:.75}
.collection-card[data-design=full-art] .collection-back-rule-top{width:46%;top:calc(50% - var(--collection-card-width)*.12)}
.collection-card[data-design=full-art] .collection-back-rule-bottom{width:31%;top:calc(50% + var(--collection-card-width)*.12)}
.collection-card[data-design=full-art] .collection-acquired{bottom:22px;color:#4b614d;opacity:.9;font-size:11px;letter-spacing:.025em}
.collected-card[data-design=full-art]{padding:0;border:3px solid var(--full-edge);background:#17251d;border-radius:16px}
.collected-card[data-design=full-art] .collected-card-band{display:none}
.collected-card[data-design=full-art] .collected-card-field{border-radius:12px;background:#17251d;box-shadow:inset 0 0 0 1px #fff3}
.collected-card[data-design=full-art] .collected-card-field::after{background:linear-gradient(180deg,transparent 55%,#17251d52 76%,#17251df2 100%)}
.collected-card[data-design=full-art] .collected-card-name{padding:14px 12px 16px;color:#faf5e8;font-weight:700;text-align:left;font-size:18px}
.collection-peek[data-design=full-art]{padding:0;border:3px solid var(--full-edge);background:#17251d;overflow:hidden}
.collection-peek[data-design=full-art] .collection-peek-art{position:absolute;inset:0;margin:0;z-index:0}
.collection-peek[data-design=full-art] .collection-peek-name{position:absolute;left:17px;right:17px;bottom:18px;color:#faf5e8;z-index:2;text-shadow:0 2px 5px #17251d}
@media(max-width:440px){.collected-card[data-design=full-art] .collected-card-name{font-size:15px;padding:12px 10px 13px}}

/* Niki-style bounded subject/background parallax, independent of card text. */
.collection-depth{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.collection-depth img{position:absolute;display:block;max-width:none;object-fit:cover;object-position:center;pointer-events:none;transition:transform .16s ease-out}
.collection-depth-background{inset:-3%;width:106%;height:106%;transform:translate(calc(var(--card-depth-x,0)*-.7%),calc(var(--card-depth-y,0)*-.7%));filter:blur(.4px)}
.collection-depth-foreground{inset:-2%;width:104%;height:104%;transform:translate(calc(var(--card-depth-x,0)*1.2%),calc(var(--card-depth-y,0)*1.2%));mask-size:cover;mask-position:center;mask-repeat:no-repeat;mask-mode:luminance;-webkit-mask-size:cover;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;filter:drop-shadow(0 1px 1px #42361d25)}
.collection-card[data-design=full-art] .collection-card-heading{right:auto}
.collection-card[data-design=full-art] .collection-card-details{bottom:22px;padding:0;border-bottom:0}
.collection-card[data-design=full-art] .collection-card-caption{display:flex;flex-direction:column;gap:7px}
.collection-card[data-design=full-art] .collection-card-pack-title{display:block;font-family:'Noto Sans KR','Outfit',sans-serif;font-size:12px;font-weight:500;line-height:1.35;letter-spacing:0;color:#f3eedfbc;text-align:left;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
.collection-card[data-design=full-art] .collection-card-footer{display:none}
@media(prefers-reduced-motion:reduce){.collection-depth img{transition:none;transform:none}}


/* Four depths: elevated frame, restrained near grass, subject and distant scene. */
.collection-depth-frame{display:none}
.collection-card[data-design=full-art] .collection-card-front{border:0;box-shadow:none}
.collection-card[data-design=full-art] .collection-card-front::after{display:none}
.collection-card[data-design=full-art] .collection-card-field{border-radius:16px}
.collection-card[data-design=full-art] .collection-depth-frame{display:block;position:absolute;inset:1px;border:3px solid var(--full-edge);border-radius:15px;background:transparent;box-shadow:0 1px 3px #17201930;z-index:7;pointer-events:none;transform:translate(calc(var(--card-depth-x,0)*.2%),calc(var(--card-depth-y,0)*.2%));transition:transform .12s ease-out}
.collection-card[data-design=full-art] .collection-depth-frame::after{content:'';position:absolute;inset:4px;border:1px solid #fff3;border-radius:9px;pointer-events:none}
.collection-depth-background{z-index:0}
.collection-depth-foreground{z-index:1}
.collection-depth-near{inset:-4%;width:108%;height:108%;z-index:2;transform:translate(calc(var(--card-depth-x,0)*2%),calc(var(--card-depth-y,0)*2%));mask-image:linear-gradient(transparent 73%,#000c 88%,#000 100%);mask-mode:alpha;mask-repeat:no-repeat;-webkit-mask-image:linear-gradient(transparent 73%,#000c 88%,#000 100%);filter:none}
@media(prefers-reduced-motion:reduce){.collection-card[data-design=full-art] .collection-depth-frame{transition:none;transform:none}.collection-depth-near{transform:none}}


/* Grounded depth: one crop, preserved contact shadows, hoof-anchored motion. */
.collection-card[data-grounded=true] .collection-depth{inset:-3%;overflow:visible}
.collection-card[data-grounded=true] .collection-depth img{inset:0;width:100%;height:100%}
.collection-card[data-grounded=true] .collection-depth-foreground{transform-origin:50% var(--card-ground-y,78.5%);transform:skewX(calc(var(--card-depth-x,0)*-.65deg)) scaleY(calc(1 + var(--card-depth-y,0)*.012));filter:none}
.collection-card[data-grounded=true] .collection-depth-near{transform-origin:50% var(--card-ground-y,78.5%);transform:skewX(calc(var(--card-depth-x,0)*1deg)) scaleY(calc(1 + var(--card-depth-y,0)*.004));mask-size:cover;mask-position:center;mask-mode:alpha,luminance;mask-composite:subtract;-webkit-mask-size:cover;-webkit-mask-position:center;filter:none}

/* Type sits on the foremost plane, outside the scene's clipping/stacking context. */
.collection-card[data-design=full-art] .collection-card-heading,
.collection-card[data-design=full-art] .collection-card-details{z-index:20;transform:translate(calc(var(--card-depth-x,0)*var(--collection-card-width)*.014),calc(var(--card-depth-y,0)*var(--collection-card-width)*.014)) scale(calc(1 + var(--card-type-lift,0)*.012));transform-origin:center bottom;transition:transform .12s ease-out;filter:drop-shadow(0 1px 2px #10201550)}
@media(prefers-reduced-motion:reduce){
  .collection-card[data-grounded=true] .collection-depth img,
  .collection-card[data-design=full-art] .collection-card-heading,
  .collection-card[data-design=full-art] .collection-card-details{transform:none;transition:none}
}

/* Approved continuous compare/collect flow. The finished TCG design is untouched. */
body[data-flow=compare] #quiz-hub,body[data-flow=compare] #quiz-lobby,body[data-flow=compare] .bonus-section,body[data-flow=compare] #leaderboard-view,body[data-flow=compare] .progress,body[data-flow=compare] #count,body[data-flow=compare] #auto-advance,body[data-flow=compare] #points{display:none!important}
body[data-flow=compare] .compare-remaining{font-size:12px;line-height:1.4;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ink-soft,#687568)}
body[data-flow=compare] .shell{max-width:1050px}
body[data-flow=compare] #play-view{max-width:660px;margin:0 auto}
body[data-flow=compare] .play-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;height:auto;min-height:36px;margin-top:18px}
body[data-flow=compare] #play-label{display:none}
body[data-flow=compare] .question{height:auto;min-height:68px;text-align:center;padding:12px 0 16px}
body[data-flow=compare] .question .overline{margin:0 0 8px;font-size:12px;letter-spacing:.025em}
body[data-flow=compare] .question h1{font-size:25px;margin:0;letter-spacing:-.035em;line-height:1.3}
body[data-flow=compare] .question-measurement{margin:8px auto 0;font-size:12px;line-height:1.5;color:#687568}
body[data-flow=compare] .stage{height:clamp(310px,48svh,480px);border-radius:24px;box-shadow:0 1px 0 #fffcf4,0 7px 0 -2px #f4f1e8,0 8px 0 -2px #d8d9cd,0 13px 0 -5px #f4f1e8,0 14px 0 -5px #d8d9cd;outline-offset:5px}
body[data-flow=compare] .interaction{display:flex;flex-direction:column;height:auto;min-height:0;gap:12px;max-width:660px;margin:24px auto 0}
body[data-flow=compare] #answer{height:auto;min-height:0;margin:0;padding:0}
body[data-flow=compare] .compare-values{justify-content:space-between;gap:12px}
body[data-flow=compare] .compare-values p{font-size:12px;line-height:1.3}
body[data-flow=compare] .compare-values strong{font-size:19px;line-height:1.4}
body[data-flow=compare] .answer-meta{margin-top:8px;gap:12px;align-items:flex-start;font-size:12px;flex-wrap:wrap;white-space:normal}
body[data-flow=compare] #answer-note{display:none}
body[data-flow=compare] #source{font-size:11px;margin-left:auto;max-width:100%;overflow-wrap:anywhere}
body[data-flow=compare] #action{width:100%;min-height:52px;font-size:16px;margin:0;order:2}
body[data-flow=compare] .compare-outcome{display:flex;justify-content:space-between;align-items:center;gap:12px;order:1}
body[data-flow=compare] .compare-outcome strong{font-size:18px;line-height:1.4}
body[data-flow=compare] .compare-outcome p{margin:4px 0 0;font-size:12px;line-height:1.5;color:#687568}
body[data-flow=compare] .compare-outcome .secondary{min-height:44px;white-space:nowrap;padding:8px 14px;font-size:12px}
body[data-flow=compare] .result-controls{order:4;margin:0;text-align:center;justify-content:center}
body[data-flow=compare] #game-footer{display:none!important}
body[data-flow=compare] #collection-add-packs{display:block;margin:0 0 12px auto}
body[data-flow=compare] .compare-home{max-width:600px;min-height:460px;margin:30px auto;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px}
body[data-flow=compare] .compare-home h1{font-size:32px;letter-spacing:-.04em;margin:0}
body[data-flow=compare] .compare-home p{margin:0;line-height:1.6}
body[data-flow=compare] .compare-home .primary{min-width:210px}
body[data-flow=compare] .compare-reset{font-size:12px;color:#687568}
@media(max-width:650px){
 body[data-flow=compare] .app-header{grid-template-columns:1fr auto;row-gap:12px;margin-bottom:12px}
 body[data-flow=compare] .app-header nav{grid-column:1/-1;grid-row:2;justify-content:center;gap:28px}
 body[data-flow=compare] .header-tools{gap:10px}
 body[data-flow=compare] #account-button{font-size:12px;min-height:38px;padding:7px 10px}
 body[data-flow=compare] .sizevs-wordmark{width:94px;height:auto}
 body[data-flow=compare] .play-heading{margin-top:6px}
 body[data-flow=compare] .question{min-height:60px;padding:10px 0 14px}
 body[data-flow=compare] .question h1{font-size:21px}
 body[data-flow=compare] .stage{height:clamp(265px,calc(100svh - 365px),430px);border-radius:20px}
 body[data-flow=compare] .interaction{margin-top:22px;gap:10px}
 body[data-flow=compare] .compare-outcome strong{font-size:16px}
 body[data-flow=compare] .compare-remaining{font-size:11px;max-width:125px;white-space:normal;text-align:right}
 body[data-flow=compare] .compare-home{min-height:360px}
}
@media(prefers-reduced-motion:no-preference){body[data-flow=compare][data-phase=question] .stage canvas{animation:compare-arrive .18s ease-out}@keyframes compare-arrive{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

body[data-flow=compare] #play-view #action{width:100%;max-width:none}
body[data-flow=compare] #collection-empty-play,body[data-flow=compare] #compare-start{background:#30463b;color:#fffcf4}

body[data-flow=compare] #play-view .interaction{width:100%;min-height:0}
body[data-flow=compare] #play-view .compare-values{width:100%}
body[data-flow=compare] #play-view .compare-outcome{width:100%}

/* One-screen comparison: the scene and action stay in place during reveal. */
body[data-flow=compare][data-view=play]:not([data-phase=summary]){height:100dvh;min-height:0;overflow:hidden;overscroll-behavior:none}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .shell{box-sizing:border-box;height:100%;min-height:0;display:grid;grid-template-rows:56px minmax(0,1fr);padding-top:env(safe-area-inset-top);padding-bottom:12px}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .app-header{height:56px;min-height:0;margin:0;display:flex;align-items:center;gap:16px;border:0}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .app-header nav{position:static;height:100%;margin-left:auto;margin-right:auto;gap:24px;justify-content:center}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .app-header .header-tools{margin-left:0}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) main{min-height:0;display:block;position:relative}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #play-view{height:100%;min-height:0;display:grid;grid-template-rows:28px 104px minmax(0,1fr) 170px;gap:0;width:100%;margin:0 auto}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .play-heading{height:28px;min-height:0;margin:0;gap:8px;flex-wrap:nowrap}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .play-heading .quiet{min-height:28px;font-size:11px}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .question{height:104px;min-height:0;padding:8px 0 12px;display:flex;flex-direction:column;justify-content:center;gap:5px;overflow:hidden}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .question .overline{display:none;margin:0;font-size:10px;line-height:1.3}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #title{font-size:21px;line-height:1.2;margin:0;word-break:keep-all;overflow-wrap:anywhere}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .question-measurement{margin:0;font-size:11px;line-height:1.4}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .stage{height:100%;min-height:0;max-height:none;min-width:0;width:100%;background:#eae8df;border-radius:22px;box-shadow:inset 0 0 0 1px #d7d7c780;overflow:hidden}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .interaction{height:170px;min-height:0;width:100%;margin:0;padding:8px 0 0;display:grid;grid-template-rows:66px 48px 40px;gap:4px;align-content:start}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .compare-feedback{position:relative;width:100%;min-height:0}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .compare-response{position:absolute;inset:0;display:grid;grid-template-rows:26px 40px}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #compare-outcome{width:100%;margin:0;display:flex;align-items:center;justify-content:center;gap:10px;min-height:0;order:initial}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #compare-outcome-title{font-size:14px;line-height:1.4;min-width:0}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #compare-outcome-detail{font-size:11px;line-height:1.4;margin:0;flex-shrink:0}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #answer{height:40px;min-height:0;padding:0;margin:0;grid-row:2;width:100%}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .compare-values{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin:0;width:100%}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .compare-values p{display:flex;flex-direction:column;align-items:center;gap:0;margin:0;font-size:10px;line-height:1.3;min-width:0}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .compare-values strong{font-size:17px;line-height:1.5;white-space:nowrap;letter-spacing:-.02em}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .answer-meta{display:none}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #action{height:48px;min-height:44px;width:100%;margin:0;order:initial;font-size:15px;border-radius:14px;padding:10px 16px}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .result-controls{height:40px;min-height:0;display:flex;justify-content:center;align-items:center;gap:8px;margin:0;order:initial}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .result-controls :is(button,a){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin:0;padding:7px 9px;border:0;background:transparent;border-radius:9px;font:inherit;font-size:11px;line-height:1.2;color:#52675a;max-width:45%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-decoration:none}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .result-controls :is(button,a):hover{background:#30463b0b}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #compare-view-card{color:#30463b;font-weight:650;background:#30463b0a}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #source{margin-left:0}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #play-status:not(:empty){position:absolute;top:30px;left:0;right:0;z-index:12;padding:9px 12px;background:#fffcf4;border:1px solid #d6d6c9;border-radius:12px;font-size:12px;line-height:1.5;box-shadow:0 4px 16px #30463b16}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #play-status:empty{display:none}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .scale-tutorial{position:fixed;inset:calc(56px + env(safe-area-inset-top)) 0 0;z-index:30;border-radius:0;background:#26362dde}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .scale-tutorial-content{width:min(540px,calc(100% - 40px));padding:20px;margin:auto}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .scale-tutorial-content h2{font-size:22px;line-height:1.4}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .scale-tutorial-content p{font-size:13px;line-height:1.6}
@media(max-width:780px){
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .shell{grid-template-rows:52px minmax(0,1fr);padding:env(safe-area-inset-top) 16px calc(56px + env(safe-area-inset-bottom))}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .app-header{height:52px;gap:12px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .app-header .brand{margin-right:auto}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .app-header nav{position:fixed;left:0;right:0;bottom:0;height:calc(52px + env(safe-area-inset-bottom));width:100%;max-width:none;box-sizing:border-box;transform:none;top:auto;flex-wrap:nowrap;padding:0 16px env(safe-area-inset-bottom);margin:0;gap:8px;background:#f4f1e8;border-top:1px solid #d9ddcf;z-index:20;display:flex}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .app-header nav button{flex:1 1 0;width:0;white-space:nowrap;min-height:44px;font-size:13px;border-radius:12px;padding:0 16px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .app-header nav button[aria-current=page]{background:#e2e5d9}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .app-header nav button[aria-current=page]::after{display:none}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .app-header .header-tools{gap:8px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) #account-button{min-height:36px;padding:6px 9px;font-size:11px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .sizevs-wordmark{width:90px;height:auto}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) #play-view{grid-template-rows:26px 100px minmax(0,1fr) 166px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .question{height:100px;padding:6px 0 10px;gap:4px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) #title{font-size:19px;line-height:1.25}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .interaction{height:166px;grid-template-rows:62px 48px 44px;padding:4px 0 0}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .compare-response{grid-template-rows:24px 38px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) #answer{height:38px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .compare-values strong{font-size:16px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .result-controls{height:44px;gap:3px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .result-controls :is(button,a){min-height:44px;padding:6px 8px;font-size:11px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .scale-tutorial{inset:calc(52px + env(safe-area-inset-top)) 0 calc(52px + env(safe-area-inset-bottom))}
}
@media(max-height:680px) and (max-width:780px){
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) #play-view{grid-template-rows:24px 88px minmax(0,1fr) 152px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .question{height:88px;padding:2px 0 6px;gap:3px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) #title{font-size:18px;line-height:1.2}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .question .overline{display:none}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .interaction{height:152px;grid-template-rows:56px 44px 44px;gap:2px;padding:4px 0 0}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .compare-response{grid-template-rows:22px 34px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) #answer{height:34px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .compare-values strong{font-size:14px;line-height:1.25}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) #action{height:44px;min-height:44px;padding:8px 14px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) #compare-outcome-title{font-size:13px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) #compare-outcome-detail{font-size:10px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .scale-control{gap:6px!important}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .scale-control input{height:60px!important}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .tutorial-adjustment-demo{min-height:110px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .scale-tutorial-content h2{font-size:19px}
}
@media(max-height:480px) and (min-width:600px){
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .shell{grid-template-rows:44px minmax(0,1fr);padding-bottom:8px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .app-header{height:44px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .app-header nav{position:static;height:100%;width:auto;transform:none;flex-wrap:nowrap;padding:0;border:0;background:transparent}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) #play-view{max-width:100%;grid-template-columns:minmax(0,1.3fr) minmax(240px,1fr);grid-template-rows:28px 96px minmax(0,1fr);column-gap:20px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .stage{grid-column:1;grid-row:1/4;max-height:none}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .play-heading{grid-column:2;grid-row:1}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .question{grid-column:2;grid-row:2;height:96px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .interaction{grid-column:2;grid-row:3;align-self:end}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .scale-tutorial{inset:44px 0 0}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .scale-tutorial-content{padding:8px 20px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .tutorial-adjustment-demo{min-height:95px;margin:5px 0}
}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .result-controls :is(button,a):focus-visible{outline:2px solid #52675a;outline-offset:-2px;text-decoration:underline;text-underline-offset:3px}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .stage:focus-visible{box-shadow:inset 0 -2px 0 #52675a}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .tutorial-preview-stage{height:min(460px,calc(100dvh - 48px));min-height:0}
@media(max-width:780px){body[data-flow=compare][data-view=play]:not([data-phase=summary]) #leave-game{visibility:hidden}}
@media(max-height:480px) and (min-width:600px){
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .app-header nav button{flex:initial;width:auto}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) #title{font-size:19px;line-height:1.2}
}


/* Locale picker: no caret, and the open menu uses the site's paper palette. */
.web-footer .language-picker #language{display:none!important}
.web-footer .language-trigger{display:inline-flex;align-items:center;justify-content:center;min-height:40px;min-width:106px;max-width:160px;padding:8px 16px;border:1px solid #cbd2c6;border-radius:12px;background:#fffcf4;color:#52675a;font:inherit;font-size:13px;line-height:1.35;box-shadow:0 1px 2px #30463b09}
.web-footer .language-trigger::after{display:none}
.web-footer .language-trigger:hover,.web-footer .language-trigger[aria-expanded=true]{color:#30463b;background:#e9ecdf;border-color:#aab8a7}
.web-footer .language-trigger:focus-visible{outline:2px solid #52675a;outline-offset:3px}
.language-options{position:fixed;z-index:1000;box-sizing:border-box;padding:7px;border:1px solid #d4d9ca;border-radius:16px;background:#fffcf4;color:#30463b;box-shadow:0 12px 36px #243c2d23,0 2px 6px #243c2d0c;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b7c4b3 transparent}
.language-options[hidden]{display:none!important}
.language-options .language-option{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:40px;padding:9px 12px;border:0;border-radius:9px;background:transparent;color:#30463b;font-family:'Noto Sans KR','Outfit',system-ui,sans-serif;font-size:14px;line-height:1.35;text-align:left;white-space:nowrap}
.language-options .language-option[aria-selected=true]{background:#e4eada;font-weight:650}
.language-options .language-option:hover{background:#eff1e8}
.language-options .language-option:focus-visible{outline:2px solid #738a73;outline-offset:-2px;background:#edf1e5}
.language-options .language-option-mark{font-size:13px;opacity:0;color:#52675a}
.language-options .language-option[aria-selected=true] .language-option-mark{opacity:1}
@media(pointer:coarse){.web-footer .language-trigger{min-height:44px}.language-options .language-option{min-height:44px;padding:10px 12px;font-size:15px}}

/* Every collectible shares the full-art material, with an edge for its actual grade. */
:is(.collection-card,.collected-card,.collection-peek)[data-design=full-art][data-rarity=common]{--full-edge:#98a58d;--full-deep:#344737;--full-accent:#d8e2cb}
:is(.collection-card,.collected-card,.collection-peek)[data-design=full-art][data-rarity=rare]{--full-edge:#6f9bac;--full-deep:#284354;--full-accent:#c7e2e8}
:is(.collection-card,.collected-card,.collection-peek)[data-design=full-art][data-rarity=epic]{--full-edge:#9f89b5;--full-deep:#40334e;--full-accent:#d8c4e9}
:is(.collection-card,.collected-card,.collection-peek)[data-design=full-art][data-rarity=legendary]{--full-edge:#c7a859;--full-deep:#59451c;--full-accent:#f1d895}
.collection-card[data-composed=true] .collection-depth{inset:0;overflow:visible}
.collection-card[data-composed=true] .collection-depth-background{inset:-3%;width:106%;height:106%}
.collection-card[data-composed=true] .collection-depth :is(.collection-depth-subject,.collection-depth-ground){position:absolute;inset:0;width:100%;height:100%;pointer-events:none;filter:none;transition:transform .16s ease-out}
.collection-depth-subject{z-index:1;transform:translate(calc(var(--card-depth-x,0)*1.2%),calc(var(--card-depth-y,0)*1.2%))}
.collection-depth-ground{z-index:2;mask-repeat:no-repeat;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;-webkit-mask-size:100% 100%;transform-origin:50% var(--card-ground-y,78%);transform:skewX(calc(var(--card-depth-x,0)*.35deg)) scaleY(calc(1 + var(--card-depth-y,0)*.004))}
.collection-card[data-composed=true][data-grounded=true] .collection-depth-subject{transform-origin:50% var(--card-ground-y,78%);transform:skewX(calc(var(--card-depth-x,0)*-.65deg)) scaleY(calc(1 + var(--card-depth-y,0)*.012))}
@media(prefers-reduced-motion:reduce){.collection-card[data-composed=true] .collection-depth :is(.collection-depth-subject,.collection-depth-ground){transition:none;transform:none}}

:is(.collection-card,.collection-peek)[data-design=full-art][data-known=false]{--full-edge:#6f796e;--full-deep:#29362d;--full-accent:#c3ccbe}
.collection-card[data-design=full-art][data-known=false] .collection-card-field::after{background:none}

/* Long localized dimensions keep their full precision without squeezing the name. */
.collection-card[data-design=full-art] .collection-card-size{font-size:var(--card-value-size,clamp(29px,calc(var(--collection-card-width)*.125),42px));white-space:nowrap;flex-shrink:0}
.collection-card[data-design=full-art] .collection-card-size>span{white-space:nowrap;flex-shrink:0}
.collection-card[data-design=full-art][data-wide-measurement=true] .collection-card-details{flex-direction:column;align-items:stretch;gap:9px}
.collection-card[data-design=full-art][data-wide-measurement=true] .collection-card-caption{width:100%;min-width:0;flex:none}
.collection-card[data-design=full-art][data-wide-measurement=true] .collection-card-dimension{width:100%;max-width:100%;align-self:stretch;align-items:flex-end}


/* Complete scenes use the same framing in every plane; headroom and feet stay intact. */
.collection-card[data-depth-full-scene=true] .collection-depth{inset:0;overflow:hidden}
.collection-card[data-depth-full-scene=true] .collection-depth img{inset:0;width:100%;height:100%}
.collection-card[data-depth-full-scene=true] .collection-depth-background{inset:-1%;width:102%;height:102%}
.collection-card[data-depth-full-scene=true] .collection-depth-near{mask-size:100% 100%;-webkit-mask-size:100% 100%}
.collection-card[data-depth-full-scene=true] .collection-depth-foreground{mask-size:100% 100%;-webkit-mask-size:100% 100%}

/* Connected scenes preserve the original object + wall/floor/water relationship. */
.collection-card[data-depth-full-scene=true][data-depth-scene-locked=true] .collection-depth-foreground{transform:none;filter:none}
.collection-card[data-depth-full-scene=true]:is([data-depth-connection=ground],[data-depth-connection=water]) .collection-depth-foreground{transform-origin:50% var(--card-ground-y,78%);filter:none}
.collection-card[data-depth-full-scene=true][data-depth-scene-locked=false]:is([data-depth-connection=ground],[data-depth-connection=water]) .collection-depth-background{inset:-.6%;width:101.2%;height:101.2%;transform:translate(calc(var(--card-depth-x,0)*-.25%),calc(var(--card-depth-y,0)*-.25%))}
@media(prefers-reduced-motion:reduce){.collection-card[data-depth-full-scene=true]:is([data-depth-connection=ground],[data-depth-connection=water]) .collection-depth img{transform:none;transition:none}}

/* Compare, collection, store and profile share a compact four-page navigation. */
body[data-flow=compare] .app-header nav{gap:24px}
body[data-flow=compare] #account-button[hidden]{display:none!important}
.collection-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin:28px 0 8px}
.collection-pagination[hidden]{display:none!important}
.collection-pagination button{min-width:40px;min-height:42px;padding:8px 12px;border:1px solid #d6d9cc;border-radius:11px;background:#fffcf4;color:#52675a;font:inherit;font-size:13px}
.collection-pagination button[aria-current=page]{background:#30463b;color:#fffcf4;border-color:#30463b;font-weight:700}
.collection-pagination button:disabled{opacity:.4;cursor:default}
.collection-pagination button:focus-visible{outline:2px solid #52675a;outline-offset:3px}
.card-pagination-status{flex-basis:100%;text-align:center;font-size:11px;color:#687568;margin-top:7px}
.card-pagination-ellipsis{padding:0 4px;color:#687568}
.store-balance{display:flex;align-items:center;gap:12px;justify-content:flex-end;margin:0 0 24px;color:#687568;font-size:13px}
.store-balance strong{font-size:20px;color:#30463b;font-variant-numeric:tabular-nums}
.store-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 20px}
.store-pack{display:flex;flex-direction:column;min-width:0;padding:14px;border:1px solid #e4e2d6;border-radius:22px;background:#fffcf4}
.store-pack-cover{display:block;width:100%;aspect-ratio:63/88;padding:0;border:0;border-radius:15px;background:#e9e4d6;overflow:hidden;box-shadow:0 8px 15px #30463b12;cursor:pointer}
.store-pack-cover img{display:block;width:100%;height:100%;object-fit:cover}
.store-pack-copy{padding:16px 2px 12px;flex:1}
.store-pack-copy h2{margin:0 0 8px;font-size:18px;line-height:1.35;letter-spacing:-.03em}
.store-pack-description{font-size:12px;line-height:1.65;color:#687568;margin:0 0 10px}
.store-pack-count{font-size:11px;color:#687568}
.store-pack-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}
.store-pack-price{font-size:13px;white-space:nowrap}
.store-pack-buy.primary{min-height:40px;padding:8px 14px;font-size:12px;border-radius:11px;margin:0}
.store-pack[data-owned=true] .store-pack-buy{background:#e9ecdf;color:#52675a;opacity:1;cursor:default}
#store-status:empty{display:none}
.profile-identity{display:flex;align-items:center;gap:18px;padding:24px;border:1px solid #e0e2d5;border-radius:22px;background:#fffcf4}
.profile-identity h2{margin:0 0 5px;font-size:22px;line-height:1.35}
.profile-identity p{margin:0;color:#687568;font-size:12px;line-height:1.6}
.profile-avatar{flex:none;display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:#30463b;color:#fffcf4;font-family:'Outfit',sans-serif;font-size:23px;font-weight:800}
.profile-identity>div:nth-child(2){min-width:0;flex:1}
.profile-identity .secondary{flex:none;min-height:42px;padding:8px 14px;margin:0;font-size:12px}
.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0 32px}
.profile-stats>div{padding:22px;background:#e9ecdf;border-radius:18px}
.profile-stats dt{font-size:12px;color:#687568;margin:0 0 8px}
.profile-stats dd{margin:0;font-family:'Outfit',sans-serif;font-size:28px;font-weight:600;white-space:nowrap}
.profile-view section>h2{font-size:18px;margin:0 0 14px}
.profile-rarity-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:32px}
.profile-rarity{display:flex;flex-direction:column;gap:12px;padding:18px;border:1px solid #d4d9cb;border-radius:16px;background:#fffcf4;border-top:3px solid #98a58d}
.profile-rarity[data-rarity=rare]{border-top-color:#6f9bac}.profile-rarity[data-rarity=epic]{border-top-color:#9f89b5}.profile-rarity[data-rarity=legendary]{border-top-color:#c7a859}
.profile-rarity span{font-size:11px;letter-spacing:.03em;color:#687568}.profile-rarity strong{font-family:'Outfit',sans-serif;font-size:26px;font-weight:600}
.profile-badge-section>p{font-size:13px;color:#687568;line-height:1.6;margin-bottom:20px}
.profile-badges{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.profile-pack-badge{display:flex;align-items:center;flex-direction:column;gap:7px;min-width:0;padding:18px 10px;border:1px solid #e0e2d5;border-radius:18px;background:#fffcf4;color:#30463b;font:inherit;text-align:center}
.profile-pack-badge img{width:62px;aspect-ratio:63/88;object-fit:cover;border-radius:9px;box-shadow:0 5px 9px #30463b15;opacity:.7}
.profile-pack-badge strong{font-size:12px;line-height:1.4}.profile-pack-badge span,.profile-pack-badge small{font-size:11px;color:#687568}
.profile-pack-badge[data-complete=true]{background:#e9ecdf;border-color:#b6c3ac}.profile-pack-badge[data-complete=true] img{opacity:1}.profile-pack-badge[data-complete=true] small{color:#30463b;font-weight:650}
.profile-super-tools{margin-top:30px;padding:20px;border:1px dashed #b6c3ac;border-radius:16px}.profile-super-tools p{font-size:12px;color:#687568}.profile-super-tools p:empty{display:none}
#profile-reset-compare{min-height:42px;font-size:13px}

/* The result stays inside the scene; the action row always occupies the same space. */
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #play-view{grid-template-columns:1fr;grid-template-rows:90px minmax(0,1fr) 148px}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .play-heading{display:none}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .question{grid-column:1;grid-row:1;height:90px;padding:5px 0 10px;justify-content:flex-end}
.question-title-row{display:flex;align-items:flex-end;gap:18px;width:100%}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #title{flex:1;min-width:0;font-size:26px;font-weight:750;line-height:1.25;letter-spacing:-.035em}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #tutorial-replay{flex:none;min-height:36px;padding:7px 0 4px;font-size:11px;font-weight:500;white-space:nowrap;align-self:flex-end}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .stage{grid-column:1;grid-row:2;position:relative}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .interaction{grid-column:1;grid-row:3;height:148px;grid-template-rows:54px 80px;gap:6px;padding:6px 0 0}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .result-controls{display:none!important}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .compare-response{grid-template-rows:minmax(0,1fr)}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #answer{display:grid;grid-row:1;align-content:center;gap:2px;height:100%;padding:0 6px}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .compare-values{gap:12px;max-width:400px;margin-inline:auto}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .compare-values strong{font-size:clamp(15px,3.8vw,18px);line-height:1.2;white-space:normal;overflow-wrap:anywhere}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) .answer-meta{display:block;margin:0;text-align:center}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #answer-note{display:block;font-size:clamp(11px,3vw,13px);font-weight:650;line-height:1.3;color:var(--fg)}
.compare-action-row{display:flex;align-items:center;gap:16px;min-width:0}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #action{flex:1;width:auto;height:52px;min-height:52px;font-weight:650;font-size:16px}
.compare-reward{position:relative;flex:none;width:54px;height:76px;perspective:350px;border:0;padding:0;margin:0;background:transparent;cursor:pointer;color:#f4f1e8;opacity:1}
.compare-reward:disabled{opacity:1;cursor:default}
.compare-reward-turn{position:absolute;inset:0;border-radius:8px;transform-style:preserve-3d;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.compare-reward.is-revealed .compare-reward-turn{transform:rotateY(180deg)}
.compare-reward-back,.compare-reward-front{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;backface-visibility:hidden;border:2px solid #87917d;border-radius:8px;box-shadow:0 3px 8px #30463b22}
.compare-reward-back{background:radial-gradient(ellipse at center,#3a4639,#263229);transform:rotateY(0)}
.compare-reward-back img{width:36px;height:auto;filter:brightness(0) invert(1);opacity:.5}
.compare-reward-front{background:#30463b;transform:rotateY(180deg)}
.compare-reward-front canvas{width:100%;height:100%;display:block}
#compare-reward-name{position:absolute;bottom:0;left:0;right:0;padding:5px 2px 3px;background:linear-gradient(transparent,#17251dcf);color:#fffcf4;font-size:7px;font-weight:650;line-height:1.3;text-align:center}
#compare-reward-label{position:absolute;z-index:2;left:50%;bottom:-4px;transform:translateX(-50%);white-space:nowrap;font-size:9px;font-weight:700;padding:3px 7px;border-radius:6px;background:#30463b;color:#fffcf4;box-shadow:0 1px 4px #0002}
#compare-reward-label:empty{display:none}.compare-reward[data-qualified=false] #compare-reward-label{background:#665b4c}
.compare-reward[data-rarity=rare] .compare-reward-front{border-color:#6f9bac}.compare-reward[data-rarity=epic] .compare-reward-front{border-color:#9f89b5}.compare-reward[data-rarity=legendary] .compare-reward-front{border-color:#c7a859}
.compare-reward:focus-visible{outline:2px solid #52675a;outline-offset:4px;border-radius:8px}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #compare-outcome{position:absolute;z-index:16;inset:auto 14% 42%;width:72%;display:flex;flex-direction:column;gap:7px;min-height:0;padding:24px 14px;border:1px solid #fffcf44a;border-radius:24px;background:#26362dee;box-shadow:0 12px 42px #17251d30;pointer-events:none;animation:comparison-outcome .45s cubic-bezier(.2,.8,.2,1) both;color:#fffcf4;text-align:center}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #compare-outcome-title{font-size:clamp(34px,5vw,46px);font-weight:800;line-height:1.2;letter-spacing:-.04em;color:#fffcf4}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #compare-outcome-detail{font-size:15px;line-height:1.5;color:#e1e5d7}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #compare-outcome[data-acquired=false]{background:#554d42eb}
body[data-flow=compare][data-view=play]:not([data-phase=summary]) #play-status:not(:empty){top:auto;bottom:148px;margin:0}
@keyframes comparison-outcome{from{opacity:0;transform:translateY(14px) scale(.86)}to{opacity:1;transform:translateY(0) scale(1)}}
.collection-dialog[data-reward=true]{--collection-card-width:min(76vw,calc(74dvh * 63 / 88),420px);width:min(94vw,680px);background:transparent!important;border:0!important;box-shadow:none;overflow:visible;max-height:96dvh}
.collection-dialog[data-reward=true]::backdrop{background:#080b09f5;backdrop-filter:blur(6px)}
.collection-dialog[data-reward=true] .collection-panel{padding:40px 0 22px;overflow:visible}
.collection-dialog[data-reward=true] :is(.collection-heading,.collection-progress,.collection-thumbnails,.collection-navigation,.collection-flip,.collection-pack-summary,.collection-peek,.collection-pack-description){display:none!important}
.collection-dialog[data-reward=true] .collection-stage{margin:0}
.collection-dialog[data-reward=true] .collection-close{top:0;right:0;z-index:50;color:#fffcf4;background:#ffffff0c}
.collection-card[data-design=full-art] .collection-acquired{font-size:12px;opacity:.8}
@media(max-width:1000px){.store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-badges{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:780px){
 body[data-flow=compare]:not([data-view=play]){padding-bottom:calc(64px + env(safe-area-inset-bottom))}
 body[data-flow=compare] .app-header{display:flex;height:64px;gap:12px;margin-bottom:12px}
 body[data-flow=compare] .app-header .brand{margin-right:auto}
 body[data-flow=compare] .app-header nav{position:fixed;left:0;right:0;bottom:0;top:auto;transform:none;width:100%;max-width:none;height:calc(54px + env(safe-area-inset-bottom));box-sizing:border-box;display:flex;justify-content:stretch;flex-wrap:nowrap;gap:4px;padding:0 12px env(safe-area-inset-bottom);margin:0;background:#f4f1e8;border-top:1px solid #d9ddcf;z-index:20}
 body[data-flow=compare] .app-header nav button{flex:1;min-width:0;min-height:44px;padding:0 5px;font-size:13px;border-radius:12px;white-space:nowrap}
 body[data-flow=compare] .app-header nav button[aria-current=page]{background:#e2e5d9}.app-header nav button[aria-current=page]::after{display:none}
 .store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.store-pack{padding:10px;border-radius:18px}.store-pack-copy h2{font-size:16px}.store-pack-footer{flex-wrap:wrap}.store-pack-buy.primary{width:100%}
 .profile-identity{gap:12px;padding:18px;flex-wrap:wrap}.profile-avatar{width:46px;height:46px;font-size:20px}.profile-identity h2{font-size:20px}.profile-identity .secondary{margin-left:auto}
 .profile-stats{gap:8px}.profile-stats>div{padding:16px 12px}.profile-stats dd{font-size:24px}.profile-stats dt{font-size:11px}
 .profile-rarity-list{gap:8px}.profile-rarity{padding:14px 9px}.profile-rarity span{font-size:9px}.profile-badges{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.profile-pack-badge{padding:14px 7px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) #play-view{grid-template-rows:84px minmax(0,1fr) 146px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .question{height:84px;padding:4px 0 8px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) #title{font-size:24px;line-height:1.25}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) .interaction{height:146px;grid-template-rows:54px 78px;padding:6px 0 0}
 .question-title-row{gap:10px}.compare-action-row{gap:14px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) #tutorial-replay{font-size:10px;padding-bottom:4px}
 body[data-flow=compare][data-view=play]:not([data-phase=summary]) #compare-outcome{inset:auto 10% 42%;width:80%;padding:20px 10px}
}
@media(prefers-reduced-motion:reduce){.compare-reward-turn{transition:none}body[data-flow=compare][data-view=play]:not([data-phase=summary]) #compare-outcome{animation:none}}

/* Full-art thumbnail captions override the older stock-card text color. */
.collected-card[data-rarity][data-design=full-art] .collected-card-field .collected-card-name{color:#faf5e8;text-shadow:0 1px 4px #17251d60;font-weight:750;text-align:left;padding:14px 11px 15px}
body[data-flow=compare] #account-profile :is(#competition-account,.ranking-preference){display:none}
