:root {
  --ink: #f4f1eb;
  --muted: #a9a49c;
  --deep: #090909;
  --surface: #141414;
  --surface-2: #202020;
  --line: #383838;
  --primary: #f4f1eb;
  --primary-ink: #090909;
  --accent: #d1a36b;
  --accent-soft: rgba(209, 163, 107, .12);
  --accent-line: rgba(209, 163, 107, .42);
  --accent-glow: rgba(209, 163, 107, .2);
  --primary-soft: rgba(244, 241, 235, .12);
  --primary-line: rgba(244, 241, 235, .35);
  --master: #e4bd88;
  --master-soft: rgba(228, 189, 136, .1);
  --master-line: rgba(228, 189, 136, .45);
  --danger: #ef927d;
  --shadow: 0 18px 50px rgba(0, 0, 0, .35);
  --backdrop: rgba(0, 0, 0, .78);
  --radius: 18px;
  --small-radius: 10px;
  --space: 1rem;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[hidden] { display: none !important; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--deep); font-family: var(--font-body); line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, label, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.app-frame { width: min(1180px, 100%); margin: auto; min-height: 100vh; padding: 24px; }
.gate { width: min(560px, 100%); min-height: calc(100vh - 48px); margin: auto; display: flex; flex-direction: column; justify-content: center; padding: 28px 0; }
.gate-mark { width: 80px; height: 80px; position: relative; margin-bottom: 26px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); overflow: hidden; }
.gate-mark::before, .gate-mark::after { content: ''; position: absolute; inset: 12px; border: 1px solid var(--accent); border-radius: 50%; opacity: .55; }
.gate-mark::after { inset: 27px; border-color: var(--primary); }
.gate-mark span { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; background: var(--primary); border-radius: 50%; transform: translate(-50%, -50%); }
.gate-mark span:nth-child(2) { transform: translate(15px, -20px); background: var(--accent); }
.gate-mark span:nth-child(3) { transform: translate(-23px, 12px); background: var(--muted); }
.eyebrow, .brand-kicker { margin: 0 0 8px; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.025em; }
.gate h1 { margin-bottom: 14px; font-size: clamp(2.8rem, 9vw, 5.6rem); line-height: .92; }
.lede { max-width: 48ch; color: var(--muted); font-size: 1.12rem; }
.access-switch { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 24px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.access-tab { min-height: 44px; border: 0; border-radius: 999px; padding: 9px 13px; background: transparent; color: var(--muted); font-weight: 800; }
.access-tab:hover, .access-tab.is-active { background: var(--surface-2); color: var(--ink); }
.access-tab.is-active { box-shadow: inset 0 0 0 1px var(--line); }
.access-card { margin-top: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.access-card h2 { margin-bottom: 8px; font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 500; line-height: 1; }
.access-copy { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.admin-access-card { border-color: var(--master-line); }
.admin-access-card .eyebrow { color: var(--master); }
.stack-form { display: grid; gap: 10px; margin-top: 28px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
label { color: var(--ink); font-size: .88rem; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--small-radius); background: var(--deep); color: var(--ink); padding: 12px 13px; }
textarea { resize: vertical; min-height: 84px; }
.field-hint, .privacy-note, .section-subtitle, .scope-caption { color: var(--muted); font-size: .85rem; }
.form-status { min-height: 24px; margin: 12px 0 0; color: var(--danger); }
.privacy-note { margin-top: 14px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0; }
.check-row input { width: 18px; min-width: 18px; height: 18px; accent-color: var(--accent); }
.button { min-height: 44px; border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 800; transition: transform .18s ease, background .18s ease, opacity .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .55; transform: none; }
.button-primary { background: var(--primary); color: var(--primary-ink); }
.button-secondary { border: 1px solid var(--accent); background: transparent; color: var(--ink); }
.button-small { min-height: 38px; padding: 8px 14px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); }
.app-shell { padding: 12px 0 28px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 0 22px; }
.topbar h1 { margin: 0; font-size: 1.7rem; }
.session-chip, .live-badge { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: var(--muted); font-size: .78rem; white-space: nowrap; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.chip-divider { color: var(--line); }
.main-nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.nav-button { min-height: 42px; border: 1px solid transparent; border-radius: 999px; padding: 8px 15px; background: transparent; color: var(--muted); font-weight: 800; white-space: nowrap; }
.nav-button:hover, .nav-button.is-active { border-color: var(--line); background: var(--surface); color: var(--ink); }
.panel { padding: 34px 0; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.section-heading h2 { margin-bottom: 8px; font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1; }
.section-subtitle { max-width: 60ch; margin-bottom: 0; }
.live-badge { color: var(--accent); border-color: var(--accent-line); }
.radar-layout, .support-layout, .admin-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.radar-card, .presence-panel, .location-card, .post-composer, .support-compose, .support-note, .admin-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.radar-card { min-height: 420px; display: grid; place-items: center; padding: 28px; }
.radar-scope { position: relative; width: min(70vw, 370px); aspect-ratio: 1; border: 1px solid var(--accent-line); border-radius: 50%; overflow: hidden; background: radial-gradient(circle, var(--accent-soft), transparent 65%), repeating-linear-gradient(0deg, transparent 0 24px, var(--accent-soft) 25px 26px), repeating-linear-gradient(90deg, transparent 0 24px, var(--accent-soft) 25px 26px); }
.radar-ring { position: absolute; inset: 14%; border: 1px solid var(--accent-line); border-radius: 50%; }
.ring-two { inset: 30%; }
.ring-three { inset: 45%; }
.radar-sweep { position: absolute; inset: -8%; background: conic-gradient(from 0deg, transparent 0 82%, var(--primary-line) 93%, transparent 96%); animation: sweep 4s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-crosshair::before, .radar-crosshair::after { content: ''; position: absolute; background: var(--accent-line); }
.radar-crosshair::before { left: 50%; top: 0; width: 1px; height: 100%; }
.radar-crosshair::after { top: 50%; left: 0; width: 100%; height: 1px; }
.radar-dot { position: absolute; z-index: 2; width: 13px; height: 13px; border: 2px solid var(--deep); border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft), 0 0 20px var(--primary); transform: translate(-50%, -50%); }
.radar-dot.self { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft), 0 0 20px var(--accent); }
.scope-caption { margin: 18px 0 0; text-align: center; }
.presence-panel { padding: 22px; }
.card-title-row, .feed-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-title-row h3, .feed-heading h3 { margin-bottom: 0; font-size: 1.1rem; }
.count-pill { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 99px; background: var(--primary); color: var(--primary-ink); font-size: .78rem; font-weight: 900; }
.presence-list, .member-list, .alert-list, .message-list { display: grid; gap: 10px; margin-top: 16px; }
.presence-item, .member-item, .alert-item, .message-item { padding: 13px; border: 1px solid var(--line); border-radius: var(--small-radius); background: var(--surface-2); }
.presence-item { display: flex; align-items: center; gap: 11px; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--deep); font-weight: 900; }
.presence-item strong, .member-item strong { display: block; }
.presence-meta, .message-meta { color: var(--muted); font-size: .76rem; }
.location-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; margin-top: 16px; padding: 22px; }
.location-card h3 { margin-bottom: 7px; }
.location-form { display: grid; gap: 9px; }
.notice { display: flex; gap: 10px; margin-top: 16px; padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--surface); color: var(--muted); font-size: .86rem; }
.notice strong { color: var(--ink); white-space: nowrap; }
.post-composer, .support-compose, .support-note { padding: 22px; }
.post-composer { display: grid; gap: 10px; margin-bottom: 30px; }
.post-composer .card-title-row span { color: var(--accent); font-size: .8rem; font-weight: 800; }
.upload-row, .media-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
#post-image, #chat-media, #support-media { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload-button { display: inline-flex; align-items: center; min-height: 42px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: var(--surface-2); }
.feed-heading { margin-bottom: 14px; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.post-image { display: block; width: 100%; aspect-ratio: 1.25; object-fit: cover; background: var(--surface-2); }
.post-copy { padding: 16px; }
.post-copy h3 { margin-bottom: 7px; font-size: 1rem; }
.post-copy p { margin-bottom: 12px; color: var(--muted); font-size: .9rem; white-space: pre-wrap; }
.post-byline { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .75rem; }
.card-actions { display: flex; gap: 8px; margin-top: 14px; }
.text-button { border: 0; padding: 0; background: transparent; color: var(--accent); font-weight: 800; }
.text-button.danger { color: var(--danger); }
.text-button:disabled { cursor: not-allowed; opacity: .45; }
.empty-state { padding: 34px 20px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.empty-state h3 { margin-bottom: 5px; }
.empty-state p { margin: 0; color: var(--muted); }
.store-badge { color: var(--master); border-color: var(--master-line); }
.store-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 16px; align-items: start; }
.store-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.store-filter { min-height: 42px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; background: var(--surface); color: var(--muted); font-weight: 800; }
.store-filter:hover, .store-filter.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product-card { overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.product-mark { display: grid; place-items: center; min-height: 112px; padding: 18px; color: var(--deep); font-size: .72rem; font-weight: 900; letter-spacing: .18em; }
.product-mark.spun { background: linear-gradient(135deg, var(--accent), var(--master)); }
.product-mark.poppers { background: linear-gradient(135deg, var(--primary), var(--muted)); }
.product-copy { display: grid; gap: 8px; padding: 16px; }
.product-category { margin: 0; color: var(--accent); font-size: .68rem; font-weight: 900; letter-spacing: .14em; }
.product-copy h3 { margin: 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; line-height: 1.05; }
.product-copy > p:not(.product-category) { min-height: 44px; margin: 0; color: var(--muted); font-size: .83rem; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.product-price { color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; }
.product-add { white-space: nowrap; }
.cart-card { position: sticky; top: 16px; padding: 20px; border: 1px solid var(--accent-line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.cart-list { display: grid; gap: 10px; min-height: 70px; margin: 16px 0; }
.cart-item { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: var(--small-radius); background: var(--surface-2); }
.cart-item strong { display: block; font-size: .86rem; }
.cart-item-price { display: block; margin-top: 3px; color: var(--muted); font-size: .76rem; }
.cart-controls { display: flex; align-items: center; gap: 8px; }
.step-button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--deep); color: var(--ink); font-weight: 900; }
.step-button:hover { border-color: var(--accent); color: var(--accent); }
.cart-remove { margin-left: auto; font-size: .76rem; }
.cart-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); }
.cart-total strong { color: var(--ink); font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; }
.cart-card .button, .cart-card .text-button { width: 100%; }
.cart-card .text-button { margin-top: 13px; }
.store-note { margin: 18px 0 0; color: var(--muted); font-size: .75rem; }
.btc-checkout { margin-top: 18px; padding: 16px; border: 1px solid var(--accent-line); border-radius: var(--small-radius); background: var(--accent-soft); }
.btc-checkout h3 { margin: 0 0 7px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; }
.btc-checkout > p:not(.eyebrow):not(.field-hint) { margin: 0; color: var(--muted); font-size: .8rem; }
.btc-total-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--accent-line); color: var(--muted); font-size: .8rem; }
.btc-total-row strong { color: var(--ink); font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.btc-address-row { display: grid; gap: 8px; margin-top: 12px; }
.btc-address-row code { display: block; overflow-wrap: anywhere; padding: 10px; border: 1px solid var(--line); border-radius: var(--small-radius); background: var(--deep); color: var(--accent); font-size: .72rem; line-height: 1.45; }
.btc-address-row .button, .btc-checkout > .button { width: 100%; }
.btc-checkout > .button { margin-top: 10px; }
.btc-checkout .field-hint { min-height: 1.2em; margin: 10px 0 0; }
.master-profiles { margin-bottom: 16px; padding: 20px; border: 1px solid var(--master-line); border-radius: var(--radius); background: var(--master-soft); }
.master-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.master-profile { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--small-radius); background: var(--surface); }
.master-profile.is-active { border-color: var(--master); box-shadow: inset 0 0 0 1px var(--master-line); }
.master-profile-mark { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: var(--master); color: var(--deep); font-family: var(--font-display); font-size: 1.3rem; }
.master-profile-copy { min-width: 0; }
.master-profile-copy h4 { margin: 0; font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; }
.master-attribute { display: inline-block; margin-top: 3px; color: var(--master); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.master-profile-copy p { margin: 7px 0 0; color: var(--muted); font-size: .8rem; }
.support-compose h3, .support-note strong { display: block; margin-bottom: 14px; }
.support-compose { display: grid; gap: 10px; }
.support-note { color: var(--muted); }
.support-note p { margin: 0; font-size: .88rem; }
.support-note p + p { margin-top: 12px; color: var(--ink); }
.chat-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 16px; }
.room-card, .chat-card, .master-controls { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.room-card { padding: 20px; }
.room-list { display: grid; gap: 8px; margin-top: 16px; }
.room-button { display: grid; gap: 2px; width: 100%; border: 1px solid transparent; border-radius: var(--small-radius); padding: 12px; text-align: left; background: var(--surface-2); color: var(--muted); }
.room-button strong { color: var(--ink); }
.room-button span { font-size: .76rem; }
.room-button:hover, .room-button.is-active { border-color: var(--master); background: var(--master-soft); }
.room-button.is-active span { color: var(--master); }
.chat-card { min-width: 0; padding: 20px; }
.chat-room-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chat-room-heading h3 { margin: 0; font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; }
.master-chip { border: 1px solid var(--master-line); border-radius: 999px; padding: 6px 10px; color: var(--master); font-size: .76rem; font-weight: 800; }
.chat-messages { display: grid; gap: 10px; max-height: 440px; min-height: 240px; overflow-y: auto; padding: 16px 2px; }
.chat-message { max-width: 88%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; background: var(--surface-2); }
.chat-message.is-own { justify-self: end; border-color: var(--accent-line); border-radius: 14px 14px 4px 14px; }
.chat-message.is-master { border-color: var(--master-line); }
.chat-message-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .72rem; }
.chat-message p { margin: 6px 0 0; white-space: pre-wrap; }
.chat-attachment { display: block; max-width: 100%; max-height: 210px; margin-top: 10px; border-radius: var(--small-radius); object-fit: cover; }
.chat-compose { display: grid; gap: 9px; padding-top: 12px; border-top: 1px solid var(--line); }
.chat-access-note { display: flex; gap: 10px; margin: 0 0 16px; padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--surface); color: var(--muted); font-size: .86rem; }
.chat-access-note strong { color: var(--ink); white-space: nowrap; }
.master-note { display: flex; gap: 10px; margin-top: 16px; padding: 14px 16px; border-left: 3px solid var(--master); background: var(--surface); color: var(--muted); font-size: .86rem; }
.master-note strong { color: var(--ink); white-space: nowrap; }
.master-controls { display: grid; gap: 10px; margin-top: 16px; padding: 20px; }
.master-controls h3 { margin-bottom: 5px; }
.master-controls .eyebrow { color: var(--master); }
.admin-reply-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; margin-top: 16px; padding: 20px; border: 1px solid var(--master-line); border-radius: var(--radius); background: var(--master-soft); }
.admin-reply-panel h3 { margin-bottom: 5px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; }
.admin-reply-panel .eyebrow { color: var(--master); }
.admin-reply-form { display: grid; gap: 9px; }
.message-item { position: relative; }
.message-item.is-own { border-color: var(--accent-line); }
.message-item.is-admin-reply { border-color: var(--master-line); background: var(--master-soft); }
.message-item p { margin: 7px 0 0; white-space: pre-wrap; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.stat-card { padding: 16px; border: 1px solid var(--line); border-radius: var(--small-radius); background: var(--surface); }
.stat-value { display: block; color: var(--accent); font-family: var(--font-display); font-size: 2rem; }
.stat-label { color: var(--muted); font-size: .78rem; }
.admin-card { padding: 20px; }
.alert-item { border-left: 3px solid var(--accent); }
.alert-item.is-read { border-left-color: var(--line); opacity: .7; }
.alert-item p { margin: 6px 0 0; font-size: .86rem; }
.alert-meta { color: var(--muted); font-size: .73rem; }
.app-footer { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.toast { position: fixed; z-index: 10; right: 22px; bottom: 22px; max-width: min(360px, calc(100% - 44px)); padding: 12px 15px; border: 1px solid var(--accent); border-radius: var(--small-radius); background: var(--surface-2); color: var(--ink); box-shadow: var(--shadow); transform: translateY(20px); opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.is-visible { transform: translateY(0); opacity: 1; }
.photo-dialog { width: min(720px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; background: var(--surface); color: var(--ink); }
.photo-dialog::backdrop { background: var(--backdrop); }
.photo-dialog img { display: block; max-width: 100%; max-height: 75vh; margin: auto; object-fit: contain; }
.dialog-close { float: right; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink); font-size: 1.5rem; }
#dialog-caption { margin: 12px 42px 2px 4px; color: var(--muted); }
@media (max-width: 760px) {
  .app-frame { padding: 16px; }
  .topbar, .section-heading { display: block; }
  .session-chip, .live-badge { margin-top: 14px; }
  .radar-layout, .support-layout, .admin-grid, .location-card, .chat-layout, .store-layout, .admin-reply-panel { grid-template-columns: 1fr; }
  .radar-card { min-height: 360px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-card { position: static; }
  .stats-row { grid-template-columns: 1fr; }
  .app-footer { display: block; }
  .app-footer span { display: block; margin-top: 10px; }
}
@media (max-width: 480px) { .posts-grid, .product-grid, .master-profile-grid { grid-template-columns: 1fr; } .gate h1 { font-size: 3.5rem; } }
