* { box-sizing: border-box; }
:root { color-scheme: dark; font-family: Nunito, Arial, sans-serif; background: #102c50; color: #edf7ff; }
body { margin: 0; min-height: 100dvh; background: radial-gradient(ellipse at 10% 0, #315f89 0, transparent 55%), radial-gradient(ellipse at 95% 65%, #1b5079 0, transparent 60%), #102c50; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #a3e3ff; outline-offset: 4px; }
.shop-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1180px; margin: auto; padding: 10px 30px 0; }
.shop-brand { display: block; width: 146px; flex: 0 0 auto; filter: drop-shadow(0 3px 5px #06142680); }
.shop-brand img { display: block; width: 100%; height: auto; }
.shop-header nav { display: flex; align-items: center; gap: 10px; }
.shop-header nav a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 18px; border: 1px solid #b3dfff80; border-radius: 13px; background: linear-gradient(145deg, #214f7e, #092342); box-shadow: inset 0 1px 0 #e4f6ff22, 0 4px 12px #06172855; font-size: 14px; font-weight: 800; }
.shop-page { max-width: 1180px; margin: auto; padding: 10px 30px 38px; }
.shop-welcome { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.shop-eyebrow { margin: 0 0 7px; color: #b1d8f2; font-size: 11px; font-weight: 800; letter-spacing: 1px; }
h1 { margin: 0; color: #fff4da; font-size: clamp(30px, 4vw, 42px); font-weight: 900; line-height: 1.1; }
.shop-intro-copy { margin: 11px 0 0; color: #d3e5f5; font-size: 15px; line-height: 1.5; }
.shop-wallet { display: flex; flex: 0 0 auto; flex-direction: column; justify-content: center; min-width: 225px; padding: 17px 24px; border: 1px solid #b7d7ed99; border-radius: 18px; background: linear-gradient(145deg, #204a73, #0a203e); box-shadow: inset 0 1px 0 #e9f7ff33, 0 8px 20px #06172840; }
.shop-wallet > span { color: #c3def0; font-size: 13px; font-weight: 800; }
.shop-wallet strong { margin-top: 3px; color: #fff2c6; font-size: 32px; font-weight: 900; font-variant-numeric: tabular-nums; }
.shop-wallet small { margin-top: 4px; color: #d6e9f7; font-size: 12px; overflow-wrap: anywhere; }
.shop-profile-message { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; min-height: 32px; margin-top: 9px; }
.shop-profile-message p { margin: 0; color: #cfe5f6; font-size: 13px; line-height: 1.4; }
.shop-profile-message button { min-height: 30px; padding: 5px 12px; border: 1px solid #84badf; border-radius: 9px; background: #204a77; color: #edf7ff; font-size: 12px; font-weight: 800; }
.shop-cabin { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: 14px 0 28px; padding: 23px 26px; border: 1px solid #8bdaf79e; border-radius: 19px; background: linear-gradient(135deg, #1e5782, #173759); box-shadow: inset 0 1px 0 #e7f7ff20, 0 10px 24px #051a3340; }
.shop-cabin h2, .shop-catalog h2 { margin: 0; font-size: 23px; font-weight: 900; }
.shop-cabin p { max-width: 620px; margin: 8px 0 0; color: #d5eaf7; font-size: 14px; line-height: 1.5; }
.shop-cabin-link { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 17px; min-height: 46px; padding: 12px 19px; border: 1px solid #d2f0ffb0; border-radius: 12px; background: linear-gradient(145deg, #328ec8, #176699); box-shadow: inset 0 1px 0 #ffffff50, 0 5px 12px #08284560; color: #fff; font-size: 14px; font-weight: 900; }
.shop-cabin-link:hover, .shop-header nav a:hover { filter: brightness(1.12); }
.shop-catalog-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.shop-catalog-heading > span { color: #bbd8ed; font-size: 12px; }
#shop-catalog-note { max-width: 760px; margin: 10px 0 19px; color: #cce1f1; font-size: 14px; line-height: 1.55; }
.shop-items { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.shop-item { min-width: 0; padding: 20px 14px 17px; border: 1px solid #a6c9e180; border-radius: 17px; background: linear-gradient(155deg, #25567c, #102e50); box-shadow: inset 0 1px 0 #e5f5ff26, 0 8px 20px #041a3240; text-align: center; }
.shop-item-icon { display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 16px; border: 1px solid #b1d4eb50; border-radius: 23px; background: #d9edff16; font-size: 43px; }
.shop-item h3 { min-height: 38px; margin: 0 0 10px; color: #f2f8ff; font-size: 15px; font-weight: 900; line-height: 1.3; }
.shop-item-price { display: block; color: #fff0c1; font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums; }
.shop-item-unit { display: block; margin-top: 3px; color: #bed9ed; font-size: 10px; }
.shop-item-state { display: block; margin: 15px 0 0; padding: 7px 4px; border: 1px solid #afd1e74d; border-radius: 8px; background: #061e3a40; color: #d2e5f3; font-size: 11px; font-weight: 800; line-height: 1.35; }
.shop-item-state.is-owned { color: #c2f6d9; border-color: #85d8ac66; }
@media (max-width: 900px) { .shop-items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .shop-header { align-items: center; gap: 12px; padding: 7px 16px 0; }
  .shop-brand { width: 110px; }
  .shop-header nav { gap: 7px; }
  .shop-header nav a { min-height: 38px; padding: 8px 10px; font-size: 12px; }
  .shop-page { padding: 10px 16px 28px; }
  .shop-welcome { align-items: stretch; flex-direction: column; gap: 17px; }
  .shop-wallet { min-width: 0; padding: 14px 18px; }
  .shop-wallet strong { font-size: 30px; }
  .shop-cabin { align-items: stretch; flex-direction: column; gap: 17px; margin-bottom: 24px; padding: 19px; }
  .shop-cabin-link { width: 100%; }
  .shop-cabin h2, .shop-catalog h2 { font-size: 21px; }
  .shop-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .shop-item { padding: 17px 10px 14px; }
  .shop-item-icon { width: 68px; height: 68px; font-size: 37px; }
}
