/* Starter Guide — A · Ludus (Facelift/StarterGuide, omistaja 2026-10-23).
   Johdettu lukitusta referenssistä Facelift/StarterGuide/REFERENCE.html: sama
   koostumus, samat mitat ja tilat. Muutokset referenssiin verrattuna ovat vain
   tuotannon kytkentöjä: tokenit rajattu oppaan omiin elementteihin (Brand 5.1:
   :rootia ei ylikirjoiteta), fontit pelin tokens.css:stä ja kortin pohja
   ilmoituspinon mitatusta --notice-basesta (mobiilin kiinteä alanavi).
   Muutos tähän = ensin referenssi + lock.py, sitten tämä. */

.fl-sg, .fl-sg-card {
  --fl-black: #070605; --fl-night: #100c09; --fl-ivory: #eee2ca; --fl-gold: #c99744; --fl-gold-hi: #e5c278;
  --fl-bronze: #9a7636; --fl-bronze-deep: #6e521f; --fl-soft: #cdbb98; --fl-muted: #b9a27a; --fl-line: #3f3220;
  --sg-gut: clamp(16px, 3vw, 40px);
  --sg-pw: min(324px, 25vw, 40vh);
  color: var(--fl-ivory); font-family: var(--font-body); line-height: 1.5;
}
.fl-sg *, .fl-sg-card * { box-sizing: border-box; }
.fl-sg [hidden], .fl-sg-card [hidden] { display: none !important; }
.fl-sg button, .fl-sg-card button { font-family: inherit; }
.fl-sg :focus-visible, .fl-sg-card :focus-visible { outline: 2px solid var(--fl-gold-hi); outline-offset: 2px; }
.fl-sg h3 { line-height: 1.3; }
.fl-sg-card-fact { margin: 2px 0 0; grid-column: 1; font-size: 15px; line-height: 1.4; color: var(--fl-soft); }

