* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; background: #151218; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: 'Manrope', sans-serif;
  color: #FFFFFF;
  background-color: #151218;
  background-image:
    radial-gradient(760px 480px at 12% -6%, rgba(240,107,224,0.18), transparent 60%),
    radial-gradient(680px 460px at 92% 8%, rgba(184,51,172,0.16), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(46,123,255,0.08), transparent 65%);
  background-attachment: fixed, fixed, fixed;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
::placeholder { color: #6E6680; }
a { text-decoration: none; }
button { font-family: inherit; }
img { max-width: none; }

@keyframes modalOverlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalOverlayOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes modalCardIn {
  from { opacity: 0; transform: translate(var(--dx, 0px), calc(var(--dy, 0px) + 16px)) scale(0.94); }
  to { opacity: 1; transform: none; }
}
@keyframes modalCardOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(10px) scale(0.975); } }
@keyframes sheetIn { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes sheetOut { from { transform: translateY(0); } to { transform: translateY(101%); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes cubeFloat { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -11px, 0); } }
@keyframes cubeTurn {
  0%, 100% { transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--rz)); }
  50% { transform: rotateX(calc(var(--rx) + 8deg)) rotateY(calc(var(--ry) + 22deg)) rotateZ(var(--rz)); }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.6s cubic-bezier(0.2,0.8,0.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .modal-overlay, .modal-card, .modal-overlay.closing, .modal-overlay.closing .modal-card { animation: none !important; }
}

.bg-orbs { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg-orbs .orb1 { position: absolute; top: -160px; left: -120px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(240,107,224,0.20), transparent 70%); filter: blur(10px); }
.bg-orbs .orb2 { position: absolute; top: 220px; right: -180px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(46,123,255,0.14), transparent 70%); filter: blur(10px); }
.bg-orbs .orb3 { position: absolute; bottom: -220px; left: 30%; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(184,51,172,0.16), transparent 70%); filter: blur(10px); }

