/* Phone-only store. Layout stays within the original accessible Depot modal. */
.phone-storefront .dp-panel {
    background: radial-gradient(ellipse at 85% -20%, #273c47 0, transparent 58%), #101922;
    border-color: #52606a;
    box-shadow: 0 20px 80px #000b, inset 0 1px #ffffff0e;
}
.phone-storefront .bk-top { gap: 12px; background: #101923b8; }
.phone-store-kicker { display: block; margin-bottom: 3px; color: #d6b065; font: 600 9px/1.1 'Chakra Petch', sans-serif; letter-spacing: .17em; }
.phone-storefront .bk-title { font-size: 26px; letter-spacing: .045em; }
.phone-storefront .bk-note { color: #b9c5cc; font-size: 12px; line-height: 1.25; }
.phone-storefront .bk-wallet { flex-direction: row; align-items: center; gap: 7px; min-height: 39px; padding: 3px 12px; border: 1px solid #51616a; border-radius: 5px; background: #1b2833; }
.phone-storefront .bk-wallet b { font-size: 25px; color: #f3ce7a; }
.phone-storefront .bk-close { min-width: 44px; min-height: 44px; background: #1d2b37; border-color: #566673; }
.phone-storefront .dp-tabs { gap: 10px; padding: 0 14px; background: #111c27; border-bottom: 1px solid #475865; }
.phone-storefront .dp-tab { min-width: 91px; min-height: 42px; padding: 7px 13px; border-bottom-width: 3px; font: 700 14px 'Chakra Petch', sans-serif; color: #a9bcc9; }
.phone-storefront .dp-tab.active { color: #ffda91; border-color: #efbc55; background: linear-gradient(0deg, #e8ae2220, transparent 80%); }
.phone-storefront .dp-body { padding: 10px 14px 16px; overscroll-behavior: contain; scrollbar-color: #617e8c #17242e; scroll-padding: 10px; touch-action: pan-y; }
.phone-storefront .phone-store-availability { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: #b9c8d1; font-size: 12px; line-height: 1.35; }
.phone-store-state { flex: none; align-self: flex-start; padding: 4px 7px; border: 1px solid #947b49; border-radius: 3px; color: #f2ce88; background: #d29c1913; font: 700 9px/1.2 'Chakra Petch', sans-serif; letter-spacing: .07em; }
.phone-store-availability[data-state="ready"] .phone-store-state { color: #93e1c6; border-color: #3e8e77; background: #37886918; }
.phone-store-availability[data-state="error"] .phone-store-state { color: #efb6a7; border-color: #8c655e; }
.phone-store-retry { margin-left: auto; min-height: 36px; padding: 5px 12px; background: #24394a; color: #ecf5f7; border: 1px solid #648598; border-radius: 4px; font: 600 12px 'Chakra Petch', sans-serif; }
.phone-storefront .dp-packs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.phone-storefront .dp-pack {
    position: relative; min-width: 0; min-height: 189px; padding: 24px 8px 8px;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    border: 1px solid #586574; border-radius: 6px;
    background: radial-gradient(ellipse at 50% 5%, #40515e88, transparent 60%), linear-gradient(145deg, #24333e, #17222d);
    color: #eef1e9; opacity: 1; cursor: pointer;
    box-shadow: inset 0 1px #d6e4ed12, 0 5px 12px #050a1038;
    transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.phone-storefront .dp-pack.phone-pack-featured { border-color: #a78b54; background: radial-gradient(ellipse at 50% 5%, #8e6b2a48, transparent 62%), linear-gradient(145deg, #2a353a, #1a252e); }
.phone-storefront .dp-pack:disabled { color: #eef1e9; cursor: default; opacity: 1; }
.phone-storefront .dp-pack:not(:disabled):active { transform: scale(.98); }
.phone-storefront .dp-pack:not(:disabled):hover { border-color: #f5c878; box-shadow: inset 0 1px #fff3, 0 0 17px #d7a44425; }
.phone-storefront .dp-pack:focus-visible, .phone-storefront .phone-theme-action:focus-visible,
.phone-storefront .phone-store-retry:focus-visible { outline: 2px solid #ffd88c; outline-offset: 2px; }
.phone-storefront .dp-pack > img { width: 69px; height: 58px; margin: -7px 0 1px; object-fit: contain; filter: drop-shadow(0 5px 6px #0009); }
.phone-storefront .dp-pack > b { font-size: 30px; line-height: 1; letter-spacing: .015em; }
.phone-storefront .dp-pack > span:not(.dp-tag):not(.dp-price):not(.phone-pack-action) { text-transform: uppercase; font: 600 10px 'Chakra Petch', sans-serif; letter-spacing: .1em; color: #b7c7ce; }
.phone-storefront .dp-pack > em { min-height: 16px; margin-top: 2px; font-size: 11px; font-weight: 600; color: #9eddbf; }
.phone-storefront .dp-price { margin: auto 0 0; padding: 3px 0; border: 0; background: transparent; font: 700 16px/1.2 'Chakra Petch', sans-serif; color: #ffdb91; }
.phone-storefront .dp-price.phone-store-planned-price { color: #d1cec0; font-size: 14px; }
.phone-storefront .phone-pack-action { align-self: stretch; display: block; margin-top: 3px; padding: 8px 3px; min-height: 32px; box-sizing: border-box; border: 1px solid #bf9951; border-radius: 3px; background: linear-gradient(#d8ac56, #b18437); color: #161d23; font: 700 11px/1.2 'Chakra Petch', sans-serif; text-align: center; }
.phone-storefront .dp-pack:disabled .phone-pack-action { background: #253542; color: #b7c7d2; border-color: #526572; }
.phone-storefront .dp-tag { top: 0; left: 0; right: 0; width: auto; padding: 4px 5px; border-radius: 5px 5px 0 0; background: #b28d46; color: #101b23; font: 700 9px/1.1 'Chakra Petch', sans-serif; text-transform: uppercase; letter-spacing: .07em; }
.phone-storefront .dp-fine { margin-top: 10px; font-size: 11px; line-height: 1.4; color: #b2c1ca; }
.phone-storefront #dp-price-note { color: #8fa6b4; }
.phone-storefront .dp-status { font-size: 12px; padding: 0 1px; }
.phone-storefront .dp-chests { gap: 12px; }
.phone-storefront .dp-chest { background: linear-gradient(145deg, #22323e, #17232d); border-color: #4b5f6d; border-radius: 6px; }
.phone-storefront .dp-chest h3 { color: #f1d5a0; }
.phone-storefront .dp-blurb, .phone-storefront .dp-odds { color: #bfccd3; }
.phone-storefront .phone-store-theme-intro { margin: 0 0 10px; color: #b9c9d3; font-size: 12px; line-height: 1.4; }
.phone-store-theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.phone-store-theme { display: flex; flex-direction: column; align-items: stretch; gap: 7px; min-width: 0; padding: 10px; border: 1px solid #4c6676; border-radius: 6px; background: #1b2a36; }
.phone-store-theme h3 { margin: 0; font: 700 23px/1 'Barlow Condensed', sans-serif; color: #f0e3c9; }
.phone-store-theme p { margin: 0; font-size: 12px; line-height: 1.35; color: #bed0db; }
.phone-theme-preview { --theme-color-1: #193640; --theme-color-2: #55c7bc; --theme-color-3: #d8b575; position: relative; display: block; width: 100%; height: 90px; min-height: 78px; padding: 0; overflow: hidden; border: 1px solid #ffffff23; border-radius: 4px; background: radial-gradient(ellipse at 50% 130%, var(--theme-color-2), transparent 70%), var(--theme-color-1); isolation: isolate; cursor: pointer; }
.phone-theme-preview::before { content: ''; position: absolute; inset: 10px 12px 16px; border: 1px solid var(--theme-color-2); opacity: .4; transform: skew(-13deg); }
.phone-theme-line { position: absolute; left: 7%; top: 16px; width: 47%; height: 4px; background: var(--theme-color-3); box-shadow: 0 9px 0 -1px #ffffff40; }
.phone-theme-plate { position: absolute; bottom: 13px; width: 23%; height: 25px; border: 1px solid var(--theme-color-3); background: #0b182bc9; transform: skew(-12deg); }
.phone-theme-plate:nth-of-type(1) { left: 8%; }
.phone-theme-plate:nth-of-type(2) { left: 38%; }
.phone-theme-plate:nth-of-type(3) { left: 68%; }
.phone-theme-image { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #1b2a35; }
.phone-theme-preview-label { position: absolute; z-index: 1; right: 5px; bottom: 5px; padding: 4px 6px; border: 1px solid #b4cdd16b; border-radius: 3px; background: #0a1527db; color: #e6e6ce; font: 700 9px/1 'Chakra Petch', sans-serif; letter-spacing: .05em; }
.phone-theme-preview:focus-visible { outline: 2px solid #ffd88c; outline-offset: 2px; }
.phone-theme-action { margin-top: auto; min-height: 42px; padding: 7px 10px; border: 1px solid #c09b54; border-radius: 4px; background: #b9934d; color: #101c24; font: 700 12px 'Chakra Petch', sans-serif; }
.phone-theme-action:disabled { border-color: #536b7d; background: #263c4b; color: #b8cad7; }
.phone-theme-sheet { position: absolute; z-index: 25; inset: 0; display: flex; align-items: center; justify-content: center; padding: 10px; box-sizing: border-box; background: #08121beF; backdrop-filter: blur(5px); }
.phone-theme-sheet-box { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(230px, 1fr); grid-template-rows: auto 1fr; gap: 12px 18px; width: min(760px, 100%); max-height: 100%; padding: 12px; box-sizing: border-box; overflow-y: auto; border: 1px solid #617c8c; border-radius: 7px; background: linear-gradient(140deg, #263b49, #142331); box-shadow: 0 12px 38px #0009; }
.phone-theme-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; grid-column: 1 / -1; }
.phone-theme-sheet h3 { margin: 0; color: #ffe1a3; font: 700 28px/1 'Barlow Condensed', sans-serif; }
.phone-theme-sheet-close { width: 42px; min-height: 42px; flex: none; border: 1px solid #7a929f; border-radius: 4px; color: #f0f5f0; background: #1a2c3a; font-size: 25px; }
.phone-theme-sheet .phone-theme-preview { min-height: 160px; height: 100%; max-height: 222px; opacity: 1; cursor: default; }
.phone-theme-sheet .phone-theme-image { object-fit: contain; }
.phone-theme-sheet-detail { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.phone-theme-sheet-detail p { margin: 0; color: #d1dee4; font-size: 13px; line-height: 1.4; }
.phone-theme-sheet-detail .phone-theme-cosmetic-note { color: #a8becb; font-size: 11px; }
.phone-theme-cost { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding: 9px 0; border-top: 1px solid #6d859557; }
.phone-theme-cost strong { color: #ffdf9c; font: 700 18px/1.2 'Chakra Petch', sans-serif; }
.phone-theme-cost span { color: #bfd1dd; font-size: 12px; }
.phone-theme-sheet-actions { display: flex; align-items: stretch; gap: 8px; }
.phone-theme-sheet-actions .phone-theme-action { flex: 1; min-height: 44px; margin: 0; }
.phone-theme-cancel { min-height: 44px; padding: 7px 12px; border: 1px solid #718899; border-radius: 4px; background: #253b4a; color: #dbe7eb; font: 700 12px 'Chakra Petch', sans-serif; }
.phone-theme-sheet-detail .phone-theme-insufficient { color: #edca8d; font-size: 11px; }
.phone-store-theme-empty { display: grid; grid-template-columns: minmax(180px, 34%) 1fr; gap: 8px 20px; align-items: start; max-width: 700px; padding: 12px 6px; margin: auto; }
.phone-store-theme-empty .phone-theme-preview { grid-row: 1 / 4; height: 145px; }
.phone-store-theme-empty .phone-store-state { justify-self: start; }
.phone-store-theme-empty h3 { margin: 3px 0 0; font: 700 29px/1 'Barlow Condensed', sans-serif; color: #e9dfcd; }
.phone-store-theme-empty p { margin: 0; font-size: 13px; line-height: 1.5; color: #b7c9d6; }
@media (max-width: 740px) {
    .phone-storefront .dp-packs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .phone-storefront .dp-pack { min-height: 177px; }
    .phone-storefront .bk-top { gap: 8px; padding: 7px 12px; }
    .phone-storefront .bk-wallet { padding: 3px 8px; }
    .phone-storefront .bk-note { font-size: 11px; }
    .phone-store-theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
    .phone-storefront .dp-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .phone-storefront .bk-wallet { min-height: 35px; }
    .phone-storefront .bk-wallet b { font-size: 20px; }
    .phone-storefront .bk-note { max-width: 210px; }
    .phone-storefront .phone-store-availability { align-items: flex-start; }
    .phone-store-theme-grid { grid-template-columns: minmax(0, 1fr); }
    .phone-store-theme-empty { grid-template-columns: minmax(0, 1fr); }
    .phone-store-theme-empty .phone-theme-preview { grid-row: auto; height: 100px; }
    .phone-theme-sheet-box { grid-template-columns: minmax(0, 1fr); }
    .phone-theme-sheet .phone-theme-preview { height: 145px; min-height: 145px; }
}
@media (prefers-reduced-motion: reduce) {
    .phone-storefront *, .phone-storefront *::before, .phone-storefront *::after { animation: none !important; transition: none !important; }
}
