/* XP-Shop 2.1: local, scoped visual layer. Existing previews remain intact. */
.shop-compact { width:min(1200px,calc(100% - 32px)); padding:24px 0 48px; color:#f5f5f6; }
.shop-compact *, .shop-compact *::before,.shop-compact *::after {box-sizing:border-box;}
.shop-compact .shop-header { padding:22px; margin-bottom:14px; border-radius:20px; }
.shop-compact .shop-header h1 {font-size:clamp(28px,4vw,42px);line-height:1.12;letter-spacing:-.8px;}
.shop-compact .shop-header p {font-size:14px;margin:6px 0 0;line-height:1.5;}
.shop-compact .shop-kicker {margin-bottom:5px;font-size:11px;}
.shop-compact .shop-xp-cards {grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:16px;}
.shop-compact .shop-xp-card {min-width:0;min-height:0;padding:12px;border-radius:12px;box-shadow:none;}
.shop-compact .shop-xp-card span {font-size:10px;letter-spacing:.55px;margin-bottom:3px;}
.shop-compact .shop-xp-card strong {font-size:clamp(18px,2.4vw,26px);overflow-wrap:anywhere;line-height:1.15;}
.shop-compact .shop-xp-card small {font-size:11px;line-height:1.3;}
.shop-compact .shop-discord-notice {display:flex;align-items:center;gap:12px;padding:12px 15px;margin-bottom:14px;border:1px solid #494b78;border-radius:14px;background:linear-gradient(135deg,#24243a,#16161d);}
.shop-compact .shop-discord-mark {display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:10px;background:#5865f2;color:#fff;font-size:19px;font-weight:900;}
.shop-compact .shop-discord-copy {flex:1;min-width:0;display:grid;gap:3px;}
.shop-compact .shop-discord-copy strong {font-size:14px;}
.shop-compact .shop-discord-copy span {font-size:12px;color:#c1c1ce;line-height:1.45;}
.shop-compact .shop-discord-link {display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 13px;border:1px solid #8589ec;border-radius:9px;color:#fff;background:#464fb8;text-decoration:none;font-size:13px;font-weight:800;text-align:center;}
.shop-compact .shop-tabs {display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px;}
.shop-compact .shop-tab {font-size:13px;min-height:38px;padding:8px 12px;border-radius:9px;justify-content:center;}
.shop-compact .shop-tab.active {box-shadow:none;}
.shop-compact .shop-section {padding:18px;border-radius:18px;margin-top:14px;}
.shop-compact .shop-section-head {margin-bottom:12px;align-items:flex-start;}
.shop-compact .shop-section h2 {font-size:22px;margin:0 0 4px;}
.shop-compact .shop-section-head p {font-size:13px;line-height:1.5;}
.shop-compact .shop-category-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;position:relative;z-index:2;}
.shop-compact .shop-category {display:flex;gap:11px;align-items:center;min-width:0;min-height:96px;padding:14px;border:1px solid #3c3b42;border-radius:13px;background:linear-gradient(150deg,#252529,#151518);text-decoration:none;color:#f5f5f6;transition:border-color .15s,background .15s;}
.shop-compact .shop-category:hover {border-color:#e44b50;background:#282025;}
.shop-compact .shop-category-symbol {display:grid;place-items:center;flex:0 0 38px;height:38px;background:#442328;border:1px solid #72343c;border-radius:10px;color:#ff9b9b;font-size:19px;font-weight:900;}
.shop-compact .shop-category-copy {display:grid;gap:3px;flex:1;min-width:0;}
.shop-compact .shop-category-copy strong {font-size:15px;overflow-wrap:anywhere;}
.shop-compact .shop-category-copy small {font-size:12px;line-height:1.4;color:#b9b9c3;}
.shop-compact .shop-category-count {font-size:11px;color:#e5a0a4;}
.shop-compact .shop-category-arrow {color:#b4b4bd;font-size:22px;}
.shop-compact .shop-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.shop-compact .shop-item {min-width:0;min-height:0;padding:14px;border-radius:14px;box-shadow:none;overflow-wrap:anywhere;}
.shop-compact .shop-item.locked {opacity:1;}
.shop-compact .shop-item:hover {transform:none;}
.shop-compact .shop-item h3 {font-size:18px;margin:0 0 5px;}
.shop-compact .shop-item p {min-height:0;margin:0 0 5px;font-size:13px;line-height:1.5;}
.shop-compact .item-badges {gap:5px;margin-bottom:9px;}
.shop-compact .item-badge {font-size:11px;padding:4px 7px;}
.shop-compact .shop-actions {padding-top:12px;}
.shop-compact .shop-actions .arena-button {min-height:42px;height:auto;white-space:normal;line-height:1.25;}
.shop-compact .shop-progress {margin:9px 0 3px;}
.shop-compact .shop-product-visual img {aspect-ratio: 16/9;max-height:120px;object-fit:contain;}
.shop-compact .shop-card-preview {grid-template-columns:75px minmax(0,1fr);padding:9px;gap:9px;margin-top:8px;}
.shop-compact .shop-card-preview img {width:75px;max-width:100%;margin:0;}
.shop-compact .shop-card-preview-info strong {font-size:14px;}
.shop-compact .shop-card-preview-stats {margin-top:5px;}
.shop-compact .shop-card-preview-stats span {padding:4px 7px;font-size:11px;}
.shop-compact .shop-preview-frame {height:58px;}
.shop-compact .pack-opening-box {padding:12px 15px;margin-bottom:14px;border-radius:12px;}
.shop-compact .pack-opening-box summary,.shop-compact .shop-orders summary {font-weight:800;cursor:pointer;line-height:1.5;}
.shop-compact .pack-list {margin-top:10px;}
.shop-compact .shop-role-visual {border:1px solid var(--role-color);border-radius:11px;background:linear-gradient(145deg,#26262d,#17171a);padding:14px 10px;text-align:center;color:var(--role-color);font-weight:800;font-size:18px;margin-bottom:10px;}
.shop-compact .shop-role-price {font-size:21px;color:#ffda8e;font-weight:900;margin:8px 0;}
.shop-compact .shop-role-status {padding:9px 10px;border:1px solid #494950;background:#26262b;border-radius:9px;color:#dfdfe5;font-size:13px;text-align:center;}
.shop-compact .shop-role-status.granted {border-color:#416b54;color:#adf0c4;background:#1a3024;}
.shop-compact .shop-role-warning {position:relative;z-index:2;margin:0 0 12px;padding:10px;border:1px solid #77543b;border-radius:10px;background:#33271c;color:#ffddac;font-size:13px;}
.shop-compact .shop-orders {position:relative;z-index:2;margin-top:14px;border:1px solid #3b3b40;border-radius:12px;padding:12px;}
.shop-compact .shop-orders p {font-size:12px;margin:8px 0;line-height:1.5;}
.shop-compact .shop-order-row {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px 0;border-top:1px solid #37373c;font-size:13px;overflow-wrap:anywhere;}
.shop-compact .shop-order-row small {display:block;color:#b9b9c3;font-size:11px;}
.shop-compact a:focus-visible,.shop-compact button:focus-visible,.shop-compact summary:focus-visible {outline:2px solid #ff9393;outline-offset:3px;}
@media(max-width:900px){.shop-compact .shop-category-grid,.shop-compact .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.shop-compact .shop-xp-cards{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:540px){.shop-compact{width:calc(100% - 20px);padding-top:14px;}.shop-compact .shop-header,.shop-compact .shop-section{padding:13px;border-radius:14px;}.shop-compact .shop-xp-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}.shop-compact .shop-xp-card{padding:9px;}.shop-compact .shop-xp-card.booster{grid-column:1/-1;}.shop-compact .shop-discord-notice{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;padding:10px;}.shop-compact .shop-discord-link{grid-column:1/-1;}.shop-compact .shop-tabs{gap:5px;}.shop-compact .shop-tab{font-size:12px;padding:6px 9px;}.shop-compact .shop-category-grid{grid-template-columns:1fr;gap:6px;}.shop-compact .shop-category{min-height:0;padding:10px;}.shop-compact .shop-grid{grid-template-columns:1fr;}.shop-compact .shop-order-row{grid-template-columns:1fr auto;}.shop-compact .shop-order-row > :nth-child(2){grid-row:2;grid-column:1/-1;}}
@media(prefers-reduced-motion:reduce){.shop-compact .shop-category,.shop-compact .shop-tab,.shop-compact .shop-item{transition:none;}}
/* Neutralize global centered heading styles inside the shop only. */
.shop-compact .shop-header h1,.shop-compact .shop-section h2 {text-align:left;padding-left:0;}
