@font-face {
  font-family: 'Big Shoulders Display';
  src: url('../assets/fonts/big-shoulders-display.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow';
  src: url('../assets/fonts/barlow-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow';
  src: url('../assets/fonts/barlow-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow';
  src: url('../assets/fonts/barlow-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --brand: #2a7d3e;
  --bg-top: #24713f;
  --bg-bottom: #113a21;
  --paper: #fbf7ec;
  --ink: #10261a;
  --ink-soft: #4d6455;
  --accent: #ffd23f;
  --accent-deep: #c99a00;
  --accent-ink: #2a1f00;
  --red: #e5383b;
  --green: #3ccf6e;
  --amber: #ffa62b;
  --shadow: 0 6px 0 rgba(6, 28, 14, 0.35), 0 18px 32px rgba(6, 28, 14, 0.25);
  --font-display: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg-bottom);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(90% 55% at 50% 0%, rgba(255, 255, 255, 0.16), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.07) 1.2px, transparent 1.7px) 0 0 / 18px 18px,
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
  padding: 12px 16px 10px;
}

#back {
  grid-column: 1;
  justify-self: start;
}

.brand {
  grid-column: 2;
}

#help-open {
  grid-column: 3;
  justify-self: end;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
}

.icon-btn:hover {
  background: rgba(0, 0, 0, 0.3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.25));
}

.brand em {
  font-size: 0.72em;
  font-style: normal;
  color: var(--accent);
}

.brand-icon {
  width: 28px;
  height: 28px;
  flex: none;
  background: var(--accent);
  mask: url('../assets/icons/phosphor/pencil-simple-fill.svg') center / contain no-repeat;
}

@media (max-width: 370px) {
  .brand {
    font-size: 25px;
  }

  .brand-icon {
    width: 23px;
    height: 23px;
  }
}

main {
  max-width: 460px;
  margin: 0 auto;
  padding: 6px 16px calc(24px + env(safe-area-inset-bottom));
}

