/* CHIBORIA — original chibi-fantasy art direction; gameplay and data unchanged */
:root{--cb-ink:#121b40;--cb-purple:#8665ef;--cb-cyan:#6ce8ff}
html{scroll-behavior:smooth}
body{font-family:Inter,'Trebuchet MS',system-ui,sans-serif}
.site-header,.topbar,.global-header{background:#0b1637f5!important;border-bottom:1px solid #ffffff24!important;box-shadow:0 10px 27px #07132a45!important;backdrop-filter:blur(16px)}
.brand,.brand-logo,.footer-logo-image{filter:drop-shadow(0 1px 7px #79d9ff40)}
.main-nav a,.topnav a{font-family:Inter,'Trebuchet MS',system-ui,sans-serif!important;font-size:11px!important;letter-spacing:.5px!important;border-radius:22px!important;color:#eaf0ff!important}
.main-nav a.active,.main-nav a:hover,.topnav a:hover{background:#7757e9!important;color:white!important;box-shadow:0 8px 18px #6b60e644!important}
.play-now-button,.gold-button,.gold-btn,.primary-button,.small-gold-btn{background:linear-gradient(110deg,#7359e9,#a275f7)!important;color:white!important;border:1px solid #bcaaff!important;box-shadow:0 9px 20px #4c3fb962,inset 0 1px #ffffff60!important;text-shadow:none!important;border-radius:11px!important}
.play-now-button:hover,.gold-button:hover,.gold-btn:hover{filter:brightness(1.1)}
.section-title,.intro-banner h1,.docs-hero h1{font-family:Impact,'Arial Narrow',system-ui,sans-serif!important;letter-spacing:.5px!important}
.game-shell{max-width:1600px}
.hero-stage{min-height:690px!important;background:linear-gradient(145deg,#111b47,#071733)!important;overflow:hidden}
.hero-stage:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#08112eec 0%,#07142a66 58%,#07153133 100%);pointer-events:none;z-index:0}
.world-backdrop{filter:saturate(1.2) brightness(.9)}
.hero-stage-top,.hero-layout,.hero-bottom-bar,.stage-bottom-carving,.design-doc-teaser{position:relative;z-index:2}
.hero-stage .eyebrow{color:#8beaff!important;font-size:11px;letter-spacing:3px}
.hero-stage .section-title{font-size:clamp(46px,7vw,104px)!important;line-height:.94!important;text-shadow:0 5px 20px #010b28!important;color:white!important}
.hero-stage .section-title span{color:#d1edff!important}
.hero-panel.fancy-panel{background:#091630b8!important;border:1px solid #b0d6ff38!important;border-radius:21px!important;box-shadow:0 20px 45px #010b2a66,inset 0 1px #ffffff18!important;backdrop-filter:blur(12px)}
.hero-panel #hero-name{color:#fff!important;font:800 clamp(27px,3vw,44px)/1.02 Impact,'Arial Narrow',system-ui,sans-serif!important;letter-spacing:1px}
.hero-panel .hero-bio{color:#c8def4!important;line-height:1.5}
.hero-panel .hero-skill{background:#1d2c55a3!important;border:1px solid #9b8bff75!important;border-radius:13px!important}
.hero-art-region{min-height:430px;align-self:stretch}
.hero-art{height:min(67vh,610px)!important;max-height:650px!important;width:100%!important;object-fit:contain!important;object-position:center bottom!important;mask-image:none!important;filter:drop-shadow(0 22px 16px #050a24bb)!important;transform:translateY(12px);transition:opacity .25s!important}
.hero-magic-ring{background:radial-gradient(circle,#9d80ff33,transparent 70%)!important;border-color:#6ce8ff55!important}
.hero-art-label{border:1px solid #b3b9ff77!important;border-radius:40px!important;background:#131e47cb!important;box-shadow:0 9px 28px #0004}
.hero-bottom-bar{border-top:1px solid #a9ceff44!important}
.portrait-card{background:linear-gradient(#244870,#101b42)!important;border:2px solid #6e96c8!important;border-radius:15px!important;box-shadow:0 10px 17px #0004!important}
.portrait-card img{object-fit:contain!important;object-position:center bottom!important}
.portrait-card.selected{outline:2px solid #8ceaff!important;border-color:#b4edff!important;box-shadow:0 0 21px #48ccff7a!important}
.portrait-card span{font-family:Inter,system-ui,sans-serif!important}
.edition-stamp{border-color:#9eabff!important;background:#111a47b8!important}
.design-doc-teaser{color:#ceefff!important}
.chiboria-world-stage{display:grid;grid-template-columns:1fr 1fr;gap:7%;align-items:center;background:#fafafe!important;color:#141c35!important;padding:67px clamp(24px,5vw,90px)!important;min-height:470px}
.chiboria-world-art{position:relative;border-radius:24px;overflow:hidden;box-shadow:0 25px 45px #25375d29;transform:rotate(-2deg)}
.chiboria-world-art img{width:100%;height:340px;object-fit:cover;display:block}
.chiboria-world-art span{position:absolute;bottom:19px;left:23px;color:#fff;font:800 12px Inter,system-ui,sans-serif;letter-spacing:1.4px;text-shadow:0 2px 8px #020d28}
.chiboria-world-copy .eyebrow{color:#835ae4!important}
.chiboria-world-copy h2{font:900 clamp(36px,4.8vw,72px)/.98 Impact,'Arial Narrow',sans-serif;letter-spacing:1px;margin:12px 0 23px}
.chiboria-world-copy h2 em{font-style:normal;color:#8b6af0}
.chiboria-world-copy p{color:#657086;max-width:550px;font-size:16px;line-height:1.6}
.world-points{display:flex;gap:10px;flex-wrap:wrap;margin:25px 0}
.world-points span{background:#fff;border:1px solid #e2e2f2;border-radius:30px;color:#45536d;padding:10px 15px;font-size:11px;font-weight:800}
.world-link{display:inline-flex;background:linear-gradient(105deg,#7761e9,#af71ee);color:#fff;padding:15px 23px;border-radius:10px;text-decoration:none;font-weight:900;font-size:12px;box-shadow:0 11px 22px #8167ef43}
.shop-stage{background:#f9f9fd!important;color:#172043!important}
.shop-stage .section-title,.shop-stage .section-title span{color:#111a37!important;text-shadow:none!important}
.shop-stage .eyebrow{color:#8b66e5!important}
.shop-stage .heading-mark{background:#e9e4ff!important;color:#7059cc!important;border:0!important}
.shop-stage .heading-ornament{background:#8867eb!important;color:#fff!important;border:0!important;box-shadow:0 8px 25px #9d8bea55!important}
.shop-stage .shop-sidebar{background:#fff!important;border:1px solid #e7e4f6!important;box-shadow:0 14px 34px #19275a0b!important;border-radius:20px!important}
.shop-stage .category-button{background:#f8f7fc!important;border:1px solid #eeecf5!important;color:#4e5770!important;border-radius:12px!important;box-shadow:none!important}
.shop-stage .category-button.selected{background:#8068ef!important;border-color:#8068ef!important;color:#fff!important;box-shadow:0 7px 18px #7861eb55!important}
.shop-stage .category-button span{color:#9d83f3!important}
.shop-stage .category-button.selected span{color:#fff!important}
.shop-stage .shop-content{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.shop-stage .shop-toolbar{color:#656d89!important}
.shop-stage .item-card{background:radial-gradient(circle at 50% 37%,color-mix(in srgb,var(--item-glow) 20%,white),transparent 72%),white!important;border:1px solid #e6e4f5!important;border-radius:18px!important;box-shadow:0 15px 28px #30386713!important;color:#233052!important;padding:16px 9px 14px!important}
.shop-stage .item-card:hover{border-color:#b6a4fa!important;box-shadow:0 22px 30px #655cbd2a!important}
.shop-stage .item-card img{width:min(100%,150px)!important;height:145px!important;filter:drop-shadow(0 7px 8px #1728552a)!important}
.shop-stage .item-card strong{font:800 13px/1.2 Inter,system-ui,sans-serif!important;color:#232e52!important}
.shop-stage .item-card .rarity{color:#7c68c5!important}
.shop-stage .item-card .card-cta{background:#8469f2!important;border-radius:9px!important;color:#fff!important;border:0!important}
.shop-stage .item-price{color:#5c49b8!important}
.shop-stage .shop-note{color:#7e8397!important}
.offers-stage{background:linear-gradient(120deg,#0c1536,#151d4c 55%,#322454)!important}
.offers-stage .heading-ornament{background:#7357df!important;border-color:#ad95ff!important}
.offers-stage .offer-info{background:#111a3de8!important;border:1px solid #a5a6ff66!important;border-radius:22px!important}
.ranking-stage{background:linear-gradient(165deg,#121c3f,#0a1731)!important}
.footer{background:#091129!important;border-top:1px solid #ffffff20!important}
.footer a{color:#c8b7ff!important}
.chiboria-doc-hero{width:100%;max-height:190px;object-fit:contain;display:block;margin:0 auto 10px;filter:drop-shadow(0 8px 11px #101e4d46)}
.docs-hero-bg{background-image:linear-gradient(90deg,#0c1334bb,#141a42aa),url('/assets/3d/skyfall-cinematic-world.png?v=2')!important;background-position:center!important;background-size:cover!important}
.flash-compact-row{border-color:#a69aff55!important}
.hero-portrait img,.hero-choice img{object-fit:contain!important}
.intro-banner{background:linear-gradient(90deg,#0e163fe8,#1c21558a),url('/assets/3d/skyfall-cinematic-world.png?v=2') center/cover!important;border:1px solid #789eff66!important;border-radius:17px!important}
.topbar .brand img{width:100%!important}
.topnav a{background:#ffffff0b!important;border:1px solid #ffffff26!important}
.panel{border:1px solid #6177c366!important;box-shadow:0 13px 24px #0003!important;background:linear-gradient(145deg,#1b2856,#0c1735)!important}
.panel-header h2,.battle-top h2{color:#f4f4ff!important;text-shadow:none!important}
.battle-scene{border:2px solid #8192d1!important;box-shadow:inset 0 0 0 2px #ffffff2b,0 10px 25px #0004!important}
.action,.stage-option{border-color:#546ba9!important;border-radius:12px!important}
.action.selected,.stage-option.active{background:#6759b2!important;border-color:#aa9cff!important}
.unit.hero{border-color:#9ee9ff!important}
@media(max-width:900px){.chiboria-world-stage{grid-template-columns:1fr;gap:25px}.chiboria-world-art img{height:250px}.hero-art{height:400px!important}.hero-stage{min-height:0!important}}
@media(max-width:570px){.chiboria-world-stage{padding:35px 18px!important}.chiboria-world-copy h2{font-size:42px}.world-points span{font-size:10px}.hero-stage .section-title{font-size:50px!important}.hero-art{height:310px!important}.shop-stage .item-card img{height:100px!important}}
