:root {
  --ink: #1d2340; --go: #34d17a; --go-dark: #1f9a55; --star: #ffcc33; --card: #fff;
  --safe-top: env(safe-area-inset-top, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: "Baloo 2", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 50% 30%, #3e8f7a, #0f2a33 72%);
  font-family: var(--font); user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; overscroll-behavior: none; }
/* Formato vertical de móvil: en pantallas anchas va encajado en un marco 9:16. */
#app { position: relative; margin: 0 auto; width: 100%; height: 100vh; height: 100dvh; max-width: calc(100dvh * 9 / 16); overflow: hidden; background: #1f4d3b; }
.screen { position: absolute; inset: 0; }
@media (min-aspect-ratio: 3/4) {
  #app { height: calc(100dvh - 32px); max-width: calc((100dvh - 32px) * 9 / 16); margin-top: 16px; border-radius: 34px;
    box-shadow: 0 0 0 10px #0b1d24, 0 0 0 12px #2e6b5e, 0 30px 80px rgba(0,0,0,.6); }
}
.hidden { display: none !important; }
button { font: inherit; cursor: pointer; border: 0; touch-action: manipulation; color: inherit; }
svg { display: block; }

.pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(10,40,26,.55); color: #fff; border-radius: 999px; padding: 5px 14px 5px 10px;
  font-weight: 800; font-size: 18px; white-space: nowrap; box-shadow: inset 0 2px 4px rgba(0,0,0,.25), 0 1px 0 rgba(255,255,255,.12); }
