/* Ask & Roll components. Every color comes from tokens.css; the few white highlights sit on cat colors, which are light in both themes. */
body { margin: 0; background: var(--table); color: var(--ink); font-family: var(--font-read); -webkit-font-smoothing: antialiased; }
.ar-root, .ar-root *, .ar-root *::before, .ar-root *::after { box-sizing: border-box; }

/* tablecloth: two translucent stripes, the crossings darken by themselves */
.ar-tablecloth {
  background-color: var(--table);
  background-image: linear-gradient(90deg, var(--check) 50%, transparent 50%), linear-gradient(var(--check) 50%, transparent 50%);
  background-size: var(--size-check) var(--size-check);
}

/* ---------- Icon */
.ar-icon { width: 1em; height: 1em; display: inline-block; flex: none; vertical-align: -0.15em; overflow: visible; }

/* ---------- Logo */
.ar-logo { display: inline-block; height: 1em; width: auto; vertical-align: middle; }
.ar-logo-ink { fill: var(--ink); }
.ar-logo-amp { fill: var(--spark); }
.ar-logo-star { fill: var(--gold); }
.ar-mark-face { fill: var(--spark); }
.ar-mark-pip { fill: var(--on-spark); }
.ar-mark-star { fill: var(--card-back-ink); }

/* ---------- Button */
.ar-btn {
  -webkit-tap-highlight-color: transparent;
  appearance: none; border: 0; margin: 0 0 4px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--size-tap); min-width: var(--size-tap); padding: 0 var(--space-5);
  border-radius: var(--radius-md);
  font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 20px;
  color: var(--ink); background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--line-strong), var(--shadow-press);
  cursor: pointer; user-select: none;
  transition: transform var(--dur-press) var(--ease-out), box-shadow var(--dur-press) var(--ease-out), background-color var(--dur-quick) var(--ease-out);
}
.ar-btn .ar-icon { font-size: 22px; }
.ar-btn:active, .ar-btn.is-pressed { transform: translateY(4px); box-shadow: inset 0 0 0 2px var(--line-strong), 0 0 0 transparent; }
.ar-btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--line-strong), var(--shadow-press), var(--focus-ring); }
.ar-btn--spark { background: var(--spark); color: var(--on-spark); box-shadow: var(--shadow-press-spark); margin-bottom: 5px; }
.ar-btn--spark:active, .ar-btn--spark.is-pressed { transform: translateY(5px); box-shadow: 0 0 0 transparent; }
.ar-btn--spark:focus-visible { box-shadow: var(--shadow-press-spark), var(--focus-ring); }
.ar-btn--ghost { background: transparent; box-shadow: none; margin-bottom: 0; }
.ar-btn--ghost:active, .ar-btn--ghost.is-pressed { transform: translateY(1px); box-shadow: none; background: var(--surface-sunk); }
.ar-btn--ghost:focus-visible { box-shadow: var(--focus-ring); }
.ar-btn--round { padding: 0; width: var(--size-tap); border-radius: var(--radius-full); }
.ar-btn--lg { min-height: 60px; font-size: 21px; line-height: 24px; padding: 0 var(--space-8); border-radius: 22px; }
.ar-btn--lg .ar-icon { font-size: 26px; }
.ar-btn--block { display: flex; width: 100%; }
.ar-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* tile: a round face with a label underneath, the whole tile is the button */
.ar-tile {
  -webkit-tap-highlight-color: transparent;
  appearance: none; border: 0; background: none; margin: 0; padding: 0 0 2px; cursor: pointer;
  display: inline-grid; justify-items: center; gap: 6px; min-width: 72px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; line-height: 18px; color: var(--ink);
}
.ar-tile-face {
  width: 56px; height: 56px; border-radius: var(--radius-full); display: grid; place-items: center;
  background: var(--surface); color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line-strong), var(--shadow-press);
  transition: transform var(--dur-press) var(--ease-out), box-shadow var(--dur-press) var(--ease-out), background-color var(--dur-quick) var(--ease-out);
}
.ar-tile-face .ar-icon { font-size: 26px; }
.ar-tile:active .ar-tile-face { transform: translateY(4px); box-shadow: inset 0 0 0 2px var(--line-strong); }
.ar-tile:focus-visible { outline: none; }
.ar-tile:focus-visible .ar-tile-face { box-shadow: inset 0 0 0 2px var(--line-strong), var(--shadow-press), var(--focus-ring); }
.ar-tile[aria-pressed="true"] .ar-tile-face { background: var(--gold); color: var(--on-spark); box-shadow: inset 0 0 0 2px var(--spark-edge), 0 4px 0 var(--spark-edge); }

