:root {
    --bg: #0B0B1A;
    --bg-deep: #080812;
    --panel: #12121F;
    --panel-2: #1A1A2A;
    --white: #FFFFFF;
    --text: #E8E8F0;
    --muted: #A0A0B8;
    --soft: #6B6B80;
    --pink: #FF2D6A;
    --pink-light: #FF4D8A;
    --rose: #E6005C;
    --purple: #7B2CBF;
    --purple-light: #9B4DFF;
    --border: rgba(255,45,106,.18);
    --shadow: 0 16px 48px rgba(0,0,0,.55);
    --shell: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.75 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 32px), var(--shell)); margin-inline: auto; }
.site-fixed { position: fixed; z-index: 1000; inset: 0 0 auto 0; }
.pinkline { height: 22px; background: #271238; color: #fff; border-bottom: 1px solid rgba(255,77,138,.22); }
.pinkline-inner { height: 22px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; line-height: 1; }
.mini-brand { font-weight: 800; letter-spacing: .04em; }
.text-action { min-width: 44px; height: 22px; border: 0; padding: 0 4px; background: transparent; cursor: pointer; }
.stallbar { height: 70px; background: rgba(8,8,18,.97); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.stallbar-inner { height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brandmark { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; font-size: 22px; font-weight: 900; letter-spacing: .03em; }
.brandmark img { max-height: 36px; width: auto; object-fit: contain; }
.basket-button { min-width: 88px; min-height: 44px; padding: 8px 18px; border-radius: 12px; border: 1px solid rgba(255,77,138,.42); background: #161321; color: #fff; cursor: pointer; font-weight: 800; }
.app-link { justify-self: end; min-height: 44px; display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 12px; color: #fff; background: linear-gradient(135deg,#FF4D8A 0%,#FF2D6A 50%,#7B2CBF 100%); font-weight: 800; }
.tagstrip { height: 44px; background: rgba(11,11,26,.98); border-bottom: 1px solid var(--border); }
.tagstrip-inner { height: 44px; display: flex; align-items: center; gap: 8px; overflow: hidden; }
.tagstrip a { min-height: 32px; display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 8px; color: var(--muted); font-size: 14px; }
.tagstrip a:hover, .tagstrip a:focus-visible, .tagstrip a.is-current { color: #fff; background: var(--pink); outline: none; }
.site-main { min-height: 70vh; padding-top: 166px; padding-bottom: 28px; }
.page-hero, .section-card, .content-block, .index-hero, .notice-card { background: linear-gradient(180deg, rgba(26,26,42,.95), rgba(18,18,31,.95)); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
.page-hero { padding: clamp(24px, 4vw, 46px); margin-bottom: 28px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(155,77,255,.23), transparent 68%); pointer-events: none; }
.eyebrow { margin: 0 0 10px; color: var(--pink-light); font-weight: 800; letter-spacing: .08em; font-size: 13px; }
h1, h2, h3 { color: var(--white); line-height: 1.25; margin-top: 0; }
h1 { font-size: clamp(28px, 4vw, 32px); margin-bottom: 16px; }
h2 { font-size: clamp(21px, 2.4vw, 25px); margin-bottom: 14px; }
h3 { font-size: 18px; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.lead { max-width: 850px; color: #d9d9e7; font-size: 17px; }
.muted { color: var(--muted); }
.aux { color: var(--soft); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; border-radius: 12px; font-weight: 800; }
.btn-primary { background: linear-gradient(135deg,#FF4D8A 0%,#FF2D6A 50%,#7B2CBF 100%); color: #fff; }
.btn-secondary { background: #11111d; color: #fff; border: 1px solid rgba(255,77,138,.55); }
.btn:hover, .btn:focus-visible, .app-link:hover, .app-link:focus-visible, .basket-button:hover, .basket-button:focus-visible { transform: translateY(-1px); outline: 2px solid rgba(255,255,255,.8); outline-offset: 2px; }
.index-hero { overflow: hidden; margin-bottom: 28px; }
.hero-copy { padding: clamp(22px, 4vw, 40px); }
.hero-copy .lead { max-width: 780px; }
.media-slot { min-height: 190px; background: linear-gradient(135deg,#181224,#24123a 52%,#160f26); border-radius: 14px; border: 1px solid rgba(155,77,255,.18); display: grid; place-items: center; overflow: hidden; }
.media-slot img { width: 100%; height: 100%; max-height: 240px; object-fit: contain; object-position: center; }
.banner-slot { min-height: 220px; max-height: 300px; border-radius: 0; border: 0; border-bottom: 1px solid var(--border); background: #130f20; }
.banner-slot img { width: 100%; height: min(46vw, 300px); max-height: 300px; object-fit: contain; object-position: center; }
.app-media { min-height: 300px; max-height: 420px; }
.app-media img { width: 100%; height: 420px; max-height: 420px; object-fit: contain; }
.app-icon { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; margin-bottom: 14px; }
.grid-2, .grid-3, .grid-4, .grid-6 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid-6 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.section-card { padding: 22px; margin-bottom: 24px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-head p { max-width: 640px; color: var(--muted); }
.info-card, .tag-card, .catalog-card, .step-card, .faq-item { background: rgba(10,10,20,.52); border: 1px solid rgba(255,77,138,.14); border-radius: 14px; padding: 18px; }
.info-card p, .tag-card p, .catalog-card p, .step-card p { color: #cfcfdd; }
.info-card a, .tag-card a, .catalog-card a { color: var(--pink-light); font-weight: 800; }
.color-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 8px; border-radius: 7px; color: #fff; font-size: 12px; font-weight: 900; background: var(--pink-light); margin-bottom: 10px; }
.color-chip.purple { background: var(--purple-light); }
.number-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.number-list li { display: grid; grid-template-columns: 66px 1fr; gap: 14px; align-items: start; padding: 17px; border-radius: 14px; background: rgba(7,7,15,.58); border: 1px solid rgba(255,77,138,.14); }
.big-num { font-size: 32px; line-height: 1; font-weight: 950; background: linear-gradient(135deg,#FF4D8A,#9B4DFF); color: transparent; -webkit-background-clip: text; background-clip: text; }
.timeline { position: relative; margin: 0; padding: 0 0 0 26px; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--pink-light), var(--purple)); }
.timeline li { position: relative; margin: 0 0 18px; padding: 0 0 0 20px; }
.timeline li::before { content: ""; position: absolute; left: -24px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 5px rgba(255,45,106,.12); }
.status { display: inline-flex; min-height: 28px; align-items: center; padding: 3px 8px; border-radius: 8px; background: #24162f; border: 1px solid rgba(155,77,255,.28); color: #fff; font-size: 12px; font-weight: 800; }
.prose { max-width: 900px; }
.prose p { color: #d4d4df; }
.prose strong { color: #fff; }
.two-pane { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(280px,.85fr); gap: 22px; align-items: start; }
.link-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link-row a { min-height: 42px; display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 10px; background: #10101d; border: 1px solid rgba(255,77,138,.2); color: #fff; }
.editor-note { padding: 16px 18px; border-left: 3px solid var(--pink); background: rgba(255,45,106,.06); border-radius: 0 12px 12px 0; color: #e0dce6; }
.faq-list { display: grid; gap: 14px; }
.faq-item h2 { font-size: 18px; margin-bottom: 8px; }
.faq-item p { color: #d1d1dd; margin: 0; }
.site-footer { background: #05050A; border-top: 1px solid var(--border); padding: 34px 0 calc(28px + env(safe-area-inset-bottom)); margin-top: 32px; color: #C8C8D8; }
.footer-brand-row { display: flex; justify-content: space-between; gap: 22px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; }
.footer-brand img { max-height: 34px; width: auto; object-fit: contain; }
.footer-brand span { display: grid; line-height: 1.15; }
.footer-brand small { color: var(--muted); margin-top: 4px; font-size: 11px; letter-spacing: .08em; }
.footer-brand-row p { max-width: 540px; color: var(--muted); margin: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; padding: 28px 0; }
.footer-grid h2 { font-size: 15px; margin-bottom: 10px; }
.footer-grid a { display: block; min-height: 34px; color: #c8c8d8; }
.footer-grid a:hover, .footer-grid a:focus-visible { color: #fff; text-decoration: underline; outline: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 18px; color: #8d8da1; font-size: 13px; }
.page-overlay { position: fixed; z-index: 1090; inset: 0; background: rgba(0,0,0,.64); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease; }
.page-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.basket-panel, .search-layer { position: fixed; z-index: 1100; left: 0; right: 0; top: 92px; max-height: calc(100vh - 92px); overflow-y: auto; background: #0c0b16; border-bottom: 1px solid rgba(255,77,138,.3); box-shadow: var(--shadow); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-12px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.basket-panel.is-open, .search-layer.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.basket-shell, .search-shell { padding-top: 18px; padding-bottom: 26px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.panel-brand { display: inline-flex; align-items: center; gap: 10px; }
.panel-brand img { max-height: 32px; width: auto; object-fit: contain; }
.panel-close { min-width: 64px; min-height: 44px; border-radius: 10px; border: 1px solid rgba(255,77,138,.35); background: #171421; color: #fff; cursor: pointer; }
.basket-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.basket-grid h2 { font-size: 15px; color: var(--pink-light); margin-bottom: 8px; }
.basket-grid a { display: grid; gap: 2px; min-height: 62px; padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,.06); }
.basket-grid a:hover, .basket-grid a:focus-visible { background: rgba(255,45,106,.06); outline: 1px solid rgba(255,77,138,.3); border-radius: 10px; }
.basket-grid span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.search-layer { padding-bottom: 10px; }
.search-shell { max-width: 900px; }
.search-shell .panel-head p { margin: 4px 0 0; color: var(--muted); }
.search-look { min-height: 56px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 8px 14px; border-radius: 14px; background: #151321; border: 1px solid rgba(255,77,138,.26); }
.search-look span { font-weight: 800; color: var(--pink-light); }
.search-look input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; }
.preset-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.preset-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 10px; background: #14111f; border: 1px solid rgba(155,77,255,.25); }
.mobile-bottom { display: none; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 900px) {
    .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .grid-3, .grid-6 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .basket-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .two-pane { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
    .shell { width: calc(100% - 32px); }
    .tagstrip { display: none; }
    .site-main { padding-top: 116px; }
    .stallbar-inner { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 8px; }
    .brandmark { min-width: 0; overflow: hidden; font-size: 18px; }
    .brandmark img { max-height: 30px; max-width: 130px; }
    .basket-button { min-width: 72px; padding-inline: 12px; }
    .app-link { padding-inline: 10px; font-size: 14px; white-space: nowrap; }
    .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
    .number-list li { grid-template-columns: 52px 1fr; padding: 14px; }
    .big-num { font-size: 28px; }
    .section-card { padding: 18px; }
    .section-head { align-items: start; flex-direction: column; gap: 4px; }
    .footer-brand-row { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
    .basket-panel { top: 92px; max-height: calc(100vh - 92px); }
    .search-layer { top: 0; bottom: 0; max-height: none; background: #211130; padding-top: 16px; }
    .search-shell { height: 100%; padding-top: max(18px, env(safe-area-inset-top)); }
    .basket-grid { grid-template-columns: 1fr; }
    .mobile-bottom { position: fixed; z-index: 1080; left: 0; right: 0; bottom: 0; height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5,1fr); background: rgba(5,5,10,.98); border-top: 1px solid rgba(255,77,138,.22); }
    .mobile-bottom a { min-width: 0; min-height: 50px; display: grid; place-items: center; font-size: 12px; color: var(--muted); }
    .mobile-bottom a.is-current { color: #fff; background: var(--pink); }
    .page-overlay { z-index: 1090; }
    .basket-panel, .search-layer { z-index: 1100; }
}
