/* Puntos y recortables — estilos propios (pastel, botones grandes). Se carga DESPUÉS de css/app.css. */
html, body.imp { height: auto; overflow: visible; }
body.imp { background: #FFF9EC; color: #3a3428; overflow-y: auto; -webkit-overflow-scrolling: touch; min-height: 100%;
  font-family: "Baloo 2", "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif; }
.i-wrap { max-width: 1240px; margin: 0 auto; padding: calc(1rem + env(safe-area-inset-top)) max(1.2rem, env(safe-area-inset-right)) calc(1.6rem + env(safe-area-inset-bottom)) max(1.2rem, env(safe-area-inset-left)); }
.i-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.i-head .home-back { margin: 0; }
.i-title { flex: 1 1 320px; }
.i-title h1 { margin: 0; font-size: 2.3rem; color: #5a4520; line-height: 1.1; }
.i-sub { margin: 0.15rem 0 0; font-size: 1.15rem; color: #8a7350; }
.i-sub span { color: #FF8FA3; }
.i-ex { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.i-exbtn { font: inherit; text-align: left; display: grid; grid-template-columns: 120px 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center; cursor: pointer;
  border: 3px solid rgba(255,255,255,0.95); border-radius: 26px; padding: 0.8rem 1.1rem; color: #3a3428; box-shadow: 0 6px 18px rgba(120,100,60,0.12); }
.i-exbtn svg { grid-row: 1 / span 2; width: 120px; height: 70px; }
.i-exname { font-size: 1.6rem; font-weight: 800; }
.i-exinfo { font-size: 1rem; color: #5b5546; line-height: 1.2; }
.i-exbtn[aria-selected="true"] { border-color: #5a4520; box-shadow: 0 8px 22px rgba(90,69,32,0.25); transform: translateY(-2px); }
.i-exbtn:active, .i-lv:active, .i-btn:active, .i-card .i-th:active { transform: scale(0.97); }
.c-lemon { background: linear-gradient(160deg, #FFF6D6, #FFEBB0); } .c-sky { background: linear-gradient(160deg, #E3F1FF, #CFE6FB); }
.i-levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; margin-bottom: 0.9rem; }
.i-lv { font: inherit; display: flex; flex-direction: column; align-items: center; gap: 0.1rem; padding: 0.65rem 0.4rem; border-radius: 20px; border: 3px solid transparent; cursor: pointer; color: #2f3b38; }
.i-lv b { font-size: 1.35rem; } .i-lv small { font-size: 0.9rem; color: #555; line-height: 1.15; text-align: center; }
.i-lv.facil { background: #C9F0E1; } .i-lv.medio { background: #CFE6FA; } .i-lv.dificil { background: #E3D7F5; } .i-lv.experto { background: #FFDCC8; }
.i-lv[aria-checked="true"] { border-color: #5a4520; box-shadow: 0 6px 16px rgba(90,69,32,0.22); transform: translateY(-2px); }
.i-tools { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin-bottom: 0.4rem; }
.i-opt { display: flex; align-items: center; gap: 0.5rem; font-size: 1.15rem; font-weight: 700; background: #fff; border-radius: 99px; padding: 0.6rem 1.1rem; border: 2px solid #eadcbc; cursor: pointer; }
.i-opt input { width: 1.5rem; height: 1.5rem; accent-color: #5a4520; }
.i-btn { font: inherit; font-size: 1.15rem; font-weight: 800; min-height: 3.2rem; padding: 0.6rem 1.2rem; border-radius: 18px; border: 3px solid #5a4520; background: #fff; color: #5a4520; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; }
.i-btn.gen { background: #FFE9A8; border-color: #c99a2e; color: #6b4b10; }
.i-btn.big { background: #5a4520; color: #fff; font-size: 1.3rem; }
.i-btn.small { min-height: 3rem; width: 3.2rem; padding: 0; font-size: 1.8rem; }
.i-btn[hidden], .i-opt[hidden] { display: none !important; }
.i-help { margin: 0.3rem 0 0.9rem; font-size: 1.05rem; color: #6d5f43; }
.i-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.i-card { background: #fff; border-radius: 22px; padding: 0.7rem 0.7rem 0.8rem; box-shadow: 0 5px 16px rgba(120,100,60,0.12); display: flex; flex-direction: column; gap: 0.35rem; position: relative; }
.i-card.new { box-shadow: 0 0 0 3px #FFD27A, 0 5px 16px rgba(120,100,60,0.12); }
.i-th { display: flex; align-items: center; justify-content: center; height: 270px; background: #f6f2ea; border-radius: 14px; cursor: pointer; overflow: hidden; border: none; padding: 6px; width: 100%; }
.i-th svg { max-width: 100%; max-height: 100%; width: auto; height: 100%; box-shadow: 0 1px 4px rgba(0,0,0,0.18); background: #fff; }
.i-th.land svg { width: 100%; height: auto; }
.i-th .i-wait { color: #a99a7a; font-size: 1rem; }
.i-name { font-size: 1.2rem; font-weight: 800; line-height: 1.15; }
.i-meta { font-size: 0.92rem; color: #7a6e58; line-height: 1.2; }
.i-badge { position: absolute; top: 0.9rem; right: 0.9rem; background: #fff; border-radius: 99px; padding: 0.15rem 0.6rem; font-size: 0.85rem; font-weight: 800; color: #1a7a3a; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.i-badge.nuevo { color: #8a5a00; left: 0.9rem; right: auto; }
.i-card .i-btn { margin-top: auto; }
.i-foot { margin-top: 1.3rem; font-size: 0.98rem; color: #7a6e58; }
.i-modal { position: fixed; inset: 0; background: rgba(40,32,18,0.45); display: flex; align-items: center; justify-content: center; z-index: 50; padding: calc(0.6rem + env(safe-area-inset-top)) 0.6rem calc(0.6rem + env(safe-area-inset-bottom)); }
.i-modal[hidden] { display: none; }
.i-vbox { background: #FFF9EC; border-radius: 26px; width: min(1180px, 100%); max-height: 100%; display: flex; flex-direction: column; padding: 0.9rem; gap: 0.7rem; }
.i-vhead { display: flex; align-items: center; gap: 0.7rem; }
.i-vt { flex: 1; text-align: center; } .i-vt h2 { margin: 0; font-size: 1.5rem; } .i-vt p { margin: 0; color: #7a6e58; }
.i-vpages { flex: 1 1 auto; min-height: 0; overflow: auto; display: flex; gap: 0.8rem; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.i-vpages svg { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.2); height: min(68vh, 760px); width: auto; max-width: 100%; }
.i-vpages svg.land { width: min(100%, 96vh); height: auto; }
.i-vrow { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.i-pbox { background: #fff; border-radius: 24px; padding: 1.3rem 1.4rem; max-width: 560px; width: 100%; text-align: center; }
.i-pbox h2 { margin: 0 0 0.4rem; } .i-pbox p { margin: 0 0 1rem; font-size: 1.1rem; color: #5b5546; }
@media (max-width: 760px) { .i-ex { grid-template-columns: 1fr; } .i-levels { grid-template-columns: repeat(2, 1fr); } .i-th { height: 220px; } }