/* ---------- ThemeChip */
.ar-chip {
  -webkit-tap-highlight-color: transparent;
  appearance: none; border: 0; margin: 0 0 4px; cursor: pointer; user-select: none; position: relative;
  display: flex; align-items: center; gap: var(--space-3); width: 100%;
  min-height: 64px; padding: var(--space-2) var(--space-3) var(--space-2) var(--space-2);
  border-radius: var(--radius-md); text-align: left;
  background: var(--surface); color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line-strong), var(--shadow-press);
  font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 20px;
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-quick) var(--ease-out), box-shadow var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out);
}
.ar-chip-disc { width: 46px; height: 46px; flex: none; border-radius: var(--radius-full); display: grid; place-items: center; background: var(--cat); color: var(--on-cat); transition: transform var(--dur-quick) var(--ease-spring); }
.ar-chip-disc .ar-icon { font-size: 26px; }
.ar-chip-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ar-chip-name { overflow-wrap: break-word; }
.ar-chip-count { font-family: var(--font-read); font-weight: 400; font-size: 13px; line-height: 16px; color: var(--ink-muted); }
/* the tick sits on the corner, like on AgeChip, so the name gets the full width */
.ar-chip-check { position: absolute; top: -7px; right: -7px; width: 26px; height: 26px; border-radius: var(--radius-full); display: grid; place-items: center; background: var(--on-cat); color: var(--cat); box-shadow: 0 0 0 3px var(--table); transform: scale(0); transition: transform var(--dur-quick) var(--ease-spring); }
.ar-chip-check .ar-icon { font-size: 16px; stroke-width: 3.2; }
.ar-chip[aria-checked="true"] { background: var(--cat); color: var(--on-cat); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--on-cat) 22%, transparent), 0 4px 0 color-mix(in srgb, var(--on-cat) 40%, var(--cat)); }
.ar-chip[aria-checked="true"] .ar-chip-disc { box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--on-cat) 20%, transparent); transform: rotate(-8deg) scale(1.04); }
.ar-chip[aria-checked="true"] .ar-chip-count { color: var(--on-cat); }
.ar-chip[aria-checked="true"] .ar-chip-check { transform: scale(1); }
.ar-chip:active { transform: translateY(4px); box-shadow: inset 0 0 0 2px var(--line-strong); }
.ar-chip[aria-checked="true"]:active { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--on-cat) 22%, transparent); }
.ar-chip:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--line-strong), var(--shadow-press), var(--focus-ring); }

/* ---------- AgeChip */
.ar-age-chip {
  -webkit-tap-highlight-color: transparent;
  appearance: none; border: 0; margin: 0 0 4px; cursor: pointer; user-select: none; position: relative;
  display: grid; justify-items: center; align-content: center; gap: 2px; width: 100%;
  min-height: 68px; padding: var(--space-2);
  border-radius: var(--radius-md);
  background: var(--surface); color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line-strong), var(--shadow-press);
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-quick) var(--ease-out), box-shadow var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out);
}
.ar-age-num { font-family: var(--font-display); font-weight: 800; font-size: 23px; line-height: 26px; font-variant-numeric: tabular-nums; }
.ar-age-sub { font-family: var(--font-display); font-weight: 700; font-size: 14px; line-height: 18px; color: var(--ink-muted); }
.ar-age-tick { position: absolute; top: -7px; right: -7px; width: 26px; height: 26px; border-radius: var(--radius-full); display: grid; place-items: center; background: var(--spark); color: var(--on-spark); box-shadow: 0 0 0 3px var(--table); transform: scale(0); transition: transform var(--dur-quick) var(--ease-spring); }
.ar-age-tick .ar-icon { font-size: 16px; stroke-width: 3.2; }
.ar-age-chip[aria-checked="true"] { background: var(--ink); color: var(--on-ink); box-shadow: 0 4px 0 color-mix(in srgb, var(--ink) 55%, var(--table)); }
.ar-age-chip[aria-checked="true"] .ar-age-sub { color: var(--on-ink); }
.ar-age-chip[aria-checked="true"] .ar-age-tick { transform: scale(1); }
.ar-age-chip:active { transform: translateY(4px); box-shadow: inset 0 0 0 2px var(--line-strong); }
.ar-age-chip[aria-checked="true"]:active { box-shadow: none; }
.ar-age-chip:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--line-strong), var(--shadow-press), var(--focus-ring); }
.ar-age-sub { text-align: center; overflow-wrap: anywhere; }
/* a band without questions yet: flat, dashed, not pressable */
.ar-age-chip.is-soon { cursor: default; background: transparent; color: var(--ink-muted); box-shadow: none; outline: 2px dashed var(--line-strong); outline-offset: -2px; }
.ar-age-chip.is-soon:active { transform: none; box-shadow: none; }
.ar-age-chip.is-soon:focus-visible { box-shadow: var(--focus-ring); }

