/* deldown Account: Avatar Frame Shop & deldown+ Abo. Calm on purpose: flat sections with hairlines, frames sit
   directly on the content card, no banners, no glow, no countdowns. Never a card in a card. */

.inner.shop-inner{max-width:1040px}

/* deldown+ summary block inside the Dänrus tab (flat section, hairline separated) */
.plus-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 18px}
.plus-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.plus-title h2{font-size:22px;letter-spacing:-.025em}
.plus-price{font-size:15px;font-weight:600;color:var(--accent);background:var(--tint);padding:4px 12px;border-radius:980px}
.plus-perks{list-style:none;padding:0;margin:16px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px}
.plus-perks li{display:flex;align-items:flex-start;gap:10px;font-size:15px;color:var(--text)}
.plus-perks svg{width:18px;height:18px;flex:none;color:var(--accent);margin-top:3px}
.plus-status{margin-top:14px;font-size:15px;color:var(--text-2)}
.plus-status b{color:var(--text);font-weight:600}
@media(max-width:640px){.plus-perks{grid-template-columns:1fr}}

/* Top bar: balance and deldown+ status */
.shop-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 16px;padding:4px 0 8px}
.shop-wallet{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}
.shop-bal{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 8px;border-radius:980px;background:var(--fill);font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.shop-bal img{width:22px;height:22px;display:block}
.shop-perk-pill{font-size:14px;color:var(--text-2)}
.shop-bar-links{display:flex;align-items:center;gap:14px}

/* Sections */
.shop-sec{padding:28px 0;border-top:1px solid var(--sep)}
.shop-sec h2,.shop-cat-head h2{font-size:20px;letter-spacing:-.02em}
.shop-sub{margin-top:4px;font-size:15px;line-height:1.45;color:var(--text-2);max-width:520px}
.shop-sec-head{margin-bottom:18px}

/* Rotation banners: one quiet artwork surface per category, muted colours from the category hue, the frames are
   the only bright thing. The first one is wide, the other two sit side by side. */
.shop-rotation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.shop-banner{--h:215;position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;
  height:auto;min-height:140px;padding:22px 22px 22px 24px;border-radius:20px;text-align:left;white-space:normal;font-weight:400;color:#f2f5fa;
  background:radial-gradient(70% 90% at 85% 20%,hsl(var(--h) 45% 40% / .22),transparent 70%),linear-gradient(135deg,hsl(var(--h) 30% 11%),hsl(var(--h) 28% 19%));
  transition:filter .15s}
.shop-banner:hover:not(:disabled){filter:brightness(1.1)}
.shop-banner:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.shop-banner-bg{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}
.shop-banner-body{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.shop-kicker{font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:rgba(242,245,250,.6);margin-bottom:4px}
.shop-banner-title{font-size:18px;font-weight:600;letter-spacing:-.015em;color:#fff}
.shop-banner-lead{font-size:14px;line-height:1.4;color:rgba(242,245,250,.72)}
.shop-banner-art{display:flex;align-items:center;padding-left:10px}
.shop-banner-art .pc-avatar{margin-left:-10px}
.shop-banner .pc-pic{box-shadow:none}
.shop-banner-hero{grid-column:1/-1;min-height:220px;padding:30px 44px 30px 32px}
.shop-banner-hero .shop-banner-title{font-size:30px;letter-spacing:-.03em}
.shop-banner-hero .shop-banner-lead{margin-top:4px;font-size:15px;max-width:380px}
.shop-banner-hero .shop-banner-art{gap:14px;padding-left:0}
.shop-banner-hero .shop-banner-art .pc-avatar{margin-left:0}

.shop-plus{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px}

/* Catalog */
.shop-catalog{padding-top:28px;border-top:1px solid var(--sep)}
.shop-cat-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 16px}
.shop-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.shop-search{position:relative;flex:1 1 210px;min-width:170px}
.shop-search svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--text-2);pointer-events:none}
.shop-search input{width:100%;height:38px;padding:0 14px 0 36px;border-radius:980px;border:0;background:var(--fill);font-size:15px}
.shop-search input:focus{box-shadow:inset 0 0 0 1px var(--sep)}
.shop-sort-label{margin:0 0 0 4px;font-size:14px;color:var(--text-2);white-space:nowrap}
.shop-sort-wrap{position:relative;display:inline-flex}
.shop-sort{height:38px;border-radius:980px;border:0;background:var(--fill);padding:0 36px 0 14px;font-size:14px;font-weight:500;cursor:pointer;appearance:none;-webkit-appearance:none;-moz-appearance:none}
.shop-sort:hover{background:var(--fill-hover)}
.shop-sort-wrap svg{position:absolute;right:13px;top:50%;transform:translateY(-50%);color:var(--text-2);pointer-events:none}

.shop-pills{display:flex;gap:6px;overflow-x:auto;padding:18px 4px 4px;margin:0 -4px;scrollbar-width:none}
.shop-pills::-webkit-scrollbar{display:none}
.shop-pill{height:34px;padding:0 14px;border-radius:980px;background:none;color:var(--text-2);font-size:14px;font-weight:500;flex:none}
.shop-pill:hover:not(:disabled){background:var(--fill);color:var(--text)}
.shop-pill[aria-pressed="true"]{background:var(--tint);color:var(--link);font-weight:600}

