/* ChannelKids: plantilla base "estudio" para generadores (derivada de Sopa de Letras, 2026-11-15). Clases st-*. Ver .claude/skills/ck-generator-studio/reference/base-api.md (repo local) */
    :root {
        --st-accent: #0284c7;
        --st-accent-dark: #0369a1;
        --st-sky: #38bdf8;
        --st-pastel-blue: #e0f2fe;
        --st-pastel-sky: #f0f9ff;
        --st-pastel-mint: #dcfce7;
        --st-pastel-peach: #ffedd5;
        --st-pastel-lilac: #ede9fe;
        --st-border: #bae6fd;
    }
    .st-page {
        font-family: var(--ck-font-secondary);
        max-width: 760px;
        margin: 24px auto 44px;
        padding: 0 16px;
    }

    /* HEADER pastel ChannelKids */
    .st-header {
        background: linear-gradient(135deg, #858ef4 0%, #baa1f7 50%, #e3b4f8 100%);
        border-radius: 24px 24px 0 0;
        padding: 30px 34px 26px;
        color: #ffffff;
        box-shadow: 0 12px 28px rgba(2, 132, 199, 0.22);
        position: relative;
        overflow: hidden;
    }
    .st-header::after {
        content: '';
        position: absolute;
        right: -30px;
        bottom: -34px;
        width: 150px;
        height: 150px;
        background: radial-gradient(circle, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 70%);
        border-radius: 50%;
        pointer-events: none;
    }
    .st-header-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
    .st-header-icon {
        width: 46px; height: 46px; background: #ffffff; border-radius: 14px;
        display: flex; align-items: center; justify-content: center; font-size: 24px;
        box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
    }
    .st-ai-pill {
        display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, 0.25);
        padding: 4px 14px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.3px; color: #ffffff;
        backdrop-filter: blur(8px);
    }
    .st-header h1 { font-family: var(--ck-font-primary); font-size: 26px; font-weight: 900; margin: 8px 0 6px; letter-spacing: -0.3px; color: #ffffff; }
    .st-header p { margin: 0; font-size: 14px; opacity: 0.95; line-height: 1.5; color: #ffffff; max-width: 620px; }
    .st-feature-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
    .st-feature-chip { background: rgba(255, 255, 255, 0.2); color: #ffffff; font-size: 11.5px; font-weight: 700; padding: 5px 14px; border-radius: 50px; display: inline-flex; align-items: center; gap: 6px; }

    /* CARD */
    .st-card { background: #ffffff; border-radius: 0 0 24px 24px; box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.07); border: 2px solid #e0f2fe; border-top: none; padding: 34px 38px; }

    /* Guía pastel de 3 pasos */
    .st-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 26px; }
    .st-step { border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; line-height: 1.3; }
    .st-step i { font-size: 18px; flex-shrink: 0; }
    .st-step.s1 { background: var(--st-pastel-blue); color: #0369a1; border: 1.5px solid #bae6fd; }
    .st-step.s2 { background: var(--st-pastel-lilac); color: #6d28d9; border: 1.5px solid #ddd6fe; }
    .st-step.s3 { background: var(--st-pastel-mint); color: #15803d; border: 1.5px solid #bbf7d0; }

    .st-field { margin-bottom: 22px; }
    .st-label { display: block; font-family: var(--ck-font-primary); font-weight: 800; font-size: 14.5px; color: #0f172a; margin-bottom: 8px; }
    .st-label span { color: #0284c7; }
    .st-input, .st-select {
        width: 100%; padding: 13px 16px; border: 2px solid #e2e8f0; border-radius: 14px;
        font-size: 14.5px; font-family: inherit; background: #f8fafc; outline: none; box-sizing: border-box; transition: all 0.2s ease;
    }
    .st-input:focus, .st-select:focus { border-color: #38bdf8; background: #ffffff; box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15); }
    .st-hint { font-size: 12px; color: #64748b; margin-top: 6px; }

    .st-chips-wrapper { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
    .st-chips-label { font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; }
    .st-chips-list { display: flex; flex-wrap: wrap; gap: 8px; }
    .st-chip {
        background: #e0f2fe; border: 1.5px solid #bae6fd; border-radius: 50px; padding: 6px 14px;
        font-size: 12.5px; font-weight: 700; color: #0369a1; cursor: pointer; transition: all 0.15s ease;
    }
    .st-chip:nth-child(2) { background: var(--st-pastel-lilac); border-color: #ddd6fe; color: #6d28d9; }
    .st-chip:nth-child(3) { background: var(--st-pastel-mint); border-color: #bbf7d0; color: #15803d; }
    .st-chip:nth-child(4) { background: var(--st-pastel-peach); border-color: #fed7aa; color: #c2410c; }
    .st-chip:hover { transform: translateY(-1px); filter: brightness(0.97); }

    .st-cost-banner {
        background: #f0fdf4; border: 1.5px solid #bbf7d0; border-radius: 14px; padding: 12px 18px;
        display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 24px;
    }
    .st-cost-info { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #15803d; font-weight: 700; }
    .st-cost-badge { background: #22c55e; color: #ffffff; padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 800; }

    .st-recaptcha-box {
        margin: 4px 0 22px; padding: 16px 18px; background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
        border: 1.5px solid #bae6fd; border-radius: 16px; text-align: center;
    }
    .st-recaptcha-box strong { color: #0369a1; font-size: 13.5px; }
    .st-recaptcha-box p { margin: 4px 0 12px; color: #0284c7; font-size: 12.5px; font-weight: 500; }
    .st-recaptcha-widget { display: flex; justify-content: center; }

    .st-submit {
        width: 100%; padding: 16px; border: none; border-radius: 50px;
        background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
        color: #ffffff; font-family: var(--ck-font-primary); font-size: 16.5px; font-weight: 800; cursor: pointer;
        display: flex; align-items: center; justify-content: center; gap: 10px;
        box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35); transition: transform 0.2s, box-shadow 0.2s;
    }
    .st-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(2, 132, 199, 0.45); }
    .st-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

    .st-error { background: #ffe4e6; border: 1.5px solid #fecdd3; color: #be123c; padding: 12px 16px; border-radius: 14px; font-size: 13.5px; margin-bottom: 20px; font-weight: 600; }

    .st-ad-slot {
        background: #f8fafc; border: 1.5px dashed #cbd5e1; border-radius: 14px; padding: 12px 10px 8px;
        margin: 22px 0; text-align: center; width: 100%; min-height: 100px; box-sizing: border-box; overflow: hidden;
    }
    .st-ad-tag {
        display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px;
        color: #94a3b8; margin-bottom: 6px; background: #ffffff; padding: 2px 10px; border-radius: 20px; border: 1px solid #e2e8f0;
    }

    /* Modal de generación con IA */
    .st-modal-overlay {
        position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(15, 23, 42, 0.82);
        backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 9999999;
        display: flex; align-items: center; justify-content: center; padding: 20px;
        opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .st-modal-overlay.active { opacity: 1; visibility: visible; }
    .st-modal-box {
        background: #ffffff; border-radius: 24px; padding: 42px 34px 36px; max-width: 480px; width: 100%;
        text-align: center; box-shadow: 0 25px 60px rgba(0,0,0,0.4); transform: scale(0.9);
        transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
        border: 2px solid #bae6fd;
    }
    .st-modal-overlay.active .st-modal-box { transform: scale(1); }
    .st-modal-icon-wrap { position: relative; width: 90px; height: 90px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; }
    .st-modal-spinner {
        position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 4px solid #f0f9ff;
        border-top-color: #0284c7; animation: soSpin 1.1s linear infinite;
    }
    .st-modal-magic-icon { font-size: 36px; color: #0284c7; animation: soPulse 1.8s ease-in-out infinite; }
    @keyframes soSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
    @keyframes soPulse { 0%, 100% { transform: scale(0.92); opacity: 0.85; } 50% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 10px rgba(2, 132, 199, 0.7)); } }
    .st-modal-title { font-family: var(--ck-font-primary); font-size: 23px; font-weight: 800; color: #0f172a; margin: 0 0 8px; }
    .st-modal-subtitle { font-size: 14.5px; color: #0369a1; font-weight: 700; margin: 0 0 22px; min-height: 24px; transition: opacity 0.2s ease; }
    .st-modal-progress-bar { width: 100%; height: 8px; background: #f1f5f9; border-radius: 10px; overflow: hidden; margin-bottom: 22px; }
    .st-modal-progress-fill {
        height: 100%; width: 25%;
        background: linear-gradient(90deg, #0284c7, #38bdf8, #818cf8, #0284c7);
        background-size: 200% 100%; border-radius: 10px;
        animation: soProgressFill 3.5s ease-in-out infinite, soProgressShimmer 1.5s linear infinite;
    }
    @keyframes soProgressFill { 0% { width: 15%; } 50% { width: 85%; } 100% { width: 95%; } }
    @keyframes soProgressShimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
    .st-modal-tips {
        background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 14px 18px;
        font-size: 13px; color: #64748b; line-height: 1.5; display: flex; align-items: center; gap: 12px; text-align: left;
    }
    .st-modal-tips i { color: #0284c7; font-size: 20px; flex-shrink: 0; }

    @media (max-width: 640px) {
        .st-page { margin: 12px auto 28px; padding: 0 12px; }
        .st-header { padding: 22px 20px; }
        .st-header h1 { font-size: 22px; }
        .st-card { padding: 24px 18px; }
        .st-steps { grid-template-columns: 1fr; }
    }

    .st-textarea { width: 100%; padding: 13px 16px; border: 2px solid #e2e8f0; border-radius: 14px; font-size: 14.5px; font-family: inherit; background: #f8fafc; outline: none; box-sizing: border-box; transition: all 0.2s ease; resize: vertical; min-height: 110px; }
    .st-textarea:focus { border-color: #38bdf8; background: #ffffff; box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15); }
    .st-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    @media (max-width: 640px) { .st-grid-2 { grid-template-columns: 1fr; gap: 0; } }

/* Cintillo del generador = mismo color pastel que su galeria */
.st-header { color: #17315c; }
.st-header h1, .st-header h2, .st-header p, .st-header span, .st-header i, .st-header div { color: #17315c !important; }
    /* ===== Diseño unificado con el Generador de Hojas de Trabajo (cada tipo conserva su propio banner) ===== */
    :root { --st-accent:#0055ff; --st-accent-dark:#063acb; --st-accent-light:#5aa8ff; --st-accent-soft:#eaf4ff; --st-border:#dce6f4; --st-ink:#102450; --st-muted:#7d92b4; }
    /* Page background inherits the shared Kidsoo compact pattern. */
    body:has(.st-page) { background:transparent !important; }
    body:has(.st-page) .a2w_content_section { background:transparent; padding-bottom:0 !important; }
    body:has(.st-page) .a2w_footer_top { padding-bottom:0 !important; }
    body:has(.st-page) .a2w_footer_top > section[style] { padding-top:0 !important; }
    body:has(.st-page) .avcms-main { padding-top:0 !important; }
    .st-page { font-family:var(--ck-font-secondary); width:calc(100% - 24px); max-width:1180px; margin:0 auto; padding:12px 12px 24px; background:#fff; border-radius:28px; box-shadow:0 16px 50px #006fb133; overflow:hidden; color:#102450; }
    .st-page *, .st-modal-overlay * { box-sizing:border-box; }
    .st-page .st-header { position:relative; overflow:visible; height:360px; margin:-30px -30px 0; padding:50px 26px 14px; text-align:center; color:#102b65; border-radius:0; box-shadow:none; background-color:#9edfff; background-image:var(--st-banner); background-repeat:no-repeat; background-position:center 30%; background-size:cover; }
    .st-page .st-header::before, .st-page .st-header::after { display:none !important; content:none !important; }
    .st-page .st-breadcrumb { position:absolute; top:12px; left:12px; z-index:6; max-width:calc(100% - 24px); padding:6px 12px; border-radius:999px; background:#ffffffd9; color:#315282; font:700 11px/1.3 'Outfit',sans-serif; box-shadow:0 3px 8px #0a4a8a29; }
    .st-page .st-breadcrumb a { color:#0055ff; text-decoration:none; }
    .st-page .st-header h1 { position:relative; z-index:2; max-width:640px; margin:18px auto 10px; font-family:var(--ck-font-primary); font-size:var(--st-h1,39px); line-height:1.08; font-weight:900; letter-spacing:-1px; color:#102b65; text-shadow:0 3px 0 #fff,0 6px 0 #ffffff8c,0 9px 16px #0755ae3d; }
    .st-title-blue { color:#0055ff; } .st-title-pink { color:#ff0093; }
    .st-page .st-header p { position:relative; z-index:2; max-width:470px; margin:0 auto; padding:8px 14px; border:2px solid #fff; border-radius:16px; background:linear-gradient(135deg,#ffffffed,#e6f6ffed); box-shadow:0 7px 16px #126bb52e; color:#174b85; font-size:12.5px; line-height:1.5; font-weight:600; }
    .st-page .st-feature-row { position:absolute; z-index:3; left:30px; right:30px; bottom:18px; display:flex; justify-content:center; gap:18px; margin:0; }
    .st-page .st-feature-chip { display:inline-flex; justify-content:center; align-items:center; gap:10px; flex:1; max-width:340px; min-height:42px; padding:9px 10px; background:#fffffff5; border:0; border-radius:999px; color:#0049ff; font-family:var(--ck-font-primary); font-size:14px; font-weight:800; white-space:nowrap; box-shadow:0 2px 0 #fff inset, 0 4px 10px #2077aa28; }
    .st-page .st-feature-chip i { font-size:22px; }
    .st-page .st-feature-chip:nth-child(1) i { color:#ff168b; } .st-page .st-feature-chip:nth-child(2) i { color:#00bf9d; } .st-page .st-feature-chip:nth-child(3) i { color:#12cb36; } .st-page .st-feature-chip:nth-child(4) i { color:#ffad00; }
    .st-page .st-card { margin-top:10px; background:#fff; padding:25px 30px 20px; border-radius:27px; border:1px solid #e7eef8; box-shadow:0 8px 20px rgba(15,53,110,.08); }
    /* El estilo global de tarjetas de galeria (:is(.st-card)) no debe colorear ni levantar el formulario. */
    .st-page .st-card, .st-page .st-card:hover { background:#fff !important; border:1px solid #e7eef8 !important; border-radius:27px !important; box-shadow:0 8px 20px rgba(15,53,110,.08) !important; transform:none !important; overflow:visible; }
    @media (max-width:640px) { .st-page .st-card, .st-page .st-card:hover { border-radius:22px !important; } }
    .st-page .st-field { min-width:0; margin-bottom:20px; }
    .st-page .st-label { display:flex; align-items:center; gap:9px; margin-bottom:9px; font-family:var(--ck-font-primary); font-weight:700; font-size:14px; color:#102450; }
    .st-page .st-label-badge { display:inline-flex; align-items:center; justify-content:center; width:auto; height:auto; padding:0; border:0; border-radius:0; background:none; box-shadow:none; color:#006bff; }
    .st-page .st-label-badge i { font-size:21px; color:#006bff; filter:drop-shadow(0 2px 0 #c7ebff); }
    .st-page .st-field:nth-of-type(3n+2) .st-label-badge i { color:#f32b72; } .st-page .st-field:nth-of-type(3n) .st-label-badge i { color:#554dff; }
    .st-page .st-input, .st-page .st-select { width:100%; height:47px; padding:11px 16px; border:1px solid var(--st-border); border-radius:14px; font-family:inherit; font-size:13px; color:#102450; background:linear-gradient(135deg,#f9fbff,#f6f8fb); outline:none; box-shadow:none; transition:border-color .15s,box-shadow .15s; }
    .st-page .st-textarea { width:100%; padding:12px 16px; border:1px solid var(--st-border); border-radius:14px; font-family:inherit; font-size:13px; color:#102450; background:linear-gradient(135deg,#f9fbff,#f6f8fb); outline:none; box-shadow:none; }
    .st-page .st-input::placeholder, .st-page .st-textarea::placeholder { color:#9295a1; opacity:1; }
    .st-page .st-input:focus, .st-page .st-select:focus, .st-page .st-textarea:focus { border-color:#0055ff; box-shadow:0 0 0 3px #0055ff1a; background:#fff; }
    .st-page .st-hint, .st-page .st-field-hint { font-size:11px; line-height:1.5; color:#7d92b4; margin-top:5px; }
    .st-page .st-grid-2 { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; }
    .st-page .st-choice-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
    .st-page .st-choice { position:relative; display:flex; align-items:center; gap:12px; min-height:76px; padding:10px 14px; border:1px solid var(--st-border); border-radius:14px; background:#f8fafd; color:#7a89a3; box-shadow:none; transform:none; cursor:pointer; transition:.15s; }
    .st-page .st-choice:hover { border-color:#8fb4ff; background:#f3f8ff; box-shadow:none; transform:none; }
    .st-page .st-choice.is-selected, .st-page .st-choice:has(input:checked) { border:2px solid #0055ff; padding:9px 13px; background:linear-gradient(135deg,#e8f1ff,#edf8ff); box-shadow:none; }
    .st-page .st-choice-icon { color:#0055ff; background:#dbedff; }
    .st-page .st-choice-title { font-family:var(--ck-font-primary); font-size:16px; font-weight:700; color:#0048ff; }
    .st-page .st-choice-sub { color:#7d92b4; }
    .st-page .st-choice.is-selected .st-choice-check, .st-page .st-choice:has(input:checked) .st-choice-check { background:#0055ff; color:#fff; border-color:#0055ff; }
    .st-page .st-cost-banner { display:flex; align-items:center; justify-content:center; gap:12px; padding:10px 18px; margin:-8px 0 10px; border:0; border-radius:18px; background:linear-gradient(120deg,#e7f3ff,#edf3ff); }
    .st-page .st-cost-info { display:flex; align-items:center; flex-wrap:wrap; gap:10px; color:#0048ff; font-family:var(--ck-font-primary); font-size:14px; font-weight:700; }
    .st-page .st-cost-info i { color:#ffad00; font-size:24px; }
    .st-page .st-cost-badge { background:#0055ff; color:#fff; padding:7px 13px; border-radius:999px; font-size:13px; font-weight:700; }
    .st-page .st-submit { position:relative; width:100%; min-height:60px; padding:14px 55px; border:1px solid #55e5ff; border-radius:14px; background:#0055ff; color:#fff; font-family:var(--ck-font-primary); font-size:22px; font-weight:700; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:15px; box-shadow:none; filter:none; transition:transform .15s; }
    .st-page .st-submit i { color:#ffe328; font-size:26px; }
    .st-page .st-submit:hover:not(:disabled) { transform:translateY(-2px); filter:none; box-shadow:none; }
    .st-page .st-submit:disabled { opacity:.65; cursor:wait; }
    .st-page .st-error { display:none; padding:12px 16px; background:#fff1f2; border:1px solid #ffc5cd; border-radius:12px; color:#b91c1c; margin-bottom:20px; font-size:13px; }
    @media (max-width:640px) {
        .st-page { width:calc(100% - 16px); margin:0 auto; padding:7px; }
        .st-page .st-header { height:340px; margin:-7px -7px 0; padding:52px 14px 14px; background-color:#7fd0ff; background-image:var(--st-banner-m); background-size:100% auto; background-position:center bottom; }
        .st-page .st-header.st-fb { height:480px; background-color:#b6e7ff; background-size:100% auto; background-position:center bottom; }
        .st-page .st-header h1 { max-width:320px; margin-top:12px; font-size:calc(var(--st-h1,39px) * .68); line-height:1.06; }
        .st-page .st-header p { max-width:300px; margin-top:8px; padding:5px 9px; font-size:10.5px; line-height:1.35; }
        .st-page .st-feature-row { left:10px; right:10px; bottom:14px; gap:4px; }
        .st-page .st-feature-chip { flex-direction:column; white-space:normal; gap:3px; min-height:46px; padding:6px 3px; font-size:10px; line-height:1.1; border-radius:14px; }
        .st-page .st-feature-chip i { font-size:18px; }
        .st-page .st-card { margin-top:7px; padding:22px 18px 18px; border-radius:22px; }
        .st-page .st-grid-2, .st-page .st-choice-grid { grid-template-columns:1fr; gap:0; }
        .st-page .st-choice-grid { gap:10px; }
        .st-page .st-cost-banner { flex-wrap:wrap; padding:12px; }
        .st-page .st-cost-info { gap:7px; font-size:12px; }
        .st-page .st-submit { font-size:17px; gap:8px; padding:14px 18px; }
    }

    /* ===== Cabecera estilo mockup: tarjeta de nube centrada, chips debajo del texto, personajes libres a los lados ===== */
    .st-page .st-header { display:flex; align-items:center; justify-content:center; height:auto; min-height:320px; padding:46px 26px 22px; text-align:center; background-position:center 40%; }
    .st-page .st-hero { position:relative; z-index:3; width:100%; max-width:580px; margin:0 auto; padding:12px 20px 16px; border:2px solid #ffffffb8; border-radius:30px; background:rgba(255,255,255,.66); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); box-shadow:0 12px 30px #0b5fae38; }
    .st-page .st-hero .st-ai-pill { display:inline-flex; align-items:center; gap:8px; margin:0 0 8px; padding:7px 16px; border:2px solid #cfe6ff; border-radius:999px; background:#fff; color:#12407c; font:800 12.5px/1 'Outfit',sans-serif; box-shadow:0 3px 8px #0a4a8a24; }
    .st-page .st-hero .st-ai-pill i:first-child { color:#0055ff; } .st-page .st-hero .st-ai-pill i:last-child { color:#ff168b; }
    .st-page .st-hero h1 { max-width:none; margin:0 auto 8px; font-size:var(--st-h1,39px); line-height:1.1; letter-spacing:-.6px; color:#12307a; text-shadow:0 2px 0 #fff, 0 0 10px #ffffffa8; }
    .st-page .st-hero .st-title-blue { color:#0055ff; } .st-page .st-hero .st-title-pink { color:#ff0093; } .st-page .st-hero .st-title-navy { color:#12307a; }
    .st-page .st-hero p { max-width:520px; margin:0 auto; padding:0; border:0; border-radius:0; background:none; box-shadow:none; color:#1f4b8f; font-size:13.5px; line-height:1.5; font-weight:600; }
    .st-page .st-hero .st-feature-row { position:static; display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin:16px 0 0; }
    .st-page .st-hero .st-feature-chip { flex:1 1 auto; max-width:none; min-height:36px; padding:6px 10px; gap:6px; font-size:11.5px; white-space:nowrap; box-shadow:0 2px 0 #fff inset, 0 3px 8px #2077aa24; }
    .st-page .st-hero .st-feature-chip i { font-size:16px; }
    @media (max-width:640px) {
        .st-page .st-header, .st-page .st-header.st-fb { height:auto; min-height:560px; align-items:flex-start; padding:50px 8px 20px; background-color:#7fd0ff; background-size:100% auto; background-position:center bottom; }
        .st-page .st-hero { padding:12px 14px 14px; border-radius:24px; }
        .st-page .st-hero h1 { font-size:calc(var(--st-h1,39px) * .66); }
        .st-page .st-hero p { font-size:11.5px; max-width:none; }
        .st-page .st-hero .st-feature-row { gap:6px; margin-top:12px; }
        .st-page .st-hero .st-feature-chip { flex:1 1 44%; flex-direction:row; white-space:normal; min-height:34px; padding:6px 8px; font-size:10.5px; line-height:1.15; gap:5px; border-radius:999px; }
        .st-page .st-hero .st-feature-chip i { font-size:15px; }
    }

    /* Banner con margen interior y puntas redondas, igual que en las galerias. */
    .st-page .st-header { margin:0; border-radius:22px; overflow:hidden; }
    .st-page .st-card { margin:14px 18px 6px; }
    @media (max-width:640px) {
        .st-page { padding:7px 7px 24px; }
        .st-page .st-header, .st-page .st-header.st-fb { margin:0; border-radius:18px; }
        .st-page .st-card { margin:10px 0 4px; }
    }

    /* Separacion entre el encabezado del sitio, la pagina y el pie. */
    .st-page { margin:24px auto 64px !important; }
    @media (max-width:640px) { .st-page { margin:14px auto 56px !important; } }

    /* Movil: franja del banner arriba (imagen completa) y el titulo debajo, sin encimar. */
    @media (max-width:640px) {
        .st-page .st-header, .st-page .st-header.st-fb { display:block; min-height:0; height:auto; padding:56% 0 0; background-color:#fff; background-image:var(--st-banner-m); background-size:100% auto; background-position:center top; border-radius:18px; overflow:hidden; }
        .st-page .st-header.st-fb { background-size:cover; }
        .st-page .st-breadcrumb { display:none; }
        .st-page .st-hero { max-width:none; padding:14px 8px 6px; border:0; border-radius:0; background:none; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; }
        .st-page .st-hero h1 { font-size:calc(var(--st-h1,39px) * .62); margin-bottom:6px; text-shadow:none; }
        .st-page .st-hero .st-ai-pill { padding:6px 12px; font-size:11px; margin-bottom:6px; }
        .st-page .st-hero p { color:#315282; font-size:12px; }
        .st-page .st-hero .st-feature-row { gap:6px; margin-top:10px; }
        .st-page .st-hero .st-feature-chip { flex:1 1 auto; min-height:32px; padding:5px 10px; font-size:10.5px; background:#eef6ff; box-shadow:none; }
    }

    .st-page .st-grid-settings { margin: 4px 0 2px; gap: 18px; }
    .st-page .st-grid-settings .st-field { margin-bottom: 16px; }
    .st-page .st-grid-settings .st-select { cursor: pointer; }

/* ChannelKids standard typography scale */
.st-page.ck-typo { font-size: var(--ck-body-size); line-height: var(--ck-body-lh); }
.st-page.ck-typo .st-header h1, .st-page.ck-typo .st-hero h1 { font-size: var(--ck-h1-size) !important; line-height: var(--ck-h1-lh); font-weight: var(--ck-h1-weight); }
.st-page.ck-typo .st-header p, .st-page.ck-typo .st-hero p, .st-page.ck-typo .st-cost-info, .st-page.ck-typo .st-modal-subtitle, .st-page.ck-typo .st-modal-tips { font-size: var(--ck-body-size); line-height: var(--ck-body-lh); }
.st-page.ck-typo .st-label { font-size: var(--ck-label-size); line-height: var(--ck-label-lh); }
.st-page.ck-typo .st-input, .st-page.ck-typo .st-select, .st-page.ck-typo .st-textarea { font-size: var(--ck-body-size); }
.st-page.ck-typo .st-hint, .st-page.ck-typo .st-field-hint, .st-page.ck-typo .st-chips-label, .st-page.ck-typo .st-step, .st-page.ck-typo .st-feature-chip { font-size: var(--ck-small-size); line-height: var(--ck-small-lh); }
.st-page.ck-typo .st-chip, .st-page.ck-typo .st-error { font-size: var(--ck-label-size); }
.st-page.ck-typo .st-choice-title { font-size: var(--ck-h4-size); }
.st-page.ck-typo .st-modal-title { font-size: var(--ck-h3-size); line-height: var(--ck-h3-lh); }
.st-page.ck-typo .st-submit { font-size: var(--ck-h4-size) !important; }

/* Estudio de sopa de letras: estilos limitados al generador. */
.st-page{padding:16px!important;max-width:1240px!important}
.st-page .st-header{height:auto!important;min-height:0!important;margin:0 0 16px!important;padding:18px!important;border:3px solid #fff;border-radius:22px!important;background:#d4efff url('/web/images/videos-educativos/hero-bg.svg') center/cover no-repeat!important;box-shadow:0 0 0 3px #bfe0ff!important}
.st-page .st-header h1{font-size:clamp(26px,3vw,38px)!important;margin:6px auto!important;text-shadow:none!important}
.st-page .st-header p{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;max-width:620px!important}
.st-page .st-feature-row{position:static!important;margin:10px auto 0!important;gap:8px!important}
.st-page .st-feature-chip{flex:initial!important;min-height:0!important;padding:6px 12px!important;font-size:12px!important}
.st-page .st-feature-chip i{font-size:14px!important}
.st-studio-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:16px;align-items:start}
.st-page .st-card,.st-gallery-panel{margin:0!important;padding:20px!important;background:#fff;border:2px solid #dbe8fb!important;border-radius:22px!important;box-shadow:0 12px 28px #1d6ff21c!important;min-width:0}
.st-gallery-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}.st-gallery-head h2{font-size:22px;color:#16357a;margin:0;font-weight:800}.st-gallery-head a{padding:8px 14px;border:1px solid #bed5fb;border-radius:999px;color:#164da1;text-decoration:none;font-weight:700;font-size:12px}.st-gallery-panel p{font-size:13px;color:#486589;margin:0 0 12px}.st-gallery-frame{width:100%;height:680px;border:1px solid #dbe8fb;border-radius:14px;background:#fff}.st-studio-tabs{display:none}
@media(max-width:767px){.st-page{padding:12px!important}.st-page .st-header{padding:14px!important}.st-page .st-header h1{font-size:25px!important}.st-page .st-feature-row{display:none!important}.st-studio-tabs{display:flex;gap:8px;margin:0 0 12px}.st-studio-tabs button{flex:1;padding:10px;border:1px solid #bcd6fb;border-radius:999px;background:#fff;color:#164da1;font-weight:800}.st-studio-tabs button[aria-selected=true]{background:#1d6ff2;color:#fff}.st-studio-layout{display:block}.st-studio-layout[data-view=create] .st-gallery-panel,.st-studio-layout[data-view=gallery] .st-card{display:none}.st-gallery-frame{height:620px}}


.st-page .st-header{overflow:hidden!important;padding:18px 155px!important}.st-page .st-hero{background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important;max-width:none!important}.st-hero-art img{position:absolute;bottom:-5px;width:150px;height:auto;z-index:0}.st-hero-boy{left:8px}.st-hero-girl{right:8px;width:175px!important}.st-page .st-hero{position:relative;z-index:1}.st-page .st-ai-pill{background:#ffd13b!important;border:2px solid #f1a800!important;color:#16357a!important}.st-studio-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:20px}.st-studio-steps span{padding:12px 8px;text-align:center;border-radius:999px;background:#eee7ff;color:#503cba;font-weight:800;font-size:12px}.st-studio-steps span:first-child{background:#2181f6;color:#fff}.st-studio-steps span:last-child{background:#fff1b6;color:#926000}.st-gallery-refresh{border:1px solid #bed5fb;background:white;border-radius:999px;padding:8px 14px;color:#164da1;font-size:12px;font-weight:700;cursor:pointer}.st-gallery-tabs{display:flex;gap:7px;margin:12px 0}.st-gallery-tabs span{border:1px solid #d0dffa;border-radius:999px;padding:7px 12px;color:#16357a;font-size:11px;font-weight:800}.st-gallery-tabs span:first-child{background:#2181f6;color:white}.st-gallery-tools{display:flex;gap:8px;margin-bottom:14px}.st-gallery-tools input,.st-gallery-tools select{min-width:0;padding:9px;border:1px solid #d0dffa;border-radius:10px;color:#16357a}.st-gallery-tools input{flex:1}.st-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.st-gallery-card{border:2px solid #dbe8fb;border-radius:16px;overflow:hidden;text-decoration:none;color:#16357a;display:block}.st-gallery-thumb{height:130px;background:#eaf6ff;position:relative;display:grid;place-items:center;font-size:40px}.st-gallery-thumb img{width:100%;height:100%;object-fit:cover}.st-gallery-thumb b{position:absolute;background:white;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;font-size:17px;box-shadow:0 2px 10px #1235}.st-gallery-card strong,.st-gallery-card small{display:block;margin:8px;font-size:12px}.st-gallery-card small{color:#657da5}@media(max-width:767px){.st-page .st-header{padding:14px!important}.st-hero-art{display:none}.st-studio-steps span{font-size:10px}.st-gallery-tools{flex-wrap:wrap}}


.st-page .ev-hero{margin-top:0}.st-page .st-card,.st-page .st-gallery-panel{padding:18px 20px 22px!important}.st-page .st-label{font:800 14.5px Outfit,sans-serif;color:#16357a}.st-page .st-input,.st-page .st-select,.st-page .st-textarea{min-height:42px;padding:9px 13px;border:1.5px solid #d7e3f8;border-radius:12px;background:#fff;color:#16357a}.st-page .st-textarea{min-height:85px}.st-page .st-submit{min-height:65px;border:2px solid white;border-radius:999px;background:linear-gradient(180deg,#45a9ff,#1d6ff2 60%,#1763e6);box-shadow:0 0 0 2px #1763e6,0 7px 0 #0f47b5,0 16px 26px -10px #1763e6a6;font:800 20px Outfit,sans-serif}.st-page .st-cost-banner{background:#fff6d4;border:1px solid #ffda72;color:#16357a}.st-page .st-studio-steps span{font-family:Outfit,sans-serif}.st-page .st-gallery-panel h2{font:800 24px Outfit,sans-serif}.st-page .st-gallery-card strong{font:800 13px Outfit,sans-serif}.st-page .st-gallery-card[hidden]{display:none!important}


.st-page .st-card .st-field{position:relative;padding-left:46px;margin-bottom:14px}.st-page .st-card .st-field::before{content:"📚";position:absolute;top:0;left:0;font-size:29px;line-height:1}.st-page .st-card .ck-design-details-field::before{content:"🎨"}.st-page .st-card .st-grid-settings .st-field:nth-child(1)::before{content:"📏"}.st-page .st-card .st-grid-settings .st-field:nth-child(2)::before{content:"📐"}.st-page .st-label{margin-bottom:5px}.st-page .st-chips-wrapper{margin-left:-46px}.st-page .st-cost-banner{border-radius:16px;padding:14px 16px}.st-page .st-submit{font-size:20px}.st-page .st-gallery-head h2{display:flex;align-items:center;gap:8px}.st-page .st-gallery-head h2::before{content:"";width:34px;height:34px;background:url('/web/images/videos-educativos/clapper.svg') center/contain no-repeat}.st-page .st-gallery-grid{margin-top:20px}@media(max-width:767px){.st-page .st-card .st-field{padding-left:38px}.st-page .st-chips-wrapper{margin-left:-38px}.st-page .st-card .st-field::before{font-size:25px}.st-page .st-card,.st-page .st-gallery-panel{padding:14px 12px 18px!important}}

.st-gallery-tabs button{border:1px solid #d0dffa;border-radius:999px;padding:7px 12px;background:white;color:#16357a;font-size:11px;font-weight:800;cursor:pointer}.st-gallery-tabs button.active{background:#2181f6;color:white}
 .st-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:18px;color:#16357a;font-size:12px;font-weight:800}.st-pagination[hidden]{display:none}.st-pagination button{border:1px solid #bed5fb;border-radius:999px;padding:8px 12px;background:#fff;color:#164da1;font-weight:700;cursor:pointer}.st-pagination button:disabled{opacity:.45;cursor:default}

/* Mantiene tarjetas y controles estables entre páginas. */
.st-page .st-gallery-panel{display:flex;flex-direction:column;min-height:820px}
.st-page .st-gallery-grid{grid-auto-rows:205px;align-content:start;min-height:639px}
.st-page .st-gallery-card{height:205px;min-width:0}
.st-page .st-gallery-card strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:32px;line-height:16px}
.st-page .st-pagination{margin-top:auto;padding-top:18px}
@media(max-width:767px){.st-page .st-gallery-panel{min-height:790px}.st-page .st-gallery-grid{grid-auto-rows:195px;min-height:609px}.st-page .st-gallery-card{height:195px}.st-page .st-gallery-thumb{height:120px}}


.st-page .st-card .st-field::before{content:"";display:block;width:34px;height:34px;background:center/contain no-repeat url("https://cdn.channelkids.com/Channel_imagenes/ia-generadas/openmoji/881891811bb49cc90f48fd81.svg")}
.st-page .st-card .st-field.ck-design-details-field::before{content:"";background-image:url("https://cdn.channelkids.com/Channel_imagenes/ia-generadas/openmoji/2c7a1df577922332b9e8299a.svg")}
.st-page .st-card .st-field:has(#st-category)::before{content:"";background-image:url("https://cdn.channelkids.com/Channel_imagenes/ia-generadas/openmoji/9ad51b3c4d7123d9da218689.svg")}
.st-page .st-card .st-field:has(#st-filas)::before{content:"";background-image:url("https://cdn.channelkids.com/Channel_imagenes/ia-generadas/openmoji/f5c0c1c923aaac0688672682.svg")}
.st-page .st-card .st-field:has(#st-columnas)::before{content:"";background-image:url("https://cdn.channelkids.com/Channel_imagenes/ia-generadas/openmoji/57f124f19664a4821486b6b3.svg")}
.st-page .st-card .st-field:has(#st-dificultad)::before{content:"";background-image:url("https://cdn.channelkids.com/Channel_imagenes/ia-generadas/openmoji/d5d1b6ebcf294bb361218eaf.svg")}
@media(max-width:767px){.st-page .st-card .st-field::before{width:30px;height:30px}}

/* Formulario compacto, sin quitar opciones ni ayudas accesibles. */
.st-page #proGeneratorForm{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 14px}
.st-page #proGeneratorForm>.st-field:first-child,.st-page #proGeneratorForm>.ck-design-details-field,.st-page #proGeneratorForm>.st-grid-settings,.st-page #proGeneratorForm>.st-cost-banner,.st-page #proGeneratorForm>.st-submit{grid-column:1/-1}
.st-page #proGeneratorForm>.st-field:has(#st-category){grid-column:1;grid-row:3}
.st-page #proGeneratorForm>.st-field:has(#st-dificultad){grid-column:2;grid-row:3}
.st-page #proGeneratorForm>.st-grid-settings{grid-row:4;gap:14px}
.st-page #proGeneratorForm .st-field{margin-bottom:12px}
.st-page #proGeneratorForm .st-textarea{min-height:54px;height:54px}
.st-page #proGeneratorForm .st-hint{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.st-page #proGeneratorForm .st-chips-wrapper{margin-top:8px;gap:5px}
.st-page #proGeneratorForm .st-chips-list{gap:6px}
.st-page #proGeneratorForm .st-chip{padding:6px 10px;font-size:11px}
.st-page #proGeneratorForm .st-cost-banner{margin:2px 0 14px}
@media(max-width:450px){.st-page #proGeneratorForm{gap:0 8px}.st-page #proGeneratorForm .st-grid-settings{grid-template-columns:1fr 1fr;gap:8px}.st-page #proGeneratorForm .st-select{font-size:12px}.st-page #proGeneratorForm .st-field{padding-left:32px}.st-page #proGeneratorForm .st-field::before{width:26px;height:26px}.st-page #proGeneratorForm .st-chips-wrapper{margin-left:-32px}}

.st-page .st-gallery-panel{min-height:615px}.st-page .st-gallery-grid{min-height:422px}@media(max-width:767px){.st-page .st-gallery-panel{min-height:595px}.st-page .st-gallery-grid{min-height:402px}}

.st-page #proSubmitBtn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:70px;padding:12px 18px;border:2px solid #fff;border-radius:999px;background:linear-gradient(180deg,#45a9ff 0%,#1d6ff2 60%,#1763e6 100%);box-shadow:0 0 0 2px #1763e6,0 7px 0 #0f47b5,0 16px 26px -10px rgba(23,99,230,.65);color:#fff;font:800 clamp(18px,2vw,23px) Outfit,sans-serif;text-shadow:0 2px 0 rgba(15,71,181,.5);cursor:pointer}
.st-page #proSubmitBtn i{display:none}.st-page #proSubmitBtn::before{content:"";flex:none;width:40px;height:40px;background:url('/web/images/videos-educativos/clapper.svg') center/contain no-repeat;filter:drop-shadow(0 2px 2px rgba(15,71,181,.4))}.st-page #proSubmitBtn:hover:not(:disabled){box-shadow:0 0 0 2px #1763e6,0 9px 0 #0f47b5,0 20px 30px -10px rgba(23,99,230,.7)}@media(max-width:767px){.st-page #proSubmitBtn::before{width:32px;height:32px}.st-page #proSubmitBtn{font-size:18px}}


.st-page .st-card .st-field::before{background-image:url("https://cdn.channelkids.com/Channel_imagenes/ia-generadas/generadores/sopa-ui-icons-20261115.png");background-size:600% 200%;background-position:0% 50%;background-repeat:no-repeat}
.st-page .st-card .st-field.ck-design-details-field::before{background-image:url("https://cdn.channelkids.com/Channel_imagenes/ia-generadas/generadores/sopa-ui-icons-20261115.png");background-size:600% 200%;background-position:20% 50%}
.st-page .st-card .st-field:has(#st-category)::before{background-image:url("https://cdn.channelkids.com/Channel_imagenes/ia-generadas/generadores/sopa-ui-icons-20261115.png");background-size:600% 200%;background-position:40% 50%}
.st-page .st-card .st-field:has(#st-filas)::before{background-image:url("https://cdn.channelkids.com/Channel_imagenes/ia-generadas/generadores/sopa-ui-icons-20261115.png");background-size:600% 200%;background-position:60% 50%}
.st-page .st-card .st-field:has(#st-columnas)::before{background-image:url("https://cdn.channelkids.com/Channel_imagenes/ia-generadas/generadores/sopa-ui-icons-20261115.png");background-size:600% 200%;background-position:80% 50%}
.st-page .st-card .st-field:has(#st-dificultad)::before{background-image:url("https://cdn.channelkids.com/Channel_imagenes/ia-generadas/generadores/sopa-ui-icons-20261115.png");background-size:600% 200%;background-position:100% 50%}

/* ===== Iconos genericos por campo: <div class="st-field" data-icon="book"> (SVG propios de /web/images/videos-educativos/). Los campos sin data-icon conservan las reglas de arriba. ===== */
.st-page .st-card .st-field[data-icon]::before{content:"";display:block;width:34px;height:34px;background-color:transparent;background-repeat:no-repeat;background-position:center;background-size:contain}
.st-page .st-card .st-field[data-icon=book]::before{background-image:url(/web/images/videos-educativos/book.svg)}
.st-page .st-card .st-field[data-icon=cap]::before{background-image:url(/web/images/videos-educativos/cap.svg)}
.st-page .st-card .st-field[data-icon=globe]::before{background-image:url(/web/images/videos-educativos/globe.svg)}
.st-page .st-card .st-field[data-icon=mic]::before{background-image:url(/web/images/videos-educativos/mic.svg)}
.st-page .st-card .st-field[data-icon=screen]::before{background-image:url(/web/images/videos-educativos/screen.svg)}
.st-page .st-card .st-field[data-icon=layers]::before{background-image:url(/web/images/videos-educativos/layers.svg)}
.st-page .st-card .st-field[data-icon=image]::before{background-image:url(/web/images/videos-educativos/image.svg)}
.st-page .st-card .st-field[data-icon=plant]::before{background-image:url(/web/images/videos-educativos/plant.svg)}
.st-page .st-card .st-field[data-icon=sun]::before{background-image:url(/web/images/videos-educativos/sun.svg)}
.st-page .st-card .st-field[data-icon=coin]::before{background-image:url(/web/images/videos-educativos/coin.svg)}
.st-page .st-card .st-field[data-icon=fraction]::before{background-image:url(/web/images/videos-educativos/fraction.svg)}
.st-page .st-card .st-field[data-icon=cloud]::before{background-image:url(/web/images/videos-educativos/cloud.svg)}
.st-page .st-card .st-field[data-icon=search]::before{background-image:url(/web/images/videos-educativos/search.svg)}
.st-page .st-card .st-field[data-icon=video]::before{background-image:url(/web/images/videos-educativos/video.svg)}
.st-page .st-card .st-field[data-icon=play]::before{background-image:url(/web/images/videos-educativos/play.svg)}
.st-page .st-card .st-field[data-icon=cc]::before{background-image:url(/web/images/videos-educativos/cc.svg)}
.st-page .st-card .st-field[data-icon=clapper]::before{background-image:url(/web/images/videos-educativos/clapper.svg)}
@media(max-width:767px){.st-page .st-card .st-field[data-icon]::before{width:30px;height:30px}}
@media(max-width:450px){.st-page #proGeneratorForm .st-field[data-icon]::before{width:26px;height:26px}}
