/* Hallmark · shape: app screen · genre: modern-minimal · theme: Coral (neutral adaptation) · v2.0.0 */
/* Critique: one stable artboard; the logo never moves while the interface stays subordinate. */
* { box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
html, body { margin: 0; overflow-x: clip; }
body { background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: 14px; line-height: 1.5; }
button, a { -webkit-tap-highlight-color: var(--color-clear); }
button { color: inherit; font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
button:disabled { cursor: wait; opacity: .55; }
button:active { transform: translateY(1px); }
.shell { max-width: 1600px; margin: 0 auto; padding: 0 var(--space-lg); min-height: 100svh; display: flex; flex-direction: column; }
header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: var(--space-md) 0; }
.identity { display: flex; align-items: baseline; gap: var(--space-sm); min-width: 0; }
h1 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 650; text-wrap: balance; min-width: 0; overflow-wrap: break-word; }
.identity span, .caption, footer, #counter { color: var(--color-muted); }
.theme { font-size: 0; min-width: 44px; margin-left: auto; min-height: 44px; padding: 0 var(--space-sm); border: 1px solid var(--color-rule); border-radius: var(--radius-control); background: var(--color-clear); white-space: nowrap; }
.theme::before { content: "◐"; font-size: 22px; line-height: 1; }
.theme:hover { background: var(--color-hover); }
main { width: 100%; margin: auto 0; padding: var(--space-md) 0; }
.caption { display: flex; justify-content: space-between; gap: var(--space-sm); margin-bottom: var(--space-sm); font-size: 13px; }
.stage { position: relative; display: grid; place-items: center; min-height: 380px; height: min(56svh, 640px); border: 0; border-radius: var(--radius-stage); background: var(--color-stage); isolation: isolate; }
.images { width: 100%; }
.images img { display: block; width: 100%; height: auto; max-height: min(52svh, 600px); object-fit: contain; user-select: none; -webkit-user-drag: none; }
[hidden] { display: none !important; }
.zone { position: absolute; inset-block: 0; width: 50%; border: 0; background: var(--color-clear); color: var(--color-stage-ink); border-radius: var(--radius-stage); display: flex; align-items: center; padding: var(--space-sm); }
.previous { left: 0; justify-content: flex-start; }
.next { right: 0; justify-content: flex-end; }
.zone svg { font-size: 36px; line-height: 1; opacity: .4; }
.zone:hover svg, .zone:focus-visible svg { opacity: 1; }
.zone:active { transform: none; }
/* The zones span half of the stage: their focus ring would draw a huge
   rectangle over the logo. The opaque chevron is the focus cue instead. */
.zone:focus-visible, .zone:focus { outline: none; }
.toolbar { display: flex; align-items: center; justify-content: center; gap: var(--space-md); padding-top: var(--space-md); }
#counter { margin: 0; font-variant-numeric: tabular-nums; }
.choices { display: flex; gap: var(--space-xs); }
.choices button { min-width: 48px; min-height: 44px; border: 0; border-radius: var(--radius-control); background: var(--color-clear); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.choices button:hover { background: var(--color-hover); color: var(--color-ink); }
.choices button[aria-current="true"] { background: var(--color-active); color: var(--color-active-ink); }
footer { display: flex; justify-content: space-between; gap: var(--space-sm); padding: var(--space-md) 0; font-size: 13px; }
footer p { margin: 0; }
kbd { display: inline-block; min-width: 25px; text-align: center; padding: 1px 4px; border: 1px solid var(--color-rule); border-radius: 4px; font: inherit; }
.error { position: relative; z-index: 2; background: var(--color-stage); color: var(--color-stage-ink); padding: var(--space-sm); }
.error button { background: var(--color-clear); border: 1px solid var(--color-rule); border-radius: var(--radius-control); min-height: 44px; padding: 0 var(--space-sm); }
.noscript a { color: inherit; }
@media (max-width: 640px) {
  .shell { padding-inline: var(--space-sm); }
  header { align-items: flex-start; }
  .identity { flex-direction: column; gap: 4px; }
  .identity span { font-size: 12px; }
  .theme { font-size: 0; padding-inline: 12px; }
  main { padding-block: var(--space-sm); }
  .caption { font-size: 11px; }
  .stage { min-height: 280px; height: 48svh; }
  .zone { padding: 4px; }
  .zone svg { font-size: 28px; }
  .toolbar { gap: var(--space-xs); padding-top: var(--space-sm); }
  #counter { font-size: 12px; }
  .choices { gap: 2px; }
  .choices button { min-width: 40px; }
  footer { flex-direction: column; gap: var(--space-xs); font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
