:root{--ink:#34274c;--muted:#756d86;--purple:#7656d6;--purple2:#9b7ff0;--cream:#fffaf4;--line:#ece5f4;--card:#fff;--yellow:#ffe991;--pink:#ffd8e5;--mint:#dff7e9;--sky:#dff1ff;--peach:#ffe4cc;--shadow:0 18px 50px rgba(77,51,119,.12)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-rounded,"Nunito",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--cream);color:var(--ink);line-height:1.6}a{color:inherit}.wrap{width:min(1180px,calc(100% - 32px));margin:auto}.topbar{position:sticky;top:0;z-index:50;background:rgba(255,250,244,.9);backdrop-filter:blur(16px);border-bottom:1px solid rgba(117,86,214,.08)}.nav{height:78px;display:flex;align-items:center;justify-content:space-between}.brand{display:inline-flex;align-items:center;gap:9px;text-decoration:none;font-size:24px;font-weight:900;letter-spacing:-.8px}.brand span span{color:var(--purple)}.brand-moon{display:grid;place-items:center;width:42px;height:42px;border-radius:16px;background:linear-gradient(145deg,#8566df,#6c4bc8);color:#fff3ae;font-size:27px;box-shadow:0 8px 20px rgba(118,86,214,.25)}nav{display:flex;gap:24px;align-items:center}nav a{text-decoration:none;font-weight:700;color:#574b69}.pill{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;background:linear-gradient(135deg,var(--purple),#8e6be6);color:#fff!important;border-radius:18px;text-decoration:none;font-weight:900;border:0;box-shadow:0 10px 26px rgba(118,86,214,.25);cursor:pointer}.pill.small{padding:10px 16px;border-radius:14px}.pill.full{width:100%}.ghost{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border:1px solid #ddd2ec;border-radius:18px;text-decoration:none;font-weight:800;background:#fff}.menu-btn{display:none;background:none;border:0;font-size:28px}.hero{position:relative;overflow:hidden;padding:72px 0 82px;background:radial-gradient(circle at 78% 20%,#efe9ff 0 18%,transparent 19%),linear-gradient(180deg,#fffaf4 0,#f8f2ff 100%)}.hero:after{content:"";position:absolute;left:-80px;bottom:-100px;width:260px;height:260px;border-radius:50%;background:#fff0c7;filter:blur(3px)}.hero-grid{display:grid;grid-template-columns:1.04fr .96fr;align-items:center;gap:50px}.eyebrow{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:999px;background:#fff;color:#6f53c2;border:1px solid #eee6fb;font-weight:900;font-size:14px;box-shadow:0 6px 18px rgba(77,51,119,.06)}h1,h2,h3{line-height:1.12;letter-spacing:-.04em;margin:0 0 16px}h1{font-size:clamp(44px,6vw,74px)}h2{font-size:clamp(32px,4vw,48px)}h3{font-size:23px}em{font-style:normal;color:var(--purple)}.lead{font-size:20px;color:var(--muted);max-width:680px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}.trust{display:flex;gap:16px;flex-wrap:wrap;font-size:14px;color:#71677f}.hero-art{height:470px;position:relative;border-radius:50px;background:linear-gradient(180deg,#d9cdfc 0,#ece5ff 55%,#dff3e5 56%,#d8efde 100%);box-shadow:var(--shadow);overflow:hidden;border:8px solid rgba(255,255,255,.75)}.moon{position:absolute;right:72px;top:36px;font-size:120px;color:#fff1a8;filter:drop-shadow(0 8px 10px #7a62be50)}.castle{position:absolute;left:50%;transform:translateX(-50%);bottom:42px;font-size:180px;filter:drop-shadow(0 16px 15px rgba(53,38,78,.15))}.bunny{position:absolute;left:45px;bottom:30px;font-size:84px}.cloud{position:absolute;color:#fff;font-size:100px;opacity:.9}.c1{left:15px;top:55px}.c2{right:-10px;top:165px}.star{position:absolute;color:#fff6ae;font-size:34px}.s1{left:42%;top:65px}.s2{left:22%;top:160px}.s3{right:22%;top:145px}.section{padding:82px 0}.soft{background:#f6f1ff}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}.section-head h2{margin-top:10px;max-width:650px}.section-head>a{text-decoration:none;font-weight:900;color:var(--purple)}.story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.story-card{display:block;background:var(--card);border-radius:28px;overflow:hidden;text-decoration:none;border:1px solid #eee9f3;box-shadow:0 10px 32px rgba(71,47,103,.07);transition:.25s}.story-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.cover{height:220px;display:grid;place-items:center;position:relative;overflow:hidden}.cover:after{content:"";position:absolute;width:160px;height:70px;background:rgba(255,255,255,.35);border-radius:50%;bottom:-28px;right:-20px;transform:rotate(-12deg)}.lavender{background:linear-gradient(145deg,#d9cdfd,#b9a3f4)}.mint{background:linear-gradient(145deg,#dff6e9,#b7e9cf)}.peach{background:linear-gradient(145deg,#ffe4cc,#ffc99c)}.sky{background:linear-gradient(145deg,#dff1ff,#addbff)}.sun{background:linear-gradient(145deg,#fff1b6,#ffd96f)}.cover-icon{font-size:96px;filter:drop-shadow(0 15px 12px rgba(61,44,86,.14));z-index:2}.cover-stars{position:absolute;top:20px;right:24px;color:#fff;font-size:26px}.story-body{padding:23px}.story-body p{color:var(--muted);margin-bottom:0}.meta{display:flex;gap:9px;flex-wrap:wrap;color:#81768e;font-size:13px;font-weight:800;margin-bottom:10px}.personalize{display:grid;grid-template-columns:.8fr 1.2fr;gap:55px;align-items:center}.personalize-art{height:360px;border-radius:42px;background:linear-gradient(145deg,#fee3ec,#ddd0ff);display:grid;place-items:center;font-size:150px;position:relative;box-shadow:var(--shadow)}.personalize-art span{position:absolute;right:50px;top:50px;color:#fff0a6}.feature-chips{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 26px}.feature-chips span{background:#fff;padding:9px 13px;border-radius:999px;border:1px solid #eadff4;font-size:14px;font-weight:800}.center{text-align:center}.center .eyebrow{margin-bottom:12px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:36px}.steps>div{position:relative;background:#fff;padding:30px;border-radius:26px;border:1px solid #eee6f2}.steps b{position:absolute;right:18px;top:16px;width:34px;height:34px;border-radius:50%;background:#efe9ff;display:grid;place-items:center;color:var(--purple)}.steps span{font-size:52px}.steps p{color:var(--muted)}footer{background:#302745;color:#f4efff;padding:60px 0 24px;margin-top:40px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px}.footer-grid>div{display:flex;flex-direction:column;gap:9px}.footer-grid a{text-decoration:none;color:#ded4eb}.footer-grid .brand{color:#fff}.copyright{border-top:1px solid #4c405f;margin-top:36px;padding-top:22px;color:#bfb4cd;font-size:14px}.page-hero{padding:64px 0 46px;background:linear-gradient(180deg,#f1eaff,#fffaf4)}.page-hero.small h1{font-size:54px}.page-hero.tiny{padding:44px 0}.page-hero.tiny h1{font-size:42px}.search{display:flex;max-width:620px;margin:24px auto 0;background:#fff;border:1px solid #e5dbf2;padding:6px;border-radius:18px;box-shadow:0 9px 26px rgba(76,51,107,.07)}.search input{flex:1;border:0;padding:12px 14px;font-size:16px;outline:0}.search button{border:0;background:var(--purple);color:#fff;border-radius:13px;padding:10px 18px;font-weight:900}.story-page{padding:56px 0}.story-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:32px;align-items:start}.story-article{background:#fff;border:1px solid #eee8f3;border-radius:32px;padding:36px;box-shadow:0 14px 40px rgba(79,52,111,.08)}.story-title-card{display:grid;grid-template-columns:150px 1fr;gap:26px;align-items:center;padding-bottom:28px;border-bottom:1px solid var(--line)}.story-title-card h1{font-size:44px}.mini-cover{height:150px;border-radius:28px;display:grid;place-items:center;font-size:76px}.reader-tools{display:flex;gap:10px;margin:22px 0}.reader-tools button{border:1px solid #e4d9ef;background:#faf7ff;border-radius:14px;padding:10px 14px;font-weight:800;color:#5d4d75;cursor:pointer}.story-content{font-family:Georgia,serif;font-size:20px;line-height:1.95;color:#3d3447}.story-content h2{font-family:Inter,system-ui,sans-serif;margin-top:36px;font-size:30px}.story-content p{margin:0 0 22px}.moral{display:flex;gap:14px;background:#fff9d9;border:1px solid #f4e9a7;border-radius:22px;padding:22px;margin-top:34px}.moral>span{font-size:30px}.moral p{margin:5px 0 0}.story-aside{position:sticky;top:100px}.aside-card{background:#f3edff;border:1px solid #e3d8f4;border-radius:26px;padding:26px;text-align:center}.aside-card .big{font-size:56px}.aside-card .pill,.aside-card .ghost{width:100%;margin-top:8px}.personal-badge{display:inline-block;padding:8px 12px;border-radius:999px;background:#fff0f6;color:#b04b78;font-weight:900;margin-bottom:18px}.auth{min-height:70vh;display:grid;place-items:center;padding:50px 16px;background:radial-gradient(circle at 20% 20%,#e9ddff,transparent 30%),radial-gradient(circle at 85% 80%,#ffe5ed,transparent 30%)}.auth-card{width:min(470px,100%);background:#fff;padding:34px;border-radius:30px;box-shadow:var(--shadow);text-align:center}.auth-icon{font-size:62px}.auth-card form{text-align:left}.auth-card label,.generator-card label,.add-child label{display:block;font-weight:900;margin:16px 0 7px}.auth-card input,.generator-card input,.generator-card select,.generator-card textarea,.add-child input{width:100%;padding:14px 15px;border-radius:15px;border:1px solid #dfd5ea;font:inherit;background:#fff;outline:none}.auth-card input:focus,.generator-card textarea:focus,.generator-card select:focus{border-color:#9e85e3;box-shadow:0 0 0 4px #eee8ff}.auth-card small{display:block;margin-top:15px}.error,.flash{padding:13px 16px;border-radius:14px;background:#fff0f0;border:1px solid #ffd5d5;color:#9c3d3d;margin:12px 0}.flash{background:#f0fff4;border-color:#cdebd4;color:#27683b;margin-top:15px}.dashboard-grid{display:grid;grid-template-columns:1fr 300px;gap:28px}.panel{background:#fff;border:1px solid #ece4f1;border-radius:26px;padding:25px;margin-bottom:24px}.panel-head{display:flex;justify-content:space-between;align-items:center}.panel-head a{color:var(--purple);font-weight:900;text-decoration:none}.child-list{display:flex;gap:12px;flex-wrap:wrap}.child-chip{display:flex;gap:10px;align-items:center;background:#faf7ff;padding:12px 16px;border-radius:18px}.child-chip span{font-size:31px}.child-chip small{display:block;color:var(--muted)}details.add-child{margin-top:16px}.add-child summary{cursor:pointer;font-weight:900;color:var(--purple)}.mine-list>div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #eee8f3}.mine-list small{display:block;color:var(--muted)}.mine-list a{text-decoration:none;color:var(--purple);font-weight:900}.mine-icon{font-size:26px}.empty{padding:30px;text-align:center;color:var(--muted);background:#faf7ff;border-radius:20px}.generator-wrap{max-width:760px}.generator-card{background:#fff;border-radius:30px;padding:32px;border:1px solid #eee6f3;box-shadow:var(--shadow)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ideas{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 22px}.ideas button{border:1px solid #e6dcf2;background:#f9f6ff;border-radius:999px;padding:8px 12px;cursor:pointer}.form-note{text-align:center;color:var(--muted);font-size:13px}.locked{text-align:center;padding:28px}.locked>span{font-size:64px}.premium-hero{padding:80px 0;background:radial-gradient(circle at 50% 0,#e8dcff 0,#f7f0ff 35%,#fffaf4 70%)}.premium-hero h1{font-size:62px}.premium-hero p{font-size:20px;color:var(--muted)}.crown{display:block;font-size:70px}.price{margin:22px 0}.price strong{font-size:48px}.price span{color:var(--muted)}.premium-hero small{display:block;margin-top:14px;color:var(--muted)}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.benefit-grid>div{background:#fff;border:1px solid #eee5f2;border-radius:24px;padding:24px;font-size:36px}.benefit-grid h3{font-size:20px;margin-top:12px}.benefit-grid p{font-size:15px;color:var(--muted)}.prose{max-width:820px;font-size:18px}.night-reader{background:#17131f}.night-reader .topbar,.night-reader footer{display:none}.night-reader .story-page{background:#17131f}.night-reader .story-article{background:#211a2c;border-color:#352942;color:#f0e9f7}.night-reader .story-content{color:#eadff1}.night-reader .story-title-card{border-color:#3c3048}.night-reader .story-aside{display:none}.night-reader .story-layout{grid-template-columns:1fr;max-width:850px}.night-reader .moral{background:#3a321e;border-color:#655b31;color:#f4e7b4}@media(max-width:900px){nav{display:none;position:absolute;left:16px;right:16px;top:72px;background:#fff;padding:18px;border-radius:20px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}nav.open{display:flex}.menu-btn{display:block}.hero-grid,.personalize,.story-layout,.dashboard-grid{grid-template-columns:1fr}.hero-art{height:380px}.story-grid{grid-template-columns:repeat(2,1fr)}.story-aside{position:static}.benefit-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.hero{padding-top:45px}.hero-grid{gap:24px}.hero-art{height:300px}.castle{font-size:120px}.moon{font-size:80px}.bunny{font-size:55px}.story-grid,.steps,.footer-grid,.benefit-grid,.form-row{grid-template-columns:1fr}.story-title-card{grid-template-columns:1fr}.mini-cover{height:190px}.story-article{padding:22px}.story-title-card h1{font-size:36px}.section{padding:58px 0}.page-hero.small h1,.premium-hero h1{font-size:44px}.section-head{align-items:start;flex-direction:column}.personalize-art{height:280px}.reader-tools{flex-wrap:wrap}.hero-actions .pill,.hero-actions .ghost{width:100%}}

/* ===== Rozpravkoland visual refresh v1.1 ===== */
:root{--navy:#20246f;--pink:#ee2f7e;--pink2:#f65e9d;--violet:#5c43bd;--softbg:#fbfaff}
body{background:#fbfaff;color:#22265f}.wrap{width:min(1400px,calc(100% - 36px))}.topbar{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.96);border:0;box-shadow:0 10px 35px rgba(43,36,96,.08);backdrop-filter:blur(18px)}.nav{height:88px;gap:24px}.brand{font-size:28px;color:#252b75}.brand>span:last-child>span{color:var(--pink)}.brand-castle{font-size:37px;filter:drop-shadow(0 5px 6px rgba(40,30,95,.12))}.nav nav{gap:28px;flex:1;justify-content:center}.nav nav a{font-size:15px;color:#222468;padding:31px 2px 26px;position:relative}.nav nav a.active{color:var(--pink)}.nav nav a.active:after{content:"";height:2px;background:var(--pink);position:absolute;left:0;right:0;bottom:18px;border-radius:2px}.nav-tools{display:flex;align-items:center;gap:12px}.nav-search{width:230px;height:46px;border:1px solid #ececf4;border-radius:24px;background:#fff;display:flex;align-items:center;padding-left:13px;box-shadow:inset 0 0 0 1px rgba(70,50,130,.01)}.nav-search input{width:100%;border:0;outline:0;background:transparent;font:inherit;color:#555}.nav-search button,.night-switch{border:0;background:transparent;color:#31367a;font-size:22px;cursor:pointer}.night-switch{width:44px;height:44px;border-radius:50%;background:#f4f3fb}.pill.small{border-radius:24px;padding:12px 20px;background:linear-gradient(135deg,var(--pink),#f1438d)}
.home-hero{min-height:390px;background:linear-gradient(135deg,#6f5fd2 0%,#aa77d4 45%,#d69ad7 100%);position:relative;overflow:hidden}.home-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 7% 25%,rgba(255,255,255,.22),transparent 28%),radial-gradient(circle at 48% 5%,rgba(255,234,176,.22),transparent 20%)}.hero-grid-new{min-height:390px;display:grid;grid-template-columns:.82fr 1.18fr;align-items:stretch;position:relative;z-index:1}.hero-copy{padding:50px 0 62px;color:white;align-self:center;position:relative;z-index:3}.hero-kicker{font-weight:800;font-size:13px;letter-spacing:.02em;color:#fff4c7}.hero-copy h1{font-size:clamp(48px,5vw,72px);line-height:.98;margin:14px 0 18px;color:white;text-shadow:0 3px 15px rgba(50,31,101,.12)}.hero-copy h1 strong{display:inline-block;color:#ff4a97;font-weight:950;text-shadow:0 2px 0 rgba(255,255,255,.8),0 5px 20px rgba(63,35,100,.1)}.hero-copy p{font-size:18px;max-width:610px;color:#fff;opacity:.96;line-height:1.55}.pill.pink{background:linear-gradient(135deg,#ef2f7f,#f24990);box-shadow:0 10px 26px rgba(218,28,105,.28);border-radius:25px}.ghost.bright{background:white;color:#25265e;border:0;border-radius:25px;box-shadow:0 9px 22px rgba(45,37,86,.12)}.hero-mini{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:#fff;margin-top:18px;opacity:.9}.hero-world{margin-left:-120px;background-image:linear-gradient(90deg,rgba(111,95,210,.95) 0%,rgba(111,95,210,.45) 16%,rgba(111,95,210,0) 34%),url('/assets/img/hero-world.webp');background-size:cover;background-position:center right;min-height:390px;position:relative}.hero-world:after{content:"";position:absolute;left:0;top:0;bottom:0;width:180px;background:linear-gradient(90deg,#7964ce,transparent)}.hero-sparkles{position:absolute;right:20%;top:8%;color:#fff5ab;font-size:22px;letter-spacing:25px;opacity:.85}
.category-float{height:100px;margin-top:-32px;background:#fff;border-radius:17px;box-shadow:0 12px 35px rgba(42,35,83,.13);position:relative;z-index:8;display:grid;grid-template-columns:repeat(8,1fr);overflow:hidden}.category-float a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;text-decoration:none;border-right:1px solid #eeeef5;color:#252a68;font-weight:800;text-align:center;font-size:11px;padding:10px;transition:.2s}.category-float a:last-child{border-right:0}.category-float a:hover{background:#faf8ff;transform:translateY(-2px)}.category-float b{font-size:28px;line-height:1}
.home-content{padding-top:35px}.home-layout{display:grid;grid-template-columns:minmax(0,1fr) 306px;gap:28px;align-items:start}.section-head.compact{margin-bottom:20px;align-items:center}.section-head.compact h2{font-size:29px;color:#24296b;margin:0}.section-head.compact h2 small{font-size:15px;color:#f34a91}.section-head.compact p{margin:4px 0 0;color:#85849c;font-size:13px}.section-head.compact>a{font-size:13px}.featured-grid{gap:20px}.premium-card{border-radius:16px;box-shadow:0 8px 25px rgba(37,35,76,.1);border:1px solid #eeeef5}.image-cover{height:188px;background-size:cover;background-position:center;position:relative}.new-tag{position:absolute;top:11px;left:11px;background:var(--pink);color:#fff;border-radius:15px;padding:4px 10px;font-size:11px;font-weight:900}.heart{position:absolute;right:12px;top:8px;width:32px;height:32px;background:rgba(255,255,255,.9);display:grid;place-items:center;border-radius:50%;font-size:20px;color:#f1468e}.premium-card .story-body{padding:14px 15px 13px}.premium-card h3{font-size:17px;color:#252966;margin:0 0 6px;letter-spacing:-.02em}.premium-card p{font-size:12px;line-height:1.5;min-height:38px;color:#77768a;margin:0 0 10px}.card-foot{display:flex;gap:15px;color:#77778d;font-size:11px;font-weight:700}.benefit-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:20px}.benefit-row>div{background:#fff;border:1px solid #eeeef4;border-radius:13px;display:flex;gap:10px;padding:13px;align-items:center}.benefit-row i{font-style:normal;width:36px;height:36px;background:#f3f1ff;border-radius:50%;display:grid;place-items:center;font-size:18px}.benefit-row p{margin:0;line-height:1.2}.benefit-row b{display:block;font-size:12px;color:#262a68}.benefit-row span{display:block;color:#9190a3;font-size:9px;margin-top:5px}
.create-panel{position:relative;border-radius:18px;overflow:hidden;min-height:355px;color:white;background:#5240b8;box-shadow:0 12px 30px rgba(50,38,121,.22)}.create-panel-art{position:absolute;inset:0;background:linear-gradient(180deg,rgba(66,44,166,.22),rgba(34,27,100,.8)),url('/assets/img/premium-world.webp') center/cover no-repeat}.create-panel-content{position:relative;z-index:2;padding:26px 23px}.create-panel h2{font-size:24px;line-height:1.25;color:white;margin:4px 0 18px}.tiny-star{float:right;color:#ffe797}.create-panel ul{list-style:none;padding:0;margin:0 0 22px}.create-panel li{font-size:12px;font-weight:700;margin:14px 0}.create-panel small{display:block;text-align:center;color:#eee9ff;font-size:10px;margin-top:10px}.create-panel .pill{font-size:13px;padding:12px}.bedtime-strip{padding:55px 0;background:linear-gradient(180deg,#fff,#f4f1ff)}.bedtime-inner{display:grid;grid-template-columns:1fr 300px;align-items:center;gap:30px;background:#fff;border:1px solid #eeeaf7;border-radius:28px;padding:36px 50px;box-shadow:0 12px 35px rgba(59,48,101,.08)}.bedtime-inner h2{font-size:36px;color:#262a70;max-width:700px;margin-top:12px}.bedtime-inner p{color:#7e7d91;max-width:720px}.owl-art{text-align:center}.owl-art img{width:250px;max-width:100%;filter:drop-shadow(0 12px 13px rgba(52,43,89,.18))}
@media(max-width:1180px){.nav-search{display:none}.nav nav{gap:18px}.category-float{grid-template-columns:repeat(4,1fr);height:auto}.category-float a{min-height:82px;border-bottom:1px solid #eeeef5}.home-layout{grid-template-columns:1fr}.create-panel{min-height:300px}.create-panel-art{background-position:center 35%}.featured-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.hero-grid-new{grid-template-columns:1fr}.hero-copy{padding-bottom:20px}.hero-world{margin:0;min-height:320px;border-radius:28px 28px 0 0;background-image:linear-gradient(180deg,rgba(111,95,210,.4),rgba(111,95,210,0) 35%),url('/assets/img/hero-world.webp')}.hero-world:after{display:none}.category-float{margin-top:-12px}.benefit-row{grid-template-columns:repeat(2,1fr)}.bedtime-inner{grid-template-columns:1fr}.owl-art{order:-1}.nav-tools .night-switch,.nav-tools .pill{display:none}}
@media(max-width:650px){.wrap{width:min(100% - 22px,1400px)}.home-hero{min-height:auto}.hero-copy h1{font-size:48px}.hero-copy p{font-size:16px}.hero-actions>a{width:100%}.hero-world{min-height:245px;background-position:62% center}.category-float{grid-template-columns:repeat(2,1fr);border-radius:15px}.category-float a{min-height:75px}.featured-grid{grid-template-columns:1fr}.image-cover{height:210px}.benefit-row{grid-template-columns:1fr 1fr}.bedtime-inner{padding:28px 22px}.bedtime-inner h2{font-size:30px}.brand{font-size:23px}.brand-castle{font-size:29px}}

/* ===== Rozpravkoland v1.2 – homepage closer to approved visual ===== */
:root{--site-width:1320px}
.wrap{width:min(var(--site-width),calc(100% - 40px))}
.topbar{background:#fff;border-bottom:0;box-shadow:0 4px 20px rgba(40,36,80,.05)}
.nav{height:86px;gap:18px}
.brand{font-size:29px;white-space:nowrap;color:#252966}
.brand-castle{font-size:42px;line-height:1}
.nav nav{gap:18px;flex:1;justify-content:center}
.nav nav a{font-size:15px;white-space:nowrap;color:#252966}
.nav nav a.active{color:#ef2f7f;position:relative}
.nav nav a.active:after{content:"";position:absolute;height:2px;background:#ef2f7f;left:0;right:0;bottom:-14px}
.nav-tools{gap:12px}
.nav-search{width:255px}
.nav-search input{font-size:15px}
.nav-tools .pill.small{background:#ef2f7f;border-radius:28px;padding:14px 22px;white-space:nowrap;box-shadow:0 9px 20px rgba(239,47,127,.2)}

.home-hero{min-height:430px;background:linear-gradient(100deg,#efd8f2 0%,#dfcef5 34%,#b79ae6 52%,#6d5bcf 100%);overflow:hidden}
.home-hero:before{background:radial-gradient(circle at 15% 15%,rgba(255,255,255,.55),transparent 30%),radial-gradient(circle at 45% 8%,rgba(255,245,205,.28),transparent 22%)}
.hero-grid-new{min-height:430px;display:block;position:relative}
.hero-copy{width:47%;min-height:430px;padding:55px 0 78px;display:flex;flex-direction:column;justify-content:center;color:#252966}
.hero-kicker{color:#38327a;font-size:14px}
.hero-copy h1{font-size:clamp(52px,5.1vw,76px);color:#252966;text-shadow:none;line-height:.98;margin:15px 0 18px}
.hero-copy h1 strong{color:#ef2f7f;text-shadow:none}
.hero-copy p{font-size:18px;color:#38327a;opacity:1;max-width:535px}
.hero-mini{color:#463d83;opacity:1}
.hero-world{position:absolute;z-index:1;right:-20px;top:0;width:72%;height:100%;min-height:430px;margin:0;background-image:url('/assets/img/hero-world.webp');background-size:cover;background-position:center;overflow:hidden}
.hero-world:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#dfcef5 0%,rgba(223,206,245,.86) 8%,rgba(223,206,245,.36) 20%,transparent 37%);z-index:1}
.hero-world:after{display:none}
.hero-sparkles{display:none}
.hero-copy{position:relative;z-index:3}
.hero-actions{margin:25px 0 14px}
.pill.pink{padding:15px 24px}
.ghost.bright{padding:15px 24px}

.category-float{width:min(1270px,calc(100% - 70px));height:104px;margin-top:-34px;border-radius:20px;box-shadow:0 12px 34px rgba(39,33,76,.13)}
.category-float a{font-size:11px;padding:12px 8px}
.category-float b{font-size:30px}

.home-content{padding-top:38px;background:#fff}
.home-layout{grid-template-columns:minmax(0,1fr) 320px;gap:28px}
.section-head.compact h2{font-size:31px}
.featured-grid{gap:22px}
.image-cover{height:205px}
.premium-card{border-radius:17px}
.premium-card h3{font-size:18px;line-height:1.15}
.premium-card p{font-size:12.5px;min-height:42px}

.create-panel{min-height:430px;border-radius:20px;background:#4c3aae}
.create-panel-art{background:linear-gradient(180deg,rgba(75,55,177,.62),rgba(35,27,102,.94)),url('/assets/img/premium-world.webp') center 72%/cover no-repeat;opacity:1}
.create-panel-content{padding:27px 24px 24px}
.create-panel h2{font-size:25px;max-width:240px;margin-bottom:22px}
.create-panel li{font-size:12.5px;margin:15px 0;text-shadow:0 1px 3px rgba(0,0,0,.18)}
.create-panel .pill{margin-top:8px}
.create-panel small{font-size:10px}

@media(max-width:1280px){
 .wrap{width:min(100% - 28px,1240px)}
 .nav nav{gap:13px}.nav nav a{font-size:14px}.nav-search{width:210px}.brand{font-size:26px}.brand-castle{font-size:37px}
}
@media(max-width:1100px){
 .nav-search{display:none}.nav nav{gap:16px}
 .hero-copy{width:52%}.hero-world{width:70%}
}
@media(max-width:900px){
 .home-hero{background:linear-gradient(180deg,#efd8f2 0,#d8c3ef 100%)}
 .hero-grid-new{display:grid;grid-template-columns:1fr}.hero-copy{width:100%;min-height:auto;padding:45px 18px 24px}.hero-world{position:relative;right:auto;width:100%;min-height:320px;height:320px;border-radius:25px;background-position:center}.hero-world:before{background:linear-gradient(180deg,rgba(216,195,239,.65),transparent 28%)}
 .category-float{width:min(100% - 28px,1270px)}
}
@media(max-width:650px){
 .wrap{width:min(100% - 20px,1240px)}.nav{height:72px}.brand{font-size:22px}.brand-castle{font-size:31px}
 .hero-copy{padding:38px 6px 22px}.hero-copy h1{font-size:46px}.hero-copy p{font-size:16px}.hero-world{min-height:260px;height:260px;background-position:44% center}
 .category-float{width:calc(100% - 20px);margin-top:-15px}.create-panel{min-height:390px}.image-cover{height:225px}
}

/* ===== Rozpravkoland v1.3 – full-bleed storybook hero + floating header ===== */
@media(min-width:901px){
  body{padding-top:14px;background:#f7f5fb}
  .topbar{
    position:sticky;top:14px;z-index:50;
    width:calc(100% - 28px);margin:0 14px;
    border-radius:30px;
    background:rgba(255,255,255,.97);
    box-shadow:0 14px 38px rgba(38,34,81,.12);
    border:1px solid rgba(109,92,182,.07);
    overflow:visible;
  }
  .nav{height:82px}
  main{margin-top:14px}
}

.home-hero{
  position:relative;
  min-height:470px;
  overflow:hidden;
  background:linear-gradient(105deg,#f3dcf3 0%,#ead7f4 27%,#d5bdf0 43%,#8470da 100%);
}
.home-hero:before{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:
    radial-gradient(circle at 9% 18%,rgba(255,255,255,.72),transparent 27%),
    linear-gradient(90deg,rgba(249,226,244,.97) 0%,rgba(243,220,243,.92) 24%,rgba(234,215,244,.58) 35%,rgba(234,215,244,.10) 47%,transparent 57%);
}
.hero-grid-new{min-height:470px;position:relative;z-index:4;display:block}
.hero-copy{
  width:39%;min-height:470px;padding:52px 0 74px;
  display:flex;flex-direction:column;justify-content:center;
  color:#252966;position:relative;z-index:5;
}
.hero-copy h1{font-size:clamp(55px,5vw,78px);line-height:.96;margin:15px 0 22px}
.hero-copy p{max-width:500px;font-size:18px;line-height:1.7}
.hero-kicker{font-size:14px}
.hero-mini{gap:18px;font-size:12px}

.hero-world{
  position:absolute;z-index:1;top:0;bottom:0;right:0;
  width:76%;height:100%;min-height:470px;margin:0;border-radius:0;
  background-image:url('/assets/img/hero-world.webp');
  background-repeat:no-repeat;background-size:cover;background-position:left center;
  overflow:hidden;box-shadow:none;border:0;
}
.hero-world:before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(236,216,244,.72) 0%,rgba(236,216,244,.24) 14%,transparent 31%);
}
.hero-world:after{display:none}
.hero-sparkles{display:none}

.category-float{
  margin-top:-37px;z-index:10;
  width:min(1275px,calc(100% - 64px));
  border-radius:22px;
  box-shadow:0 18px 42px rgba(39,33,76,.15);
}
.home-content{padding-top:45px}

@media(max-width:1180px) and (min-width:901px){
  .hero-copy{width:43%}
  .hero-world{width:73%;background-position:8% center}
  .hero-copy h1{font-size:58px}
}

@media(max-width:900px){
  body{padding-top:0}
  .topbar{width:100%;margin:0;border-radius:0;top:0}
  main{margin-top:0}
  .home-hero{min-height:auto;background:linear-gradient(180deg,#f2dcf3,#d8c4ef)}
  .home-hero:before{background:linear-gradient(180deg,rgba(245,225,244,.86) 0%,rgba(245,225,244,.4) 36%,transparent 58%)}
  .hero-grid-new{min-height:auto}
  .hero-copy{width:100%;min-height:auto;padding:42px 18px 28px}
  .hero-world{position:relative;top:auto;right:auto;bottom:auto;width:100%;height:330px;min-height:330px;background-position:left center;background-size:cover}
  .hero-world:before{background:linear-gradient(180deg,rgba(216,195,239,.5),transparent 28%)}
}

/* v1.4 brand + consistent SVG icons */
.brand{gap:10px}.brand-logo{width:44px;height:44px;display:block;flex:0 0 44px;filter:drop-shadow(0 5px 8px rgba(42,37,104,.13))}.brand>span{display:inline-block}.brand>span>span{color:var(--pink)}
.ui-icon{width:20px;height:20px;display:inline-block;vertical-align:-4px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.ghost.bright{gap:8px}.ghost.bright .wand-icon{color:#624fd0;width:19px;height:19px}.category-svg{display:grid!important;place-items:center;width:32px;height:32px}.category-svg .wand-icon{width:30px;height:30px;color:#7057d7;stroke-width:1.7}@media(max-width:650px){.brand-logo{width:36px;height:36px;flex-basis:36px}}

/* ===== Rozpravkoland v1.5 – brand polish, bedtime art and real mobile layout ===== */
:root{
  --brand-navy:#202765;
  --brand-pink:#f22f83;
  --brand-orange:#ff8d3b;
  --brand-yellow:#ffc83d;
  --brand-blue:#3a8df4;
}

/* Brand text exactly as a playful wordmark – not one flat color */
.brand{gap:10px;color:var(--brand-navy);font-weight:950;letter-spacing:-1px}
.brand-word{display:inline-flex!important;align-items:baseline;line-height:1;white-space:nowrap}
.brand-main{color:var(--brand-navy)!important}
.brand-land{display:inline-flex!important;margin-left:0}
.brand-land i{font-style:normal;display:inline-block}
.brand-land i:nth-child(1){color:var(--brand-pink)}
.brand-land i:nth-child(2){color:var(--brand-orange)}
.brand-land i:nth-child(3){color:var(--brand-yellow)}
.brand-land i:nth-child(4){color:var(--brand-blue)}
.brand-logo{width:48px;height:48px;flex-basis:48px}

/* Header spacing */
@media(min-width:901px){
  .topbar{width:min(1480px,calc(100% - 30px));margin-left:auto;margin-right:auto}
  .nav{padding:0 20px}
}

/* Bedtime CTA – owl is now transparent and part of the scene */
.bedtime-strip{padding:58px 0 74px;background:linear-gradient(180deg,#fff 0%,#f7f3ff 100%)}
.bedtime-inner{
  min-height:340px;position:relative;overflow:hidden;
  grid-template-columns:minmax(0,1fr) 390px;
  padding:48px 56px;
  border-radius:34px;
  background:
    radial-gradient(circle at 86% 12%,rgba(255,245,175,.42),transparent 20%),
    linear-gradient(120deg,#ffffff 0%,#ffffff 58%,#f0e9ff 58%,#dcd0ff 100%);
}
.bedtime-inner:after{content:"";position:absolute;right:0;bottom:0;width:44%;height:100%;background:radial-gradient(circle at 55% 36%,rgba(255,255,255,.75),transparent 32%);pointer-events:none}
.bedtime-copy{position:relative;z-index:2}
.bedtime-copy h2{max-width:760px}
.bedtime-copy .pill{gap:8px}
.owl-art{position:relative;align-self:stretch;display:flex;align-items:flex-end;justify-content:center;min-height:245px;z-index:2}
.owl-art img{width:315px;max-width:none;display:block;position:relative;z-index:3;filter:drop-shadow(0 18px 18px rgba(52,43,89,.18))}
.owl-glow{position:absolute;width:280px;height:185px;border-radius:50%;bottom:24px;background:radial-gradient(circle,#fff 0%,rgba(255,255,255,.72) 42%,rgba(255,255,255,0) 72%);z-index:1}
.owl-star{position:absolute;z-index:4;color:#ffd861;filter:drop-shadow(0 3px 6px rgba(117,84,182,.2))}
.star-a{right:48px;top:24px;font-size:30px}.star-b{left:42px;top:58px;font-size:21px}.star-c{right:82px;bottom:74px;font-size:24px}

/* Keep homepage cards roomy */
.featured-grid .story-card{min-width:0}
.premium-card .story-body{min-height:168px}
.premium-card p{min-height:58px}

/* ===== Mobile is a deliberate layout, not a shrunken desktop ===== */
@media(max-width:900px){
  body{background:#fff;padding-top:0}
  .wrap{width:min(100% - 28px,760px)}
  .topbar{
    position:sticky;top:0;width:100%;margin:0;border-radius:0;
    background:rgba(255,255,255,.98);box-shadow:0 5px 18px rgba(38,34,81,.09);
    border:0;backdrop-filter:blur(16px)
  }
  .nav{height:68px;padding:0 14px;gap:10px}
  .brand{font-size:22px;gap:7px;min-width:0;flex:1}
  .brand-logo{width:39px;height:39px;flex-basis:39px}
  .brand-word{overflow:visible}
  .nav-tools{display:flex;gap:7px;margin-left:auto}
  .nav-tools .nav-search,.nav-tools .pill{display:none!important}
  .nav-tools .night-switch{display:grid!important;place-items:center;width:40px;height:40px;font-size:20px;background:#f5f3fb}
  .menu-btn{display:flex!important;width:42px;height:42px;border-radius:13px;align-items:center;justify-content:center;flex-direction:column;gap:5px;background:#fff;border:1px solid #ece8f4;padding:0;box-shadow:0 4px 12px rgba(43,35,80,.05);z-index:61}
  .menu-btn span{width:19px;height:2px;border-radius:2px;background:#252966;transition:.22s}
  .menu-btn.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .menu-btn.open span:nth-child(2){opacity:0}
  .menu-btn.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .topbar nav{
    display:none;position:fixed;left:12px;right:12px;top:76px;
    padding:12px;background:#fff;border:1px solid #ece8f4;border-radius:22px;
    box-shadow:0 18px 45px rgba(35,32,78,.16);z-index:60;flex-direction:column;gap:4px;align-items:stretch
  }
  .topbar nav.open{display:flex}
  .topbar nav a{display:flex;align-items:center;min-height:48px;padding:0 15px!important;border-radius:14px;font-size:15px!important}
  .topbar nav a:hover,.topbar nav a.active{background:#fff0f7;color:#ed2e7d}
  .topbar nav a.active:after{display:none}
  body.menu-open{overflow:hidden}

  .home-hero{display:flex;flex-direction:column;min-height:0;background:#fff;overflow:hidden}
  .home-hero:before{display:none}
  .hero-world{
    order:1;position:relative;top:auto;right:auto;width:100%;height:285px;min-height:285px;
    background-size:cover;background-position:47% 50%;border-radius:0;margin:0
  }
  .hero-world:before{background:linear-gradient(180deg,rgba(33,39,101,.05),transparent 25%)}
  .hero-grid-new{order:2;display:block;min-height:0;width:100%;padding:0}
  .hero-copy{
    width:calc(100% - 24px);min-height:0;margin:-28px auto 0;padding:25px 20px 23px;
    border-radius:28px 28px 0 0;background:#fff;text-align:center;align-items:center;
    box-shadow:0 -8px 26px rgba(44,35,91,.08)
  }
  .hero-kicker{font-size:11px;color:#6e58c3;background:#f6f1ff;border:1px solid #eee5ff;border-radius:999px;padding:6px 10px}
  .hero-copy h1{font-size:39px;line-height:.98;margin:12px 0 13px;color:#232966}
  .hero-copy h1 strong{display:block;color:#ef2f7f}
  .hero-copy p{font-size:14px;line-height:1.55;max-width:430px;color:#69677d}
  .hero-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:17px 0 10px}
  .hero-actions>a{width:100%;padding:12px 10px!important;font-size:12px;border-radius:18px;white-space:nowrap}
  .hero-mini{justify-content:center;gap:7px 12px;font-size:10px;color:#77758d;margin-top:7px}

  .category-float{
    width:calc(100% - 24px);height:auto;margin:12px auto 0;padding:6px;
    display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:6px;border-radius:20px;
    box-shadow:0 8px 26px rgba(39,33,76,.11);scrollbar-width:none
  }
  .category-float::-webkit-scrollbar{display:none}
  .category-float a{flex:0 0 92px;min-height:78px;border:0!important;border-radius:15px;scroll-snap-align:start;padding:8px 6px;font-size:9px;background:#fff}
  .category-float a:hover{transform:none;background:#faf8ff}
  .category-float b,.category-svg{font-size:26px!important;width:28px!important;height:28px!important}
  .category-svg .wand-icon{width:26px;height:26px}

  .home-content{padding:31px 0 42px}
  .home-layout{display:flex;flex-direction:column;gap:24px}
  .home-main{width:100%}
  .section-head.compact{display:flex;align-items:flex-end;margin-bottom:17px}
  .section-head.compact h2{font-size:25px;line-height:1.05}
  .section-head.compact p{font-size:11px;margin-top:6px}
  .section-head.compact>a{font-size:11px;white-space:nowrap}
  .featured-grid{grid-template-columns:1fr!important;gap:16px}
  .image-cover{height:230px}
  .premium-card{border-radius:20px}
  .premium-card .story-body{padding:17px;min-height:0}
  .premium-card h3{font-size:20px}
  .premium-card p{font-size:13px;min-height:0}
  .card-foot{font-size:11px}

  .create-panel{order:2;width:100%;min-height:390px;border-radius:24px}
  .create-panel-art{background-position:center 70%}
  .create-panel-content{padding:28px 24px}
  .create-panel h2{font-size:28px;max-width:280px}
  .create-panel li{font-size:13px;margin:14px 0}
  .create-panel .pill{font-size:14px;padding:14px}

  .benefit-row{grid-template-columns:1fr 1fr;gap:9px;margin-top:17px}
  .benefit-row>div{padding:11px 10px;border-radius:15px;align-items:flex-start}
  .benefit-row i{width:32px;height:32px;flex:0 0 32px;font-size:15px}
  .benefit-row b{font-size:10.5px}.benefit-row span{font-size:8.5px;line-height:1.35}

  .bedtime-strip{padding:28px 0 55px}
  .bedtime-inner{
    min-height:0;display:flex;flex-direction:column;padding:0;gap:0;border-radius:26px;
    background:linear-gradient(180deg,#f2eaff 0%,#ffffff 52%);overflow:hidden
  }
  .owl-art{order:0;width:100%;min-height:220px;background:radial-gradient(circle at 50% 60%,#fff 0 30%,transparent 62%),linear-gradient(180deg,#d9ccff 0%,#eee8ff 100%);align-items:flex-end}
  .owl-art img{width:245px;max-width:78%;margin-bottom:-4px}
  .owl-glow{width:230px;height:140px;bottom:10px}
  .bedtime-copy{order:1;padding:27px 22px 30px;text-align:center}
  .bedtime-copy .eyebrow{font-size:11px}
  .bedtime-inner h2{font-size:28px;line-height:1.08;margin-top:12px}
  .bedtime-inner p{font-size:13px;line-height:1.6}
  .bedtime-copy .pill{width:100%;margin-top:6px}

  footer{margin-top:0;padding-top:42px}
  .footer-grid{grid-template-columns:1fr;gap:26px}
}

@media(max-width:420px){
  .wrap{width:calc(100% - 20px)}
  .brand{font-size:19px}.brand-logo{width:36px;height:36px;flex-basis:36px}
  .nav{padding:0 10px}
  .hero-world{height:245px;min-height:245px;background-position:49% center}
  .hero-copy{width:calc(100% - 16px);padding-left:15px;padding-right:15px}
  .hero-copy h1{font-size:35px}
  .hero-actions{grid-template-columns:1fr}
  .hero-actions>a{font-size:13px}
  .hero-mini span:nth-child(3){display:none}
  .category-float{width:calc(100% - 16px)}
  .section-head.compact>a{display:none}
  .image-cover{height:205px}
  .benefit-row{grid-template-columns:1fr}
  .create-panel{min-height:410px}
  .bedtime-inner h2{font-size:25px}
}


/* ===== Rozpravkoland v1.6 – owl belongs inside Premium card ===== */
.create-panel{
  min-height:610px;
  overflow:hidden;
  position:relative;
  isolation:isolate;
}
.create-panel-art{
  background:
    linear-gradient(180deg,rgba(72,51,177,.50) 0%,rgba(54,39,147,.78) 52%,rgba(31,24,95,.97) 100%),
    url('/assets/img/premium-world.webp') center 62%/cover no-repeat;
}
.create-panel-content{
  min-height:610px;
  display:flex;
  flex-direction:column;
  padding:28px 24px 0;
}
.create-panel h2{font-size:26px;max-width:250px;margin-bottom:20px}
.create-panel ul{margin-bottom:16px}
.create-panel .pill{position:relative;z-index:5;margin-top:4px}
.create-panel small{position:relative;z-index:5;margin-top:8px}
.create-panel-owl{
  position:relative;
  z-index:3;
  height:220px;
  margin:4px -24px 0;
  overflow:hidden;
  flex:1 0 220px;
}
.create-panel-owl:before{
  content:"";
  position:absolute;
  inset:10px 0 0;
  background:linear-gradient(180deg,rgba(42,31,124,0),rgba(42,31,124,.16));
}
.create-panel-owl img{
  position:absolute;
  z-index:2;
  width:180px;
  max-width:none;
  left:50%;
  bottom:-8px;
  transform:translateX(-50%);
  filter:drop-shadow(0 12px 18px rgba(18,12,66,.28));
}
.create-panel-owl-glow{
  position:absolute;
  width:230px;height:115px;
  left:50%;bottom:3px;transform:translateX(-50%);
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,237,184,.32),rgba(255,255,255,0) 68%);
}
.create-owl-star{position:absolute;z-index:4;color:#ffe58b;text-shadow:0 0 12px rgba(255,227,118,.7)}
.create-owl-star.star-one{right:28px;top:48px;font-size:22px}
.create-owl-star.star-two{left:28px;top:86px;font-size:13px}
.bedtime-inner{grid-template-columns:1fr;min-height:260px}
.bedtime-copy{max-width:850px}
.owl-art{display:none!important}

@media(max-width:1180px){
  .create-panel{min-height:570px}
  .create-panel-content{min-height:570px}
  .create-panel-owl{height:205px;flex-basis:205px}
  .create-panel-owl img{width:170px}
}
@media(max-width:900px){
  .create-panel{min-height:590px}
  .create-panel-content{min-height:590px}
  .create-panel-owl{height:235px;flex-basis:235px}
  .create-panel-owl img{width:190px}
}
@media(max-width:650px){
  .create-panel{min-height:555px}
  .create-panel-content{min-height:555px;padding:26px 22px 0}
  .create-panel-owl{margin:5px -22px 0;height:205px;flex-basis:205px}
  .create-panel-owl img{width:170px}
  .bedtime-inner{padding:28px 22px;min-height:0}
}


/* ===== Rozpravkoland v1.7 – CLEAN HOMEPAGE RESET ===== */
/* Desktop header belongs at top; it must not float over the page while scrolling. */
@media(min-width:901px){
  body{padding-top:14px}
  .topbar{position:relative!important;top:auto!important;left:auto!important;right:auto!important}
  main{margin-top:14px!important}
}

/* Compact story + Premium composition matching the approved mockup. */
.home-content{padding:42px 0 58px!important;background:#fff}
.home-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 300px!important;
  gap:22px!important;
  align-items:start!important;
}
.home-main{min-width:0}
.featured-grid{gap:18px!important}
.featured-grid .story-card{height:auto!important}
.premium-card .story-body{min-height:150px!important}
.benefit-row{margin-top:18px!important}

.create-panel{
  width:100%!important;
  min-height:0!important;
  height:100%!important;
  max-height:none!important;
  border-radius:24px!important;
  overflow:hidden!important;
  position:relative!important;
  align-self:stretch!important;
  background:#362495!important;
  box-shadow:0 16px 38px rgba(46,34,120,.18)!important;
}
.create-panel-art{
  position:absolute!important;inset:0!important;
  background:
    linear-gradient(180deg,rgba(69,48,177,.42) 0%,rgba(57,40,153,.72) 52%,rgba(31,24,95,.96) 100%),
    url('/assets/img/premium-world.webp') center 55%/cover no-repeat!important;
}
.create-panel-content{
  position:relative!important;z-index:2!important;
  min-height:0!important;height:100%!important;
  padding:25px 22px 0!important;
  display:flex!important;flex-direction:column!important;
}
.create-panel h2{font-size:25px!important;line-height:1.08!important;max-width:250px!important;margin:3px 0 17px!important}
.create-panel ul{margin:0 0 14px!important}
.create-panel li{font-size:12px!important;margin:11px 0!important}
.create-panel .pill{margin-top:2px!important;padding:12px 14px!important}
.create-panel small{margin-top:7px!important;font-size:9.5px!important}
.create-panel-owl{
  position:relative!important;flex:1 1 auto!important;
  min-height:145px!important;height:auto!important;
  margin:2px -22px 0!important;overflow:hidden!important;
}
.create-panel-owl img{
  width:145px!important;left:50%!important;bottom:-8px!important;
  transform:translateX(-50%)!important;
  filter:drop-shadow(0 10px 16px rgba(18,12,66,.28))!important;
}
.create-panel-owl-glow{width:185px!important;height:90px!important;bottom:2px!important}
.create-owl-star.star-one{right:24px!important;top:32px!important;font-size:18px!important}
.create-owl-star.star-two{left:24px!important;top:64px!important;font-size:11px!important}

/* The rejected large bedtime block no longer belongs on the homepage. */
.bedtime-strip{display:none!important}

@media(max-width:1180px) and (min-width:901px){
  .home-layout{grid-template-columns:minmax(0,1fr) 280px!important;gap:18px!important}
  .create-panel h2{font-size:23px!important}
  .create-panel-owl img{width:135px!important}
}

/* Mobile: normal document flow, no giant heights and no desktop gaps. */
@media(max-width:900px){
  body{padding-top:0!important}
  .topbar{position:sticky!important;top:0!important}
  main{margin-top:0!important}
  .home-layout{display:flex!important;flex-direction:column!important;gap:22px!important}
  .create-panel{height:auto!important;min-height:500px!important;align-self:auto!important}
  .create-panel-content{min-height:500px!important;height:auto!important;padding:26px 22px 0!important}
  .create-panel-owl{min-height:185px!important;margin:4px -22px 0!important}
  .create-panel-owl img{width:165px!important}
  .home-content{padding-bottom:40px!important}
}
@media(max-width:420px){
  .create-panel{min-height:485px!important}
  .create-panel-content{min-height:485px!important}
  .create-panel h2{font-size:25px!important}
  .create-panel-owl{min-height:170px!important}
  .create-panel-owl img{width:155px!important}
}


/* ===== Rozpravkoland v1.8 – approved mockup premium card ===== */
.home-layout{align-items:start}
.create-panel{
  min-height:568px!important;
  height:568px;
  border-radius:24px;
  background:linear-gradient(180deg,#4034c8 0%,#4a36cf 44%,#392baf 100%);
  overflow:hidden;
  box-shadow:0 16px 34px rgba(48,39,135,.18);
}
.create-panel-art{
  background:
    radial-gradient(circle at 88% 10%,rgba(255,226,112,.16),transparent 16%),
    linear-gradient(180deg,rgba(72,55,205,.18),rgba(45,34,153,.34)),
    url('/assets/img/premium-world.webp') center 45%/cover no-repeat;
  opacity:.72;
}
.create-panel-content{
  min-height:568px!important;
  height:568px;
  padding:24px 20px 0;
  display:flex;
  flex-direction:column;
}
.create-panel h2{
  font-size:27px;
  line-height:1.08;
  max-width:260px;
  margin:0 0 17px;
}
.create-panel h2::first-line{color:#fff}
.create-panel ul{margin:0 0 12px}
.create-panel li{font-size:12px;margin:10px 0;line-height:1.25}
.create-panel .pill{margin-top:4px;padding:13px 15px}
.create-panel small{margin-top:7px;font-size:9px}
.create-panel-owl.approved-owl{
  position:relative;
  margin:auto -20px 0;
  height:238px;
  flex:0 0 238px;
  overflow:hidden;
  background:transparent;
}
.create-panel-owl.approved-owl img{
  position:absolute;
  width:100%;
  height:100%;
  inset:0;
  object-fit:cover;
  object-position:center;
  transform:none;
  filter:none;
}
.create-panel-owl-glow,.create-owl-star{display:none!important}

@media(max-width:1180px){
 .create-panel,.create-panel-content{height:545px;min-height:545px!important}
 .create-panel-owl.approved-owl{height:220px;flex-basis:220px}
}
@media(max-width:900px){
 .create-panel,.create-panel-content{height:auto;min-height:555px!important}
 .create-panel-owl.approved-owl{height:235px;flex-basis:235px}
}
@media(max-width:650px){
 .create-panel{border-radius:22px}
 .create-panel-content{padding:24px 20px 0}
 .create-panel h2{font-size:26px}
 .create-panel li{font-size:12px;margin:10px 0}
 .create-panel-owl.approved-owl{margin:auto -20px 0;height:220px;flex-basis:220px}
}


/* ===== Rozpravkoland v1.9 – true transparent owl, no pasted rectangle ===== */
.create-panel{
  min-height:570px!important;
  height:570px;
}
.create-panel-content{
  min-height:570px!important;
  height:570px;
}
.create-panel-owl.approved-owl{
  position:relative;
  height:205px;
  flex:0 0 205px;
  margin:auto -20px 0;
  overflow:visible;
  background:
    radial-gradient(ellipse at 50% 92%,rgba(255,225,150,.20),rgba(255,255,255,0) 55%);
}
.create-panel-owl.approved-owl:before,
.create-panel-owl.approved-owl:after{
  content:"";
  position:absolute;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  filter:blur(1px);
}
.create-panel-owl.approved-owl:before{width:92px;height:24px;left:16px;bottom:11px}
.create-panel-owl.approved-owl:after{width:78px;height:20px;right:12px;bottom:18px}
.create-panel-owl.approved-owl img{
  position:absolute;
  z-index:3;
  width:178px;
  height:auto;
  max-width:none;
  left:50%;
  bottom:4px;
  transform:translateX(-50%);
  object-fit:contain;
  filter:drop-shadow(0 13px 14px rgba(15,10,64,.30));
}
@media(max-width:1180px){
 .create-panel,.create-panel-content{height:550px;min-height:550px!important}
 .create-panel-owl.approved-owl{height:190px;flex-basis:190px}
 .create-panel-owl.approved-owl img{width:165px}
}
@media(max-width:900px){
 .create-panel,.create-panel-content{height:auto;min-height:555px!important}
 .create-panel-owl.approved-owl{height:205px;flex-basis:205px}
 .create-panel-owl.approved-owl img{width:175px}
}

/* v1.10: owl removed completely */
.create-panel-owl{display:none!important}.create-panel,.create-panel-content{height:auto!important;min-height:440px!important}


/* ===== Rozpravkoland v1.11 – discovery categories + unified footer brand ===== */
.discover-section{padding:54px 0 64px;background:linear-gradient(180deg,#faf9ff 0%,#fff 100%)}
.discover-head{margin-bottom:25px}
.discover-head h2{font-size:34px;margin:8px 0 6px;color:#22286f}
.discover-head p{color:#7d7b91;margin:0}
.discover-block{margin-top:28px}
.discover-block h3{font-size:20px;color:#22286f;margin:0 0 15px}
.discover-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.discover-grid a{display:flex;min-height:120px;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:#fff;border:1px solid #ebe8f5;border-radius:22px;padding:18px;box-shadow:0 9px 25px rgba(54,47,105,.06);transition:.2s transform,.2s box-shadow}
.discover-grid a:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(54,47,105,.11)}
.discover-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#f4f0ff;font-size:27px;margin-bottom:9px}
.discover-icon.baby{font-size:0}.discover-icon.baby:after{content:"🍼";font-size:27px}
.discover-grid b{font-size:14px;color:#25286b}.discover-grid small{margin-top:4px;color:#8b899b}
.theme-chips{display:flex;flex-wrap:wrap;gap:11px}
.theme-chips a{background:#fff;border:1px solid #e8e5f2;border-radius:999px;padding:12px 17px;color:#2d2c6e;font-weight:700;font-size:13px;box-shadow:0 6px 18px rgba(55,47,104,.05)}
.theme-chips a:hover{border-color:#f3a1c6;background:#fff7fb}
footer .brand-logo{width:46px;height:46px}
footer .brand-word{font-size:28px}
footer .brand-main{color:#fff}
footer .brand-land i:nth-child(1){color:#ff3d8d}
footer .brand-land i:nth-child(2){color:#ff7b43}
footer .brand-land i:nth-child(3){color:#ffd33d}
footer .brand-land i:nth-child(4){color:#49a8ff}

@media(max-width:800px){
 .discover-section{padding:38px 0 45px}
 .discover-head h2{font-size:28px}
 .discover-grid{grid-template-columns:1fr 1fr;gap:10px}
 .discover-grid a{min-height:105px;padding:14px 9px;border-radius:18px}
 .theme-chips{gap:8px}
 .theme-chips a{padding:10px 13px;font-size:12px}
}


/* ===== Rozpravkoland v1.20 – filled library & polished discovery ===== */
.discover-section{padding:58px 0 70px;background:
 radial-gradient(circle at 12% 15%,rgba(255,207,231,.28),transparent 28%),
 radial-gradient(circle at 86% 12%,rgba(174,191,255,.22),transparent 30%),
 linear-gradient(180deg,#fbfaff,#fff)}
.discover-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}
.discover-head h2{font-size:38px;letter-spacing:-1.2px;margin:8px 0;color:#20276f}
.discover-head p{font-size:15px;max-width:650px}
.discover-block{background:rgba(255,255,255,.72);border:1px solid rgba(222,216,242,.72);border-radius:28px;padding:22px;box-shadow:0 14px 40px rgba(50,42,98,.06);backdrop-filter:blur(5px)}
.discover-block+.discover-block{margin-top:18px}
.discover-block h3{margin:0 0 16px;font-size:19px}
.audience-grid{gap:14px}
.audience-grid a{position:relative;overflow:hidden;min-height:138px;border:0;background:linear-gradient(145deg,#fff,#faf8ff);box-shadow:0 9px 28px rgba(46,40,90,.08)}
.audience-grid a:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#ff4b9a,#8e6df2,#57b9ff)}
.audience-grid a:nth-child(2):before{background:linear-gradient(90deg,#ffbe58,#ff7e88)}
.audience-grid a:nth-child(3):before{background:linear-gradient(90deg,#6ec7ff,#7d78ef)}
.audience-grid a:nth-child(4):before{background:linear-gradient(90deg,#9b7cf4,#ff79b0)}
.discover-icon{width:58px;height:58px;border-radius:20px;font-size:30px;background:linear-gradient(145deg,#f5f1ff,#fff);box-shadow:inset 0 0 0 1px #ebe6fb,0 7px 18px rgba(75,57,139,.08)}
.discover-grid b{font-size:15px;margin-top:3px;text-decoration:none}
.discover-grid small{font-size:12px}
.theme-chips{gap:10px}
.theme-chips a{position:relative;overflow:hidden;border:1px solid #ece7f7;background:#fff;padding:12px 17px;font-size:13px;text-decoration:none;transition:.18s}
.theme-chips a:hover{transform:translateY(-2px);border-color:#f29ac3;box-shadow:0 10px 24px rgba(68,52,128,.1)}
.library-filter{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:20px;padding:12px 15px;border-radius:18px;background:#f6f2ff;color:#625b83;font-size:13px}
.library-filter b{background:white;border:1px solid #e8e1f7;border-radius:999px;padding:6px 10px;color:#342d75}
.library-filter a{margin-left:auto;color:#ed2f7b;font-weight:800}
.library-grid{grid-template-columns:repeat(3,1fr);gap:22px}
.library-card{overflow:hidden;border:1px solid #eeeaf5;box-shadow:0 12px 30px rgba(43,36,84,.08)}
.library-cover{height:230px;background-size:cover;background-position:center;position:relative}
.library-card .story-body{padding:17px 18px 19px}
.library-card .story-body h3{font-size:20px;line-height:1.18;margin:8px 0}
.library-card .story-body p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.story-hero-image{height:420px;border-radius:28px;background-size:cover;background-position:center;margin-bottom:18px;box-shadow:0 18px 42px rgba(34,31,76,.12)}
.story-title-card{padding-top:8px}
.story-title-card h1{font-size:42px;line-height:1.08}
.story-content{font-size:18px;line-height:1.82}
.story-content h2{font-size:28px;color:#292d76;margin-top:38px}
@media(max-width:900px){
 .library-grid{grid-template-columns:1fr 1fr}
 .story-hero-image{height:300px;border-radius:22px}
 .story-title-card h1{font-size:34px}
}
@media(max-width:650px){
 .discover-section{padding:38px 0 48px}
 .discover-head h2{font-size:29px}
 .discover-block{padding:14px;border-radius:21px}
 .audience-grid{grid-template-columns:1fr 1fr}
 .audience-grid a{min-height:120px}
 .discover-icon{width:50px;height:50px;border-radius:17px;font-size:26px}
 .library-grid{grid-template-columns:1fr}
 .library-cover{height:220px}
 .story-hero-image{height:220px;border-radius:18px}
 .story-title-card h1{font-size:30px}
 .story-content{font-size:17px;line-height:1.75}
}

/* illustrated age selector v1.20 */
.illustrated-audience a{display:block!important;padding:0!important;min-height:0!important;text-align:left!important}
.illustrated-audience .age-art{display:block;height:132px;background-size:cover;background-position:center;border-radius:22px 22px 0 0}
.illustrated-audience .age-copy{display:flex;flex-direction:column;align-items:center;text-align:center;padding:13px 12px 15px}
.illustrated-audience .age-copy b{font-size:15px;color:#25286b}
.illustrated-audience .age-copy small{font-size:12px;color:#7f7897;margin-top:4px}
.illustrated-audience .age-copy em{font-style:normal;font-size:10.5px;color:#9a94aa;margin-top:7px}
@media(max-width:650px){
 .illustrated-audience .age-art{height:105px}
 .illustrated-audience .age-copy{padding:10px 8px 12px}
 .illustrated-audience .age-copy b{font-size:13px}
 .illustrated-audience .age-copy em{display:none}
}
