/* Item commerce: deliberately isolated from native judging/editor/navigation. */
.ph8620-page{--relic-bg:#101d2a;--relic-panel:#162635;--relic-ink:#e8eef4;--relic-muted:#a2b3c4;--relic-gold:#e6c37e;--relic-line:rgba(208,177,111,.27);width:min(1200px,100%);margin:0 auto 40px;box-sizing:border-box;color:var(--relic-ink)}
.ph8620-page *{box-sizing:border-box}.ph8620-page h1,.ph8620-page h2,.ph8620-page h3{color:inherit!important;line-height:1.4;margin:0}.ph8620-page p{line-height:1.8;overflow-wrap:anywhere}.ph8620-kicker{font-size:10px;letter-spacing:.16em;font-weight:700;color:var(--relic-gold)}
.ph8620-back{display:inline-flex;align-items:center;gap:8px;margin:0 0 18px;font-size:13px;color:#54708d!important;text-decoration:none!important}.ph8620-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:10px 17px;border:1px solid rgba(181,158,109,.5);border-radius:8px;background:rgba(255,255,255,.05);color:var(--relic-gold,#d9b46b)!important;font:inherit;font-size:12px;font-weight:700;text-decoration:none!important;cursor:pointer;transition:background .18s,border-color .18s,box-shadow .18s}
.ph8620-button:hover{background:rgba(219,182,106,.14);border-color:#e1be7c;box-shadow:0 0 18px rgba(219,182,106,.1)}.ph8620-button:focus-visible{outline:3px solid #7cd9e3;outline-offset:3px}.ph8620-button.is-primary{color:#172638!important;background:linear-gradient(135deg,#f6dfab,#cda465);border-color:#efd69d;box-shadow:inset 0 1px #fff4d5,0 3px 14px #0002}.ph8620-button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
.ph8620-shop-hero{position:relative;display:flex;align-items:center;gap:22px;min-height:190px;padding:28px 34px;margin:0 0 20px;border:1px solid var(--relic-line);border-radius:18px;background:radial-gradient(ellipse at 12% 50%,#21524e88,transparent 50%),linear-gradient(120deg,#152b39,#111d2a);box-shadow:0 12px 30px #10203012;overflow:hidden}.ph8620-shop-hero h1{font-size:36px!important;color:var(--relic-gold)!important;margin-top:6px}.ph8620-shop-hero p{margin:6px 0 0;color:var(--relic-muted);font-size:14px}.ph8620-shop-crest{width:124px;flex:0 0 124px;filter:drop-shadow(0 0 20px #46cbae35)}.ph8620-shop-crest img{width:100%;height:auto;display:block}.ph8620-shop-manage{margin-left:auto;flex-shrink:0}
.ph8630-catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:24px 0 14px;color:#425670}.ph8630-catalog-heading h2{font-size:16px!important;display:flex;align-items:center;gap:9px}.ph8630-catalog-heading h2>span{font-size:10px;font-weight:600;background:#7389a216;padding:3px 8px;border-radius:20px}.ph8630-rarity-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:10px;color:#60758e}.ph8630-rarity-legend>span{display:inline-flex;align-items:center;gap:5px}.ph8630-rarity-legend i{width:7px;height:7px;border-radius:2px;background:var(--rank);box-shadow:0 0 5px color-mix(in srgb,var(--rank) 30%,transparent)}
.ph8620-shop-catalog{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;align-items:stretch}.ph8620-shop-item{position:relative;min-width:0;display:grid;grid-template-rows:auto 88px 36px 1fr;gap:6px;padding:10px;background:radial-gradient(ellipse at 50% 25%,color-mix(in srgb,var(--rank) 12%,transparent),transparent 65%),linear-gradient(155deg,#1a2d3b,#101c29);border:1px solid color-mix(in srgb,var(--rank) 44%,#243744);border-radius:10px;box-shadow:inset 0 1px #ffffff09,0 4px 12px #15283810;transition:border-color .18s,box-shadow .18s}.ph8620-shop-item:hover,.ph8620-shop-item:focus-within{border-color:var(--rank);box-shadow:0 0 0 1px color-mix(in srgb,var(--rank) 22%,transparent),0 5px 16px #15283820}
.ph8620-shop-item-top{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:9px;color:var(--relic-muted)}.ph8620-rank{display:inline-block;padding:4px 7px;border:1px solid color-mix(in srgb,var(--rank,#4da9ff) 38%,transparent);border-radius:4px;background:color-mix(in srgb,var(--rank,#4da9ff) 8%,transparent);color:var(--rank,#4da9ff);font-size:9px;font-weight:700;line-height:1.4;white-space:nowrap}
.ph8620-shop-item-art{display:grid;place-items:center;min-width:0}.ph8620-shop-item h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px!important;color:var(--relic-gold)!important;line-height:18px!important;text-align:center;overflow-wrap:anywhere}.ph8620-shop-item footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 4px;align-content:end;align-items:center;border-top:1px solid #ffffff0d;padding-top:8px}.ph8620-shop-item footer>.ph8620-button,.ph8620-shop-item footer>.ph8620-unavailable{grid-column:1/-1;min-height:32px;padding:6px 5px;font-size:10px;line-height:1.5;white-space:normal}.ph8620-shop-item footer>small{color:#95bcb1;font-size:9px;text-align:right}.ph8620-price{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font-size:10px;line-height:1.3;color:#afbbc9}.ph8620-price b{font-size:17px;line-height:1.2;color:var(--relic-gold)}.ph8620-price .ph8570-currency-icon{width:22px!important;height:22px!important}.ph8620-unavailable{padding:9px 5px;text-align:center;font-size:10px;color:var(--relic-muted)}
html.theme--dark .ph8630-catalog-heading{color:#e6c37e}html.theme--dark .ph8630-rarity-legend{color:#acb9ca}
.ph8620-purchase-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);border:1px solid var(--relic-line);border-radius:18px;background:var(--relic-bg);overflow:hidden;box-shadow:0 15px 40px #102a3f20}.ph8620-relic-showcase{--rank:#739eaa;text-align:center;padding:36px;background:radial-gradient(ellipse at 50% 45%,#1b6d625c,transparent 65%);border-right:1px solid var(--relic-line)}.ph8620-relic-art{height:300px;display:grid;place-items:center;filter:drop-shadow(0 10px 28px #22a88b25)}.ph8620-relic-art img{width:280px;height:280px;object-fit:contain}.ph8620-relic-showcase h1{font-size:30px!important;color:var(--relic-gold)!important;margin:18px 0 12px}.ph8620-relic-showcase p{font-size:13px;color:var(--relic-muted);margin-bottom:24px}.ph8620-seal{font-size:12px;color:var(--relic-gold);opacity:.55;letter-spacing:.15em}
.ph8620-checkout{padding:48px 36px;align-self:center}.ph8620-checkout h2{font-size:24px!important;margin:14px 0 28px}.ph8620-checkout dl{margin:0 0 26px}.ph8620-checkout dl>div{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid #ffffff0d}.ph8620-checkout dt{font-size:12px;color:var(--relic-muted)}.ph8620-checkout dd{display:flex;align-items:center;gap:7px;margin:0;font-weight:700;font-size:15px}.ph8620-checkout .ph8620-button{width:100%;min-height:46px}.ph8620-fineprint{font-size:11px!important;color:#8b9eae!important;line-height:1.9!important;margin:15px 0}.ph8620-notice{border:1px solid #c3a26660;background:#c9a16014;border-radius:8px;padding:14px 18px;font-size:12px;line-height:1.8;color:#a67025;margin:16px 0}.ph8620-page .ph8620-checkout .ph8620-notice,.ph8620-locked .ph8620-notice{color:#e8c687}
.ph8620-reveal-head{display:flex;align-items:center;gap:20px;background:linear-gradient(120deg,#163d40,#172435);border:1px solid var(--relic-line);border-radius:14px;padding:24px 30px}.ph8620-reveal-head img{object-fit:contain;flex:0 0 96px}.ph8620-reveal-head h1{font-size:24px!important;color:var(--relic-gold)!important;margin:5px 0}.ph8620-reveal-head p{margin:0;color:#b5c7cb;font-size:12px}.ph8620-reveal-head>.ph8620-button{margin-left:auto;flex-shrink:0}.ph8620-case-picker{display:flex;align-items:center;gap:12px;margin:22px 0;padding:18px;border-radius:10px;background:var(--relic-panel);font-size:12px}.ph8620-page select{font:inherit;color:var(--relic-ink);background:#0e202d;border:1px solid #536776;border-radius:6px;min-height:40px;padding:8px 30px 8px 12px;max-width:100%}.ph8620-page select:focus-visible{outline:2px solid #68d1c7;outline-offset:2px}.ph8620-case-picker select{flex:1;min-width:0}
.ph8620-locked,.ph8620-opened{padding:30px;border:1px solid var(--relic-line);background:var(--relic-bg);border-radius:14px}.ph8620-locked{text-align:center;padding:36px}.ph8620-locked-mark{font-size:45px;color:var(--relic-gold)}.ph8620-locked h2{color:var(--relic-gold)!important;font-size:25px!important;margin:12px 0}.ph8620-locked p{font-size:13px;color:var(--relic-muted)}.ph8620-locked>small{font-size:11px;color:var(--relic-muted)}.ph8620-locked form{display:flex;flex-direction:column;align-items:center;gap:20px;margin-top:25px}.ph8620-locked form label{display:flex;align-items:center;gap:12px;font-size:12px}.ph8620-opened>header h2{font-size:22px!important;margin:10px 0}.ph8620-opened>header p{font-size:12px;color:var(--relic-muted)}.ph8620-test-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.ph8620-test-data article{min-width:0;border:1px solid #5a72814d;border-radius:10px;overflow:hidden}.ph8620-test-data article>header{display:flex;justify-content:space-between;gap:12px;padding:12px 15px;background:#ffffff05}.ph8620-test-data h3,.ph8620-judge-message h3{font-size:13px!important}.ph8620-test-data header>span{font-size:10px;color:var(--relic-muted)}.ph8620-page pre{display:block!important;background:#09151f!important;color:#d5e9e7!important;border:0!important;border-radius:0!important;padding:18px!important;min-height:80px;max-height:480px;overflow:auto!important;font:12px/1.8 ui-monospace,Consolas,monospace!important;white-space:pre!important;text-align:left}.ph8620-judge-message{margin-top:20px}.ph8620-test-data .ph8620-fineprint{padding:0 15px}
.ph8620-record-action{display:flex;align-items:center;gap:12px;border:1px solid #44a89755;background:linear-gradient(110deg,#164447,#172b3a);color:#e4ecf0;border-radius:10px;padding:12px 18px;margin-bottom:22px}.ph8620-record-action img{object-fit:contain;flex:0 0 42px}.ph8620-record-action>div{display:flex;flex-direction:column;gap:5px;min-width:0}.ph8620-record-action strong{font-size:13px;color:#e7cd94}.ph8620-record-action span{font-size:10px;color:#a7bdc6}.ph8620-record-action .ph8620-button{margin-left:auto;flex-shrink:0}
.ph8600-slot-icon img{width:100%;height:100%;object-fit:contain}.ph8600-detail-icon img{width:100%;height:100%;object-fit:contain}.ph8518-shop-admin .ph8518-shop-item-icon img{width:100%;height:100%;object-fit:contain}.ph8518-shop-admin small{line-height:1.7}.ph8620-case-link{display:block;margin-top:6px;font-size:10px;color:#167f72!important;text-decoration:none!important}
.ph8620-copy{padding:4px 9px;min-height:26px;font:inherit;font-size:10px;line-height:1.4;color:#e5c88a;border:1px solid #b8a16a55;border-radius:5px;background:#d7b76b0b;cursor:pointer;white-space:nowrap}.ph8620-copy:hover{background:#d7b76b22}.ph8620-copy:focus-visible{outline:2px solid #66cfc1;outline-offset:2px}.ph8620-copy:disabled{opacity:.6}.ph8620-test-data article>header{align-items:center}.ph8620-test-data article>header>span{margin-left:auto}
@media(max-width:980px){.ph8620-shop-hero{padding:24px}.ph8620-shop-manage{font-size:10px;padding:9px}.ph8620-checkout{padding:32px 24px}.ph8620-relic-showcase{padding:28px 22px}}
@media(max-width:680px){.ph8620-shop-hero{gap:14px;flex-wrap:wrap;padding:22px}.ph8620-shop-crest{width:80px;flex-basis:80px}.ph8620-shop-hero h1{font-size:27px!important}.ph8620-shop-hero>div:nth-child(2){flex:1;min-width:0}.ph8620-shop-hero p{font-size:11px}.ph8620-shop-manage{margin-left:94px}.ph8620-purchase-layout{grid-template-columns:minmax(0,1fr)}.ph8620-relic-showcase{border-right:0;border-bottom:1px solid var(--relic-line)}.ph8620-relic-art{height:240px}.ph8620-relic-art img{width:220px;height:220px}.ph8620-reveal-head{gap:12px;padding:18px;flex-wrap:wrap}.ph8620-reveal-head img{flex-basis:64px;width:64px;height:64px}.ph8620-reveal-head>div{flex:1;min-width:0}.ph8620-reveal-head h1{font-size:18px!important}.ph8620-reveal-head>.ph8620-button{margin-left:76px}.ph8620-kicker{font-size:9px;letter-spacing:.09em}.ph8620-case-picker{flex-wrap:wrap;padding:14px}.ph8620-case-picker label{width:100%}.ph8620-case-picker button{font-size:10px;padding:8px}.ph8620-test-data{grid-template-columns:minmax(0,1fr)}.ph8620-locked,.ph8620-opened{padding:22px 16px}.ph8620-locked form label{flex-direction:column}.ph8620-record-action{padding:12px;flex-wrap:wrap}.ph8620-record-action>div{flex:1}.ph8620-record-action .ph8620-button{margin-left:54px;font-size:10px}}
@media(max-width:680px){.ph8620-page{width:calc(100% - 24px)}.ph8620-reveal-head{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center}.ph8620-reveal-head>.ph8620-button{grid-column:2;margin-left:0;justify-self:start}.ph8620-reveal-head>div{width:100%}.ph8620-shop-hero{display:grid;grid-template-columns:80px minmax(0,1fr)}.ph8620-shop-hero>div:nth-child(2){width:100%}.ph8620-shop-manage{grid-column:2;margin-left:0;justify-self:start}}
@media(prefers-reduced-motion:reduce){.ph8620-page *{transition:none!important;animation:none!important}}
@media(max-width:380px){.ph8620-shop-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ph8620-shop-item{padding:9px;gap:6px;grid-template-rows:auto 88px 36px 1fr}.ph8620-shop-item-top{font-size:8px}.ph8620-rank{font-size:8px;padding:4px 5px}}