/* ---------- Segmented and LangSwitch */
.ar-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--radius-full); background: var(--surface-sunk); box-shadow: inset 0 0 0 2px var(--line); }
.ar-seg-opt {
  -webkit-tap-highlight-color: transparent;
  appearance: none; border: 0; margin: 0; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 44px; min-height: 40px; padding: 0 var(--space-3);
  border-radius: var(--radius-full); background: transparent; color: var(--ink-muted);
  font-family: var(--font-display); font-weight: 800; font-size: 15px; line-height: 18px; letter-spacing: .04em;
  transition: background-color var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.ar-seg-opt .ar-icon { font-size: 20px; }
.ar-seg-opt:hover { color: var(--ink); }
.ar-seg-opt[aria-checked="true"] { background: var(--ink); color: var(--on-ink); box-shadow: 0 3px 0 color-mix(in srgb, var(--ink) 55%, var(--table)); }
.ar-seg-opt:active { transform: translateY(2px); }
.ar-seg-opt:focus-visible { outline: none; box-shadow: var(--focus-ring); }

/* ---------- TurnPill */
.ar-turn {
  -webkit-tap-highlight-color: transparent;
  appearance: none; border: 0; margin: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: var(--space-3);
  min-height: 56px; padding: 6px var(--space-3) 6px 6px;
  border-radius: var(--radius-full); background: var(--surface); color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 20px; text-align: left;
}
.ar-turn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--line), var(--focus-ring); }
.ar-avatar { width: 44px; height: 44px; flex: none; border-radius: var(--radius-full); display: grid; place-items: center; background: var(--cat); color: var(--on-cat); font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1; }
.ar-avatar.is-active { box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--spark); }
.ar-turn-text { display: grid; gap: 0; }
.ar-turn-text small { font-family: var(--font-read); font-weight: 400; font-size: 13px; line-height: 16px; color: var(--ink-muted); }
.ar-turn-queue { display: flex; padding-left: var(--space-1); }
.ar-turn-queue .ar-avatar { width: 28px; height: 28px; font-size: 13px; margin-left: -6px; box-shadow: 0 0 0 2px var(--surface); }
.ar-turn-queue .ar-avatar:first-child { margin-left: 0; }

