/* design tokens: flat sky-blue + frog orange, both sampled off the approved sticker art (PIL pixel probe) */
:root {
  --bg: #c8ecf7;
  --ink: #16130f;
  --orange: #fc6a06;
  --white: #ffffff;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 28px;
}

@font-face {
  font-family: 'Baloo 2';
  src: url('assets/fonts/baloo2-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Baloo 2';
  src: url('assets/fonts/baloo2-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('assets/fonts/space-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('assets/fonts/space-mono-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Baloo 2', ui-rounded, system-ui, sans-serif;
}

.stage {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-2) 80px;
}

.sticker {
  display: block;
  width: min(58vh, 78vw, 620px);
  height: auto;
}

.caption {
  margin: 0;
  max-width: 560px;
  text-align: center;
  font-family: 'Baloo 2', ui-rounded, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 3vw, 26px);
  line-height: 1.3;
  color: var(--ink);
}

.tag {
  position: fixed;
  right: var(--space-2);
  bottom: var(--space-2);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 8px 12px;
  transform: rotate(-3deg);
  box-shadow: 2px 3px 0 var(--ink);
}

.tag-ticker {
  font-family: 'Baloo 2', ui-rounded, system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.01em;
}

.tag-ca {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  font-family: 'Space Mono', ui-monospace, monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--ink);
  cursor: pointer;
}
.tag-ca:hover,
.tag-ca:focus-visible { color: var(--orange); }

.canary {
  position: fixed;
  bottom: 4px;
  left: 6px;
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 9px;
  color: #8fb9c9;
  z-index: 4;
}

@media (max-width: 480px) {
  .stage { padding: var(--space-2) var(--space-2) 90px; }
  .sticker { width: min(52vh, 84vw); }
  .caption { font-size: 16px; }
  .tag { right: var(--space-1); bottom: var(--space-1); padding: 6px 10px; }
  .tag-ticker { font-size: 11px; }
  .tag-ca { font-size: 11px; }
}
