/* Dorszolandia v24 PREMIUM VISUAL REDESIGN
   Uses user-supplied Dorszolandia artwork as the visual language while preserving v23.1.1 functionality. */
:root{
  --v24-blue:#087fd1;
  --v24-deep:#052d75;
  --v24-cyan:#29d8f1;
  --v24-gold:#ffd94a;
  --v24-glass:rgba(249,254,255,.92);
  --v24-border:rgba(151,231,245,.82);
  --v24-shadow:0 24px 70px rgba(0,50,100,.20);
}
html{scroll-behavior:smooth}
body.premium-v24{
  color:#082b68;
  background:#0c8cca url('../assets/premium/hero-world.webp') center top/cover fixed no-repeat;
  min-height:100vh;
}
body.premium-v24:before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgba(0,142,204,.16),rgba(2,57,111,.34) 55%,rgba(2,38,83,.62));
}
body.premium-v24 main{position:relative}

/* Floating glass navigation, closer to the supplied premium mockup */
body.premium-v24 .topbar{
  top:8px;background:transparent!important;border:0!important;box-shadow:none!important;padding:0 10px;backdrop-filter:none!important;
}
body.premium-v24 .nav{
  width:min(1380px,calc(100% - 10px));height:68px;margin:0 auto;padding:4px 10px;
  background:rgba(250,254,255,.94);border:1px solid rgba(255,255,255,.92);border-radius:25px;
  box-shadow:0 15px 38px rgba(3,57,108,.20);backdrop-filter:blur(22px) saturate(1.25);
}
body.premium-v24 .logo img{width:150px;height:56px;object-fit:contain}
body.premium-v24 .menu{gap:2px;align-items:center}
body.premium-v24 .menu a{font-size:.79rem;font-weight:900;color:#083676;padding:9px 10px}
body.premium-v24 .menu a:hover,body.premium-v24 .menu a.active{background:#e4faff;color:#0075b9;box-shadow:inset 0 0 0 1px #aee8f4}
body.premium-v24 .menu .cta{background:linear-gradient(180deg,#fff377,#ffcd32)!important;color:#143263!important;border:1px solid #f6bd22!important;padding-inline:14px!important}

/* Homepage hero uses the supplied 16:9 premium art, not a generic background. */
body.page-home .premium-home-hero{padding:18px 0 26px!important;background:transparent!important}
body.page-home .hero-v22-shell{width:min(1536px,calc(100% - 24px));border-radius:34px;overflow:visible}
body.page-home .hero-v22 .hero-img{border-radius:34px!important;border:2px solid rgba(255,255,255,.92);box-shadow:var(--v24-shadow)!important}
body.page-home .hero-v22 .hero-img img{aspect-ratio:16/9!important;object-fit:cover!important;max-height:none!important}
body.page-home .hero-v22-overlay{
  bottom:18px;width:min(1130px,calc(100% - 44px));border:1px solid rgba(255,255,255,.94);
  background:rgba(248,254,255,.91);box-shadow:0 17px 42px rgba(0,51,96,.24);border-radius:24px;
}
body.page-home .hero-v22-stats span{background:rgba(225,250,255,.96)}

/* Premium page banners from the supplied graphics */
.visual-page-hero{padding:18px 0 18px;position:relative;background:transparent!important}
.visual-hero-frame{
  width:min(1536px,calc(100% - 24px));margin:0 auto;position:relative;overflow:hidden;border-radius:32px;
  border:2px solid rgba(255,255,255,.92);box-shadow:var(--v24-shadow);background:#0799d1;
}
.visual-page-hero--banner .visual-hero-frame img{display:block;width:100%;height:auto;aspect-ratio:3/1;object-fit:cover;object-position:center}
.visual-page-hero--world .visual-hero-frame img{display:block;width:100%;height:clamp(310px,40vw,620px);object-fit:cover;object-position:center 48%}
.visual-world-title{
  position:absolute;left:clamp(18px,4vw,58px);bottom:clamp(18px,4vw,54px);max-width:min(700px,78%);
  padding:13px 20px;border-radius:22px;background:rgba(249,254,255,.91);border:1px solid rgba(255,255,255,.96);
  box-shadow:0 14px 34px rgba(3,58,108,.22);backdrop-filter:blur(16px);
}
.visual-world-title span{font-size:clamp(1.65rem,3.6vw,3.25rem);font-weight:1000;letter-spacing:-.04em;color:#07337a;text-shadow:0 1px 0 #fff}
.visual-hero-intro{
  margin-top:-18px!important;position:relative;z-index:3;padding:18px 24px 20px!important;border-radius:24px;
  background:var(--v24-glass);border:1px solid rgba(255,255,255,.95);box-shadow:0 15px 36px rgba(2,58,108,.14);backdrop-filter:blur(18px) saturate(1.18);
}
.visual-hero-intro .breadcrumbs{margin:0 0 4px;color:#297197;font-size:.82rem}.visual-hero-intro .breadcrumbs a{color:inherit;font-weight:900}
.visual-hero-intro .kicker{margin-top:3px}.visual-hero-intro h1{margin:.08em 0 .18em;font-size:clamp(1.65rem,3.5vw,2.65rem);color:#072f72}
.visual-hero-intro .lead{margin:0;max-width:980px;color:#315f7b}

/* Glass cards on top of the ocean rather than flat full-width white blocks */
body.premium-v24 .subpage-main>.section,body.premium-v24 .premium-cast-section,body.premium-v24 .home-hub{background:transparent!important;padding-top:22px!important;padding-bottom:28px!important}
body.premium-v24 .subpage-main>.section>.wrap,body.premium-v24 .premium-cast-section>.wrap,body.premium-v24 .home-hub>.wrap{
  padding:clamp(18px,2.4vw,34px)!important;border-radius:30px;background:rgba(249,254,255,.94);
  border:1px solid rgba(255,255,255,.94);box-shadow:0 20px 52px rgba(0,52,100,.18);backdrop-filter:blur(15px) saturate(1.12);
}
body.premium-v24 .section.tint>.wrap{background:rgba(237,252,255,.94)}
body.premium-v24 .section h1,body.premium-v24 .section h2{color:#062e72}

/* Home becomes a visual portal: use supplied subpage art directly in the cards. */
body.page-home .home-hub{padding-top:8px!important}
body.page-home .home-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.page-home .home-hub-card{
  min-height:0;padding:0;overflow:hidden;border-radius:24px;background:#fff;border:1px solid var(--v24-border);
  box-shadow:0 12px 30px rgba(3,68,118,.12)
}
body.page-home .home-hub-card:hover{transform:translateY(-4px);box-shadow:0 21px 42px rgba(3,68,118,.20)}
.home-hub-media{display:block;aspect-ratio:3/1;overflow:hidden;background:#049bd1}
.home-hub-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .28s ease}
.home-hub-card:hover .home-hub-media img{transform:scale(1.025)}
body.page-home .home-hub-card h3{margin:14px 16px 7px;font-size:1.18rem;color:#073477}
body.page-home .home-hub-card p{margin:0 16px 15px;min-height:44px}
body.page-home .home-hub-card strong{margin:0 16px 16px;display:block;color:#0877ba}
body.page-home .home-banner{border:1px solid rgba(255,255,255,.42);box-shadow:0 15px 34px rgba(0,44,89,.2)}

/* Character and content cards receive richer premium surfaces. */
body.premium-v24 .character-card,body.premium-v24 .main-card,body.premium-v24 .atlas-card,
body.premium-v24 .story-card,body.premium-v24 .atlas-story-card,body.premium-v24 .game-card,
body.premium-v24 .ency-card,body.premium-v24 .shop-product-card,body.premium-v24 .material-card,
body.premium-v24 .place-card{
  border:1px solid rgba(148,224,241,.92)!important;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(235,251,255,.96))!important;
  box-shadow:0 12px 30px rgba(1,65,113,.11)!important;
}
body.premium-v24 .character-card:hover,body.premium-v24 .main-card:hover,body.premium-v24 .atlas-card:hover,
body.premium-v24 .story-card:hover,body.premium-v24 .game-card:hover,body.premium-v24 .shop-product-card:hover{
  transform:translateY(-4px);box-shadow:0 19px 40px rgba(1,65,113,.18)!important
}

/* Residents page follows the attached premium character page more closely. */
body.page-mieszkancy .premium-cast-section>.wrap{background:rgba(245,253,255,.95)}
body.page-mieszkancy .premium-duo .character-card{background:linear-gradient(145deg,#fff,#dcf9ff)!important}
body.page-mieszkancy .atlas-toolbar{padding:9px;border-radius:22px;background:#ecfbff;border:1px solid #b9e9f3}
body.page-mieszkancy .atlas-grid{margin-top:15px}

/* Stories, encyclopedia and games: bright premium content zones below supplied headers */
body.page-przygody #przygody,body.page-gry #gry,body.page-dorszopedia #dorszopedia{background:transparent!important}
body.page-przygody .toolbar,body.page-gry .toolbar,body.page-dorszopedia .toolbar{padding:8px;border-radius:20px;background:#eafaff;border:1px solid #b7e7f1}

/* Creator: keep interaction, visually frame it like the supplied creator design. */
body.page-kreator #kreator>.wrap{background:rgba(244,253,255,.96)!important}
body.page-kreator .creator-layout{background:linear-gradient(180deg,#ecfbff,#fff)!important;border:1px solid #a2e2f0!important;box-shadow:0 20px 50px rgba(0,63,111,.15)!important}
body.page-kreator .creator-stage{background:linear-gradient(rgba(13,147,211,.05),rgba(13,147,211,.05)),url('../assets/premium/hero-world.webp') center/cover!important}
body.page-kreator .creator-panel{background:rgba(255,255,255,.96)!important}

/* Shop stays a plan: premium visual, no fake sales functionality. */
body.page-sklep .shop-plan-note{background:linear-gradient(180deg,#fff8cc,#fff3a9);border-color:#e9c53d;box-shadow:0 8px 20px rgba(181,131,0,.11)}

/* Footer floats as the final ocean panel. */
body.premium-v24 .web-footer{
  margin:22px 12px 12px;border-radius:30px 30px 0 0;overflow:hidden;
  background:linear-gradient(180deg,rgba(4,95,155,.97),rgba(3,43,95,.99))!important;
  border-top:2px solid rgba(71,221,242,.9);box-shadow:0 -16px 50px rgba(0,35,78,.20)
}
body.premium-v24 .build-stamp{color:#c8f4ff}

@media(max-width:1100px){
  body.page-home .home-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.premium-v24 .menu a{font-size:.72rem;padding:8px 7px}
  body.premium-v24 .logo img{width:128px}
}
@media(max-width:760px){
  body.premium-v24{background-attachment:scroll;background-position:center top}
  body.premium-v24 .topbar{top:4px;padding:0 5px}
  body.premium-v24 .nav{width:calc(100% - 2px);height:62px;border-radius:19px;padding:3px 7px}
  body.premium-v24 .logo img{width:118px;height:52px}
  body.page-home .premium-home-hero{padding-top:10px!important}
  body.page-home .hero-v22-shell{width:calc(100% - 12px)}
  body.page-home .hero-v22 .hero-img{border-radius:22px!important}
  body.page-home .hero-v22 .hero-img img{height:auto!important;aspect-ratio:16/10!important;object-fit:cover!important;object-position:center!important}
  body.page-home .hero-v22-overlay{width:calc(100% - 22px);margin-top:-12px!important;border-radius:18px}
  .visual-page-hero{padding-top:10px}
  .visual-hero-frame{width:calc(100% - 12px);border-radius:22px}
  .visual-page-hero--banner .visual-hero-frame img{aspect-ratio:3/1;height:auto;object-fit:contain;background:#059bd3}
  .visual-page-hero--world .visual-hero-frame img{height:280px}
  .visual-world-title{left:12px;bottom:12px;max-width:82%;padding:10px 13px;border-radius:16px}
  .visual-world-title span{font-size:1.6rem}
  .visual-hero-intro{width:calc(100% - 22px)!important;margin-top:-8px!important;padding:14px 15px 16px!important;border-radius:18px}
  .visual-hero-intro h1{font-size:1.55rem}
  body.premium-v24 .subpage-main>.section>.wrap,body.premium-v24 .premium-cast-section>.wrap,body.premium-v24 .home-hub>.wrap{
    width:calc(100% - 14px)!important;padding:15px!important;border-radius:22px
  }
  body.page-home .home-hub-grid{grid-template-columns:1fr;gap:12px}
  .home-hub-media{aspect-ratio:3/1}
  body.page-home .home-hub-card p{min-height:0}
  body.premium-v24 .web-footer{margin-inline:5px;border-radius:22px 22px 0 0}
}
@media(max-width:430px){
  .visual-page-hero--banner .visual-hero-frame img{min-height:120px}
  body.page-home .hero-v22 .hero-img img{aspect-ratio:1.38/1!important}
  .hero-v22-stats{display:none!important}
  body.page-home .hero-v22-overlay{padding:8px!important}
}

/* Homepage secondary destinations */
.home-more-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 0}
.home-more-card{display:flex;align-items:center;gap:12px;padding:13px 16px;border-radius:20px;background:rgba(255,255,255,.9);border:1px solid #b6e7f1;box-shadow:0 8px 20px rgba(3,69,118,.08);color:#08336e;text-decoration:none}
.home-more-card>span{font-size:1.7rem}.home-more-card div{display:grid;gap:2px}.home-more-card b{font-size:.96rem}.home-more-card small{color:#4a7087;font-weight:700}
.home-more-card:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(3,69,118,.14)}
@media(max-width:760px){.home-more-links{grid-template-columns:1fr}.home-more-card{padding:11px 13px}}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* ==============================================================
   DORSZOLANDIA v24.1 — PREMIUM SHOP PLAN POLISH
   Reference: user supplied premium shop mockup. No active sales.
   ============================================================== */
body.page-sklep .shop-premium-plan{background:transparent!important;padding-top:26px}
body.page-sklep .shop-premium-plan>.wrap{
  background:linear-gradient(180deg,rgba(244,253,255,.97),rgba(231,249,255,.95));
  border:1px solid rgba(125,213,235,.8);border-radius:34px;padding:28px;
  box-shadow:0 22px 60px rgba(0,55,101,.14);backdrop-filter:blur(13px)
}
body.page-sklep .shop-premium-head{align-items:center;margin-bottom:22px}
body.page-sklep .shop-premium-head h2{margin:4px 0 8px;color:#063a70;font-size:clamp(1.7rem,2.6vw,2.7rem)}
body.page-sklep .shop-plan-note{display:flex;gap:8px;align-items:flex-start;line-height:1.5}
body.page-sklep .shop-plan-note b{white-space:nowrap}

.shop-category-strip{
  display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;margin:18px 0 30px;
  padding:10px;border-radius:27px;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(231,248,255,.97));
  border:1px solid #b8e4ee;box-shadow:0 14px 32px rgba(0,68,112,.09)
}
.shop-cat-filter{
  min-width:0;border:1px solid #c8e8f0;background:linear-gradient(180deg,#fff,#effaff);color:#0b4a84;
  border-radius:19px;padding:11px 7px 10px;display:flex;flex-direction:column;align-items:center;gap:3px;
  cursor:pointer;transition:.2s ease;box-shadow:0 6px 14px rgba(0,74,125,.05)
}
.shop-cat-filter span{font-size:1.35rem;line-height:1}
.shop-cat-filter b{font-size:.77rem;line-height:1.1}
.shop-cat-filter small{font-size:.62rem;color:#6b8998}
.shop-cat-filter:hover{transform:translateY(-2px);border-color:#61cce3}
.shop-cat-filter.active{background:linear-gradient(180deg,#1daeff,#087bd7);color:#fff;border-color:#087bd7;box-shadow:0 10px 22px rgba(3,120,210,.24)}
.shop-cat-filter.active small{color:#e9faff}

.shop-section-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:12px 2px 18px}
.shop-section-title>div{display:flex;align-items:center;gap:10px}
.shop-section-title h3{margin:0;color:#073f78;font-size:1.35rem}
.shop-section-title p{margin:0;color:#5f7c8a;font-size:.82rem}
.shop-splash{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ffdc55;color:#0d5e9e;font-weight:1000}

.shop-showcase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.shop-premium-card{
  position:relative;overflow:hidden;background:rgba(255,255,255,.98);border:1px solid #bfe6ef;border-radius:25px;
  box-shadow:0 14px 34px rgba(0,54,97,.10);transition:.22s ease
}
.shop-premium-card:hover{transform:translateY(-4px);box-shadow:0 22px 44px rgba(0,54,97,.15)}
.shop-premium-card[hidden]{display:none!important}
.shop-badge{position:absolute;z-index:4;left:12px;top:12px;padding:6px 9px;border-radius:999px;font-size:.62rem;font-weight:1000;color:#fff;letter-spacing:.02em;box-shadow:0 6px 14px rgba(0,0,0,.13)}
.shop-badge.hot{background:#ff4c86}.shop-badge.new{background:#16b875}
.shop-mockup{height:245px;display:grid;place-items:center;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 20%,#f8ffff 0,#d8f8ff 45%,#aeeaf7 100%)}
.shop-mockup:before{content:"";position:absolute;inset:auto 0 0;height:42%;background:linear-gradient(180deg,transparent,rgba(4,128,192,.14));clip-path:polygon(0 34%,100% 0,100% 100%,0 100%)}
.mock-product{position:relative;z-index:2;display:grid;place-items:center;filter:drop-shadow(0 16px 18px rgba(0,49,91,.18))}
.mock-product img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.shop-mockup.book .mock-product{width:58%;aspect-ratio:3/4;border-radius:8px;overflow:hidden;transform:rotate(-3deg);background:#fff;border:7px solid #fff;box-shadow:12px 11px 0 #0e76b8}
.shop-mockup.book .mock-product img{width:100%;height:100%;object-fit:cover}
.shop-mockup.bag .mock-product{width:54%;height:66%;border-radius:42% 42% 22% 22%;background:linear-gradient(160deg,#116fd5,#074b9c);border:7px solid #0f5dad;padding:28px 22px 18px;box-shadow:inset 0 0 0 4px rgba(255,255,255,.18)}
.shop-mockup.bag .mock-product:before{content:"";position:absolute;left:20%;right:20%;top:-19%;height:30%;border:10px solid #074b9c;border-bottom:0;border-radius:30px 30px 0 0}
.shop-mockup.bag .mock-product img{width:90%;filter:drop-shadow(0 5px 8px rgba(0,0,0,.12))}
.shop-mockup.mug .mock-product{width:56%;height:58%;background:#fff;border-radius:18px 18px 28px 28px;padding:28px 20px;border:6px solid #e8f7fb}
.shop-mockup.mug .mock-product:after{content:"";position:absolute;right:-34px;top:24%;width:48px;height:58px;border:12px solid #fff;border-left:0;border-radius:0 38px 38px 0;filter:drop-shadow(5px 4px 2px rgba(0,44,78,.08))}
.shop-mockup.mug .mock-product img{width:90%}
.shop-mockup.plush .mock-product{width:67%;height:70%}.shop-mockup.plush .mock-product img{width:100%;height:100%;object-fit:contain;filter:saturate(.92) drop-shadow(0 13px 14px rgba(0,52,88,.18))}
.shop-mockup.shirt .mock-product{width:64%;height:70%;background:#fff;clip-path:polygon(25% 0,40% 10%,60% 10%,75% 0,100% 22%,82% 40%,72% 31%,72% 100%,28% 100%,28% 31%,18% 40%,0 22%);padding:52px 48px 34px}
.shop-mockup.shirt .mock-product img{width:90%}
.shop-mockup.poster .mock-product{width:72%;height:72%;border:8px solid #fff;border-radius:8px;background:#fff;transform:rotate(2deg);box-shadow:10px 12px 0 #0c69ad;overflow:hidden}
.shop-mockup.poster .mock-product img{width:100%;height:100%;object-fit:cover}
.shop-premium-body{padding:16px 17px 17px}
.shop-premium-body h3{margin:4px 0 6px;color:#083c70;font-size:1rem}
.shop-premium-body p{margin:0 0 12px;color:#5c7886;font-size:.79rem;line-height:1.45;min-height:3.5em}
.shop-plan-meta{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.shop-plan-meta span{padding:5px 8px;border-radius:999px;background:#eaf9ff;color:#16649a;font-size:.61rem;font-weight:900;border:1px solid #c9eaf2}
body.page-sklep .shop-save{background:linear-gradient(180deg,#1fb5ff,#087ad7);color:#fff;border-color:#087ad7;box-shadow:0 7px 16px rgba(8,122,215,.18)}
body.page-sklep .shop-save:hover{filter:brightness(1.03);transform:translateY(-1px)}
body.page-sklep .shop-save.saved{background:linear-gradient(180deg,#ffdf67,#ffc43d);color:#5d4300;border-color:#f2b72f}

.shop-benefits-plan{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0 18px;padding:14px;border-radius:24px;background:rgba(255,255,255,.94);border:1px solid #c4e7ef;box-shadow:0 10px 26px rgba(0,58,94,.08)}
.shop-benefits-plan>div{display:flex;align-items:center;gap:10px;padding:9px 10px;border-right:1px solid #d6edf2}.shop-benefits-plan>div:last-child{border-right:0}
.shop-benefits-plan span{font-size:1.55rem}.shop-benefits-plan p{margin:0;display:grid;gap:2px}.shop-benefits-plan b{font-size:.78rem;color:#0a4c83}.shop-benefits-plan small{font-size:.64rem;color:#6a8795;line-height:1.25}

.shop-bundle-plan{display:grid;grid-template-columns:1.05fr .95fr;gap:22px;align-items:center;margin:18px 0;padding:26px;border-radius:29px;background:linear-gradient(130deg,#d8f8ff,#ffffff 50%,#fff0a7);border:1px solid #a9dfeb;box-shadow:0 14px 34px rgba(0,56,97,.09);overflow:hidden}
.shop-bundle-copy h3{margin:6px 0 8px;color:#073e73;font-size:1.55rem}.shop-bundle-copy p{color:#587685;line-height:1.55;font-size:.86rem}.shop-bundle-save{max-width:310px}
.shop-bundle-art{position:relative;height:230px}.bundle-card{position:absolute;overflow:hidden;background:#fff;border:6px solid #fff;box-shadow:0 12px 24px rgba(0,52,90,.17)}.bundle-card img{width:100%;height:100%;object-fit:cover}.book-mini{width:37%;height:72%;left:4%;top:14%;transform:rotate(-5deg);border-radius:9px}.map-mini{width:42%;height:60%;right:5%;top:8%;transform:rotate(5deg);border-radius:9px}.bundle-fish{position:absolute;z-index:4;width:45%;height:68%;left:33%;bottom:-4%;display:grid;place-items:end center}.bundle-fish img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 12px 14px rgba(0,50,88,.18))}

.shop-interest-panel{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:18px;padding:16px 18px;border-radius:23px;background:linear-gradient(180deg,#fff,#eafaff);border:1px solid #bce4ee;box-shadow:0 10px 26px rgba(0,55,94,.07)}
.shop-interest-panel>div{display:flex;align-items:center;gap:12px}.shop-interest-panel>div>div{display:grid;gap:3px}.shop-interest-panel b{color:#083f75;font-size:.88rem}.shop-interest-panel small{color:#657f8c;font-size:.7rem;line-height:1.35}.shop-interest-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:#d9f7ff;color:#0a83c7;font-size:1.3rem}
.shop-interest-btn{flex:0 0 auto;padding:11px 16px;border-radius:14px;background:linear-gradient(180deg,#ffd95a,#ffbd34);color:#5b4000;font-weight:1000;font-size:.78rem;box-shadow:0 7px 16px rgba(190,128,0,.15)}

@media(max-width:1100px){
  .shop-category-strip{grid-template-columns:repeat(4,minmax(0,1fr))}
  .shop-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shop-benefits-plan{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-benefits-plan>div{border-right:0}
}
@media(max-width:760px){
  body.page-sklep .shop-premium-plan>.wrap{padding:14px;border-radius:24px}
  body.page-sklep .shop-plan-note{display:block}.shop-category-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:7px}.shop-cat-filter{padding:10px 6px}
  .shop-section-title{display:block}.shop-section-title p{margin-top:5px}.shop-showcase-grid{grid-template-columns:1fr;gap:12px}.shop-mockup{height:230px}.shop-premium-body p{min-height:0}
  .shop-benefits-plan{grid-template-columns:1fr 1fr;padding:9px;gap:5px}.shop-benefits-plan>div{padding:8px 5px;align-items:flex-start}.shop-benefits-plan span{font-size:1.25rem}
  .shop-bundle-plan{grid-template-columns:1fr;padding:18px}.shop-bundle-art{height:210px}.shop-interest-panel{display:block}.shop-interest-btn{display:block;text-align:center;margin-top:12px}
}


/* ==============================================================
   DORSZOLANDIA v24.2 — PRODUCTS FROM APPROVED SHOP REFERENCE
   ============================================================== */
body.page-sklep .shop-reference-products{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
}
body.page-sklep .shop-reference-products .shop-premium-card{
  border-radius:20px;
}
body.page-sklep .shop-product-photo{
  height:250px;
  overflow:hidden;
  background:linear-gradient(180deg,#dffaff,#bfefff);
  border-bottom:1px solid #c8e9f1;
}
body.page-sklep .shop-product-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}
body.page-sklep .shop-reference-products .shop-premium-body{
  padding:13px 12px 14px;
}
body.page-sklep .shop-reference-products .shop-premium-body h3{
  font-size:.88rem;
  line-height:1.2;
  min-height:2.15em;
}
body.page-sklep .shop-reference-products .shop-premium-body p{
  font-size:.69rem;
  line-height:1.4;
  min-height:5.6em;
}
body.page-sklep .shop-reference-price{
  display:flex;
  min-height:42px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  margin:4px 0 10px;
  padding:7px 8px;
  border-radius:12px;
  background:#eefaff;
  border:1px solid #caeaf3;
}
body.page-sklep .shop-reference-price small{
  color:#708996;
  font-size:.55rem;
  text-align:center;
}
body.page-sklep .shop-reference-price b{
  color:#083f76;
  font-size:.95rem;
}
body.page-sklep .shop-reference-products .shop-save{
  width:100%;
  padding:9px 8px;
  font-size:.68rem;
}
body.page-sklep .shop-price-disclaimer{
  margin:14px 0 2px;
  padding:12px 14px;
  border-radius:16px;
  background:linear-gradient(180deg,#fff9da,#fff5c4);
  border:1px solid #f4d766;
  color:#6b5914;
  font-size:.72rem;
  line-height:1.45;
}
body.page-sklep .shop-price-disclaimer b{color:#514100}
@media(max-width:1180px){
  body.page-sklep .shop-reference-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  body.page-sklep .shop-reference-products .shop-premium-body p{min-height:4.2em}
}
@media(max-width:760px){
  body.page-sklep .shop-reference-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  body.page-sklep .shop-product-photo{height:210px}
  body.page-sklep .shop-reference-products .shop-premium-body h3{min-height:0;font-size:.82rem}
  body.page-sklep .shop-reference-products .shop-premium-body p{min-height:0;font-size:.65rem}
}
@media(max-width:430px){
  body.page-sklep .shop-product-photo{height:185px}
  body.page-sklep .shop-reference-products .shop-premium-body{padding:10px 9px 11px}
  body.page-sklep .shop-reference-price small{font-size:.5rem}
}


/* ==============================================================
   DORSZOLANDIA v24.3 — SHOP PLAN / DORSZOLANDIA ONLY
   ============================================================== */
body.page-sklep .shop-reference-price{display:none!important}
body.page-sklep .shop-reference-products .shop-premium-card{
  position:relative;
  overflow:hidden;
}
body.page-sklep .shop-reference-products .shop-premium-body p{
  min-height:6.2em;
}
body.page-sklep .shop-reference-products .shop-save{
  margin-top:auto;
}
body.page-sklep .shop-hero-frame{
  position:relative;
}
body.page-sklep .shop-hero-brand-cover{
  position:absolute;
  z-index:3;
  left:58.2%;
  top:17.5%;
  transform:translate(-50%,-50%) rotate(-1deg);
  padding:4px 14px 5px;
  border-radius:999px;
  background:linear-gradient(180deg,#126ab9,#07579d);
  border:2px solid rgba(255,255,255,.86);
  box-shadow:0 2px 8px rgba(1,44,85,.28);
  color:#fff;
  font-weight:1000;
  font-size:clamp(.54rem,.7vw,.8rem);
  letter-spacing:.04em;
  line-height:1;
  pointer-events:none;
}
@media(max-width:760px){
  body.page-sklep .shop-reference-products .shop-premium-body p{min-height:0}
  body.page-sklep .shop-hero-brand-cover{
    left:58%;
    top:18%;
    padding:3px 9px 4px;
    font-size:.48rem;
  }
}

/* ==============================================================
   DORSZOLANDIA v24.4 — PREMIUM MULTIMEDIA / PIOSENKI
   ============================================================== */
body.premium-v24 .menu a[href="/piosenka"]{white-space:nowrap}
body.page-piosenka .music-page-hero .visual-world-title span{white-space:nowrap}
body.page-piosenka .music-video-section{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(232,251,255,.96))}
body.page-piosenka .music-library-section{background:linear-gradient(180deg,#eafcff,#d7f5fb)}
body.page-piosenka .music-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
body.page-piosenka .music-section-head h2{margin:4px 0 8px}
body.page-piosenka .music-section-head p{margin:0;max-width:760px;color:var(--muted);font-weight:650;line-height:1.5}
body.page-piosenka .music-duration,
body.page-piosenka .music-count{flex:0 0 auto;border-radius:999px;padding:9px 13px;background:linear-gradient(180deg,#fff078,#ffd33e);border:1px solid #efbd20;color:#16386f;font-size:.78rem;font-weight:1000;box-shadow:0 8px 20px rgba(236,182,25,.18)}
body.page-piosenka .music-video-card{position:relative;overflow:hidden;border-radius:30px;background:#031e35;border:1px solid rgba(255,255,255,.7);box-shadow:0 25px 60px rgba(3,49,81,.24)}
body.page-piosenka .music-video-card:before{content:"PEŁNY TELEDYSK";position:absolute;z-index:2;left:16px;top:16px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);color:#073b72;font-size:.64rem;letter-spacing:.05em;font-weight:1000;pointer-events:none}
body.page-piosenka .music-video-card video{display:block;width:100%;aspect-ratio:16/9;background:#031e35;object-fit:contain}
body.page-piosenka .song-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
body.page-piosenka .song-card{overflow:hidden;border-radius:24px;background:rgba(255,255,255,.92);border:1px solid rgba(126,214,232,.75);box-shadow:0 14px 34px rgba(4,65,100,.12)}
body.page-piosenka .song-cover{height:170px;overflow:hidden;background:#0c83b7}
body.page-piosenka .song-cover img{width:100%;height:100%;object-fit:cover}
body.page-piosenka .song-body{padding:15px}
body.page-piosenka .song-number{display:inline-grid;place-items:center;min-width:34px;height:28px;padding:0 8px;border-radius:10px;background:#0b78bd;color:#fff;font-weight:1000;font-size:.7rem;box-shadow:0 6px 14px rgba(5,113,177,.2)}
body.page-piosenka .song-body h3{margin:10px 0 5px;color:#073b72;font-size:1.05rem}
body.page-piosenka .song-body p{min-height:3.2em;margin:0;color:var(--muted);font-size:.78rem;line-height:1.45}
body.page-piosenka .song-meta{display:flex;justify-content:space-between;gap:8px;margin:10px 0 4px;color:#447083;font-size:.66rem;font-weight:900}
body.page-piosenka .song-card audio{display:block;width:100%;margin-top:8px}
@media (min-width:761px) and (max-width:1180px){body.premium-v24 .menu a{font-size:.67rem!important;padding:8px 6px!important}body.premium-v24 .menu .cta{padding-inline:10px!important}}
@media(max-width:760px){
  body.page-piosenka .music-section-head{display:block}
  body.page-piosenka .music-duration,body.page-piosenka .music-count{display:inline-flex;margin-top:10px}
  body.page-piosenka .music-video-card{border-radius:20px}
  body.page-piosenka .music-video-card:before{left:10px;top:10px;padding:6px 8px;font-size:.56rem}
  body.page-piosenka .song-grid{grid-template-columns:1fr}
  body.page-piosenka .song-cover{height:190px}
  body.page-piosenka .song-body p{min-height:0}
}
body.page-piosenka .music-video-card--drive{aspect-ratio:16/9}
body.page-piosenka .music-video-card--drive iframe{display:block;width:100%;height:100%;border:0;background:#031e35}

/* DORSZOLANDIA v24.6 — normalized Atlas character icons */
body.page-mieszkancy .atlas-card > img{
  width:148px!important;height:100%!important;min-height:196px!important;
  padding:14px!important;object-fit:contain!important;object-position:center!important;
  background:radial-gradient(circle at 50% 44%,#fff 0 34%,#e8fbff 60%,#d3f4fa 100%)!important;
}
@media(max-width:1100px){
  body.page-mieszkancy .atlas-card > img{width:124px!important;min-height:184px!important;padding:12px!important}
}
@media(max-width:760px){
  body.page-mieszkancy .atlas-card{grid-template-columns:104px minmax(0,1fr)!important;min-height:166px!important}
  body.page-mieszkancy .atlas-card > img{width:104px!important;min-height:166px!important;padding:10px!important}
}


/* ==============================================================
   DORSZOLANDIA v24.7 — CREATOR PRO: NAME + MIRROR + DRIVE PROPS
   ============================================================== */
body.page-kreator .creator-identity{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;
  padding:12px;margin-bottom:12px;border:1px solid #a8e2ef;border-radius:18px;
  background:linear-gradient(180deg,#f7feff,#e8faff);
}
body.page-kreator .creator-identity label{display:grid;gap:5px;color:#07395f;font-weight:950;font-size:.76rem}
body.page-kreator .creator-identity input{
  width:100%;min-width:0;border:2px solid #b9e6ef;background:#fff;color:#07395f;border-radius:13px;padding:11px 12px;font-weight:900;outline:none;
}
body.page-kreator .creator-identity input:focus{border-color:#0b9dcc;box-shadow:0 0 0 3px rgba(11,157,204,.12)}
body.page-kreator .creator-nameplate{
  position:absolute;z-index:80;left:50%;bottom:15px;transform:translateX(-50%);
  max-width:80%;padding:8px 18px;border-radius:999px;background:rgba(255,255,255,.93);
  border:2px solid rgba(7,57,95,.16);box-shadow:0 8px 20px rgba(0,63,111,.16);
  color:#07395f;font-weight:1000;font-size:clamp(.95rem,1.7vw,1.25rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;
}
body.page-kreator #baseFish{transform-origin:center center}
body.page-kreator .mirror-actions{padding:8px;border-radius:14px;background:#eefaff;border:1px solid #c8e9f2}
body.page-kreator .mirror-actions .btn{flex:1 1 110px}
body.page-kreator .acc[data-source*="Google Drive"]{background:linear-gradient(180deg,#fff,#effbff);border-color:#a7dfea}
body.page-kreator .acc[data-source*="Google Drive"] img{filter:drop-shadow(0 5px 6px rgba(0,72,110,.10))}
@media(max-width:760px){
  body.page-kreator .creator-identity{grid-template-columns:1fr auto;padding:10px}
  body.page-kreator .creator-nameplate{bottom:10px;max-width:88%;padding:7px 14px}
  body.page-kreator .mirror-actions{display:grid;grid-template-columns:1fr 1fr}
  body.page-kreator .mirror-actions .btn:last-child{grid-column:1/-1}
}


/* ==============================================================
   DORSZOLANDIA v24.10 — MAP LIFE GALLERY
   ============================================================== */
body.page-mapa .map-pin{transition:transform .16s ease,background .16s ease,filter .16s ease}
body.page-mapa .map-pin:hover{filter:brightness(1.07);transform:translate(-50%,-50%) scale(1.22)!important}
body.page-mapa .place-card[role="button"]{cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
body.page-mapa .place-card[role="button"]:hover{transform:translateY(-3px);border-color:#70d8ea;box-shadow:0 15px 30px rgba(4,44,77,.13)}
body.page-mapa .place-card[role="button"]:focus-visible{outline:3px solid #ffd75b;outline-offset:2px}
body.page-mapa .place-card-cue{display:block;margin-top:8px;color:#087aa9!important;font-weight:950!important;font-size:.68rem!important}
body.page-mapa .map-info-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
body.page-mapa #mapLifeOpen:disabled{opacity:.48;cursor:not-allowed}
body.page-mapa .map-life-dialog{width:min(1120px,calc(100% - 22px));max-width:1120px;max-height:94vh;padding:0;border:0;border-radius:28px;overflow:hidden;background:#eefcff;box-shadow:0 35px 100px rgba(0,32,61,.48)}
body.page-mapa .map-life-dialog::backdrop{background:rgba(1,27,49,.8);backdrop-filter:blur(8px)}
body.page-mapa .map-life-dialog-inner{position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;max-height:94vh}
body.page-mapa .map-life-media{background:#052f50;display:grid;place-items:center;min-height:0}
body.page-mapa .map-life-media img{width:100%;height:auto;max-height:70vh;object-fit:contain;display:block;background:#052f50}
body.page-mapa .map-life-copy{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px 19px;background:linear-gradient(180deg,#fff,#eafaff)}
body.page-mapa .map-life-copy h2{margin:2px 0 5px;font-size:clamp(1.45rem,2.8vw,2.25rem);color:#07395f}
body.page-mapa .map-life-copy p{margin:0;color:#587486;line-height:1.45;max-width:720px;font-weight:650}
body.page-mapa .map-life-close{position:absolute;right:13px;top:13px;z-index:5;width:46px;height:46px;border:2px solid rgba(255,255,255,.85);border-radius:50%;background:rgba(4,43,73,.75);color:#fff;font-size:2rem;line-height:1;cursor:pointer;box-shadow:0 8px 25px rgba(0,0,0,.22)}
body.page-mapa .map-life-nav{display:flex;align-items:center;gap:8px;white-space:nowrap}
body.page-mapa .map-life-nav button{border:1px solid #b9e6ef;border-radius:999px;background:#fff;color:#07395f;padding:9px 11px;font-weight:900;cursor:pointer}
body.page-mapa .map-life-nav span{font-size:.72rem;font-weight:900;color:#587486}
@media(max-width:760px){
  body.page-mapa .map-life-dialog{width:calc(100% - 12px);border-radius:20px;max-height:92vh}
  body.page-mapa .map-life-dialog-inner{max-height:92vh}
  body.page-mapa .map-life-media img{max-height:58vh}
  body.page-mapa .map-life-copy{display:grid;gap:12px;padding:14px 14px 16px}
  body.page-mapa .map-life-copy h2{font-size:1.35rem}
  body.page-mapa .map-life-copy p{font-size:.82rem}
  body.page-mapa .map-life-nav{justify-content:space-between;width:100%}
  body.page-mapa .map-life-nav button{padding:8px 10px;font-size:.72rem}
  body.page-mapa .map-info-actions{width:100%;justify-content:flex-start}
}


/* ==============================================================
   DORSZOLANDIA v24.11 — RESIDENT FILTER + TATA DORSZ
   ============================================================== */
body.page-mieszkancy .atlas-card[hidden],
body.page-mieszkancy .atlas-card.is-filtered-out{display:none!important}
body.page-mieszkancy .atlas-filter{cursor:pointer}
body.page-mieszkancy .atlas-filter[aria-pressed="true"]{box-shadow:0 7px 18px rgba(0,144,196,.20)}
body.page-mieszkancy .atlas-card--minimal .atlas-copy{justify-content:center;align-items:flex-start}
body.page-mieszkancy .atlas-card--minimal .atlas-copy h3{font-size:1.18rem;margin:0}
body.page-mieszkancy .atlas-card--minimal > img{background:radial-gradient(circle at 50% 45%,#fff 0 34%,#e8fbff 61%,#d3f4fa 100%)!important}


/* =========================================================
   DORSZOLANDIA v24.12 — 12 KRAIN × 12 OPOWIEŚCI
   Map-life scenes are the canonical story covers.
   ========================================================= */
body.page-przygody .stories-hero-v2412 .visual-hero-intro{
  position:relative;
}
.story-hero-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:20px 0 14px;
  max-width:720px;
}
.story-hero-stats>div{
  border:1px solid rgba(16,138,178,.18);
  background:rgba(255,255,255,.86);
  box-shadow:0 12px 28px rgba(5,61,91,.08);
  border-radius:18px;
  padding:13px 15px;
  display:flex;
  align-items:baseline;
  gap:8px;
}
.story-hero-stats b{
  color:#07395f;
  font-size:1.45rem;
  line-height:1;
}
.story-hero-stats span{
  color:#477186;
  font-size:.76rem;
  font-weight:850;
  line-height:1.25;
}
.story-map-bridge{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.story-map-bridge>span{
  color:#557a8d;
  font-size:.78rem;
  font-weight:800;
}
.world-stories-section{
  background:
    radial-gradient(circle at 10% 12%,rgba(29,210,226,.10),transparent 25rem),
    radial-gradient(circle at 90% 4%,rgba(255,208,69,.12),transparent 22rem),
    #fff;
}
.world-stories-head{
  align-items:center;
}
.story-progress-card{
  flex:0 0 240px;
  border:1px solid rgba(13,131,173,.18);
  border-radius:20px;
  padding:15px 16px;
  background:linear-gradient(145deg,#f8feff,#e7f9fd);
  box-shadow:0 14px 30px rgba(4,64,94,.08);
}
.story-progress-card span{
  display:block;
  color:#4c7284;
  font-size:.7rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.story-progress-card b{
  display:block;
  color:#07395f;
  font-size:1.7rem;
  margin:3px 0 9px;
}
.story-progress-track{
  height:8px;
  border-radius:999px;
  background:#cdeef5;
  overflow:hidden;
}
.story-progress-track i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#0aaed1,#36d7df);
}
.world-story-tools{
  margin-bottom:10px;
}
.world-story-filters{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 20px;
}
.world-story-filter{
  border:1px solid #cbe7ef;
  background:#fff;
  color:#174f6e;
  border-radius:999px;
  padding:9px 13px;
  font-size:.76rem;
  font-weight:950;
  cursor:pointer;
  transition:.18s ease;
}
.world-story-filter:hover{
  transform:translateY(-1px);
  border-color:#61cce1;
}
.world-story-filter.on{
  background:#087eae;
  color:#fff;
  border-color:#087eae;
  box-shadow:0 9px 20px rgba(8,126,174,.20);
}
#przygody .world-story-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
#przygody .world-story-card,
#przygody .world-story-card:first-child{
  min-width:0;
  display:flex;
  grid-column:auto;
  grid-template-columns:none;
  flex-direction:column;
  border-radius:25px;
  overflow:hidden;
  border:1px solid rgba(18,132,173,.18);
  background:#fff;
  box-shadow:0 17px 38px rgba(6,58,87,.10);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
#przygody .world-story-card:hover{
  transform:translateY(-5px);
  box-shadow:0 24px 48px rgba(6,58,87,.15);
  border-color:rgba(20,169,202,.42);
}
#przygody .world-story-cover,
#przygody .world-story-card:first-child .story-cover,
#przygody .world-story-card:not(:first-child) .story-cover{
  position:relative;
  width:100%;
  height:auto;
  min-height:0;
  aspect-ratio:4/3;
  overflow:hidden;
  background:#0b86b5;
}
#przygody .world-story-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease,filter .25s ease;
}
#przygody .world-story-card:hover .world-story-cover img{
  transform:scale(1.035);
}
.world-story-number{
  position:absolute;
  left:12px;
  top:12px;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:14px;
  background:rgba(4,51,82,.88);
  color:#fff;
  border:1px solid rgba(255,255,255,.50);
  box-shadow:0 8px 18px rgba(0,0,0,.16);
  font-size:.85rem;
  font-weight:1000;
  backdrop-filter:blur(8px);
}
.world-story-state{
  position:absolute;
  right:11px;
  top:12px;
  border-radius:999px;
  padding:7px 10px;
  font-size:.6rem;
  line-height:1;
  font-weight:1000;
  letter-spacing:.06em;
  box-shadow:0 8px 18px rgba(0,0,0,.12);
  border:1px solid rgba(255,255,255,.50);
  backdrop-filter:blur(8px);
}
.world-story-state.full{
  color:#07395f;
  background:rgba(255,218,70,.94);
}
.world-story-state.soon{
  color:#fff;
  background:rgba(6,60,93,.84);
}
#przygody .world-story-body,
#przygody .world-story-card:first-child .story-body{
  padding:16px;
  gap:9px;
}
#przygody .world-story-card:first-child .story-body:before{
  content:none;
}
.world-story-place{
  display:flex;
  gap:7px;
  align-items:center;
  min-width:0;
}
.world-story-place span{
  font-size:.58rem;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-weight:1000;
  color:#1392b9;
}
.world-story-place b{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#315f77;
  font-size:.72rem;
}
#przygody .world-story-body h3{
  font-size:1.08rem;
  line-height:1.2;
  min-height:2.4em;
}
#przygody .world-story-body p{
  font-size:.78rem;
  line-height:1.5;
  min-height:3.6em;
}
.world-story-meta{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:auto;
}
.world-story-meta span{
  border-radius:999px;
  padding:6px 8px;
  background:#eef9fc;
  color:#347086;
  font-size:.61rem;
  font-weight:900;
  border:1px solid #d7edf3;
}
#przygody .world-story-card.is-placeholder{
  background:linear-gradient(180deg,#fff,#f6fbfc);
}
#przygody .world-story-card.is-placeholder .world-story-cover:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 45%,rgba(3,47,76,.18));
  pointer-events:none;
}
#przygody .world-story-card.is-placeholder .world-story-cover img{
  filter:saturate(.82) brightness(.97);
}
.story-soon{
  margin-top:3px;
  background:#e8f2f5;
  color:#587889;
  cursor:default;
}
.story-from-map{
  outline:4px solid rgba(255,205,50,.75);
  outline-offset:4px;
  animation:storyPulseV2412 1.1s ease 1;
}
@keyframes storyPulseV2412{
  0%,100%{transform:translateY(0)}
  45%{transform:translateY(-7px)}
}

/* Premium reader */
.story-reader-dialog{
  width:min(1120px,calc(100% - 24px));
  max-height:92vh;
  padding:0;
  overflow:hidden;
  border-radius:28px;
  background:#fff;
}
.story-reader-dialog::backdrop{
  background:rgba(0,29,49,.72);
  backdrop-filter:blur(8px);
}
.story-reader-head{
  position:sticky;
  top:0;
  z-index:5;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(15px);
  border-bottom:1px solid #dceff4;
  padding:12px 15px;
}
.story-reader-head>div{
  min-width:0;
}
.story-reader-head span{
  display:block;
  color:#168cac;
  font-size:.6rem;
  font-weight:1000;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.story-reader-head b{
  display:block;
  max-width:940px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:#07395f;
  font-size:1rem;
}
.story-reader-body{
  padding:0 0 32px;
  overflow:auto;
  max-height:calc(92vh - 66px);
  background:linear-gradient(180deg,#effbfe 0,#fff 420px);
}
.story-reader-cover{
  position:relative;
  width:100%;
  overflow:hidden;
  background:#087fab;
  aspect-ratio:16/8.1;
}
.story-reader-cover:after{
  content:"";
  position:absolute;
  inset:45% 0 0;
  background:linear-gradient(180deg,transparent,rgba(3,39,65,.80));
  pointer-events:none;
}
.story-reader-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.story-reader-cover-copy{
  position:absolute;
  z-index:2;
  left:24px;
  bottom:20px;
  right:24px;
  color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.28);
}
.story-reader-cover-copy span,
.story-reader-cover-copy small{
  display:block;
  font-weight:850;
}
.story-reader-cover-copy span{
  font-size:.65rem;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.story-reader-cover-copy b{
  display:block;
  font-size:clamp(1.55rem,3.4vw,2.7rem);
  line-height:1.05;
  margin:3px 0 5px;
}
.story-reader-cover-copy small{
  font-size:.76rem;
  opacity:.9;
}
.story-reader-body>.story-source-meta,
.story-reader-intro,
.story-special-poster,
.story-prose,
.story-reader-end{
  width:min(800px,calc(100% - 34px));
  margin-left:auto;
  margin-right:auto;
}
.story-reader-body>.story-source-meta{
  margin-top:22px;
}
.story-reader-intro{
  font-family:Georgia,'Times New Roman',serif;
  color:#375766;
  font-size:1.04rem;
  line-height:1.7;
  font-style:italic;
  margin-top:0;
  margin-bottom:20px;
}
.story-special-poster{
  display:grid;
  grid-template-columns:1fr 190px;
  gap:18px;
  align-items:center;
  margin-top:14px;
  margin-bottom:28px;
  border:1px solid #d8eef4;
  background:linear-gradient(135deg,#f5fdff,#e8f8fc);
  padding:14px;
  border-radius:20px;
}
.story-special-poster span,
.story-special-poster small{
  display:block;
}
.story-special-poster span{
  color:#07395f;
  font-size:.9rem;
  font-weight:1000;
}
.story-special-poster small{
  color:#5b7a89;
  font-size:.73rem;
  line-height:1.45;
  margin-top:5px;
}
.story-special-poster img{
  width:190px;
  max-height:260px;
  object-fit:cover;
  border-radius:14px;
  box-shadow:0 12px 25px rgba(5,55,82,.14);
}
.story-prose{
  padding:4px 0 12px;
}
.story-prose p{
  font-family:Georgia,'Times New Roman',serif;
  color:#223f50;
  font-size:1.06rem;
  line-height:1.73;
  margin:.72em 0;
}
.story-prose .story-chapter{
  scroll-margin-top:80px;
  color:#07395f;
  font-size:clamp(1.35rem,2.7vw,2rem);
  line-height:1.15;
  margin:2.2em 0 .9em;
  padding-top:18px;
  border-top:1px solid #dceef3;
}
.story-prose .story-chapter:first-child{
  margin-top:.5em;
  border-top:0;
  padding-top:0;
}
.story-reader-end{
  margin-top:32px;
  padding:20px;
  border-radius:20px;
  background:linear-gradient(135deg,#07395f,#087ba9);
  color:#fff;
  display:grid;
  gap:7px;
}
.story-reader-end b{
  font-size:1.12rem;
}
.story-reader-end span{
  color:#d9f5fa;
  font-size:.82rem;
}
.story-reader-end .btn{
  width:max-content;
  margin-top:7px;
  background:#fff;
  color:#07395f;
}

/* Map -> Story bridge */
.map-life-storybox{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  border:1px solid rgba(255,201,46,.52);
  background:linear-gradient(135deg,#fff9dd,#fff4b9);
  padding:12px 14px;
  border-radius:17px;
  margin:14px 0 4px;
}
.map-life-storybox span,
.map-life-storybox b,
.map-life-storybox small{
  display:block;
}
.map-life-storybox span{
  color:#8a6d0b;
  font-size:.58rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:1000;
}
.map-life-storybox b{
  color:#07395f;
  font-size:.88rem;
  line-height:1.25;
  margin:2px 0;
}
.map-life-storybox small{
  color:#61717a;
  font-size:.67rem;
  font-weight:800;
}
.map-life-storybox .btn{
  white-space:nowrap;
  font-size:.72rem;
  padding:9px 12px;
}
.place-card .place-card-cue{
  line-height:1.3;
}

/* Map explainer on stories page */
.stories-map-explainer-grid{
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:24px;
  align-items:center;
}
.stories-map-card{
  display:block;
  overflow:hidden;
  border-radius:25px;
  background:#087fab;
  box-shadow:0 18px 42px rgba(3,57,88,.17);
}
.stories-map-card img{
  width:100%;
  aspect-ratio:16/8;
  object-fit:cover;
}
.stories-map-card span{
  display:block;
  padding:12px 16px;
  color:#fff;
  font-size:.84rem;
  font-weight:950;
}

@media(max-width:900px){
  #przygody .world-story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stories-map-explainer-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
  .story-hero-stats{gap:7px}
  .story-hero-stats>div{padding:10px 8px;display:grid;gap:3px;text-align:center}
  .story-hero-stats b{font-size:1.2rem}
  .story-hero-stats span{font-size:.62rem}
  .world-stories-head{display:grid;gap:15px}
  .story-progress-card{width:100%;max-width:none}
  .world-story-filters{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;scrollbar-width:none}
  .world-story-filter{white-space:nowrap}
  #przygody .world-story-grid{grid-template-columns:1fr;gap:14px}
  #przygody .world-story-body h3{min-height:0;font-size:1.04rem}
  #przygody .world-story-body p{min-height:0;font-size:.78rem}
  #przygody .world-story-cover{aspect-ratio:16/10.2}
  .story-reader-dialog{
    width:calc(100% - 10px);
    max-height:96vh;
    border-radius:21px;
  }
  .story-reader-body{max-height:calc(96vh - 62px)}
  .story-reader-cover{aspect-ratio:4/3}
  .story-reader-cover-copy{left:16px;right:16px;bottom:14px}
  .story-reader-body>.story-source-meta,
  .story-reader-intro,
  .story-special-poster,
  .story-prose,
  .story-reader-end{width:min(100% - 24px,800px)}
  .story-special-poster{grid-template-columns:1fr 120px;gap:11px;padding:11px}
  .story-special-poster img{width:120px;max-height:175px}
  .story-prose p{font-size:1rem;line-height:1.68}
  .map-life-storybox{grid-template-columns:1fr}
  .map-life-storybox .btn{width:100%}
}

/* v24.14 main duo */
.main-grid--duo{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:24px}.main-card--hero{min-height:250px;border:1px solid rgba(17,160,204,.22);box-shadow:0 18px 44px rgba(6,74,111,.12)}.main-card--hero img{width:210px;min-height:250px;object-fit:contain;padding:10px;background:linear-gradient(180deg,#dffaff,#9cecf6)}.main-card--hero .txt{padding:24px}.main-card--hero h3{font-size:1.55rem}.main-card--hero p{font-size:.96rem;line-height:1.58}@media(max-width:760px){.main-grid--duo{grid-template-columns:1fr}.main-card--hero{grid-template-columns:120px 1fr;min-height:170px}.main-card--hero img{width:120px;min-height:170px;padding:6px}.main-card--hero .txt{padding:14px}.main-card--hero h3{font-size:1.15rem}.main-card--hero p{font-size:.82rem}}


/* v24.15 safe cleanup: classic stories are independent from map-world slots */
.classic-story-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.classic-story-card{display:flex;flex-direction:column;border-radius:25px;overflow:hidden;border:1px solid rgba(18,132,173,.18);background:#fff;box-shadow:0 17px 38px rgba(6,58,87,.10)}
.classic-story-cover{position:relative;aspect-ratio:2/3;overflow:hidden;background:#0b86b5}
.classic-story-cover img{width:100%;height:100%;object-fit:cover;display:block}
.classic-story-card .world-story-body{padding:16px;gap:9px}
.story-reader-cover--classic{aspect-ratio:auto;min-height:0;background:#07395f}
.story-reader-cover--classic>img{width:min(520px,100%);height:auto;max-height:72vh;object-fit:contain;margin:0 auto;display:block}
@media(max-width:980px){.classic-story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.classic-story-grid{grid-template-columns:1fr}.classic-story-card{max-width:430px;margin-inline:auto;width:100%}}

/* v24.18 SAFE: classic stories are exactly four equal cards. Prevent legacy
   .story-card:first-child featured-card rules from changing the first classic story. */
#klasyczne-przygody .classic-story-card,
#klasyczne-przygody .classic-story-card:first-child{
  grid-column:auto !important;
  display:flex !important;
  grid-template-columns:none !important;
}
#klasyczne-przygody .classic-story-card:first-child .story-cover{
  aspect-ratio:2/3 !important;
  min-height:0 !important;
  height:auto !important;
}
#klasyczne-przygody .classic-story-card:first-child .story-body{
  padding:16px !important;
}
#klasyczne-przygody .classic-story-card:first-child .story-body:before{
  content:none !important;
  display:none !important;
}