.icon-btn { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 15px;
  background: linear-gradient(#f6eedd, #ddcba8); color: #6a4f2e; font-size: 26px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.8), inset 0 -3px 0 rgba(120,90,50,.18), 0 4px 0 #a88d62, 0 7px 10px rgba(0,0,0,.3); }
.icon-btn:active { transform: translateY(3px); box-shadow: inset 0 2px 0 rgba(255,255,255,.8), 0 1px 0 #a88d62; }
.btn { min-height: 52px; padding: 0 20px; border-radius: 18px; font-weight: 800; font-size: 19px; color: #fff;
  box-shadow: 0 5px 0 rgba(0,0,0,.25); transition: transform .08s; }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.btn.go { background: linear-gradient(#ffe68a, #ffbf33); color: #5a3200; box-shadow: inset 0 2px 0 rgba(255,255,255,.7), 0 5px 0 #c27a00, 0 8px 12px rgba(0,0,0,.2); }
.btn.ghost { background: linear-gradient(#f6eedd, #ddcba8); color: #5c4427; box-shadow: inset 0 2px 0 rgba(255,255,255,.8), 0 5px 0 #a88d62; }
.btn.small { min-height: 40px; font-size: 15px; }
.i-star { color: var(--star); font-size: 22px; display: inline-flex; filter: drop-shadow(0 1px 0 #a86a00); }

/* ---- Mapa (cuadrícula de mundos) ----
   Cada mundo toma sus colores de [data-theme]. Las texturas (img/tex/*.svg) son provisionales:
   se pueden sustituir por PNG cambiando la URL de --tex. */
#screen-map { display: flex; flex-direction: column; background: #48D0FA; }
.map-head { display: flex; align-items: center; gap: 10px; padding: calc(12px + var(--safe-top)) 14px 12px; }
.logo { margin: 0; flex: 1; min-width: 0; line-height: 0; cursor: pointer; }
.logo img { height: 46px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }

/* ---- Portada ---- */
#screen-title, #screen-end { display: flex; flex-direction: column; align-items: center; background: #48D0FA; overflow: hidden; }
#screen-title::before, #screen-end::before { content: ''; position: absolute; inset: 0; background: url(../img/tex/title.svg) center / 260px auto repeat; pointer-events: none; }
.title-box { position: relative; width: 100%; flex: 1; padding: calc(24px + var(--safe-top)) 28px calc(24px + var(--safe-bottom)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7vh; }
.title-logo { width: min(86%, 440px); height: auto; filter: drop-shadow(0 6px 8px rgba(0,60,90,.28)); animation: title-drop .7s cubic-bezier(.3,1.5,.5,1) both; }
.title-btns { width: min(80%, 340px); display: flex; flex-direction: column; gap: 18px; animation: title-rise .5s .35s ease-out both; }
.btn.big { min-height: 72px; font-size: 28px; border-radius: 26px; letter-spacing: .5px; }
@keyframes title-drop { from { transform: translateY(-40px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes title-rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
#map-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 6px 14px calc(24px + var(--safe-bottom)); scrollbar-width: none; }
#map-scroll::-webkit-scrollbar { display: none; }

.world { --wcard: linear-gradient(170deg, #59b878, #34955c 60%, #2b8450); --ink-w: #163d26; --tex: url(../img/tex/mint.svg);
  --tile: linear-gradient(#f4fcf5, #d4eedb 70%, #c3e5cc); --tile-edge: #8dbb99; --tile-lock: rgba(28,80,52,.45); --lock-line: rgba(200,240,210,.55);
  --pill: rgba(18,58,36,.6); --star-off: #9cb8a4;
  position: relative; isolation: isolate; color: var(--ink-w); margin: 10px 0 24px; border-radius: 30px; padding: 16px 14px 18px; background: var(--wcard);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.35), inset 0 0 0 2px rgba(255,255,255,.14), inset 0 -6px 0 rgba(0,0,0,.12), 0 12px 26px rgba(0,0,0,.35); }
.world::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--tex) center / 300px auto repeat; opacity: .13; pointer-events: none; }
.world[data-theme="ice"] { --wcard: linear-gradient(170deg, #abdeff, #70b9f7 55%, #4f9eec); --ink-w: #183a68; --tex: url(../img/tex/ice.svg);
  --tile: linear-gradient(#f6faff, #d9eafa 70%, #c7def5); --tile-edge: #86a9d3; --tile-lock: rgba(30,80,150,.35); --lock-line: rgba(225,240,255,.7);
  --pill: rgba(24,62,120,.6); --star-off: #9bb2cc; }
.world[data-theme="candy"] { --wcard: linear-gradient(170deg, #ffc0e2, #fa7ac6 55%, #e758b0); --ink-w: #5a1640; --tex: url(../img/tex/candy.svg);
  --tile: linear-gradient(#fff6fb, #fbdcec 70%, #f5c9e0); --tile-edge: #d58bb5; --tile-lock: rgba(130,30,90,.32); --lock-line: rgba(255,225,240,.7);
  --pill: rgba(110,24,74,.55); --star-off: #c9a1b8; }
.world[data-theme="lava"] { --wcard: linear-gradient(170deg, #ffa071, #f55a29 55%, #c9381a); --ink-w: #4a140c; --tex: url(../img/tex/lava.svg);
  --tile: linear-gradient(#fff6f0, #f6dccd 70%, #efcab6); --tile-edge: #c8775a; --tile-lock: rgba(110,30,15,.35); --lock-line: rgba(255,225,210,.7);
  --pill: rgba(90,24,12,.6); --star-off: #c9a191; }
.world[data-theme="space"] { --wcard: linear-gradient(170deg, #4b4ce5, #2d2cb6 55%, #1c1b8b); --ink-w: #eef0ff; --tex: url(../img/tex/space.svg);
  --tile: linear-gradient(#eef0ff, #cfd4fb 70%, #bcc3f5); --tile-edge: #6b74d0; --tile-lock: rgba(10,10,60,.45); --lock-line: rgba(200,205,255,.6);
  --pill: rgba(10,8,50,.6); --star-off: #9fa4d0; }
.world[data-theme="space"] .tile:not(.locked), .world[data-theme="space"] .world-num { color: #1d1f6e; }
.world[data-theme="desert"] { --wcard: linear-gradient(170deg, #ffd590, #ffb341 55%, #eb9327); --ink-w: #4f3008; --tex: url(../img/tex/desert.svg);
  --tile: linear-gradient(#fffaf0, #f8e6c4 70%, #f0d8a8); --tile-edge: #c9954a; --tile-lock: rgba(110,60,10,.32); --lock-line: rgba(255,240,215,.7);
  --pill: rgba(90,50,10,.55); --star-off: #c9ab80; }
.world[data-theme="bunny"] { --wcard: linear-gradient(170deg, #fff0a0, #ffd84a 55%, #fcc314); --ink-w: #5a3d00; --tex: url(../img/tex/bunny.svg);
  --tile: linear-gradient(#fffdf0, #fdf0b8 70%, #f6e08a); --tile-edge: #d9a920; --tile-lock: rgba(110,75,0,.32); --lock-line: rgba(255,245,200,.75);
  --pill: rgba(90,60,0,.55); --star-off: #cdb67a; }
.world[data-theme="mine"] { --wcard: linear-gradient(170deg, #d0b895, #987b59 55%, #654e37); --ink-w: #2b2016; --tex: url(../img/tex/mine.svg);
  --tile: linear-gradient(#f6f0e6, #e3d6c3 70%, #d2c0a8); --tile-edge: #8a7358; --tile-lock: rgba(50,35,20,.35); --lock-line: rgba(240,228,210,.7);
  --pill: rgba(40,28,16,.6); --star-off: #b5a58f; }
.world[data-theme="neon"] { --wcard: linear-gradient(170deg, #6252f8, #3a26c8 55%, #29199c); --ink-w: #f0edff; --tex: url(../img/tex/neon.svg);
  --tile: linear-gradient(#efeaff, #d4ccfb 70%, #c3b8f5); --tile-edge: #7b6fd0; --tile-lock: rgba(20,10,70,.45); --lock-line: rgba(200,190,255,.6);
  --pill: rgba(15,8,60,.6); --star-off: #a69fd0; }
.world[data-theme="neon"] .tile:not(.locked) { color: #2a1d7a; }

.world-head { display: flex; align-items: center; gap: 12px; margin: 0 4px 14px; }
.world-num { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 24px; color: var(--ink-w);
  background: var(--tile); box-shadow: inset 0 2px 0 #fff, 0 3px 0 var(--tile-edge), 0 5px 8px rgba(0,0,0,.18); }
.world[data-theme="neon"] .world-num { color: #2a1d7a; }
.world-name { flex: 1; min-width: 0; font-size: 26px; font-weight: 800; line-height: 1; text-shadow: 0 1px 0 rgba(255,255,255,.35); }
.world-name small { display: block; font-size: 15px; font-weight: 800; margin-top: 2px; opacity: .85; }
.world .pill { background: var(--pill); font-size: 19px; padding: 6px 16px 6px 12px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { container-type: inline-size; position: relative; aspect-ratio: 1 / .98; border-radius: 22px; background: var(--tile); color: var(--ink-w);
  font-weight: 800; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  border: 2px solid rgba(255,255,255,.85);
  box-shadow: inset 0 3px 0 rgba(255,255,255,.9), inset 0 -4px 0 rgba(0,0,0,.05), 0 5px 0 var(--tile-edge), 0 9px 12px rgba(0,0,0,.22); }
.tile::after { content: ''; position: absolute; left: 10%; right: 10%; top: 5%; height: 34%; border-radius: 16px 16px 40% 40%;
  background: linear-gradient(rgba(255,255,255,.45), rgba(255,255,255,0)); pointer-events: none; }
.tile:active { transform: translateY(3px); box-shadow: inset 0 3px 0 rgba(255,255,255,.9), 0 2px 0 var(--tile-edge); }
.tile .num { font-size: 40cqw; line-height: 1; text-shadow: 0 2px 0 rgba(255,255,255,.7); }
.tile .stars { display: flex; gap: 0; font-size: 25cqw; color: var(--star-off); margin-top: 2px; }
.tile .stars > span { filter: drop-shadow(0 1px 0 rgba(0,0,0,.18)); }
.tile .stars .on { color: var(--star); filter: drop-shadow(0 1px 0 #b87500); }
.tile.current { background: linear-gradient(#ffffff, #eef8ff 70%, #dcecf8); box-shadow: inset 0 3px 0 #fff, 0 5px 0 var(--tile-edge), 0 0 0 3px rgba(255,255,255,.7), 0 0 22px rgba(255,255,220,.85), 0 9px 12px rgba(0,0,0,.22);
  animation: pulse 1.4s ease-in-out infinite; }
.tile .sparkle { position: absolute; right: 7%; top: 5%; font-size: 20cqw; animation: twinkle 1.2s ease-in-out infinite; }
.tile.boss { background: linear-gradient(#ffb0c0, #f26a88 55%, #de4b6d); border-color: rgba(255,220,228,.9);
  box-shadow: inset 0 3px 0 rgba(255,255,255,.55), inset 0 0 0 4px rgba(255,255,255,.12), 0 5px 0 #a8304e, 0 9px 12px rgba(0,0,0,.25); }
.tile.boss::after { opacity: .5; }
.tile.boss .crown { font-size: 42cqw; line-height: 1; filter: drop-shadow(0 3px 2px rgba(80,0,20,.35)); }
.tile.boss .stars { margin-top: 2px; } .tile.boss .stars > span:not(.on) { color: #b83a5a; }
.tile.locked { background: var(--tile-lock); border: 2px solid rgba(255,255,255,.12); cursor: default;
  box-shadow: inset 0 3px 8px rgba(0,0,0,.22), inset 0 -2px 0 rgba(255,255,255,.08), 0 2px 0 rgba(255,255,255,.12); }
.tile.locked::after { display: none; }
.tile.locked:active { transform: none; }
.tile .padlock { font-size: 44cqw; line-height: 0; filter: drop-shadow(0 4px 3px rgba(0,0,0,.35)); }
.tile.locked .crown { font-size: 40cqw; line-height: 0; color: var(--lock-line); }

.world.locked-world .grid { filter: saturate(.7); opacity: .75; }
.world-lock { position: absolute; inset: 0; border-radius: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: rgba(10,25,40,.25); font-weight: 800; font-size: 16px; text-align: center; padding: 20px; color: #fff; }
.world-lock > div:last-child { background: rgba(10,25,40,.75); border-radius: 18px; padding: 6px 14px; line-height: 1.3; box-shadow: 0 4px 10px rgba(0,0,0,.3); }
.world-lock .big { font-size: 52px; line-height: 0; filter: drop-shadow(0 6px 6px rgba(0,0,0,.4)); }
@keyframes pulse { 50% { transform: scale(1.05); } }
@keyframes twinkle { 50% { transform: scale(.6) rotate(20deg); opacity: .6; } }

/* ---- Juego ---- */
#screen-game { background: #1b4536; }
#game { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; display: block; }
#hud-top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 10px;
  padding: calc(8px + var(--safe-top)) 12px 8px; pointer-events: none; }
#hud-top > * { pointer-events: auto; }
.hud-info { flex: 1; min-width: 0; text-align: center; color: #fff; background: rgba(10,40,26,.7); box-shadow: inset 0 2px 4px rgba(0,0,0,.25); border-radius: 16px; padding: 4px 10px; }
#hud-name { font-weight: 800; font-size: 19px; line-height: 1.1; }
#hud-goal { font-size: 14px; font-weight: 600; opacity: .95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#hud-bottom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px;
  padding: 8px 12px calc(12px + var(--safe-bottom)); pointer-events: none; }
#hud-bottom > * { pointer-events: auto; }
#shots { font-size: 20px; gap: 5px; padding: 8px 14px; color: #4fc3ff; background: rgba(10,30,20,.6); }
#shots .used { color: rgba(255,255,255,.3); }
#powers { flex: 1; display: flex; gap: 8px; justify-content: flex-end; overflow-x: auto; scrollbar-width: none; }
.power { display: flex; align-items: center; gap: 6px; height: 50px; padding: 0 12px 0 8px; border-radius: 16px; background: linear-gradient(#f6eedd, #ddcba8); color: var(--pc);
  font-weight: 800; font-size: 15px; box-shadow: inset 0 2px 0 rgba(255,255,255,.8), 0 4px 0 #a88d62, 0 7px 10px rgba(0,0,0,.3); flex: none; }
.power .pi { width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; color: #fff; background: var(--pc); }
.power .pn { color: #5c4427; }
.power.armed { background: var(--pc); transform: translateY(-4px); box-shadow: 0 8px 0 rgba(0,0,0,.25), 0 0 0 3px #fff; }
.power.armed .pn { color: #fff; } .power.armed .pi { background: rgba(255,255,255,.3); }
.power:disabled { opacity: .5; }
#toast { position: absolute; left: 16px; right: 16px; bottom: calc(86px + var(--safe-bottom)); margin: 0 auto; max-width: 440px;
  background: rgba(255,255,255,.96); color: var(--ink); padding: 14px 18px; border-radius: 18px; font-weight: 700; font-size: 19px; line-height: 1.3; text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); pointer-events: none; animation: pop .35s cubic-bezier(.3,1.6,.5,1); }
#toast.warn { background: #ffe066; }

.overlay { position: absolute; inset: 0; background: rgba(15,15,50,.55); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 5; }
.card { background: var(--card); color: var(--ink); border-radius: 28px; padding: 22px 18px; width: 100%; max-width: 380px; text-align: center;
  animation: pop .35s cubic-bezier(.3,1.6,.5,1); box-shadow: 0 12px 0 rgba(0,0,0,.15); }
.card h2 { margin: 0 0 4px; font-size: 34px; font-weight: 800; line-height: 1.1; }
#res-stars { display: flex; justify-content: center; gap: 6px; font-size: 58px; margin: 4px 0; }
#res-stars span { color: #dfe1f0; display: inline-flex; }
#res-stars span.on { color: var(--star); animation: pop .45s cubic-bezier(.3,1.8,.5,1) both; filter: drop-shadow(0 3px 0 #d39b00); }
#res-stars span.on:nth-child(2) { animation-delay: .25s; } #res-stars span.on:nth-child(3) { animation-delay: .5s; }
#res-reason { margin: 4px 0 8px; font-weight: 700; font-size: 17px; opacity: .8; }
#res-checks { list-style: none; padding: 0; margin: 0 0 14px; text-align: left; font-size: 15px; font-weight: 600; }
#res-checks li { display: flex; align-items: center; gap: 8px; padding: 3px 8px; }
#res-checks li b { width: 22px; height: 22px; border-radius: 8px; display: grid; place-items: center; font-size: 14px; color: #fff; background: #c9ccdf; flex: none; }
#res-checks li.ok b { background: var(--go); }
.card .row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.card .row .btn { flex: 1; min-width: 96px; padding: 0 10px; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }

/* ---- Ajustes ---- */
#settings .card, #pause .card { display: flex; flex-direction: column; gap: 10px; }
.set-row { display: flex; align-items: center; justify-content: space-between; font-size: 19px; font-weight: 700; padding: 4px 6px; }
.toggle { width: 64px; height: 36px; border-radius: 18px; background: #c9ccdf; position: relative; transition: background .15s; }
.toggle::after { content: ''; position: absolute; top: 4px; left: 4px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.25); transition: left .15s; }
.toggle.on { background: var(--go); }
.toggle.on::after { left: 32px; }
.seg { display: flex; background: #e8e9f7; border-radius: 14px; padding: 3px; }
.seg button { padding: 6px 14px; border-radius: 11px; font-weight: 800; color: var(--ink); background: transparent; }
.seg button.on { background: #fff; box-shadow: 0 2px 0 rgba(0,0,0,.12); }

/* ---- Revisión (oculta, ?revision) ---- */
#screen-review { overflow-y: auto; background: #1b4536; padding: calc(12px + var(--safe-top)) 12px calc(24px + var(--safe-bottom)); }
.rv-head { font-size: 18px; margin: 0 4px 12px; }
.rv-msg { opacity: .8; text-align: center; }
.rv-err { color: #ffb3b3; font-weight: 700; font-size: 14px; margin-top: 6px; }
.rv-row { background: #f6fdf7; color: #163d26; border-radius: 18px; padding: 12px; margin-bottom: 12px; box-shadow: 0 4px 0 #8dbb99; }
.rv-top { display: flex; align-items: center; gap: 10px; }
.rv-id { font-weight: 800; font-size: 20px; min-width: 46px; }
.rv-name { flex: 1; font-weight: 800; font-size: 17px; line-height: 1.1; }
.rv-info { font-size: 14px; opacity: .75; margin: 4px 0 8px; }
.rv-row textarea { width: 100%; min-height: 54px; border-radius: 12px; border: 2px solid #cfe6d6; padding: 8px; font: inherit; font-size: 15px; resize: vertical; user-select: text; -webkit-user-select: text; }
.rv-actions { display: flex; gap: 8px; margin-top: 8px; }
.rv-actions .btn { flex: 1; padding: 0 6px; }
.rv-actions [data-a="ok"] { color: #1f7a3e; } .rv-actions [data-a="delete"] { color: #b3263c; }

.world-lock .i-star { font-size: 16px; display: inline-block; vertical-align: -2px; }

/* Estadísticas */
#stats .card { display: flex; flex-direction: column; gap: 10px; max-height: calc(100% - 20px); width: min(440px, 100%); }
.stats-body { overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding-right: 2px; }
.stat-card { background: rgba(80,60,160,.08); border-radius: 16px; padding: 8px 12px; }
.stat-card h3 { margin: 2px 0 6px; font-size: 17px; font-weight: 800; opacity: .75; text-transform: uppercase; letter-spacing: .04em; }
.stat-row { display: flex; justify-content: space-between; gap: 12px; font-size: 17px; font-weight: 700; padding: 3px 0; }
.stat-row b { font-variant-numeric: tabular-nums; }

/* ---- Final del juego ---- */
.end-msg { position: relative; text-align: center; color: #0b3d5c; max-width: 340px; }
.end-msg h2 { margin: 0 0 8px; font-size: 32px; line-height: 1.1; font-weight: 800; text-shadow: 0 2px 0 rgba(255,255,255,.6); }
.end-msg p { margin: 0 0 14px; font-size: 19px; font-weight: 700; line-height: 1.25; }
#end-stars { font-size: 24px; }
#end-stars .i-star { font-size: 26px; }
#end-stats { min-height: 52px; }
.more-soon { margin: -4px 8px 28px; padding: 14px; text-align: center; font-weight: 800; font-size: 20px; color: #0b3d5c; border-radius: 20px; background: rgba(255,255,255,.4); border: 2px dashed rgba(11,61,92,.35); }

/* ---- Contacto ---- */
#contact .card { display: flex; flex-direction: column; gap: 10px; text-align: left; max-height: calc(100% - 20px); overflow-y: auto; }
#contact h2 { text-align: center; font-size: 30px; }
.c-field { display: block; }
.c-field > span { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 800; opacity: .75; text-transform: uppercase; letter-spacing: .03em; }
.c-field select, .c-field textarea, .c-field input { display: block; width: 100%; padding: 9px 12px; font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); background: #f3f1fb; border: 2px solid #d8d4ee; border-radius: 14px; outline: none; user-select: text; -webkit-user-select: text; }
.c-field select:focus, .c-field textarea:focus, .c-field input:focus { border-color: #ffbf33; }
.c-field textarea { resize: vertical; min-height: 110px; }
.c-field small { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; opacity: .65; line-height: 1.2; }
.c-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.c-status { min-height: 1.3em; margin: 0; font-size: 16px; font-weight: 700; text-align: center; }
.c-status.bad { color: #b3263c; }
