#page-dialog:has(#layer > .pull-detail) { width:min(100%,680px); max-width:100%; max-height:92dvh; padding:0; border:0; background:#19171f; color:#fafafa; }
.pull-detail { position:relative; isolation:isolate; container-type:inline-size; background:#19171f; color:#fafafa;
  font-family:Manrope,system-ui,sans-serif; line-height:1.4; }
.pull-detail :where(h1,h2,p,ul,dl,dd) { margin:0; }
.pull-detail .close-layer { z-index:3; }
.pd-content { padding:48px 20px 18px; }
.pd-hero { display:flex; flex-direction:column; align-items:center; text-align:center; }
.pd-stage { position:relative; isolation:isolate; display:grid; place-items:center; width:176px; height:176px; margin:4px 0 12px; }
.pd-cover,.pd-shine { width:100%; height:100%; object-fit:contain; }
.pd-glow { z-index:-1; position:absolute; inset:-32px -60px; width:calc(100% + 120px); height:calc(100% + 64px);
  object-fit:cover; filter:blur(8px); opacity:.2; mask-image:radial-gradient(ellipse closest-side,#000 0%,#000c 22%,#0007 44%,#0003 64%,transparent 92%); }
.pd-shine { position:absolute; inset:0; pointer-events:none; mask-size:contain; mask-position:center; mask-repeat:no-repeat;
  background:linear-gradient(110deg,transparent 39%,#fff6 50%,transparent 61%) 100% 0 / 350% 100% no-repeat;
  animation:pd-sweep 780ms ease-in-out 500ms both; }
@keyframes pd-sweep { from{background-position:100% 0} to{background-position:0 0} }
.pd-hero h1 { font-size:18px; line-height:24px; overflow-wrap:anywhere; }
.pd-date,.pd-hint,.pd-status,.pd-selected { color:#b6b1bf; }
.pd-date { margin-top:6px; font-size:13px; }
.pd-value { margin-top:12px; font-size:28px; line-height:34px; font-weight:800; letter-spacing:-.4px; font-variant-numeric:tabular-nums; }
.pd-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.pd-digit { display:inline-block; vertical-align:top; height:34px; overflow:hidden; }
.pd-strip,.pd-strip > span { display:block; }
.pd-strip { transform:translateY(-50%); animation:pd-roll 450ms ease-out both; }
@keyframes pd-roll { from{transform:translateY(0)} to{transform:translateY(-50%)} }
.pd-gain { margin-top:2px; color:#4ade80; font-size:16px; font-weight:700; font-variant-numeric:tabular-nums; }
.pd-ledger { display:grid; grid-template-columns:1fr 1fr; margin-top:16px; padding:12px 0; border-radius:16px; border:1px solid #ffffff18; background:#ffffff08; text-align:center; }
.pd-ledger > div + div { border-left:1px solid #ffffff20; }
.pd-ledger dt,.pd-section { color:#b6b1bf; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
.pd-ledger dt { font-size:11px; }
.pd-ledger dd { margin-top:4px; font-weight:750; font-size:17px; font-variant-numeric:tabular-nums; }
.pd-hint { margin-top:4px; font-size:12px; text-align:center; }
.pd-section { margin:16px 0 8px; font-size:12px; }
.pd-grid { padding:0; list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
@container (min-width:464px) { .pd-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@container (min-width:614px) { .pd-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
.pd-tile { min-width:0; }
.pd-product { display:grid; gap:3px; color:inherit; background:#ffffff08; border:1px solid #ffffff18; border-radius:14px; overflow:hidden; padding-bottom:8px; }
.pd-tile[aria-current=true] .pd-product { border-color:#b49df1; }
.pd-photo { height:auto; aspect-ratio:1; display:grid; place-items:center; padding:8px; background:#1d1a25; }
.pd-tile[data-rarity=Rare] .pd-photo { background: url('/art/inventory/rare-card-bg.webp') center/cover; }
.pd-tile[data-rarity=Epic] .pd-photo { background: url('/art/inventory/epic-card-bg.webp') center/cover; }
.pd-tile[data-rarity=Legendary] .pd-photo { background: url('/art/inventory/legendary-card-bg.webp') center/cover; }
.pd-tile[data-rarity=Common] .pd-photo { background: url('/art/handbag-reel/common-card-bg.webp') center/cover; }
.pd-tile[data-rarity=Uncommon] .pd-photo { background: url('/art/handbag-reel/uncommon-card-bg.webp') center/cover; }
.pd-tile[data-rarity=Grail] .pd-photo { background: url('/art/handbag-reel/grail-card-bg.webp') center/cover; }
.pd-item-art { width:100%; height:100%; min-height:0; object-fit:contain; }
.pd-item-name,.pd-item-price { margin-inline:8px; font-size:13px; }
.pd-item-name { margin-top:4px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.pd-item-price { font-weight:700; color:#eae4f7; }
.pd-status { display:block; padding:4px; font-size:11px; }
.pd-item-replay,.pd-secondary { display:inline-flex; min-height:36px; align-items:center; padding:4px; color:#d5c8ee; font-size:13px; }
.pd-footer { position:sticky; z-index:2; bottom:0; display:grid; gap:5px; background:#19171ff5; border-top:1px solid #ffffff16; padding:10px 20px max(8px,env(safe-area-inset-bottom)); }
.pd-selected { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:12px; text-align:center; }
.pd-actions { display:flex; gap:10px; }
.pd-actions > * { flex:1; min-width:0; min-height:44px; display:flex; align-items:center; justify-content:center; gap:8px;
  text-align:center; padding:6px 12px; border-radius:14px; font:inherit; font-weight:700; text-decoration:none; }
.pd-watch { border:1px solid #ffffff22; background:#35303e; color:white; }
.pd-watch::before { content:''; flex:none; width:12px; height:14px; background:currentColor; clip-path:polygon(0 0,100% 50%,0 100%); }
.pd-film { border:1px solid #ffffff80; color:#440649;
  background:linear-gradient(78deg,#fdaa89 8%,#fed898 25%,#fbf5c2 50%,#f499fa 63%,#9693fa 73%,#88b1fe); }
.pd-download::before { content:''; flex:none; width:17px; height:17px; background:currentColor;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-5-5 5 5 5-5M4 16v4h16v-4'/%3E%3C/svg%3E") center/contain no-repeat; }
.pd-download:disabled { opacity:.65; }
.pd-download-status { text-align:center; font-size:12px; color:#ffe3b5; }
.pd-download-status:empty { display:none; }
.pd-nav { display:flex; flex-wrap:wrap; justify-content:space-evenly; gap:4px; }
.pd-recovery { padding:52px 24px 30px; text-align:center; }
.pd-recovery h1 { font-size:22px; }
.pd-recovery p { margin:12px auto; max-width:46ch; color:#c9c3ce; }
.pd-recovery a + a { margin-left:12px; }
.pd-no-photo { text-align:center; color:#c9c3ce; font-size:12px; }
.pull-detail :is(a,button):focus-visible { outline:2px solid #c2a7ff; outline-offset:-2px; }
.pd-reduced :is(.pd-strip,.pd-shine) { animation:none; }
@media(prefers-reduced-motion:reduce) { .pd-strip,.pd-shine { animation:none; } }