/* ------------------------------------------------------------ locked surface: shared controls */
.fl-sg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; white-space: nowrap; cursor: pointer; text-decoration: none;
  font: 700 14px var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: #f4dc9c;
  background: linear-gradient(#5e4521, #36260f); border: 1px solid var(--fl-gold); border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 220, 150, .25), 0 4px 14px rgba(0, 0, 0, .4); }
.fl-sg-btn:hover { background: linear-gradient(#73552a, #44301a); color: #fff0c8; }
.fl-sg-btn.sm { min-height: 44px; padding: 0 16px; font-size: 13px; }
.fl-sg-ghost { min-height: 44px; padding: 0 12px; white-space: nowrap; cursor: pointer; font: 600 13px var(--font-display); letter-spacing: .14em; text-transform: uppercase;
  color: #cdb88f; background: none; border: 0; border-bottom: 1px solid rgba(201, 151, 68, .5); }
.fl-sg-ghost:hover { color: var(--fl-gold-hi); }
.fl-sg-icon { width: 44px; height: 44px; flex: none; display: inline-grid; place-items: center; padding: 0; cursor: pointer; border-radius: 50%;
  color: var(--fl-gold-hi); background: rgba(0, 0, 0, .3); border: 1px solid rgba(201, 151, 68, .55); }
.fl-sg-icon svg { width: 20px; height: 20px; fill: currentColor; }
.fl-sg-icon[aria-pressed="true"] { background: rgba(201, 151, 68, .22); }
.fl-sg-x { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0; background: none; color: #9d8b6c; font-size: 22px; cursor: pointer; }
.fl-sg-vu { display: inline-flex; gap: 3px; align-items: flex-end; height: 16px; opacity: .25; }
.fl-sg-vu i { width: 3px; height: 30%; background: var(--fl-gold-hi); border-radius: 2px; }
.is-speaking .fl-sg-vu { opacity: 1; }
.is-speaking .fl-sg-vu i { animation: sg-vu .5s ease-in-out infinite alternate; }
.fl-sg-vu i:nth-child(2) { animation-delay: -.15s !important; } .fl-sg-vu i:nth-child(3) { animation-delay: -.3s !important; } .fl-sg-vu i:nth-child(4) { animation-delay: -.42s !important; }
@keyframes sg-vu { from { height: 20%; } to { height: 100%; } }
.fl-sg .w, .fl-sg-card .w { transition: opacity .22s; }

/* ------------------------------------------------------------ locked surface: welcome overlay */
.fl-sg { position: fixed; inset: 0; z-index: 1200; }
.fl-sg[hidden] { display: none; }
.fl-sg-scene, .fl-sg-vig, .fl-sg-dust { position: absolute; inset: 0; transition: opacity .7s ease; }
.fl-sg-scene { overflow: hidden; background: #000; }
.fl-sg-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: sg-drift 28s ease-in-out infinite alternate; }
@keyframes sg-drift { from { transform: scale(1.04); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.fl-sg-vig { background:
  radial-gradient(ellipse 70% 60% at 62% 30%, rgba(7, 6, 5, 0), rgba(7, 6, 5, .45) 60%, rgba(7, 6, 5, .9) 100%),
  linear-gradient(to bottom, rgba(7, 6, 5, .25), rgba(7, 6, 5, 0) 25%, rgba(7, 6, 5, .55) 62%, rgba(7, 6, 5, .96)); }
.fl-sg-dust { pointer-events: none; opacity: .8; background-size: 420px 420px; animation: sg-dust 16s linear infinite; background-image:
  radial-gradient(1.5px 1.5px at 20% 30%, rgba(255, 220, 160, .7), transparent), radial-gradient(1px 1px at 70% 20%, rgba(255, 220, 160, .6), transparent),
  radial-gradient(2px 2px at 45% 55%, rgba(255, 220, 160, .45), transparent), radial-gradient(1px 1px at 85% 45%, rgba(255, 220, 160, .6), transparent),
  radial-gradient(1.5px 1.5px at 30% 70%, rgba(255, 220, 160, .5), transparent); }
@keyframes sg-dust { to { background-position: 60px -420px; } }
.fl-sg[data-beat="heal"] .fl-sg-scene, .fl-sg[data-beat="heal"] .fl-sg-vig, .fl-sg[data-beat="heal"] .fl-sg-dust { opacity: 0; }
.fl-sg-spot { position: absolute; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .6s .2s;
  box-shadow: 0 0 0 4000px rgba(7, 6, 5, .8), 0 0 0 3px var(--fl-gold-hi), 0 0 34px 8px rgba(229, 194, 120, .55); }
.fl-sg[data-beat="heal"] .fl-sg-spot { opacity: 1; animation: sg-pulse 1.8s ease-in-out infinite; }
@keyframes sg-pulse { 50% { box-shadow: 0 0 0 4000px rgba(7, 6, 5, .8), 0 0 0 5px var(--fl-gold-hi), 0 0 48px 14px rgba(229, 194, 120, .7); } }
.fl-sg-callout { position: absolute; display: flex; align-items: center; gap: 12px; max-width: 320px; padding: 10px 16px 10px 10px; opacity: 0; transform: translateY(8px); transition: .5s;
  background: rgba(16, 12, 9, .96); border: 1px solid var(--fl-gold); border-radius: 4px; font-size: 16px; line-height: 1.35; color: var(--fl-ivory); pointer-events: none; }
.fl-sg-callout img { width: 46px; height: 46px; flex: none; }
.fl-sg-callout b { display: block; font: 700 14px var(--font-display); letter-spacing: .1em; color: var(--fl-gold-hi); text-transform: uppercase; }
.fl-sg-callout::before { content: ''; position: absolute; top: -8px; left: 40px; width: 14px; height: 14px; background: rgba(16, 12, 9, .96); border-left: 1px solid var(--fl-gold); border-top: 1px solid var(--fl-gold); transform: rotate(45deg); }
.fl-sg-callout.on { opacity: 1; transform: none; }

.fl-sg-dialog { position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto;
  padding: clamp(24px, 8vh, 70px) var(--sg-gut) clamp(16px, 3.5vh, 28px); }
.fl-sg-area { min-height: 0; overflow: auto; container-type: inline-size; display: flex; align-items: safe center; justify-content: center; padding: 0 16px 24px calc(var(--sg-pw) + 50px); }
.fl-sg-box { position: relative; min-height: 206px; padding: 22px 30px 16px calc(var(--sg-pw) + 60px);
  background: linear-gradient(180deg, rgba(30, 22, 14, .95), rgba(13, 10, 7, .98)); border: 1px solid var(--fl-bronze-deep); border-top: 2px solid var(--fl-gold);
  border-radius: 3px; box-shadow: 0 -14px 50px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(229, 194, 120, .16); }
.fl-sg-box::before, .fl-sg-box::after { content: ''; position: absolute; top: 8px; width: 26px; height: 26px; border-top: 1px solid var(--fl-gold); }
.fl-sg-box::before { left: 8px; border-left: 1px solid var(--fl-gold); } .fl-sg-box::after { right: 8px; border-right: 1px solid var(--fl-gold); }
.fl-sg.enter .fl-sg-box { animation: sg-rise .7s cubic-bezier(.2, .8, .2, 1) both .15s; }
.fl-sg.enter .fl-sg-portrait { animation: sg-in 1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes sg-rise { from { transform: translateY(40px); opacity: 0; } }
@keyframes sg-in { from { transform: translateX(-30px); opacity: 0; } }
.fl-sg-portrait { position: absolute; left: 24px; bottom: 18px; width: var(--sg-pw); height: calc(var(--sg-pw) * 1.47); margin: 0; z-index: 2; }
.fl-sg-frame { position: absolute; inset: 0; border-radius: calc(var(--sg-pw) / 2) calc(var(--sg-pw) / 2) 4px 4px; overflow: hidden; background: #1a120b;
  border: 2px solid var(--fl-bronze); box-shadow: 0 0 0 6px rgba(13, 10, 7, .9), 0 0 0 7px #5b4422, 0 30px 60px rgba(0, 0, 0, .65); }
.fl-sg-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 28%; }
.fl-sg-frame::after { content: ''; position: absolute; inset: 0; animation: sg-flicker 3.4s infinite;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 58%, rgba(13, 10, 7, .92)), radial-gradient(circle at 75% 18%, rgba(255, 186, 104, .2), transparent 55%); }
@keyframes sg-flicker { 0%, 100% { opacity: 1; } 42% { opacity: .82; } 47% { opacity: 1; } 70% { opacity: .9; } }
.is-speaking .fl-sg-frame img { animation: sg-talk .45s ease-in-out infinite alternate; }
@keyframes sg-talk { to { filter: brightness(1.07) saturate(1.05); } }
.fl-sg-plate { position: absolute; left: 50%; bottom: -2px; transform: translate(-50%, 50%); white-space: nowrap; padding: 6px 18px;
  background: linear-gradient(#3a2a12, #1d140a); border: 1px solid var(--fl-gold); font: 700 12px var(--font-display); letter-spacing: .22em; color: var(--fl-gold-hi); text-transform: uppercase; }
.fl-sg-speaker { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.fl-sg-speaker b { font: 700 19px var(--font-display); letter-spacing: .14em; color: var(--fl-gold-hi); text-transform: uppercase; }
.fl-sg-speaker span:not(.fl-sg-vu) { font-size: 15px; color: var(--fl-muted); font-style: italic; }
.fl-sg-line { margin: 0; font-size: clamp(19px, 1.25vw + 8px, 24px); line-height: 1.45; min-height: 3em; max-width: 46em; color: var(--fl-ivory); }
.fl-sg-line .w, .fl-sg-card-say .w { opacity: .22; } .fl-sg-line .w.said, .fl-sg-card-say .w.said { opacity: 1; }
.fl-sg-sub { margin: 8px 0 0; font-size: 16px; color: var(--fl-soft); max-width: 52em; }
.fl-sg-sub:empty { display: none; }
.fl-sg-foot { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.fl-sg-tally { display: flex; gap: 7px; margin-right: auto; }
.fl-sg-tally i { width: 4px; height: 26px; border-radius: 2px; background: var(--fl-line); transform: skewX(-12deg); }
.fl-sg-tally i.done { background: var(--fl-gold); } .fl-sg-tally i.cur { background: var(--fl-gold-hi); box-shadow: 0 0 10px rgba(229, 194, 120, .8); }

.fl-sg-inv { display: flex; gap: 26px; }
.fl-sg-slot { flex: 0 1 150px; min-width: 0; padding: 18px 12px 14px; text-align: center; opacity: 0; transform: translateY(16px) scale(.96); transition: .6s cubic-bezier(.2, .8, .2, 1);
  background: linear-gradient(rgba(30, 22, 14, .92), rgba(16, 12, 9, .95)); border: 1px solid var(--fl-bronze-deep); border-radius: 4px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.fl-sg-slot.on { opacity: 1; transform: none; }
.fl-sg-slot img { width: 82px; height: 82px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.fl-sg-slot b { display: block; margin-top: 8px; font: 700 14px var(--font-display); letter-spacing: .08em; color: var(--fl-gold-hi); }
.fl-sg-slot span { font-size: 14px; color: #c9b58f; }
.fl-sg-slot.none img { filter: grayscale(1) brightness(.5); opacity: .6; }
.fl-sg-tablet { width: 100%; max-width: 760px; padding: 18px 26px 22px; border: 12px solid #4a2f17; border-radius: 6px;
  background: repeating-linear-gradient(8deg, rgba(255, 255, 255, .015) 0 2px, transparent 2px 6px), radial-gradient(ellipse at 40% 30%, #3a2a1a, #21170f);
  box-shadow: inset 0 0 0 1px #6a4724, inset 0 6px 24px rgba(0, 0, 0, .7), 0 24px 50px rgba(0, 0, 0, .6); }
.fl-sg-tablet h3 { margin: 0 0 14px; text-align: center; font: 700 13px var(--font-display); letter-spacing: .34em; color: #b99a5e; text-transform: uppercase; }
.fl-sg-loop { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; }
.fl-sg-step { position: relative; text-align: center; opacity: .28; filter: grayscale(.9); transition: .5s; }
.fl-sg-step.on { opacity: 1; filter: none; }
.fl-sg-step .ic { width: 70px; height: 70px; margin: 0 auto 8px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--fl-bronze-deep); background: rgba(0, 0, 0, .35); }
.fl-sg-step.on .ic { border-color: var(--fl-gold-hi); box-shadow: 0 0 22px rgba(229, 194, 120, .45); }
.fl-sg-step img { width: 44px; height: 44px; }
.fl-sg-step span { display: block; font-size: 15px; line-height: 1.25; color: #eadcbe; }
.fl-sg-step + .fl-sg-step::before { content: '›'; position: absolute; left: -10px; top: 18px; font-size: 28px; color: #7d6234; }
.fl-sg-open-wrap { width: 100%; max-width: 900px; }
.fl-sg-open-wrap h3 { margin: 0 0 14px; text-align: center; font: 700 13px var(--font-display); letter-spacing: .34em; color: #b99a5e; text-transform: uppercase; text-shadow: 0 2px 8px #000; }
.fl-sg-open { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.fl-sg-tile { display: flex; flex-direction: column; align-items: center; padding: 16px 10px 14px; text-align: center; opacity: .3; filter: grayscale(.85); transform: translateY(10px); transition: .55s cubic-bezier(.2, .8, .2, 1);
  background: linear-gradient(rgba(30, 22, 14, .94), rgba(14, 10, 7, .96)); border: 1px solid var(--fl-bronze-deep); border-radius: 4px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.fl-sg-tile.on { opacity: 1; filter: none; transform: none; }
.fl-sg-tile.on.is-open { border-color: rgba(229, 194, 120, .55); }
.fl-sg-medal { display: block; width: min(96px, 70%); aspect-ratio: 1; margin: 0 0 10px; border-radius: 50%; background-size: cover; background-position: center; border: 2px solid var(--fl-bronze); box-shadow: 0 0 0 4px rgba(0, 0, 0, .5); }
.fl-sg-tile b { display: block; font: 700 16px var(--font-display); letter-spacing: .05em; color: var(--fl-gold-hi); }
.fl-sg-tile .ln { display: block; margin-top: 6px; font-size: 14px; line-height: 1.35; color: #d3c3a3; }
.fl-sg-tag { margin-top: auto; padding: 3px 10px; border-radius: 999px; font: 700 12px var(--font-display); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.fl-sg-tile .ln + .fl-sg-tag { margin-top: 10px; }
.fl-sg-tag.open { color: #c9dc9a; border: 1px solid rgba(150, 178, 96, .65); }
.fl-sg-tag.later { color: var(--fl-muted); border: 1px solid #5b4a30; }

/* Narrow beat area (tablet and phone): the open tiles become rows. */
@container (max-width: 720px) {
  .fl-sg-open { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .fl-sg-tile { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 10px 12px; text-align: left; }
  .fl-sg-medal { width: 56px; margin: 0; grid-row: 1 / span 2; }
  .fl-sg-tile b { font-size: 15px; } .fl-sg-tile .ln { margin: 0; grid-column: 2 / span 2; }
  .fl-sg-tag, .fl-sg-tile .ln + .fl-sg-tag { margin: 0; grid-column: 3; grid-row: 1; padding: 2px 8px; }
}

/* ------------------------------------------------------------ locked surface: step card */
.fl-sg-card { position: fixed; left: 50%; bottom: calc(var(--notice-base, 18px) + 4px); z-index: 1100; width: min(660px, calc(100vw - 32px)); transform: translateX(-50%);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; padding: 16px 52px 16px 110px;
  background: linear-gradient(rgba(30, 22, 14, .97), rgba(14, 10, 7, .98)); border: 1px solid var(--fl-bronze-deep); border-top: 2px solid var(--fl-gold);
  border-radius: 3px; box-shadow: 0 18px 50px rgba(0, 0, 0, .65); animation: sg-card-in .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes sg-card-in { from { transform: translate(-50%, 40px); opacity: 0; } }
.fl-sg-face { position: absolute; left: -22px; top: 50%; width: 112px; height: 112px; transform: translateY(-50%); border-radius: 50%; overflow: hidden;
  border: 2px solid var(--fl-bronze); box-shadow: 0 0 0 5px rgba(13, 10, 7, .95), 0 0 0 6px #5b4422, 0 10px 30px rgba(0, 0, 0, .6); }
.fl-sg-face img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 26%; }
.fl-sg-card-top { display: flex; align-items: center; gap: 12px; margin: 0; grid-column: 1; }
.fl-sg-eye { font: 700 12px var(--font-display); letter-spacing: .22em; color: var(--fl-gold); text-transform: uppercase; }
.fl-sg-tally10 { display: flex; gap: 5px; }
.fl-sg-tally10 i { width: 3px; height: 16px; border-radius: 2px; background: var(--fl-line); transform: skewX(-12deg); }
.fl-sg-tally10 i.done { background: var(--fl-gold); }
.fl-sg-tally10 i.fresh { background: var(--fl-gold-hi); animation: sg-scratch .7s ease-out both; transform-origin: bottom; }
@keyframes sg-scratch { from { transform: skewX(-12deg) scaleY(0); } }
.fl-sg-card-title { margin: 2px 0 0; grid-column: 1; font: 700 18px var(--font-display); letter-spacing: .03em; color: var(--fl-ivory); }
.fl-sg-card-say { margin: 0; grid-column: 1; font-size: 16px; font-style: italic; color: #d8c7a4; }
.fl-sg-card-say::before { content: '\201C'; } .fl-sg-card-say::after { content: '\201D'; }
.fl-sg-card-acts { grid-column: 2; grid-row: 1 / span 3; display: flex; gap: 10px; align-items: center; }
.fl-sg-stamp { grid-column: 2; grid-row: 1 / span 3; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--fl-gold-hi);
  color: var(--fl-gold-hi); font-size: 30px; box-shadow: 0 0 24px rgba(229, 194, 120, .5); animation: sg-stamp .55s cubic-bezier(.2, 1.6, .4, 1) both .2s; }
@keyframes sg-stamp { from { transform: scale(2.2) rotate(-18deg); opacity: 0; } }

/* ------------------------------------------------------------ compact (< 820 px) */
@media (max-width: 819px) {
  .fl-sg-dialog { display: flex; flex-direction: column; overflow-y: auto; padding: 16px 10px max(10px, env(safe-area-inset-bottom, 0px)); }
  .fl-sg-area { flex: 1 0 auto; overflow: visible; padding: 8px 4px 68px; }
  .fl-sg-box { flex: none; min-height: 0; padding: 62px 18px 14px; }
  .fl-sg-portrait { left: 14px; top: -54px; bottom: auto; width: 104px; height: 104px; }
  .fl-sg-frame { border-radius: 50%; }
  .fl-sg-plate { display: none; }
  .fl-sg-speaker { position: absolute; left: 132px; top: 10px; flex-direction: column; align-items: flex-start; gap: 0; }
  .fl-sg-speaker b { font-size: 16px; } .fl-sg-speaker span:not(.fl-sg-vu) { font-size: 14px; } .fl-sg-speaker .fl-sg-vu { position: absolute; right: -40px; top: 6px; }
  .fl-sg-line { font-size: 19px; min-height: 0; }
  .fl-sg-sub { font-size: 15px; }
  .fl-sg-foot { gap: 8px; justify-content: flex-end; } .fl-sg-tally { display: none; }
  .fl-sg-inv { flex-direction: column; gap: 8px; width: 100%; }
  .fl-sg-slot { flex: none; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 12px; align-items: center; padding: 8px 12px; text-align: left; }
  .fl-sg-slot img { width: 52px; height: 52px; grid-row: 1 / span 2; } .fl-sg-slot b { margin: 0; font-size: 14px; } .fl-sg-slot span { font-size: 14px; }
  .fl-sg-tablet { padding: 12px 12px 14px; border-width: 8px; }
  .fl-sg-loop { grid-template-columns: minmax(0, 1fr); }
  .fl-sg-step { display: flex; align-items: center; gap: 12px; text-align: left; }
  .fl-sg-step .ic { width: 44px; height: 44px; margin: 0; flex: none; } .fl-sg-step img { width: 28px; height: 28px; }
  .fl-sg-step + .fl-sg-step::before { display: none; }
  /* Phone: the tile description stays for screen readers only, so Begin stays on screen. */
  .fl-sg-tile .ln { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fl-sg-tile { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 6px 12px; }
  .fl-sg-medal { width: 44px; grid-row: auto; }
  .fl-sg-card { left: 10px; right: 10px; width: auto; transform: none; bottom: calc(var(--notice-base, 10px) + 4px); padding: 14px 44px 14px 92px; grid-template-columns: minmax(0, 1fr); animation-name: sg-card-in-c; }
  @keyframes sg-card-in-c { from { transform: translateY(40px); opacity: 0; } }
  .fl-sg-face { left: 10px; top: 16px; transform: none; width: 70px; height: 70px; }
  .fl-sg-card-acts, .fl-sg-stamp { grid-column: 1; grid-row: auto; }
  .fl-sg-card-top { flex-wrap: wrap; gap: 4px 10px; }
  .fl-sg-card.is-done { padding-right: 72px; }
  .fl-sg-stamp { position: absolute; right: 12px; top: calc(50% - 24px); width: 48px; height: 48px; font-size: 22px; }
}

@media (max-width: 359px) {
  .fl-sg-ghost { padding: 0 6px; letter-spacing: .08em; }
  .fl-sg-btn { padding: 0 16px; letter-spacing: .1em; }
}

@media (prefers-reduced-motion: reduce) {
  .fl-sg *, .fl-sg *::before, .fl-sg *::after, .fl-sg-card, .fl-sg-card *, .fl-sg-card *::before, .fl-sg-card *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important;
  }
}
