/* Lootivo 41 — cinematic worlds, consistent covers, accessible item inspection. */
:root{--surface:#211b2b;--text-soft:#c7b9d2;--line-soft:#ffffff18}
body{font-kerning:normal;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #d9c5ff;outline-offset:4px}
button:disabled{cursor:default;opacity:.5}h1,h2,h3{text-wrap:balance}p{line-height:1.6}
.eyebrow{font-weight:750;letter-spacing:.14em;line-height:1.5}.muted{color:var(--text-soft)}
.primary,.outline,.ghost{transition:background .18s,border-color .18s,transform .18s}.primary:active:not(:disabled),.outline:active:not(:disabled){transform:translateY(1px)}
.section-head h2,.recent-heading h2{letter-spacing:-.035em}.section-head .muted{font-size:.9rem;margin:7px 0 0}
.case-card{display:flex;flex-direction:column;border:1px solid var(--line-soft);border-radius:15px;background:linear-gradient(160deg,#302238,#21192c);overflow:hidden;transition:border-color .2s,box-shadow .2s,transform .2s;min-width:0}
.case-card:hover{border-color:color-mix(in srgb,var(--case-color) 60%,#675078);box-shadow:0 12px 30px #08041030;transform:translateY(-3px)}
.card-topline{min-height:53px;align-items:center;padding:8px 12px 0;gap:6px}.card-topline .badge{font-size:.67rem;line-height:1.35;letter-spacing:.04em;text-transform:uppercase;max-width:calc(100% - 46px);color:#d6c6df;background:#ffffff07;padding:5px 7px;border-radius:5px}
.favorite-btn{width:42px;height:42px;flex:0 0 42px;border-radius:10px}.favorite-btn svg{width:19px;height:19px}.card-main{flex:1;display:flex;flex-direction:column;min-width:0;text-decoration:none}
.case-visual.refreshed-cover{position:relative;isolation:isolate;width:auto;height:220px;aspect-ratio:auto;margin:8px 10px 0;overflow:hidden;border:1px solid color-mix(in srgb,var(--cover-accent) 18%,transparent);border-radius:10px;background:radial-gradient(ellipse at 50% 70%,color-mix(in srgb,var(--cover-accent) 13%,transparent),transparent 75%),#15131d}
.refreshed-cover .collection-cover{position:absolute!important;inset:20px 0 15px;margin:auto;display:block;object-fit:contain;width:100%!important;height:calc(100% - 35px)!important;max-height:none!important;transform:none!important;mask-image:radial-gradient(ellipse,#000 50%,transparent 85%);transition:transform .3s}
.case-card:hover .refreshed-cover .collection-cover{transform:scale(1.04)!important}.cover-edition{position:absolute;left:10px;top:9px;z-index:2;font-size:.53rem;font-weight:650;letter-spacing:.1em;text-transform:uppercase;color:var(--cover-accent);white-space:nowrap;max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis}
.cover-preview{position:absolute;display:flex;justify-content:center;bottom:7px;left:0;right:0;gap:5px;z-index:2;pointer-events:none}
.cover-preview .item-art{width:37px!important;height:30px!important;padding:3px;border-radius:6px;border:1px solid #ffffff1a;background:#18131ed9;box-shadow:0 2px 8px #0004}.cover-preview img{object-fit:contain;max-width:100%;max-height:100%}
.case-content{display:flex;flex:1;flex-direction:column;text-align:left;padding:16px 16px 14px}.case-content h3{font-size:1.05rem;line-height:1.35;letter-spacing:-.02em;margin:0 0 7px;min-height:2.7em;display:flex;align-items:center;justify-content:flex-start}.case-content p{color:#bfb0cc;line-height:1.5;min-height:3em;margin-bottom:16px;font-size:.8rem}.case-price{margin-top:auto;display:flex;justify-content:space-between;align-items:center;background:#ffffff06;border:1px solid #ffffff0f;color:#f4e6cf;border-radius:8px;min-height:44px;padding:10px 12px;font-variant-numeric:tabular-nums}
.card-open-arrow{margin:0;color:var(--case-color)}.case-footer{padding:11px 16px;color:#b7a6c7;font-size:.72rem;min-height:40px;gap:5px}.case-footer b{color:#ddcee7}.case-quick{min-height:44px;color:#dacbe4;font-size:.78rem;border-top-color:#ffffff10;background:#ffffff02}.case-quick:hover{background:#ffffff08}.case-game-label{font-size:.65rem;color:#b6a0c4;letter-spacing:.06em;min-height:1.5em;margin-bottom:3px}
.discovery-shelf .case-visual.refreshed-cover{height:185px;margin:8px 10px 0}.discovery-shelf .refreshed-cover .collection-cover{position:absolute!important;height:calc(100% - 35px)!important;max-height:none}.discovery-shelf .case-content h3{font-size:1.02rem;min-height:2.7em}.discovery-shelf .case-content p{display:none}
.feature-row{gap:20px;margin-top:32px}.hero{position:relative;isolation:isolate;overflow:hidden;min-height:340px;border-radius:18px;border:1px solid color-mix(in srgb,var(--world-color) 40%,#2e2634);background:#15111e}
.hero>.world-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:none;mix-blend-mode:normal;filter:hue-rotate(var(--world-hue));opacity:.7;z-index:-2}.hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#18111ff5 2%,#18111fd9 40%,#18111f38 80%),linear-gradient(0deg,#100d17b0,transparent 45%);pointer-events:none}
.hero-content{position:relative;width:70%;padding:38px;z-index:2}.hero .eyebrow{color:var(--world-color);font-size:.67rem}.hero h1{font-size:clamp(2rem,3.8vw,3.5rem);line-height:1.02;letter-spacing:-.055em;margin:14px 0 18px;max-width:590px}.hero p{color:#d1c3db;font-size:.9rem;max-width:400px}.hero-meta{font-size:.72rem;color:#b5a3c4;margin:18px 0}.hero .primary{background:var(--world-color);color:#141018;border:0;min-height:45px;font-size:.82rem}.hero #hero-demo{color:#d2bedf;font-size:.8rem;margin-left:0;display:flex;padding-left:0}.hero-cover.original-cover{width:130px!important;height:130px!important;right:22px!important;top:auto!important;bottom:38px!important;opacity:.9;mix-blend-mode:normal;border-radius:12px;mask-image:radial-gradient(ellipse,#000 45%,transparent 73%);z-index:0}.hero-index{display:none}.world-featured-name{position:absolute;right:20px;bottom:22px;color:#eee2f5;font-size:.7rem;max-width:160px;text-align:right;z-index:1}.daily-banner{border-radius:18px;border-color:#675039;background:radial-gradient(ellipse at 85% 15%,#b0772e22,transparent 70%),#251c29}
body[data-catalog-page=game] #cases>.discovery,body[data-catalog-page=game] .themed-collections,body[data-catalog-page=game] .discovery-shelf:not(#favorite-world-shelf){display:none}
body[data-catalog-page=game] .feature-row{margin-top:14px}
.themed-collections{margin:40px 0 46px}.themed-collections>.section-head{margin-bottom:18px}.themed-collections .eyebrow{color:#c7addb;font-size:.68rem}.theme-tabs{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:14px}.theme-tabs button{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 18px;border:1px solid #ffffff1c;border-radius:24px;background:#241b2d;color:#c8b7d5;font-weight:650;font-size:.85rem;cursor:pointer}.theme-tabs button[aria-pressed=true]{background:color-mix(in srgb,var(--theme-color) 12%,#241b2d);border-color:var(--theme-color);color:var(--theme-color)}.theme-dot{width:7px;height:7px;border-radius:50%;background:var(--theme-color)}
.theme-banner{position:relative;isolation:isolate;overflow:hidden;border-radius:17px;min-height:285px;background:#13131a;border:1px solid color-mix(in srgb,var(--theme-color) 30%,#30283a);margin-bottom:20px}.theme-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 52%;z-index:-2}.theme-banner:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#14111bf2 0%,#14111bc9 35%,#14111b08 78%);z-index:-1}.theme-copy{padding:30px 34px;max-width:55%}.theme-copy .eyebrow{color:var(--theme-color);font-size:.63rem}.theme-copy h3{font-size:3rem;line-height:1.1;letter-spacing:-.055em;margin:13px 0;color:#f7f2fb}.theme-copy p{font-size:.85rem;color:#d0c2dc;max-width:340px;margin:0 0 15px}.theme-count{display:block;font-size:.72rem;color:var(--theme-color);margin-bottom:17px}.theme-copy .outline{min-height:42px;background:#19142080;border-color:#ffffff3d;color:#f5ebfd;font-size:.78rem;gap:15px}.theme-copy svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5}.themed-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;scroll-margin-top:100px}.themed-grid .case-content p{display:none}.themed-grid .case-visual.refreshed-cover{height:190px}
.item-zoom{display:block;position:relative;width:100%;padding:0;border:1px solid transparent;border-radius:12px;background:transparent;color:inherit;cursor:zoom-in;min-width:0}.item-zoom>.item-art{width:100%;pointer-events:none}.item-zoom:hover{background:#ffffff04;border-color:#ffffff18}.zoom-indicator{position:absolute;right:4px;bottom:4px;display:grid;place-items:center;width:27px;height:27px;border:1px solid #ffffff26;background:#23182bd9;border-radius:8px;color:#cfbbde;opacity:.8}.zoom-indicator svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7}
.quick-item .item-zoom{width:72px;flex:0 0 72px}.quick-item .item-zoom>.item-art{width:100%;height:74px}.quick-summary .refreshed-cover{flex:0 0 140px;width:140px;height:130px}.quick-summary .cover-edition,.quick-summary .cover-preview{display:none}.item-showcase .item-zoom{height:100%}.item-showcase .item-zoom .item-art{height:100%;min-height:280px}.item-card>.item-zoom .item-art{width:100%}
body:has(dialog[open]){overflow:hidden}.item-gallery{border:1px solid #81639a;border-radius:20px;background:#1b1525;color:#f4eef9;padding:0;width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 35px 100px #0008}.item-gallery::backdrop{background:#090610d9;backdrop-filter:blur(9px)}.gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 24px;border-bottom:1px solid #ffffff12}.gallery-heading .eyebrow{font-size:.7rem;color:#cebae0;display:block}.gallery-case{display:block;font-size:.72rem;color:#a994ba;margin-top:5px}.gallery-heading button{width:44px;height:44px;flex-shrink:0;border:1px solid #ffffff20;border-radius:12px;padding:0}
.gallery-stage{position:relative;display:grid;place-items:center;padding:28px;background:radial-gradient(ellipse at 50% 55%,color-mix(in srgb,var(--gallery-color) 13%,transparent),transparent 68%),#15101e;min-height:240px;height:min(42dvh,380px);touch-action:pan-y pinch-zoom}.gallery-stage>.item-art{width:100%;height:100%;max-width:570px}.gallery-stage .actual-art img{width:100%;height:100%;object-fit:contain;max-width:100%;max-height:100%;filter:drop-shadow(0 12px 28px #0005)}.gallery-stage .portrait-art img{object-fit:contain}.gallery-stage .item-sprite{height:100%;width:100%;max-width:400px}.gallery-info{padding:22px 26px 8px;text-align:center}.gallery-info h2{font-size:clamp(1.25rem,3vw,1.8rem);letter-spacing:-.035em;line-height:1.3;margin:10px 0 12px;overflow-wrap:anywhere}.gallery-info p{color:#cdbad9;font-size:.85rem;margin:6px 0}.gallery-info .gallery-chance{color:#efd6ab}.gallery-info .ghost{font-size:.78rem;min-height:44px}.gallery-controls{position:sticky;bottom:0;display:flex;align-items:center;justify-content:center;gap:22px;padding:15px 24px;background:#1b1525f5;border-top:1px solid #ffffff12;backdrop-filter:blur(8px)}.gallery-controls button{width:48px;height:44px;padding:0;font-size:1.15rem}.gallery-controls span{min-width:66px;text-align:center;color:#c6b3d4;font-size:.8rem;font-variant-numeric:tabular-nums}
@media(min-width:1450px){.themed-grid .case-visual.refreshed-cover{height:220px}}
@media(max-width:1100px){.hero-content{padding:30px;width:80%}.hero h1{font-size:2.7rem}.hero-cover.original-cover{opacity:.55}.themed-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.case-visual.refreshed-cover{height:190px}.theme-copy{max-width:60%}}
@media(max-width:700px){.themed-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.feature-row{grid-template-columns:1fr}.hero{min-height:300px}.hero-content{width:80%;padding:28px}.hero h1{font-size:2.65rem}.hero-cover.original-cover{opacity:.45}.theme-banner{min-height:265px}.theme-copy{max-width:68%;padding:25px}.theme-copy h3{font-size:2.5rem}.theme-copy p{font-size:.8rem}.theme-tabs{gap:7px}.theme-tabs button{padding:10px 14px;font-size:.8rem}.gallery-stage{height:35dvh;min-height:210px}.gallery-info{padding:18px 18px 6px}}
@media(max-width:600px){.themed-collections{margin:30px 0}.case-card{border-radius:12px}.card-topline{padding:6px 7px 0;min-height:48px}.card-topline .badge{font-size:.55rem;padding:4px 5px;max-width:calc(100% - 42px);white-space:normal;line-height:1.3}.favorite-btn{width:40px;height:40px;flex-basis:40px}.case-visual.refreshed-cover,.discovery-shelf .case-visual.refreshed-cover,.themed-grid .case-visual.refreshed-cover{height:150px;margin:6px 6px 0}.cover-edition{left:7px;top:8px;font-size:.45rem;max-width:calc(100% - 14px)}.refreshed-cover .collection-cover,.discovery-shelf .refreshed-cover .collection-cover{height:calc(100% - 25px)!important;inset:15px 0 10px}.cover-preview{gap:3px;bottom:5px}.cover-preview .item-art{width:28px!important;height:25px!important}.case-content,.discovery-shelf .case-content{padding:12px 10px 10px}.case-content h3,.discovery-shelf .case-content h3{font-size:.93rem;line-height:1.35;min-height:2.7em;justify-content:flex-start;margin-bottom:10px}.case-content p{display:none}.case-price{font-size:.87rem;padding:9px 8px;min-height:42px}.case-footer,.discovery-shelf .case-footer{flex-direction:column;align-items:flex-start;padding:8px 10px;font-size:.65rem;gap:3px;min-height:44px}.case-quick{font-size:.68rem;min-height:44px}.case-game-label{font-size:.6rem}.feature-row{margin-top:22px}.hero{min-height:300px}.hero-content{width:88%;padding:25px}.hero h1{font-size:2.5rem;max-width:320px}.hero .eyebrow{font-size:.58rem}.hero p{font-size:.85rem}.hero .primary{font-size:.78rem}.hero-cover.original-cover{display:none}.world-featured-name{right:15px;bottom:13px;font-size:.6rem;max-width:130px}.hero>.world-backdrop{object-position:58% center;opacity:.5}.hero:after{background:linear-gradient(90deg,#18111ff5,#18111fa8 70%,#18111f66)}.theme-copy{max-width:76%;padding:24px 20px}.theme-banner{min-height:280px}.theme-banner>img{object-position:60% center}.theme-banner:after{background:linear-gradient(90deg,#14111bf2,#14111ba0 62%,#14111b28)}.theme-copy h3{font-size:2.3rem}.theme-copy p{line-height:1.5}.theme-tabs button{font-size:.78rem;padding:9px 12px;gap:6px}.theme-tabs{gap:6px}.theme-tabs .theme-dot{width:5px;height:5px}.theme-count{font-size:.7rem}.quick-item .item-zoom{width:58px;flex-basis:58px}.quick-item .item-zoom>.item-art{height:64px}.quick-summary .refreshed-cover{width:95px;flex-basis:95px;height:105px}.item-gallery{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:16px}.gallery-heading{padding:12px 15px}.gallery-stage{height:31dvh;min-height:190px;padding:20px}.gallery-controls{padding:12px}.gallery-info p{font-size:.78rem}.item-card>.item-zoom .item-art{height:120px}.zoom-indicator{width:25px;height:25px}.item-showcase .item-zoom .item-art{min-height:220px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important}.case-card,.collection-cover,.primary,.outline,.ghost{transition:none!important}.case-card:hover,.case-card:hover .refreshed-cover .collection-cover{transform:none!important}.item-gallery::backdrop{backdrop-filter:none}}
.gallery-sources { margin: 4px 20px 16px; border: 1px solid #715489; border-radius: 10px; background: #241a31; text-align: left }
.gallery-sources summary { cursor: pointer; padding: 12px 14px; color: #e9daef; font-size: .9rem }
.gallery-sources ul { list-style: none; padding: 0 14px; margin: 0 0 4px }
.gallery-sources li { border-top: 1px solid #6b4f7b; padding-bottom: 9px }
.gallery-sources a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; color: #f3e9f8; text-decoration: none }
.gallery-sources a:hover strong { text-decoration: underline }
.gallery-sources a strong { min-width: 0; overflow-wrap: anywhere }
.gallery-sources a span { flex-shrink: 0; color: #f2c783 }
.gallery-sources small { color: #d7bedf }
