/* Lootivo collection experience — compact controls, generous reward art. */
.global-search-button{gap:8px;flex-shrink:0;min-height:44px}.global-search-button svg,.search-launch svg,.case-quick svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6}.discovery-search{margin:0 0 30px}.search-launch{width:100%;display:flex;align-items:center;gap:14px;padding:18px 22px;border:1px solid #78508a;border-radius:12px;background:linear-gradient(100deg,#302038,#21172c);color:#dfcae8;text-align:left;cursor:pointer;font:inherit}.search-launch:hover{border-color:#d0a1e2;background:#35213f}.search-launch small{margin-left:auto;color:#ac8dba}.search-launch span{font-size:1.03rem}.case-quick{display:flex;width:100%;align-items:center;justify-content:center;gap:8px;min-height:44px;border:0;border-top:1px solid #60406b;background:#35213f;color:#dfcaea;font:inherit;font-size:.8rem;cursor:pointer}.case-quick:hover{background:#563467;color:#fff}.case-quick:focus-visible,.pin-button:focus-visible{outline:2px solid #f5c47d;outline-offset:-3px}.catalog-dialog{color:#f7edf9;border:1px solid #775187;border-radius:18px;padding:0;background:#21172c;width:min(800px,calc(100vw - 32px));max-height:86dvh;overflow:auto;box-shadow:0 30px 120px #000b}.catalog-dialog::backdrop{background:#09060ece;backdrop-filter:blur(9px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 28px;border-bottom:1px solid #51325d;background:#281a32}.dialog-heading h2{font-size:1.65rem;line-height:1.2;margin:6px 0 0}.dialog-heading .outline{min-width:44px;min-height:44px;padding:8px}.quick-summary{display:flex;align-items:center;gap:18px;padding:0 28px}.quick-summary .case-visual{width:140px;height:130px;flex-shrink:0}.quick-summary .collection-cover{width:140px!important;height:140px!important}.quick-summary p{color:#c6abcf;line-height:1.6}.quick-modes{display:flex;gap:8px;padding:0 28px}.quick-modes button{min-height:44px}.quick-modes .active{border-color:#e9bc80;background:#4a302c;color:#ffe1b3}.quick-view .fine{padding:0 28px;color:#bda0c9}.quick-items{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 28px 24px}.quick-item{display:flex;align-items:center;gap:10px;min-width:0;border:1px solid #51325d;border-left:2px solid var(--rarity);border-radius:10px;padding:10px;background:#2b1c36}.quick-item .item-art{width:72px;height:74px;flex-shrink:0}.quick-item>div{min-width:0}.quick-item strong{display:block;font-size:.85rem;overflow-wrap:anywhere;line-height:1.4}.quick-item small{display:block;margin-top:5px;color:#cab0d5}.quick-chance{margin-left:auto;white-space:nowrap;font-size:.8rem;color:#f3d1a0}.dialog-footer{position:sticky;bottom:0;background:#281b34f7;border-top:1px solid #664076;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 28px;backdrop-filter:blur(12px)}.dialog-footer>span{font-size:1.4rem;font-weight:750}.global-search-input{margin:22px 28px 14px;width:calc(100% - 56px)}.global-search-input input{min-height:48px;width:100%;font-size:16px}.global-filters{display:flex;gap:12px;align-items:end;margin:0 28px}.global-filters>label{display:flex;flex-direction:column;gap:7px;font-size:.75rem;color:#c6a6d4;min-width:0}.global-filters input[type=number]{width:120px;max-width:100%;min-height:42px;color:#fff;background:#17101f;border:1px solid #63426e;border-radius:7px;padding:9px;font-size:16px}.global-filters .free-check{flex-direction:row;align-items:center;min-height:44px;white-space:nowrap}.global-filters input[type=checkbox]{width:19px;height:19px;accent-color:#e4b47c}#global-currency{font-size:.75rem;color:#b89bc4;padding:12px 0}#global-search-status{margin:18px 28px 10px;color:#c9aed7;font-size:.85rem}.global-game-results{display:flex;gap:8px;flex-wrap:wrap;margin:0 28px 15px}.global-game{border:1px solid #60416c;border-radius:7px;color:#eadcf1;background:#30203c;min-height:44px;padding:7px 12px;cursor:pointer;display:flex;gap:9px;align-items:center}.global-game span{color:var(--game-color);font-weight:800}.global-case-results{padding:0 28px 25px;display:grid;gap:7px}.search-case{display:flex;align-items:center;gap:15px;min-width:0;width:100%;border:1px solid #493055;border-radius:10px;background:#2c1d37;color:#f0e2f4;text-align:left;padding:9px 13px;cursor:pointer}.search-case:hover{border-color:#c69fd7;background:#3d294a}.search-case-art{width:68px;height:65px;flex-shrink:0}.search-case-copy{min-width:0;flex:1}.search-case-copy small{display:block;color:#bc99ca;font-size:.7rem;margin-bottom:5px}.search-case-copy strong{display:block;font-size:.9rem}.search-case> b{font-size:.9rem;white-space:nowrap;color:#f2c690}.search-case-copy .search-match{margin:5px 0 0;color:#decded}.skip-animation{margin:0 auto 15px;min-height:44px}.skip-animation:not([hidden]){display:flex}.reel-track{will-change:transform}.reel-pointer{filter:drop-shadow(0 0 8px #edbd79)}.reel-card.winner{box-shadow:inset 0 0 0 2px #f2c78c,0 0 28px #d2984f32}.rewards-result{display:block;margin:24px 22px 0;padding:25px;background:linear-gradient(150deg,#31213e,#20172b);border:1px solid #856096;border-radius:14px}.rewards-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;margin-bottom:22px}.rewards-heading h2{font-size:1.55rem;margin:8px 0}.rewards-heading p{color:#bda1ca;font-size:.85rem}.reward-total{text-align:right;flex-shrink:0}.reward-total small{display:block;color:#c0a3cc;font-size:.75rem;margin-bottom:7px}.reward-total strong{font-size:1.8rem;color:#f5c78b;font-variant-numeric:tabular-nums}.rewards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:0 0 20px}.reward-result{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;background:radial-gradient(ellipse at 50% 20%,#8251a32e,transparent),#21162d;border:1px solid #6f4b81;border-bottom:3px solid var(--rarity);border-radius:12px;padding:16px 12px}.reward-result .item-art{width:100%;height:150px}.reward-result h3{font-size:.95rem;line-height:1.4;margin:10px 0;overflow-wrap:anywhere;min-height:2.8em}.reward-value{font-size:1.3rem;color:#f4d7ab;margin-bottom:12px}.reward-result .item-details-link{font-size:.75rem}.reward-actions{display:grid;grid-template-columns:1fr;gap:7px;width:100%;margin-top:auto;padding-top:16px}.reward-actions button{min-height:44px;font-size:.8rem;padding:9px 7px;min-width:0}.reward-status{font-size:.7rem;color:#c3a9d0;min-height:1.5em}.rewards-grid[data-count='1']{max-width:430px;margin-left:auto;margin-right:auto}.rewards-grid[data-count='1'] .item-art{height:220px}.batch-result-actions{display:flex;flex-wrap:wrap;gap:10px}.rewards-result>.fine{font-size:.75rem;color:#bda4c8;line-height:1.6;margin:15px 0 0}.inventory-tools{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.inventory-tools>.search{flex:1 1 240px}.inventory-filter{display:flex;flex-direction:column;gap:6px;font-size:.75rem;color:#c9acd6}.inventory-tools select{min-height:44px;font-size:.85rem;background:#281b34;border:1px solid #674474;border-radius:7px;color:#eadff0;padding:9px}.inventory-status{display:flex;justify-content:space-between;align-items:center;margin:12px 0;color:#c7aacd;font-size:.85rem}.collection-intro{line-height:1.6}.inventory-card-top{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px}.inventory-card-top .item-select{position:static;width:20px;height:20px;accent-color:#e7b87e}.pin-button{border:1px solid #745581;background:#32223e;color:#ad8fbf;border-radius:8px;width:44px;height:44px;display:grid;place-items:center;cursor:pointer}.pin-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.pin-button[aria-pressed=true]{color:#f2c583;background:#4a3027;border-color:#aa7a46}.pin-button[aria-pressed=true] svg{fill:#f2c58330}.item-card.is-pinned{border-color:#a57946}.inventory-item-value{display:block;font-size:1.2rem;color:#f0c58f;margin:12px 0}.inventory-grid .item-card>.small-btn{margin-top:auto;min-height:44px}.inventory-grid .item-card{display:flex;flex-direction:column}.inventory-grid .item-card>.item-art{width:100%}.inventory-grid .item-card>.item-details-link{margin-bottom:14px}.mobile-nav,.mobile-opening{display:none}
@media(min-width:901px) and (max-width:1200px){.global-search-button span{display:none}.global-search-button{padding:10px}.side-nav button{padding:8px}}
@media(max-width:900px){.side-nav{display:none!important}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:stretch;justify-content:space-around;z-index:70;background:#21162df5;border-top:1px solid #6c4b7b;padding:5px 8px calc(6px + env(safe-area-inset-bottom));backdrop-filter:blur(15px);min-height:66px}.mobile-nav button{flex:1;min-height:50px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#c1a5cd;border:0;background:transparent;font-size:.7rem;cursor:pointer}.mobile-nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7}.mobile-nav button.active{color:#f1c58b;background:#52314655;border-radius:10px}.container{padding-bottom:calc(95px + env(safe-area-inset-bottom))}.has-mobile-opening .container{padding-bottom:calc(175px + env(safe-area-inset-bottom))}.mobile-opening:not([hidden]){display:flex;position:fixed;bottom:calc(66px + env(safe-area-inset-bottom));left:0;right:0;z-index:65;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;background:#2c1d38f5;border-top:1px solid #72517e;backdrop-filter:blur(14px)}.mobile-opening small,.mobile-opening strong{display:block}.mobile-opening small{font-size:.7rem;color:#cbb1d8;margin-bottom:4px}.mobile-opening strong{font-size:1rem}.mobile-opening button{min-height:46px;min-width:120px}.has-mobile-opening #feedback{bottom:calc(155px + env(safe-area-inset-bottom))}.global-search-button{padding:8px;min-width:40px}.global-search-button span{display:none}.sidebar #admin-link{bottom:calc(82px + env(safe-area-inset-bottom))}.has-mobile-opening .sidebar #admin-link{bottom:calc(157px + env(safe-area-inset-bottom))}.inventory-tools{align-items:stretch}.inventory-filter{flex:1 1 140px}.inventory-tools select{width:100%}.inventory-tools>.sort-control{flex:1 1 140px;align-self:end}.quick-items{grid-template-columns:1fr}.rewards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.global-search-button{display:none}.discovery-search{margin-bottom:24px}.search-launch{padding:15px 14px;gap:10px}.search-launch span{font-size:.88rem}.search-launch small{display:none}.catalog-dialog{width:calc(100vw - 16px);max-height:92dvh;border-radius:14px}.dialog-heading{padding:18px 17px}.dialog-heading h2{font-size:1.35rem}.quick-summary{padding:0 17px;gap:7px}.quick-summary p{font-size:.85rem}.quick-summary .case-visual{width:95px;height:105px}.quick-summary .collection-cover{width:105px!important;height:105px!important}.quick-modes{padding:0 17px}.quick-modes button{flex:1;font-size:.8rem}.quick-view .fine{padding:0 17px;font-size:.75rem;line-height:1.5}.quick-items{padding:10px 17px 20px}.quick-item{gap:8px}.quick-item .item-art{width:58px;height:64px}.quick-chance{font-size:.75rem}.dialog-footer{padding:14px 17px}.global-search-input{margin:16px 17px;width:calc(100% - 34px)}.global-filters{margin:0 17px;gap:9px;flex-wrap:wrap}.global-filters>label{flex:1 1 85px}.global-filters input[type=number]{width:100%}.global-filters .free-check{flex:1 1 120px}#global-search-status{margin:14px 17px}.global-game-results{margin:0 17px 15px}.global-case-results{padding:0 12px 20px}.search-case{gap:8px;padding:8px}.search-case-art{width:50px;height:52px}.search-case-copy strong{font-size:.83rem}.search-case>b{font-size:.8rem}.case-quick{font-size:.75rem;gap:5px}.case-quick svg{width:16px;height:16px}.rewards-result{padding:15px;margin:20px 10px 0}.rewards-heading{flex-direction:column;gap:7px}.rewards-heading h2{font-size:1.3rem}.reward-total{text-align:left;width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #684478;padding-top:12px}.reward-total small{max-width:60%;margin:0}.reward-total strong{font-size:1.5rem}.rewards-grid{gap:9px}.reward-result{padding:10px 8px}.reward-result .item-art{height:108px}.reward-result h3{font-size:.82rem}.reward-result .rarity-label{font-size:.65rem}.reward-value{font-size:1.1rem}.reward-actions button{font-size:.76rem}.reward-result .item-details-link{font-size:.65rem}.rewards-grid[data-count='1'] .item-art{height:185px}.inventory-filter{flex-basis:120px}.inventory-tools select{font-size:16px;max-width:100%}.inventory-tools>.sort-control{flex-basis:120px}.bulk-bar{flex-wrap:wrap;gap:12px}.bulk-bar>button{min-height:44px}.bulk-bar>label{min-height:44px;display:flex;align-items:center;gap:9px}.inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-grid .item-card{min-width:0;padding:12px}.inventory-grid .item-card strong{overflow-wrap:anywhere}.inventory-grid .item-card .item-art{height:120px}.inventory-grid .item-card>.small-btn{font-size:.75rem;padding:9px 5px}.inventory-card-top{gap:5px}.reel-stack:not([data-count='1']) .reel{height:138px;--card-w:130px}.reel-stack:not([data-count='1']) .reel-card{height:122px}.reel-stack:not([data-count='1']) .reel-card .item-art{height:65px}.topbar{min-width:0}.analytics-choice{bottom:calc(80px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.reel-track{will-change:auto}.result-reveal{animation:none!important}.catalog-dialog::backdrop{backdrop-filter:none}}

/* Opening controls and saved receipts. */
.opening-preferences {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 16px}
.motion-setting {display:flex;align-items:center;gap:8px;color:#d5bfdf;font-size:.8rem}
.motion-setting select {min-height:44px;font-size:16px;background:#281b34;border:1px solid #674474;border-radius:7px;color:#eadff0;padding:7px 10px}
.sound-controls button,.recent-opening button,.retry-opening {min-height:44px}
.retry-opening:not([hidden]) {display:block;margin:12px auto}
.reel-track {will-change:auto}
.reel.spinning .reel-track {will-change:transform}
.opening-panel[data-motion="off"] .result-reveal {animation:none}
.recent-opening:not([hidden]) {display:flex;align-items:center;justify-content:space-between;gap:12px;background:#2a1e34;border:1px solid #60446e;border-radius:10px;padding:10px 14px;margin:0 0 16px}
.recent-opening>div {min-width:0}
.recent-opening span {display:block;font-size:.8rem;color:#d5bfdf;margin-top:3px;overflow-wrap:anywhere}
.opening-receipt .fine {padding:0 28px;line-height:1.6;color:#d5bfdf}
.opening-receipt .dialog-footer {justify-content:flex-end}
.case-price-unit {display:block;color:#c5accf;font-size:.75rem;margin-top:3px}
.case-odds-preview {padding:0 12px 9px;font-size:.72rem;color:#d5bfdf}
.case-odds-preview>span {display:block;margin-bottom:4px;color:#bfa4ca}
.case-odds-preview ul {margin:0;padding:0;list-style:none;display:grid;gap:3px}
.case-odds-preview li {display:flex;gap:6px;align-items:baseline;justify-content:space-between;min-width:0}
.case-odds-preview li span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.case-odds-preview b {color:#f3d1a0;white-space:nowrap;font-variant-numeric:tabular-nums}
.search-case-art {object-fit:contain}

@media(max-width:900px) {
 .mobile-nav {min-height:calc(66px + env(safe-area-inset-bottom,0px));padding-left:max(8px,env(safe-area-inset-left,0px));padding-right:max(8px,env(safe-area-inset-right,0px))}
 .mobile-opening:not([hidden]) {padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px))}
 .topbar,.container {padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px))}
 .mobile-nav button {min-width:0}
 .mobile-opening>div {min-width:0}
 #opening-panel,#result-area {scroll-margin-top:100px}
}
@media(max-width:600px) {
 .recent-opening:not([hidden]) {flex-wrap:wrap}
 .recent-opening button {width:100%}
 .opening-preferences {width:100%}
 .opening-receipt .fine {padding:0 16px}
 .detail-toolbar {flex-wrap:wrap;gap:4px}
 .detail-heading>div {min-width:0;overflow-wrap:anywhere}
 .rewards-heading {flex-wrap:wrap;gap:8px}
 .reward-total {text-align:left}
}
@media(max-width:359px) {
 .quick-item .item-art {width:48px;height:52px}
 .case-odds-preview {padding-inline:8px}
}
.compare-launch, #compare-detail { min-height: 44px }
.catalog-status { flex-wrap: wrap }
.catalog-status p { flex: 1 1 180px }
.demo-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
  padding: 16px;
  border: 1px solid #6e527f;
  border-radius: 12px;
  background: #2d213b;
}
.demo-next p { color: #dfcfe7; font-size: .86rem; line-height: 1.5; margin: 0 }
.demo-next-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 8px; flex: 0 0 auto }
.demo-next-actions > * { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; text-align: center }
.rewards-grid[data-count='1'] .reward-result .item-art { height: clamp(180px, 35vw, 260px) }
.inventory-status { flex-wrap: wrap; gap: 8px 14px }
.opening-filter:not([hidden]) { display: inline-flex; align-items: center; gap: 8px; min-height: 44px }
.opening-filter span { font-size: 1.15em }

.rarity-filter { margin: 0 0 16px }
.quick-rarity-filter { margin: 12px 24px 4px }
.rarity-strip { display: flex; border-radius: 5px; height: 12px; overflow: hidden; background: #40324e }
.rarity-strip span { flex: var(--weight) 1 0; min-width: 0; background: var(--rarity); cursor: pointer }
.rarity-strip span:hover { filter: brightness(1.2) }
.rarity-filter .common, .compare-card .common { --rarity: #9caddf }
.rarity-filter .epic, .compare-card .epic { --rarity: #cc99ec }
.rarity-filter .rare, .compare-card .rare { --rarity: #eec173 }
.rarity-choices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px }
.rarity-choices button { color: var(--rarity, #e5d9ef); min-height: 44px; padding: 7px 10px; font-size: .82rem; font-variant-numeric: tabular-nums }
.rarity-choices button[aria-pressed='true'] { border-color: var(--rarity, #e5d9ef); background: #493758 }

.case-compare { width: min(880px, calc(100% - 24px)) }
.compare-body { padding: 0 24px 24px }
.compare-body > p { margin: 0 0 14px; font-size: .9rem }
.compare-game-label { max-width: 270px; margin-bottom: 14px }
.compare-body label { display: grid; gap: 5px; color: #dac8e4; font-size: .8rem }
.compare-body select { color: #f6ecfb; background: #281d32; border: 1px solid #785789; border-radius: 8px; min-height: 44px; width: 100%; min-width: 0; padding: 6px 8px; font-size: 16px }
.compare-selects, .compare-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px }
.compare-slots { margin-top: 14px; align-items: start }
.compare-slots > p { grid-column: 1 / -1 }
.compare-card { min-width: 0; padding: 12px; border: 1px solid #674a7b; border-radius: 12px; background: #30213c }
.compare-card .case-visual { height: 120px; min-height: 0; margin: 0 0 8px; overflow: hidden }
.compare-card .collection-cover { max-width: 100%; height: 100%; object-fit: contain }
.compare-card h3 { margin: 4px 0 6px; overflow-wrap: anywhere }
.compare-card > strong { color: #f6d091 }
.compare-card dl { margin: 12px 0; font-size: .83rem }
.compare-card dl div, .compare-card li { display: flex; justify-content: space-between; gap: 8px }
.compare-card dt { color: var(--rarity) }
.compare-card dd { margin: 0; font-variant-numeric: tabular-nums }
.compare-card summary { color: #e3cdeb; padding: 9px 0; cursor: pointer }
.compare-card ul { display: grid; gap: 5px; margin: 0 0 12px; padding: 0; list-style: none; font-size: .8rem }
.compare-card li span { min-width: 0; overflow-wrap: anywhere }
.compare-card li b { flex-shrink: 0 }
.compare-card > a { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 8px }
@media(max-width: 700px) {
  .demo-next { align-items: stretch; flex-direction: column }
  .demo-next-actions > * { flex: 1 1 135px }
  .compare-body { padding: 0 16px 16px }
  .compare-selects, .compare-slots { grid-template-columns: 1fr; gap: 8px }
  .compare-card .case-visual { height: 105px }
  .quick-rarity-filter { margin-inline: 17px }
}

.rewards-result .rewards-heading h2:focus-visible { outline: 2px solid #e1b8ff; outline-offset: 4px; border-radius: 3px }
.rewards-result > .demo-next { margin-bottom: 14px }
