/* =========================================================
   Prueba final · Google for Education Plus (Academia OTI)
   Estilo «Formulario de Google»: encabezado con la franja de
   cuatro colores, tarjetas blancas sobre fondo lila claro,
   secciones por módulo y alternativas tipo radio.
   Todo va con prefijo otigfe- para no chocar con el tema.
   ========================================================= */
.otigfe {
  --g-blue: #1A73E8; --g-red: #D93025; --g-yellow: #F9AB00; --g-green: #188038; --g-orange: #E37400;
  --g-ink: #202124; --g-txt: #3C4043; --g-mut: #5F6368; --g-line: #DADCE0; --g-soft: #F1F3F4; --g-bg: #F0EBF8;
  --g-ok: #137333; --g-ok-s: #E6F4EA; --g-bad: #C5221F; --g-bad-s: #FCE8E6; --g-sel: #E8F0FE;
  --g-sans: "Google Sans Flex", "Google Sans", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --g-mono: "Roboto Mono", ui-monospace, Consolas, monospace;
  --c: #1A73E8;
  max-width: 1080px; margin: 0 auto; container-type: inline-size; container-name: otigfe;
  color: var(--g-txt); font: 400 16px/1.6 var(--g-sans); text-align: left;
}
.otigfe *, .otigfe *::before, .otigfe *::after { box-sizing: border-box; }
.otigfe p { margin: 0; }
.otigfe a { color: var(--g-blue); text-decoration: none; }
.otigfe h2, .otigfe h3, .otigfe h4 { margin: 0; color: var(--g-ink) !important; font-family: var(--g-sans) !important; letter-spacing: -.005em; line-height: 1.25; text-transform: none; }
.otigfe button, .otigfe input, .otigfe select { font-family: var(--g-sans) !important; font-size: 15px; letter-spacing: 0; text-transform: none; line-height: 1.4; }
.otigfe button { cursor: pointer; border: 0; background: none; color: inherit; padding: 0; margin: 0; border-radius: 0; box-shadow: none; white-space: normal !important; height: auto; min-height: 0; max-width: 100%; text-align: left; word-break: normal; overflow-wrap: anywhere; }
.otigfe button:hover, .otigfe button:focus { background: none; color: inherit; }
.otigfe button:disabled { cursor: default; opacity: .45; }
.otigfe button:focus-visible, .otigfe a:focus-visible, .otigfe input:focus-visible, .otigfe select:focus-visible { outline: 2px solid var(--g-blue); outline-offset: 2px; }
.otigfe [hidden] { display: none !important; }
.otigfe svg:not(.otia-badge) { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.otigfe mark { background: #FEEFC3; color: var(--g-ink); padding: 0 3px; border-radius: 3px; }

/* ---------- ventana ---------- */
.otigfe-win { position: relative; background: var(--g-bg); border: 1px solid var(--g-line); border-radius: 24px; box-shadow: 0 24px 60px -36px rgba(32,33,36,.45); overflow: hidden; }
.otigfe-top { display: flex; align-items: center; gap: 12px; padding: 12px 20px; background: #fff; border-bottom: 1px solid var(--g-line); }
.otigfe-app-ic { width: 34px; height: 34px; border-radius: 10px; background: #7248B9; color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.otigfe-app-ic svg { width: 20px; height: 20px; }
.otigfe-ttl { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.otigfe-ttl b { font-size: 15px; color: var(--g-ink); font-weight: 600; }
.otigfe-ttl small { font-size: 12.5px; color: var(--g-mut); }
.otigfe-sp { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.otigfe-timer { display: inline-flex; align-items: center; gap: 6px; font-family: var(--g-mono); font-size: 14px; color: var(--g-ink); background: var(--g-soft); padding: 6px 12px; border-radius: 30px; }
.otigfe-timer svg { width: 16px; height: 16px; }
.otigfe-timer.warn { color: #fff; background: var(--g-red); }
.otigfe-pbar { height: 6px; background: #E3DAF3; position: relative; }
.otigfe-pbar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #4285F4, #34A853 40%, #FBBC04 70%, #EA4335); transition: width .4s ease; border-radius: 0 3px 3px 0; }
.otigfe-cols { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; padding: 22px; min-height: 520px; }
.otigfe-cols.solo { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin: 0 auto; }
.otigfe-cols > * { min-width: 0; }
.otigfe-main { display: flex; flex-direction: column; gap: 14px; animation: otigfeIn .3s ease both; }
@keyframes otigfeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- tarjetas tipo Formularios ---------- */
.otigfe-card { position: relative; background: #fff; border: 1px solid var(--g-line); border-radius: 12px; padding: 22px 24px; }
.otigfe-card.head { padding-top: 30px; overflow: hidden; }
.otigfe-stripe { position: absolute; left: 0; right: 0; top: 0; height: 10px; display: flex; }
.otigfe-stripe i { flex: 1; }
.otigfe-stripe i:nth-child(1) { background: #4285F4; } .otigfe-stripe i:nth-child(2) { background: #EA4335; }
.otigfe-stripe i:nth-child(3) { background: #FBBC04; } .otigfe-stripe i:nth-child(4) { background: #34A853; }
.otigfe-card.head h2 { font-size: clamp(24px, 3.4cqi, 32px); font-weight: 500; }
.otigfe-desc { margin-top: 10px !important; color: var(--g-txt); font-size: 15.5px; max-width: 70ch; }
.otigfe-meta { margin-top: 10px !important; color: var(--g-mut); font-size: 13.5px; }
.otigfe-h3 { font-size: 19px; font-weight: 500; margin-bottom: 14px !important; }
.otigfe-h4 { font-size: 15px; font-weight: 600; margin: 20px 0 10px !important; }
.otigfe-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.otigfe-chip { font-size: 13px; padding: 5px 12px; border-radius: 8px; border: 1px solid var(--g-line); color: var(--g-txt); background: #fff; }
.otigfe-chip.k { background: var(--g-sel); border-color: transparent; color: #174EA6; font-weight: 600; }
.otigfe-levels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.otigfe-lv { border-radius: 12px; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; }
.otigfe-lv span { font-weight: 600; color: var(--g-ink); }
.otigfe-lv b { grid-row: span 2; font-size: 28px; font-weight: 600; }
.otigfe-lv small { color: var(--g-mut); font-size: 12.5px; line-height: 1.35; }
.otigfe-lv.b { background: #E8F0FE; } .otigfe-lv.b b { color: var(--g-blue); }
.otigfe-lv.a { background: #E6F4EA; } .otigfe-lv.a b { color: var(--g-green); }
.otigfe-mods { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.otigfe-mods li { border: 1px solid var(--g-line); border-left: 6px solid var(--c); border-radius: 10px; padding: 10px 14px; display: grid; gap: 1px; }
.otigfe-mods b { color: var(--g-ink); font-weight: 600; }
.otigfe-mods span { font-size: 13px; color: var(--g-mut); }
.otigfe-mods em { font-style: normal; font-size: 12px; color: var(--c); font-weight: 600; }

/* ---------- formulario de registro ---------- */
.otigfe-req { color: var(--g-red); font-size: 13.5px; margin-bottom: 12px !important; }
.otigfe-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.otigfe-grid2 .wide { grid-column: 1 / -1; }
.otigfe-form label > span { display: block; font-size: 14px; color: var(--g-ink); font-weight: 500; margin-bottom: 4px; }
.otigfe-form label em { color: var(--g-mut); font-style: normal; font-weight: 400; }
.otigfe-form input:not([type=checkbox]), .otigfe-form select { width: 100%; border: 0; border-bottom: 1px solid var(--g-line); border-radius: 0; padding: 9px 2px; background: transparent; color: var(--g-ink); box-shadow: none; height: auto; transition: border-color .2s; }
.otigfe-form input:not([type=checkbox]):focus, .otigfe-form select:focus { outline: none; border-bottom: 2px solid #7248B9; padding-bottom: 8px; }
.otigfe-form input[readonly] { color: var(--g-mut); }
.otigfe-hp { position: absolute !important; left: -9999px !important; }
.otigfe-consent { display: flex !important; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: var(--g-txt); }
.otigfe-consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: #7248B9; flex: none; }
.otigfe-error { min-height: 22px; color: var(--g-bad); font-size: 14px; font-weight: 500; margin: 12px 0 4px; }
.otigfe-error.shake { animation: otigfeShake .4s; }
@keyframes otigfeShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.otigfe-resume { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: #FEF7E0; border-color: #FDE293; }

/* ---------- botones ---------- */
.otigfe .otigfe-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #7248B9; color: #fff !important; font-weight: 600; font-size: 14.5px; padding: 10px 22px; border-radius: 8px; white-space: nowrap !important; transition: background .2s, box-shadow .2s; text-decoration: none; }
.otigfe .otigfe-btn:hover { background: #5E35A7; box-shadow: 0 1px 3px rgba(60,64,67,.3); color: #fff !important; }
.otigfe .otigfe-btn.ghost { background: #fff; color: #7248B9 !important; border: 1px solid var(--g-line); }
.otigfe .otigfe-btn.ghost:hover { background: #F6F2FC; }
.otigfe .otigfe-btn.sm { padding: 7px 12px; font-size: 13px; }
.otigfe .otigfe-btn.sm svg { width: 16px; height: 16px; }
.otigfe .otigfe-btn.li { background: #0A66C2; } .otigfe .otigfe-btn.li:hover { background: #004182; }
.otigfe .otigfe-link { color: #7248B9; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.otigfe .otigfe-link:hover { text-decoration: underline; }
.otigfe-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; }
.otigfe-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- panel de secciones ---------- */
.otigfe-side { background: #fff; border: 1px solid var(--g-line); border-radius: 12px; padding: 16px 12px; align-self: start; position: sticky; top: 90px; }
.otigfe-sh { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--g-mut); font-weight: 600; margin: 0 4px 10px !important; }
.otigfe-secs { display: grid; gap: 6px; }
.otigfe .otigfe-sec { display: flex; gap: 10px; align-items: flex-start; width: 100%; padding: 10px; border-radius: 10px; transition: background .2s; }
.otigfe .otigfe-sec:hover { background: var(--g-soft); }
.otigfe .otigfe-sec.cur { background: color-mix(in srgb, var(--c) 10%, #fff); }
.otigfe-secn { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--c); color: var(--c); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; flex: none; }
.otigfe-sec.done .otigfe-secn { background: var(--c); color: #fff; }
.otigfe-secn svg { width: 14px; height: 14px; stroke-width: 3; }
.otigfe-sec strong { display: block; font-size: 14px; color: var(--g-ink); font-weight: 600; line-height: 1.25; }
.otigfe-sec small { display: block; font-size: 12px; color: var(--g-mut); }
.otigfe-dots { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 6px; }
.otigfe-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--g-line); }
.otigfe-dots i.adv { border-radius: 2px; }
.otigfe-dots i.on { background: var(--c); }
.otigfe-dots i.cur { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--g-ink); }
.otigfe-legend { margin: 12px 4px 0 !important; font-size: 11.5px; color: var(--g-mut); display: flex; align-items: center; gap: 6px; }
.otigfe-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--g-mut); display: inline-block; }
.otigfe-legend i.adv { border-radius: 2px; margin-left: 8px; }

/* ---------- pregunta ---------- */
.otigfe-sechead { background: var(--c); color: #fff; border-radius: 12px 12px 0 0; padding: 10px 18px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: -14px; }
.otigfe-sechead span { font-size: 12.5px; opacity: .9; }
.otigfe-sechead b { font-size: 16px; font-weight: 600; }
.otigfe-sechead small { margin-left: auto; font-size: 12.5px; opacity: .9; }
.otigfe-card.q { border-radius: 0 0 12px 12px; border-left: 6px solid var(--c); }
.otigfe-qmeta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.otigfe-num { font-size: 22px; font-weight: 600; color: var(--c); line-height: 1; }
.otigfe-num small { font-size: 13px; color: var(--g-mut); font-weight: 400; }
.otigfe-tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: #E8F0FE; color: #174EA6; }
.otigfe-tag.adv { background: #E6F4EA; color: var(--g-ok); }
.otigfe-chap { font-size: 12.5px; color: var(--g-mut); }
.otigfe-pts { margin-left: auto; font-size: 12.5px; color: var(--g-mut); }
.otigfe-qtext { font-size: clamp(17px, 2.3cqi, 20px); font-weight: 500 !important; line-height: 1.45 !important; }
.otigfe-star { color: var(--g-red); }
.otigfe-opts { display: grid; gap: 8px; margin-top: 16px; }
.otigfe .otigfe-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid var(--g-line); border-radius: 10px; background: #fff; transition: background .15s, border-color .15s, transform .15s; }
.otigfe .otigfe-opt:hover { background: var(--g-soft); }
.otigfe .otigfe-opt.sel { background: var(--g-sel); border-color: #7248B9; }
.otigfe-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--g-mut); flex: none; position: relative; transition: border-color .15s; }
.otigfe-opt.sel .otigfe-radio { border-color: #7248B9; }
.otigfe-opt.sel .otigfe-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #7248B9; animation: otigfePop .2s ease; }
@keyframes otigfePop { from { transform: scale(0); } to { transform: scale(1); } }
.otigfe-key { font-family: var(--g-mono); font-size: 12px; color: var(--g-mut); width: 16px; flex: none; }
.otigfe-otext { color: var(--g-ink); font-size: 15.5px; line-height: 1.45; }
.otigfe-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.otigfe-hint { font-size: 12.5px; color: var(--g-mut); }
.otigfe-toast { position: absolute; left: 50%; bottom: 22px; transform: translate(-50%, 20px); opacity: 0; background: #323232; color: #fff; font-size: 14px; padding: 10px 18px; border-radius: 8px; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 5; }
.otigfe-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- preparación ---------- */
.otigfe-boot { display: flex; gap: 22px; align-items: center; padding: 10px 0; }
.otigfe-g { width: 56px; height: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; flex: none; }
.otigfe-g i { border-radius: 50%; animation: otigfeBounce 1s ease-in-out infinite; }
.otigfe-g i:nth-child(1) { background: #4285F4; } .otigfe-g i:nth-child(2) { background: #EA4335; animation-delay: .1s; }
.otigfe-g i:nth-child(3) { background: #FBBC04; animation-delay: .2s; } .otigfe-g i:nth-child(4) { background: #34A853; animation-delay: .3s; }
.otigfe-g.spin { animation: otigfeSpin 1.4s linear infinite; }
@keyframes otigfeBounce { 50% { transform: scale(.6); } }
@keyframes otigfeSpin { to { transform: rotate(360deg); } }
.otigfe-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.otigfe-log li { display: flex; gap: 8px; align-items: center; font-size: 15px; animation: otigfeIn .3s ease both; }
.otigfe-log li svg { color: var(--g-ok); width: 18px; height: 18px; }
.otigfe-log li.wait span::after { content: "…"; animation: otigfeDots 1.2s steps(3) infinite; }
.otigfe-log li.bad { color: var(--g-bad); font-weight: 500; }
@keyframes otigfeDots { from { opacity: .2; } to { opacity: 1; } }
.otigfe-shim { height: 14px; border-radius: 8px; margin-top: 16px; background: linear-gradient(90deg, var(--g-soft), #fff, var(--g-soft)); background-size: 200% 100%; animation: otigfeShim 1.2s linear infinite; }
@keyframes otigfeShim { to { background-position: -200% 0; } }

/* ---------- revisión ---------- */
.otigfe-review { display: grid; gap: 14px; margin-top: 18px; }
.otigfe-rg h4 { font-size: 14px; font-weight: 600; margin-bottom: 8px !important; display: flex; align-items: center; gap: 8px; }
.otigfe-rg h4::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
.otigfe-rg > div { display: flex; flex-wrap: wrap; gap: 6px; }
.otigfe .otigfe-dot { width: 40px; height: 34px; border-radius: 8px; border: 1px solid var(--g-line); font-family: var(--g-mono); font-size: 13px; display: flex; align-items: center; justify-content: center; color: var(--g-mut); }
.otigfe .otigfe-dot.on { background: var(--c); border-color: var(--c); color: #fff; }
.otigfe .otigfe-dot.adv { border-style: dashed; }
.otigfe .otigfe-dot:hover { box-shadow: 0 0 0 2px var(--c); }

/* ---------- resultado ---------- */
.otigfe-res { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; }
.otigfe-ring { --p: 0; --rc: #188038; width: 150px; height: 150px; border-radius: 50%; background: conic-gradient(var(--rc) calc(var(--p) * 1%), #E8EAED 0); display: flex; align-items: center; justify-content: center; }
.otigfe-ring > div { width: 118px; height: 118px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.otigfe-ring b { font-size: 34px; font-weight: 600; color: var(--g-ink); line-height: 1; }
.otigfe-ring span { font-size: 12px; color: var(--g-mut); margin-top: 4px; }
.otigfe-verdict h2 { font-size: clamp(24px, 3.4cqi, 30px); font-weight: 500; margin-top: 8px !important; }
.otigfe-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.otigfe-pill svg { width: 16px; height: 16px; stroke-width: 3; }
.otigfe-pill.ok { background: var(--g-ok-s); color: var(--g-ok); }
.otigfe-pill.no { background: #FEF7E0; color: #B06000; }
.otigfe-cats { display: grid; gap: 10px; }
.otigfe-crow { display: grid; grid-template-columns: 190px minmax(0, 1fr) 52px 90px; gap: 12px; align-items: center; font-size: 14.5px; }
.otigfe-crow strong { color: var(--g-ink); font-weight: 600; }
.otigfe-bar { height: 10px; border-radius: 6px; background: var(--g-soft); overflow: hidden; }
.otigfe-bar i { display: block; height: 100%; width: 0; background: var(--c); border-radius: 6px; transition: width 1s cubic-bezier(.2,.8,.2,1); }
.otigfe-crow .n { font-family: var(--g-mono); font-size: 13px; color: var(--g-mut); text-align: right; }
.otigfe-crow .r { font-size: 13px; font-weight: 600; text-align: right; }
.otigfe-crow .r.ok { color: var(--g-ok); }
.otigfe-rep { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.otigfe-rep a { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; gap: 0 10px; align-items: center; padding: 10px 14px; border: 1px solid var(--g-line); border-radius: 10px; color: var(--g-ink) !important; transition: border-color .2s, background .2s; }
.otigfe-rep a:hover { border-color: #7248B9; background: #F6F2FC; }
.otigfe-rep b { grid-row: span 2; font-size: 20px; color: #7248B9; font-weight: 600; }
.otigfe-rep span { font-size: 14px; font-weight: 500; line-height: 1.3; }
.otigfe-rep small { font-size: 12px; color: var(--g-mut); }
.otigfe-rw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.otigfe-rwc { border: 1px solid var(--g-line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.otigfe-rwc b { color: var(--g-ink); font-weight: 600; font-size: 15.5px; }
.otigfe-rwc p { font-size: 13.5px; color: var(--g-mut); flex: 1; }
.otigfe-rwi { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.otigfe-rwi svg { width: 28px; height: 28px; }
.otigfe-rwi.pdf { background: #FCE8E6; color: var(--g-red); }
.otigfe-rwi.in { background: #E8F0FE; color: #0A66C2; }
.otigfe-rwi.badge { width: auto; height: auto; }
.otigfe-rwi.badge svg, .otigfe-rwi.badge img { width: 72px; height: 72px; image-rendering: pixelated; }
.otigfe-sigprev { display: block; border: 1px dashed var(--g-line); border-radius: 8px; padding: 8px 10px; font-size: 12px; max-width: 100%; overflow-wrap: anywhere; }
.otigfe-sigprev img { image-rendering: pixelated; }
.otigfe-dl { font-size: 12.5px; color: var(--g-mut); }
.otigfe-dl a { font-weight: 600; }
.otigfe-note { margin-top: 14px !important; font-size: 13.5px; color: var(--g-mut); }
.otigfe-answers { display: grid; gap: 10px; }
.otigfe-card.ans { border-left: 6px solid var(--c); padding: 16px 20px; }
.otigfe-card.ans .h { font-size: 12.5px; color: var(--g-mut); }
.otigfe-card.ans .h b { color: var(--g-ink); }
.otigfe-card.ans .q { margin: 6px 0 8px !important; color: var(--g-ink); font-weight: 500; }
.otigfe-card.ans .y { color: var(--g-bad); background: var(--g-bad-s); padding: 6px 10px; border-radius: 8px; font-size: 14px; margin-bottom: 6px !important; }
.otigfe-card.ans .c { color: var(--g-ok); background: var(--g-ok-s); padding: 6px 10px; border-radius: 8px; font-size: 14px; }
.otigfe-card.ans .w { font-size: 13.5px; color: var(--g-txt); margin-top: 8px !important; }
.otigfe-card.ans.ok .h { color: var(--g-ok); }
.otigfe-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 6; }
.otigfe-confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: otigfeFall linear forwards; }
@keyframes otigfeFall { to { top: 105%; transform: rotate(540deg); } }

/* ---------- responsive ---------- */
@container otigfe (max-width: 820px) {
  .otigfe-cols { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .otigfe-side { position: static; order: 2; }
  .otigfe-rw { grid-template-columns: minmax(0, 1fr); }
  .otigfe-crow { grid-template-columns: 1fr 52px; }
  .otigfe-crow .otigfe-bar { grid-column: 1 / -1; grid-row: 2; }
  .otigfe-crow .r { grid-column: 1 / -1; text-align: left; }
}
@container otigfe (max-width: 600px) {
  .otigfe-card { padding: 18px 16px; }
  .otigfe-grid2, .otigfe-levels, .otigfe-mods, .otigfe-rep { grid-template-columns: minmax(0, 1fr); }
  .otigfe-res { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .otigfe-hint { display: none; }
  .otigfe-top { padding: 10px 14px; }
  .otigfe-ttl small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .otigfe *, .otigfe *::before, .otigfe *::after { animation: none !important; transition: none !important; }
}
