:root{--fig-ink:#173e52;--fig-paper:#f5fcff;--fig-teal:#087d8b;--fig-gold:#ffcf65;--fig-gap:9px}button,select{font:inherit}button:focus-visible,select:focus-visible{outline:3px solid #923ee7;outline-offset:3px}.fig-menu{width:min(100%,500px);text-align:left;display:flex;flex-direction:column;gap:12px}.eyebrow{font-size:.68rem;font-weight:850;letter-spacing:.16em;text-transform:uppercase;margin:0;color:#146976}.profile-summary{font-weight:800;color:#5e4f83;font-size:.85rem}.select-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.select-row label{font-size:.75rem;font-weight:800;display:grid;gap:5px}select{border:1px solid #b5d4df;border-radius:12px;background:#fff;color:#173e52;min-height:44px;padding:8px;max-width:100%}.caption{color:#43677c;font-size:.78rem;line-height:1.5;margin:0}.theme-heading{display:flex;justify-content:space-between;align-items:center;font-size:.85rem;font-weight:800}.small-action{background:none;border:0;color:#086c7e;min-height:44px;font-size:.78rem;text-decoration:underline}.theme-preview{display:flex;gap:8px;overflow:auto;padding:3px}.theme-preview button{flex:1;min-width:65px;min-height:70px;border:2px solid #c8dce4;border-radius:15px;background:#fff;position:relative;cursor:pointer;padding:5px}.theme-preview img{width:48px;height:48px;object-fit:contain}.theme-preview .selected{border-color:#138c92;box-shadow:0 0 0 3px #138c9220}.theme-preview small{display:block;color:#173e52;font-size:11px}.menu-secondary{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}.menu-secondary button,.fig-actions button,.dialog-actions button{background:#fff;border:1px solid #b2cfd8;border-bottom:3px solid #a4c7d3;border-radius:12px;color:#18465b;min-height:44px;padding:8px 12px;font-weight:750;font-size:.8rem;cursor:pointer}.game-primary-menu{width:100%}.game-primary-menu .game-start-actions{width:100%}#screen-title .fig-menu #btn-start{width:100%}#game{display:none}#game-frame{width:100%;height:calc(100dvh - var(--game-footer-height,72px));min-height:380px;max-width:none;background:radial-gradient(ellipse at 20% 0%,#177b87 0,transparent 65%),linear-gradient(155deg,#123f60,#2f2465);overflow:hidden;border:0;border-radius:0;position:relative}#screen-play{padding:0!important;min-height:0}#fig-play{height:100%;display:flex;flex-direction:column;max-width:1000px;margin:auto;padding:12px clamp(10px,3vw,28px) 14px;box-sizing:border-box;gap:8px;color:#fff}.fig-hud{display:flex;justify-content:space-between;gap:14px;flex-shrink:0;padding:7px 3px}.fig-hud>div{display:grid;gap:5px}.fig-hud>div:last-child{text-align:right}.fig-hud .eyebrow{color:#a2f3e2}.fig-hud strong{font-size:1.2rem;font-variant-numeric:tabular-nums}#hud-time{font-size:.85rem;color:#dceef8;font-variant-numeric:tabular-nums}#hud-time.low{color:#ffdb9d;animation:gentle 1.5s infinite}.objective{font-size:.76rem;color:#c4e9f1;text-align:center;min-height:18px}#board-wrap{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:auto;padding:8px}#board{display:grid;grid-template-columns:repeat(var(--cols,4),var(--tile,70px));grid-auto-rows:var(--tile,70px);gap:var(--fig-gap);position:relative;padding:4px}.fig-card{padding:0;border:0;border-radius:16%;background:none;position:relative;perspective:700px;cursor:pointer;touch-action:manipulation;min-width:44px;min-height:44px}.card-inner{width:100%;height:100%;position:relative;transform-style:preserve-3d;transition:transform .28s cubic-bezier(.2,.7,.2,1)}.card-face{position:absolute;inset:0;border-radius:16%;backface-visibility:hidden;-webkit-backface-visibility:hidden;display:flex;align-items:center;justify-content:center;box-sizing:border-box}.card-back{background:radial-gradient(circle at 35% 20%,#bd86f0,transparent 60%),linear-gradient(145deg,#8e50cf,#50339a);border:2px solid #d7aeff;box-shadow:0 4px 0 #302657,0 6px 10px #0003;overflow:hidden}.card-back:before{content:'';position:absolute;inset:7%;border:1px solid #e5c3ff80;border-radius:12%;background-image:radial-gradient(#f3daff70 1px,transparent 1px);background-size:13px 13px}.card-back svg{width:44%;height:44%;fill:#e8caff;filter:drop-shadow(0 2px 2px #51337c)}.card-front{transform:rotateY(180deg);background:linear-gradient(135deg,#fff,#e9f6f5);border:3px solid #fff;box-shadow:0 4px 0 #8bb5ba,0 5px 10px #0002}.card-front img{width:90%;height:90%;object-fit:contain;pointer-events:none}.card-front small{position:absolute;bottom:2px;background:#fffef2e8;color:#153c50;padding:1px 3px;font-size:clamp(8px,1.5vw,11px);max-width:95%;border-radius:4px}.fig-card[data-state="FLIPPING_UP"] .card-inner,.fig-card[data-state="REVEALED"] .card-inner,.fig-card[data-state="MATCHED"] .card-inner{transform:rotateY(180deg)}.fig-card[data-state="MATCHED"] .card-front{border-color:#ffda7b;background:linear-gradient(145deg,#fffcea,#d6fff0);box-shadow:0 3px 0 #4d9d91,0 0 15px #a3ffdc3b}.fig-card.pulse{animation:match-pulse .52s ease-out}.fig-card.wrong{animation:wrong .36s ease-out}.fig-card.hint .card-back{background:#ffbe4f;box-shadow:0 0 0 4px #fff4,0 0 20px #ffe190}.fig-card:active{scale:.96}.fig-card[data-state="MATCHED"]{cursor:default}#feedback{height:27px;flex-shrink:0;text-align:center;font-size:1.05rem;font-weight:900;color:#ffdf88;text-shadow:0 2px 2px #0003}.fig-actions{display:flex;justify-content:center;gap:8px;flex-shrink:0}.fig-actions button{min-height:44px;background:#0b3447a0;border-color:#80bcc35c;border-bottom-color:#08243a;color:#eaffff}.fig-actions button:disabled{opacity:.45}#particles{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:6}.particle{position:absolute;left:var(--x);top:var(--y);width:9px;height:9px;background:var(--color);clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 95%,50% 72%,21% 95%,32% 57%,2% 35%,39% 35%);animation:spark .8s ease-out forwards}.fig-result{max-width:540px;width:100%;text-align:center}.fig-result h1{font-size:clamp(1.7rem,5vw,2.6rem);color:#21485e;margin:10px 0}.result-stars{font-size:3rem;color:#ffc247;letter-spacing:.12em;filter:drop-shadow(0 3px 0 #cd8c2d);min-height:65px}.result-stars span{display:inline-block;animation:star-in .6s backwards}.result-stars span:nth-child(2){animation-delay:.2s}.result-stars span:nth-child(3){animation-delay:.4s}.result-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:14px auto}.result-metrics div{background:#ffffffa3;border-radius:14px;padding:12px;color:#496477;font-size:.8rem}.result-metrics strong{display:block;font-size:1.3rem;color:#204c60}.achievement-toast{min-height:30px;font-size:.9rem;color:#84600b;font-weight:800}.fig-dialog{border:0;border-radius:24px;background:#f0fafb;color:#173e52;max-width:min(640px,94vw);width:90vw;max-height:84dvh;padding:24px;box-shadow:0 20px 90px #001b3670}.fig-dialog::backdrop{background:#071e45b8;backdrop-filter:blur(4px)}.fig-dialog h2{margin:0 0 14px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.theme-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.theme-tile{border:2px solid #c6dce5;background:#fff;border-radius:16px;padding:8px;position:relative}.theme-tile button{border:0;background:none;color:#173e52;font:inherit;cursor:pointer;min-height:44px}.theme-tile img{width:70px;height:70px;display:block;margin:auto}.theme-tile .favorite{position:absolute;top:0;right:0;font-size:1.1rem;color:#916905;min-width:44px}.settings-grid{display:grid;gap:14px}.settings-grid label{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:44px}.settings-grid input[type=range]{width:45%}.settings-grid input[type=checkbox]{width:22px;height:22px}.collection-grid{display:grid;gap:10px}.collection-item{border-radius:13px;padding:12px;background:#fff}.collection-item.locked{opacity:.6}.collection-item progress{width:100%;accent-color:#087d8b}.collection-item button{min-height:44px;border:1px solid #a5cdd6;background:#e9fff6;border-radius:9px;color:#173e52}.collection-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.collection-tabs button{min-height:44px;padding:7px 12px;border-radius:9px;border:1px solid #b7cdd7;background:#fff;color:#173e52}.storage-warning{position:fixed;top:0;left:0;right:0;z-index:100;background:#fff3cb;color:#654b13;padding:10px;text-align:center}.fig-high-contrast .card-front{border:3px solid #071e31}.fig-high-contrast .fig-hud,.fig-high-contrast .objective{color:#fff}.fig-high-contrast .caption{color:#183f50}.fig-reduced *{animation:none!important;scroll-behavior:auto!important}.fig-reduced .card-inner{transition:opacity .1s;transform-style:flat}.fig-reduced .card-front{transform:none;display:none}.fig-reduced .fig-card[data-state="MATCHED"] .card-front,.fig-reduced .fig-card[data-state="REVEALED"] .card-front,.fig-reduced .fig-card[data-state="FLIPPING_UP"] .card-front{display:flex}.fig-reduced .card-inner{transform:none!important}.fig-reduced .fig-card[data-state="MATCHED"] .card-back,.fig-reduced .fig-card[data-state="REVEALED"] .card-back,.fig-reduced .fig-card[data-state="FLIPPING_UP"] .card-back{display:none}.fig-paused #board{visibility:hidden}.fig-paused *{animation-play-state:paused!important}.fig-back-ocean .card-back{background:linear-gradient(145deg,#38c4db,#075d8b)}.fig-back-garden .card-back{background:linear-gradient(145deg,#95d36f,#197c72)}.fig-back-cosmos .card-back{background:linear-gradient(145deg,#f47bc7,#392c90)}.fig-frame-gold .card-front{border-color:#eaba56}.fig-frame-candy .card-front{border-color:#ec8bbe}.fig-background-sunset #game-frame{background:linear-gradient(135deg,#7c415a,#543971,#153e65)}.fig-background-night #game-frame{background:radial-gradient(circle at 50% 5%,#3b456f,#07192f)}.fig-visual-aurora #game-frame{background:linear-gradient(145deg,#126a68,#353074,#4a2571)}
@keyframes spark{to{transform:translate(var(--dx),var(--dy)) rotate(200deg);opacity:0}}@keyframes match-pulse{40%{scale:1.09}100%{scale:1}}@keyframes wrong{25%{rotate:2deg}75%{rotate:-2deg}}@keyframes star-in{from{transform:translateY(20px) scale(.3);opacity:0}70%{transform:scale(1.15)}}@keyframes gentle{50%{opacity:.65}}
@media(min-width:860px) and (hover:hover) and (pointer:fine){#fig-play{padding-top:18px}#game-frame{max-width:none}#board{--fig-gap:12px}.fig-hud strong{font-size:1.5rem}#screen-title .fig-menu{margin:auto}}
@media(max-width:480px){.fig-menu{gap:8px}#fig-play{padding:7px 9px 8px;gap:3px}.fig-hud{padding:4px 6px}.fig-hud strong{font-size:1.1rem}.theme-grid{grid-template-columns:repeat(2,1fr)}.fig-dialog{padding:18px}.theme-preview button{min-width:58px}.theme-preview img{width:42px;height:42px}.eyebrow{font-size:.62rem}#board{--fig-gap:7px}.result-stars{font-size:2.6rem}.fig-result h1{margin:5px}.result-metrics div{padding:9px}}
@media(prefers-reduced-motion:reduce){.particle{display:none}.card-inner{transition-duration:.01ms}.fig-card,.result-stars span,#hud-time{animation:none!important}}
@media(prefers-reduced-transparency:reduce){.fig-dialog::backdrop{backdrop-filter:none;background:#071e45}.fig-actions button{background:#103a50}}
#screen-play.screen{max-width:none;width:100%;gap:0}#game-frame{min-height:0}.card-inner{display:block}.fig-result>.btn{min-height:44px;padding:10px 14px;margin:4px;font-size:.8rem;background:#fff;color:#18465b;border:1px solid #b2cfd8;border-radius:12px}.fig-result{font-size:calc(1rem * var(--fig-text-scale,1))}#screen-result{max-width:none}#screen-result .actions{gap:8px}
@media(max-height:500px){#fig-play{gap:2px;padding-top:3px}.fig-hud{padding:2px}.fig-hud strong{font-size:1rem}.objective{font-size:.65rem}#feedback{height:20px;font-size:.8rem}.fig-actions button{padding:5px 10px}}
.sticker-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;padding-top:9px}.sticker-grid img{width:100%;aspect-ratio:1;object-fit:contain;background:#edf5f5;border-radius:9px}.sticker-grid .undiscovered{filter:grayscale(1);opacity:.3}.fig-result .small-action{display:block;margin:auto}.fig-menu,.fig-dialog{font-size:calc(1rem * var(--fig-text-scale,1))}
.result-confetti{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:5}
#screen-result.screen{padding-top:84px;gap:10px}

/* Menus inherit the shared illustrated background and result veil. */
#screen-title .fig-menu,#screen-result .fig-result{color:var(--text)}
#screen-title .eyebrow,#screen-result .eyebrow{color:#b1eadf}
#screen-title .profile-summary{color:#e2cfff}
#screen-title .caption,#screen-result .caption{color:#c6dbe5}
#screen-title .small-action,#screen-result .small-action{color:#acebe1}
#screen-result .fig-result h1{color:var(--text)}
#screen-result .achievement-toast{color:#ffdb86}

/* Figurinhas menus: dark layered surfaces match the shared hub artwork. */
.fig-menu {
  --fig-panel: #10283c;
  --fig-line: #8ccad52e;
  --fig-highlight: #62e5d3;
  gap: 14px;
}
#screen-title .fig-menu > .eyebrow {
  color: #a3d6db;
  font-size: .63rem;
  letter-spacing: .16em;
}
#screen-title .profile-summary {
  align-self: flex-start;
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid #c9a6ff24;
  border-radius: 9px;
  background: #b790ee0e;
  color: #dfccff;
  font-size: .73rem;
  font-weight: 650;
}
.fig-menu .select-row { gap: 12px; }
.fig-menu .select-row label {
  gap: 8px;
  color: #a9bdcf;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.fig-menu select, .fig-dialog select {
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
  min-height: 50px;
  padding: 12px 34px 12px 14px;
  border: 1px solid #8ccad535;
  border-radius: 12px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2389c9d3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") right 12px center / 14px no-repeat,
    linear-gradient(155deg, #18364be8, #102237f5);
  box-shadow: inset 0 1px 0 #ffffff06, 0 3px 10px #02091322;
  color: #edf7ff;
  font-size: .81rem;
  font-weight: 650;
  letter-spacing: normal;
  text-transform: none;
  transition: border-color .16s, box-shadow .16s;
}
.fig-menu select option, .fig-dialog select option {
  background: #10283c;
  color: #edf7ff;
}
.fig-menu select:focus-visible, .fig-dialog select:focus-visible {
  border-color: #62e5d3;
  box-shadow: 0 0 0 3px #62e5d31c;
}
#screen-title #mode-description {
  color: #afc1d0;
  font-size: .76rem;
  min-height: 1.5em;
}
.fig-menu .theme-heading {
  padding-top: 4px;
  color: #e9f4fc;
  font-size: .82rem;
}
#screen-title #btn-themes {
  color: #91d9d8;
  font-size: .72rem;
  font-weight: 650;
  text-decoration: none;
}
.fig-menu .theme-preview { gap: 10px; padding: 3px 2px 6px; }
.fig-menu .theme-preview button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 100px;
  padding: 12px 8px 10px;
  border: 1px solid #92bfd32b;
  border-radius: 15px;
  background: radial-gradient(ellipse at 50% 20%, #468e9c1c, transparent 75%), linear-gradient(155deg, #152b43ef, #101d34f5);
  box-shadow: inset 0 1px 0 #ffffff05, 0 5px 14px #03091a30;
  transition: border-color .16s, background .16s, box-shadow .16s;
}
.fig-menu .theme-preview img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 4px 5px #0005);
}
.fig-menu .theme-preview small { color: #bbcddd; font-size: .72rem; font-weight: 600; }
.fig-menu .theme-preview .selected {
  border-color: #62e5d3;
  background: radial-gradient(ellipse at 50% 12%, #3cd3bd26, transparent 80%), linear-gradient(155deg, #173d4be8, #102a3df5);
  box-shadow: 0 0 0 2px #62e5d312, inset 0 1px 0 #b9fff51a, 0 5px 20px #03251e44;
}
.fig-menu .theme-preview .selected small { color: #c9fff5; }
.fig-menu .menu-secondary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.fig-menu .menu-secondary:has(#btn-resume-run:not([hidden])) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fig-menu .menu-secondary button[hidden] { display: none; }
.fig-menu .menu-secondary button,
.fig-dialog .dialog-actions button,
.fig-dialog .collection-tabs button,
.fig-dialog .collection-item button,
#screen-result .fig-result > .btn {
  min-height: 44px;
  border: 1px solid #90bfd534;
  border-radius: 11px;
  background: linear-gradient(155deg, #183247ed, #102136f5);
  box-shadow: inset 0 1px 0 #ffffff06, 0 3px 8px #02091626;
  color: #d7e8f5;
  font-weight: 650;
  transition: border-color .16s, background .16s;
}
.fig-menu .menu-secondary button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 7px;
  font-size: .72rem;
  line-height: 1.3;
}
.fig-menu .menu-secondary button::before {
  content: '';
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  background: #82c6d2;
  mask: var(--fig-action-icon) center / contain no-repeat;
}
#btn-daily { --fig-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M7 3v4m10-4v4M3 11h18m-13 5h2m4 0h2'/%3E%3C/svg%3E"); }
#btn-collection { --fig-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='8' y='3' width='13' height='16' rx='2'/%3E%3Cpath d='M5 7H3v14h13v-2m-1-12 1.2 2.7 2.8.3-2.1 1.9.6 2.8-2.5-1.5-2.5 1.5.6-2.8-2.1-1.9 2.8-.3z'/%3E%3C/svg%3E"); }
#btn-settings { --fig-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h8m6 0h2M4 17h2m6 0h8'/%3E%3Ccircle cx='15' cy='7' r='3'/%3E%3Ccircle cx='9' cy='17' r='3'/%3E%3C/svg%3E"); }
#btn-resume-run { --fig-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m8 5 11 7-11 7z'/%3E%3C/svg%3E"); }
#screen-title #weekly-summary { padding-top: 12px; border-top: 1px solid #a0c7dd1c; color: #a9bdce; font-size: .73rem; }
#screen-title .fig-menu > .caption:last-child { color: #8da9bf; font-size: .7rem; }
.fig-dialog {
  color-scheme: dark;
  border: 1px solid #85b7ce40;
  background: radial-gradient(ellipse at 0 0, #234e5d5c, transparent 65%), linear-gradient(155deg, #142b40, #0e1c32);
  color: #e2eef8;
  box-shadow: inset 0 1px 0 #ffffff09, 0 24px 80px #0008;
}
.fig-dialog .collection-item, .fig-dialog .theme-tile { border: 1px solid #83acc92b; background: #0c1b2ec9; }
.fig-dialog .theme-tile button { color: #dcebf7; }
.fig-dialog .theme-tile .favorite { color: #ffd685; }
.fig-dialog .collection-item progress { accent-color: #62dac8; }
.fig-dialog .sticker-grid img { background: #193145; }
.fig-dialog input { accent-color: #62dac8; }
#screen-result .result-metrics div { border: 1px solid #8abbd333; background: #10253bec; color: #a9c0d4; }
#screen-result .result-metrics strong { color: #eef8ff; }
@media (hover:hover) and (pointer:fine) {
  .fig-menu select:hover, .fig-dialog select:hover { border-color: #8ac5d478; }
  .fig-menu .theme-preview button:hover { border-color: #91d5d487; background-color: #1b3d50; }
  .fig-menu .theme-preview .selected:hover { border-color: #8af6e4; }
  .fig-menu .menu-secondary button:hover, .fig-dialog .dialog-actions button:hover,
  .fig-dialog .collection-tabs button:hover, .fig-dialog .collection-item button:hover,
  #screen-result .fig-result > .btn:hover { border-color: #76cbbb86; background: #204254; }
}
@media (max-width:480px) {
  .fig-menu { gap: 9px; }
  .fig-menu .select-row { gap: 9px; }
  .fig-menu select { padding-left: 11px; font-size: .75rem; }
  .fig-menu .theme-preview { gap: 8px; }
  .fig-menu .theme-preview button { min-height: 84px; padding: 9px 6px; }
  .fig-menu .theme-preview img { width: 43px; height: 43px; }
  .fig-menu .menu-secondary { gap: 6px; }
  .fig-menu .menu-secondary button { gap: 5px; font-size: .66rem; padding: 10px 5px; }
  .fig-menu .menu-secondary button::before { flex-basis: 12px; width: 12px; height: 12px; }
}
/* Bright arcade feedback is the default; only explicit accessibility settings reduce it. */
.challenge-hud{flex-shrink:0;border:1px solid #58e6d6aa;border-radius:18px;padding:9px 16px;background:linear-gradient(115deg,#075c69f2,#163971f2);box-shadow:inset 0 1px #bfffff33,0 5px 18px #03122c44;--pressure:#42f5c5}
.challenge-hud[hidden]{display:none}
.challenge-copy{display:flex;align-items:center;justify-content:space-between;gap:10px}
.challenge-copy>span{font-size:.8rem;font-weight:850;color:#dcfffa}
.challenge-copy>strong{font-size:2.2rem;line-height:1.05;font-variant-numeric:tabular-nums;color:#fff;text-shadow:0 2px 0 #003d53}
.challenge-track,.combo-track{overflow:hidden;background:#02172b8c;border-radius:20px;height:10px}
.challenge-track{margin-top:8px}
.challenge-track i,.combo-track i{display:block;width:100%;height:100%;transform-origin:left;background:linear-gradient(90deg,#24bdff,var(--pressure,#ffde52));border-radius:inherit;will-change:transform}
.challenge-hud[data-urgency="warning"]{--pressure:#ffd447;border-color:#ffc83c;background:linear-gradient(115deg,#754c12,#653761)}
.challenge-hud[data-urgency="critical"]{--pressure:#ff7062;border-color:#ff8276;background:linear-gradient(115deg,#a53250,#5f245d);box-shadow:0 0 0 2px #ff718033,0 0 26px #ff4d6a44}
.challenge-hud[data-urgency="critical"] .challenge-copy>strong{color:#fff4ab;animation:clock-beat 1s ease-out infinite}
.challenge-hud[data-kind="lives"]{display:flex;align-items:center;justify-content:space-between;gap:12px}
.challenge-hud[data-kind="lives"][hidden]{display:none}
.challenge-hud[data-kind="lives"] .challenge-copy{display:grid;gap:2px}
.challenge-hud[data-kind="lives"] .challenge-copy>strong{font-size:1.2rem}
#life-hearts{display:flex;gap:6px;font-size:clamp(1.5rem,6vw,2.4rem);line-height:1.2;color:#ff658d;text-shadow:0 2px 0 #9c1949,0 0 14px #ff6aa65c}
#life-hearts[hidden]{display:none}
#life-hearts .lost{color:#67829d;text-shadow:none;opacity:.45;transform:scale(.8)}
.life-hit{animation:life-impact .45s ease-out}
.combo-strip{display:flex;align-items:center;gap:10px;flex-shrink:0;min-height:26px;padding:3px 8px;color:#c5f9ff;font-size:.7rem;font-weight:900;letter-spacing:.04em}
.combo-strip>span{min-width:135px}.combo-track{flex:1;height:7px}.combo-track i{background:linear-gradient(90deg,#5df6df,#ffdd57,#ff5da5);transition:transform .24s ease-out}
.combo-strip>strong{font-size:1.15rem;color:#ffe87c;min-width:44px;text-align:right}
.combo-strip[data-level="warm"]{color:#ffe57c}.combo-strip[data-level="hot"]{color:#ff9fda;text-shadow:0 0 15px #ff5acb99}
.fig-card[data-state="MATCHED"] .card-front{border:3px solid #ffdc50;background:linear-gradient(140deg,#fffcd0,#b3ffe4);box-shadow:0 4px 0 #258b88,0 0 18px #5dffd05c}
.fig-card[data-state="MATCHED"]:after{content:'✓';position:absolute;right:-4px;top:-5px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#ffdf4b;color:#064b61;font-size:16px;font-weight:950;border:2px solid #fff3b5;box-shadow:0 3px 8px #082e5b66;pointer-events:none}
.fig-card.pulse{z-index:2;animation:sticker-impact .65s cubic-bezier(.2,.8,.3,1)}
.particle{width:var(--size,13px);height:var(--size,13px);animation:spark .85s cubic-bezier(.1,.7,.3,1) forwards;filter:drop-shadow(0 0 3px var(--color))}
.match-ring{position:absolute;width:var(--ring-size);height:var(--ring-size);border:4px solid #ffed69;border-radius:25%;box-shadow:0 0 14px #58ffe4,inset 0 0 12px #fff2b7;animation:match-ring .65s ease-out forwards}
.score-pop{position:absolute;color:#fff5a0;font-size:clamp(1.7rem,5vw,2.7rem);font-weight:950;line-height:1;white-space:nowrap;text-shadow:0 3px 0 #9d3b91,2px 0 #57368b,-2px 0 #57368b,0 0 18px #ffb632;animation:score-pop 1s ease-out forwards}
#feedback{height:31px;font-size:clamp(1rem,3.6vw,1.4rem);color:#fff398;text-shadow:0 2px 0 #763781,0 0 16px #ffbc4b55}
.feedback-hit{animation:feedback-hit .48s ease-out}
.fig-paused #particles *,.fig-paused .challenge-hud *{animation-play-state:paused!important}
body[data-fig-fx="minimal"] .feedback-hit,body[data-fig-fx="reduced"] .feedback-hit{animation:none}
body[data-fig-fx="minimal"] .life-hit,body[data-fig-fx="minimal"] .challenge-hud strong{animation:none}
@keyframes sticker-impact{0%{scale:1}25%{scale:1.15;filter:brightness(1.12)}48%{scale:.97}72%{scale:1.05}100%{scale:1;filter:brightness(1)}}
@keyframes match-ring{from{transform:translate(-50%,-50%) scale(.85);opacity:1}to{transform:translate(-50%,-50%) scale(1.65);opacity:0}}
@keyframes score-pop{0%{transform:translate(-50%,0) scale(.6);opacity:0}18%{transform:translate(-50%,-15px) scale(1.15);opacity:1}65%{opacity:1}100%{transform:translate(-50%,-85px) scale(1);opacity:0}}
@keyframes feedback-hit{0%{transform:scale(.88)}40%{transform:scale(1.1)}100%{transform:scale(1)}}
@keyframes clock-beat{0%{transform:scale(1.12)}35%,100%{transform:scale(1)}}
@keyframes life-impact{25%{transform:translateX(-5px)}55%{transform:translateX(4px)}100%{transform:translateX(0)}}
@media(max-width:480px){.challenge-hud{padding:8px 12px;border-radius:14px}.challenge-copy>strong{font-size:1.9rem}.challenge-copy>span{font-size:.72rem}.combo-strip{gap:7px}.combo-strip>span{min-width:124px}}
@media(max-height:500px){.challenge-hud{padding:3px 10px}.challenge-copy>strong{font-size:1.5rem}.challenge-track{height:6px;margin-top:3px}.challenge-hud[data-kind="lives"] .challenge-copy{display:flex}.combo-strip{min-height:18px;padding:0 8px}#life-hearts{font-size:1.4rem}#feedback{height:22px;font-size:.85rem}}
@media(prefers-reduced-motion:reduce){.match-ring,.score-pop{display:none}.challenge-hud *,.life-hit,.feedback-hit{animation:none!important}.combo-track i{transition:none}}

/* Fit the complete board; feedback shares the objective line instead of
   reserving another row. Wide, short screens put controls beside the cards. */
#board-wrap{overflow:clip;padding:6px;box-sizing:border-box}
#board{flex-shrink:0;min-width:0;min-height:0}
.fig-status-line{position:relative;flex-shrink:0;min-height:27px;display:grid;place-items:center;text-align:center}
.fig-status-line .objective{min-height:0;line-height:1.25}
.fig-status-line #feedback{position:absolute;inset:0;display:grid;place-items:center;height:auto;line-height:1.15;font-size:clamp(.85rem,2.8vw,1.25rem)}
.fig-status-line:has(#feedback:not(:empty)) .objective{visibility:hidden}
.fig-hud>div{min-width:0}
#hud-theme{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.fig-actions{flex-wrap:wrap}
@media(max-width:480px){
 #fig-play{gap:3px;padding:6px 8px}
 .fig-hud{padding:2px 3px;gap:8px}
 .fig-hud>div{gap:2px}
 .fig-hud strong{font-size:1rem;white-space:nowrap}
 .challenge-hud{padding:6px 10px}
 .challenge-copy>strong{font-size:1.8rem}
 .challenge-track{height:7px;margin-top:5px}
 .challenge-hud[data-kind="lives"] .challenge-copy{display:flex;flex-wrap:wrap;align-items:center;gap:5px 8px}
 .challenge-hud[data-kind="lives"] .challenge-copy>strong{font-size:1.1rem;white-space:nowrap}
 #life-hearts{font-size:1.6rem;gap:4px;flex-shrink:0}
 .combo-strip{min-height:21px;padding:1px 4px;font-size:.62rem}
 .combo-strip>span{min-width:112px}
 .combo-strip>strong{font-size:1rem}
 .fig-status-line{min-height:23px}
 .fig-status-line .objective{font-size:.67rem}
 #board-wrap{padding:4px}
}
@media(max-height:500px) and (min-aspect-ratio:6/5){
 #fig-play{display:grid;max-width:none;padding:6px 10px;gap:5px 12px;grid-template-columns:clamp(154px,25vw,210px) minmax(0,1fr);grid-template-rows:auto auto auto auto minmax(0,1fr) auto;grid-template-areas:"hud board" "challenge board" "combo board" "status board" ". board" "actions board"}
 .fig-hud{grid-area:hud;padding:0;gap:6px}
 .fig-hud strong{font-size:.85rem;white-space:nowrap}
 .fig-hud .eyebrow{font-size:.55rem;letter-spacing:.06em}
 .challenge-hud{grid-area:challenge;padding:5px 8px;border-radius:12px}
 .challenge-copy>span{font-size:.65rem}
 .challenge-copy>strong{font-size:1.7rem}
 .challenge-hud[data-kind="lives"]{display:grid;gap:2px}
 .challenge-hud[data-kind="lives"] .challenge-copy{display:flex;gap:6px}
 .challenge-hud[data-kind="lives"] .challenge-copy>strong{font-size:1rem;white-space:nowrap}
 #life-hearts{justify-content:center;font-size:1.5rem}
 .combo-strip{grid-area:combo;flex-wrap:wrap;padding:0;gap:3px 6px}
 .combo-strip>span{min-width:0;flex:1;font-size:.6rem}
 .combo-strip>strong{font-size:1rem;min-width:36px}
 .combo-track{order:3;flex-basis:100%;height:5px}
 .fig-status-line{grid-area:status;min-height:32px}
 .fig-status-line .objective{font-size:.62rem}
 .fig-status-line #feedback{font-size:.85rem}
 .fig-actions{grid-area:actions;gap:4px}
 .fig-actions button{flex:1;padding:5px;font-size:.7rem}
 #board-wrap{grid-area:board;align-self:stretch;padding:5px;min-width:0;min-height:0}
}

/* The result keeps rewards and a single compact row of familiar actions. */
.fig-result-actions{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;margin:18px auto 4px;max-width:360px}
#screen-result .fig-result-actions .fig-result-action{display:grid;place-items:center;flex:none;width:52px;height:52px;min-width:48px;min-height:48px;margin:0;padding:0;border-radius:16px;border:1px solid #83c9d858;border-bottom:3px solid #071c3c;background:linear-gradient(145deg,#1c435d,#12263f);color:#c0fff1;box-shadow:inset 0 1px #ffffff15,0 5px 12px #030c2433;cursor:pointer;transition:transform .15s,border-color .15s}
#screen-result .fig-result-actions .fig-result-action[hidden]{display:none}
.fig-result-action svg{width:25px;height:25px;pointer-events:none}
.near-achievement{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 10px;max-width:430px;margin:8px auto;padding:8px 12px;border:1px solid #91d9cb45;border-radius:13px;background:linear-gradient(135deg,#183a4de8,#16233fe8);text-align:left;color:#d8f5ef}
.near-achievement[hidden]{display:none}
.near-achievement>div{display:grid;gap:3px;min-width:0}
.near-achievement small{font-size:.62rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#ffe69a}
.near-achievement strong{font-size:.82rem;line-height:1.15}
.near-achievement>span{font-size:.64rem;color:#bdd9e2;text-align:right;max-width:125px;line-height:1.3}
.near-achievement progress{grid-column:1/-1;width:100%;height:5px;border:0;border-radius:5px;overflow:hidden;accent-color:#72eed1}
.near-achievement progress::-webkit-progress-bar{background:#061b34}
.near-achievement progress::-webkit-progress-value{background:linear-gradient(90deg,#62e6cc,#ffe778);border-radius:5px}
.fig-result.is-award-party #result-title{color:#ffefaa;font-weight:950;text-shadow:0 0 14px #ffda5099}
.fig-result.is-award-party #result-heading{color:#fff1a7;font-size:clamp(1.35rem,4.5vw,2.1rem);text-shadow:0 3px #7d3c88,0 0 22px #ffc64d66;animation:award-title-in .4s ease-out}
.fig-result.is-award-party .result-stars{filter:drop-shadow(0 0 15px #ffcf64)}
.combo-mascot[data-kind="award"]>div{border:2px solid #ffe68d;background:linear-gradient(135deg,#fff4ad,#ffd3ed);box-shadow:0 3px 0 #99468c,0 0 16px #ffd55270}
.combo-mascot[data-kind="award"] small{white-space:normal;max-width:clamp(90px,28vw,140px);line-height:1.2}
@keyframes award-title-in{from{transform:scale(.8);opacity:.4}to{transform:scale(1);opacity:1}}
@media(max-height:640px){.fig-result h1{font-size:1.4rem;margin:4px 0;min-height:30px}#screen-result .result-metrics div{padding:6px 8px}#screen-result .result-metrics strong{font-size:1.1rem}.near-achievement{padding:6px 9px;margin:6px auto}.near-achievement small{font-size:.57rem}.near-achievement strong{font-size:.72rem}.near-achievement>span{font-size:.58rem;max-width:100px}#result-credits{margin:6px 0;font-size:.8rem}}

.fig-hud{position:relative}
#board{isolation:isolate}
.fig-hud.is-cheering>div:first-child{opacity:0}
.fig-hud>.combo-mascot{position:absolute;display:flex;align-items:center;gap:5px;pointer-events:none;z-index:7;isolation:isolate;filter:drop-shadow(0 3px 7px #09132b55);text-align:left}
.fig-hud>.combo-mascot[hidden]{display:none}
.mascot-actor{position:relative;display:grid;place-items:center;box-sizing:border-box;padding:10px;flex:none;--mascot-hop:3px}
.mascot-actor[data-size="small"]{padding:5px;--mascot-hop:1px}
.mascot-actor>img{width:100%;height:100%;object-fit:contain;min-height:0;transform-origin:50% 70%}
.mascot-actor:before{content:'';position:absolute;inset:4px;border-radius:50%;background:radial-gradient(circle,#ffe78c5c,#ffb86818 55%,transparent 72%);z-index:-1}
.mascot-actor>i{position:absolute;font-style:normal;color:#fff4a1;text-shadow:0 0 8px #ffbc32;font-size:15px;line-height:1}
.mascot-actor>i:nth-of-type(1){left:2px;top:25%}.mascot-actor>i:nth-of-type(2){right:4px;top:8%;color:#83ffe4}.mascot-actor>i:nth-of-type(3){right:0;bottom:10%}
.combo-mascot>div{min-width:0;flex:none;border:1px solid #fff29b;background:linear-gradient(145deg,#fff8bc,#ffda69);border-radius:15px 15px 15px 3px;padding:6px 9px;box-shadow:0 3px 0 #a86224;color:#48294a}
.combo-mascot strong{display:block;font-size:clamp(.85rem,2.8vw,1.15rem);font-weight:950;line-height:1.15;white-space:nowrap}
.combo-mascot small{display:block;font-size:.6rem;font-weight:800;margin-top:3px;white-space:nowrap}
.mascot-enter{animation:mascot-pop 2.2s both}
.mascot-enter .mascot-actor>img{animation:mascot-celebrate 2.2s ease-in-out both}
.mascot-enter .mascot-actor>i{animation:mascot-star .65s ease-in-out 3 alternate}
.mascot-enter .mascot-actor>i:nth-of-type(2){animation-delay:.12s}.mascot-enter .mascot-actor>i:nth-of-type(3){animation-delay:.24s}
.mascot-enter .mascot-actor:before{animation:mascot-aura .7s ease-out 3}
.combo-mascot[data-tier="8"]>div{background:linear-gradient(135deg,#fff4a7,#ffc5ee);border-color:#ffe89b;box-shadow:0 3px 0 #8c337d,0 0 14px #ffb3ed66}
.combo-mascot[data-placement="aside"]{justify-content:center;flex-direction:column;gap:0}
.combo-mascot[data-placement="aside"]>div{padding:4px 8px;border-radius:10px;text-align:center}
.combo-mascot[data-placement="aside"] strong{font-size:.85rem}
.combo-mascot[data-placement="aside"] small{font-size:.58rem}
.match-bridge{position:absolute;height:5px;border-radius:100%;transform-origin:left center;background:linear-gradient(90deg,#fff09c00,#fff8c0,#83ffe0,#fff09c00);box-shadow:0 0 12px #64ffd6;animation:match-bridge .5s ease-out both;transform:rotate(var(--beam-angle));pointer-events:none}
#board[data-combo="warm"]:before,#board[data-combo="epic"]:before,#board[data-combo="legendary"]:before{content:'';position:absolute;inset:-5px;z-index:-1;border-radius:18px;border:2px solid #ffe47477;box-shadow:0 0 16px #ffcc4633;pointer-events:none}
#board[data-combo="epic"]:before{border-color:#ffb1e9bb;box-shadow:0 0 23px #ff60cd55}
#board[data-combo="legendary"]:before{border-color:#ffe7a8;box-shadow:0 0 25px #ffcf6366,inset 0 0 22px #ff97e844}
body[data-fig-fx="minimal"] #board:before,body[data-fig-fx="reduced"] #board:before,.fig-reduced #board:before{display:none}
.result-stars{position:relative;max-width:330px;margin-inline:auto}
.result-mascot{position:absolute;left:0;top:50%;transform:translateY(-50%);width:64px;height:64px;object-fit:contain;filter:drop-shadow(0 3px 6px #0005)}
@keyframes mascot-pop{0%{opacity:0;transform:scale(.65)}13%{opacity:1;transform:scale(1)}85%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}
@keyframes mascot-celebrate{0%,100%{transform:translateY(0) rotate(0) scale(1)}12%,44%,75%{transform:translateY(2px) rotate(-6deg) scale(1.07,.88)}25%,60%,87%{transform:translateY(calc(-1 * var(--mascot-hop))) rotate(6deg) scale(.93,1.05)}}
@keyframes mascot-star{from{transform:rotate(-18deg) scale(.65);opacity:.5}to{transform:rotate(18deg) scale(1.15);opacity:1}}
@keyframes mascot-aura{from{transform:scale(.7);opacity:.4}to{transform:scale(1.15);opacity:.9}}
@keyframes result-mascot-cheer{0%,100%{translate:0 0;rotate:0deg;scale:1}25%,65%{translate:0 -5px;rotate:-6deg;scale:.95 1.03}45%,85%{translate:0 2px;rotate:6deg;scale:1.04 .95}}
.result-mascot{animation:result-mascot-cheer 2.2s ease-in-out}
@keyframes match-bridge{0%{opacity:0;scale:.3 1}25%{opacity:.9;scale:1 1}100%{opacity:0;scale:1 0}}
@media(min-height:720px){.fig-hud{min-height:96px;box-sizing:border-box;align-items:center}.result-mascot{width:76px;height:76px}}
@media(max-width:380px){.combo-mascot>div{padding:5px 7px}.combo-mascot strong{font-size:.83rem}.combo-mascot small{font-size:.56rem}}
@media(max-height:500px) and (min-aspect-ratio:6/5){.combo-mascot[data-placement="hud"]>div{display:none}.combo-mascot[data-placement="hud"] .mascot-actor{padding:5px}}
@media(prefers-reduced-motion:reduce){.mascot-enter,.mascot-enter *,.result-mascot{animation:none!important}}
.fig-result-action span{display:none}
#btn-next.fig-result-action span{display:inline}
.result-options{position:relative;flex:none}
.result-options>summary{display:grid;place-items:center;list-style:none;width:48px;height:48px;cursor:pointer;border:1px solid #83c9d858;border-bottom:3px solid #071c3c;border-radius:14px;background:linear-gradient(145deg,#1c435d,#12263f);color:#c0fff1;box-sizing:border-box}
.result-options>summary::-webkit-details-marker{display:none}
.result-options>summary svg{width:25px;height:25px}
.result-options-menu{position:absolute;bottom:calc(100% + 10px);right:0;min-width:205px;z-index:20;padding:7px;border:1px solid #80ccb653;border-radius:14px;background:#102a40;box-shadow:0 10px 32px #0008}
#screen-result .result-options-menu .fig-result-action{display:flex;justify-content:flex-start;gap:10px;width:100%;padding:8px 10px;height:auto;min-height:44px;border:0;border-radius:8px;background:none;box-shadow:none;color:#dcf5ef;font-size:.8rem;text-align:left}
.result-options-menu .fig-result-action span{display:inline}
.result-options-menu .fig-result-action svg{width:21px;height:21px;flex:none}
.fig-advanced{border:1px solid #86c5d32b;border-radius:14px;background:#0a1d343d;padding:0 12px}
.fig-advanced>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#bce4eb;font-size:.83rem;font-weight:750;list-style:none}
.fig-advanced>summary::-webkit-details-marker{display:none}
.fig-advanced>summary:after{content:'+';font-size:1.2rem;color:#79dfce}
.fig-advanced[open]>summary:after{content:'−'}
.fig-advanced[open]>summary{margin-bottom:8px}
.fig-advanced>.settings-grid{padding-bottom:12px}
.fig-advanced .select-row{padding-top:3px}
.fig-advanced #mode-description{margin:8px 0}
.journey-card{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid #61e4cd60;border-radius:18px;background:radial-gradient(ellipse at 0 0,#26d2b731,transparent 85%),linear-gradient(135deg,#173d4b,#15213c);box-shadow:inset 0 1px #ffffff12}
.journey-card[hidden],#custom-options[hidden]{display:none}
.journey-card img{width:60px;height:60px;object-fit:contain;filter:drop-shadow(0 4px 5px #0004)}
.journey-card>div{display:grid;gap:5px;min-width:0}
.journey-card strong{font-size:1.2rem;color:#edfff9}
.journey-card span{font-size:.8rem;color:#b5d7e2}
.journey-card .journey-arrow{margin-left:auto;color:#80f1d2;font-size:1.1rem}
#screen-result .fig-result-actions{max-width:440px}
#screen-result .fig-result-actions #btn-next{display:flex;gap:9px;width:auto;min-width:165px;padding:0 17px;font-size:.9rem;font-weight:850}
.settings-grid>label{display:grid;grid-template-columns:minmax(100px,1fr) minmax(75px,1fr) 38px;gap:8px;font-size:.85rem}
.settings-grid>label>input[type=range]{width:100%;min-width:0}
.settings-grid>label:has(select),.settings-grid>label:has(input[type=checkbox]){grid-template-columns:1fr auto}
.settings-grid output{text-align:right;font-size:.78rem;color:#b8d4e0;font-variant-numeric:tabular-nums}
.settings-grid .fig-advanced button{min-height:44px;background:#173d4b;color:#d5f9f0;border:1px solid #6ac9c74d;border-radius:10px}
@media(max-width:380px){.fig-dialog{padding:18px}.settings-grid>label{grid-template-columns:minmax(85px,1fr) minmax(65px,1fr) 33px;font-size:.78rem}.journey-card{padding:12px;gap:10px}.journey-card img{width:48px;height:48px}}
.fig-result-action:before,.fig-result-action:after{content:none!important}
#screen-result .fig-result-actions #btn-next{color:#4d3508;background:linear-gradient(145deg,#fff28f,#ffce3e);border-color:#fff1a2;border-bottom-color:#c08a18;box-shadow:0 0 20px #ffdc4f25,inset 0 1px #fff9}
#screen-result>.actions{display:none}
#result-credits:empty,#result-achievement:empty{display:none}
@media(hover:hover) and (pointer:fine){#screen-result .fig-result-action:hover{transform:translateY(-2px);border-color:#8dffe4}}
@media(max-width:480px){.fig-result-actions{gap:7px;margin-top:14px}#screen-result .fig-result-actions .fig-result-action{width:48px;height:48px;border-radius:14px}}
@media(max-height:640px){#screen-result .result-stars{min-height:46px;font-size:2.2rem}#screen-result .fig-result-actions{margin-top:10px}#screen-result .result-metrics{margin-block:10px}}
@media(max-width:380px){#screen-result .fig-result-actions{flex-wrap:nowrap;gap:6px}#screen-result .fig-result-actions #btn-next{flex:1;min-width:0;padding:0 8px;gap:6px;font-size:.76rem;letter-spacing:.025em;white-space:nowrap}#screen-result #btn-next svg{width:18px;height:18px;flex:none}.result-options{flex:none}}
