@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #07090e;
  --bg-soft: #0b0f17;
  --panel: #0e141e;
  --panel-2: #121a27;
  --panel-3: #172233;
  --line: #27364a;
  --line-bright: #3c506a;
  --text: #f4f7fb;
  --muted: #91a0b4;
  --dim: #637187;
  --amber: #ffc548;
  --amber-deep: #ef8f11;
  --cyan: #65e3ff;
  --violet: #b997ff;
  --pink: #ff799d;
  --green: #4de3b0;
  --red: #ff6c72;
  --shadow: 0 24px 80px rgba(0, 0, 0, .36);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --radius-sm: 10px;
  --font-display: 'Space Grotesk', Inter, ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'DM Mono', 'SFMono-Regular', Consolas, monospace;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; overflow-x: hidden; color: var(--text); background: var(--bg); font-family: var(--font-display); font-size: 16px; line-height: 1.5; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; }
a { color: inherit; text-decoration: none; }
::selection { color: #0a0d12; background: var(--amber); }

.ambient, .grid-overlay { position: fixed; inset: 0; pointer-events: none; z-index: -2; }
.ambient-one { background: radial-gradient(circle at 7% 12%, rgba(255, 183, 48, .13), transparent 25%), radial-gradient(circle at 89% 5%, rgba(101, 227, 255, .09), transparent 21%); }
.ambient-two { background: radial-gradient(circle at 78% 75%, rgba(185, 151, 255, .09), transparent 25%), radial-gradient(circle at 22% 88%, rgba(255, 121, 157, .07), transparent 24%); }
.grid-overlay { z-index: -1; opacity: .28; background-image: linear-gradient(rgba(122, 150, 181, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(122, 150, 181, .08) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, black, transparent 87%); }
.site-shell { width: min(1440px, 100%); margin: 0 auto; padding: 0 34px 38px; }

.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 34px; min-height: 86px; border-bottom: 1px solid rgba(64, 83, 109, .3); background: rgba(7, 9, 14, .82); backdrop-filter: blur(22px); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 211, 93, .78); border-radius: 14px 8px 14px 8px; color: #0a0d12; background: linear-gradient(140deg, #ffe278, #f39b0d); box-shadow: 0 0 28px rgba(255, 184, 48, .2); font-size: 13px; font-weight: 800; letter-spacing: -.07em; transform: rotate(-3deg); }
.brand-mark span { transform: rotate(3deg); }
.brand-copy { display: grid; gap: 0; }
.brand-copy strong { font-size: 15px; letter-spacing: .14em; line-height: 1.1; }
.brand-copy strong em, .site-footer em { color: var(--amber); font-style: normal; }
.brand-copy small { color: var(--muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: .09em; }
.desktop-nav { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.nav-link, .text-button { border: 0; color: var(--muted); background: transparent; }
.nav-link { position: relative; padding: 10px 13px; font-size: 14px; font-weight: 600; }
.nav-link::after { position: absolute; right: 13px; bottom: 2px; left: 13px; height: 2px; border-radius: 2px; background: var(--amber); content: ''; opacity: 0; transform: scaleX(.3); transition: .2s ease; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after { opacity: 1; transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.icon-button, .account-button { border: 1px solid var(--line); color: var(--text); background: rgba(17, 26, 39, .72); transition: border-color .2s, background .2s, transform .2s; }
.icon-button:hover, .account-button:hover { border-color: var(--line-bright); background: var(--panel-3); transform: translateY(-1px); }
.icon-button { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; font-size: 25px; }
.bell-icon { color: var(--cyan); line-height: 1; }
.icon-button i, .mobile-nav-item i { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 13px var(--pink); }
.account-button { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 5px 10px 5px 5px; border-radius: 13px; font-size: 13px; font-weight: 600; }
.account-button b { color: var(--dim); font-size: 15px; font-weight: 400; }
.account-avatar, .big-avatar { display: grid; place-items: center; border-radius: 11px; color: #11151c; background: linear-gradient(135deg, var(--amber), var(--amber-deep)); font-weight: 800; }
.account-avatar { width: 30px; height: 30px; font-size: 12px; }
.mobile-nav { display: none; }

.screen { display: none; padding: 48px 0 28px; animation: screen-in .34s ease both; }
.screen.active { display: block; }
@keyframes screen-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.eyebrow-slash { color: var(--dim); }
.pulse-dot, .live-status i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.045em; }
h1 { margin-bottom: 16px; font-size: clamp(45px, 6vw, 78px); line-height: .98; }
h2 { margin-bottom: 10px; font-size: clamp(25px, 3vw, 38px); line-height: 1.05; }
h3 { font-size: 20px; line-height: 1.15; }
p { color: var(--muted); }

.market-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(330px, .93fr); min-height: 475px; overflow: hidden; border: 1px solid rgba(80, 103, 135, .52); border-radius: var(--radius-xl); background: linear-gradient(110deg, rgba(16, 24, 37, .92), rgba(10, 14, 23, .8)); box-shadow: var(--shadow); }
.market-hero::before { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 0 53%, rgba(255, 197, 72, .06) 53%, transparent 72%), repeating-linear-gradient(118deg, transparent 0 22px, rgba(92, 126, 166, .05) 23px, transparent 24px); content: ''; pointer-events: none; }
.hero-content { position: relative; z-index: 1; align-self: center; max-width: 700px; padding: 54px clamp(28px, 6vw, 78px); }
.hero-content h1 { margin-top: 25px; }
.hero-content h1 em { color: var(--amber); font-style: normal; text-shadow: 0 0 36px rgba(255, 197, 72, .25); }
.hero-content p { max-width: 570px; margin-bottom: 28px; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; }
.hero-proof span { display: grid; gap: 2px; }
.hero-proof b { color: var(--cyan); font-family: var(--font-mono); font-size: 12px; font-weight: 500; }
.hero-proof small { color: var(--muted); font-size: 13px; }
.hero-art { position: relative; min-height: 420px; overflow: hidden; }
.hero-art::before, .hero-art::after { position: absolute; border: 1px solid rgba(101, 227, 255, .16); border-radius: 50%; content: ''; }
.hero-art::before { inset: 17% 10% 11% 12%; transform: rotate(-17deg); }
.hero-art::after { inset: 9% 23% 24% 26%; border-color: rgba(255, 197, 72, .19); transform: rotate(44deg); }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid; border-radius: 50%; transform: translate(-50%, -50%) rotate(-25deg); }
.orbit-a { width: 340px; height: 210px; border-color: rgba(255, 197, 72, .66); box-shadow: 0 0 25px rgba(255, 197, 72, .08); }
.orbit-b { width: 260px; height: 390px; border-color: rgba(101, 227, 255, .35); transform: translate(-50%, -50%) rotate(35deg); }
.orbit-c { width: 410px; height: 410px; border-color: rgba(185, 151, 255, .18); transform: translate(-50%, -50%) rotate(68deg); }
.target-core { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 126px; height: 126px; border: 1px solid rgba(255, 197, 72, .75); border-radius: 50%; background: rgba(9, 14, 22, .78); box-shadow: 0 0 0 8px rgba(255, 197, 72, .05), 0 0 60px rgba(255, 197, 72, .22); transform: translate(-50%, -50%); }
.core-mark { color: var(--amber); font-size: 30px; font-weight: 800; letter-spacing: -.1em; }
.core-line { width: 40px; height: 1px; background: var(--cyan); }
.target-core small { color: var(--muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; line-height: 1.2; text-align: center; }
.art-chip { position: absolute; padding: 7px 10px; border: 1px solid rgba(112, 141, 176, .6); border-radius: 7px; color: var(--muted); background: rgba(11, 17, 27, .86); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; line-height: 1.35; }
.art-chip b { color: var(--text); font-weight: 500; }
.chip-top { top: 17%; left: 20%; color: var(--cyan); }
.chip-right { top: 49%; right: 8%; color: var(--pink); }
.chip-bottom { right: 20%; bottom: 15%; color: var(--green); }
.art-cross { position: absolute; color: var(--amber); font-family: var(--font-mono); font-size: 24px; }
.cross-one { top: 23%; right: 25%; }
.cross-two { bottom: 27%; left: 17%; color: var(--cyan); }

.market-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 72px 0 22px; }
.market-toolbar h2 { margin: 8px 0 0; }
.toolbar-meta { display: flex; align-items: center; gap: 12px; color: var(--dim); font-family: var(--font-mono); font-size: 12px; }
.live-status { display: inline-flex; align-items: center; gap: 7px; color: var(--green); }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.search-field { display: flex; align-items: center; gap: 13px; min-height: 58px; padding: 0 17px; border: 1px solid var(--line); border-radius: 16px; background: rgba(13, 20, 31, .84); transition: border-color .2s, box-shadow .2s; }
.search-field:focus-within { border-color: rgba(101, 227, 255, .75); box-shadow: 0 0 0 4px rgba(101, 227, 255, .08); }
.search-field > span { color: var(--cyan); font-size: 30px; line-height: 0; transform: rotate(-20deg); }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 16px; }
.search-field input::placeholder { color: var(--dim); }
.search-field button { border: 0; color: var(--dim); background: transparent; font-size: 28px; line-height: 1; }
.search-field button:hover { color: var(--text); }
.filter-button, .ghost-button, .primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 18px; border-radius: 13px; font-weight: 700; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.filter-button { min-height: 58px; border: 1px solid var(--line); color: var(--text); background: rgba(13, 20, 31, .84); }
.filter-button span:first-child { color: var(--cyan); font-size: 21px; }
.filter-button:hover, .ghost-button:hover, .secondary-button:hover { border-color: var(--line-bright); background: var(--panel-3); transform: translateY(-2px); }
.primary-button { border: 1px solid rgba(255, 212, 101, .84); color: #0d1117; background: linear-gradient(135deg, #ffd55d, #f29a0b); box-shadow: 0 10px 30px rgba(242, 154, 11, .16); }
.primary-button:hover { box-shadow: 0 14px 35px rgba(242, 154, 11, .26); transform: translateY(-2px); }
.ghost-button { border: 1px solid var(--line); color: var(--text); background: transparent; }
.secondary-button { border: 1px solid var(--line); color: var(--text); background: rgba(24, 35, 51, .72); }
.button-arrow { font-size: 20px; line-height: 1; }
.full { width: 100%; }
.category-tabs { display: flex; gap: 9px; margin: 18px 0 27px; overflow-x: auto; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(13, 20, 31, .6); font-size: 14px; font-weight: 600; white-space: nowrap; transition: .2s ease; }
.category-tab > span:first-child { color: var(--dim); font-size: 18px; }
.category-tab:hover { border-color: var(--line-bright); color: var(--text); }
.category-tab.active { border-color: rgba(255, 197, 72, .72); color: #11151a; background: var(--amber); box-shadow: 0 0 24px rgba(255, 197, 72, .14); }
.category-tab.active > span:first-child { color: #11151a; }

.paid-ad-slot { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 17px; margin: 0 0 18px; padding: 17px 20px; overflow: hidden; border: 1px solid rgba(194, 252, 58, .72); border-radius: 17px; background: linear-gradient(100deg, rgba(146, 201, 35, .16), rgba(13, 20, 31, .9) 35%); box-shadow: 0 0 34px rgba(166, 240, 52, .06); }
.paid-ad-slot::after { position: absolute; top: -30px; right: 13%; width: 160px; height: 160px; border: 1px solid rgba(194, 252, 58, .28); border-radius: 50%; content: ''; }
.ad-badge { align-self: start; padding: 6px 9px; border-radius: 6px; color: #172008; background: #c2fc3a; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.ad-copy { position: relative; z-index: 1; min-width: 0; }
.ad-copy strong, .ad-copy small { display: block; }
.ad-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; }
.ad-copy small { margin-top: 3px; color: var(--muted); font-size: 13px; }
.ad-price { position: relative; z-index: 1; color: #d4ff78; font-family: var(--font-mono); font-size: 18px; font-weight: 500; white-space: nowrap; }
.listing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.listing-card { position: relative; display: flex; min-height: 265px; flex-direction: column; padding: 23px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(18, 28, 42, .96), rgba(10, 15, 24, .95)); box-shadow: 0 14px 35px rgba(0, 0, 0, .16); transition: border-color .2s, transform .2s, box-shadow .2s; }
.listing-card::before { position: absolute; top: -50px; right: -30px; width: 180px; height: 180px; border: 1px solid rgba(101, 227, 255, .1); border-radius: 50%; content: ''; }
.listing-card:hover { border-color: rgba(101, 227, 255, .62); box-shadow: 0 18px 42px rgba(0, 0, 0, .32), 0 0 28px rgba(101, 227, 255, .06); transform: translateY(-4px); }
.listing-card.paid { border-color: rgba(194, 252, 58, .72); }
.card-topline, .card-footer, .seller-line, .card-actions { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-topline { min-height: 26px; }
.listing-type { color: var(--cyan); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.listing-card.paid .listing-type { color: #d4ff78; }
.card-tag { padding: 4px 7px; border-radius: 5px; color: #e0b6ff; background: rgba(185, 151, 255, .12); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.card-tag.paid-tag { color: #172008; background: #c2fc3a; }
.listing-card h3 { position: relative; z-index: 1; max-width: 90%; margin: 19px 0 8px; font-size: clamp(19px, 2.2vw, 24px); }
.listing-description { position: relative; z-index: 1; display: -webkit-box; min-height: 48px; margin-bottom: 20px; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.listing-meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 19px; }
.meta-pill { padding: 5px 8px; border: 1px solid rgba(70, 93, 122, .6); border-radius: 6px; color: var(--muted); background: rgba(5, 8, 13, .36); font-size: 12px; }
.meta-pill.access { color: var(--green); border-color: rgba(77, 227, 176, .3); background: rgba(77, 227, 176, .08); }
.card-footer { align-items: end; margin-top: auto; padding-top: 17px; border-top: 1px solid rgba(55, 74, 99, .45); }
.seller-line { justify-content: start; color: var(--muted); font-size: 13px; }
.seller-avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #0b1118; background: linear-gradient(135deg, var(--cyan), #3389e5); font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.verified-mark { color: var(--green); font-size: 16px; }
.seller-label { display: grid; gap: 0; }
.seller-label small { color: var(--dim); font-size: 12px; }
.price { color: var(--amber); font-family: var(--font-mono); font-size: 22px; font-weight: 500; white-space: nowrap; }
.card-actions { justify-content: start; margin-top: 17px; }
.card-actions button { min-height: 38px; padding: 0 12px; border-radius: 9px; font-size: 13px; }
.card-actions .secondary-button { flex: 1; }
.card-actions .card-order { flex: 1.25; }
.inline-state { margin: 14px 0; padding: 34px 20px; border: 1px dashed var(--line-bright); border-radius: var(--radius-md); color: var(--muted); background: rgba(13, 20, 31, .65); text-align: center; }
.inline-state strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 18px; }
.inline-state button { margin-top: 15px; }
.error-state { border-color: rgba(255, 108, 114, .5); color: #ffb3b7; background: rgba(89, 21, 35, .24); }

.page-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.page-intro p { max-width: 680px; margin-bottom: 0; font-size: 17px; line-height: 1.7; }
.compact-intro { align-items: start; }
.compact-intro h1 { max-width: 760px; margin-top: 14px; }
.section-stamp { padding: 9px 12px; border: 1px solid rgba(101, 227, 255, .5); border-radius: 8px; color: var(--cyan); font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; white-space: nowrap; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.process-card { position: relative; min-height: 260px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(14, 20, 30, .82); }
.process-card::after { position: absolute; right: -54px; bottom: -70px; width: 150px; height: 150px; border: 1px solid rgba(255, 197, 72, .18); border-radius: 50%; content: ''; }
.process-card.accent-cyan { border-color: rgba(101, 227, 255, .38); }
.process-card.accent-violet { border-color: rgba(185, 151, 255, .4); }
.process-card.accent-green { border-color: rgba(77, 227, 176, .4); }
.process-number { color: var(--amber); font-family: var(--font-mono); font-size: 12px; }
.process-icon { display: grid; place-items: center; width: 45px; height: 45px; margin: 38px 0 24px; border: 1px solid rgba(255, 197, 72, .42); border-radius: 13px; color: var(--amber); font-size: 25px; }
.accent-cyan .process-icon { border-color: rgba(101, 227, 255, .45); color: var(--cyan); }
.accent-violet .process-icon { border-color: rgba(185, 151, 255, .45); color: var(--violet); }
.accent-green .process-icon { border-color: rgba(77, 227, 176, .45); color: var(--green); }
.process-card h2 { margin-bottom: 10px; font-size: 21px; }
.process-card p { position: relative; z-index: 1; margin-bottom: 0; font-size: 14px; line-height: 1.65; }
.safety-panel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; margin-top: 26px; padding: 24px 26px; border: 1px solid rgba(255, 121, 157, .44); border-radius: var(--radius-lg); background: linear-gradient(100deg, rgba(89, 28, 53, .25), rgba(14, 20, 30, .82)); }
.safety-symbol { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #190b12; background: var(--pink); font-size: 26px; font-weight: 800; }
.safety-panel h2 { margin: 8px 0 7px; font-size: 23px; }
.safety-panel p { max-width: 720px; margin-bottom: 0; font-size: 14px; }

.private-screen { min-height: 660px; }
.stat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat-card { padding: 19px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(14, 20, 30, .8); }
.stat-card small { display: block; color: var(--dim); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.stat-card strong { display: block; margin-top: 6px; color: var(--amber); font-size: 28px; }
.stat-card:nth-child(2) strong { color: var(--green); }
.stat-card:nth-child(3) strong { color: var(--violet); }
.orders-list { display: grid; gap: 12px; }
.order-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(100deg, rgba(17, 27, 42, .9), rgba(11, 16, 25, .88)); }
.order-head, .order-bottom, .order-status { display: flex; align-items: center; gap: 12px; }
.order-head { justify-content: space-between; gap: 18px; }
.order-head h3 { margin: 0; font-size: 19px; }
.order-id { color: var(--dim); font-family: var(--font-mono); font-size: 12px; }
.order-bottom { margin-top: 17px; color: var(--muted); font-size: 13px; }
.order-bottom span + span { padding-left: 12px; border-left: 1px solid var(--line); }
.status-pill { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; color: var(--amber); background: rgba(255, 197, 72, .12); font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; white-space: nowrap; }
.status-pill.paid, .status-pill.completed { color: var(--green); background: rgba(77, 227, 176, .12); }
.status-pill.failed, .status-pill.cancelled, .status-pill.refunded { color: var(--pink); background: rgba(255, 121, 157, .12); }
.order-price { display: grid; justify-items: end; gap: 12px; }
.order-price strong { color: var(--amber); font-family: var(--font-mono); font-size: 24px; font-weight: 500; }
.order-price button { min-height: 38px; padding: 0 12px; font-size: 13px; }

.seller-rules-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.seller-rules-grid article { min-height: 160px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(14, 20, 30, .8); }
.seller-rules-grid article.rule-highlight { border-color: rgba(101, 227, 255, .52); background: linear-gradient(145deg, rgba(20, 50, 67, .55), rgba(14, 20, 30, .88)); }
.rule-value { display: block; margin-bottom: 10px; color: var(--amber); font-family: var(--font-mono); font-size: 30px; }
.rule-highlight .rule-value { color: var(--cyan); }
.seller-rules-grid strong { display: block; font-size: 16px; }
.seller-rules-grid p { margin: 5px 0 0; font-size: 13px; line-height: 1.5; }
.application-form, .profile-panel { padding: clamp(22px, 4vw, 35px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(14, 20, 30, .86); box-shadow: 0 18px 50px rgba(0, 0, 0, .15); }
.form-heading { margin-bottom: 25px; }
.form-heading h2 { margin: 10px 0 7px; font-size: 28px; }
.form-heading p { margin-bottom: 0; font-size: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: grid; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
input, textarea, select { width: 100%; min-height: 49px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; outline: none; color: var(--text); background: rgba(7, 11, 18, .72); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 125px; padding-top: 13px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; }
input:focus, textarea:focus, select:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(101, 227, 255, .09); }
.application-form > label { margin-top: 16px; }
.checkbox-row { display: flex; grid-template-columns: none; align-items: start; gap: 10px; margin: 20px 0 23px; color: var(--muted); font-size: 13px; font-weight: 400; }
.checkbox-row input { flex: 0 0 auto; width: 18px; min-height: 18px; accent-color: var(--amber); }
.application-state { padding: 26px; border: 1px solid rgba(77, 227, 176, .42); border-radius: var(--radius-lg); background: rgba(26, 86, 72, .16); }
.application-state.pending { border-color: rgba(255, 197, 72, .48); background: rgba(96, 69, 22, .18); }
.application-state.rejected { border-color: rgba(255, 121, 157, .48); background: rgba(90, 24, 50, .2); }
.application-state h2 { margin: 9px 0 7px; font-size: 25px; }
.application-state p { margin-bottom: 0; font-size: 14px; }
.application-state .application-data { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 21px; }
.application-data div { padding-top: 12px; border-top: 1px solid rgba(79, 110, 143, .3); }
.application-data small, .application-data strong { display: block; }
.application-data small { color: var(--dim); font-size: 12px; }
.application-data strong { margin-top: 4px; color: var(--text); font-size: 14px; }

.settings-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(270px, .9fr); gap: 15px; }
.profile-panel-head { display: flex; align-items: center; gap: 15px; margin-bottom: 27px; }
.big-avatar { width: 62px; height: 62px; border-radius: 18px; font-size: 23px; }
.profile-panel-head h2 { margin: 7px 0 2px; font-size: 24px; }
.profile-panel-head p { margin: 0; font-family: var(--font-mono); font-size: 13px; }
.profile-panel form { display: grid; gap: 15px; }
.settings-side { display: grid; align-content: start; gap: 11px; }
.settings-action { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; min-height: 76px; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--text); background: rgba(14, 20, 30, .83); text-align: left; transition: .2s ease; }
.settings-action:hover { border-color: var(--line-bright); background: var(--panel-2); transform: translateY(-2px); }
.settings-action strong, .settings-action small { display: block; }
.settings-action strong { font-size: 15px; }
.settings-action small { margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 400; }
.settings-action b { color: var(--dim); font-size: 21px; font-weight: 400; }
.settings-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--cyan); background: rgba(101, 227, 255, .1); font-size: 22px; }
.logout-action { border-color: rgba(255, 121, 157, .35); }
.logout-action .settings-icon, .logout-action b { color: var(--pink); }
.independent-note { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 17px; border: 1px solid rgba(67, 87, 113, .45); border-radius: var(--radius-md); background: rgba(9, 13, 20, .55); }
.independent-note > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #0d1117; background: var(--amber); font-size: 12px; font-weight: 800; }
.independent-note p { margin: 0; font-size: 13px; }
.independent-note strong { color: var(--text); }

.site-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(64, 83, 109, .3); color: var(--dim); font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; }

#modal-root { position: relative; z-index: 50; }
.modal-backdrop { position: fixed; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(2, 4, 8, .76); backdrop-filter: blur(10px); animation: fade-in .2s ease both; }
.modal { position: relative; width: min(570px, 100%); max-height: min(90vh, 760px); overflow: auto; padding: 31px; border: 1px solid var(--line-bright); border-radius: 25px; background: linear-gradient(145deg, #121b29, #0a0f17); box-shadow: 0 30px 110px rgba(0, 0, 0, .62); animation: modal-in .24s ease both; }
.modal.wide { width: min(760px, 100%); }
.modal::before { position: absolute; top: 0; right: 25px; left: 25px; height: 1px; background: linear-gradient(90deg, transparent, var(--amber), transparent); content: ''; }
.modal-close-x { position: absolute; top: 14px; right: 17px; display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: rgba(11, 17, 27, .78); font-size: 21px; }
.modal-close-x:hover { color: var(--text); border-color: var(--line-bright); }
.modal h2 { margin: 7px 38px 10px 0; font-size: 30px; }
.modal > p { margin-bottom: 21px; font-size: 14px; line-height: 1.65; }
.modal .eyebrow { margin-bottom: 5px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.modal-actions > * { flex: 1; min-width: 135px; }
.modal .primary-button, .modal .secondary-button { min-height: 49px; }
.auth-modal { width: min(505px, 100%); }
.auth-brand-row { display: flex; align-items: center; gap: 11px; margin-bottom: 25px; }
.auth-brand-row .brand-mark { width: 42px; height: 42px; }
.auth-brand-row strong, .auth-brand-row small { display: block; }
.auth-brand-row strong { font-size: 14px; letter-spacing: .13em; }
.auth-brand-row small { color: var(--muted); font-family: var(--font-mono); font-size: 10px; }
.auth-copy { margin-bottom: 23px !important; }
.auth-form { display: grid; gap: 15px; }
.auth-form button[type=submit] { margin-top: 4px; }
.auth-switch { display: block; width: 100%; margin-top: 18px; padding: 5px; color: var(--cyan); text-align: center; }
.auth-switch:hover { color: var(--text); }
.auth-language { display: flex; justify-content: center; width: 100%; margin-top: 8px; color: var(--dim); font-size: 13px; }
.auth-error { margin-bottom: 16px; padding: 12px 13px; border: 1px solid rgba(255, 108, 114, .45); border-radius: 10px; color: #ffc0c4; background: rgba(110, 25, 40, .23); font-size: 13px; }
.auth-success { margin-bottom: 16px; padding: 12px 13px; border: 1px solid rgba(77, 227, 176, .45); border-radius: 10px; color: #a4f6d7; background: rgba(22, 92, 69, .2); font-size: 13px; }
.listing-detail-top { display: flex; align-items: start; gap: 15px; margin-bottom: 20px; }
.detail-symbol { display: grid; place-items: center; flex: 0 0 auto; width: 56px; height: 56px; border: 1px solid rgba(255, 197, 72, .45); border-radius: 16px; color: var(--amber); background: rgba(255, 197, 72, .1); font-size: 27px; }
.listing-detail-top h2 { margin: 4px 42px 4px 0; font-size: 26px; }
.listing-detail-top p { margin-bottom: 0; font-size: 13px; }
.detail-price-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-price-row strong { color: var(--amber); font-family: var(--font-mono); font-size: 28px; font-weight: 500; }
.detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.detail-fact { padding: 13px; border: 1px solid rgba(61, 83, 111, .55); border-radius: 11px; background: rgba(8, 13, 21, .48); }
.detail-fact small, .detail-fact strong { display: block; }
.detail-fact small { color: var(--dim); font-family: var(--font-mono); font-size: 11px; }
.detail-fact strong { margin-top: 4px; font-size: 14px; }
.detail-safety { margin-top: 17px; padding: 14px; border-left: 2px solid var(--pink); color: var(--muted); background: rgba(255, 121, 157, .06); font-size: 13px; }
.review-box, .payment-method { padding: 19px; border: 1px solid var(--line); border-radius: 15px; background: rgba(7, 11, 18, .62); }
.review-box h3 { margin: 6px 0 7px; }
.review-box p { margin-bottom: 0; font-size: 13px; }
.review-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 17px; }
.review-facts small, .review-facts strong { display: block; }
.review-facts small { color: var(--dim); font-size: 12px; }
.review-facts strong { margin-top: 3px; color: var(--text); font-size: 14px; }
.payment-method { display: flex; align-items: center; gap: 13px; border-color: rgba(255, 197, 72, .6); background: rgba(87, 63, 17, .19); }
.payment-method > div { min-width: 0; flex: 1; }
.payment-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #241c08; background: var(--amber); font-size: 21px; font-weight: 800; }
.payment-method strong, .payment-method small { display: block; }
.payment-method small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.payment-method > b { color: var(--green); font-size: 22px; }
.payment-total { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 21px 0 17px; color: var(--muted); }
.payment-total strong { color: var(--amber); font-family: var(--font-mono); font-size: 28px; font-weight: 500; }
.form-note { padding: 12px 13px; border-left: 2px solid var(--violet); color: var(--muted); background: rgba(185, 151, 255, .07); font-size: 13px !important; }
.modal-alert { margin-top: 14px; padding: 12px 13px; border: 1px solid rgba(255, 108, 114, .5); border-radius: 10px; color: #ffc0c4; background: rgba(110, 25, 40, .24); font-size: 13px; line-height: 1.5; }
.modal-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 15px; padding-top: 13px; border-top: 1px solid rgba(55, 74, 99, .4); }
.danger-button { color: var(--pink) !important; }
.payment-line { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid rgba(55, 74, 99, .4); }
.payment-line:last-child { border-bottom: 0; }
.payment-line small { color: var(--dim); font-size: 12px; }
.payment-line strong { color: var(--text); font-size: 14px; text-align: right; }
.timeline-eyebrow { margin-top: 25px; }
.order-timeline { display: grid; gap: 0; margin-top: 10px; }
.timeline-step { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; min-height: 62px; color: var(--dim); }
.timeline-step::before { position: absolute; top: 28px; bottom: 0; left: 14px; width: 1px; background: var(--line); content: ''; }
.timeline-step:last-child::before { display: none; }
.timeline-step i { position: relative; z-index: 1; display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 50%; color: var(--dim); background: var(--panel); font-style: normal; font-size: 13px; }
.timeline-step.done i { border-color: rgba(77, 227, 176, .65); color: var(--green); }
.timeline-step.active i { border-color: rgba(255, 197, 72, .75); color: var(--amber); }
.timeline-step strong, .timeline-step small { display: block; }
.timeline-step strong { color: var(--text); font-size: 14px; }
.timeline-step small { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.report-options { display: grid; gap: 9px; }
.report-options button { justify-content: start; min-height: 48px; text-align: left; }
.skeleton-card { min-height: 265px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(105deg, rgba(18, 28, 42, .75) 35%, rgba(39, 54, 74, .5) 50%, rgba(18, 28, 42, .75) 65%); background-size: 300% 100%; animation: shimmer 1.5s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.chat-title { display: flex; align-items: center; gap: 14px; padding-right: 28px; }
.chat-title h2 { margin: 5px 0 2px; font-size: 25px; }
.chat-title p { margin: 0; font-size: 13px; }
.chat-thread { display: grid; align-content: start; gap: 10px; min-height: 220px; max-height: 370px; margin-top: 21px; padding: 16px; overflow: auto; border: 1px solid var(--line); border-radius: 15px; background: rgba(5, 9, 15, .7); }
.chat-empty { align-self: center; padding: 55px 10px; color: var(--dim); text-align: center; }
.chat-bubble { max-width: 82%; padding: 10px 13px; border: 1px solid var(--line); border-radius: 13px 13px 13px 4px; background: var(--panel-2); }
.chat-bubble.customer { justify-self: end; border-color: rgba(101, 227, 255, .3); border-radius: 13px 13px 4px 13px; background: rgba(23, 66, 86, .36); }
.chat-bubble small { color: var(--cyan); font-family: var(--font-mono); font-size: 11px; }
.chat-bubble p { margin: 4px 0 0; color: var(--text); font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-compose { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; margin-top: 12px; }
.chat-compose input { min-height: 51px; }
.chat-compose button { width: 52px; border: 1px solid rgba(255, 197, 72, .7); border-radius: 12px; color: #0a0f15; background: var(--amber); font-size: 24px; }
.chat-note { margin: 13px 0 0 !important; color: var(--dim) !important; font-size: 12px !important; }
.notification-list { display: grid; gap: 10px; }
.notification-row { display: flex; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(7, 11, 18, .62); }
.notification-row > span { color: var(--amber); font-size: 18px; }
.notification-row strong, .notification-row small { display: block; }
.notification-row strong { font-size: 14px; }
.notification-row small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.rules-copy { display: grid; gap: 10px; }
.rules-copy p { margin: 0; padding: 13px; border-left: 2px solid var(--amber); background: rgba(255, 197, 72, .06); font-size: 14px; }
.note-form { display: grid; gap: 13px; }

.toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; max-width: min(420px, calc(100vw - 32px)); padding: 13px 16px; border: 1px solid var(--line-bright); border-radius: 12px; color: var(--text); background: rgba(20, 30, 45, .96); box-shadow: var(--shadow); font-size: 14px; opacity: 0; pointer-events: none; transform: translateY(13px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: none; }
.toast.success { border-color: rgba(77, 227, 176, .64); }
.toast.error { border-color: rgba(255, 108, 114, .64); color: #ffd7d9; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  .site-shell { padding-right: 22px; padding-left: 22px; }
  .desktop-nav { gap: 0; }
  .nav-link { padding-right: 9px; padding-left: 9px; }
  .market-hero { grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); }
  .hero-content { padding-right: 35px; padding-left: 35px; }
  .process-grid, .seller-rules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { padding-bottom: 74px; }
  .site-shell { padding: 0 14px 25px; }
  .site-header { position: relative; min-height: 76px; gap: 12px; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy small { font-size: 9px; }
  .brand-mark { width: 39px; height: 39px; border-radius: 12px 7px 12px 7px; }
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .account-button { padding-right: 7px; }
  .account-button b { display: none; }
  .account-button #header-account-label { max-width: 83px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-nav { position: fixed; right: 10px; bottom: 10px; left: 10px; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); min-height: 64px; padding: 5px; border: 1px solid rgba(74, 96, 127, .72); border-radius: 19px; background: rgba(12, 18, 28, .92); box-shadow: 0 12px 45px rgba(0, 0, 0, .5); backdrop-filter: blur(19px); }
  .mobile-nav-item { position: relative; display: grid; place-items: center; gap: 0; border: 0; border-radius: 14px; color: var(--dim); background: transparent; }
  .mobile-nav-item span { font-size: 22px; line-height: 1.1; }
  .mobile-nav-item small { font-size: 11px; }
  .mobile-nav-item.active { color: var(--amber); background: rgba(255, 197, 72, .1); }
  .mobile-nav-item i { top: 5px; right: calc(50% - 18px); }
  .screen { padding-top: 28px; }
  h1 { font-size: clamp(43px, 13vw, 61px); }
  .market-hero { display: block; min-height: 0; border-radius: 23px; }
  .hero-content { padding: 32px 22px 27px; }
  .hero-content p { font-size: 15px; line-height: 1.65; }
  .hero-actions { display: grid; }
  .hero-actions > * { width: 100%; }
  .hero-proof { gap: 13px; margin-top: 29px; justify-content: space-between; }
  .hero-proof small { font-size: 12px; }
  .hero-art { min-height: 260px; border-top: 1px solid rgba(65, 89, 119, .4); }
  .orbit-a { width: 230px; height: 140px; }
  .orbit-b { width: 180px; height: 260px; }
  .orbit-c { width: 280px; height: 280px; }
  .target-core { width: 96px; height: 96px; }
  .core-mark { font-size: 23px; }
  .chip-top { top: 11%; left: 12%; }
  .chip-right { top: 44%; right: 6%; }
  .chip-bottom { right: 15%; bottom: 10%; }
  .market-toolbar { align-items: end; margin-top: 46px; }
  .market-toolbar h2 { font-size: 28px; }
  .toolbar-meta { display: grid; justify-items: end; gap: 3px; font-size: 11px; }
  .search-row { grid-template-columns: 1fr; }
  .filter-button { min-height: 47px; }
  .category-tabs { margin-bottom: 20px; }
  .category-tab { min-height: 40px; padding: 0 12px; font-size: 13px; }
  .paid-ad-slot { grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 13px; }
  .ad-price { grid-column: 2; justify-self: start; font-size: 15px; }
  .listing-grid { grid-template-columns: 1fr; }
  .listing-card { min-height: 250px; padding: 19px; }
  .page-intro { align-items: start; display: grid; gap: 16px; margin-bottom: 26px; }
  .page-intro .ghost-button { width: 100%; }
  .page-intro p { font-size: 15px; }
  .compact-intro { display: flex; }
  .compact-intro .section-stamp { display: none; }
  .process-grid, .seller-rules-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 225px; }
  .process-icon { margin-top: 28px; }
  .safety-panel { grid-template-columns: auto minmax(0, 1fr); padding: 19px; }
  .safety-panel .ghost-button { grid-column: 1 / -1; width: 100%; }
  .stat-strip { gap: 7px; }
  .stat-card { padding: 13px 11px; }
  .stat-card strong { font-size: 22px; }
  .stat-card small { font-size: 10px; letter-spacing: .04em; }
  .order-card { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .order-price { display: flex; align-items: center; justify-content: space-between; }
  .order-price strong { font-size: 21px; }
  .order-head { align-items: start; display: grid; gap: 9px; }
  .order-bottom { flex-wrap: wrap; gap: 8px; }
  .order-bottom span + span { padding-left: 8px; }
  .application-state .application-data { grid-template-columns: 1fr; }
  .form-grid, .settings-layout { grid-template-columns: 1fr; }
  .application-form { padding: 21px 17px; }
  .site-footer { display: grid; gap: 7px; margin-bottom: 15px; font-size: 10px; }
  .modal-backdrop { align-items: end; padding: 0; }
  .modal { width: 100%; max-height: 92vh; padding: 27px 18px 22px; border-right: 0; border-bottom: 0; border-left: 0; border-radius: 23px 23px 0 0; }
  .modal h2 { font-size: 27px; }
  .detail-facts, .review-facts { grid-template-columns: 1fr; }
  .modal-actions { display: grid; }
  .modal-actions > * { width: 100%; }
  .toast { right: 16px; bottom: 88px; left: 16px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