.screen {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.screen.active {
  display: flex;
  animation: rise 0.28s ease-out;
}

.card {
  width: 100%;
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.08s, box-shadow 0.08s, background-color 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 5px 0 var(--accent-deep), 0 10px 18px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover:not(:disabled) {
  background: #ffdc66;
}

.btn-primary:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--accent-deep), 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:disabled {
  opacity: 0.6;
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.btn-outline:hover {
  background: rgba(16, 38, 26, 0.06);
}

.btn-danger {
  background: var(--red);
  color: #fff;
  box-shadow: 0 5px 0 #a3242a, 0 10px 18px rgba(0, 0, 0, 0.15);
}

.btn-danger:hover {
  background: #ec4f52;
}

.btn-danger:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #a3242a, 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-xl {
  width: 100%;
  min-height: 58px;
  font-size: 25px;
}

.hero {
  margin-top: 12px;
  padding: 26px 22px 24px;
  text-align: center;
}

.hero h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-text {
  margin: 10px 0 24px;
  color: var(--ink-soft);
  font-size: 18px;
}

.mode-status {
  margin: 10px 0 18px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.mode-status:empty {
  margin: 0 0 12px;
}

.picker {
  margin-top: 12px;
  padding: 22px 16px 16px;
}

.picker h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.competitions {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.picker-kicker {
  margin: 0 0 4px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.mask-icon {
  width: 26px;
  height: 26px;
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.competition {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 2px solid rgba(16, 38, 26, 0.12);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  transition: border-color 0.15s, transform 0.1s;
}

.competition:hover:not(:disabled) {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.competition:disabled {
  background: transparent;
}

.competition:disabled .code,
.competition:disabled .competition-info {
  opacity: 0.5;
}

.list-heading {
  margin: 10px 4px 0;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.list-heading:first-child {
  margin-top: 0;
}

.code {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 40px;
  border-radius: 8px;
  background: var(--badge-bg, #eceae3);
  color: var(--badge-fg, var(--ink-soft));
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.competition-info {
  flex: 1;
  min-width: 0;
}

.competition-name {
  display: block;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.competition-country {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
}

.competition > .icon {
  flex: none;
  color: var(--ink);
}

.soon {
  flex: none;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16, 38, 26, 0.08);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

#round {
  --board-w: min(100%, 420px, max(270px, 100svh - 456px));
}

.banner {
  width: 100%;
  padding: 10px 16px 12px;
  border-radius: 16px;
  background: var(--ink);
  box-shadow: var(--shadow);
  text-align: center;
}

.progress {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.dot[data-tier] {
  border-color: transparent;
}

.dot.current {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 210, 63, 0.25);
}

.banner-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.banner-team {
  margin: 2px 0 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(32px, 9vw, 42px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.board-frame {
  position: relative;
  width: var(--board-w);
  padding: 8px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.canvas,
.thumb-drawing,
.thumb-crest {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  image-rendering: pixelated;
  background-color: #d3d8d4;
  background-image:
    linear-gradient(45deg, #c2c8c4 25%, transparent 25%),
    linear-gradient(-45deg, #c2c8c4 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #c2c8c4 75%),
    linear-gradient(-45deg, transparent 75%, #c2c8c4 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
}

.crest-view,
.thumb-crest {
  object-fit: contain;
  image-rendering: auto;
}

#board {
  touch-action: none;
  cursor: crosshair;
}

.board-overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  overflow: visible;
  pointer-events: none;
}

.overlay-frame {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
  vector-effect: non-scaling-stroke;
}

.overlay-guide {
  stroke: var(--ink);
  stroke-opacity: 0.35;
  stroke-width: 1.5;
  stroke-dasharray: 3 5;
  vector-effect: non-scaling-stroke;
}

.overlay-handle {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.toolbar {
  display: flex;
  gap: 6px;
  width: var(--board-w);
  padding: 6px;
  border-radius: 16px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.group {
  display: flex;
  flex: 3 1 0;
  gap: 4px;
  min-width: 0;
}

#tools {
  flex-grow: 5;
}

.group:last-child {
  flex-grow: 3;
}

.group + .group {
  padding-left: 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.toolbar button,
.shape-tray button {
  display: grid;
  place-items: center;
  flex: 1 1 0;
  min-width: 0;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
}

.toolbar button:hover:not(:disabled, .active),
.shape-tray button:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
}

.toolbar button.active,
.shape-tray button.active {
  background: var(--accent);
  color: var(--accent-ink);
}

.shape-tray {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 8px;
  border: 0;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.shape-tray:popover-open {
  display: grid;
  gap: 8px;
  animation: rise 0.15s ease-out;
}

.shape-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.fill-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.shape-tray .fill-toggle button {
  height: 36px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.filled .shape-grid .icon,
#shape-tool.filled .icon {
  fill: currentColor;
}

.toolbar button:disabled {
  opacity: 0.35;
}

@media (max-width: 370px) {
  .toolbar {
    gap: 4px;
    padding: 4px;
  }

  .group {
    gap: 2px;
  }

  .group + .group {
    padding-left: 4px;
  }

  .toolbar .icon {
    width: 20px;
    height: 20px;
  }
}

.size[data-radius='1.5'] span {
  --d: 4px;
}

.size[data-radius='3'] span {
  --d: 8px;
}

.size[data-radius='7'] span {
  --d: 14px;
}

.size span {
  display: block;
  width: var(--d);
  height: var(--d);
  border-radius: 50%;
  background: currentColor;
}

.palette {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 38px));
  justify-content: space-evenly;
  gap: 10px 4px;
  width: var(--board-w);
  padding: 12px 8px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.2);
}

.swatch {
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
  transition: transform 0.1s;
}

.swatch:hover {
  transform: scale(1.08);
}

.swatch.active {
  transform: scale(1.14);
  border-color: #fff;
  box-shadow: 0 0 0 3px var(--accent), 0 4px 10px rgba(0, 0, 0, 0.35);
}

.actions {
  display: flex;
  gap: 10px;
  width: var(--board-w);
}

.actions #submit {
  flex: 1;
}

.error {
  margin: 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--red);
  font-weight: 600;
  text-align: center;
}

.scoreboard {
  width: 100%;
  padding: 14px 16px 20px;
  border: 3px solid #2b3b32;
  border-radius: 18px;
  background-color: #0b1410;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.6px);
  background-size: 6px 6px;
  box-shadow: var(--shadow);
  text-align: center;
}

.scoreboard-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scoreboard-score {
  margin: 4px 0 10px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 108px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 0.9;
  text-shadow: 0 0 22px rgba(255, 210, 63, 0.45);
}

.scoreboard-score small {
  font-size: 0.45em;
}

.verdict {
  display: inline-block;
  margin: 0;
  padding: 4px 16px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: rotate(-2deg);
  animation: pop 0.35s 0.6s ease-out backwards;
}

[data-tier='5'] {
  background: var(--accent);
  color: var(--accent-ink);
}

[data-tier='4'] {
  background: var(--green);
  color: #062b13;
}

[data-tier='3'] {
  background: #fff;
  color: var(--ink);
}

[data-tier='2'] {
  background: var(--amber);
  color: #3a2200;
}

[data-tier='1'] {
  background: var(--red);
  color: #fff;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  padding: 4px 4px 0;
}

.sticker {
  margin: 0;
  padding: 8px 8px 0;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.sticker .canvas {
  border-radius: 8px;
}

.sticker figcaption {
  padding: 6px 4px 8px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 4px 0 0;
  padding: 12px 8px;
  text-align: center;
}

.stats div + div {
  border-left: 1px solid rgba(16, 38, 26, 0.12);
}

.stats dt {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.daily-list {
  margin: 0;
  padding: 4px 14px;
  list-style: none;
}

.daily-list li {
  display: grid;
  grid-template-columns: 52px 52px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.daily-list li + li {
  border-top: 1px solid rgba(16, 38, 26, 0.1);
}

.daily-list img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
}

.daily-list .thumb-drawing,
.daily-list .thumb-crest {
  background-size: 8px 8px;
  background-position: 0 0, 0 4px, 4px -4px, -4px 0;
}

.daily-team {
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.daily-score {
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.countdown {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  text-align: center;
}

.countdown strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.dialog {
  width: min(420px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  scrollbar-width: thin;
  padding: 24px 20px 22px;
  border: 0;
}

.dialog::backdrop {
  background: rgba(4, 18, 10, 0.6);
  backdrop-filter: blur(2px);
}

.dialog[open] {
  animation: rise 0.22s ease-out;
}

.dialog h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

#help-title:focus,
#about-title:focus {
  outline: none;
}

.help-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.help-steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
}

.help-section {
  padding: 10px 0 12px;
  border-top: 1px solid rgba(16, 38, 26, 0.12);
}

.help-section h3 {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.help-modes {
  display: grid;
  gap: 6px;
  margin: 0;
}

.help-modes div {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(16, 38, 26, 0.05);
}

.help-modes dt {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.help-modes dd {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.help-rules {
  display: grid;
  gap: 4px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.help-rules li {
  position: relative;
  padding-left: 20px;
}

.help-rules li::before {
  content: '';
  position: absolute;
  top: 0.5em;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.tiers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
}

.help-note {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 15px;
  text-align: center;
}

.credits {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 13px;
}

.credits a {
  color: var(--brand);
}

.help-section + form {
  margin-top: 4px;
}

.tiers span {
  padding: 3px 9px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(16, 38, 26, 0.15);
}

.dialog form {
  margin: 0;
}

.link-btn {
  display: block;
  margin: 18px auto 0;
  padding: 6px 10px;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.8);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.link-btn:hover {
  color: #fff;
}

.start-note {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  text-align: center;
}

.dialog-text {
  margin: -6px 0 20px;
  color: var(--ink-soft);
  font-size: 17px;
  text-align: center;
}

.dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes pop {
  0% {
    opacity: 0;
    transform: rotate(-2deg) scale(0.5);
  }
  70% {
    transform: rotate(-2deg) scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
