:root {
    --bg: #050505;
    --bg-2: #0a0a0a;
    --surface: rgba(255, 255, 255, .025);
    --surface-2: rgba(255, 255, 255, .045);
    --hover: rgba(255, 255, 255, .06);
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --line-3: rgba(255, 255, 255, .24);
    --text: #f5f5f5;
    --soft: #d4d4d4;
    --muted: #a1a1a1;
    --dim: #6b6b6b;
    --white: #ffffff;
    --bad: #f87171;
    --good: #4ade80;
    --warn: #fbbf24;
    --r-sm: 10px;
    --r: 14px;
    --r-lg: 20px;
    --r-pill: 999px;
    --font: 'Geist', 'IBM Plex Sans Thai', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
    --header: 68px;
    color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font: 400 15px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; text-align: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
.sprite { display: none; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 14px; height: 14px; }
.mono { font-family: var(--mono); font-size: .9em; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 13px; }
.r { text-align: right !important; }
.good-text { color: var(--good); }
.bad-text { color: var(--bad); }
.warn-text { color: var(--warn); }
::selection { background: rgba(255, 255, 255, .2); }
* { scrollbar-width: thin; scrollbar-color: #2a2a2a transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #232323; border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }

.lights { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(120% 80% at 50% -10%, #0e0e0e 0%, var(--bg) 55%); }
.beam { position: absolute; top: -30vh; width: 34vw; min-width: 260px; height: 150vh; background: linear-gradient(180deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .05) 35%, rgba(255, 255, 255, 0) 70%); clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); filter: blur(26px); transform-origin: 50% 0; opacity: .55; animation: sway 18s ease-in-out infinite alternate; }
.beam.b1 { left: -10vw; transform: rotate(-32deg); }
.beam.b2 { right: -10vw; transform: rotate(32deg); animation-delay: -6s; }
.beam.b3 { left: 33vw; width: 30vw; transform: rotate(4deg); opacity: .32; animation-delay: -3s; }
.beam.b4 { left: -24vw; top: 10vh; transform: rotate(-64deg); opacity: .3; animation-delay: -9s; }
.beam.b5 { right: -24vw; top: 18vh; transform: rotate(62deg); opacity: .26; animation-delay: -12s; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); background: rgba(255, 255, 255, .05); }
.glow.g1 { width: 46vw; height: 30vw; left: 27vw; top: -18vw; background: rgba(255, 255, 255, .08); }
.glow.g2 { width: 30vw; height: 30vw; left: -12vw; bottom: -10vw; }
.glow.g3 { width: 30vw; height: 30vw; right: -12vw; bottom: 10vh; background: rgba(255, 255, 255, .035); }
.grain { position: absolute; inset: 0; opacity: .05; background-image: radial-gradient(rgba(255, 255, 255, .5) .5px, transparent .5px); background-size: 3px 3px; }
@keyframes sway { from { translate: 0 0; } to { translate: 2vw 1vh; } }
@media (prefers-reduced-motion: reduce) { .beam { animation: none; } }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.site-header { position: sticky; top: 0; z-index: 50; transition: background .2s, border-color .2s; border-bottom: 1px solid transparent; }
.site-header.scrolled, .in-office .site-header { background: rgba(5, 5, 5, .72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.header-row { height: var(--header); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 28px; }
.in-office .header-row { max-width: none; }
.brand { display: inline-flex; align-items: baseline; gap: 9px; justify-self: start; }
.brand-mark { font-weight: 800; font-size: 17px; letter-spacing: .24em; }
.brand-mark.sm { font-size: 13px; }
.brand-sub { font-size: 13px; font-weight: 600; letter-spacing: .26em; color: var(--muted); }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
.site-nav a { padding: 8px 14px; border-radius: var(--r-pill); font-size: 14px; color: var(--muted); transition: color .15s, background .15s; }
.site-nav a:hover { color: var(--text); }
.site-nav a.active { color: var(--text); background: var(--surface-2); }
.header-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; justify-self: end; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: var(--r-pill); align-items: center; justify-content: center; border: 1px solid var(--line-2); }

.points-chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-size: 13.5px; transition: border-color .15s; }
.points-chip:hover { border-color: var(--line-3); }
.points-chip b { font-weight: 600; }
.account { position: relative; }
.avatar-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 3px 10px 3px 3px; border-radius: var(--r-pill); border: 1px solid var(--line-2); transition: border-color .15s; }
.avatar-btn:hover { border-color: var(--line-3); }
.avatar-btn img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #111; }
.acc-name { font-size: 13.5px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu { position: absolute; right: 0; top: calc(100% + 10px); width: 250px; padding: 6px; border-radius: var(--r); background: rgba(14, 14, 14, .96); backdrop-filter: blur(20px); border: 1px solid var(--line-2); box-shadow: 0 30px 70px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none; transition: opacity .15s, transform .15s; }
.menu.open { opacity: 1; transform: none; pointer-events: auto; }
.menu-head { display: flex; align-items: center; gap: 10px; padding: 10px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-head img { width: 38px; height: 38px; border-radius: 50%; }
.menu-head b { display: block; font-size: 14px; font-weight: 600; }
.menu-head small { color: var(--dim); font-size: 12px; }
.menu a, .menu button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-sm); font-size: 14px; color: var(--soft); }
.menu a:hover, .menu button:hover { background: var(--hover); color: var(--text); }
.menu .danger { color: #fca5a5; }
.menu-sep { height: 1px; background: var(--line); margin: 6px 0; }

.notice-bar { --tone: var(--soft); border-top: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-size: 13.5px; }
.notice-bar.warn { --tone: var(--warn); background: rgba(251, 191, 36, .06); }
.notice-bar.danger { --tone: var(--bad); background: rgba(248, 113, 113, .07); }
.notice-bar.promo { --tone: #fff; background: linear-gradient(90deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); }
.notice-bar.success { --tone: var(--good); background: rgba(74, 222, 128, .06); }
.notice-bar.info { --tone: #93c5fd; }
.notice-bar .wrap { display: flex; align-items: center; gap: 10px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
.notice-bar .wrap > .ic { color: var(--tone); }
.notice-bar b { font-weight: 600; }
.notice-bar a { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; text-decoration: underline; text-underline-offset: 3px; color: var(--text); white-space: nowrap; }
.notice-bar .bar-tools { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; flex: none; }
.notice-bar .bar-tools a { margin-left: 0; }
.bar-nav { display: inline-flex; align-items: center; gap: 2px; color: var(--dim); }
.bar-nav button, .bar-x { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.bar-nav button:hover, .bar-x:hover { background: var(--hover); color: var(--text); }
.muted-ink { color: var(--muted); }
.in-office .notice-bar { display: none; }

.btn { --bc: var(--line-2); display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 20px; border-radius: var(--r-pill); border: 1px solid var(--bc); background: transparent; color: var(--text); font-size: 14px; font-weight: 500; white-space: nowrap; transition: border-color .15s, background .15s, color .15s, transform .1s; position: relative; }
.btn:hover { --bc: var(--line-3); background: rgba(255, 255, 255, .03); }
.btn:active { transform: scale(.98); }
.btn.primary { --bc: rgba(255, 255, 255, .55); }
.btn.primary:hover { --bc: #fff; background: rgba(255, 255, 255, .06); }
.btn.ghost { --bc: transparent; color: var(--muted); }
.btn.ghost:hover { --bc: var(--line-2); color: var(--text); }
.btn.danger { --bc: rgba(248, 113, 113, .45); color: #fca5a5; }
.btn.danger:hover { --bc: var(--bad); background: rgba(248, 113, 113, .06); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn.xs { height: 28px; padding: 0 10px; font-size: 12.5px; gap: 6px; }
.btn.lg { height: 48px; padding: 0 26px; font-size: 15px; }
.btn.wide { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .38; pointer-events: none; }
.btn.loading { color: transparent !important; pointer-events: none; }
.btn.loading::after { content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { width: 34px; height: 34px; border-radius: var(--r-pill); display: inline-flex; align-items: center; justify-content: center; color: var(--muted); transition: background .15s, color .15s; }
.icon-btn:hover { background: var(--hover); color: var(--text); }
.icon-btn.danger:hover { color: var(--bad); }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; transition: color .15s, gap .15s; }
.link-more:hover { color: var(--text); gap: 10px; }

.view { flex: 1; width: 100%; }
.view.enter { animation: enter .35s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.eyebrow { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.hero { text-align: center; padding: 120px 24px 80px; display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin-top: 18px; max-width: 860px; font-size: clamp(36px, 6vw, 64px); line-height: 1.12; font-weight: 700; letter-spacing: -.035em; background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin-top: 20px; max-width: 620px; font-size: 17px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.hero-stats { display: flex; gap: 56px; margin-top: 72px; }
.hero-stats div { display: flex; flex-direction: column; align-items: center; }
.hero-stats b { font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.hero-stats span { font-size: 13px; color: var(--dim); }

.section { padding: 56px 24px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-head.center { justify-content: center; text-align: center; }
.section-head h2 { font-size: 30px; font-weight: 650; letter-spacing: -.025em; line-height: 1.2; margin-top: 6px; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.product { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.product-media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #0d0d0d; margin-bottom: 12px; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.product:hover .product-media img { transform: scale(1.04); }
.product-media::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); pointer-events: none; transition: box-shadow .3s; }
.product:hover .product-media::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.product-flag { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; letter-spacing: .12em; background: rgba(0, 0, 0, .6); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .25); }
.product-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--dim); }
.product h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.product p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.product-price b, .price-big b, .co-price b { font-weight: 600; font-size: 17px; }
.product-price small, .price-big small, .co-price small { color: var(--dim); font-size: 12.5px; }
.product-price s, .price-big s, .co-price s { color: var(--dim); font-size: 13px; margin-left: 4px; }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(120% 120% at 0% 0%, #1b1b1b, #090909 60%); }
.placeholder span { font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: rgba(255, 255, 255, .5); padding: 0 16px; text-align: center; }
.placeholder.big span { font-size: 15px; font-weight: 400; }
.skeleton .product-media, .media-main.skeleton, .skeleton-block { background: linear-gradient(90deg, #0d0d0d, #161616, #0d0d0d); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
.sk-line { height: 12px; border-radius: 6px; margin: 8px 0; background: linear-gradient(90deg, #111, #1a1a1a, #111); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
.sk-line.w30 { width: 30%; } .sk-line.w40 { width: 40%; } .sk-line.w50 { width: 50%; } .sk-line.w70 { width: 70%; }
.skeleton-block { height: 120px; border-radius: var(--r-lg); }
@keyframes sk { to { background-position: -200% 0; } }

.cat-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.cat-item { display: flex; align-items: center; gap: 14px; }
.cat-item img, .cat-ph { width: 64px; height: 64px; border-radius: var(--r); object-fit: cover; flex: none; }
.cat-ph { display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.cat-item b { display: block; font-weight: 600; }
.cat-item small { color: var(--dim); font-size: 13px; }
.cat-item:hover b { text-decoration: underline; text-underline-offset: 4px; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 260px)); gap: 24px; justify-content: center; }
.team-card { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; background: #0e0e0e; }
.team-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.team-card:hover img { transform: scale(1.04); }
.team-ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 64px; font-weight: 700; color: rgba(255, 255, 255, .15); background: radial-gradient(100% 80% at 50% 0%, #1c1c1c, #0a0a0a); }
.team-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 20px 18px; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .88) 100%); display: flex; flex-direction: column; }
.team-info b { font-size: 18px; font-weight: 650; }
.team-info span { font-size: 13px; color: rgba(255, 255, 255, .65); }
.team-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); pointer-events: none; }

.why { padding-top: 40px; padding-bottom: 96px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding-top: 48px; border-top: 1px solid var(--line); }
.why-ic { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line-2); margin-bottom: 14px; }
.why h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.why p { font-size: 14px; color: var(--muted); }

.page { padding: 56px 24px 96px; }
.page .section { padding-left: 0; padding-right: 0; }
.page-head { margin-bottom: 36px; }
.page-head h1 { font-size: clamp(32px, 4.5vw, 46px); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; margin-top: 6px; }
.page-head p { color: var(--muted); margin-top: 8px; }
.page-empty { padding: 140px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.page-empty h1 { font-size: 40px; font-weight: 700; letter-spacing: -.03em; }
.page-empty p { color: var(--muted); }
.page-empty .btn { margin-top: 16px; }
.success-ic { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(74, 222, 128, .5); display: grid; place-items: center; color: var(--good); margin-bottom: 8px; }
.success-ic .ic { width: 28px; height: 28px; }
.empty { padding: 56px 0; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 14px; }

.filters { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.filter-right { display: flex; align-items: center; gap: 10px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs a, .tabs button { padding: 7px 14px; border-radius: var(--r-pill); font-size: 14px; color: var(--muted); border: 1px solid transparent; transition: color .15s, border-color .15s; display: inline-flex; align-items: center; gap: 6px; }
.tabs a:hover, .tabs button:hover { color: var(--text); }
.tabs a.active, .tabs button.active { color: var(--text); border-color: var(--line-2); }
.tabs.line { gap: 26px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs.line a, .tabs.line button { padding: 12px 0; border: 0; border-radius: 0; position: relative; }
.tabs.line a.active::after, .tabs.line button.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #fff; }
.tabs small { font-size: 11.5px; color: var(--dim); }
.search { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--muted); transition: border-color .15s; }
.search:focus-within { border-color: var(--line-3); }
.search input { border: 0; outline: 0; background: transparent; width: 200px; color: var(--text); font-size: 14px; }
.select-line, select.field { height: 38px; padding: 0 34px 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a1' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; font-size: 14px; color: var(--soft); outline: 0; cursor: pointer; }
select option { background: #111; color: var(--text); }

.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--dim); margin-bottom: 28px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.crumbs span { color: var(--soft); }

.product-page { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr); gap: 56px; align-items: start; }
.media-main { aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #0c0c0c; position: relative; box-shadow: inset 0 0 0 1px var(--line); }
.media-main iframe { background: #000; }
.media-main img, .media-main iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.media-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb { position: relative; flex: none; width: 112px; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; opacity: .5; transition: opacity .15s; box-shadow: inset 0 0 0 1px var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active, .thumb:hover { opacity: 1; }
.thumb.active { outline: 1px solid rgba(255, 255, 255, .7); outline-offset: 2px; }
.thumb .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .35); }
.thumb .play .ic { fill: #fff; stroke: none; width: 20px; height: 20px; }
.product-side { position: sticky; top: calc(var(--header) + 24px); display: flex; flex-direction: column; }
.product-side h1 { font-size: 36px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin-top: 6px; }
.product-side .lead { color: var(--muted); margin-top: 12px; }
.price-big { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 18px; }
.price-big b { font-size: 34px; letter-spacing: -.03em; }
.buy { display: flex; flex-direction: column; gap: 12px; }
.owned { display: flex; gap: 12px; align-items: flex-start; padding: 2px 0 6px; }
.owned .ic { color: var(--good); margin-top: 3px; }
.owned.warn .ic { color: var(--warn); }
.owned b { display: block; font-weight: 600; }
.owned span { font-size: 13.5px; color: var(--muted); }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.spec dt { font-size: 12.5px; color: var(--dim); }
.spec dd { font-size: 14.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 22px; font-size: 13px; color: var(--dim); }
.perks { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--soft); }
.perks li { display: flex; align-items: center; gap: 10px; }
.perks .ic { width: 15px; height: 15px; color: var(--muted); }
.product-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr); gap: 56px; margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }
.prose { font-size: 15.5px; color: var(--soft); }
.prose h3 { font-size: 24px; color: var(--text); font-weight: 650; letter-spacing: -.02em; margin: 30px 0 10px; }
.prose h4 { font-size: 19px; color: var(--text); font-weight: 600; margin: 24px 0 8px; }
.prose h5 { font-size: 16px; color: var(--text); font-weight: 600; margin: 20px 0 6px; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 10px 0; }
.prose ul, .prose ol { margin: 10px 0 10px 22px; }
.prose li { margin: 4px 0; }
.prose code { font-family: var(--mono); font-size: 13px; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.md-img { border-radius: var(--r); margin: 16px 0; box-shadow: inset 0 0 0 1px var(--line); }
.changelog h3 { font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.cl-item { padding: 0 0 18px 18px; border-left: 1px solid var(--line-2); position: relative; }
.cl-item::before { content: ''; position: absolute; left: -4px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.cl-head { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.cl-head span { color: var(--dim); font-size: 13px; }
.cl-text { font-size: 13.5px; color: var(--muted); }
.cl-text p { margin: 4px 0; }
.cl-text ul { margin: 4px 0 4px 18px; }

.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
.checkout-main { display: flex; flex-direction: column; gap: 34px; }
.co-item { display: flex; align-items: center; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.co-item > img, .co-item > .placeholder { width: 168px; aspect-ratio: 16 / 9; border-radius: var(--r); object-fit: cover; flex: none; }
.co-item > .placeholder span { font-size: 13px; }
.co-item h3 { font-size: 20px; font-weight: 600; }
.co-item .co-price { margin-left: auto; display: flex; align-items: baseline; gap: 5px; }
.co-block h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.co-block h4 small { color: var(--dim); font-weight: 400; }
.co-block p { font-size: 13.5px; margin-bottom: 12px; }
.coupon-row { display: flex; gap: 10px; max-width: 460px; }
.coupon-msg { font-size: 13.5px; margin-top: 8px; min-height: 20px; }
.coupon-msg.good { color: var(--good); }
.coupon-msg.bad { color: var(--bad); }
.checkout-sum { position: sticky; top: calc(var(--header) + 24px); padding-left: 40px; border-left: 1px solid var(--line); }
.checkout-sum h4 { font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.checkout-sum dl { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.checkout-sum dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.checkout-sum dt { color: var(--muted); }
.checkout-sum .total { padding-top: 14px; border-top: 1px solid var(--line); font-size: 16px; }
.checkout-sum .total dd { font-size: 26px; font-weight: 650; letter-spacing: -.02em; line-height: 1; }
.checkout-sum .total dt { color: var(--text); align-self: center; }
.checkout-sum .sep { height: 6px; }
.warn-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--warn); margin-bottom: 14px; }
.warn-note a { text-decoration: underline; }
.fine { font-size: 12.5px; color: var(--dim); margin-top: 14px; text-align: center; }

.field, .lbl input, .lbl textarea, .lbl select { width: 100%; height: 42px; padding: 0 16px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .02); border: 1px solid var(--line-2); color: var(--text); outline: 0; font-size: 14.5px; transition: border-color .15s, background .15s; }
.field:focus, .lbl input:focus, .lbl textarea:focus, .lbl select:focus { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .035); }
textarea.field, .lbl textarea { height: auto; min-height: 96px; padding: 12px 16px; resize: vertical; line-height: 1.6; }
.field::placeholder, .lbl input::placeholder, .lbl textarea::placeholder { color: #575757; }
.lbl { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; color: var(--soft); font-weight: 500; }
.lbl small { color: var(--dim); font-weight: 400; order: 3; font-size: 12px; }
.hint { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-top: 14px; }
.hint .ic { margin-top: 3px; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; color: var(--soft); user-select: none; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line-3); display: grid; place-items: center; flex: none; margin-top: 2px; transition: background .15s, border-color .15s; }
.check .box .ic { width: 13px; height: 13px; stroke-width: 2.6; opacity: 0; color: #000; }
.check input:checked + .box { background: #fff; border-color: #fff; }
.check input:checked + .box .ic { opacity: 1; }
.check input:focus-visible + .box { outline: 2px solid rgba(255, 255, 255, .5); outline-offset: 2px; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.check.shake { animation: shake .4s; }
.check.shake .box { border-color: var(--bad); }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.toc { position: sticky; top: calc(var(--header) + 24px); display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 120px); overflow-y: auto; font-size: 13.5px; }
.toc a { color: var(--dim); padding: 4px 0; transition: color .15s; }
.toc a:hover { color: var(--text); }
.toc a.toc-main { color: var(--soft); font-weight: 600; margin-top: 14px; }
.toc a.toc-main:first-child { margin-top: 0; }
.legal-body article { margin-bottom: 64px; }
.legal-body h2 { font-size: 30px; font-weight: 700; letter-spacing: -.025em; }
.legal-body .lead { color: var(--muted); margin: 10px 0 30px; }
.legal-body section { padding: 22px 0; border-top: 1px solid var(--line); }
.legal-body h3 { display: flex; gap: 14px; align-items: baseline; font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.legal-body h3 .mono { color: var(--dim); font-size: 13px; }
.legal-body ul { margin-left: 46px; color: var(--soft); font-size: 14.5px; }
.legal-body li { margin: 6px 0; }
.legal-body a { text-decoration: underline; text-underline-offset: 3px; }

.profile-head { display: flex; align-items: center; gap: 24px; padding-bottom: 36px; margin-bottom: 8px; flex-wrap: wrap; }
.profile-avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: #111; box-shadow: 0 0 0 1px var(--line-2), 0 0 60px rgba(255, 255, 255, .08); }
.profile-id h1 { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.profile-id p { font-size: 14px; color: var(--soft); }
.profile-id p.muted { color: var(--dim); font-size: 13px; }
.profile-stats { margin-left: auto; display: flex; gap: 44px; }
.profile-stats div { display: flex; flex-direction: column; align-items: flex-end; }
.profile-stats span { font-size: 12.5px; color: var(--dim); }
.profile-stats b { font-size: 28px; font-weight: 650; letter-spacing: -.03em; line-height: 1.2; }
.notices { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.notice { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 12px 16px; border-radius: var(--r); background: rgba(251, 191, 36, .06); }
.notice.bad { background: rgba(248, 113, 113, .07); }
.notice.warn .ic { color: var(--warn); }
.notice.bad .ic { color: var(--bad); }
.bar-right { display: flex; justify-content: flex-end; margin: -10px 0 10px; }
.lic-list { display: flex; flex-direction: column; }
.lic { display: grid; grid-template-columns: 136px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.lic:first-child { padding-top: 6px; }
.lic-thumb { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #0e0e0e; display: grid; place-items: center; color: var(--dim); box-shadow: inset 0 0 0 1px var(--line); }
.lic-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lic-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lic-title b { font-size: 17px; font-weight: 600; }
.lic-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.lic-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.lic-meta i { color: var(--warn); font-style: normal; }
.lic-note { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--warn); }
.lic-actions { display: flex; gap: 8px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; padding: 1px 0; color: var(--muted); white-space: nowrap; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status .ic { display: none; }
.status.active, .status.valid, .status.paid, .status.on { color: var(--good); }
.status.expiring, .status.trial, .status.locked, .status.warn { color: var(--warn); }
.status.expired, .status.suspended, .status.refunded, .status.denied, .status.bad, .status.off { color: var(--bad); }
.status.neutral { color: var(--muted); }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--dim); padding: 0 14px 12px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .12s; }
.table.hover tbody tr:hover { background: rgba(255, 255, 255, .02); cursor: pointer; }
.table .ic.sm { color: var(--dim); }
.kv { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); margin-bottom: 18px; font-size: 14px; }
.kv span { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); margin-top: auto; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 30px; padding-bottom: 30px; flex-wrap: wrap; }
.footer-left { display: flex; align-items: center; gap: 18px; }
.footer-copy { font-size: 13.5px; color: var(--dim); }
.footer-nav { display: flex; gap: 26px; font-size: 13.5px; color: var(--muted); }
.footer-nav a:hover { color: var(--text); }
.in-office .site-footer { display: none; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .62); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .18s; }
.modal-backdrop.show { opacity: 1; }
.modal { width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow-y: auto; border-radius: var(--r-lg); background: #0b0b0b; border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgba(0, 0, 0, .7); padding: 24px; transform: translateY(10px) scale(.985); transition: transform .18s; }
.modal.wide { max-width: 760px; }
.modal-backdrop.show .modal { transform: none; }
.modal-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.modal-head h3 { font-size: 19px; font-weight: 650; letter-spacing: -.015em; }
.modal-head p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.modal-body { display: flex; flex-direction: column; gap: 14px; }
.modal-text { color: var(--soft); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.form-error { color: var(--bad); font-size: 13.5px; min-height: 0; }
.form-error:not(:empty) { margin-top: 14px; }
body.modal-open { overflow: hidden; }

.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; max-width: 420px; padding: 12px 18px; border-radius: var(--r); background: rgba(16, 16, 16, .96); border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); font-size: 14px; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; pointer-events: auto; }
.toast.show { opacity: 1; transform: none; }
.toast .ic { color: var(--good); }
.toast.bad .ic { color: var(--bad); }

/* ---------- Back Office ---------- */
.office { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - var(--header)); }
.office-side { position: sticky; top: var(--header); height: calc(100vh - var(--header)); overflow-y: auto; padding: 22px 14px; border-right: 1px solid var(--line); background: rgba(5, 5, 5, .5); }
.office-side .side-label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); padding: 16px 12px 6px; }
.office-side .side-label:first-child { padding-top: 0; }
.office-side a { display: flex; align-items: center; gap: 11px; padding: 8px 12px; border-radius: var(--r-sm); font-size: 14px; color: var(--muted); transition: background .12s, color .12s; }
.office-side a:hover { color: var(--text); background: var(--hover); }
.office-side a.active { color: var(--text); background: var(--surface-2); }
.office-side a .ic { width: 17px; height: 17px; }
.office-me { display: flex; align-items: center; gap: 10px; padding: 0 12px 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.office-me img { width: 34px; height: 34px; border-radius: 50%; }
.office-me b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.office-me small { font-size: 12px; color: var(--dim); }
.office-main { padding: 34px 40px 80px; min-width: 0; }
.o-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.o-head h1 { font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.o-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.o-head .o-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.o-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--dim); margin-bottom: 10px; }
.o-back:hover { color: var(--text); }
.o-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.o-toolbar .search input { width: 240px; }
.o-toolbar .grow { flex: 1; }
.o-section { margin-top: 40px; }
.o-section > h3, .o-sub { font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.stat span { font-size: 12.5px; color: var(--dim); display: block; }
.stat b { font-size: 28px; font-weight: 650; letter-spacing: -.03em; line-height: 1.25; display: block; }
.stat small { font-size: 12.5px; color: var(--muted); }
.cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
.chart { display: flex; align-items: flex-end; gap: 4px; height: 160px; padding-top: 10px; }
.chart .bar { flex: 1; min-width: 4px; background: rgba(255, 255, 255, .14); border-radius: 4px 4px 1px 1px; position: relative; transition: background .15s; }
.chart .bar:hover { background: rgba(255, 255, 255, .7); }
.chart .bar:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; padding: 4px 8px; border-radius: 6px; background: #161616; border: 1px solid var(--line-2); z-index: 2; }
.chart-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--dim); margin-top: 8px; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who img { width: 28px; height: 28px; border-radius: 50%; flex: none; background: #111; }
.who b { font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who small { display: block; font-size: 12px; color: var(--dim); }
.thumb-sm { width: 64px; aspect-ratio: 16 / 9; border-radius: 8px; object-fit: cover; background: #111; flex: none; box-shadow: inset 0 0 0 1px var(--line); }
.row-actions { display: flex; gap: 2px; justify-content: flex-end; white-space: nowrap; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; font-size: 13px; color: var(--dim); }
.pager div { display: flex; gap: 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .check { margin-top: 4px; }
.form-section { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
.form-section:first-of-type { border-top: 0; padding-top: 0; }
.form-section > div:first-child h4 { font-size: 15px; font-weight: 600; }
.form-section > div:first-child p { font-size: 13px; color: var(--dim); margin-top: 4px; }
.img-field { display: flex; gap: 14px; align-items: flex-start; }
.img-prev { width: 168px; aspect-ratio: 16 / 9; border-radius: var(--r-sm); background: #0f0f0f center / cover no-repeat; flex: none; display: grid; place-items: center; color: var(--dim); box-shadow: inset 0 0 0 1px var(--line-2); }
.img-prev.portrait { width: 96px; aspect-ratio: 3 / 4; }
.img-field .img-ctrl { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.img-field .img-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery .g-item { position: relative; width: 140px; aspect-ratio: 16 / 9; border-radius: var(--r-sm); background: #0f0f0f center / cover no-repeat; box-shadow: inset 0 0 0 1px var(--line-2); }
.gallery .g-item button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0, 0, 0, .7); display: grid; place-items: center; }
.gallery .g-item button .ic { width: 13px; height: 13px; }
.gallery .g-add { width: 140px; aspect-ratio: 16 / 9; border-radius: var(--r-sm); border: 1px dashed var(--line-3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12.5px; color: var(--muted); }
.gallery .g-add:hover { color: var(--text); border-color: #fff; }
.progress { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: #fff; transition: width .15s; }
.perm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; }
.perm-group { grid-column: 1 / -1; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-top: 10px; }
.code-box { position: relative; }
.code-box pre { font-family: var(--mono); font-size: 12.5px; line-height: 1.6; padding: 16px; border-radius: var(--r); background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line); overflow: auto; max-height: 420px; color: var(--soft); white-space: pre; }
.code-box .btn { position: absolute; top: 10px; right: 10px; background: #0b0b0b; }
.pill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { font-size: 12px; padding: 2px 10px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--soft); }
.dl { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 10px 20px; font-size: 14px; }
.dl dt { color: var(--dim); }
.chips-row { display: flex; gap: 6px; flex-wrap: wrap; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form .field { width: auto; flex: 1; min-width: 140px; }
.mt { margin-top: 18px; }

@media (max-width: 1080px) {
    .product-page, .product-body { grid-template-columns: 1fr; gap: 36px; }
    .product-side { position: static; }
    .checkout-grid { grid-template-columns: 1fr; gap: 40px; }
    .checkout-sum { position: static; padding-left: 0; border-left: 0; padding-top: 30px; border-top: 1px solid var(--line); }
    .cols { grid-template-columns: 1fr; }
    .form-section { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 900px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .legal { grid-template-columns: 1fr; gap: 24px; }
    .toc { display: none; }
    .site-nav { position: fixed; top: var(--header); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 10px 16px 18px; background: rgba(5, 5, 5, .96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
    .site-nav a { padding: 12px 14px; border-radius: var(--r-sm); }
    .nav-open .site-nav { opacity: 1; transform: none; pointer-events: auto; }
    .header-row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; }
    .nav-toggle { display: inline-flex; }
    .acc-name { display: none; }
    .office { grid-template-columns: 1fr; }
    .office-side { position: static; height: auto; display: flex; overflow-x: auto; gap: 4px; padding: 10px 14px; border-right: 0; border-bottom: 1px solid var(--line); }
    .office-side .side-label, .office-me { display: none; }
    .office-side a { white-space: nowrap; }
    .office-main { padding: 24px 20px 60px; }
    .lic { grid-template-columns: 96px minmax(0, 1fr); }
    .lic-actions { grid-column: 1 / -1; }
    .profile-stats { margin-left: 0; width: 100%; justify-content: space-between; }
    .profile-stats div { align-items: flex-start; }
}

@media (max-width: 600px) {
    .wrap { padding: 0 16px; }
    .header-row { gap: 12px; }
    .product-grid { grid-template-columns: 1fr; }
    .hero { padding: 80px 16px 56px; }
    .hero-stats { gap: 28px; }
    .section, .page { padding-left: 16px; padding-right: 16px; }
    .why-grid { grid-template-columns: 1fr; }
    .points-chip { padding: 0 10px; }
    .brand-sub { display: none; }
    .footer-row { flex-direction: column; align-items: flex-start; }
    .footer-nav { flex-wrap: wrap; gap: 16px; }
    .co-item { flex-wrap: wrap; }
    .co-item > img, .co-item > .placeholder { width: 100%; }
    .co-item .co-price { margin-left: 0; }
    .form-grid { grid-template-columns: 1fr; }
    .search input { width: 140px; }
    .o-toolbar .search input { width: 160px; }
    .filters { flex-direction: column; align-items: stretch; }
    .filter-right { justify-content: space-between; }
    .dl { grid-template-columns: 1fr; gap: 2px 0; }
    .dl dd { margin-bottom: 8px; }
}
.grow { flex: 1; }

.sel { position: relative; display: inline-flex; min-width: 0; vertical-align: middle; }
.sel > select { position: absolute; inset: 0; opacity: 0; pointer-events: none; width: 100%; height: 100%; }
.sel-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-width: 0; text-align: left; color: var(--soft); transition: border-color .15s, background .15s, color .15s; }
.sel-btn .sel-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sel-btn .ic { color: var(--dim); transition: transform .18s, color .15s; flex: none; }
.sel-btn:hover .ic, .sel.open .sel-btn .ic { color: var(--text); }
.sel.open .sel-btn .ic { transform: rotate(180deg); }
.sel-btn:focus-visible { outline: 2px solid rgba(255, 255, 255, .45); outline-offset: 2px; }
.sel-btn[disabled] { opacity: .45; cursor: not-allowed; }
.sel.line .sel-btn { height: 38px; padding: 0 14px 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-size: 14px; }
.sel.line .sel-btn:hover, .sel.line.open .sel-btn { border-color: var(--line-3); color: var(--text); }
.sel.box { display: flex; width: 100%; }
.sel.box .sel-btn { height: 42px; padding: 0 14px 0 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); font-size: 14.5px; color: var(--text); }
.sel.box .sel-btn:hover { border-color: var(--line-3); }
.sel.box.open .sel-btn { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .035); }
.inline-form .sel.box { width: auto; flex: 1; min-width: 160px; }
.sel-pop { position: fixed; z-index: 400; max-height: 320px; max-width: min(420px, calc(100vw - 16px)); overflow-y: auto; padding: 6px; border-radius: var(--r); background: rgba(14, 14, 14, .98); backdrop-filter: blur(20px); border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .65); opacity: 0; transform: translateY(-4px); transition: opacity .12s, transform .12s; }
.sel-pop.up { transform: translateY(4px); }
.sel-pop.show { opacity: 1; transform: none; }
.sel-opt { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 18px; padding: 8px 12px; border-radius: var(--r-sm); font-size: 14px; color: var(--soft); white-space: nowrap; }
.sel-opt .ic { opacity: 0; color: var(--text); }
.sel-opt.focus { background: var(--hover); color: var(--text); }
.sel-opt.active { color: var(--text); font-weight: 500; }
.sel-opt.active .ic { opacity: 1; }
.sel-opt[disabled] { opacity: .4; pointer-events: none; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=datetime-local] { color-scheme: dark; }
input[type=datetime-local]::-webkit-calendar-picker-indicator { filter: invert(.75); cursor: pointer; }

.points-chip .chip-plus { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .1); margin-right: -6px; }
.points-chip .chip-plus .ic { width: 11px; height: 11px; stroke-width: 2.4; }
.cd { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.cd.ended { opacity: .5; }
.product-flag.sale { background: #fff; color: #000; border-color: #fff; letter-spacing: .02em; }
.product-flag.sale .cd { font-size: 10.5px; font-weight: 600; }
.eyebrow.flash { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.eyebrow.flash .ic { fill: currentColor; }
.sale-timer { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.sale-timer small { font-size: 12px; color: var(--dim); }
.sale-timer .cd { font-size: 24px; font-weight: 600; }
.sale-strip { display: flex; align-items: center; gap: 8px; padding: 10px 14px; margin: -6px 0 18px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13.5px; }
.sale-strip .ic { fill: currentColor; }
.sale-strip small { color: var(--dim); }
.sale-strip .cd { font-weight: 600; }
.sale-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--soft); margin-top: 4px; }
.price-big .per { color: var(--dim); font-size: 14px; }
.in-bundle { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.in-bundle a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13.5px; color: var(--soft); transition: box-shadow .15s; }
.in-bundle a:hover { box-shadow: inset 0 0 0 1px var(--line-3); color: var(--text); }
.in-bundle a span { flex: 1; }
.perks a { text-decoration: underline; text-underline-offset: 3px; }
.mb { margin-bottom: 28px; }
.mb-s { margin-bottom: 10px; }
.mt-s { margin-top: 8px; }

.bundle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.bundle { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: center; padding: 14px; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); background: linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); transition: box-shadow .2s; }
.bundle:hover { box-shadow: inset 0 0 0 1px var(--line-3); }
.bundle-media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: #0d0d0d; }
.bundle-media > img { width: 100%; height: 100%; object-fit: cover; }
.bundle-stack { position: relative; width: 100%; height: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #000; }
.bundle-stack img, .bundle-stack span { width: 100%; height: 100%; object-fit: cover; }
.bundle-stack span { display: grid; place-items: center; padding: 8px; text-align: center; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .6); background: radial-gradient(120% 120% at 0% 0%, #1b1b1b, #090909 60%); }
.bundle-stack.big { position: absolute; inset: 0; grid-template-columns: repeat(2, 1fr); }
.bundle-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-right: 8px; }
.bundle-body h3 { font-size: 20px; font-weight: 650; letter-spacing: -.015em; line-height: 1.3; }
.bundle-body p { font-size: 13.5px; color: var(--muted); }
.bundle-ends { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--soft); margin-top: 6px; }

.banner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.banner { position: relative; display: flex; gap: 18px; align-items: stretch; min-height: 140px; border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-2); background: linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); }
.banner.promo { background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02)); }
.banner.warn { background: linear-gradient(135deg, rgba(251, 191, 36, .12), rgba(251, 191, 36, .02)); }
.banner.danger { background: linear-gradient(135deg, rgba(248, 113, 113, .12), rgba(248, 113, 113, .02)); }
.banner.success { background: linear-gradient(135deg, rgba(74, 222, 128, .1), rgba(74, 222, 128, .02)); }
.banner.has-img > img { width: 40%; object-fit: cover; flex: none; }
.banner-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 22px 24px; }
.banner-body h3 { font-size: 20px; font-weight: 650; letter-spacing: -.015em; }
.banner-body p { color: var(--soft); font-size: 14px; }
.banner-body .btn { margin-top: 8px; }
.popup-img { width: 100%; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }

.co-items { display: flex; flex-direction: column; }
.co-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.co-row:last-child { border-bottom: 0; }
.checkout-sum .btn.wide.mb-s { height: 42px; }

.live { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px rgba(74, 222, 128, .18); flex: none; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); } }
.lic-note a { text-decoration: underline; color: var(--text); margin-left: 4px; }
.renew-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.renew-opt { position: relative; cursor: pointer; }
.renew-opt input { position: absolute; opacity: 0; }
.renew-opt span { display: flex; flex-direction: column; padding: 14px 16px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .15s, background .15s; }
.renew-opt b { font-size: 16px; font-weight: 600; }
.renew-opt small { color: var(--muted); font-size: 13px; }
.renew-opt input:checked + span { box-shadow: inset 0 0 0 1px #fff; background: rgba(255, 255, 255, .05); }
.renew-opt input:focus-visible + span { outline: 2px solid rgba(255, 255, 255, .5); outline-offset: 2px; }
.kv b a { text-decoration: underline; font-weight: 400; margin-left: 6px; }

.topup .tu-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.method-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.method-tabs button { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .15s, background .15s; }
.method-tabs button:hover { box-shadow: inset 0 0 0 1px var(--line-3); }
.method-tabs button.active { box-shadow: inset 0 0 0 1px #fff; background: rgba(255, 255, 255, .04); }
.method-tabs .ic { width: 24px; height: 24px; }
.method-tabs span { display: flex; flex-direction: column; text-align: left; }
.method-tabs b { font-weight: 600; font-size: 15px; }
.method-tabs small { color: var(--dim); font-size: 12.5px; }
.tu-form h3 { font-size: 20px; font-weight: 650; margin-bottom: 14px; }
.steps { margin: 0 0 22px 20px; color: var(--soft); font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.steps b { color: var(--text); font-weight: 600; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; align-items: start; margin-bottom: 24px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pp-to { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; }
.pp-to span { color: var(--dim); }
.qr-box { aspect-ratio: 1 / 1.18; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line-2); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; gap: 10px; }
.qr { width: 100%; background: #fff; border-radius: var(--r); padding: 8px; }
.qr svg { display: block; width: 100%; height: auto; }
.qr-meta { display: flex; flex-direction: column; align-items: center; }
.qr-meta b { font-size: 22px; font-weight: 650; }
.qr-meta span { font-size: 12.5px; color: var(--muted); }
.qr-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--dim); font-size: 13px; }
.qr-empty .ic { width: 40px; height: 40px; stroke-width: 1.2; }
.slip-drop { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--r-lg); border: 1px dashed var(--line-3); cursor: pointer; transition: border-color .15s, background .15s; }
.slip-drop:hover, .slip-drop.over { border-color: #fff; background: rgba(255, 255, 255, .03); }
.slip-drop.busy { pointer-events: none; }
.slip-drop > .ic { width: 26px; height: 26px; }
.slip-drop div { display: flex; flex-direction: column; }
.slip-drop b { font-weight: 600; }
.slip-drop span { font-size: 13px; color: var(--muted); }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); border-top-color: #fff; animation: spin .7s linear infinite; flex: none; }
.tu-side { position: sticky; top: calc(var(--header) + 24px); padding-left: 36px; border-left: 1px solid var(--line); }
.tu-side h4 { font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); margin: 28px 0 10px; }
.tu-side .table { font-size: 13px; }
.tu-balance span { display: block; font-size: 12.5px; color: var(--dim); }
.tu-balance b { font-size: 38px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.bonus-tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 20px; }
.bonus-tiers div { display: flex; flex-direction: column; padding: 10px 12px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line-2); }
.bonus-tiers b { font-size: 17px; font-weight: 650; }
.bonus-tiers span { font-size: 11.5px; color: var(--dim); }
.tu-done { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; text-align: center; }
.tu-done b { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.tu-done small { color: var(--muted); }

@media (max-width: 1080px) {
    .topup .tu-grid { grid-template-columns: 1fr; gap: 40px; }
    .tu-side { position: static; padding-left: 0; border-left: 0; padding-top: 30px; border-top: 1px solid var(--line); }
    .bundle-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .bundle { grid-template-columns: 1fr; }
    .pp-grid { grid-template-columns: 1fr; }
    .method-tabs { grid-template-columns: 1fr; }
    .renew-opts { grid-template-columns: 1fr; }
    .banner.has-img { flex-direction: column; }
    .banner.has-img > img { width: 100%; aspect-ratio: 16 / 7; }
    .hero-stats span { letter-spacing: .12em; }
}
.hero-stats span { font-size: 12px; letter-spacing: .2em; font-weight: 500; }

.office-main .o-section { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.office-main .o-head { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.office-main .o-head + .tabs.line { margin-top: -1px; }
.office-main .o-head + .stats, .office-main .o-head + .kpis, .office-main .o-head + .attn { margin-top: 26px; }
.office-main .cols { gap: 0; }
.office-main .cols > div { min-width: 0; }
.office-main .cols > div + div { padding-left: 40px; margin-left: 40px; border-left: 1px solid var(--line); }
.dl { gap: 0; }
.dl dt, .dl dd { padding: 11px 0; border-bottom: 1px solid var(--line); }
.dl dt { padding-right: 16px; }
.dl dt:last-of-type, .dl dd:last-of-type { border-bottom: 0; }
.stats { gap: 0; }
.stat { padding: 4px 24px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat b.small-b { font-size: 18px; }
.modal .o-section { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.modal .modal-body > .form-grid, .modal .dl { padding-bottom: 4px; }
.modal-head { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.modal-actions { padding-top: 16px; border-top: 1px solid var(--line); }
.form-section { border-top-color: var(--line-2); }
.table td { border-bottom-color: var(--line); }
.table thead th { background: transparent; }
.office-side .side-label { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; }
.office-side .side-label:first-of-type { border-top: 0; margin-top: 0; }
.office-side a .badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 600; font-style: normal; display: grid; place-items: center; }
.office-side a[data-key="topups"] .badge { background: var(--warn); color: #000; }
.side-search { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; margin-bottom: 4px; border-radius: var(--r-sm); border: 1px solid var(--line-2); color: var(--dim); font-size: 13.5px; transition: border-color .15s, color .15s; }
.side-search:hover { border-color: var(--line-3); color: var(--text); }
.side-search kbd { margin-left: auto; font-family: var(--mono); font-size: 10.5px; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line-2); }
.search.wide { display: flex; width: 100%; }
.search.wide input { width: 100%; }
.cmd-list { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; max-height: 50vh; overflow-y: auto; }
.cmd { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: var(--r-sm); font-size: 14px; color: var(--soft); }
.cmd span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cmd small { color: var(--dim); font-size: 12px; }
.cmd em { font-style: normal; font-size: 11.5px; color: var(--dim); }
.cmd.focus, .cmd:hover { background: var(--hover); color: var(--text); }
.sel.sm .sel-btn { height: 30px; padding: 0 10px 0 12px; font-size: 12.5px; }

.chips-row:empty { display: none; }
.cb { width: 34px; padding-right: 6px !important; }
.cb .check .box { margin-top: 0; }
.bulk-bar { position: sticky; top: calc(var(--header) + 8px); z-index: 5; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 14px; border-radius: var(--r); background: rgba(18, 18, 18, .96); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line-3), 0 16px 40px rgba(0, 0, 0, .4); font-size: 13.5px; }
.online-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--good); }
.switch { position: relative; display: inline-block; width: 36px; height: 20px; vertical-align: middle; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch span { position: absolute; inset: 0; border-radius: 20px; background: rgba(255, 255, 255, .12); transition: background .15s; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked + span { background: var(--good); }
.switch input:checked + span::after { transform: translateX(16px); }
.notice.mb, .hint.mb { margin-bottom: 22px; }
.hint a { text-decoration: underline; color: var(--text); }

.attn { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.attn-item { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r); font-size: 13.5px; transition: background .15s; }
.attn-item.bad { background: rgba(248, 113, 113, .08); box-shadow: inset 0 0 0 1px rgba(248, 113, 113, .3); }
.attn-item.bad > .ic:first-child { color: var(--bad); }
.attn-item.warn { background: rgba(251, 191, 36, .07); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .28); }
.attn-item.warn > .ic:first-child { color: var(--warn); }
.attn-item:hover { filter: brightness(1.2); }
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.kpi { padding: 18px 20px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kpi:first-child { border-left: 0; }
.kpi span { font-size: 12.5px; color: var(--dim); }
.kpi b { font-size: 26px; font-weight: 650; letter-spacing: -.03em; line-height: 1.2; }
.delta { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.delta.up { color: var(--good); }
.delta.down { color: var(--bad); }
.today { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 18px; }
.today > div { padding: 6px 20px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.today > div:first-child { padding-left: 0; border-left: 0; }
.today span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--dim); }
.today b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.today small { font-size: 12px; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid2 > .panel, .grid3 > .panel { min-width: 0; padding: 0 32px; border-left: 1px solid var(--line); }
.grid2 > .panel:first-child, .grid3 > .panel:first-child { padding-left: 0; border-left: 0; }
.grid2 > .panel:last-child, .grid3 > .panel:last-child { padding-right: 0; }
.chart { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding-top: 8px; border-bottom: 1px solid var(--line-2); }
.chart .bar-col { flex: 1; min-width: 3px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; position: relative; cursor: default; }
.chart .bar-col .bar { display: block; flex: none; min-width: 0; width: 100%; background: rgba(255, 255, 255, .5); border-radius: 4px 4px 0 0; transition: background .12s; }
.chart .bar-col .bar.alt { background: var(--bad); opacity: .75; border-radius: 4px 4px 0 0; }
.chart .bar-col .bar:not(.alt):last-child { border-radius: 4px 4px 0 0; }
.chart .bar-col .bar.alt + .bar { border-radius: 0; }
.chart .bar-col:hover .bar { background: #fff; }
.chart .bar-col:hover .bar.alt { background: var(--bad); opacity: 1; }
.chart .bar-col:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; padding: 5px 9px; border-radius: 8px; background: #161616; border: 1px solid var(--line-2); z-index: 3; pointer-events: none; }
.chart .bar-col:first-child:hover::after { left: 0; transform: none; }
.chart .bar-col:last-child:hover::after { left: auto; right: 0; transform: none; }
.chart.dense { gap: 1px; }
.chart.dense .bar-col .bar { border-radius: 2px 2px 0 0; }
.chart-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); margin-top: 8px; }
.chart-total { font-size: 12.5px; color: var(--dim); margin-top: 6px; }
.chart-total b { color: var(--text); font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend b { color: var(--text); font-weight: 600; }
.sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.sw.solid, .seg.solid { background: rgba(255, 255, 255, .85); }
.sw.mid, .seg.mid { background: rgba(255, 255, 255, .45); }
.sw.soft, .seg.soft { background: rgba(255, 255, 255, .2); }
.sw.warn, .seg.warn { background: var(--warn); }
.sw.bad, .seg.bad { background: var(--bad); }
.meter { display: flex; gap: 2px; height: 12px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, .05); }
.meter .seg { display: block; height: 100%; }
.rank { display: flex; flex-direction: column; gap: 12px; }
.rank-row { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 13.5px; }
.rank-top { display: flex; justify-content: space-between; gap: 10px; }
.rank-top b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .06); margin-top: 6px; overflow: hidden; }
.rank-bar i { display: block; height: 100%; border-radius: 3px; background: rgba(255, 255, 255, .7); }
.feed { list-style: none; display: flex; flex-direction: column; }
.feed li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.feed li:last-child { border-bottom: 0; }
.feed li[data-member], .feed li[data-alert] { cursor: pointer; }
.feed li:hover { background: rgba(255, 255, 255, .015); }
.feed .fi { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); flex: none; color: var(--muted); }
.feed .fi .ic { width: 15px; height: 15px; }
.feed .fi.bad { color: var(--bad); background: rgba(248, 113, 113, .1); }
.feed b { font-weight: 600; }
.feed small { display: block; font-size: 12px; color: var(--dim); }
.alert-mini { display: flex; flex-direction: column; }
.alert-mini a { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.alert-mini a span:last-child { display: flex; flex-direction: column; }
.alert-mini small { font-size: 12px; color: var(--dim); }
.live { display: inline-block; }

.panel.form-panel { padding: 20px 22px; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line-2); }
.form-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rollout { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.rollout-bar { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.rollout-bar i { display: block; height: 100%; background: var(--good); }
.slip-img { width: 100%; max-height: 60vh; object-fit: contain; border-radius: var(--r); background: #fff; }
.sev-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 24px 0 8px; }
.sev { display: flex; flex-direction: column; padding: 14px 16px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s; }
.sev:hover, .sev.active { box-shadow: inset 0 0 0 1px var(--line-3); }
.sev b { font-size: 24px; font-weight: 650; }
.sev span { font-size: 12.5px; color: var(--dim); }
.sev.critical b, .sev.high b { color: var(--bad); }
.sev.medium b { color: var(--warn); }
.alert-list { display: flex; flex-direction: column; }
.alert-card { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 16px 0 16px 14px; border-bottom: 1px solid var(--line); border-left: 2px solid transparent; }
.alert-card.critical, .alert-card.high { border-left-color: var(--bad); }
.alert-card.medium { border-left-color: var(--warn); }
.alert-main b { font-weight: 600; }
.alert-main p { font-size: 13.5px; color: var(--soft); margin-top: 2px; }
.alert-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; font-size: 12.5px; color: var(--dim); }
.alert-meta a { text-decoration: underline; color: var(--muted); }
.alert-act { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 360px; }
.empty > .ic { width: 32px; height: 32px; color: var(--dim); }
.ver-card { padding: 24px 0; border-bottom: 1px solid var(--line); }
.ver-card.killed { margin: 0 -16px; padding: 24px 16px; background: rgba(248, 113, 113, .05); border-radius: var(--r-lg); }
.ver-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ver-head h3 { font-size: 18px; font-weight: 650; }
.ver-head h3 .mono { font-size: 12.5px; font-weight: 400; margin-left: 6px; }
.ver-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); margin-top: 18px; }
.ver-grid > div + div { padding-left: 32px; margin-left: 32px; border-left: 1px solid var(--line); }
.ver-use { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 6px 0; font-size: 13px; }
.ver-use .rank-bar { margin-top: 0; }
.kill { position: relative; cursor: pointer; flex: none; }
.kill input { position: absolute; opacity: 0; }
.kill-ui { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; color: var(--muted); transition: all .15s; }
.kill-ui b { font-weight: 600; }
.kill:hover .kill-ui { box-shadow: inset 0 0 0 1px rgba(248, 113, 113, .6); color: #fca5a5; }
.kill input:checked + .kill-ui { background: var(--bad); color: #fff; box-shadow: none; }
.kill input:focus-visible + .kill-ui { outline: 2px solid rgba(255, 255, 255, .5); outline-offset: 2px; }
.ann-list { display: flex; flex-direction: column; }
.ann { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ann-preview { padding: 12px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .03); border-left: 3px solid var(--soft); }
.ann.promo .ann-preview { border-left-color: #fff; background: rgba(255, 255, 255, .06); }
.ann.warn .ann-preview { border-left-color: var(--warn); background: rgba(251, 191, 36, .05); }
.ann.danger .ann-preview { border-left-color: var(--bad); background: rgba(248, 113, 113, .05); }
.ann.success .ann-preview { border-left-color: var(--good); background: rgba(74, 222, 128, .05); }
.ann.info .ann-preview { border-left-color: #93c5fd; }
.ann-style { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; }
.ann-preview b { display: block; font-weight: 600; }
.ann-preview p { font-size: 13.5px; color: var(--soft); }
.ann-meta { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted); }
.ann-meta span { display: inline-flex; align-items: center; gap: 6px; }
.env-list { display: flex; flex-direction: column; }
.env-row { display: grid; grid-template-columns: 14px 160px minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.env-row:last-child { border-bottom: 0; }
.env-row b { font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.dot.ok { background: var(--good); }
.dot.bad { background: var(--bad); }
.tier { margin-bottom: 8px; }
.tier .field { max-width: 120px; min-width: 80px; height: 36px; }
.guild { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line-2); }
.guild img, .guild-ph { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #5865f2; }
.guild b { display: block; font-weight: 600; font-size: 16px; }
.guild small { color: var(--dim); font-size: 12.5px; }
.setup-card { display: flex; gap: 20px; padding: 24px; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line-2); }
.setup-card > .ic { width: 34px; height: 34px; color: #8b93ff; }
.setup-card h3 { font-size: 18px; font-weight: 650; margin-bottom: 10px; }

@media (max-width: 1280px) {
    .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .kpi:nth-child(4) { border-left: 0; }
    .kpi:nth-child(n+4) { border-top: 1px solid var(--line); }
    .grid3 { grid-template-columns: 1fr; }
    .grid3 > .panel { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
    .grid3 > .panel:first-child { padding-top: 0; border-top: 0; margin-top: 0; }
}
@media (max-width: 1080px) {
    .grid2 { grid-template-columns: 1fr; }
    .grid2 > .panel { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
    .grid2 > .panel:first-child { padding-top: 0; border-top: 0; margin-top: 0; }
    .today { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
    .today > div:nth-child(4) { padding-left: 0; border-left: 0; }
    .office-main .cols > div + div { padding-left: 0; margin-left: 0; border-left: 0; padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); }
    .ver-grid { grid-template-columns: 1fr; }
    .ver-grid > div + div { padding-left: 0; margin-left: 0; border-left: 0; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); }
    .ann { grid-template-columns: 1fr; gap: 10px; }
    .form-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .alert-card { grid-template-columns: 1fr; gap: 8px; }
    .alert-act { justify-content: flex-start; max-width: none; }
}
@media (max-width: 600px) {
    .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kpi { border-left: 0 !important; border-top: 1px solid var(--line); }
    .kpi:nth-child(-n+2) { border-top: 0; }
    .kpi:nth-child(even) { border-left: 1px solid var(--line) !important; }
    .today { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .today > div { padding-left: 0 !important; border-left: 0 !important; }
    .stat { padding-left: 0; border-left: 0; }
    .sev-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-grid.four { grid-template-columns: 1fr; }
    .env-row { grid-template-columns: 14px 1fr; }
    .env-row b { grid-column: 2; }
}
.office-main .stats { border-bottom: 0; padding-bottom: 4px; }
.tabs.line + .form-section, .tabs.line + div > .form-section:first-child { border-top: 0; padding-top: 4px; }
@media (max-width: 600px) { .wrap.section { padding-top: 40px; padding-bottom: 40px; } .wrap.page { padding-top: 40px; padding-bottom: 72px; } .wrap.hero { padding-top: 64px; padding-bottom: 40px; } }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } @media (max-width: 600px) { .form-grid.three { grid-template-columns: 1fr; } }
.pay-to { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; margin-bottom: 10px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line-2); }
.pay-to span { display: block; font-size: 12.5px; color: var(--dim); }
.pay-to b { font-size: 20px; font-weight: 600; letter-spacing: .02em; }