.page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; position: relative; z-index: 1; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(23,19,28,0.94); backdrop-filter: blur(12px); border-bottom: 1px solid #272130; transition: box-shadow 0.25s ease, background 0.25s ease; }
.site-header.scrolled { box-shadow: 0 14px 34px rgba(0,0,0,0.42); background: rgba(21,17,26,0.97); }
.site-header .inner { max-width: 1480px; margin: 0 auto; padding: 0 28px; height: 78px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: 6px; color: inherit; }
.brand img { width: 46px; height: 46px; }
.brand .name { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 17px; color: #FFFFFF; line-height: 1.2; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-link { color: #8F87A0; font-weight: 700; font-size: 11.5px; letter-spacing: 0.08em; padding: 10px 10px; transition: color 0.15s; }
.nav-link:hover { color: #FFFFFF; }
.nav-home { display: flex; align-items: center; gap: 9px; background: #282232; border-radius: 14px; padding: 7px 15px 7px 7px; margin-right: 6px; }
.nav-home .ico { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, #F06BE0, #B833AC); display: flex; align-items: center; justify-content: center; }
.nav-home span:last-child { color: #FFFFFF; font-weight: 800; font-size: 11.5px; letter-spacing: 0.08em; }
.header-side { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.cur-chip { display: flex; align-items: center; gap: 7px; background: #221D2B; border: 1px solid #2E2838; border-radius: 12px; padding: 9px 14px; color: #B7AFC4; font-weight: 800; font-size: 13px; }
.cur-chip .sym { color: #E14FD2; }
.tg-btn { width: 38px; height: 38px; border-radius: 50%; background: #2AABEE; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.16s ease; }
.nav-toggle { display: none; width: 42px; height: 42px; flex-shrink: 0; align-items: center; justify-content: center; background: #221D2B; border: 1px solid #2E2838; border-radius: 13px; cursor: pointer; padding: 0; transition: background 0.18s ease, border-color 0.18s ease; }
.nav-toggle .bars { position: relative; width: 18px; height: 13px; display: block; }
.nav-toggle i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: #FFFFFF; transition: transform 0.28s cubic-bezier(0.2,0.8,0.2,1), opacity 0.18s ease, width 0.28s ease; }
.nav-toggle i:nth-child(1) { top: 0; }
.nav-toggle i:nth-child(2) { top: 5.5px; width: 72%; }
.nav-toggle i:nth-child(3) { top: 11px; }
.site-header.nav-open .nav-toggle { background: linear-gradient(135deg, #F06BE0, #B833AC); border-color: transparent; }
.site-header.nav-open .nav-toggle i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-header.nav-open .nav-toggle i:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.site-header.nav-open .nav-toggle i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.content { max-width: 1480px; margin: 0 auto; padding: 36px 28px 72px; width: 100%; flex: 1; }

.hero { position: relative; overflow: visible; margin-bottom: 44px; min-height: 380px; display: flex; align-items: center; }
.hero-panel { position: absolute; top: 0; left: 0; bottom: 0; right: 108px; border-radius: 26px; overflow: hidden; background: #1a1226; box-shadow: 0 24px 60px rgba(184,51,172,0.28); }
.hero-panel .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-panel .shade1 { position: absolute; inset: 0; background-image: linear-gradient(100deg, rgba(46,16,66,0.96) 0%, rgba(84,28,110,0.82) 34%, rgba(140,40,140,0.42) 62%, rgba(20,10,30,0.4) 100%); pointer-events: none; }
.hero-panel .shade2 { position: absolute; inset: 0; background-image: linear-gradient(to top, rgba(15,8,24,0.55), transparent 40%); pointer-events: none; }
.hero-panel .vignette { position: absolute; inset: 0; box-shadow: inset -26px 0 40px -18px rgba(0,0,0,0.55); pointer-events: none; }
.hero-panel .watermark { position: absolute; left: -10px; top: 180px; font-family: 'Unbounded', sans-serif; font-size: 150px; font-weight: 800; color: rgba(255,255,255,0.06); letter-spacing: -0.02em; white-space: nowrap; pointer-events: none; user-select: none; line-height: 1; }
.hero-heroes { position: absolute; right: 8px; bottom: 4px; height: 112%; width: auto; filter: drop-shadow(0 16px 26px rgba(0,0,0,0.5)); pointer-events: none; z-index: 3; }
.hero-body { position: relative; z-index: 4; padding: 44px 48px; max-width: 620px; }
.hero-body h1 { font-family: 'Unbounded', sans-serif; font-size: 48px; line-height: 1.06; font-weight: 800; color: #FFFFFF; margin: 18px 0 0; text-shadow: 0 4px 24px rgba(0,0,0,0.3); animation: heroIn 0.75s cubic-bezier(0.2,0.8,0.2,1) both; }
.hero-body .sub { color: rgba(255,255,255,0.88); font-size: 17px; font-weight: 600; line-height: 1.5; margin: 16px 0 0; max-width: 460px; animation: heroIn 0.75s 0.09s cubic-bezier(0.2,0.8,0.2,1) both; }
.hero-cta { display: flex; align-items: center; gap: 13px; margin-top: 26px; flex-wrap: wrap; animation: heroIn 0.75s 0.18s cubic-bezier(0.2,0.8,0.2,1) both; }
.btn-primary { display: inline-flex; align-items: center; gap: 9px; background: #FFFFFF; color: #B02A9E; font-family: 'Unbounded', sans-serif; font-size: 13px; font-weight: 700; padding: 15px 26px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); transition: transform 0.16s ease, box-shadow 0.2s ease; }
.btn-ip { display: inline-flex; align-items: center; gap: 10px; background: rgba(15,8,24,0.5); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(8px); color: #FFFFFF; font-size: 14px; font-weight: 800; padding: 14px 20px; border-radius: 14px; cursor: pointer; letter-spacing: 0.02em; transition: background 0.15s, border-color 0.15s, transform 0.16s ease; }
.btn-ip.copied { border-color: rgba(74,222,128,0.55); background: rgba(20,48,32,0.55); }
.btn-ip .ip { font-family: 'Unbounded', sans-serif; font-size: 12.5px; }
@media (prefers-reduced-motion: reduce) {
  .hero-body h1, .hero-body .sub, .hero-cta { animation: none; }
}

.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.section-head .ico { width: 36px; height: 36px; border-radius: 11px; background: #282232; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.section-head h2 { font-family: 'Unbounded', sans-serif; font-size: 19px; font-weight: 700; color: #FFFFFF; margin: 0; }
.section-head .aside { margin-left: auto; color: #8F87A0; font-size: 13px; font-weight: 600; }
.section-head .aside b { color: #FFFFFF; font-weight: 800; }

.purchases { margin-bottom: 48px; }
.purchases-body { display: grid; grid-template-columns: 1fr; gap: 14px; }
.purchases.has-donator .purchases-body { grid-template-columns: 280px 1fr; }
.donator-slot:empty { display: none; }
.purchases-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.donator-card { background: linear-gradient(160deg, #2C2138, #1E1926); border: 1px solid #3A2C4E; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 11px; }
.donator-card .nick { display: flex; align-items: center; gap: 10px; background: #171320; border: 1px solid #2E2838; border-radius: 12px; padding: 8px 12px; align-self: flex-start; }
.donator-card .nick img { width: 26px; height: 26px; }
.donator-card .nick span { color: #FFFFFF; font-weight: 800; font-size: 13px; }
.donator-card .label { color: #8F87A0; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; margin-top: 4px; }
.donator-card .sum { font-family: 'Unbounded', sans-serif; color: #FFFFFF; font-size: 24px; font-weight: 800; }
.donator-card .cur { color: #6E6680; font-size: 12px; font-weight: 700; }
.purchase-card { position: relative; overflow: hidden; background: #1E1926; border: 1px solid #2A2433; border-radius: 16px; padding: 18px 10px 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; text-align: center; transition: border-color 0.15s ease, transform 0.15s ease; }
.purchase-card::before { content: ''; position: absolute; left: 50%; top: -14px; width: 132px; height: 132px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, var(--glow, #E14FD2) 0%, transparent 62%); opacity: 0.2; pointer-events: none; }
.purchase-card:hover { border-color: #3A3247; transform: translateY(-2px); }
.purchase-card .head { position: relative; z-index: 1; width: 72px; height: 72px; }
.purchase-card .buy { position: relative; z-index: 1; max-width: 100%; display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,0.045); border: 1px solid #322B40; border-radius: 999px; padding: 4px 13px; }
.purchase-card .buy:has(.tile) { padding-left: 5px; }
.purchase-card .tile { width: 27px; height: 27px; flex-shrink: 0; image-rendering: pixelated; }
.purchase-card .nick { position: relative; z-index: 1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #FFFFFF; font-weight: 800; font-size: 13.5px; }
.purchase-card .sum { display: inline-flex; align-items: baseline; gap: 3px; font-family: 'Unbounded', sans-serif; color: #FFFFFF; font-size: 13px; font-weight: 700; white-space: nowrap; }
.purchase-card .sum span { color: #8F87A0; font-size: 11px; font-weight: 700; }
.purchase-card .when { position: relative; z-index: 1; color: #6E6680; font-size: 12px; font-weight: 600; }

.catalog-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.catalog-grid > div { min-width: 0; }
.purchases-body > * { min-width: 0; }
.search-box { display: flex; align-items: center; gap: 10px; background: #1E1926; border: 1px solid #2A2433; border-radius: 14px; padding: 13px 14px; margin-bottom: 16px; transition: border-color 0.18s ease; }
.search-box:focus-within { border-color: #4A3B5E; }
.search-box input { background: transparent; border: none; outline: none; color: #FFFFFF; font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 600; flex: 1; min-width: 0; }
.cat-btn { display: flex; align-items: center; gap: 14px; padding: 11px 18px; border-radius: 18px; margin-bottom: 12px; cursor: pointer; font-weight: 800; font-size: 15px; color: #C9C2D6; background: #1C1723; border: 1px solid #272130; user-select: none; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease; width: 100%; text-align: left; }
.cat-btn .ico { width: 42px; height: 42px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cat-btn .ico img { width: 38px; height: 38px; border-radius: 9px; image-rendering: pixelated; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.45)); }
.cat-btn.active { color: #FFFFFF; background: linear-gradient(135deg, #F06BE0, #B833AC); border: 1px solid transparent; box-shadow: 0 8px 20px rgba(184,51,172,0.32); }
.server-chip { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #F06BE0, #B833AC); border-radius: 14px; padding: 8px 18px 8px 10px; margin-bottom: 18px; box-shadow: 0 6px 24px rgba(225,79,210,0.3); }
.server-chip img { width: 30px; height: 30px; }
.server-chip span { font-family: 'Unbounded', sans-serif; color: #FFFFFF; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); grid-auto-rows: 1fr; gap: 16px; align-items: stretch; }

.product-card { background: #1E1926; border: 1px solid #2A2433; border-radius: 16px; overflow: hidden; position: relative; transition: transform 0.15s ease, border-color 0.15s ease; display: flex; flex-direction: column; height: 100%; cursor: pointer; }
.product-card:hover { transform: translateY(-4px); border-color: #3A2F4C; }
.product-card .top { padding: 16px 16px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; height: 76px; flex-shrink: 0; overflow: hidden; }
.product-card .cat-label { color: #8F87A0; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.product-card .name { font-family: 'Unbounded', sans-serif; color: #FFFFFF; font-size: 15px; font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .stock { color: #B7AFC4; font-size: 11.5px; font-weight: 700; margin-top: 3px; }
.product-card .stock b { color: #FFFFFF; font-weight: 800; }
.season-badge { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 7px 12px; background: linear-gradient(100deg, #E0364C, #C1379A, #6B4FFF, #C1379A, #E0364C); background-size: 220% 100%; animation: seasonFlow 5s linear infinite; }
.season-badge::before { content: '\2744'; color: rgba(255,255,255,0.95); font-size: 11px; animation: seasonSpin 6s linear infinite; }
.season-badge::after { content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.4), transparent); transform: skewX(-18deg); animation: seasonShine 4s ease-in-out infinite; }
.season-badge span { position: relative; z-index: 1; font-family: 'Manrope', sans-serif; font-size: 11.5px; font-weight: 800; letter-spacing: 0.16em; color: #FFFFFF; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }
@keyframes seasonFlow { to { background-position: 220% 0; } }
@keyframes seasonShine { 0% { left: -70%; } 45% { left: 130%; } 100% { left: 130%; } }
@keyframes seasonSpin { to { transform: rotate(360deg); } }

.season-block { position: relative; overflow: hidden; border: 1px solid #3A2F4C; border-radius: 20px; padding: 22px; margin-bottom: 26px; background: linear-gradient(135deg, rgba(224,54,76,0.14), rgba(193,55,154,0.10) 45%, rgba(107,79,255,0.14)); }
.season-block::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px 200px at 15% -20%, rgba(240,107,224,0.16), transparent 70%); }
.season-block-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.sb-icon { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #E0364C, #6B4FFF); font-size: 19px; animation: seasonSpin 7s linear infinite; }
.sb-titles { flex: 1; min-width: 0; }
.sb-title { font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: linear-gradient(100deg, #FF7A88, #F06BE0, #9B8CFF, #F06BE0, #FF7A88); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: seasonFlow 5s linear infinite; }
.sb-sub { color: #B7AFC4; font-size: 12.5px; font-weight: 600; margin-top: 3px; }
.sb-info { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #6E6680; color: #B7AFC4; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; cursor: help; flex-shrink: 0; }
.sb-info:hover, .sb-info.open { border-color: #F06BE0; color: #FFFFFF; }
.sb-info .tip { position: absolute; top: calc(100% + 10px); right: 0; width: 250px; background: #241F2E; border: 1px solid #3A2F4C; border-radius: 12px; padding: 11px 14px; color: #C9C2D6; font-family: 'Manrope', sans-serif; font-size: 12.5px; font-weight: 500; line-height: 1.5; text-transform: none; letter-spacing: 0; box-shadow: 0 16px 40px rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s; z-index: 20; }
.sb-info:hover .tip, .sb-info:focus .tip, .sb-info.open .tip { opacity: 1; visibility: visible; transform: translateY(0); }
.season-block-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); grid-auto-rows: 1fr; gap: 16px; }

@media (prefers-reduced-motion: reduce) {
  .season-badge, .season-badge::before, .season-badge::after, .sb-title, .sb-icon { animation: none; }
}
.hit-badge { background: linear-gradient(135deg, #F06BE0, #B833AC); color: #FFFFFF; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 8px; flex-shrink: 0; }
.product-card .tile { padding: 6px 16px 16px; display: flex; flex: 1; }
.product-card .tile-inner { height: 210px; width: 100%; flex: 1; display: flex; align-items: center; justify-content: center; position: relative; overflow: visible; }
.product-card .tile-inner img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4)) drop-shadow(0 0 20px var(--glow)); }
.product-card .tile-inner.self-glow img { width: 100%; height: 100%; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4)) drop-shadow(0 0 20px var(--glow)); }
.buy-bar { background: #262130; padding: 13px; text-align: center; font-family: 'Unbounded', sans-serif; color: #FFFFFF; font-size: 15px; font-weight: 700; cursor: pointer; border: none; width: 100%; }
.empty-note { color: #8F87A0; font-size: 14px; font-weight: 600; padding: 40px 0; text-align: center; }

.modal-overlay { position: fixed; inset: 0; background: rgba(8,6,11,calc(0.78 * var(--drag, 1))); backdrop-filter: blur(6px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; animation: modalOverlayIn 0.24s ease; }

.modal-overlay.closing { animation: modalOverlayOut 0.22s ease forwards; }
.modal-card { width: 1000px; max-width: 100%; max-height: 92vh; overflow-y: auto; background: #17131E; border: 1px solid #2A2433; border-radius: 22px; padding: 30px 34px 34px; box-shadow: 0 40px 100px rgba(0,0,0,0.6); animation: modalCardIn 0.34s cubic-bezier(0.19,0.9,0.22,1); }
.modal-overlay.closing .modal-card { animation: modalCardOut 0.2s cubic-bezier(0.4,0,1,1) forwards; }
.modal-overlay.swipe-out .modal-card { animation: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-head .title { font-family: 'Unbounded', sans-serif; color: #FFFFFF; font-size: 24px; font-weight: 800; }
.modal-close { color: #8F87A0; font-size: 26px; cursor: pointer; line-height: 1; background: none; border: none; padding: 0; }
.modal-close:hover { color: #FFFFFF; }
.modal-grid { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start; }
.modal-product { background: #1C1826; border: 1px solid #2A2433; border-radius: 18px; padding: 22px; }
.modal-product .pic { border-radius: 16px; border: 1px solid #2A2433; padding: 26px 18px; display: flex; align-items: center; justify-content: center; min-height: 180px; background: radial-gradient(circle at 50% 42%, var(--tint), transparent 70%); }
.modal-product .pic img { width: 200px; height: 200px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,0.4)) drop-shadow(0 0 24px var(--glow)); }
.modal-product .pic.self-glow img { width: 200px; height: 200px; filter: drop-shadow(0 8px 18px rgba(0,0,0,0.4)) drop-shadow(0 0 24px var(--glow)); }
.modal-product .title { font-family: 'Unbounded', sans-serif; color: #FFFFFF; font-size: 19px; font-weight: 800; margin-top: 18px; }
.modal-product .price-row { display: flex; align-items: baseline; gap: 7px; margin-top: 7px; }
.modal-product .price-row .val { font-family: 'Unbounded', sans-serif; color: #FFFFFF; font-size: 17px; font-weight: 700; }
.modal-product .price-row .per { color: #6E6680; font-size: 13px; font-weight: 600; }
.modal-product .status { color: #B7AFC4; font-size: 13.5px; font-weight: 600; margin-top: 14px; }
.modal-product .note { color: #8F87A0; font-size: 13px; font-weight: 500; margin-top: 6px; }
.donate-hint { display: flex; gap: 9px; align-items: flex-start; background: #191521; border: 1px solid #2E2838; border-radius: 12px; padding: 12px 14px; margin-top: 16px; color: #B7AFC4; font-size: 12.5px; font-weight: 500; line-height: 1.5; }
.donate-hint svg { flex-shrink: 0; margin-top: 1px; }
.donate-hint code { color: #E14FD2; font-family: 'Manrope', sans-serif; font-weight: 800; }
.total-row { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid #262030; margin-bottom: 18px; }
.total-row .label { color: #8F87A0; font-size: 15px; font-weight: 700; }
.total-row .val { font-family: 'Unbounded', sans-serif; color: #FFFFFF; font-size: 18px; font-weight: 700; }
.warn-box { display: flex; gap: 12px; background: #1F1A29; border: 1px solid #2E2838; border-radius: 14px; padding: 15px 17px; margin-bottom: 22px; }
.warn-box svg { flex-shrink: 0; margin-top: 1px; }
.warn-box .title { color: #FFA928; font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.warn-box .text { color: #B7AFC4; font-size: 13px; font-weight: 500; line-height: 1.5; }
.form-label { color: #FFFFFF; font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.durations { display: flex; gap: 12px; margin-bottom: 24px; }
.duration-opt { flex: 1; display: flex; align-items: center; gap: 11px; padding: 13px 14px; border-radius: 13px; cursor: pointer; transition: border-color 0.15s, background 0.15s; background: #191521; border: 1.5px solid #2A2433; }
.duration-opt .radio { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; border: 2px solid #4A4258; transition: border 0.15s; }
.duration-opt.active { background: linear-gradient(135deg, rgba(240,107,224,0.16), rgba(184,51,172,0.10)); border-color: #F06BE0; }
.duration-opt.active .radio { border: 6px solid #F06BE0; }
.duration-opt .label { color: #FFFFFF; font-size: 14px; font-weight: 700; }
.duration-opt .sub { color: #8F87A0; font-size: 12px; font-weight: 500; }
.duration-opt .price { font-family: 'Unbounded', sans-serif; color: #FFFFFF; font-size: 13px; font-weight: 700; margin-left: auto; }
.field { display: flex; align-items: center; gap: 10px; background: #191521; border: 1px solid #2E2838; border-radius: 13px; padding: 0 15px; margin-bottom: 11px; }
.field input { flex: 1; background: transparent; border: none; outline: none; color: #FFFFFF; font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 600; padding: 15px 0; min-width: 0; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; margin-top: 12px; }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 14px 15px; border-radius: 13px; cursor: pointer; transition: border-color 0.15s, background 0.15s; background: #191521; border: 1.5px solid #2A2433; }
.pay-opt.active { background: linear-gradient(135deg, rgba(240,107,224,0.16), rgba(184,51,172,0.10)); border-color: #F06BE0; }
.pay-opt.disabled { opacity: 0.4; filter: grayscale(1); cursor: not-allowed; }
.pay-opt .badge { width: 36px; height: 36px; border-radius: 10px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pay-opt .badge.dark { background: #191521; border: 1px solid #2E2838; position: relative; }
.pay-opt .info { flex: 1; min-width: 0; }
.pay-opt .info .label { color: #FFFFFF; font-size: 13.5px; font-weight: 700; }
.pay-opt .info .desc { color: #8F87A0; font-size: 11.5px; font-weight: 500; }
.pay-opt .check { flex-shrink: 0; display: none; }
.pay-opt.active .check { display: block; }
.agree-row { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 22px; }
.agree-box { width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; background: #191521; border: 1.5px solid #3A3448; transition: background 0.15s; }
.agree-box svg { display: none; }
.agree-box.checked { background: linear-gradient(135deg, #F06BE0, #B833AC); border: 1.5px solid transparent; }
.agree-box.checked svg { display: block; }
.agree-row .text { color: #B7AFC4; font-size: 13px; font-weight: 500; line-height: 1.55; }
.agree-row .text a { color: #E14FD2; text-decoration: underline; }
.modal-foot { display: contents; }
.pay-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 30px; border-radius: 13px; border: none; font-family: 'Unbounded', sans-serif; font-size: 13px; font-weight: 700; color: #FFFFFF; background: #2A2433; opacity: 0.5; cursor: not-allowed; transition: opacity 0.15s, box-shadow 0.15s, transform 0.14s ease; }
.pay-btn.enabled { background: linear-gradient(135deg, #F06BE0, #B833AC); opacity: 1; cursor: pointer; box-shadow: 0 10px 30px rgba(225,79,210,0.4); }
.pay-btn .pay-sum { display: none; }
.pay-note { display: none; margin-top: 14px; color: #FFA928; font-size: 13px; font-weight: 600; }
.pay-note.visible { display: block; }
.upgrade-info { background: rgba(240,107,224,0.07); border: 1px solid rgba(240,107,224,0.3); border-radius: 12px; padding: 12px 15px; margin: 2px 0 14px; color: #E9C8F0; font-size: 13px; font-weight: 600; line-height: 1.55; }
.upgrade-info.good { background: rgba(47,191,95,0.08); border-color: rgba(47,191,95,0.35); color: #A9EFC4; }
.upgrade-info.warn { background: rgba(255,169,40,0.08); border-color: rgba(255,169,40,0.4); color: #FFD28E; }

.sbp-view { margin-top: 8px; text-align: center; }
.sbp-title { font-family: 'Unbounded', sans-serif; font-size: 17px; font-weight: 800; color: #FFFFFF; margin-bottom: 8px; }
.sbp-hint { color: #B7AFC4; font-size: 13px; font-weight: 500; line-height: 1.5; margin: 0 0 16px; }
.sbp-qr-box { width: 100%; margin: 0 auto; display: flex; justify-content: center; }
#sbp-qr-container { display: inline-flex; align-items: center; justify-content: center; min-width: 240px; min-height: 240px; padding: 14px; background: #FFFFFF; border-radius: 16px; color: #5A5468; font-size: 13px; font-weight: 600; }
#sbp-qr-container img { display: block; width: 240px; height: 240px; image-rendering: pixelated; }
.sbp-status { margin-top: 16px; display: inline-flex; align-items: center; gap: 9px; color: #B7AFC4; font-size: 13.5px; font-weight: 700; }
.sbp-status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #FFA928; box-shadow: 0 0 10px #FFA928; animation: sbpPulse 1.2s ease-in-out infinite; }
.sbp-status.paid { color: #84EBAA; }
.sbp-status.paid::before { background: #4ADE80; box-shadow: 0 0 10px #4ADE80; animation: none; }
@keyframes sbpPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.sbp-link { display: inline-block; margin-top: 14px; color: #E14FD2; font-size: 13px; font-weight: 600; }

.notice-overlay { z-index: 120; }
.notice-card { position: relative; width: 440px; max-width: 100%; background: #17131E; border: 1px solid #2A2433; border-radius: 22px; padding: 34px 32px 30px; text-align: center; box-shadow: 0 40px 100px rgba(0,0,0,0.6); animation: modalCardIn 0.28s cubic-bezier(0.2,0.8,0.2,1); }
.notice-close { position: absolute; top: 16px; right: 20px; }
.notice-icon { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: rgba(255,169,40,0.13); border: 1px solid rgba(255,169,40,0.3); display: flex; align-items: center; justify-content: center; }
.notice-title { font-family: 'Unbounded', sans-serif; font-size: 19px; font-weight: 800; color: #FFFFFF; margin-bottom: 10px; }
.notice-text { color: #B7AFC4; font-size: 14px; font-weight: 500; line-height: 1.6; margin: 0 0 22px; }
.notice-btn { background: linear-gradient(135deg, #F06BE0, #B833AC); color: #FFFFFF; border: none; border-radius: 13px; padding: 13px 30px; font-family: 'Unbounded', sans-serif; font-size: 12.5px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px rgba(225,79,210,0.4); }

.site-footer { border-top: 1px solid #272130; background: #17131C; }
.site-footer .inner { max-width: 1480px; margin: 0 auto; padding: 40px 28px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 28px; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.footer-brand img { width: 36px; height: 36px; }
.footer-brand span { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 16px; color: #FFFFFF; }
.footer-col .head { color: #FFFFFF; font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col .list { display: flex; flex-direction: column; gap: 8px; color: #7A7290; font-size: 13px; font-weight: 500; }
.footer-col .list.links { gap: 10px; }
.footer-col .list a { color: #9B93BB; font-size: 13px; font-weight: 600; transition: color 0.15s; }
.footer-col .list a:hover { color: #E14FD2; }
.footer-bottom { border-top: 1px solid #232030; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom span { color: #57506A; font-size: 12px; font-weight: 600; }
.footer-bottom span:last-child { text-align: right; }
.footer-stamp-row { display: flex; justify-content: center; margin-top: 18px; }
.footer-stamp { display: inline-flex; align-items: center; gap: 10px; color: #57506A; font-size: 11px; font-weight: 600; user-select: none; }
.footer-stamp a { color: #9B93BB; text-decoration: none; }
.footer-stamp a:hover { color: #E14FD2; }
.footer-stamp-img { width: 72px; height: auto; image-rendering: pixelated; opacity: 0.8; transform: rotate(-6deg); filter: drop-shadow(0 0 6px rgba(225,79,210,0.28)) drop-shadow(0 0 14px rgba(240,107,224,0.12)); transition: opacity 0.18s ease, transform 0.18s ease; }
.footer-stamp:hover .footer-stamp-img { opacity: 1; transform: rotate(-3deg) scale(1.05); }

.rules-article { max-width: 900px; margin: 0 auto; }
.rules-article h1 { font-family: 'Unbounded', sans-serif; font-size: 34px; font-weight: 800; margin: 10px 0 6px; }
.rules-article .updated { color: #8F87A0; font-size: 13px; font-weight: 600; margin-bottom: 30px; }
.rules-article h2 { font-family: 'Unbounded', sans-serif; font-size: 19px; font-weight: 700; color: #FFFFFF; margin: 38px 0 14px; }
.rules-article h3 { font-size: 14px; font-weight: 800; letter-spacing: 0.06em; color: #E14FD2; margin: 26px 0 10px; text-transform: uppercase; }
.rules-article p, .rules-article li { color: #C9C2D6; font-size: 14.5px; font-weight: 500; line-height: 1.65; }
.rules-article ul { padding-left: 22px; margin: 8px 0 16px; }
.rules-article a { color: #E14FD2; }
.rule-item { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid #221D2B; }
.rule-item .num { font-family: 'Unbounded', sans-serif; color: #E14FD2; font-size: 13px; font-weight: 700; flex-shrink: 0; min-width: 44px; }
.rule-item .text { color: #C9C2D6; font-size: 14.5px; font-weight: 500; line-height: 1.6; }
.rule-note { background: #1E1926; border: 1px solid #2A2433; border-left: 3px solid #FFA928; border-radius: 12px; padding: 14px 18px; margin: 16px 0; color: #B7AFC4; font-size: 13.5px; font-weight: 500; line-height: 1.6; }
.rule-note b { color: #FFA928; }
.terms-grid { display: grid; gap: 10px; margin: 14px 0 20px; }
.term { background: #1E1926; border: 1px solid #2A2433; border-radius: 12px; padding: 13px 17px; }
.term b { color: #FFFFFF; font-size: 14px; }
.term span { color: #A79FBA; font-size: 13.5px; line-height: 1.55; }

.rail { -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail.scrollable:not(.at-start):not(.at-end) { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.rail.scrollable.at-start:not(.at-end) { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 92%, transparent 100%); }
.rail.scrollable:not(.at-start).at-end { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 100%); }

.product-card:active { transform: scale(0.975); }
.cat-btn:active, .pay-opt:not(.disabled):active, .duration-opt:active, .purchase-card:active { transform: scale(0.985); }
.btn-primary:active, .btn-ip:active, .pay-btn.enabled:active, .nav-toggle:active, .tg-btn:active, .notice-btn:active { transform: scale(0.96); }

@media (hover: none) {
  .product-card:hover, .purchase-card:hover { transform: none; border-color: #2A2433; }
  .footer-stamp:hover .footer-stamp-img { opacity: 0.8; transform: rotate(-6deg); }
  .sb-info:hover .tip, .sb-info:focus .tip { opacity: 0; visibility: hidden; transform: translateY(-4px); }
  .sb-info.open .tip { opacity: 1; visibility: visible; transform: translateY(0); }
}

@media (max-width: 1180px) {
  .purchases-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-heroes { display: none; }
  .hero-panel { right: 0; }
  .modal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 74px; }

  body { background-image: none; background-attachment: scroll; }
  .bg-orbs {
    background-image:
      radial-gradient(760px 480px at 12% -6%, rgba(240,107,224,0.18), transparent 60%),
      radial-gradient(680px 460px at 92% 8%, rgba(184,51,172,0.16), transparent 60%),
      radial-gradient(900px 600px at 50% 110%, rgba(46,123,255,0.08), transparent 65%);
  }
  .bg-orbs .orb1, .bg-orbs .orb2, .bg-orbs .orb3 { filter: none; }
  .site-header { backdrop-filter: blur(8px); }

  .site-header .inner { height: 62px; padding: 0 16px; gap: 10px; }
  .brand { gap: 10px; margin-right: 0; }
  .brand img { width: 36px; height: 36px; }
  .brand .name { font-size: 15px; }
  .header-side { gap: 9px; }
  .cur-chip { padding: 8px 12px; font-size: 12px; }
  .tg-btn { width: 40px; height: 40px; }
  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 7px;
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
    background: rgba(21,17,26,0.99);
    border-bottom: 1px solid #272130;
    box-shadow: 0 26px 50px rgba(0,0,0,0.55);
    max-height: calc(100dvh - 62px); overflow-y: auto;
    transition: opacity 0.2s ease, transform 0.26s cubic-bezier(0.2,0.8,0.2,1), visibility 0.2s;
  }
  .js .main-nav { opacity: 0; visibility: hidden; transform: translateY(-12px); }
  .site-header.nav-open .main-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .js .main-nav > * { opacity: 0; transform: translateY(-8px); transition: opacity 0.2s ease, transform 0.28s cubic-bezier(0.2,0.8,0.2,1); }
  .site-header.nav-open .main-nav > * { opacity: 1; transform: none; }
  .site-header.nav-open .main-nav > *:nth-child(1) { transition-delay: 0.04s; }
  .site-header.nav-open .main-nav > *:nth-child(2) { transition-delay: 0.08s; }
  .site-header.nav-open .main-nav > *:nth-child(3) { transition-delay: 0.12s; }
  .site-header.nav-open .main-nav > *:nth-child(4) { transition-delay: 0.16s; }
  .site-header.nav-open .main-nav > *:nth-child(5) { transition-delay: 0.2s; }
  .nav-link { display: flex; align-items: center; padding: 15px 16px; font-size: 13px; color: #C9C2D6; background: #1C1723; border: 1px solid #272130; border-radius: 14px; }
  .nav-home { margin-right: 0; padding: 9px 16px 9px 9px; border-radius: 14px; }

  .content { padding: 22px 16px 52px; }

  .hero { margin-bottom: 34px; min-height: 340px; }
  .hero-panel { border-radius: 22px; }
  .hero-body { padding: 30px 24px 32px; max-width: none; }
  .hero-body h1 { font-size: 32px; margin-top: 6px; }
  .hero-body .sub { font-size: 15.5px; margin-top: 13px; }
  .hero-cta { gap: 10px; margin-top: 22px; }
  .hero-panel .watermark { font-size: 78px; top: auto; bottom: 14px; }

  .section-head { margin-bottom: 16px; gap: 10px; }
  .section-head h2 { font-size: 17px; }
  .section-head .ico { width: 32px; height: 32px; }
  .section-head .aside { font-size: 12px; text-align: right; }

  .purchases { margin-bottom: 38px; }
  .purchases-body, .purchases.has-donator .purchases-body { grid-template-columns: 1fr; gap: 12px; }
  .donator-card { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 14px; row-gap: 2px; padding: 14px 16px; }
  .donator-card .nick { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .donator-card .label { grid-column: 2; grid-row: 1; margin-top: 0; text-align: right; }
  .donator-card .sum { grid-column: 2; grid-row: 2; font-size: 21px; text-align: right; }
  .donator-card .cur { display: none; }
  .purchases-grid {
    display: flex; gap: 12px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x proximity; scroll-padding-left: 16px;
    padding: 4px 16px 10px; margin: 0 -16px;
  }
  .purchases-grid .purchase-card { flex: 0 0 156px; scroll-snap-align: start; padding: 16px 8px 14px; }
  .purchase-card .head { width: 64px; height: 64px; }
  .purchase-card .nick { font-size: 13px; }

  .catalog-grid { grid-template-columns: 1fr; gap: 18px; }
  .search-box { margin-bottom: 14px; padding: 12px 14px; }
  .search-box input { font-size: 16px; }
  .cat-list {
    display: flex; gap: 9px;
    overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 16px;
    padding: 2px 16px 6px; margin: 0 -16px;
  }
  .cat-btn { width: auto; flex: 0 0 auto; margin-bottom: 0; padding: 8px 16px 8px 8px; gap: 10px; border-radius: 15px; font-size: 13.5px; scroll-snap-align: start; }
  .cat-btn .ico { width: 32px; height: 32px; }
  .cat-btn .ico img { width: 30px; height: 30px; }
  .server-chip { margin-bottom: 14px; padding: 7px 16px 7px 8px; }
  .server-chip img { width: 26px; height: 26px; }
  .server-chip span { font-size: 12px; }

  .season-block { padding: 16px 14px; margin-bottom: 20px; border-radius: 18px; }
  .season-block-head { gap: 10px; margin-bottom: 14px; }
  .sb-icon { width: 34px; height: 34px; font-size: 16px; border-radius: 11px; }
  .sb-title { font-size: 15.5px; }
  .sb-sub { font-size: 11.5px; }
  .sb-info .tip { width: min(250px, calc(100vw - 60px)); }

  .rules-article h1 { font-size: 27px; line-height: 1.15; }
  .rules-article .updated { font-size: 12.5px; margin-bottom: 24px; }
  .rules-article h2 { font-size: 17px; margin: 30px 0 12px; }
  .rules-article h3 { font-size: 13px; margin: 22px 0 9px; }
  .rules-article p, .rules-article li { font-size: 14px; }
  .rules-article ul { padding-left: 18px; }
  .rule-item { gap: 10px; }
  .rule-item .num { min-width: 38px; font-size: 12px; }
  .rule-item .text { font-size: 13.8px; }
  .term { padding: 12px 14px; }
  .rule-note { padding: 13px 15px; font-size: 13px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer .inner { padding: 32px 16px calc(24px + env(safe-area-inset-bottom)); }
  .footer-bottom { gap: 10px; }
  .footer-bottom span, .footer-bottom span:last-child { text-align: left; font-size: 11.5px; }

  .durations { flex-direction: column; }
  .pay-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .modal-overlay { padding: 0; align-items: flex-end; backdrop-filter: blur(4px); }
  .modal-card {
    width: 100%; max-width: none; max-height: 92vh; max-height: 92dvh;
    padding: 0 16px; border-radius: 24px 24px 0 0; border-bottom: none;
    overscroll-behavior: contain;
    animation: sheetIn 0.38s cubic-bezier(0.17,0.89,0.24,1);
  }
  .modal-overlay.closing .modal-card { animation: sheetOut 0.24s cubic-bezier(0.4,0,1,1) forwards; }
  .modal-overlay.swipe-out .modal-card { animation: none; }
  .modal-head {
    position: sticky; top: 0; z-index: 5;
    margin: 0 -16px 14px; padding: 22px 16px 12px;
    background: #17131E; border-bottom: 1px solid #221D2B;
    touch-action: none;
  }
  .modal-head::before { content: ''; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 44px; height: 4px; border-radius: 99px; background: #3A3448; }
  .modal-head .title { font-size: 18px; }
  .modal-close { width: 36px; height: 36px; margin-right: -6px; display: flex; align-items: center; justify-content: center; border-radius: 11px; background: #221D2B; font-size: 22px; }
  .modal-grid { gap: 18px; }

  .modal-product {
    display: grid; grid-template-columns: 96px 1fr;
    column-gap: 14px; row-gap: 2px; padding: 14px; border-radius: 16px;
  }
  .modal-product .pic { grid-column: 1; grid-row: 1 / span 3; min-height: 0; padding: 8px; border-radius: 13px; align-self: start; }
  .modal-product .pic img, .modal-product .pic.self-glow img { width: 100%; height: auto; max-width: 78px; }
  .modal-product .title { grid-column: 2; grid-row: 1; margin-top: 0; font-size: 16px; align-self: end; }
  .modal-product .price-row { grid-column: 2; grid-row: 2; margin-top: 2px; }
  .modal-product .status { grid-column: 2; grid-row: 3; margin-top: 2px; font-size: 12.5px; align-self: start; }
  .modal-product .note { display: none; }
  .donate-hint { grid-column: 1 / -1; margin-top: 12px; font-size: 12px; }

  .total-row { padding-bottom: 12px; margin-bottom: 14px; }
  .form-label { font-size: 14px; margin-bottom: 10px; }
  .field { margin-bottom: 10px; }
  .field input { font-size: 16px; padding: 14px 0; }
  .duration-opt, .pay-opt { min-height: 56px; }
  .durations { gap: 10px; margin-bottom: 20px; }
  .agree-row { margin-bottom: 4px; }
  .agree-row .text { font-size: 12.5px; }
  .agree-box { width: 24px; height: 24px; }

  .modal-foot {
    display: block; position: sticky; bottom: 0; z-index: 4;
    margin: 14px -16px 0;
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
    background: #17131E; border-top: 1px solid #221D2B;
  }
  .pay-btn { width: 100%; padding: 16px 20px; font-size: 13px; }
  .pay-btn:not(.enabled) { opacity: 1; background: #241F2E; color: #6E6680; }
  .pay-btn:not(.enabled) svg { stroke: #6E6680; }
  .pay-btn .pay-sum { display: inline; margin-left: auto; padding-left: 12px; }
  .pay-btn .pay-label { margin-right: auto; }
  .pay-btn .pay-sum:empty { display: none; }
  .pay-note { margin-top: 10px; font-size: 12px; }
  #sbp-qr-container { min-width: 210px; min-height: 210px; }
  #sbp-qr-container img { width: 210px; height: 210px; }
  .notice-card { padding: 28px 22px 24px; }
}

@media (max-width: 560px) {
  .cur-chip { display: none; }

  .hero { min-height: 0; margin-bottom: 30px; }
  .hero-panel { border-radius: 20px; }
  .hero-body { padding: 26px 18px 28px; }
  .hero-body h1 { font-size: 27px; line-height: 1.12; }
  .hero-body .sub { font-size: 14.5px; }
  .hero-panel .watermark { font-size: 58px; bottom: 10px; }
  .hero-cta { gap: 9px; }
  .btn-primary, .btn-ip { width: 100%; justify-content: center; }
  .btn-primary { padding: 15px 20px; }
  .btn-ip { padding: 14px 18px; }

  .section-head h2 { font-size: 15.5px; }
  .section-head .aside { font-size: 11px; }

  .products-grid, .season-block-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card { border-radius: 14px; }
  .product-card .top { height: 64px; padding: 12px 12px 0; gap: 6px; }
  .product-card .cat-label { font-size: 10.5px; margin-bottom: 2px; }
  .product-card .name { font-size: 12.5px; }
  .product-card .stock { font-size: 10.5px; margin-top: 2px; }
  .hit-badge { font-size: 9px; padding: 3px 7px; border-radius: 6px; letter-spacing: 0.04em; }
  .product-card .tile { padding: 4px 10px 10px; }
  .product-card .tile-inner { height: 124px; }
  .buy-bar { padding: 11px 6px; font-size: 12.5px; }

  .purchases-grid .purchase-card { flex: 0 0 146px; }
  .donator-card .sum { font-size: 19px; }
  .donator-card .label { font-size: 10px; letter-spacing: 0.08em; }

  .season-block-grid { gap: 10px; }
  .modal-product { grid-template-columns: 84px 1fr; }
  .modal-product .pic img, .modal-product .pic.self-glow img { max-width: 66px; }
  .modal-product .title { font-size: 15px; }
  .pay-opt .info .label { font-size: 13px; }
}

@media (max-width: 400px) {
  .content { padding: 18px 12px 44px; }
  .purchases-grid, .cat-list { scroll-padding-left: 12px; padding-left: 12px; padding-right: 12px; margin: 0 -12px; }
  .site-header .inner { padding: 0 12px; gap: 8px; }
  .brand .name { font-size: 14px; }
  .hero-body { padding: 24px 15px 26px; }
  .hero-body h1 { font-size: 24px; }
  .product-card .tile-inner { height: 108px; }
  .product-card .name { font-size: 12px; }
  .section-head h2 { font-size: 14.5px; }
}