.shop-subfilters{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:6px 0 18px}
.shop-kinds{display:flex;flex-wrap:wrap;gap:4px}
.shop-kind{height:30px;padding:0 12px;border-radius:980px;background:none;color:var(--text-2);font-size:14px;font-weight:500}
.shop-kind:hover:not(:disabled){color:var(--text)}
.shop-kind[aria-pressed="true"]{background:var(--fill);color:var(--text);font-weight:600}
.shop-count{font-size:14px;color:var(--text-2);font-variant-numeric:tabular-nums}

.shop-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.shop-grid>.empty{grid-column:1/-1;color:var(--text-2);padding:24px 0}

/* A tile is the frame on your avatar with name and price; only hover gets a quiet fill */
.shop-tile{display:flex;flex-direction:column;align-items:center;gap:12px;height:auto;padding:18px 8px 14px;border-radius:16px;background:none;color:var(--text);text-align:center;white-space:normal;font-weight:400;transition:background-color .15s}
.shop-tile:hover:not(:disabled){background:var(--fill)}
.shop-tile:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.shop-stage{position:relative;display:grid;place-items:center}
.shop-stage .pc-pic{box-shadow:none}
.shop-badge{position:absolute;right:-6px;bottom:-2px;display:inline-flex;align-items:center;gap:3px;height:20px;padding:0 7px;border-radius:980px;
  font-size:11px;font-weight:600;line-height:1;background:var(--card);color:var(--text-2);box-shadow:0 0 0 1px var(--sep)}
.shop-badge svg{width:11px;height:11px;flex:none}
.shop-badge.equipped{background:var(--accent);color:var(--on-accent);box-shadow:none}

.shop-meta{display:grid;justify-items:center;gap:2px;min-width:0;width:100%}
.shop-name{max-width:100%;font-size:14px;font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shop-price-row{display:flex;align-items:center;justify-content:center;gap:5px;font-size:13px;line-height:1.3;color:var(--text-2);font-variant-numeric:tabular-nums}
.shop-price-row img{width:14px;height:14px;display:block;flex:none}
.shop-price-row .now{color:var(--text)}
.shop-more{display:flex;justify-content:center;padding-top:24px}

/* Skeletons while the shop loads */
.shop-sk{pointer-events:none}
.shop-sk .shop-stage{width:88px;height:88px;border-radius:50%}
.shop-sk .shop-stage,.shop-sk-line{background:var(--fill);animation:shop-pulse 1.2s ease-in-out infinite alternate}
.shop-sk-line{display:block;height:10px;border-radius:5px;width:70%}
.shop-sk-line+.shop-sk-line{width:40%;margin-top:6px}
@keyframes shop-pulse{from{opacity:1}to{opacity:.55}}

/* Detail and checkout dialog */
.shop-dlg{width:min(460px,100% - 32px);padding:24px 26px 26px}
.shop-dlg-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.shop-dlg-head h2{font-size:20px;letter-spacing:-.02em}
.shop-dlg-card{margin-bottom:18px}
.shop-dlg-card .pc{max-width:none}
.shop-dlg-info{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px}
.shop-dlg-price{padding:14px 0;border-top:1px solid var(--sep);border-bottom:1px solid var(--sep);display:grid;gap:6px}
.shop-dlg-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:15px}
.shop-dlg-row span{color:var(--text-2)}
.shop-dlg-row b{font-weight:600;font-variant-numeric:tabular-nums;text-align:right}
.shop-dlg-actions{display:grid;gap:10px;margin-top:18px}
.shop-dlg-actions .pri,.shop-dlg-actions button:not(.plain){width:100%}
.shop-dlg-actions .plain{justify-self:center}

/* Profile tab link to the shop */
.deco-foot{margin-top:16px;display:flex;flex-wrap:wrap;align-items:center;gap:12px}

@media(max-width:1020px){
  .shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:760px){
  .shop-bar{padding:14px 18px;border-radius:18px;background:var(--card)}
  .shop-sec,.shop-catalog{padding:20px 18px;border-top:0;border-radius:18px;background:var(--card)}
  .shop-rotation{grid-template-columns:1fr}
  .shop-banner{grid-template-columns:1fr;gap:14px;padding:18px 20px}
  .shop-banner-art{order:-1}
  .shop-banner-hero{min-height:0;padding:22px 20px}
  .shop-banner-hero .shop-banner-title{font-size:24px}
  .shop-controls{width:100%}
  .shop-search{flex-basis:100%}
  .shop-sort-wrap{flex:1}
  .shop-sort{width:100%}
  .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
  .shop-sk .shop-stage{width:72px;height:72px}
}
@media(prefers-reduced-motion:reduce){
  .shop-tile,.shop-banner{transition:none}
  .shop-sk .shop-stage,.shop-sk-line{animation:none}
}