/* ---------- Die */
.ar-die-stage { --die: var(--size-die); position: relative; width: calc(var(--die) * 2.2); height: calc(var(--die) * 2.2); display: grid; place-items: center; }
.ar-die-mat { position: absolute; inset: 9%; border-radius: var(--radius-full); background: var(--surface); box-shadow: inset 0 0 0 2px var(--line), 0 8px 0 color-mix(in srgb, var(--ink) 9%, transparent); }
.ar-die-mat::after { content: ""; position: absolute; inset: 10px; border-radius: var(--radius-full); box-shadow: inset 0 0 0 2px var(--line); opacity: .7; }
.ar-die-shadow { position: absolute; left: 50%; top: 50%; width: calc(var(--die) * .92); height: calc(var(--die) * .2); margin: calc(var(--die) * .5) 0 0 calc(var(--die) * -.46); border-radius: 50%; background: color-mix(in srgb, var(--ink) 24%, transparent); filter: blur(6px); animation: ar-shadow var(--dur-idle) ease-in-out infinite; }
.ar-die-btn {
  -webkit-tap-highlight-color: transparent;
  appearance: none; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; position: relative; z-index: 2;
  width: var(--die); height: var(--die); top: 4%; border-radius: var(--radius-die); perspective: 760px;
}
.ar-die-btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.ar-die-hop { display: block; width: 100%; height: 100%; transform-style: preserve-3d; animation: ar-bob var(--dur-idle) ease-in-out infinite; }
.ar-die-cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.ar-die-face {
  position: absolute; inset: 0; border-radius: var(--radius-die); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: grid; place-items: center; background: var(--cat); color: var(--on-cat);
  box-shadow: inset 0 0 0 3px color-mix(in srgb, #ffffff 42%, transparent), inset 0 -12px 20px color-mix(in srgb, var(--on-cat) 16%, transparent);
}
.ar-die-face::before { content: ""; position: absolute; left: 13%; top: 9%; width: 40%; height: 22%; border-radius: var(--radius-full); background: linear-gradient(color-mix(in srgb, #ffffff 75%, transparent), color-mix(in srgb, #ffffff 0%, transparent)); opacity: .55; }
.ar-die-face .ar-icon { font-size: calc(var(--die) * .5); position: relative; }
.ar-die-face:nth-child(1) { transform: rotateY(0deg) translateZ(calc(var(--die) / 2)); }
.ar-die-face:nth-child(2) { transform: rotateY(90deg) translateZ(calc(var(--die) / 2)); }
.ar-die-face:nth-child(3) { transform: rotateY(180deg) translateZ(calc(var(--die) / 2)); }
.ar-die-face:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--die) / 2)); }
.ar-die-face:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--die) / 2)); }
.ar-die-face:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--die) / 2)); }
.ar-die-face.is-landed { animation: ar-landed 1600ms var(--ease-out) forwards; }
.ar-twinkle { position: absolute; width: 26px; height: 26px; color: var(--gold); z-index: 3; pointer-events: none; animation: ar-twinkle 2400ms ease-in-out infinite; }
.ar-twinkle.t1 { left: 14%; top: 16%; }
.ar-twinkle.t2 { right: 13%; top: 25%; width: 19px; height: 19px; animation-delay: 800ms; }
.ar-twinkle.t3 { right: 21%; bottom: 15%; width: 21px; height: 21px; animation-delay: 1500ms; }
.ar-star { display: block; width: 100%; height: 100%; overflow: visible; }
.ar-star path { fill: currentColor; }
.ar-star.is-outlined path { stroke: var(--ink); stroke-width: 1.7px; stroke-linejoin: round; paint-order: stroke; }
.ar-die-stage.is-rolling .ar-die-hop, .ar-die-stage.is-rolling .ar-die-shadow { animation: none; }
.ar-die-stage.is-rolling .ar-twinkle { opacity: 0; animation: none; }
@keyframes ar-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes ar-shadow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.86); opacity: .7; } }
@keyframes ar-twinkle { 0%, 100% { transform: scale(.2) rotate(0deg); opacity: 0; } 40%, 60% { transform: scale(1) rotate(45deg); opacity: 1; } }
@keyframes ar-landed {
  0% { box-shadow: inset 0 0 0 3px color-mix(in srgb, #ffffff 42%, transparent), var(--shadow-glow); }
  100% { box-shadow: inset 0 0 0 3px color-mix(in srgb, #ffffff 42%, transparent), inset 0 -12px 20px color-mix(in srgb, var(--on-cat) 16%, transparent); }
}

/* sparkle burst, injected by AskRoll.burst() */
.ar-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 6; }
.ar-p { position: absolute; left: 0; top: 0; display: block; will-change: transform, opacity; }
.ar-p svg { display: block; width: 100%; height: 100%; }
.ar-p-dot { border-radius: 50%; background: currentColor; }
.ar-burst-flash { position: absolute; left: 0; top: 0; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 85%, transparent), color-mix(in srgb, var(--gold) 0%, transparent)); }
.ar-burst-ring { position: absolute; left: 0; top: 0; width: 190px; height: 190px; border-radius: 50%; box-shadow: inset 0 0 0 5px var(--gold); }

/* ---------- QuestionCard */
.ar-card-wrap { position: relative; width: min(100%, var(--size-card)); aspect-ratio: 5 / 7; perspective: 1600px; transition: transform var(--dur-flip) var(--ease-in-out); }
.ar-card-wrap.is-turned { transform: rotate(180deg); }
.ar-card-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform var(--dur-flip) var(--ease-in-out); }
.ar-card-inner.show-back { transform: rotateY(180deg); }
.ar-card {
  position: absolute; inset: 0; border-radius: var(--radius-card); overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5);
  box-shadow: var(--shadow-card);
}
.ar-card-front {
  background-color: var(--cat); color: var(--on-cat);
  background-image: radial-gradient(130% 70% at 15% -10%, color-mix(in srgb, #ffffff 38%, transparent), color-mix(in srgb, #ffffff 0%, transparent) 60%);
}
.ar-card-top, .ar-card-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex: none; }
.ar-card-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 800; font-size: 17px; line-height: 20px; }
.ar-card-tag .ar-icon { font-size: 24px; }
.ar-card-no, .ar-card-age { font-family: var(--font-read); font-weight: 700; font-size: 13px; line-height: 18px; letter-spacing: .06em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.ar-card-age { padding: 3px 10px; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--on-cat) 55%, transparent); }
.ar-card-corner { display: inline-grid; transform: rotate(180deg); }
.ar-card-corner .ar-icon { font-size: 24px; }
.ar-card-bubble {
  position: relative; flex: 1; min-height: 0; margin-bottom: 14px;
  display: grid; align-content: center; justify-items: center; gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
  border-radius: var(--radius-lg); background: var(--surface); color: var(--ink);
  box-shadow: 0 4px 0 color-mix(in srgb, var(--on-cat) 18%, transparent);
}
.ar-card-bubble::after { content: ""; position: absolute; left: 30px; bottom: -17px; width: 30px; height: 20px; background: var(--surface); clip-path: polygon(0 0, 100% 0, 12% 100%); }
.ar-card-picto { width: 84px; height: 84px; border-radius: var(--radius-full); display: grid; place-items: center; background: var(--cat); color: var(--on-cat); }
.ar-card-picto .ar-icon { font-size: 50px; }
.ar-card-q { margin: 0; font-family: var(--font-read); font-weight: 700; font-size: 27px; line-height: 35px; text-align: center; text-wrap: balance; overflow-wrap: anywhere; }
/* only long words are hyphenated (Hungarian and Dutch compounds); short words stay whole for young readers */
.ar-card-q, .ar-card-q2 { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 5; }
.ar-card-q.is-big { font-size: 32px; line-height: 40px; }
.ar-card-q.is-long { font-size: 23px; line-height: 31px; }
/* the same question in a second language, under a short bar in the theme color */
.ar-card-q2 { margin: 0; font-family: var(--font-read); font-weight: 400; font-size: 17px; line-height: 24px; text-align: center; text-wrap: balance; color: var(--ink-muted); overflow-wrap: anywhere; }
.ar-card-q2::before { content: ""; display: block; width: 40px; height: 4px; margin: 0 auto var(--space-3); border-radius: 4px; background: var(--cat); }
.ar-card-bubble.has-second { gap: var(--space-4); }
.ar-card-bubble.has-second .ar-card-q { font-size: 24px; line-height: 31px; }
.ar-card-bubble.has-second .ar-card-q.is-big { font-size: 27px; line-height: 34px; }
.ar-card-bubble.has-second .ar-card-q.is-long { font-size: 21px; line-height: 28px; }
.ar-card-bubble.has-second .ar-card-picto { width: 64px; height: 64px; }
.ar-card-bubble.has-second .ar-card-picto .ar-icon { font-size: 38px; }
/* two long questions together: smaller type, no picto */
.ar-card-bubble.is-dense .ar-card-q, .ar-card-bubble.is-dense .ar-card-q.is-big, .ar-card-bubble.is-dense .ar-card-q.is-long { font-size: 21px; line-height: 28px; }
.ar-card-bubble.is-dense .ar-card-q2 { font-size: 15px; line-height: 21px; }
.ar-card-back {
  transform: rotateY(180deg); align-items: center; justify-content: center; gap: var(--space-5);
  background-color: var(--card-back); color: var(--card-back-ink);
  background-image: linear-gradient(90deg, color-mix(in srgb, var(--card-back-ink) 7%, transparent) 50%, transparent 50%), linear-gradient(color-mix(in srgb, var(--card-back-ink) 7%, transparent) 50%, transparent 50%);
  background-size: 26px 26px;
}
.ar-card-back::before { content: ""; position: absolute; inset: 12px; border-radius: calc(var(--radius-card) - 10px); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--card-back-ink) 30%, transparent); }
.ar-card-back .ar-mark { width: 38%; height: auto; }
.ar-card-back .ar-logo { height: 38px; }
.ar-card-back .ar-logo-ink { fill: var(--card-back-ink); }
.ar-card-shine { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; overflow: hidden; }
.ar-card-shine::before { content: ""; position: absolute; top: -20%; bottom: -20%; width: 45%; left: -60%; transform: skewX(-18deg); background: linear-gradient(90deg, color-mix(in srgb, #ffffff 0%, transparent), color-mix(in srgb, #ffffff 55%, transparent), color-mix(in srgb, #ffffff 0%, transparent)); }
.ar-card-wrap.is-revealed .ar-card-shine::before { animation: ar-shine 900ms var(--ease-out) 180ms 1 both; }
@keyframes ar-shine { from { left: -60%; } to { left: 120%; } }

@media (prefers-reduced-motion: reduce) {
  .ar-die-hop, .ar-die-shadow, .ar-twinkle { animation: none; }
  .ar-card-wrap, .ar-card-inner { transition-duration: 1ms; }
  .ar-card-wrap.is-revealed .ar-card-shine::before { animation: none; }
}
