/* Pingo / Gece Frekansı — local, offline-ready visual system. */
:root {
  color-scheme: dark;
  --bg: #100c19;
  --surface: #191222;
  --surface-2: #241a32;
  --surface-3: #30213f;
  --ink: #f7f1ff;
  --muted: #b0a2c3;
  --accent: #c4a0ff;
  --accent-strong: #a879f5;
  --lime: #ddfc96;
  --cyan: #7ee1da;
  --green: #7ee1bd;
  --line: #ffffff10;
  font-family: 'Segoe UI Variable', 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
body { background: var(--bg); }
button, input, select, textarea { color: inherit; }
button, a, .room-card { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, [role=button]:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
input::placeholder, textarea::placeholder { color: #93839f; opacity: 1; }
input, progress { accent-color: var(--accent); }
button { transition: background .18s ease, border-color .18s ease, transform .18s ease; }
button:active:not(:disabled) { transform: scale(.97); }
button:disabled { cursor: default; }
::selection { background: #9361d8; color: white; }
h1, h2, h3, strong { color: var(--ink); }
h1, h2 { letter-spacing: -.035em; }
.romeo-shell { max-width: 1440px; grid-template-columns: 224px minmax(0, 1fr); }
.main { background: var(--bg); padding: 0 38px 40px; }
.sidebar { background: #130e1c; border-color: var(--line); padding: 33px 18px 20px; gap: 28px; }
.brand, .sidebar .brand, .mobile-brand { color: var(--ink); letter-spacing: -.07em; font-weight: 800; }
.brand { padding: 0 11px; gap: 9px; }
.brand img { width: 33px; height: 33px; }
.brand-period { color: var(--lime); margin-left: -8px; }
.nav-item { border-radius: 13px; min-height: 47px; font-size: 13px; color: var(--muted); padding: 12px 14px; }
.nav-item.active, .nav-item.active:hover { color: #eedcff; background: #332145; }
.nav-item.active .nav-symbol { color: var(--accent); }
.nav-item:hover { background: #20172c; }
.sidebar nav { gap: 5px; }
.secondary-nav { padding-top: 20px; border-top: 1px solid var(--line); }
.secondary-nav .nav-item { font-size: 12px; min-height: 40px; }
.secondary-nav .nav-item svg { width: 18px; height: 18px; }
.side-bottom { padding-top: 18px; }
.account-mini { padding: 8px; width: 100%; color: var(--ink); }
.account-mini > span:not(.avatar) { flex: 1; display: grid; gap: 5px; font-size: 12px; }
.account-mini small { color: var(--muted); font-size: 10px; }
.account-mini > svg { width: 15px; color: var(--muted); }
.topbar { min-height: 82px; margin-bottom: 22px; border-color: var(--line); }
.topbar .mobile-brand { display: none; }
.connection-label { margin: 0 auto 0 0; color: var(--muted); font-size: 11px; letter-spacing: .02em; }
.dot { width: 6px; height: 6px; background: var(--green); }
.dot.offline { background: #e0b76c; }
.coin-pill { border: 1px solid #d8f99224; background: #ddfc960b; color: var(--lime); min-height: 38px; border-radius: 12px; font-variant-numeric: tabular-nums; }
.icon-btn { width: 42px; height: 42px; border-radius: 13px; color: var(--muted); background: #ffffff04; border: 1px solid var(--line); }
.icon-btn:hover { color: var(--ink); background: var(--surface-2); }
.icon-btn.accent { color: #1a102a; background: var(--accent); }
.notification-dot { background: var(--lime); border-color: var(--bg); }
.nav-symbol > .badge { background: var(--lime); color: #243511; border-color: #130e1c; }
.badge { background: var(--accent); color: #1d1230; font-weight: 800; }
.btn { min-height: 44px; border-radius: 13px; padding: 12px 18px; line-height: 1.2; }
.btn.primary, .btn.like, .btn.match-button { background: var(--accent); color: #20112f; border: 1px solid #dec5ff60; box-shadow: 0 4px 18px #9560ec17; }
.btn.primary:hover, .btn.like:hover, .btn.match-button:hover { background: #d5b8ff; }
.btn.secondary, .btn.pass { background: var(--surface-2); color: #d9cbea; border: 1px solid #ffffff13; }
.btn.danger { background: #6a253a36; color: #ff9cae; }
.btn.text { color: var(--muted); }
.screen-heading { margin-bottom: 21px; gap: 10px; }
.screen-heading h1, .page-heading h1 { font-size: 28px; font-weight: 750; }
.screen-heading .inline-actions { gap: 7px; }
.section-title { gap: 12px; margin-bottom: 17px; }
.section-title h2 { font-size: 17px; letter-spacing: -.025em; font-weight: 700; }
.section-title > span { color: var(--muted); font-size: 11px; }
.romeo-text-link { color: var(--accent); display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 650; background: none; padding: 6px 0; min-height: 34px; }
.romeo-text-link svg { width: 14px; height: 14px; }
.romeo-skip { position: fixed; left: 16px; top: -100px; z-index: 200; padding: 12px 18px; border-radius: 12px; background: var(--lime); color: #17210d; }
.romeo-skip:focus { top: 12px; }

/* The welcome art has one continuous orbit, with quiet motion and deliberate space. */
.welcome-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 276px; border-radius: 25px; border: 1px solid #b484e732; background: linear-gradient(115deg, #302047 0%, #241534 65%, #322049 100%); padding: 29px 32px 37px; }
.hero-copy { position: relative; z-index: 2; max-width: 68%; }
.hero-eyebrow { display: block; color: #c8b0de; letter-spacing: .15em; font-size: 9px; font-weight: 700; line-height: 1.5; }
.hero-copy h2 { margin-top: 13px; font-size: clamp(31px, 3.3vw, 46px); line-height: 1.05; letter-spacing: -.055em; font-weight: 750; }
.hero-copy h2 em { color: var(--lime); font-style: normal; }
.hero-copy p { color: #c6b4d9; font-size: 12px; line-height: 1.6; margin: 13px 0 18px; }
.hero-cta { background: var(--lime); color: #253111; border: 1px solid #eaffbd; font-size: 12px; min-height: 42px; border-radius: 12px; padding: 11px 16px; }
.hero-cta:hover { background: #e9ffb7; }
.hero-cta svg { width: 17px; height: 17px; }
.hero-art { position: absolute; right: 0; top: -15px; width: 45%; height: 100%; pointer-events: none; }
.hero-art > img { width: 100%; height: 100%; object-fit: contain; animation: orbit-hover 8s ease-in-out infinite; }
.orbit-note { position: absolute; bottom: 45px; left: 18%; transform: rotate(-7deg); display: inline-flex; align-items: center; gap: 7px; background: #2c2038b5; border: 1px solid #d2b0fa36; color: #e6d7f6; padding: 9px 13px; border-radius: 99px; font-size: 10px; backdrop-filter: blur(10px); }
.orbit-note svg { width: 16px; height: 16px; color: var(--cyan); }
.hero-footnote { position: absolute; right: 20px; bottom: 16px; display: flex; align-items: center; gap: 6px; color: #bfa9d4; font-size: 9px; }
.hero-footnote svg { width: 12px; height: 12px; }
@keyframes orbit-hover { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
.launchpad { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 11px; margin: 15px 0 27px; }
.launchpad > button { min-width: 0; display: flex; align-items: center; gap: 10px; text-align: left; padding: 15px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 17px; }
.launchpad > button:hover { background: var(--surface-2); border-color: #c3a0ef34; }
.launchpad > button > span:not(.launch-icon) { display: grid; gap: 5px; min-width: 0; }
.launchpad strong { font-size: 12px; white-space: nowrap; }
.launchpad small { font-size: 9px; white-space: nowrap; }
.launchpad > button > svg { width: 13px; height: 13px; margin-left: auto; color: #7c6d8e; }
.launch-icon, .shortcut-icon { display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; width: 37px; height: 37px; border-radius: 12px; background: #b28aef1c; color: var(--accent); }
.launch-icon svg { width: 21px; height: 21px; }
.launch-icon.lime, .shortcut-icon.yellow { background: #dafb9414; color: var(--lime); }
.launch-icon.cyan, .shortcut-icon.teal { background: #7eddd216; color: var(--cyan); }
.shortcut-icon.rose { background: #b28aef1c; color: var(--accent); }
.home-columns { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 27px; align-items: start; }
.home-social, .home-community { min-width: 0; }
.home-community { display: grid; gap: 26px; padding-top: 15px; }
.home-stories { margin: 0 0 19px; }
.home-stories .section-title { margin: 0 0 10px; }
.home-stories .section-title h2 { font-size: 14px; }
.story-strip { display: flex; gap: 15px; padding: 4px 0 14px; overflow-x: auto; scrollbar-width: none; }
.story-strip::-webkit-scrollbar { display: none; }
.story-item { width: 66px; min-width: 66px; padding: 0; border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #d2c4e1; font-size: 10px; }
.story-item > span:last-of-type { max-width: 66px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story-ring { position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #bb78d6, var(--lime)); padding: 3px; }
.story-ring .avatar { width: 56px; height: 56px; border: 3px solid var(--bg); font-size: 17px; }
.story-item.viewed .story-ring { background: #64546f; }
.create-story .story-ring { background: var(--surface-2); }
.create-story .story-ring > b { position: absolute; bottom: -1px; right: -1px; width: 21px; height: 21px; background: var(--accent); border: 3px solid var(--bg); color: #241339; border-radius: 50%; display: grid; place-items: center; }
.create-story .story-ring > b svg { width: 13px; height: 13px; stroke-width: 3; }
.story-item .demo-label { font-size: 8px; margin-top: -4px; padding: 2px 5px; }
.list-toolbar { gap: 6px; margin: 0 0 16px; }
.list-toolbar .icon-btn { width: 36px; height: 36px; border-radius: 11px; }
.list-toolbar .icon-btn svg { width: 17px; height: 17px; }
.text-tabs { gap: 22px; }
.text-tabs button { font-size: 14px; padding: 14px 0; color: #9584a9; min-height: 44px; }
.text-tabs button.active { color: var(--ink); }
.text-tabs button.active:after { background: var(--accent); height: 3px; width: 22px; border-radius: 9px; left: calc(50% - 11px); bottom: 0; }
.avatar { background: #3f2a54; color: #dcc2ff; border-color: var(--surface); }
.avatar.mint { background: #193d39; color: #86decd; }
.avatar.gold { background: #423a20; color: #e9d98f; }
.avatar.sky { background: #263752; color: #a5c8f3; }
.avatar.rose { background: #492941; color: #edb1d5; }
.avatar.ink { background: #332c42; color: #d6c7e7; }
.person-row { gap: 12px; padding: 18px 0; min-height: 111px; border-color: var(--line); }
.person-avatar .avatar { width: 59px; height: 59px; font-size: 22px; }
.person-details h3 { font-size: 15px; letter-spacing: -.01em; }
.person-details h3 svg { color: var(--cyan); }
.person-tags { flex-wrap: wrap; margin-top: 5px; }
.person-tags span { background: none; color: #a391b5; font-size: 10px; padding: 0; max-width: 145px; }
.person-tags .online-label { color: var(--green); }
.person-tags .following-label { color: var(--accent); }
.person-details p { color: #b5a5c6; font-size: 12px; margin-top: 7px; line-height: 1.55; }
.person-controls { display: flex; flex-direction: column; gap: 7px; align-items: center; }
.person-action { width: 39px; height: 39px; color: var(--accent); background: #b084ed16; border-radius: 12px; }
.person-action svg { width: 18px; height: 18px; }
.hide-recommendation { width: 26px; height: 26px; background: none; border: 0; color: #897597; }
.hide-recommendation svg { width: 14px; height: 14px; }
.online-dot { width: 13px; height: 13px; border: 3px solid var(--bg); background: var(--green); }
.demo-label { display: inline-flex; width: max-content; max-width: 100%; font-size: 9px; line-height: 1.3; font-weight: 650; letter-spacing: .01em; color: #dac4a0; border: 1px solid #d6b37837; background: #d6b3780a; border-radius: 5px; padding: 3px 6px; margin-top: 5px; white-space: normal; }
.discovery-card { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 13px; background: linear-gradient(140deg,#271b35,#1b1426 80%); border: 1px solid #c5a0ff25; border-radius: 22px; padding: 20px; overflow: hidden; }
.discovery-card .person-avatar .avatar { width: 76px; height: 76px; font-size: 27px; border: 1px solid #ffffff1a; }
.discovery-card .person-details h3 { font-size: 19px; }
.discovery-card .person-details > p:not(.recommendation-reason) { -webkit-line-clamp: 3; }
.recommendation-reason { display: flex !important; align-items: flex-start; gap: 6px; color: #c8adde !important; font-size: 11px !important; }
.recommendation-reason svg { width: 14px; height: 14px; margin-top: 1px; color: var(--accent); }
.shared-interests { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.shared-interests > span { color: var(--cyan); background: #7ee1da0b; border: 1px solid #7ee1da23; border-radius: 6px; padding: 4px 7px; font-size: 9px; }
.discovery-actions { grid-column: 1/-1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 9px; padding-top: 5px; }
.discovery-actions .btn { min-height: 43px; font-size: 12px; }
.discovery-actions svg { width: 17px; height: 17px; }
.discovery-card .person-controls { align-self: start; }
.feed-end { display: flex; justify-content: center; align-items: center; gap: 7px; color: #8f7b9f; font-size: 10px; padding: 20px 0; }
.feed-end svg { width: 13px; height: 13px; }
.join-prompt { align-items: start; justify-items: start; gap: 15px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.join-prompt h2 { font-size: 21px; }
.home-shortcuts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.home-shortcuts > button { display: flex; align-items: center; gap: 9px; padding: 13px 10px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; text-align: left; }
.home-shortcuts strong { font-size: 11px; }
.home-shortcuts > button > svg { width: 12px; height: 12px; color: var(--muted); margin-left: auto; }
.home-shortcuts .shortcut-icon { width: 28px; height: 28px; border-radius: 9px; }
.home-shortcuts .shortcut-icon svg { width: 15px; height: 15px; }

/* Rooms use real occupancy only; the wave animates while the room is occupied. */
.category-tabs { gap: 8px; margin-bottom: 25px; padding-bottom: 3px; }
.category-tabs button { display: flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--muted); padding: 10px 15px; min-height: 42px; font-size: 12px; }
.category-tabs button svg { width: 16px; height: 16px; }
.category-tabs button.active { color: #21122f; background: var(--accent); border-color: transparent; }
.rooms-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.home-room-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.room-card { border: 1px solid #ffffff10; border-radius: 20px; background: var(--surface); animation: card-arrive .4s ease both; transition: border-color .2s, transform .2s; }
.room-card:hover { animation: none; border-color: #c4a0ff70; transform: translateY(-3px); }
.room-photo { position: relative; height: auto; aspect-ratio: 1.32; border-radius: 0; background: #281f34; }
.room-photo:after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,#1e102d20 20%,#110a2280); pointer-events: none; }
.room-photo > img { filter: saturate(.78); }
.room-label, .room-count { z-index: 1; border: 1px solid #ffffff22; background: #1c132cb8; backdrop-filter: blur(8px); border-radius: 8px; color: #f2e9fb; font-size: 9px; font-weight: 600; padding: 5px 7px; }
.room-label { left: 10px; top: 10px; }
.room-label svg { color: var(--cyan); }
.room-count { right: 10px; bottom: 10px; }
.room-wave { position: absolute; z-index: 1; bottom: 15px; left: 13px; height: 22px; display: flex; align-items: center; gap: 3px; color: var(--cyan); }
.room-wave i { display: block; width: 3px; height: 7px; border-radius: 3px; background: currentColor; }
.room-wave i:nth-child(2), .room-wave i:nth-child(4) { height: 13px; }
.room-wave i:nth-child(3) { height: 21px; }
.room-wave.is-live i { animation: audio-wave 1.25s ease-in-out infinite; }
.room-wave.is-live i:nth-child(2) { animation-delay: -.35s; }
.room-wave.is-live i:nth-child(3) { animation-delay: -.8s; }
.room-wave.is-live i:nth-child(4) { animation-delay: -.15s; }
.room-wave.is-live i:nth-child(5) { animation-delay: -.6s; }
@keyframes audio-wave { 0%,100% { transform: scaleY(.6); } 50% { transform: scaleY(1); } }
@keyframes card-arrive { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.room-body { padding: 13px 14px 15px; }
.room-body h3 { font-size: 14px; font-weight: 700; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.4; margin-bottom: 6px; }
.room-body p.room-description { color: #a592b8; font-size: 11px; line-height: 1.55; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 0; }
.host-line { border: 0; padding: 0; margin-top: 11px; font-size: 10px; gap: 6px; color: #baa8c9; }
.host-line > span:not(.avatar) { max-width: none; }
.host-line > span:nth-child(2) { flex: 1; min-width: 0; }
.host-line .avatar { width: 24px; height: 24px; font-size: 9px; }
.host-line .live-label { font-size: 8px; color: var(--cyan); font-weight: 650; }
.room-empty-band { overflow: hidden; border-radius: 19px; background: var(--surface); border: 1px solid var(--line); }
.room-empty-band > img { width: 100%; height: 128px; display: block; object-fit: cover; filter: brightness(.65) saturate(.55); }
.room-empty-band > div:not(.empty) { padding: 18px; }
.room-empty-band h3 { font-size: 14px; margin-bottom: 8px; }
.room-empty-band .empty { padding: 26px 18px; }
.empty { border-radius: 19px; color: var(--muted); }
.empty h3 { color: #d9c7e9; font-size: 15px; }
.empty > svg { color: #9f7bc3; padding: 13px; width: 62px; height: 62px; background: #bd8de713; border: 1px solid #bd8de720; border-radius: 20px; }
.empty p { color: var(--muted); }

/* Personal spaces and progression. XP is the same measured value as the API. */
.romeo-profile, .romeo-platform, .romeo-messages { max-width: 900px; margin-inline: auto; }
.profile-cover { max-width: none; border: 1px solid #b989ed28; border-radius: 24px; padding: 25px; background: linear-gradient(135deg,#2b1d3b,#191221); }
.profile-identity { gap: 16px; }
.profile-identity h1 { font-size: 27px; }
.profile-identity p, .profile-bio { color: var(--muted); }
.avatar-edit > span:last-child { background: var(--accent); color: #281539; border-color: #281a35; }
.role-tag { color: var(--accent); background: #ba8ae717; padding: 5px 9px; border-radius: 6px; font-size: 9px; }
.creator-title { display: inline-block; color: var(--cyan); font-size: 11px; margin-left: 7px; }
.profile-level { display: flex; align-items: center; gap: 10px; margin-top: 23px; padding: 13px; width: 100%; text-align: left; background: #100b1870; border: 1px solid #d8b4ff15; border-radius: 15px; }
.profile-level > span:nth-child(2) { display: grid; gap: 4px; }
.profile-level strong { font-size: 12px; }
.profile-level small { font-size: 10px; }
.profile-xp { color: var(--lime); margin-left: auto; font-size: 11px; font-weight: 650; }
.profile-level > svg { width: 14px; height: 14px; color: #957baf; }
.level-medal { display: grid; place-items: center; width: 36px; height: 36px; color: var(--lime); background: #e0ff9010; border-radius: 11px; }
.profile-stats { padding-top: 19px; margin-top: 20px; border-top: 1px solid var(--line); }
.profile-stats > * { gap: 6px; }
.profile-stats b { font-size: 21px; }
.profile-stats span { font-size: 11px; color: var(--muted); }
.profile-wallet { max-width: none; border: 0; padding: 15px 0; gap: 12px; }
.profile-wallet > button { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 17px; gap: 12px; }
.profile-wallet button > svg:first-child { color: var(--lime); width: 27px; height: 27px; }
.profile-wallet button:nth-child(2) > svg:first-child { color: var(--cyan); }
.profile-wallet button > svg:last-child { color: #816b96; }
.profile-wallet small { color: var(--muted); }
.profile-destinations { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-bottom: 21px; }
.profile-destinations .setting-row { padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; gap: 9px; }
.profile-destinations strong { font-size: 11px; }
.profile-destinations .shortcut-icon { width: 30px; height: 30px; border-radius: 9px; }
.profile-destinations .shortcut-icon svg { width: 17px; height: 17px; }
.profile-links { max-width: none; }
.setting-row { color: #c6b5d8; border-color: var(--line); min-height: 59px; font-size: 13px; }
.setting-row > svg:first-child { color: #ab8dca; }
.setting-row > svg:last-child { color: #846c9a; }
.setting-row.negative { color: #f39cb4; }
.creator-identity { display: flex; align-items: center; gap: 14px; margin: 26px 0; }
.creator-identity h2 { font-size: 20px; }
.creator-identity .creator-title { margin: 7px 0 0; font-size: 11px; }
.creator-progress { position: relative; border: 1px solid #c5a0ff33; padding: 24px; border-radius: 24px; background: linear-gradient(130deg,#362244,#20142d); margin-bottom: 19px; }
.creator-level { display: flex; align-items: center; gap: 16px; }
.level-emblem { display: grid; place-items: center; width: 76px; height: 76px; flex-shrink: 0; border-radius: 24px; color: var(--lime); border: 1px solid #ddfc9645; background: #ddfc960c; box-shadow: inset 0 0 25px #ddfc9608; transform: rotate(-6deg); }
.level-emblem svg { width: 36px; height: 36px; }
.creator-level > div { min-width: 0; }
.creator-level strong { display: block; margin-top: 7px; font-size: 28px; letter-spacing: -.04em; }
.creator-level p { font-size: 12px; color: #c6afd9; margin-top: 5px; }
.xp-total { margin-left: auto; color: var(--lime); font-size: 23px; font-weight: 750; }
.xp-total small { display: block; font-size: 9px; font-weight: 400; color: #a995bf; margin-top: 4px; }
.level-progress-label { display: flex; justify-content: space-between; gap: 12px; margin: 26px 0 10px; font-size: 11px; color: #b9a5cb; }
.level-progress-label strong { color: var(--lime); }
.level-progress { display: block; appearance: none; width: 100%; height: 7px; border: 0; border-radius: 9px; overflow: hidden; background: #0d08175c; }
.level-progress::-webkit-progress-bar { background: #0d08175c; border-radius: 9px; }
.level-progress::-webkit-progress-value { background: linear-gradient(90deg,#b194ec,#d9fda0); border-radius: 9px; }
.level-progress::-moz-progress-bar { background: #c9dfb1; border-radius: 9px; }
.progress-note { font-size: 10px; color: #ac96bd; line-height: 1.6; margin-top: 12px; }
.creator-metrics { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; margin-bottom: 30px; }
.creator-metric { background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 16px 13px; }
.creator-metric > span { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; }
.creator-metric svg { width: 13px; height: 13px; color: var(--accent); }
.creator-metric.teal svg { color: var(--cyan); }
.creator-metric.yellow svg { color: var(--lime); }
.creator-metric > strong { display: block; font-size: 25px; margin-top: 12px; }
.achievement-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.achievement-row { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 13px 18px; border-radius: 19px; border: 1px solid #ffffff0b; background: #16101e; gap: 15px; }
.achievement-symbol { display: grid; place-items: center; width: 65px; height: 71px; color: #8d769f; background: #2b2034; clip-path: polygon(50% 0,95% 24%,95% 73%,50% 100%,5% 73%,5% 24%); }
.achievement-symbol svg { width: 29px; height: 29px; }
.achievement-row.earned { border-color: #c4a0ff35; background: #22172e; }
.achievement-row.earned .achievement-symbol { background: #c4a0ff; color: #322047; }
.achievement-row.earned.badge-tone-1 .achievement-symbol { background: var(--cyan); color: #1b403c; }
.achievement-row.earned.badge-tone-2 .achievement-symbol { background: var(--lime); color: #334123; }
.achievement-row > strong { font-size: 12px; line-height: 1.45; }
.achievement-status { display: flex; gap: 4px; align-items: center; color: #927e9f; font-size: 9px; margin-top: auto; }
.achievement-status svg { width: 11px; height: 11px; }
.earned .achievement-status { color: var(--cyan); }
.creator-links { margin-top: 25px; }

/* Conversation, forms and utilities share the same material and contrast. */
.activity-row { color: var(--ink); background: var(--surface); padding: 16px; border: 1px solid var(--line); border-radius: 18px; gap: 12px; margin-bottom: 17px; }
.activity-symbol { width: 42px; height: 42px; color: var(--accent); background: #b892e918; border-radius: 13px; }
.activity-copy { display: grid; gap: 5px; flex: 1; min-width: 0; }
.activity-copy strong { font-size: 13px; }
.activity-copy > span { font-size: 10px; color: var(--muted); }
.activity-row > svg { margin-left: auto; }
.conversation h3 { color: var(--ink); font-size: 15px; }
.conversation p, .conversation aside { color: var(--muted); }
.chat-head { border-color: var(--line); }
.chat-head p { color: var(--muted); }
.chat-log { background: #15101e; padding: 20px 16px; border-radius: 20px; }
.message { background: #291e37; border-color: #ffffff06; color: #e7dbf4; border-radius: 17px 17px 17px 4px; padding: 12px 15px; box-shadow: none; }
.message.mine { background: #604081; color: #fcf5ff; border-radius: 17px 17px 4px 17px; }
.message time { color: #c2adcf; }
.composer input { background: var(--surface-2); color: var(--ink); border: 1px solid #ffffff0b; border-radius: 14px; font-size: 14px; }
.composer .send { border-radius: 14px; color: #221431; background: var(--accent); }
.post { border: 1px solid var(--line); background: var(--surface); border-radius: 20px; padding: 20px; margin: 17px 0; }
.post-author small { color: #9c88ae; }
.post-text { color: #e0d2ee; }
.post-image, #post-preview img { background: #0e0914; border-radius: 14px; }
.post-actions button { color: #b6a0ca; min-height: 40px; }
.post-actions button.liked { color: #d5afff; }
.post-actions .liked svg { fill: #a879f533; }
.compose-fab { color: #231334; background: var(--accent); border: 1px solid #d8bbff50; border-radius: 18px; box-shadow: 0 8px 30px #0006; }
.search { background: var(--surface); border: 1px solid #ffffff14; border-radius: 14px; }
.search input { color: var(--ink); }
.search .icon-btn { border: 0; background: none; }
.search svg { color: var(--muted); }
.modal-backdrop { background: #08050fbb; backdrop-filter: blur(9px); }
.modal { background: #1c1427; color: var(--ink); border: 1px solid #c1a0e929; border-radius: 23px; padding: 30px; box-shadow: 0 30px 100px #0008; }
.modal > h2 { color: var(--ink); font-size: 25px; letter-spacing: -.035em; }
.modal > p, .modal .legal p, .legal p { color: #b7a5ca; }
.modal-close { background: #ffffff08; }
.modal::before { background: #786086; }
.auth-tabs { border-color: var(--line); gap: 25px; }
.auth-tabs button { color: var(--muted); font-size: 13px; }
.auth-tabs button.active { color: var(--accent); border-color: var(--accent); }
.auth-mark { border-radius: 14px; }
.field label { color: #ccbbde; font-size: 12px; }
.field input, .field textarea, .field select { background: #120d1b; color: #f4eafd; border: 1px solid #d6b5ff20; border-radius: 12px; min-height: 45px; padding: 12px; }
.field input:invalid:not(:placeholder-shown):not(:focus) { box-shadow: none; }
.field-note, .field-help, .terms-check { color: #b3a0c4; }
.terms-check a { color: #d0afff; }
.terms-check input { accent-color: var(--accent); }
.form-error { color: #ffc0d0; background: #c54b7330; border: 1px solid #f083a34a; border-radius: 12px; font-size: 12px; }
.notice { color: #d0bca0; background: #d7b5750b; border: 1px solid #d7b57525; border-left: 3px solid #c8a772; border-radius: 8px; }
.gift-option { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; color: var(--muted); }
.gift-option svg { color: var(--accent); }
.gift-option.selected { background: #38234d; border-color: var(--accent); animation: none; }
.gift-option:nth-child(2) svg { color: var(--cyan); }
.gift-option:nth-child(3) svg, .gift-option:nth-child(4) svg { color: var(--lime); }
.toast { background: #352647; color: #f0e3ff; border: 1px solid #c2a1e636; border-radius: 14px; box-shadow: 0 12px 40px #0006; }
.toast.error { background: #64283e; border-color: #b05a7433; }
.notification-row.unread { background: #ad7edf0d; }
.notification-row p, .session-row p { color: var(--muted); }
.balance { padding: 22px; border: 1px solid var(--line); background: var(--surface); border-radius: 20px; }
.balance .label, .balance p { color: var(--muted); }
.balance .amount, .balance .label svg { color: var(--lime); }
.balance.diamonds .amount, .balance.diamonds .label svg { color: var(--cyan); }
.positive { color: var(--green); }
.negative { color: #fa9bad; }
.store-grid button { color: #dff5b7; background: #ddfc9609; border-color: #ddfc9629; border-radius: 16px; }
.store-grid svg { color: var(--lime); }
.store-grid b { color: var(--lime); }
.room-popup { background: #2b1b3a; border: 1px solid #c7a0f33d; box-shadow: 0 20px 60px #0008; border-radius: 20px; }
.room-mini { background: #332147; border: 1px solid #c7a0f335; border-radius: 16px; box-shadow: 0 8px 30px #0005; }
.room-mini > svg { color: var(--cyan); }
.page-heading .eyebrow { display: block; color: #b197c6; font-size: 9px; letter-spacing: .13em; }
.page-heading p { display: block; color: var(--muted); font-size: 12px; }
.match-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.match-filters .btn { font-size: 11px; }
.match-deck { max-width: 500px; margin-inline: auto; min-height: 440px; }
.match-card { background: var(--surface); border: 1px solid #c4a0ff36; border-radius: 24px; box-shadow: 0 20px 45px #0003; }
.match-card .match-body { padding: 22px; }
.match-body h2, .match-body h3 { color: var(--ink); }
.match-body p { color: var(--muted); line-height: 1.5; }
.match-actions .btn { border-radius: 14px; font-size: 14px; min-height: 48px; }
.game-grid { gap: 13px; margin: 26px 0; }
.game-tile { position: relative; background: #251a33; border: 1px solid #c4a0ff26; border-radius: 22px; color: var(--ink); min-height: 155px; gap: 12px; box-shadow: inset 0 1px #ffffff08; font-size: 34px; }
.game-tile span { font-size: 15px; font-weight: 700; }
.game-tile small { color: #bd9cdf; font-size: 11px; font-weight: 500; }
.game-tile:nth-child(2) { background: #222b20; border-color: #ddfc9623; }
.game-tile:nth-child(2) small { color: #c1d7a2; }
.game-tile:nth-child(3) { background: #182b2d; border-color: #7ee1da23; }
.game-tile:nth-child(3) small { color: #93c6c1; }
.slot-machine span { background: #2e213d; border: 1px solid #c4a0ff28; border-radius: 17px; }
.shine { background: linear-gradient(110deg,#c4a0ff 30%,#ddfc96 45%,#c4a0ff 60%); background-size: 200% 100%; background-clip: text; -webkit-background-clip: text; }
.level-badge { color: #20152f; background: var(--accent); }

/* Preference and event layouts were intentionally made keyboard accessible. */
.preference-section { min-width: 0; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); padding: 20px; margin: 22px 0; }
.preference-section legend { color: #dac8e9; padding: 0 8px; font-size: 13px; font-weight: 650; }
.preference-section legend svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 8px; color: var(--accent); }
.interest-options { display: flex; flex-wrap: wrap; gap: 9px; padding: 5px 0; }
.interest-option { position: relative; cursor: pointer; }
.interest-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.interest-option > span { display: flex; align-items: center; gap: 6px; padding: 10px 13px; border: 1px solid #ffffff12; border-radius: 11px; background: #22182e; color: var(--muted); font-size: 12px; }
.interest-option > span > svg { width: 13px; height: 13px; opacity: 0; }
.interest-option input:checked + span { color: var(--accent); border-color: #c4a0ff68; background: #c4a0ff10; }
.interest-option input:checked + span > svg { opacity: 1; }
.interest-option input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 3px; }
.preference-toggle { position: relative; display: flex; align-items: center; gap: 11px; padding: 12px 0; cursor: pointer; min-height: 51px; }
.preference-symbol { color: #ae8bc9; display: flex; }
.preference-symbol svg { width: 19px; height: 19px; }
.preference-label { font-size: 12px; flex: 1; color: #cdbada; }
.preference-toggle input { position: absolute; right: 0; width: 43px; height: 27px; margin: 0; opacity: 0; }
.switch-track { width: 43px; height: 27px; border-radius: 20px; background: #44364e; border: 1px solid #d9b9f61a; position: relative; flex-shrink: 0; }
.switch-track:after { content: ''; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #b7a8c0; transition: transform .2s; }
.preference-toggle input:checked + .switch-track { background: var(--accent); }
.preference-toggle input:checked + .switch-track:after { background: #382346; transform: translateX(16px); }
.preference-toggle input:focus-visible + .switch-track { outline: 2px solid var(--lime); outline-offset: 4px; }
.notification-limit { max-width: 260px; margin-top: 14px; }
.quiet-hours { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 17px; align-items: center; }
.quiet-divider { color: var(--muted); }
.quiet-divider svg { width: 17px; height: 17px; }
.timezone-label { color: var(--muted); display: flex; gap: 6px; align-items: center; font-size: 10px; }
.timezone-label svg { width: 13px; height: 13px; }
.preference-footer { display: flex; justify-content: flex-end; }
.preference-footer .btn { min-width: 160px; }
.event-row { display: flex; align-items: flex-start; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 19px; padding: 22px; margin-bottom: 13px; }
.event-date { display: grid; gap: 2px; place-items: center; background: #c4a0ff12; color: var(--accent); border: 1px solid #c4a0ff28; border-radius: 13px; width: 56px; min-width: 56px; padding: 10px 6px; }
.event-date strong { font-size: 23px; color: var(--accent); }
.event-date span { font-size: 10px; }
.event-details { flex: 1; min-width: 0; }
.event-meta { display: flex; flex-wrap: wrap; gap: 9px; font-size: 9px; margin-bottom: 9px; color: var(--muted); }
.event-topic, .is-attending { color: var(--cyan); }
.event-details h2 { font-size: 17px; overflow-wrap: anywhere; }
.event-time { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); margin-top: 8px; }
.event-time svg { width: 13px; height: 13px; }
.event-description { color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 12px; overflow-wrap: anywhere; }
.event-host { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 13px; }
.event-host > button { background: none; padding: 0; display: flex; align-items: center; gap: 6px; font-size: 10px; color: #c3b0d3; }
.event-attendees { color: var(--muted); display: flex; align-items: center; gap: 5px; font-size: 9px; }
.event-attendees svg { width: 12px; height: 12px; }
.event-actions { display: flex; gap: 6px; }
.event-rsvp { background: var(--accent); color: #241632; font-size: 11px; min-height: 38px; padding: 10px 13px; }
.past-events { margin-top: 30px; }
.is-cancelled { opacity: .65; }
.home-event { display: flex; width: 100%; align-items: center; text-align: left; gap: 11px; padding: 15px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 9px; }
.event-calendar { color: var(--lime); padding: 10px; background: #d9f3930e; border-radius: 11px; display: flex; }
.home-event > span:nth-child(2) { display: grid; gap: 6px; flex: 1; min-width: 0; }
.home-event small { font-size: 9px; }
.home-event strong { font-size: 12px; }
.home-event > svg { width: 14px; height: 14px; color: var(--muted); }

/* Immersive audio room; selectors work with the current shell attribute. */
[data-screen=room] .main { background: radial-gradient(ellipse at 50% 0,#372045 0,#160e20 65%); color: var(--ink); }
[data-screen=room] .room-banner { height: 115px; border-radius: 18px; }
[data-screen=room] .room-banner img { filter: brightness(.6) saturate(.55); }
[data-screen=room] .banner-caption { background: #1b112dcc; color: #dfcbed; padding: 13px 15px; }
[data-screen=room] .room-feed { border-color: var(--line); }
[data-screen=room] .room-chat-line strong { color: #c8a2ee; }
[data-screen=room] .room-controls { border-color: var(--line); }
[data-screen=room] .room-controls .mic-on { background: var(--cyan); color: #11342f; }
[data-screen=room] .seat .mic-mark { background: #2a1c38; }
[data-screen=room] .seat.speaking .avatar { animation: voice-halo 1.5s ease-in-out infinite; }
[data-screen=room] .seat.empty-seat .seat-circle { border-color: #ae88cc43; background: #b087d10a; color: #9475ac; }
[data-screen=room] .seat.empty-seat { color: #a389b6; }
[data-screen=room] .status-strip { color: #ac93bd; }
@keyframes voice-halo { 0%,100% { box-shadow: 0 0 0 3px #7ee1da50, 0 0 20px #7ee1da08; } 50% { box-shadow: 0 0 0 5px #7ee1da25, 0 0 24px #7ee1da20; } }

@media (min-width: 701px) and (max-width: 1100px) {
  .romeo-shell { grid-template-columns: 180px minmax(0,1fr); }
  .sidebar { padding-inline: 12px; }
  .main { padding-inline: 25px; }
  .home-columns { grid-template-columns: minmax(0,1fr); }
  .home-community { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-rooms { grid-column: 1/-1; }
  .home-room-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .launchpad > button { gap: 8px; padding: 13px 10px; }
  .launchpad small, .launchpad > button > svg { display: none; }
  .rooms-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .creator-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .main { padding: 0 20px calc(105px + env(safe-area-inset-bottom)); }
  .topbar { min-height: 76px; border: 0; margin-bottom: 8px; }
  .topbar .mobile-brand { display: flex; gap: 8px; font-size: 27px; }
  .mobile-brand img { display: block; width: 29px; height: 29px; }
  .mobile-brand .brand-period { margin-left: -6px; }
  .connection-label { display: none; }
  .top-actions { gap: 8px; }
  .coin-pill { padding: 8px 10px; min-height: 36px; font-size: 11px; border-radius: 12px; }
  .top-actions .icon-btn { width: 36px; height: 36px; border-radius: 12px; }
  .top-actions .icon-btn svg { width: 17px; height: 17px; }
  .top-actions .btn { min-height: 36px; border-radius: 11px; font-size: 11px; padding: 9px 11px; }
  .screen-heading { margin-bottom: 16px; }
  .screen-heading h1, .page-heading h1 { font-size: 25px; }
  .screen-heading .icon-btn { width: 35px; height: 35px; border-radius: 11px; }
  .screen-heading .icon-btn svg { width: 17px; height: 17px; }
  .screen-heading .btn { min-height: 36px; border-radius: 11px; padding: 9px 12px; }
  .welcome-hero { min-height: 231px; padding: 23px 22px 29px; border-radius: 22px; }
  .hero-copy { max-width: 77%; }
  .hero-eyebrow { font-size: 7px; letter-spacing: .12em; }
  .hero-copy h2 { font-size: 33px; margin-top: 12px; line-height: 1.07; }
  .hero-copy p { font-size: 10px; line-height: 1.6; margin: 11px 0 14px; max-width: 190px; }
  .hero-cta { min-height: 37px; padding: 10px 12px; font-size: 10px; border-radius: 11px; gap: 9px; }
  .hero-cta svg { width: 14px; height: 14px; }
  .hero-art { width: 56%; height: 79%; top: 17px; right: -36px; opacity: .9; }
  .hero-art > img { object-fit: contain; }
  .orbit-note { font-size: 7px; bottom: 5px; left: 17%; padding: 6px 9px; gap: 4px; }
  .orbit-note svg { width: 13px; height: 13px; }
  .hero-footnote { font-size: 8px; right: 15px; bottom: 11px; }
  .hero-footnote svg { width: 10px; height: 10px; }
  .launchpad { gap: 8px; margin: 11px 0 26px; }
  .launchpad > button { position: relative; flex-direction: column; align-items: flex-start; padding: 13px 12px; border-radius: 15px; gap: 11px; }
  .launchpad > button > span:not(.launch-icon) { gap: 5px; }
  .launchpad strong { font-size: 11px; }
  .launchpad small { font-size: 8px; letter-spacing: -.025em; }
  .launchpad > button > svg { position: absolute; right: 10px; top: 13px; width: 12px; height: 12px; }
  .launch-icon { width: 31px; height: 31px; border-radius: 10px; }
  .launch-icon svg { width: 19px; height: 19px; }
  .home-columns { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .home-community { padding-top: 0; gap: 25px; }
  .home-stories { margin-bottom: 12px; }
  .story-strip { gap: 12px; }
  .story-item { width: 61px; min-width: 61px; font-size: 9px; }
  .story-ring { width: 57px; height: 57px; }
  .story-ring .avatar { width: 51px; height: 51px; font-size: 16px; }
  .text-tabs { gap: 23px; }
  .text-tabs button { font-size: 14px; }
  .list-toolbar { gap: 6px; }
  .list-toolbar .icon-btn { width: 32px; height: 32px; border-radius: 10px; }
  .discovery-card { border-radius: 20px; padding: 19px 16px; gap: 11px; }
  .discovery-card .person-avatar .avatar { width: 64px; height: 64px; font-size: 24px; }
  .discovery-card .person-details h3 { font-size: 18px; }
  .discovery-card .person-controls .person-action { width: 32px; height: 32px; border-radius: 10px; }
  .discovery-card .person-details > p { font-size: 11px; }
  .person-row { padding-top: 18px; padding-bottom: 18px; }
  .person-row.discovery-card { padding-top: 19px; padding-bottom: 19px; }
  .person-avatar .avatar { width: 55px; height: 55px; font-size: 21px; }
  .person-details h3 { font-size: 15px; }
  .person-details p { font-size: 11px; }
  .person-tags span { max-width: 120px; font-size: 9px; }
  .person-action { width: 36px; height: 36px; }
  .rooms-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .room-card { border-radius: 16px; }
  .room-photo { height: auto; aspect-ratio: 1.15; }
  .room-body { padding: 11px 11px 13px; }
  .room-body h3 { font-size: 13px; line-height: 1.4; }
  .room-body p.room-description { font-size: 10px; -webkit-line-clamp: 2; }
  .room-label { font-size: 8px; top: 8px; left: 8px; border-radius: 7px; padding: 4px 6px; }
  .room-count { right: 8px; bottom: 9px; font-size: 9px; padding: 4px 6px; border-radius: 7px; }
  .host-line { gap: 5px; font-size: 9px; margin-top: 10px; }
  .host-line .avatar { width: 21px; height: 21px; font-size: 8px; }
  .host-line .live-label { display: inline; font-size: 7px; }
  .room-body > .demo-label { font-size: 8px; }
  .category-tabs { gap: 7px; }
  .category-tabs button { font-size: 11px; padding: 10px 12px; gap: 6px; }
  .category-tabs button svg { width: 14px; height: 14px; }
  .mobile-nav { left: 12px; right: 12px; bottom: max(10px,env(safe-area-inset-bottom)); padding: 8px 4px; min-height: 69px; background: #21162eef; border: 1px solid #cfaffe24; box-shadow: 0 8px 35px #0007; backdrop-filter: blur(20px); border-radius: 22px; }
  .mobile-nav button { color: #9b83af; gap: 6px; min-width: 0; flex: 1; padding: 5px 2px; font-size: 9px; }
  .mobile-nav button.active { color: #e2c7ff; font-weight: 700; }
  .mobile-nav .nav-symbol { justify-content: center; height: 25px; width: 40px; position: relative; }
  .mobile-nav .active .nav-symbol:before { content: ''; position: absolute; background: #ba8bee20; inset: -5px -1px; border-radius: 12px; z-index: -1; }
  .mobile-nav .active .nav-symbol:after { content: ''; position: absolute; bottom: -22px; left: calc(50% - 2px); background: var(--lime); width: 4px; height: 4px; border-radius: 50%; }
  .mobile-nav svg { width: 22px; height: 22px; stroke-width: 1.9; }
  .mobile-nav .avatar.sm { width: 24px; height: 24px; font-size: 9px; }
  .mobile-nav .nav-symbol > .badge { top: -6px; left: 22px; border-color: #21162e; }
  .profile-cover { padding: 21px 18px; border-radius: 22px; }
  .profile-identity { gap: 13px; }
  .profile-identity h1 { font-size: 23px; }
  .profile-identity .avatar.xl { width: 68px; height: 68px; font-size: 24px; }
  .profile-identity .icon-btn { width: 31px; height: 31px; }
  .profile-identity p { font-size: 11px; }
  .profile-wallet { gap: 10px; padding: 13px 0; }
  .profile-wallet > button { padding: 15px 11px; gap: 9px; border-radius: 16px; }
  .profile-wallet b { font-size: 21px; }
  .profile-wallet small { font-size: 10px; }
  .profile-wallet button > svg:first-child { width: 24px; height: 24px; }
  .profile-wallet button > svg:last-child { display: none; }
  .profile-destinations { gap: 8px; }
  .profile-destinations .setting-row { padding: 11px 9px; gap: 7px; }
  .profile-destinations strong { font-size: 10px; }
  .profile-destinations .setting-row > svg { width: 12px; height: 12px; }
  .creator-progress { padding: 20px 17px; border-radius: 21px; }
  .creator-level { gap: 12px; }
  .level-emblem { width: 59px; height: 63px; border-radius: 18px; }
  .level-emblem svg { width: 28px; height: 28px; }
  .creator-level strong { font-size: 23px; }
  .creator-level .hero-eyebrow { font-size: 6px; }
  .creator-level p { font-size: 10px; }
  .xp-total { font-size: 20px; }
  .xp-total small { font-size: 8px; }
  .creator-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .creator-metric { padding: 13px 11px; }
  .creator-metric > span { font-size: 9px; gap: 5px; }
  .creator-metric > strong { font-size: 23px; }
  .achievement-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .achievement-row { padding: 21px 12px 17px; border-radius: 17px; gap: 13px; }
  .achievement-row strong { font-size: 11px; }
  .modal-backdrop { padding: 0; align-items: flex-end; }
  .modal { width: 100%; border-radius: 25px 25px 0 0; padding: 34px 22px max(24px,env(safe-area-inset-bottom)); max-height: 92%; max-height: 94dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .modal > h2 { font-size: 24px; }
  .modal .field input, .modal .field textarea, .modal .field select { font-size: 16px; }
  .modal:before { width: 35px; height: 4px; top: 10px; left: calc(50% - 17px); border-radius: 8px; }
  .field input, .field textarea, .field select { font-size: 16px; }
  .post { padding: 17px; border-radius: 18px; }
  .post-text { font-size: 13px; }
  .post-actions { gap: 23px; }
  .compose-fab { bottom: calc(95px + env(safe-area-inset-bottom)); right: 21px; }
  .conversation { padding: 19px 0; }
  .conversation .avatar.lg { width: 51px; height: 51px; }
  .conversation aside { max-width: 70px; font-size: 8px; }
  .wallet-totals { gap: 11px; }
  .balance { padding: 18px 13px; border-radius: 17px; }
  .balance .amount { font-size: 33px; }
  .balance .label { font-size: 10px; }
  .store-grid { gap: 8px; }
  .store-grid button { padding: 17px 5px; border-radius: 14px; }
  .store-grid b { font-size: 18px; }
  .store-grid span { font-size: 10px; }
  .game-grid { gap: 9px; margin: 22px 0; }
  .game-tile { min-height: 137px; font-size: 29px; gap: 12px; border-radius: 18px; }
  .game-tile span { font-size: 12px; }
  .game-tile small { font-size: 9px; }
  .match-card .match-body { padding: 18px; }
  .match-deck { min-height: 420px; }
  .preference-section { padding: 17px; }
  .quiet-hours { gap: 10px; }
  .event-row { flex-wrap: wrap; padding: 17px; gap: 13px; }
  .event-date { width: 48px; min-width: 48px; }
  .event-date strong { font-size: 21px; }
  .event-details h2 { font-size: 15px; }
  .event-actions { margin-left: 61px; }
  .room-mini, .room-popup { bottom: calc(89px + env(safe-area-inset-bottom)); }
  .room-popup { flex-wrap: wrap; padding: 15px; }
  #toasts { bottom: calc(96px + env(safe-area-inset-bottom)); }
  [data-screen=chat] .main { height: 100dvh; min-height: 0; padding: 14px 16px max(10px,env(safe-area-inset-bottom)); }
  [data-screen=chat] .topbar, [data-screen=chat] .mobile-nav, [data-screen=room] .mobile-nav { display: none; }
  [data-screen=chat] #page { height: 100%; display: flex; flex-direction: column; }
  [data-screen=chat] .chat-head { min-height: 58px; padding-bottom: 12px; }
  [data-screen=chat] .chat-log { height: auto; flex: 1; min-height: 0; margin: 12px 0 0; border-radius: 16px; padding: 15px 10px; background: #15101e; }
  [data-screen=chat] .composer { padding-bottom: 0; }
  [data-screen=chat] .message { font-size: 13px; }
  [data-screen=room] .main { padding: 16px 18px max(14px,env(safe-area-inset-bottom)); min-height: 100dvh; }
  [data-screen=room] .topbar { display: none; }
  [data-screen=room] #page { min-height: calc(100dvh - 32px); display: flex; flex-direction: column; }
  [data-screen=room] .chat-head { gap: 8px; }
  [data-screen=room] .chat-head h2 { font-size: 15px; }
  [data-screen=room] .room-layout { display: flex; flex-direction: column; flex: 1; gap: 20px; margin-top: 15px; }
  [data-screen=room] .room-banner { height: 103px; margin-bottom: 27px; }
  [data-screen=room] .banner-caption { font-size: 10px; }
  [data-screen=room] .room-feed { display: flex; flex-direction: column; flex: 1; min-height: 180px; padding-top: 18px; border-top: 1px solid var(--line); }
  [data-screen=room] .room-feed h3 { font-size: 12px; color: #c6acd9; }
  [data-screen=room] .room-chat-log { min-height: 90px; height: 170px; flex: 1; font-size: 12px; }
  [data-screen=room] .room-feed .composer { padding-bottom: 0; }
  [data-screen=room] .room-controls { padding-top: 18px; }
  [data-screen=room] .status-strip { font-size: 9px; }
}
@media (max-width: 360px) {
  .main { padding-left: 15px; padding-right: 15px; }
  .welcome-hero { padding: 21px 17px 29px; min-height: 229px; }
  .hero-copy h2 { font-size: 30px; }
  .hero-copy p { font-size: 9px; max-width: 172px; }
  .hero-eyebrow { font-size: 6px; }
  .hero-art { right: -39px; width: 57%; top: 21px; }
  .orbit-note { display: none; }
  .hero-footnote { font-size: 7px; }
  .launchpad { gap: 6px; }
  .launchpad > button { padding: 12px 9px; }
  .launchpad strong { font-size: 10px; }
  .launchpad small { font-size: 7px; }
  .launchpad > button > svg { right: 8px; width: 10px; }
  .launch-icon { width: 28px; height: 28px; }
  .text-tabs { gap: 16px; }
  .text-tabs button { font-size: 13px; }
  .list-toolbar .icon-btn { width: 30px; height: 30px; }
  .discovery-card { padding: 16px 13px !important; gap: 9px; }
  .discovery-card .person-avatar .avatar { width: 49px; height: 49px; font-size: 19px; }
  .discovery-card .person-details h3 { font-size: 16px; }
  .discovery-card .person-controls .person-action { width: 29px; height: 29px; }
  .discovery-actions .btn { font-size: 11px; padding-inline: 10px; }
  .room-body { padding: 10px; }
  .room-body h3 { font-size: 12px; }
  .room-body .host-line { font-size: 8px; }
  .room-wave { left: 10px; gap: 2px; }
  .room-wave i { width: 2px; }
  .profile-cover { padding: 18px 14px; }
  .profile-identity { gap: 10px; }
  .profile-identity h1 { font-size: 20px; }
  .profile-identity .avatar.xl { width: 59px; height: 59px; }
  .profile-destinations .shortcut-icon { width: 25px; height: 25px; }
  .profile-destinations strong { font-size: 9px; }
  .creator-level { gap: 9px; }
  .level-emblem { width: 47px; height: 54px; }
  .creator-level strong { font-size: 21px; }
  .xp-total { font-size: 17px; }
  .creator-level .hero-eyebrow { font-size: 5px; }
  .game-tile { min-height: 127px; font-size: 27px; }
  .balance { padding: 17px 10px; }
  .balance .amount { font-size: 28px; }
  .balance .btn { padding: 10px 7px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
