:root {
  font-family: 'DM Sans', 'Trebuchet MS', sans-serif;
  color: #17383d;
  background: #e5f3f1;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #17383d;
  --muted: #789093;
  --line: #dce9e6;
  --paper: rgba(255, 255, 255, .88);
  --aqua: #9bddd5;
  --aqua-dark: #367f7c;
  --leaf: #73aa74;
  --coral: #ee8069;
  --sun: #ecc76d;
  --shadow: 0 12px 34px rgba(69, 121, 119, .12);
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: linear-gradient(120deg, #eef6ec 0%, #e5f3f5 47%, #e9f4e8 100%); }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(51, 139, 137, .35); outline-offset: 3px; }
.skyline { position: fixed; z-index: -1; inset: 0; pointer-events: none; opacity: .52; background: linear-gradient(156deg, transparent 0 28%, rgba(255,255,255,.46) 28.1% 28.5%, transparent 28.6% 68%, rgba(255,255,255,.38) 68.1% 68.4%, transparent 68.5%), linear-gradient(22deg, transparent 0 72%, rgba(184,222,212,.25) 72.1% 72.7%, transparent 72.8%); }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; height: 72px; padding: 0 max(28px, calc((100vw - 1320px) / 2)); gap: 34px; background: rgba(247, 252, 248, .84); border-bottom: 1px solid rgba(158, 199, 192, .32); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 9px; flex: 0 0 198px; color: var(--ink); text-decoration: none; font-size: 23px; font-weight: 700; letter-spacing: 0; }
.brand-mark { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 11px 11px 11px 4px; background: linear-gradient(145deg, #b9eee3, #68b8b5); color: white; font-family: 'Fraunces', Georgia, serif; font-size: 24px; line-height: 1; box-shadow: inset 1px 2px 2px rgba(255,255,255,.8), 0 2px 4px rgba(46,120,116,.18); }
.brand-period { color: var(--coral); }
.searchbox { display: flex; align-items: center; width: min(100%, 440px); height: 40px; padding: 0 11px 0 14px; gap: 10px; border: 1px solid rgba(146, 186, 180, .45); border-radius: 8px; background: rgba(237, 247, 243, .92); color: var(--muted); }
.searchbox input { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.searchbox input::placeholder { color: #8ca4a2; }
.searchbox kbd { display: grid; width: 19px; height: 21px; place-items: center; border: 1px solid #d0dfdc; border-radius: 5px; color: #809897; font-size: 11px; }
.top-actions { display: flex; align-items: center; justify-content: flex-end; margin-left: auto; gap: 9px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 37px; padding: 0 14px; gap: 8px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-size: 12px; font-weight: 700; transition: transform .17s, background .17s, box-shadow .17s; }
.button:hover, .icon-button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: linear-gradient(180deg, #70b7a4, #4c978c); box-shadow: inset 0 1px rgba(255,255,255,.5), 0 3px 8px rgba(64,132,120,.18); }
.button-primary:hover { background: linear-gradient(180deg, #7bc4ae, #458c81); }
.button-soft { color: #3a7370; background: #eef7f3; border-color: #d8e9e3; }
.button-soft:hover { background: #e1f1ec; }
.button-danger { color: #a84e42; background: #fff3ef; border-color: #f2d9d2; }
.icon-button { display: inline-grid; width: 38px; height: 38px; place-items: center; padding: 0; border: 1px solid #d8e9e3; border-radius: 8px; background: rgba(255,255,255,.8); color: var(--aqua-dark); cursor: pointer; transition: transform .17s; }
.profile-trigger { width: 37px; height: 37px; padding: 0; border: 2px solid #9cd8c9; border-radius: 50%; background-position: center; background-size: cover; cursor: pointer; }
.hidden { display: none !important; }
.layout { display: grid; grid-template-columns: 190px minmax(380px, 630px) 278px; align-items: start; max-width: 1224px; margin: 0 auto; padding: 29px 24px 64px; gap: 28px; }
.left-rail { position: sticky; top: 98px; display: flex; flex-direction: column; padding: 5px 0; gap: 6px; }
.nav-item { display: flex; align-items: center; min-height: 43px; padding: 0 13px; gap: 13px; border: 0; border-radius: 7px; background: transparent; color: #668080; text-align: left; cursor: pointer; font-size: 13px; font-weight: 600; transition: color .18s, background .18s; }
.nav-item:hover { color: var(--aqua-dark); background: rgba(255,255,255,.55); }
.nav-item.active { color: #326e6a; background: rgba(255,255,255,.79); box-shadow: inset 0 0 0 1px rgba(195,223,216,.7), 0 2px 5px rgba(66,125,121,.05); }
.nav-icon { width: 20px; height: 20px; }
.rail-rule { height: 1px; margin: 15px 9px 10px; background: #cadfd9; }
.rail-note { display: grid; grid-template-columns: 24px 1fr; align-items: center; padding: 11px 10px 15px; column-gap: 7px; color: #62807d; font-size: 11px; font-weight: 700; }
.rail-note small { grid-column: 2; color: #8ca3a0; font-size: 10px; font-weight: 500; }
.note-sun { grid-row: span 2; color: #e5b754; font-size: 19px; }
.nav-settings { margin-top: auto; }
.center-column { min-width: 0; }
.feed-heading { display: flex; align-items: flex-end; justify-content: space-between; margin: 5px 0 22px; }
.eyebrow, .weather-label { margin: 0 0 7px; color: #829d99; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #7ac18a; box-shadow: 0 0 0 3px rgba(122,193,138,.15); }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; color: #1e4848; font-family: 'Fraunces', Georgia, serif; font-size: 27px; font-weight: 600; line-height: 1.2; letter-spacing: 0; }
.heading-comma { color: var(--coral); }
.feed-sort { min-height: 31px; padding: 0 10px; font-size: 11px; }
.stories-panel { margin-bottom: 17px; padding: 15px 16px 14px; border: 1px solid rgba(204, 226, 220, .88); border-radius: 8px; background: rgba(255,255,255,.76); box-shadow: 0 5px 18px rgba(69,121,119,.06); }
.stories-heading, .section-heading { display: flex; align-items: center; justify-content: space-between; }
.stories-heading h2, .section-heading h2 { margin: 0; color: #315959; font-size: 13px; font-weight: 700; }
.story-time { color: #9aacab; font-size: 10px; }
.stories-list { display: flex; min-height: 84px; margin: 13px -2px 0; padding: 0 1px 2px; gap: 14px; overflow-x: auto; scrollbar-width: thin; }
.story-item { display: flex; flex: 0 0 54px; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.story-ring { position: relative; display: grid; width: 54px; height: 54px; place-items: center; border: 2px solid #70bca9; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px white, 0 0 0 3px #b9e2d7; }
.story-ring img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.story-ring.add-ring { border: 1px dashed #96c7ba; color: #619b90; font-size: 23px; }
.story-label { max-width: 60px; overflow: hidden; color: #688382; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.feed-list { display: grid; gap: 16px; }
.post-card { overflow: hidden; border: 1px solid rgba(205, 225, 220, .96); border-radius: 8px; background: rgba(255,255,255,.95); box-shadow: 0 6px 20px rgba(70,122,118,.07); animation: rise-in .45s both; }
.post-head { display: flex; align-items: center; min-height: 57px; padding: 10px 14px; gap: 10px; }
.avatar { flex: 0 0 auto; width: 36px; height: 36px; border: 1px solid rgba(157,205,193,.8); border-radius: 50%; object-fit: cover; background: #eaf5f1; }
.post-author { display: grid; min-width: 0; padding: 0; gap: 2px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.post-author strong { color: #315451; font-size: 11px; }
.post-author span { color: #91a5a3; font-size: 10px; }
.plain-icon { display: grid; width: 32px; height: 32px; place-items: center; margin-left: auto; border: 0; border-radius: 50%; background: transparent; color: #799393; cursor: pointer; }
.plain-icon:hover { background: #eff7f3; }
.post-media { display: block; width: 100%; max-height: 580px; aspect-ratio: 1.17 / 1; object-fit: cover; background: linear-gradient(145deg, #d8eeee, #b0d7cf); }
video.post-media { object-fit: contain; background: #172c2c; }
.post-controls { display: flex; align-items: center; padding: 10px 13px 0; gap: 11px; }
.action-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0; gap: 5px; border: 0; background: transparent; color: #597776; cursor: pointer; }
.action-icon svg { width: 20px; height: 20px; }
.action-icon.liked { color: var(--coral); }
.action-count { color: #78908e; font-size: 10px; font-weight: 600; }
.post-meta { padding: 4px 14px 14px; color: #496866; font-size: 11px; line-height: 1.6; }
.post-meta strong { color: #315451; }
.caption-copy { margin-left: 4px; overflow-wrap: anywhere; }
.view-comments { display: block; margin-top: 3px; padding: 0; border: 0; background: transparent; color: #94a7a5; cursor: pointer; font-size: 10px; }
.post-date { display: block; margin-top: 6px; color: #a1b2af; font-size: 9px; text-transform: uppercase; }
.empty-state { display: grid; min-height: 238px; justify-items: center; align-content: center; padding: 28px 22px; border: 1px dashed #b9d9cf; border-radius: 8px; background: rgba(255,255,255,.52); text-align: center; }
.empty-mark { display: grid; width: 54px; height: 54px; margin-bottom: 13px; place-items: center; border-radius: 18px 18px 18px 5px; background: linear-gradient(145deg, #d2eee0, #94d0c7); color: #477f79; font-size: 26px; box-shadow: inset 0 1px 3px rgba(255,255,255,.8); }
.empty-state h2 { margin: 0 0 7px; color: #315959; font-family: 'Fraunces', Georgia, serif; font-size: 21px; font-weight: 600; }
.empty-state p { max-width: 270px; margin: 0 0 15px; color: #819795; font-size: 11px; line-height: 1.6; }
.right-rail { position: sticky; top: 96px; padding-top: 2px; }
.weather-card { position: relative; display: flex; min-height: 147px; overflow: hidden; padding: 15px; border: 1px solid rgba(185,218,206,.9); border-radius: 8px; background: linear-gradient(145deg, #eff9ec, #cce9dc 63%, #b4ddd5); box-shadow: var(--shadow); }
.weather-copy { position: relative; z-index: 1; }
.weather-label { color: #678d84; font-size: 8px; }
.weather-copy p { margin: 8px 0 7px; color: #326761; font-family: 'Fraunces', Georgia, serif; font-size: 19px; font-weight: 600; line-height: 1.05; }
.weather-foot { color: #6b9489; font-size: 9px; }
.weather-art { position: absolute; inset: 0; overflow: hidden; }
.sun-disc { position: absolute; top: 27px; right: 33px; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(145deg, #fff3ac, #f1c462); box-shadow: 0 0 23px rgba(243,201,109,.46); }
.cloud { position: absolute; z-index: 1; height: 9px; border-radius: 9px; background: rgba(255,255,255,.75); }
.cloud::before, .cloud::after { position: absolute; bottom: 2px; border-radius: 50%; background: inherit; content: ''; }
.cloud::before { left: 5px; width: 14px; height: 14px; }
.cloud::after { left: 15px; width: 18px; height: 18px; }
.cloud-one { top: 55px; right: 13px; width: 42px; }
.cloud-two { top: 79px; right: 48px; width: 35px; opacity: .72; transform: scale(.72); }
.horizon, .hill { position: absolute; right: -12px; bottom: -29px; left: 0; height: 69px; border-radius: 50% 50% 0 0 / 32% 48% 0 0; background: #91cabc; transform: rotate(-5deg); }
.hill-one { bottom: -41px; left: 72px; background: #6bad9c; transform: rotate(9deg); }
.hill-two { bottom: -52px; left: -39px; background: #b0d9c3; transform: rotate(-11deg); }
.suggestions-section { margin-top: 24px; }
.text-button { padding: 4px 0; border: 0; background: transparent; color: #568d82; cursor: pointer; font-size: 10px; font-weight: 700; }
.suggestion-list { display: grid; margin-top: 11px; gap: 12px; }
.suggestion { display: flex; align-items: center; min-width: 0; gap: 8px; }
.suggestion .avatar { width: 34px; height: 34px; }
.suggestion-info { display: grid; width: auto; height: auto; min-width: 0; margin: 0; padding: 0; gap: 2px; border: 0; border-radius: 0; background: transparent; text-align: left; cursor: pointer; }
.suggestion-info strong { overflow: hidden; color: #466563; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.suggestion-info span { overflow: hidden; color: #91a5a2; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.follow-button { margin-left: auto; padding: 5px 7px; border: 0; border-radius: 5px; background: #e7f3ee; color: #54897e; cursor: pointer; font-size: 9px; font-weight: 700; }
.follow-button.following { background: transparent; color: #91a5a2; }
.follow-button.requested { border-color: #64c5dd; background: linear-gradient(180deg, #fff, #d8f5fb); color: #087bae; box-shadow: inset 0 1px #fff, 0 2px 5px rgba(8,100,145,.1); }

.email-opt-in { display: flex; align-items: flex-start; padding: 10px; gap: 9px; border: 1px solid #a4dce8; border-radius: 7px; background: linear-gradient(180deg, #fff, #e9f9fc); }
.email-opt-in input { width: 16px; height: 16px; flex: 0 0 auto; margin: 1px 0 0; accent-color: #42c95a; }
.email-opt-in span { display: grid; gap: 3px; }
.email-opt-in strong { color: #155f7b; font-size: 10px; }
.email-opt-in small { color: #638492; font-size: 9px; line-height: 1.45; }
.verification-state { display: flex; align-items: center; flex-wrap: wrap; padding: 9px; gap: 7px; border: 1px solid #a4dce8; border-radius: 7px; background: linear-gradient(180deg, #fff, #e9f9fc); }
.verification-state strong { color: #155f7b; font-size: 10px; }
.verification-state span { overflow: hidden; color: #638492; font-size: 10px; text-overflow: ellipsis; }
.verification-message { display: grid; justify-items: center; padding: 10px 3px; gap: 12px; text-align: center; }
.verification-message p { margin: 0; color: #426c7d; font-size: 12px; line-height: 1.55; }
.verification-seal { display: grid; width: 50px; height: 50px; place-items: center; border: 2px solid #fff; border-radius: 50%; background: radial-gradient(circle at 32% 24%, #fff 0 7%, transparent 30%), linear-gradient(145deg, #8de3f7, #12bfd0 62%, #168bd5); color: #064660; box-shadow: inset 0 2px 5px rgba(255,255,255,.8), 0 0 0 3px #80e52d, 0 5px 10px rgba(8,100,145,.2); font-size: 20px; }
.verification-message .button { width: 100%; }
.field select { width: 100%; min-height: 40px; padding: 9px 11px; border: 1px solid rgba(22,139,213,.26); border-radius: 7px; background: linear-gradient(180deg, #fff, #e9f9fc); color: #07516f; font: inherit; }
.field select:focus { border-color: #12bfd0; outline: 3px solid rgba(18,191,208,.15); }
.brand-mark { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.95); border-radius: 50%; background: radial-gradient(ellipse at 33% 22%, rgba(255,255,255,.98) 0 8%, rgba(255,255,255,.42) 17%, transparent 34%), radial-gradient(ellipse at 36% 24%, #baf8ff 0%, #59c8f0 38%, #168bd5 76%, #087bae 100%); box-shadow: inset 0 2px 2px rgba(255,255,255,.95), inset -3px -5px 7px rgba(5,68,94,.24), 0 0 0 2px rgba(181,237,250,.88), 0 4px 9px rgba(8,100,145,.25); text-shadow: 0 1px 2px rgba(5,68,94,.38); }
.brand-mark::after { position: absolute; top: 4px; left: 8px; width: 11px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.82); content: ''; transform: rotate(-28deg); }
.weather-art::after { position: absolute; top: 13px; right: 18px; left: 18px; height: 24px; border-radius: 50%; background: linear-gradient(180deg, rgba(255,255,255,.44), transparent); content: ''; pointer-events: none; }
.sun-disc { border: 1px solid rgba(255,255,255,.94); background: radial-gradient(ellipse at 32% 22%, rgba(255,255,255,.96) 0 9%, transparent 34%), linear-gradient(145deg, #faffd8 0%, #dfff7a 57%, #80e52d 100%); box-shadow: inset 2px 2px 7px rgba(255,255,255,.82), inset -3px -5px 8px rgba(8,123,174,.15), 0 0 18px rgba(128,229,45,.28); }
.cloud { border: 1px solid rgba(255,255,255,.76); background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(223,246,251,.84)); box-shadow: inset 0 2px 3px rgba(255,255,255,.95), 0 2px 4px rgba(8,100,145,.1); }
.horizon, .hill { border-top: 2px solid rgba(255,255,255,.66); background: linear-gradient(180deg, rgba(255,255,255,.44) 0%, rgba(255,255,255,.08) 15%, #65c9b7 48%, #35a99d 100%); box-shadow: inset 0 9px 14px rgba(255,255,255,.26); }
.hill-one { background: linear-gradient(180deg, rgba(255,255,255,.36), rgba(255,255,255,.04) 17%, #52bea5 51%, #248f88); }
.hill-two { background: linear-gradient(180deg, rgba(255,255,255,.44), rgba(255,255,255,.08) 19%, #a3e3c3 58%, #66c9b0); }
.suggestions-empty { color: #8ba19d; font-size: 10px; line-height: 1.5; }
.community-note { display: flex; align-items: center; margin-top: 22px; padding: 12px 10px; gap: 9px; border-top: 1px solid #cce0d9; border-bottom: 1px solid #cce0d9; }
.community-flower { color: var(--coral); font-size: 19px; }
.community-note strong { color: #517672; font-size: 10px; }
.community-note p { margin: 3px 0 0; color: #8fa39f; font-size: 9px; }
.site-footer { display: flex; flex-wrap: wrap; margin-top: 14px; gap: 7px 11px; color: #9aadaa; font-size: 9px; }
.mobile-nav { display: none; }

.page-title { margin: 0 0 17px; color: #214b4a; font-family: 'Fraunces', Georgia, serif; font-size: 25px; font-weight: 600; }
.search-results { display: grid; gap: 8px; }
.search-result { display: flex; align-items: center; width: 100%; padding: 11px; gap: 10px; border: 1px solid #dbeae5; border-radius: 8px; background: rgba(255,255,255,.78); text-align: left; cursor: pointer; }
.search-result strong { display: block; color: #456d69; font-size: 12px; }
.search-result small { display: block; margin-top: 3px; color: #91a5a2; font-size: 10px; }
.profile-header { display: grid; grid-template-columns: 100px 1fr; align-items: center; padding: 19px 13px; gap: 15px; border-bottom: 1px solid #d4e5df; }
.profile-avatar { width: 88px; height: 88px; border: 3px solid white; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #9bd6c7; }
.profile-name { margin: 0 0 4px; color: #2c5552; font-family: 'Fraunces', Georgia, serif; font-size: 22px; font-weight: 600; }
.profile-handle { color: #839c99; font-size: 11px; }
.profile-stats { display: flex; margin: 13px 0; gap: 19px; }
.profile-stats span { color: #78908c; font-size: 10px; }
.profile-stats strong { color: #426561; font-size: 12px; }
.profile-bio { color: #6c8581; font-size: 11px; line-height: 1.5; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; gap: 4px; }
.profile-grid-item { position: relative; overflow: hidden; padding: 0; border: 0; background: #d5e9e3; cursor: pointer; aspect-ratio: 1; }
.profile-grid-item img, .profile-grid-item video { width: 100%; height: 100%; object-fit: cover; }
.profile-grid-item .grid-video { position: absolute; top: 7px; right: 7px; width: 15px; height: 15px; color: white; }
.profile-empty { padding: 30px 10px; color: #819795; text-align: center; font-size: 11px; }

.modal-backdrop { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(29, 66, 66, .35); backdrop-filter: blur(7px); animation: fade-in .15s both; }
.modal { width: min(100%, 470px); max-height: min(88vh, 760px); overflow: auto; border: 1px solid rgba(213,236,227,.9); border-radius: 9px; background: #fbfdf9; box-shadow: 0 24px 70px rgba(31,81,75,.25); animation: rise-in .22s both; }
.modal.modal-wide { width: min(100%, 560px); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 19px; border-bottom: 1px solid #e2eee8; }
.modal-head h2 { margin: 0; color: #2e5854; font-family: 'Fraunces', Georgia, serif; font-size: 20px; font-weight: 600; }
.modal-close { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #edf5f1; color: #70908a; cursor: pointer; font-size: 18px; }
.modal-body { padding: 19px; }
.form-grid { display: grid; gap: 12px; }
.field { display: grid; gap: 5px; }
.field label { color: #66817d; font-size: 10px; font-weight: 700; }
.field input, .field textarea { width: 100%; min-height: 40px; padding: 10px 11px; border: 1px solid #d5e5df; border-radius: 6px; background: #fff; color: #315451; font-size: 12px; }
.field textarea { min-height: 77px; resize: vertical; }
.caption-composer { position: relative; }
.caption-editor { width: 100%; min-height: 86px; max-height: 190px; overflow-y: auto; padding: 10px 11px; border: 1px solid rgba(22,139,213,.26); border-radius: 4px; background: linear-gradient(180deg, #fff, #f3fcff); color: var(--retro-ink); box-shadow: inset 0 2px 4px rgba(8,100,145,.08), inset 0 1px white; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-wrap; }
.caption-editor:focus { border-color: var(--retro-accent); outline: 3px solid color-mix(in srgb, var(--retro-accent) 18%, transparent); }
.caption-editor:empty::before { color: var(--retro-muted); content: attr(data-placeholder); pointer-events: none; }
.caption-editor strong.caption-hashtag { color: var(--retro-accent); font-weight: 900; }
.hashtag-suggestions:not([hidden]) { position: absolute; z-index: 20; top: calc(100% + 4px); right: 0; left: 0; display: grid; max-height: 220px; overflow: auto; border: 2px solid var(--retro-panel-edge); border-radius: 5px; background: linear-gradient(180deg, #fff, var(--retro-panel) 45%, var(--retro-raised)); box-shadow: inset 1px 1px white, 0 5px 14px var(--retro-shadow); }
.hashtag-suggestion { display: flex; align-items: center; justify-content: space-between; min-height: 37px; padding: 6px 10px; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--retro-panel-edge) 35%, transparent); background: transparent; color: var(--retro-ink); cursor: pointer; text-align: left; }
.hashtag-suggestion:hover, .hashtag-suggestion:focus-visible { background: linear-gradient(180deg, white, var(--retro-raised)); }
.hashtag-suggestion strong { color: var(--retro-accent); font-size: 11px; }
.hashtag-suggestion small, .hashtag-suggestion-empty { color: var(--retro-muted); font-size: 9px; }
.hashtag-suggestion-empty { padding: 10px; }
.field input::placeholder, .field textarea::placeholder { color: #a5b5b0; }
.form-help { margin: 0; color: #94a7a2; font-size: 10px; line-height: 1.5; }
.form-error { min-height: 15px; margin: 0; color: #bd665a; font-size: 10px; }
.form-submit { width: 100%; min-height: 40px; margin-top: 2px; }
.form-switch { display: block; margin: 14px auto 0; border: 0; background: transparent; color: #568d82; cursor: pointer; font-size: 10px; font-weight: 700; }
.gender-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gender-choice { position: relative; display: grid; justify-items: center; padding: 9px 5px 7px; gap: 6px; border: 1px solid #d8e7e1; border-radius: 7px; background: white; color: #78908b; cursor: pointer; font-size: 9px; }
.gender-choice input { position: absolute; opacity: 0; }
.gender-choice img { width: 39px; height: 39px; border: 2px solid white; border-radius: 50%; object-fit: cover; }
.gender-choice:has(input:checked) { border-color: #72b9a6; background: #eef8f1; box-shadow: 0 0 0 1px #72b9a6; color: #3f7c70; }
.upload-drop { display: grid; min-height: 150px; place-items: center; padding: 18px; border: 1px dashed #9fcfc0; border-radius: 7px; background: linear-gradient(145deg, #f3faf5, #e7f5f0); color: #6d9186; text-align: center; cursor: pointer; }
.upload-drop strong { display: block; margin-bottom: 4px; color: #527d73; font-size: 12px; }
.upload-drop span { font-size: 10px; }
.upload-drop input { display: none; }
.media-preview { display: none; width: 100%; max-height: 300px; margin-top: 9px; border-radius: 6px; background: #193233; object-fit: contain; }
.media-preview.visible { display: block; }
.composer-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 14px; padding: 3px; border-radius: 7px; background: #edf5f1; }
.composer-tab { min-height: 33px; border: 0; border-radius: 5px; background: transparent; color: #809792; cursor: pointer; font-size: 11px; font-weight: 700; }
.composer-tab.active { background: white; color: #4b857a; box-shadow: 0 1px 4px rgba(55,107,94,.12); }
.comments-list { display: grid; max-height: 300px; overflow: auto; margin-bottom: 12px; gap: 12px; }
.comment-row { display: flex; align-items: flex-start; gap: 8px; color: #597370; font-size: 11px; line-height: 1.5; }
.comment-row .avatar { width: 28px; height: 28px; }
.comment-row strong { margin-right: 4px; color: #3e625d; }
.comment-form { display: flex; gap: 7px; }
.comment-form input { flex: 1; min-width: 0; padding: 9px; border: 1px solid #d5e5df; border-radius: 6px; font-size: 11px; }
.story-viewer { position: relative; width: min(100%, 390px); height: min(78vh, 660px); overflow: hidden; border-radius: 8px; background: #122b2b; box-shadow: 0 18px 65px rgba(0,0,0,.25); }
.story-viewer img, .story-viewer video { width: 100%; height: 100%; object-fit: cover; }
.story-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; background: linear-gradient(180deg, rgba(0,0,0,.42), transparent 23%, transparent 70%, rgba(0,0,0,.3)); color: white; }
.story-owner { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; }
.story-owner img { width: 32px; height: 32px; border: 1px solid white; border-radius: 50%; object-fit: cover; }
.story-caption { font-size: 13px; text-shadow: 0 1px 4px #000; }
.story-progress { position: absolute; top: 8px; right: 9px; left: 9px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.45); }
.story-progress::before { display: block; width: 35%; height: 100%; border-radius: inherit; background: white; content: ''; }
.story-close { position: absolute; z-index: 2; top: 17px; right: 14px; border: 0; background: transparent; color: white; cursor: pointer; font-size: 20px; }
.toast-region { position: fixed; z-index: 50; right: 18px; bottom: 20px; display: grid; gap: 8px; }
.toast { padding: 11px 14px; border: 1px solid #cce1d8; border-radius: 7px; background: #fafffb; box-shadow: var(--shadow); color: #426e65; font-size: 11px; animation: rise-in .2s both; }
.toast.error { border-color: #efd3cb; color: #aa594d; }
.icon-search, .icon-home, .icon-compass, .icon-play, .icon-plus, .icon-user, .icon-settings, .icon-spark, .icon-heart, .icon-comment, .icon-bookmark, .icon-send { display: inline-block; width: 19px; height: 19px; flex: 0 0 auto; background-color: currentColor; mask-position: center; mask-repeat: no-repeat; mask-size: contain; }
.icon-search { width: 15px; height: 15px; mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m16 16 4 4'/%3E%3C/svg%3E"); }
.icon-home { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7v10a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.icon-compass { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m15.5 8.5-2 5-5 2 2-5z'/%3E%3C/svg%3E"); }
.icon-play { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='3'/%3E%3Cpath d='m10 9 5 3-5 3z'/%3E%3C/svg%3E"); }
.icon-plus { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.icon-user { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.icon-settings { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='m19.4 15 .1.1 1.2 2.1-2 2-2.2-1.2-.1.1a7 7 0 0 1-2.1.9l-.7 2.4h-2.8l-.7-2.4a7 7 0 0 1-2.1-.9l-.1-.1L5.7 19l-2-2 1.2-2.1-.1-.1a7 7 0 0 1-.9-2.1l-2.4-.7V9.2l2.4-.7a7 7 0 0 1 .9-2.1l.1-.1L3.7 4.2l2-2 2.1 1.2.1-.1a7 7 0 0 1 2.1-.9l.7-2.4h2.8l.7 2.4a7 7 0 0 1 2.1.9l.1.1 2.2-1.2 2 2-1.2 2.1.1.1a7 7 0 0 1 .9 2.1l2.4.7v2.8l-2.4.7a7 7 0 0 1-.9 2.1z' transform='translate(0 1)'/%3E%3C/svg%3E"); }
.icon-spark { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 1.9 5.8L20 11l-6.1 2.2L12 19l-2-5.8L4 11l6-2.2zM19 14l1.2 3.1L23 18l-2.8 1-1.2 3-1.1-3-2.9-1 2.9-.9z'/%3E%3C/svg%3E"); }
.icon-heart { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 8.7c0 5.1-8.8 11-8.8 11s-8.8-5.9-8.8-11A4.7 4.7 0 0 1 12 6.1a4.7 4.7 0 0 1 8.8 2.6Z'/%3E%3C/svg%3E"); }
.icon-comment { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.5a7.5 7.5 0 0 1-8 7.5 9 9 0 0 1-4-.9L3 20l1.5-4A7.2 7.2 0 0 1 4 12a8 8 0 0 1 8-8 7.5 7.5 0 0 1 8 7.5Z'/%3E%3C/svg%3E"); }
.icon-bookmark { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4h12v17l-6-4-6 4z'/%3E%3C/svg%3E"); }
.icon-send { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E"); }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1050px) {
  .layout { grid-template-columns: 160px minmax(360px, 630px); max-width: 880px; gap: 22px; }
  .right-rail { display: none; }
  .brand { flex-basis: 160px; }
}
@media (max-width: 700px) {
  .topbar { height: 59px; padding: 0 15px; gap: 12px; }
  .brand { flex: 0 0 auto; font-size: 20px; }
  .brand-mark { width: 29px; height: 29px; }
  .searchbox { width: 38px; height: 38px; margin-left: auto; padding: 0; justify-content: center; border: 0; background: transparent; }
  .searchbox input, .searchbox kbd { display: none; }
  .searchbox.search-open { position: absolute; right: 57px; left: 14px; width: auto; padding: 0 12px; justify-content: flex-start; border: 1px solid #cfe2da; background: #f6fbf7; }
  .searchbox.search-open input { display: block; }
  .top-actions { margin-left: 0; gap: 6px; }
  .top-actions .button-soft { display: none; }
  .top-actions .button-primary { min-height: 34px; padding: 0 10px; font-size: 10px; }
  .create-top { width: 34px; height: 34px; }
  .layout { display: block; max-width: 560px; padding: 22px 13px 80px; }
  .left-rail { display: none; }
  .feed-heading { margin: 0 2px 17px; }
  h1 { font-size: 23px; }
  .feed-sort { padding: 0 8px; font-size: 10px; }
  .stories-panel { padding: 13px 12px 10px; }
  .stories-list { gap: 12px; }
  .post-card { border-radius: 7px; }
  .post-media { aspect-ratio: 1 / 1; }
  .mobile-nav { position: fixed; z-index: 12; right: 0; bottom: 0; left: 0; display: flex; height: 58px; align-items: center; justify-content: space-around; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid rgba(172,207,198,.6); background: rgba(250,253,249,.93); backdrop-filter: blur(16px); }
  .mobile-nav button { display: grid; width: 44px; height: 43px; place-items: center; border: 0; border-radius: 9px; background: transparent; color: #73908a; }
  .mobile-nav button.active { background: #e7f4ee; color: #438378; }
  .mobile-nav button:nth-child(3) { width: 42px; height: 42px; border-radius: 14px 14px 14px 5px; background: linear-gradient(145deg,#a7e0d3,#65b2a3); color: white; box-shadow: inset 0 1px rgba(255,255,255,.7); }
  .modal-backdrop { align-items: end; padding: 0; }
  .modal { max-height: 91vh; border-radius: 12px 12px 0 0; }
  .story-viewer { height: 80vh; border-radius: 0; }
  .feed-heading .eyebrow { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

:root {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  color: #07516f;
  background: #e5f8fc;
  --ink: #07516f;
  --muted: #638492;
  --line: rgba(22, 139, 213, .22);
  --paper: rgba(245, 253, 255, .92);
  --aqua: #12d9e8;
  --aqua-dark: #087bae;
  --leaf: #42c95a;
  --coral: #d86c56;
  --sun: #dfffa1;
  --shadow: 0 9px 24px rgba(8, 100, 145, .14), 0 2px 5px rgba(8, 100, 145, .08);
}

body {
  color: var(--ink);
  background:
    radial-gradient(ellipse at 12% 4%, rgba(255,255,255,.92), transparent 31%),
    radial-gradient(ellipse at 89% 17%, rgba(89,200,240,.22), transparent 35%),
    linear-gradient(145deg, #f5fdff 0%, #dbf7fc 49%, #e6f8ed 100%);
}
.skyline {
  opacity: .64;
  background:
    radial-gradient(ellipse at 8% 8%, rgba(255,255,255,.78), transparent 24%),
    radial-gradient(ellipse at 93% 22%, rgba(181,237,250,.48), transparent 32%),
    linear-gradient(165deg, transparent 0 37%, rgba(255,255,255,.4) 37.1% 37.4%, transparent 37.5% 73%, rgba(18,217,232,.08) 73.1% 73.4%, transparent 73.5%);
}
.topbar {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(231,249,254,.9));
  border-bottom-color: rgba(18, 191, 208, .32);
  box-shadow: 0 2px 12px rgba(8, 123, 174, .09), inset 0 1px rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
}
.brand { color: #07516f; }
.brand-mark {
  border-radius: 11px 11px 11px 4px;
  background: linear-gradient(180deg, #c9f7ff 0%, #59c8f0 42%, #168bd5 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96), inset 0 -2px 2px rgba(7,81,111,.2), 0 3px 7px rgba(8,123,174,.28);
}
.brand-period { color: #42c95a; }
.searchbox {
  border-color: rgba(22,139,213,.3);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(224,247,253,.92));
  color: #087bae;
  box-shadow: inset 0 1px 2px rgba(8,123,174,.08), inset 0 1px rgba(255,255,255,.95), 0 2px 5px rgba(8,123,174,.08);
}
.searchbox input { color: #07516f; }
.searchbox input::placeholder { color: #6b8492; }
.searchbox kbd { border-color: rgba(22,139,213,.22); border-radius: 6px; background: rgba(245,253,255,.86); color: #568296; }
.button, .icon-button {
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), inset 0 -1px 0 rgba(8,123,174,.07), 0 3px 7px rgba(8,100,145,.12);
}
.button-primary {
  border-color: rgba(0,143,180,.54);
  color: #064660;
  background: linear-gradient(180deg, rgba(255,255,255,.68) 0%, rgba(255,255,255,.14) 46%, transparent 47%), linear-gradient(180deg, #59c8f0 0%, #12d9e8 52%, #00bfd0 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), inset 0 -2px 2px rgba(0,123,174,.18), 0 4px 9px rgba(8,123,174,.22);
  text-shadow: 0 1px rgba(255,255,255,.45);
}
.button-primary:hover {
  color: #064660;
  background: linear-gradient(180deg, rgba(255,255,255,.76) 0%, rgba(255,255,255,.14) 46%, transparent 47%), linear-gradient(180deg, #8de0f8 0%, #39dce8 52%, #12c6d5 100%);
}
.button-soft {
  border-color: rgba(22,139,213,.24);
  color: #087bae;
  background: linear-gradient(180deg, #fff 0%, #f2fcff 43%, #dff6fc 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), inset 0 -1px 0 rgba(8,123,174,.07), 0 3px 7px rgba(8,100,145,.1);
}
.button-soft:hover { background: linear-gradient(180deg, #fff 0%, #edfbff 45%, #c9f1fb 100%); }
.button-danger {
  border-color: rgba(216,108,86,.3);
  color: #9d4938;
  background: linear-gradient(180deg, #fff 0%, #fff5f1 48%, #ffe5dc 100%);
  box-shadow: inset 0 1px rgba(255,255,255,.95), 0 3px 7px rgba(157,73,56,.1);
}
.button:active, .icon-button:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(8,100,145,.17); }
.icon-button { border-color: rgba(22,139,213,.25); background: linear-gradient(180deg, #fff, #e5f8fd); color: #087bae; }
.profile-trigger { border-color: #42c95a; box-shadow: 0 0 0 2px rgba(128,229,45,.2), inset 0 1px rgba(255,255,255,.9); }
.nav-item { border-radius: 9px; color: #547987; }
.nav-item:hover { color: #087bae; background: linear-gradient(180deg, rgba(255,255,255,.83), rgba(210,244,251,.8)); box-shadow: inset 0 1px rgba(255,255,255,.94), 0 2px 6px rgba(8,123,174,.09); }
.nav-item.active {
  color: #075d80;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(205,243,251,.94));
  box-shadow: inset 0 1px rgba(255,255,255,.98), inset 0 0 0 1px rgba(18,191,208,.23), 0 3px 8px rgba(8,123,174,.12);
}
.rail-rule { background: linear-gradient(90deg, transparent, rgba(22,139,213,.28), transparent); }
.rail-note { color: #39758c; }
.rail-note small { color: #6b8492; }
.note-sun { color: #80bd32; }
.eyebrow, .weather-label { color: #578395; }
.live-dot { background: #42c95a; box-shadow: 0 0 0 3px rgba(66,201,90,.16); }
h1, h2 { font-family: 'Segoe UI', Tahoma, Arial, sans-serif; }
h1 { color: #07516f; font-weight: 650; }
.heading-comma { color: #42c95a; }
.feed-sort { border-radius: 16px; }
.stories-panel {
  border-color: rgba(22,139,213,.21);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(235,250,254,.84));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 5px 16px rgba(8,100,145,.09);
}
.stories-heading h2, .section-heading h2 { color: #155f7b; }
.story-time { color: #6b8492; }
.story-ring { border-color: #12bfd0; background: linear-gradient(145deg, #fff, #e3f8fc); box-shadow: 0 0 0 2px #f5fdff, 0 0 0 4px rgba(66,201,90,.55), 0 3px 8px rgba(8,123,174,.16); }
.story-ring.add-ring { border-color: #42c95a; color: #087bae; box-shadow: 0 0 0 2px #f5fdff, 0 0 0 4px rgba(128,229,45,.4), 0 3px 8px rgba(8,123,174,.12); }
.story-label { color: #527c8b; }
.post-card {
  border-color: rgba(22,139,213,.2);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,253,255,.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 6px 18px rgba(8,100,145,.1);
}
.post-head { background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(236,250,254,.76)); }
.avatar { border-color: rgba(18,191,208,.42); box-shadow: inset 0 1px rgba(255,255,255,.9), 0 1px 4px rgba(8,123,174,.12); }
.post-author strong, .post-meta strong { color: #07516f; }
.post-author span, .post-date { color: #6b8492; }
.plain-icon { color: #397b96; }
.plain-icon:hover { background: rgba(18,191,208,.12); }
.post-media { background: linear-gradient(145deg, #c9f3fb, #a8e9ef); }
.post-controls { border-top: 1px solid rgba(22,139,213,.1); }
.action-icon { color: #168bd5; }
.action-icon.liked { color: #d86c56; }
.action-count { color: #547987; }
.post-meta { color: #365f70; }
.view-comments { color: #5b8291; }
.empty-state {
  border-color: rgba(22,139,213,.33);
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(227,248,253,.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 5px 15px rgba(8,100,145,.07);
}
.empty-mark {
  background: linear-gradient(180deg, #eaffff 0%, #59c8f0 44%, #12bfd0 100%);
  color: #07516f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -2px 2px rgba(8,123,174,.15), 0 4px 9px rgba(8,123,174,.16);
}
.empty-state h2 { color: #07516f; }
.empty-state p { color: #547987; }
.weather-card {
  border-color: rgba(22,139,213,.26);
  background: linear-gradient(145deg, #f5fdff 0%, #c8f1f8 55%, #b9efdc 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), var(--shadow);
}
.weather-label { color: #39758c; }
.weather-copy p { color: #07516f; font-family: 'Segoe UI', Tahoma, Arial, sans-serif; }
.weather-foot { color: #39758c; }
.sun-disc { background: linear-gradient(145deg, #faffd8, #dfff7a); box-shadow: 0 0 18px rgba(128,229,45,.28), inset 0 1px rgba(255,255,255,.85); }
.horizon, .hill { background: #65c9b7; }
.hill-one { background: #42a989; }
.hill-two { background: #a3e3c3; }
.text-button { color: #087bae; }
.suggestion-info strong { color: #155f7b; }
.suggestion-info span, .suggestions-empty { color: #638492; }
.follow-button {
  border: 1px solid rgba(66,201,90,.29);
  border-radius: 12px;
  background: linear-gradient(180deg, #f8ffef, #dfffa1);
  color: #346f37;
  box-shadow: inset 0 1px rgba(255,255,255,.95), 0 2px 5px rgba(66,140,57,.12);
}
.follow-button.following { border-color: rgba(22,139,213,.15); background: transparent; color: #638492; box-shadow: none; }
.community-note { border-color: rgba(22,139,213,.22); }
.community-flower { color: #42c95a; }
.community-note strong { color: #155f7b; }
.community-note p, .site-footer { color: #638492; }
.search-result {
  border-color: rgba(22,139,213,.2);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(232,249,253,.9));
  box-shadow: inset 0 1px rgba(255,255,255,.97), 0 2px 7px rgba(8,100,145,.08);
}
.search-result strong { color: #155f7b; }
.search-result small { color: #638492; }
.profile-header { border-color: rgba(22,139,213,.2); }
.profile-avatar { box-shadow: 0 0 0 2px #12bfd0, 0 0 0 5px rgba(128,229,45,.5), 0 4px 10px rgba(8,123,174,.17); }
.profile-name, .page-title { color: #07516f; font-family: 'Segoe UI', Tahoma, Arial, sans-serif; }
.profile-handle, .profile-stats span, .profile-bio, .profile-empty { color: #547987; }
.profile-stats strong { color: #07516f; }
.profile-grid-item { background: #dff6fb; }
.modal-backdrop { background: rgba(5,68,94,.34); backdrop-filter: blur(5px); }
.modal {
  border-color: rgba(18,191,208,.32);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff 0%, #f5fdff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 20px 54px rgba(5,68,94,.25);
}
.modal-head { border-color: rgba(22,139,213,.17); background: linear-gradient(180deg, #fff, #eafaff); }
.modal-head h2 { color: #07516f; font-family: 'Segoe UI', Tahoma, Arial, sans-serif; }
.modal-close { border: 1px solid rgba(22,139,213,.18); background: linear-gradient(180deg, #fff, #dff6fc); color: #087bae; box-shadow: inset 0 1px rgba(255,255,255,.95), 0 2px 5px rgba(8,100,145,.11); }
.field label { color: #396f84; }
.field input, .field textarea, .comment-form input {
  border-color: rgba(22,139,213,.26);
  border-radius: 7px;
  background: linear-gradient(180deg, #fff, #f5fdff);
  color: #07516f;
  box-shadow: inset 0 1px 2px rgba(8,100,145,.06), 0 1px rgba(255,255,255,.96);
}
.field input::placeholder, .field textarea::placeholder { color: #7d9aa6; }
.field input:focus, .field textarea:focus, .comment-form input:focus { border-color: #12bfd0; box-shadow: 0 0 0 3px rgba(18,191,208,.15), inset 0 1px 2px rgba(8,100,145,.05); }
.form-help { color: #638492; }
.form-error { color: #a54c3b; }
.form-switch { color: #087bae; }
.gender-choice {
  border-color: rgba(22,139,213,.23);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #effaff);
  color: #547987;
  box-shadow: inset 0 1px rgba(255,255,255,.96);
}
.gender-choice:has(input:checked) { border-color: #12bfd0; background: linear-gradient(180deg, #f5fdff, #d7f7fb); box-shadow: inset 0 1px rgba(255,255,255,.95), 0 0 0 1px rgba(18,191,208,.2), 0 3px 8px rgba(8,123,174,.1); color: #07516f; }
.upload-drop { border-color: rgba(22,139,213,.4); border-radius: 8px; background: linear-gradient(180deg, #fff, #e3f8fc); color: #547987; box-shadow: inset 0 1px rgba(255,255,255,.95); }
.upload-drop strong { color: #07516f; }
.media-preview { background: #d5f1f7; }
.composer-tabs { background: linear-gradient(180deg, #d9f3f8, #eafaff); box-shadow: inset 0 1px 3px rgba(8,100,145,.1); }
.composer-tab { color: #547987; }
.composer-tab.active { color: #07516f; box-shadow: inset 0 1px rgba(255,255,255,.98), 0 2px 5px rgba(8,100,145,.13); }
.comment-row { color: #365f70; }
.comment-row strong { color: #07516f; }
.story-viewer { box-shadow: 0 18px 55px rgba(5,68,94,.35), 0 0 0 1px rgba(181,237,250,.4); }
.toast { border-color: rgba(22,139,213,.24); border-radius: 8px; background: linear-gradient(180deg, #fff, #e8faff); box-shadow: inset 0 1px rgba(255,255,255,.97), 0 5px 14px rgba(8,100,145,.17); color: #07516f; }
.toast.error { border-color: rgba(216,108,86,.34); color: #9d4938; }
.mobile-nav { border-top-color: rgba(18,191,208,.29); background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(227,248,253,.95)); box-shadow: 0 -3px 12px rgba(8,100,145,.09), inset 0 1px rgba(255,255,255,.98); }
.mobile-nav button { color: #547987; }
.mobile-nav button.active { background: linear-gradient(180deg, #fff, #d7f5fb); color: #087bae; box-shadow: inset 0 1px rgba(255,255,255,.98), inset 0 0 0 1px rgba(18,191,208,.2), 0 2px 5px rgba(8,100,145,.08); }
.mobile-nav button:nth-child(3) { border: 1px solid rgba(0,143,180,.4); background: linear-gradient(180deg, #d9fbff 0%, #59c8f0 40%, #12bfd0 100%); color: #064660; box-shadow: inset 0 1px rgba(255,255,255,.95), inset 0 -2px rgba(8,123,174,.15), 0 3px 8px rgba(8,123,174,.2); }
.brand-mark, h1, h2, .empty-state h2, .weather-copy p, .profile-name, .page-title, .modal-head h2 { font-family: 'Segoe UI', Tahoma, Arial, sans-serif; }
.feed-sort { flex: 0 0 auto; white-space: nowrap; }
.button-primary {
  background: linear-gradient(180deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,.18) 38%, transparent 100%), linear-gradient(180deg, #59c8f0 0%, #12d9e8 52%, #00bfd0 100%);
}
.button-primary:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.48) 0%, rgba(255,255,255,.19) 38%, transparent 100%), linear-gradient(180deg, #8de0f8 0%, #39dce8 52%, #12c6d5 100%);
}

.skyline {
  z-index: 0;
  overflow: hidden;
  opacity: .82;
}
.layout { position: relative; z-index: 1; }
.skyline::before, .skyline::after {
  position: absolute;
  display: block;
  width: 136%;
  pointer-events: none;
  content: '';
}
.skyline::before {
  bottom: -24vh;
  left: -18%;
  height: 58vh;
  min-height: 280px;
  max-height: 540px;
  border-radius: 48% 52% 0 0 / 21% 33% 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,.82) 0%, rgba(181,237,250,.67) 8%, rgba(89,200,240,.39) 30%, rgba(18,217,232,.22) 73%, rgba(22,139,213,.14) 100%);
  box-shadow: inset 0 12px 0 rgba(255,255,255,.65), inset 0 24px 35px rgba(18,191,208,.12);
  animation: bluumi-wave-front 19s ease-in-out infinite alternate;
}
.skyline::after {
  bottom: -29vh;
  left: -22%;
  height: 49vh;
  min-height: 240px;
  max-height: 470px;
  border-radius: 55% 45% 0 0 / 30% 20% 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,.74) 0%, rgba(18,217,232,.3) 14%, rgba(0,191,208,.2) 54%, rgba(8,123,174,.16) 100%);
  box-shadow: inset 0 9px 0 rgba(255,255,255,.48), inset 0 21px 30px rgba(89,200,240,.12);
  animation: bluumi-wave-back 27s ease-in-out infinite alternate;
}
.topbar {
  border-bottom: 2px solid #64cee4;
  background: linear-gradient(180deg, #fff 0%, #f5fdff 12%, #dff8fd 52%, #c6eff7 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(22,139,213,.11), 0 3px 0 rgba(181,237,250,.75), 0 5px 11px rgba(8,100,145,.12);
  backdrop-filter: none;
}
.button, .icon-button {
  border-color: rgba(22,139,213,.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), inset 0 2px 4px rgba(255,255,255,.35), inset 0 -3px 4px rgba(8,100,145,.14), 0 1px 0 rgba(255,255,255,.92), 0 3px 0 rgba(8,100,145,.13), 0 6px 10px rgba(8,100,145,.12);
}
.button-primary {
  border-color: #099dbd;
  background: linear-gradient(180deg, rgba(255,255,255,.58) 0%, rgba(255,255,255,.28) 12%, rgba(255,255,255,.06) 38%, transparent 64%), linear-gradient(180deg, #67d7f3 0%, #20d3e4 44%, #00bfd0 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 2px 5px rgba(255,255,255,.38), inset 0 -3px 5px rgba(8,100,145,.19), 0 1px 0 rgba(255,255,255,.92), 0 3px 0 rgba(8,100,145,.2), 0 7px 12px rgba(8,100,145,.2);
}
.button-primary:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.66) 0%, rgba(255,255,255,.3) 14%, rgba(255,255,255,.05) 40%, transparent 66%), linear-gradient(180deg, #89e3f8 0%, #46dcea 48%, #12c6d5 100%);
}
.button:active, .icon-button:active { transform: translateY(2px); box-shadow: inset 0 2px 5px rgba(8,100,145,.2), 0 1px 0 rgba(255,255,255,.7); }
.button-soft, .icon-button { border-color: #a1dfec; }
.nav-item.active {
  border: 1px solid rgba(22,139,213,.22);
  background: linear-gradient(180deg, #fff 0%, #f6fdff 13%, #d8f5fb 54%, #c5edf6 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 2px 4px rgba(255,255,255,.54), inset 0 -2px 3px rgba(8,123,174,.1), 0 2px 0 rgba(8,123,174,.08), 0 4px 8px rgba(8,100,145,.1);
}
.stories-panel, .post-card, .search-result, .modal {
  border-color: #83d6e7;
  box-shadow: inset 0 1px 0 #fff, inset 1px 0 rgba(255,255,255,.72), inset -1px 0 rgba(22,139,213,.04), 0 2px 0 rgba(22,139,213,.08), 0 7px 16px rgba(8,100,145,.12);
}
.stories-panel {
  background: linear-gradient(180deg, #fff 0%, #f5fdff 8%, #e2f8fc 9%, #f4fcfe 28%, #e6f8fc 100%);
}
.post-card { background: linear-gradient(180deg, #fff 0%, #f7fdff 8%, #fff 17%, #f5fcff 100%); }
.post-head { background: linear-gradient(180deg, #fff 0%, #f4fcff 44%, #dff6fb 100%); box-shadow: inset 0 1px #fff; }
.story-ring { border-color: #12bfd0; box-shadow: 0 0 0 2px #f5fdff, 0 0 0 4px #80e52d, inset 0 2px 3px rgba(255,255,255,.95), 0 4px 9px rgba(8,100,145,.19); }
.story-ring.add-ring { border: 2px solid #42c95a; background: linear-gradient(180deg, #fff, #dfffa1); box-shadow: 0 0 0 2px #f5fdff, 0 0 0 4px #80e52d, inset 0 2px 4px rgba(255,255,255,.98), 0 4px 9px rgba(8,100,145,.16); }
.follow-button { border-color: #6dcf53; background: linear-gradient(180deg, #fff 0%, #f1ffd8 18%, #c8f56f 54%, #80e52d 100%); box-shadow: inset 0 1px 0 #fff, inset 0 2px 3px rgba(255,255,255,.52), inset 0 -2px 3px rgba(54,135,36,.14), 0 2px 0 rgba(54,135,36,.16), 0 4px 7px rgba(54,135,36,.12); }
.follow-button.following { border-color: rgba(22,139,213,.15); background: transparent; box-shadow: none; }
.modal-backdrop { backdrop-filter: blur(2px); }
.modal {
  border-color: #62cde2;
  background: linear-gradient(180deg, #fff 0%, #f3fcff 7%, #e5f8fc 8%, #f8fdff 22%, #eefaff 100%);
  box-shadow: inset 0 1px 0 #fff, inset 1px 0 rgba(255,255,255,.85), 0 2px 0 rgba(22,139,213,.12), 0 18px 46px rgba(5,68,94,.23);
}
.modal-head { background: linear-gradient(180deg, #fff 0%, #f4fdff 22%, #cff0f8 100%); box-shadow: inset 0 1px #fff, inset 0 -1px rgba(22,139,213,.13); }
.field input, .field textarea, .comment-form input { box-shadow: inset 0 2px 4px rgba(8,100,145,.09), inset 0 1px 0 #fff, 0 1px 0 rgba(255,255,255,.98); }
.mobile-nav {
  border-top: 2px solid #64cee4;
  background: linear-gradient(180deg, #fff 0%, #f1fcff 15%, #d8f5fb 58%, #c1edf5 100%);
  box-shadow: inset 0 1px #fff, inset 0 -2px rgba(22,139,213,.09), 0 -3px 0 rgba(181,237,250,.62), 0 -6px 12px rgba(8,100,145,.12);
  backdrop-filter: none;
}
.mobile-nav button:nth-child(3) {
  background: linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.25) 17%, transparent 54%), linear-gradient(180deg, #65d8f3 0%, #20d3e4 48%, #00bfd0 100%);
  box-shadow: inset 0 1px #fff, inset 0 2px 4px rgba(255,255,255,.36), inset 0 -3px rgba(8,100,145,.18), 0 2px 0 rgba(8,100,145,.17), 0 5px 9px rgba(8,100,145,.18);
}
.site-footer { color: #4f7f91; }

@keyframes bluumi-wave-front {
  0% { transform: translate3d(-3%, 2px, 0) rotate(-1.5deg); }
  50% { transform: translate3d(0, -9px, 0) rotate(0deg); }
  100% { transform: translate3d(3%, 3px, 0) rotate(1.5deg); }
}
@keyframes bluumi-wave-back {
  0% { transform: translate3d(3%, 7px, 0) rotate(1.2deg); }
  100% { transform: translate3d(-4%, -7px, 0) rotate(-1.2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .skyline::before, .skyline::after { animation: none; }
}

.flow-lines {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 112vh;
  min-height: 620px;
  pointer-events: none;
  fill: none;
  stroke-linecap: round;
  stroke-width: 1.8;
}
.flow-lines path:nth-child(1) { stroke: rgba(255,255,255,.82); }
.flow-lines path:nth-child(2) { stroke: rgba(255,255,255,.48); stroke-width: 1.2; }
.flow-lines path:nth-child(3) { stroke: rgba(89,200,240,.38); stroke-width: 1.4; }
.flow-lines-back {
  top: -5vh;
  filter: drop-shadow(0 1px 3px rgba(255,255,255,.65));
  animation: bluumi-line-drift-back 38s ease-in-out infinite alternate;
}
.flow-lines-front {
  top: 1vh;
  filter: drop-shadow(0 1px 4px rgba(89,200,240,.38));
  animation: bluumi-line-drift-front 31s ease-in-out infinite alternate;
}
.brand-mark {
  flex: 0 0 32px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 33% 20%, #fff 0 7%, rgba(255,255,255,.7) 13%, transparent 29%), linear-gradient(150deg, #a9efff 0%, #59c8f0 43%, #168bd5 82%, #087bae 100%);
  box-shadow: inset 0 2px 3px rgba(255,255,255,.98), inset -3px -5px 7px rgba(5,68,94,.24), 0 0 0 2px rgba(181,237,250,.85), 0 4px 9px rgba(8,100,145,.24);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 22px;
  text-shadow: 0 1px 2px rgba(5,68,94,.4);
}
.weather-art::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(118deg, transparent 0 39%, rgba(255,255,255,.32) 42%, transparent 46%), linear-gradient(180deg, rgba(255,255,255,.24), transparent 46%);
  content: '';
  pointer-events: none;
}
.horizon, .hill {
  border-top: 2px solid rgba(255,255,255,.8);
  background: linear-gradient(180deg, rgba(255,255,255,.68) 0%, rgba(255,255,255,.18) 12%, #65c9d0 43%, #35a99d 100%);
  box-shadow: inset 0 8px 14px rgba(255,255,255,.34), inset 0 -7px 12px rgba(8,100,145,.1);
}
.hill-one { background: linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,.13) 15%, #52bea5 49%, #248f88); }
.hill-two { background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.2) 17%, #a3e3c3 55%, #66c9b0); }

@keyframes bluumi-line-drift-back {
  from { transform: translate3d(-1.2%, 0, 0) scaleY(.98); }
  to { transform: translate3d(1.2%, -1.4vh, 0) scaleY(1.02); }
}
@keyframes bluumi-line-drift-front {
  from { transform: translate3d(1.1%, 1vh, 0) scaleY(1.02); }
  to { transform: translate3d(-1.1%, -1vh, 0) scaleY(.98); }
}
@media (prefers-reduced-motion: reduce) {
  .flow-lines { animation: none; }
}
.skyline::before { animation-duration: 30s; }
.skyline::after { animation-duration: 42s; }
.button, .icon-button, .mobile-nav button:nth-child(3) { position: relative; isolation: isolate; overflow: hidden; }
.button::after, .icon-button::after, .mobile-nav button:nth-child(3)::after {
  position: absolute;
  z-index: -1;
  top: -75%;
  bottom: -75%;
  left: -65%;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.08) 25%, rgba(255,255,255,.68) 49%, rgba(255,255,255,.12) 72%, transparent 100%);
  content: '';
  pointer-events: none;
  transform: translate3d(-160%, 0, 0) rotate(12deg);
  animation: liquid-sheen 9s cubic-bezier(.42, 0, .58, 1) infinite;
}
.button:hover::after, .icon-button:hover::after, .mobile-nav button:nth-child(3):hover::after { animation-duration: 2.8s; }
.button-primary { border-bottom-color: #078caf; }
.button-soft { border-bottom-color: #69bfd5; }
.gender-choice { min-height: 44px; align-content: center; font-size: 11px; font-weight: 700; }
.gender-choice input { accent-color: #42c95a; }
.avatar-settings { display: flex; align-items: center; margin-bottom: 16px; padding: 12px; gap: 14px; border: 1px solid rgba(22,139,213,.24); border-radius: 8px; background: linear-gradient(180deg, #fff, #e5f8fc); box-shadow: inset 0 1px #fff, 0 2px 5px rgba(8,100,145,.08); }
.avatar-settings-preview { width: 64px; height: 64px; flex: 0 0 auto; border: 2px solid white; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #12bfd0, 0 0 0 4px rgba(128,229,45,.55), 0 3px 7px rgba(8,100,145,.17); }
.avatar-settings-copy { display: grid; justify-items: start; gap: 6px; }
.avatar-settings-copy strong { color: #07516f; font-size: 12px; }
.avatar-upload-button { min-height: 30px; font-size: 10px; }
.avatar-file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.settings-section { margin-top: 17px; padding-top: 13px; border-top: 1px solid rgba(22,139,213,.2); }
.settings-section h3 { margin: 0 0 10px; color: #155f7b; font-size: 12px; }
.privacy-form { display: grid; gap: 9px; }
.privacy-toggle { display: flex; align-items: center; justify-content: space-between; padding: 10px; gap: 12px; border: 1px solid rgba(22,139,213,.2); border-radius: 7px; background: linear-gradient(180deg, #fff, #eefaff); }
.privacy-toggle span { display: grid; gap: 3px; }
.privacy-toggle strong { color: #07516f; font-size: 11px; }
.privacy-toggle small { color: #638492; font-size: 10px; }
.privacy-toggle input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: #42c95a; }
.account-list { display: grid; gap: 8px; }
.account-list-row { display: flex; align-items: center; min-width: 0; padding: 7px; gap: 8px; border: 1px solid rgba(22,139,213,.16); border-radius: 7px; background: rgba(245,253,255,.8); }
.account-list-row .avatar { width: 32px; height: 32px; }
.account-list-name { display: grid; min-width: 0; gap: 2px; }
.account-list-name strong, .account-list-name small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-list-name strong { color: #155f7b; font-size: 10px; }
.account-list-name small { color: #638492; font-size: 9px; }
.list-action { min-height: 28px; margin-left: auto; padding: 0 8px; font-size: 9px; }
.list-dismiss { width: 27px; height: 27px; flex: 0 0 auto; margin: 0; }
.profile-actions { display: flex; align-items: center; margin-top: 9px; gap: 8px; }
.profile-actions .follow-button { margin: 0; }
.private-profile { display: grid; justify-items: center; margin-top: 14px; padding: 25px 12px; gap: 6px; border: 1px solid rgba(22,139,213,.23); border-radius: 8px; background: linear-gradient(180deg, #fff, #e8f9fc); text-align: center; }
.private-profile strong { color: #07516f; font-size: 13px; }
.private-profile span { color: #638492; font-size: 10px; }
.follow-button.requested { border-color: #65c8df; background: linear-gradient(180deg, #fff, #dff6fc); color: #087bae; }
.button:focus-visible, .icon-button:focus-visible { outline-color: rgba(18,191,208,.55); }

@keyframes liquid-sheen {
  0%, 48% { transform: translate3d(-160%, 0, 0) rotate(12deg); }
  90%, 100% { transform: translate3d(360%, 0, 0) rotate(12deg); }
}
@media (prefers-reduced-motion: reduce) {
  .button::after, .icon-button::after, .mobile-nav button:nth-child(3)::after { animation: none; }
}
.avatar-settings { border-color: #83d6e7; background: linear-gradient(180deg, #fff 0%, #f4fdff 12%, #dff6fb 100%); box-shadow: inset 0 1px #fff, inset 0 -2px rgba(22,139,213,.08), 0 3px 7px rgba(8,100,145,.09); }
.avatar-settings-copy .form-help { margin-top: -2px; }
.avatar-file-input:focus-visible + .form-help { outline: 2px solid rgba(18,191,208,.5); }
.settings-section { border-top-color: #8ed8e7; }
.settings-section h3 { text-shadow: 0 1px rgba(255,255,255,.8); }
.privacy-toggle { border-color: #91d6e5; background: linear-gradient(180deg, #fff 0%, #f2fcff 22%, #dff6fb 100%); box-shadow: inset 0 1px #fff, inset 0 -2px rgba(8,123,174,.06), 0 2px 5px rgba(8,100,145,.07); }
.privacy-toggle input { appearance: none; position: relative; width: 36px; height: 20px; border: 1px solid #66b9cf; border-radius: 12px; background: linear-gradient(180deg, #c6eaf1, #eefcff); box-shadow: inset 0 2px 4px rgba(8,100,145,.16), 0 1px #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.privacy-toggle input::before { position: absolute; top: 1px; left: 1px; width: 16px; height: 16px; border: 1px solid #8bcfdd; border-radius: 50%; background: linear-gradient(180deg, #fff, #c8f4fb); box-shadow: inset 0 1px #fff, 0 1px 3px rgba(8,100,145,.22); content: ''; transition: transform .2s; }
.privacy-toggle input:checked { border-color: #52bd60; background: linear-gradient(180deg, #c9f578, #80e52d); }
.privacy-toggle input:checked::before { border-color: #fff; transform: translateX(16px); }
.account-list-row { border-color: #a4dce8; background: linear-gradient(180deg, #fff, #e9f9fc); box-shadow: inset 0 1px #fff, 0 2px 5px rgba(8,100,145,.06); }
.profile-actions { flex-wrap: wrap; }
.private-profile { border-color: #83d6e7; background: linear-gradient(180deg, #fff, #def6fb); box-shadow: inset 0 1px #fff, 0 3px 8px rgba(8,100,145,.08); }
.follow-button.requested { border-color: #64c5dd; background: linear-gradient(180deg, #fff, #d8f5fb); color: #087bae; box-shadow: inset 0 1px #fff, 0 2px 5px rgba(8,100,145,.1); }

.flow-lines { width: 240%; }
.flow-lines-back {
  animation-name: bluumi-wave-scroll, bluumi-wave-frequency-back;
  animation-duration: 96s, 68s;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
}
.flow-lines-front {
  animation-name: bluumi-wave-scroll, bluumi-wave-frequency-front;
  animation-duration: 122s, 82s;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
}
@keyframes bluumi-wave-scroll {
  from { left: -10%; }
  to { left: -130%; }
}
@keyframes bluumi-wave-frequency-back {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(.94); }
}
@keyframes bluumi-wave-frequency-front {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .skyline::before, .skyline::after, .flow-lines { animation: none; }
}

.icon-message, .icon-group {
  display: inline-block;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  background-color: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}
.icon-message { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.5a7.5 7.5 0 0 1-8 7.5 9 9 0 0 1-4-.9L3 20l1.5-4A7.2 7.2 0 0 1 4 12a8 8 0 0 1 8-8 7.5 7.5 0 0 1 8 7.5Z'/%3E%3C/svg%3E"); }
.icon-group { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20a6 6 0 0 1 12 0M16 5.5a3 3 0 0 1 0 5.8M18 14a5 5 0 0 1 3 4.6'/%3E%3C/svg%3E"); }
.modal-wide:has(.inbox-layout) { width: min(100%, 820px); }
.modal-body:has(.inbox-layout) { padding: 0; }
.inbox-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); height: min(72vh, 610px); min-height: 390px; overflow: hidden; }
.inbox-sidebar { display: flex; min-width: 0; flex-direction: column; border-right: 1px solid rgba(22,139,213,.2); background: linear-gradient(180deg, #f6fdff, #eaf9fc); }
.inbox-actions { display: flex; align-items: center; padding: 11px; gap: 7px; border-bottom: 1px solid rgba(22,139,213,.15); }
.inbox-actions .button { min-width: 0; min-height: 34px; flex: 1; padding: 0 8px; font-size: 10px; white-space: nowrap; }
.inbox-actions .icon-button { width: 35px; height: 34px; }
.conversation-list { display: grid; min-height: 0; align-content: start; overflow: auto; padding: 7px; gap: 4px; }
.conversation-item { display: flex; align-items: center; width: 100%; min-width: 0; min-height: 62px; padding: 8px; gap: 9px; border: 1px solid transparent; border-radius: 7px; background: transparent; text-align: left; cursor: pointer; }
.conversation-item:hover, .conversation-item.active { border-color: rgba(22,139,213,.2); background: linear-gradient(180deg, #fff, #dff6fb); box-shadow: inset 0 1px #fff, 0 2px 5px rgba(8,100,145,.07); }
.conversation-avatar, .chat-header-avatar { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid rgba(18,191,208,.35); border-radius: 50%; background: linear-gradient(145deg, #fff, #d8f4fa); color: #087bae; }
.conversation-avatar img, .chat-header-avatar img { width: 100%; height: 100%; object-fit: cover; }
.conversation-avatar.group-avatar, .chat-header-avatar.group-avatar { border-radius: 13px 13px 13px 5px; background: linear-gradient(145deg, #f6ffd9, #bde982); color: #347b56; font-size: 18px; }
.conversation-copy { display: grid; min-width: 0; flex: 1; gap: 4px; }
.conversation-copy strong, .conversation-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conversation-copy strong { color: #155f7b; font-size: 11px; }
.conversation-copy small { color: #638492; font-size: 10px; }
.conversation-unread { display: grid; min-width: 19px; height: 19px; flex: 0 0 auto; place-items: center; padding: 0 5px; border-radius: 10px; background: #11bfd0; color: #fff; font-size: 9px; font-weight: 700; }
.chat-list-empty { margin: 12px 7px; color: #638492; font-size: 10px; line-height: 1.5; }
.chat-pane { display: grid; min-width: 0; grid-template-rows: auto minmax(0, 1fr) auto auto; background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(241,251,254,.97)); }
.chat-empty { display: grid; align-content: center; justify-items: center; padding: 25px; gap: 10px; color: #638492; text-align: center; }
.chat-empty strong { color: #155f7b; font-size: 14px; }
.chat-empty > span:last-child { font-size: 11px; }
.chat-start-mark { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid rgba(18,191,208,.32); border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, #c8f3fb 58%, #70cfe2); color: #087bae; box-shadow: inset 0 1px #fff, 0 3px 9px rgba(8,123,174,.12); font-size: 19px; }
.chat-header { display: flex; align-items: center; min-height: 64px; padding: 10px 15px; gap: 10px; border-bottom: 1px solid rgba(22,139,213,.17); background: linear-gradient(180deg, #fff, #e8f9fc); }
.chat-header-copy { display: grid; min-width: 0; gap: 3px; }
.chat-header-copy strong { overflow: hidden; color: #07516f; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.chat-header-copy small { color: #638492; font-size: 10px; }
.chat-back { display: none; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(22,139,213,.2); border-radius: 50%; background: #fff; color: #087bae; cursor: pointer; font-size: 20px; }
.chat-messages { display: flex; min-height: 0; flex-direction: column; overflow: auto; padding: 15px; gap: 10px; }
.chat-message { display: flex; align-items: flex-end; max-width: 84%; gap: 7px; }
.chat-message.mine { align-self: flex-end; }
.chat-message-avatar { width: 25px; height: 25px; flex: 0 0 auto; border: 1px solid rgba(18,191,208,.3); border-radius: 50%; object-fit: cover; }
.chat-bubble { min-width: 70px; padding: 8px 10px 6px; border: 1px solid rgba(22,139,213,.17); border-radius: 12px 12px 12px 4px; background: linear-gradient(180deg, #fff, #e9f9fc); box-shadow: inset 0 1px #fff, 0 2px 5px rgba(8,100,145,.06); }
.chat-message.mine .chat-bubble { border-color: rgba(18,191,208,.28); border-radius: 12px 12px 4px 12px; background: linear-gradient(180deg, #e9fcff, #c8f2f8); }
.chat-bubble strong { display: block; margin-bottom: 3px; color: #087bae; font-size: 9px; }
.chat-bubble p { margin: 0; color: #245d70; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
.chat-bubble time { display: block; margin-top: 4px; color: #7899a4; text-align: right; font-size: 8px; }
.chat-start-note { display: grid; align-content: center; justify-items: center; flex: 1; gap: 9px; color: #638492; text-align: center; }
.chat-start-note .chat-start-mark { width: 37px; height: 37px; }
.chat-start-note p { margin: 0; font-size: 11px; }
.chat-compose { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding: 10px 12px; gap: 8px; border-top: 1px solid rgba(22,139,213,.16); background: rgba(255,255,255,.8); }
.chat-compose textarea { width: 100%; min-height: 39px; max-height: 100px; resize: vertical; padding: 10px; border: 1px solid rgba(22,139,213,.24); border-radius: 8px; background: linear-gradient(180deg, #fff, #f2fbfd); color: #07516f; font-size: 11px; }
.chat-compose .button { min-width: 54px; min-height: 39px; padding: 0 10px; }
.chat-form-error { min-height: 0; padding: 0 12px; }
.chat-search-panel { display: grid; gap: 12px; }
.chat-search-results { display: grid; max-height: 48vh; overflow: auto; gap: 5px; }
.chat-search-hint { margin: 5px 2px; color: #638492; font-size: 10px; line-height: 1.5; }
.chat-search-person { display: flex; align-items: center; width: 100%; min-width: 0; padding: 8px; gap: 9px; border: 1px solid rgba(22,139,213,.16); border-radius: 7px; background: linear-gradient(180deg, #fff, #f0fbfd); text-align: left; cursor: pointer; }
.chat-search-person:hover, .chat-search-person.selected { border-color: #66c8db; background: linear-gradient(180deg, #fff, #dff6fb); }
.chat-search-person .avatar { width: 34px; height: 34px; }
.chat-search-person > span:nth-child(2) { display: grid; min-width: 0; flex: 1; gap: 3px; }
.chat-search-person strong, .chat-search-person small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-search-person strong { color: #155f7b; font-size: 10px; }
.chat-search-person small { color: #638492; font-size: 9px; }
.selection-mark { display: grid; width: 23px; height: 23px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(22,139,213,.18); border-radius: 50%; background: #fff; color: #087bae; font-size: 13px; }
.selected .selection-mark { border-color: #50bd60; background: #80e52d; color: #145e3a; }
.group-chat-selection { display: flex; flex-wrap: wrap; min-height: 24px; gap: 6px; }
.member-chip { display: inline-flex; align-items: center; min-height: 25px; padding: 0 8px; gap: 7px; border: 1px solid #8ad6e4; border-radius: 14px; background: linear-gradient(180deg, #fff, #dff6fb); color: #155f7b; cursor: pointer; font-size: 9px; }
.group-chat-form .chat-search-results { max-height: 34vh; }
@media (max-width: 700px) {
  .modal-wide:has(.inbox-layout) { width: 100%; height: min(88vh, 760px); max-height: 91vh; }
  .inbox-layout { grid-template-columns: minmax(0, 1fr); height: min(78vh, 680px); min-height: 390px; }
  .inbox-layout.has-active .inbox-sidebar, .inbox-layout:not(.has-active) .chat-pane { display: none; }
  .inbox-layout.has-active .chat-pane { display: grid; }
  .chat-back { display: grid; }
  .chat-messages { padding: 12px; }
  .chat-message { max-width: 91%; }
}

.icon-bell {
  display: inline-block;
  width: 19px;
  height: 19px;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9M10 21h4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.notification-badge { position: absolute; top: 1px; right: 1px; display: grid; min-width: 13px; height: 13px; place-items: center; padding: 0 3px; border: 1px solid #fff; border-radius: 8px; background: #f27867; color: #fff; font-size: 8px; font-weight: 800; line-height: 1; }
.topics-section { margin-top: 22px; }
.topic-list { display: flex; flex-wrap: wrap; margin-top: 10px; gap: 6px; }
.topic-chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 8px; gap: 6px; border: 1px solid rgba(22,139,213,.18); border-radius: 14px; background: linear-gradient(180deg, #fff, #e4f8fc); color: #087bae; cursor: pointer; font-size: 9px; font-weight: 700; }
.topic-chip small { color: #638492; font-size: 8px; font-weight: 500; }
.topic-chip:hover { border-color: #65c9db; background: linear-gradient(180deg, #fff, #d3f3f8); }
.hashtag-link { display: inline; padding: 0 2px; border: 0; background: transparent; color: #087bae; cursor: pointer; font-size: inherit; font-weight: 700; }
.hashtag-link:hover { color: #42a989; text-decoration: underline; }
.explore-topics { padding: 12px 2px; border-bottom: 1px solid rgba(22,139,213,.18); }
.explore-topics h2 { margin: 0; color: #155f7b; font-size: 13px; }
.explore-people-results { display: grid; gap: 8px; }
.modal-wide:has(.notification-list) { width: min(100%, 600px); }
.notification-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 0 0 10px; border-bottom: 1px solid rgba(22,139,213,.17); color: #638492; font-size: 10px; }
.notification-list { display: grid; max-height: min(62vh, 540px); overflow: auto; }
.notification-item { display: flex; align-items: center; width: 100%; min-width: 0; padding: 11px 4px; gap: 9px; border: 0; border-bottom: 1px solid rgba(22,139,213,.12); background: transparent; text-align: left; cursor: pointer; }
.notification-item:hover { background: rgba(215,245,251,.48); }
.notification-item.unread { background: linear-gradient(90deg, rgba(223,246,251,.8), rgba(255,255,255,.35)); }
.notification-item .avatar { width: 38px; height: 38px; }
.notification-copy { display: grid; min-width: 0; flex: 1; gap: 3px; color: #426c7d; font-size: 10px; line-height: 1.4; }
.notification-copy strong { color: #07516f; font-size: 10px; }
.notification-copy small { overflow: hidden; color: #638492; text-overflow: ellipsis; white-space: nowrap; }
.notification-copy time { color: #8ba4ac; font-size: 8px; }
.notification-unread-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #12bfd0; box-shadow: 0 0 0 3px rgba(18,191,208,.12); }
.notification-empty { display: grid; min-height: 210px; align-content: center; justify-items: center; padding: 24px; gap: 9px; color: #638492; text-align: center; }
.notification-empty strong { color: #155f7b; font-size: 13px; }
.notification-empty > span:last-child { font-size: 10px; }
.sleep-reminder { display: grid; justify-items: center; padding: 8px 3px 4px; gap: 14px; text-align: center; }
.sleep-moon { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid rgba(18,139,184,.24); border-radius: 50%; background: radial-gradient(circle at 32% 24%, #fff 0 7%, transparent 28%), linear-gradient(145deg, #e9fbff, #acdce9 64%, #77b6cb); color: #347f9e; box-shadow: inset 0 2px 5px rgba(255,255,255,.9), 0 5px 14px rgba(8,100,145,.13); font-size: 26px; animation: sleep-moon-float 4s ease-in-out infinite; }
.sleep-reminder p { max-width: 340px; margin: 0; color: #426c7d; font-size: 12px; line-height: 1.7; }
.sleep-reminder-actions { display: grid; width: 100%; justify-items: center; gap: 8px; }
.sleep-reminder-actions .button { width: 100%; }
.sleep-reminder-actions .text-button { padding: 7px 10px; }
@keyframes sleep-moon-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.hashtag-posts, .notification-post { display: grid; gap: 12px; }
.button, .icon-button, .follow-button { transition: transform .38s cubic-bezier(.2,.75,.2,1), filter .38s, box-shadow .38s; }
.button:hover:not(:disabled), .icon-button:hover:not(:disabled), .follow-button:hover:not(:disabled) { transform: translateY(-2px) scale(1.018); filter: saturate(1.12); }
.button:active:not(:disabled), .icon-button:active:not(:disabled), .follow-button:active:not(:disabled) { transform: translateY(1px) scale(.975); transition-duration: .12s; }
.button::after, .icon-button::after, .mobile-nav button:nth-child(3)::after { animation-duration: 7s; }
.button:hover::after, .icon-button:hover::after, .mobile-nav button:nth-child(3):hover::after { animation-duration: 1.8s; }
@media (max-width: 700px) {
  .modal-wide:has(.notification-list), .modal-wide:has(.hashtag-posts), .modal-wide:has(.notification-post) { width: 100%; max-height: 91vh; }
  .notification-item { padding: 10px 3px; }
  .topics-section { margin-top: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .icon-button, .follow-button, .sleep-moon, .button::after, .icon-button::after, .mobile-nav button:nth-child(3)::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

.icon-bell {
  display: inline-block;
  width: 19px;
  height: 19px;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9M10 21h4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.notification-badge { position: absolute; top: 1px; right: 1px; display: grid; min-width: 13px; height: 13px; place-items: center; padding: 0 3px; border: 1px solid #fff; border-radius: 8px; background: #f27867; color: #fff; font-size: 8px; font-weight: 800; line-height: 1; }
.topics-section { margin-top: 22px; }
.topic-list { display: flex; flex-wrap: wrap; margin-top: 10px; gap: 6px; }
.topic-chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 8px; gap: 6px; border: 1px solid rgba(22,139,213,.18); border-radius: 14px; background: linear-gradient(180deg, #fff, #e4f8fc); color: #087bae; cursor: pointer; font-size: 9px; font-weight: 700; }
.topic-chip small { color: #638492; font-size: 8px; font-weight: 500; }
.topic-chip:hover { border-color: #65c9db; background: linear-gradient(180deg, #fff, #d3f3f8); }
.hashtag-link { display: inline; padding: 0 2px; border: 0; background: transparent; color: #087bae; cursor: pointer; font-size: inherit; font-weight: 700; }
.hashtag-link:hover { color: #42a989; text-decoration: underline; }
.explore-topics { padding: 12px 2px; border-bottom: 1px solid rgba(22,139,213,.18); }
.explore-topics h2 { margin: 0; color: #155f7b; font-size: 13px; }
.explore-people-results { display: grid; gap: 8px; }
.modal-wide:has(.notification-list) { width: min(100%, 600px); }
.notification-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 0 0 10px; border-bottom: 1px solid rgba(22,139,213,.17); color: #638492; font-size: 10px; }
.notification-list { display: grid; max-height: min(62vh, 540px); overflow: auto; }
.notification-item { display: flex; align-items: center; width: 100%; min-width: 0; padding: 11px 4px; gap: 9px; border: 0; border-bottom: 1px solid rgba(22,139,213,.12); background: transparent; text-align: left; cursor: pointer; }
.notification-item:hover { background: rgba(215,245,251,.48); }
.notification-item.unread { background: linear-gradient(90deg, rgba(223,246,251,.8), rgba(255,255,255,.35)); }
.notification-item .avatar { width: 38px; height: 38px; }
.notification-copy { display: grid; min-width: 0; flex: 1; gap: 3px; color: #426c7d; font-size: 10px; line-height: 1.4; }
.notification-copy strong { color: #07516f; font-size: 10px; }
.notification-copy small { overflow: hidden; color: #638492; text-overflow: ellipsis; white-space: nowrap; }
.notification-copy time { color: #8ba4ac; font-size: 8px; }
.notification-unread-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #12bfd0; box-shadow: 0 0 0 3px rgba(18,191,208,.12); }
.notification-empty { display: grid; min-height: 210px; align-content: center; justify-items: center; padding: 24px; gap: 9px; color: #638492; text-align: center; }
.notification-empty strong { color: #155f7b; font-size: 13px; }
.notification-empty > span:last-child { font-size: 10px; }
.hashtag-posts, .notification-post { display: grid; gap: 12px; }
.button, .icon-button, .follow-button { transition: transform .38s cubic-bezier(.2,.75,.2,1), filter .38s, box-shadow .38s; }
.button:hover:not(:disabled), .icon-button:hover:not(:disabled), .follow-button:hover:not(:disabled) { transform: translateY(-2px) scale(1.018); filter: saturate(1.12); }
.button:active:not(:disabled), .icon-button:active:not(:disabled), .follow-button:active:not(:disabled) { transform: translateY(1px) scale(.975); transition-duration: .12s; }
.button::after, .icon-button::after, .mobile-nav button:nth-child(3)::after { animation-duration: 7s; }
.button:hover::after, .icon-button:hover::after, .mobile-nav button:nth-child(3):hover::after { animation-duration: 1.8s; }
@media (max-width: 700px) {
  .modal-wide:has(.notification-list), .modal-wide:has(.hashtag-posts), .modal-wide:has(.notification-post) { width: 100%; max-height: 91vh; }
  .notification-item { padding: 10px 3px; }
  .topics-section { margin-top: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .icon-button, .follow-button, .button::after, .icon-button::after, .mobile-nav button:nth-child(3)::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

:root {
  font-family: Tahoma, Geneva, sans-serif;
  --retro-page: #c8e1ed;
  --retro-panel: #edfaff;
  --retro-panel-edge: #6eb9d1;
  --retro-raised: #e1f7fd;
  --retro-raised-edge: #76c6dc;
  --retro-ink: #104d6c;
  --retro-muted: #557f92;
  --retro-accent: #09a7ca;
  --retro-highlight: #fff;
  --retro-shadow: rgba(12, 75, 111, .28);
}
:root[data-theme="bubblegum"] {
  --retro-page: #f2d8ea;
  --retro-panel: #fff1fa;
  --retro-panel-edge: #d67fb4;
  --retro-raised: #f9dcf0;
  --retro-raised-edge: #df8abd;
  --retro-ink: #71345f;
  --retro-muted: #966585;
  --retro-accent: #d94e9f;
  --retro-shadow: rgba(112, 48, 95, .25);
}
:root[data-theme="cyberpop"] {
  --retro-page: #172b46;
  --retro-panel: #e6f5f4;
  --retro-panel-edge: #65959b;
  --retro-raised: #d7eee7;
  --retro-raised-edge: #75b49c;
  --retro-ink: #183e4b;
  --retro-muted: #4a737c;
  --retro-accent: #6cbd45;
  --retro-shadow: rgba(14, 37, 54, .4);
}
:root[data-theme="bluejeans"] {
  --retro-page: #bdd6e8;
  --retro-panel: #e8f0f7;
  --retro-panel-edge: #698ead;
  --retro-raised: #d3e4f2;
  --retro-raised-edge: #7c9fbb;
  --retro-ink: #294c6c;
  --retro-muted: #5e7a95;
  --retro-accent: #387dab;
  --retro-shadow: rgba(39, 71, 103, .29);
}
body {
  color: var(--retro-ink);
  background-color: var(--retro-page);
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.13) 3px 4px), linear-gradient(135deg, rgba(255,255,255,.45), transparent 55%);
}
.topbar {
  border-bottom: 3px solid var(--retro-panel-edge);
  background: linear-gradient(180deg, #fff 0%, var(--retro-panel) 30%, var(--retro-raised) 76%, var(--retro-panel-edge) 100%);
  box-shadow: inset 0 1px #fff, inset 0 -2px rgba(20,79,113,.14), 0 3px 0 rgba(255,255,255,.62), 0 5px 11px var(--retro-shadow);
}
.left-rail { gap: 4px; }
.nav-item, .button, .icon-button, .searchbox, .stories-panel, .post-card, .weather-card, .search-result, .modal {
  border-radius: 3px;
}
.button, .icon-button, .follow-button {
  border-color: var(--retro-panel-edge);
  box-shadow: inset 1px 1px 0 var(--retro-highlight), inset -1px -2px 0 rgba(18,75,108,.17), 0 2px 0 rgba(13,77,112,.2), 0 4px 7px rgba(13,77,112,.13);
}
.button-primary {
  border: 1px solid color-mix(in srgb, var(--retro-accent) 76%, #124d68);
  background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.44) 13%, transparent 40%), linear-gradient(180deg, color-mix(in srgb, var(--retro-accent) 57%, white), var(--retro-accent) 57%, color-mix(in srgb, var(--retro-accent) 82%, #073d5e));
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,.27);
}
.button-soft, .icon-button {
  border-color: var(--retro-raised-edge);
  background: linear-gradient(180deg, #fff 0%, var(--retro-panel) 24%, var(--retro-raised) 73%, color-mix(in srgb, var(--retro-raised-edge) 40%, white));
  color: var(--retro-ink);
}
.button:active:not(:disabled), .icon-button:active:not(:disabled), .follow-button:active:not(:disabled) {
  box-shadow: inset 2px 2px 4px rgba(14,65,94,.24), 0 1px 0 rgba(255,255,255,.7);
}
.nav-item.active {
  border: 1px solid var(--retro-panel-edge);
  border-radius: 3px;
  background: linear-gradient(180deg, #fff, var(--retro-panel) 23%, var(--retro-raised) 75%, var(--retro-raised-edge));
  box-shadow: inset 1px 1px 0 #fff, inset -1px -2px 0 rgba(18,75,108,.12), 0 2px 0 rgba(13,77,112,.16);
}
.searchbox, .stories-panel, .post-card, .weather-card, .search-result, .modal {
  border: 2px solid var(--retro-panel-edge);
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 rgba(10,73,105,.13), 2px 3px 0 rgba(255,255,255,.58), 4px 7px 14px var(--retro-shadow);
}
.stories-panel { background: linear-gradient(180deg, #fff, var(--retro-panel) 13%, var(--retro-raised) 14%, #f8fdff); }
.post-card { background: linear-gradient(180deg, #fff, var(--retro-panel) 12%, #fff 13%, var(--retro-panel)); }
.post-head { background: linear-gradient(180deg, #fff, var(--retro-panel) 45%, var(--retro-raised)); }
.avatar, .profile-avatar, .avatar-settings-preview { image-rendering: pixelated; }
.avatar { border: 2px solid white; box-shadow: 0 0 0 1px var(--retro-panel-edge), 1px 2px 3px var(--retro-shadow); }
.post-media { image-rendering: pixelated; filter: saturate(.82) contrast(1.04); }
.post-meta { color: var(--retro-ink); }
.action-icon { color: var(--retro-accent); }
.weather-card { background: linear-gradient(145deg, #fff 0%, var(--retro-panel) 25%, var(--retro-raised) 72%, var(--retro-panel-edge)); }
.modal {
  background: linear-gradient(180deg, #fff 0%, var(--retro-panel) 9%, var(--retro-raised) 10%, #f8fdff 30%, var(--retro-panel));
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 rgba(12,70,99,.15), 0 4px 0 rgba(255,255,255,.7), 0 18px 46px var(--retro-shadow);
}
.modal-head { background: linear-gradient(180deg, #fff, var(--retro-panel) 32%, var(--retro-raised) 80%, var(--retro-panel-edge)); }
.modal-head h2, h1, h2, .page-title, .profile-name { color: var(--retro-ink); font-family: Tahoma, Geneva, sans-serif; text-shadow: 0 1px #fff; }
.guestbook-panel, .profile-status { border: 2px solid var(--retro-panel-edge); background: linear-gradient(180deg, #fff, var(--retro-panel) 12%, var(--retro-raised)); box-shadow: inset 1px 1px #fff, 2px 3px 0 rgba(255,255,255,.65), 4px 7px 14px var(--retro-shadow); }
.profile-header[data-profile-theme="bubblegum"], .guestbook-panel[data-profile-theme="bubblegum"], .profile-status[data-profile-theme="bubblegum"] { --retro-panel: #fff1fa; --retro-panel-edge: #d67fb4; --retro-raised: #f9dcf0; --retro-ink: #71345f; --retro-muted: #966585; --retro-accent: #d94e9f; }
.profile-header[data-profile-theme="cyberpop"], .guestbook-panel[data-profile-theme="cyberpop"], .profile-status[data-profile-theme="cyberpop"] { --retro-panel: #e6f5f4; --retro-panel-edge: #65959b; --retro-raised: #d7eee7; --retro-ink: #183e4b; --retro-muted: #4a737c; --retro-accent: #6cbd45; }
.profile-header[data-profile-theme="bluejeans"], .guestbook-panel[data-profile-theme="bluejeans"], .profile-status[data-profile-theme="bluejeans"] { --retro-panel: #e8f0f7; --retro-panel-edge: #698ead; --retro-raised: #d3e4f2; --retro-ink: #294c6c; --retro-muted: #5e7a95; --retro-accent: #387dab; }
.profile-header[data-profile-theme="bubblegum"], .profile-header[data-profile-theme="cyberpop"], .profile-header[data-profile-theme="bluejeans"] { background: linear-gradient(180deg, #fff, var(--retro-panel), var(--retro-raised)); }
.profile-status { display: flex; align-items: center; width: fit-content; margin: 10px 0; padding: 7px 10px; gap: 7px; border-radius: 2px; color: var(--retro-ink); font-size: 11px; }
.profile-grid-note { display: grid; align-content: start; justify-items: start; padding: 8px; background: linear-gradient(160deg, #fff, var(--retro-raised)); color: var(--retro-ink); text-align: left; }
.profile-grid-note strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 5; font-size: 10px; line-height: 1.45; }
.profile-grid-format { margin-bottom: 7px; padding: 2px 5px; border: 1px solid var(--retro-panel-edge); background: white; color: var(--retro-accent); font-size: 8px; font-weight: 800; }
.save-post { margin-left: auto; font-size: 18px; }
.save-post.saved { color: #c34f8a; }
.poll-card { display: grid; margin: 10px 13px; padding: 11px; gap: 7px; border: 2px groove var(--retro-panel-edge); background: linear-gradient(180deg, #fff, var(--retro-panel)); }
.poll-card h3 { margin: 0 0 3px; color: var(--retro-ink); font-size: 13px; }
.poll-option, .poll-result { position: relative; min-height: 34px; overflow: hidden; padding: 8px 10px; border: 1px solid var(--retro-panel-edge); background: linear-gradient(180deg, #fff, var(--retro-raised)); color: var(--retro-ink); text-align: left; font-size: 10px; }
.poll-option { cursor: pointer; box-shadow: inset 1px 1px #fff, 0 2px 0 rgba(13,77,112,.13); }
.poll-option:hover { background: var(--retro-raised); }
.poll-result-fill { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--retro-accent) 20%, transparent); }
.poll-result-copy { position: relative; display: flex; justify-content: space-between; gap: 6px; }
.poll-result-copy small, .poll-total { color: var(--retro-muted); font-size: 9px; }
.poll-result.chosen { border-color: var(--retro-accent); }
.settings-divider { padding: 4px 0; border-bottom: 1px dotted var(--retro-panel-edge); color: var(--retro-muted); font-size: 9px; font-weight: 800; }
.settings-inline-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.theme-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.theme-swatch { display: flex; align-items: center; min-height: 36px; padding: 6px 8px; gap: 8px; border: 1px solid var(--retro-panel-edge); background: linear-gradient(180deg, #fff, var(--retro-raised)); color: var(--retro-ink); cursor: pointer; font-size: 9px; }
.theme-swatch i { width: 18px; height: 18px; border: 1px solid rgba(0,0,0,.15); border-radius: 50%; background: var(--swatch); box-shadow: inset 1px 1px rgba(255,255,255,.85); }
.guestbook-panel { margin-top: 18px; padding: 13px; }
.guestbook-heading { display: flex; align-items: center; margin-bottom: 11px; gap: 9px; }
.guestbook-stamp { display: grid; width: 32px; height: 32px; place-items: center; border: 2px outset var(--retro-panel-edge); background: linear-gradient(145deg, #fff, var(--retro-raised)); color: var(--retro-accent); font-size: 15px; }
.guestbook-heading h2 { margin: 0; font-size: 14px; }
.guestbook-heading p { margin: 3px 0 0; color: var(--retro-muted); font-size: 9px; }
.guestbook-entries { display: grid; gap: 7px; }
.guestbook-entry { display: flex; align-items: flex-start; padding: 8px; gap: 7px; border: 1px dotted var(--retro-panel-edge); background: rgba(255,255,255,.77); }
.guestbook-entry.pinned { border-style: solid; background: linear-gradient(100deg, #fff9d9, #fff); }
.guestbook-entry.pending { background: repeating-linear-gradient(135deg, #fff 0 6px, var(--retro-panel) 6px 12px); }
.guestbook-entry .avatar { width: 29px; height: 29px; }
.guestbook-entry-copy { min-width: 0; flex: 1; }
.guestbook-entry-copy strong { color: var(--retro-ink); font-size: 9px; }
.guestbook-entry-copy strong small { color: var(--retro-muted); font-weight: 400; }
.guestbook-entry-copy p { margin: 3px 0; color: var(--retro-ink); font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
.guestbook-entry-copy time { color: var(--retro-muted); font-size: 8px; }
.guestbook-empty { margin: 10px 0; color: var(--retro-muted); font-size: 10px; }
.guestbook-form { display: grid; margin-top: 11px; gap: 6px; }
.guestbook-form textarea { min-height: 58px; padding: 8px; border: 1px inset var(--retro-panel-edge); background: white; color: var(--retro-ink); font-size: 10px; resize: vertical; }
.guestbook-form > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--retro-muted); font-size: 8px; }
.guestbook-form .button { min-height: 30px; }
.saved-post-list { display: grid; gap: 12px; }
.music-library-list { display: grid; margin-bottom: 11px; gap: 7px; }
.music-attachment, .music-library-track { display: flex; align-items: center; min-width: 0; padding: 8px; gap: 9px; border: 2px groove var(--retro-panel-edge); background: linear-gradient(180deg, #fff, var(--retro-panel) 35%, var(--retro-raised)); }
.cd-disc { position: relative; display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(25,71,100,.46); border-radius: 50%; background: repeating-conic-gradient(from 0deg, #e5fbff 0deg 8deg, #addde8 9deg 10deg, #fff 11deg 18deg); box-shadow: inset 0 1px #fff, 0 2px 3px rgba(12,75,111,.22); animation: cd-spin 3.4s linear infinite; animation-play-state: paused; }
.cd-disc::before { position: absolute; width: 11px; height: 11px; border: 2px solid rgba(255,255,255,.94); border-radius: 50%; background: radial-gradient(circle at 35% 28%, #fff, #8fbac7); box-shadow: 0 0 0 1px rgba(27,78,103,.32); content: ''; }
.cd-disc > span { position: absolute; bottom: 5px; max-width: 26px; overflow: hidden; color: #28647f; text-align: center; text-overflow: ellipsis; font-size: 5px; font-weight: 900; }
.music-attachment.playing .cd-disc, .music-library-track.playing .cd-disc { animation-play-state: running; }
.music-track-copy { display: grid; min-width: 0; flex: 1; gap: 4px; }
.music-track-copy strong, .music-track-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.music-track-copy strong { color: var(--retro-ink); font-size: 9px; }
.music-track-copy small { color: var(--retro-muted); font-size: 8px; }
.music-track-audio { width: min(240px, 42%); height: 31px; flex: 0 1 auto; accent-color: var(--retro-accent); }
.music-upload-form { display: grid; gap: 9px; }
.music-upload-drop { min-height: 66px; }
.music-attachment .cd-disc { width: 33px; height: 33px; }
@keyframes cd-spin { to { transform: rotate(360deg); } }
@media (max-width: 700px) {
  .music-attachment, .music-library-track { flex-wrap: wrap; }
  .music-track-audio { width: calc(100% - 48px); margin-left: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .cd-disc { animation: none; }
}
@media (max-width: 700px) {
  .settings-inline-fields { grid-template-columns: 1fr; }
}

:root {
  --retro-page: #9bdcf2;
  --retro-panel: #effcff;
  --retro-panel-edge: #70bfd7;
  --retro-raised: #dff8ff;
  --retro-raised-edge: #86d5e8;
  --retro-ink: #15516d;
  --retro-muted: #537f8e;
  --retro-accent: #13a9d0;
  --retro-highlight: #fff;
  --retro-shadow: rgba(19, 79, 101, .2);
  font-family: Tahoma, Geneva, sans-serif;
}
body {
  min-height: 100vh;
  color: var(--retro-ink);
  background: #61bce9 url('/Background.png') center 58% / cover fixed no-repeat;
}
.skyline {
  display: none;
}
.flow-lines { display: none; }
.layout { position: relative; z-index: 1; max-width: 1310px; gap: 25px; }
.topbar {
  height: 76px;
  border-bottom: 3px solid #58b8d4;
  background: linear-gradient(180deg, #fff 0%, #f1fcff 18%, #d5f4fb 69%, #9edcec 100%);
  box-shadow: inset 0 1px #fff, inset 0 -2px rgba(20,79,113,.12), 0 3px 0 rgba(255,255,255,.62), 0 6px 14px rgba(19,79,101,.17);
  backdrop-filter: none;
}
.brand { color: #134e6b; font-family: Tahoma, Geneva, sans-serif; font-size: 25px; text-shadow: 0 1px #fff; }
.brand-mark { border-radius: 50%; }
.searchbox { border-radius: 5px; background: linear-gradient(180deg, #fff, #ebfaff 42%, #d0f0f8); }
.button, .icon-button, .nav-item, .stories-panel, .post-card, .weather-card, .search-result, .modal { border-radius: 5px; }
.button, .icon-button {
  min-height: 39px;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -2px 0 rgba(18,75,108,.14), 0 2px 0 rgba(13,77,112,.18), 0 5px 9px rgba(13,77,112,.12);
}
.button-primary {
  border-color: #078ca9;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.3) 18%, transparent 44%), linear-gradient(180deg, #53d6ec 0%, #11bcd5 56%, #078ca9 100%);
}
.button-primary:hover { background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.3) 18%, transparent 44%), linear-gradient(180deg, #7be3f2 0%, #24cde0 56%, #0c9eb8 100%); }
.button-soft, .icon-button { border-color: #7ac9dc; }
.left-rail { padding: 9px; border: 2px solid rgba(94,177,204,.62); border-radius: 6px; background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(226,248,252,.8)); box-shadow: inset 1px 1px #fff, 0 3px 0 rgba(255,255,255,.62), 0 7px 14px rgba(19,79,101,.1); }
.nav-item { min-height: 42px; }
.nav-item.active { border-color: #8cd2e1; }
.feed-heading { margin-top: 3px; }
h1, h2, .page-title, .profile-name, .modal-head h2 { font-family: Tahoma, Geneva, sans-serif; letter-spacing: 0; }
h1 { font-size: 29px; text-shadow: 0 1px rgba(255,255,255,.85); }
.eyebrow, .weather-label { color: #286b82; text-shadow: 0 1px rgba(255,255,255,.66); }
.stories-panel, .post-card, .search-result, .modal {
  border: 2px solid var(--retro-panel-edge);
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 rgba(10,73,105,.1), 2px 3px 0 rgba(255,255,255,.6), 4px 8px 15px rgba(19,79,101,.16);
}
.stories-panel { background: linear-gradient(180deg, #fff 0%, #f4fdff 10%, #dff7fc 11%, #f8feff 42%, #e3f7fa 100%); }
.post-card { background: linear-gradient(180deg, #fff 0%, #f4fcff 12%, #fff 13%, #f3fbfd 100%); }
.post-head { background: linear-gradient(180deg, #fff, #f4fcff 46%, #dff5fa); }
.avatar, .profile-avatar, .avatar-settings-preview { image-rendering: auto; filter: none; }
.avatar { border: 2px solid #fff; box-shadow: 0 0 0 1px #78c4d8, 1px 2px 3px rgba(19,79,101,.18); }
.post-media { image-rendering: auto; filter: none; }
.weather-card { min-height: 174px; border: 2px solid #74c5d5; background: linear-gradient(150deg, #fff 0%, #daf7fd 46%, #a8e87b 100%); box-shadow: inset 1px 1px #fff, 0 3px 0 rgba(255,255,255,.62), 4px 8px 16px rgba(19,79,101,.16); }
.weather-copy p { color: #15516d; font-family: Tahoma, Geneva, sans-serif; text-shadow: 0 1px rgba(255,255,255,.8); }
.horizon, .hill { border-top: 2px solid rgba(255,255,255,.78); background: linear-gradient(180deg, #d4f6a1, #7bd354 34%, #3eaa45 100%); }
.hill-one { background: linear-gradient(180deg, #c4ef8b, #54bd49 43%, #278b3d); }
.hill-two { background: linear-gradient(180deg, #e4fac0, #a1df70 48%, #58b64b); }
.post-controls { background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(218,245,250,.7)); }
.action-icon { color: #138cb1; }
.action-icon.liked, .heading-comma { color: #e66c58; }
.profile-grid-item { image-rendering: auto; }
.modal-backdrop { background: rgba(18,74,99,.32); backdrop-filter: blur(2px); }
.modal { border-color: #61bbd4; background: linear-gradient(180deg, #fff 0%, #eefbff 8%, #d9f4fa 9%, #f9feff 31%, #e7f8fc 100%); }
.modal-head { background: linear-gradient(180deg, #fff, #effbff 30%, #d0f0f7); }
.field input, .field textarea, .comment-form input { border-radius: 4px; }
.empty-state { border-radius: 6px; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(228,248,250,.8)); }
.site-footer, .community-note p { color: #286b82; }
.mobile-nav { border-top: 3px solid #64c1d5; background: linear-gradient(180deg, #fff, #eafaff 27%, #cceef6 100%); box-shadow: inset 0 1px #fff, 0 -4px 0 rgba(255,255,255,.68), 0 -7px 15px rgba(19,79,101,.14); backdrop-filter: none; }
.mobile-nav button:nth-child(3) { border-radius: 7px; }
.button::after, .icon-button::after, .mobile-nav button:nth-child(3)::after { z-index: 1; opacity: .48; }
.nav-image-icon { width: 22px; height: 22px; flex: 0 0 auto; border: 1px solid white; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px #55b7d2, 0 2px 4px rgba(19,79,101,.22); }
.video-stage { position: relative; overflow: hidden; background: linear-gradient(180deg, #bceefa, #74c9e9); }
.video-stage .post-media { display: block; }
.video-music-icon, .video-grid-icon { position: absolute; z-index: 2; width: 48px; height: 48px; border: 2px solid rgba(255,255,255,.96); border-radius: 50%; background: #fff; object-fit: cover; box-shadow: inset 0 1px 2px #fff, 0 2px 0 rgba(8,88,126,.26), 0 4px 9px rgba(8,88,126,.28); pointer-events: none; }
.video-music-icon { right: 12px; bottom: 12px; }
.video-grid-icon { top: 7px; right: 7px; width: 27px; height: 27px; border-width: 1px; }
.cd-disc { width: 40px; height: 40px; flex: 0 0 auto; border: 0; border-radius: 50%; background: transparent; object-fit: contain; box-shadow: 0 2px 4px rgba(12,75,111,.24); transform-origin: center; }
.music-attachment .cd-disc { width: 36px; height: 36px; }
.cd-disc::before, .cd-disc > span { display: none; }
.mobile-nav .nav-image-icon { width: 25px; height: 25px; }
.profile-grid-item video { display: block; }
.button-image-icon { display: block; width: 25px; height: 25px; border: 1px solid rgba(255,255,255,.96); border-radius: 50%; background: white; object-fit: cover; box-shadow: inset 0 1px #fff, 0 1px 3px rgba(8,88,126,.18); }
.create-top .button-image-icon { width: 27px; height: 27px; }
.feed-heading { margin: 4px 0 16px; padding: 14px 15px; border: 2px solid #70bfd7; border-radius: 6px; background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(233,250,255,.94) 45%, rgba(202,239,248,.94)); box-shadow: inset 1px 1px #fff, inset -1px -2px rgba(18,75,108,.08), 2px 3px 0 rgba(255,255,255,.68), 0 6px 13px rgba(19,79,101,.14); }
.feed-heading .eyebrow { margin-bottom: 5px; }
.feed-heading h1 { font-size: 26px; }
.suggestions-section { margin-top: 18px; padding: 13px 12px; border: 2px solid #70bfd7; border-radius: 6px; background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(230,249,253,.93) 48%, rgba(204,240,247,.93)); box-shadow: inset 1px 1px #fff, inset -1px -2px rgba(18,75,108,.08), 2px 3px 0 rgba(255,255,255,.62), 0 6px 13px rgba(19,79,101,.13); }
.suggestions-section .section-heading { margin: 0 1px 10px; }
.suggestion-list { margin-top: 0; }
.suggestion { padding: 5px 4px; border-top: 1px solid rgba(91,173,195,.2); }
.suggestion:first-child { border-top: 0; }
.weather-card { background: linear-gradient(145deg, #fff 0%, #e1f8fc 58%, #c8f2dc 100%); }
.weather-copy p { max-width: 180px; line-height: 1.18; }
.weather-foot { max-width: 155px; display: inline-block; line-height: 1.4; }
.topics-section { margin-top: 18px; padding: 13px 12px; border: 2px solid var(--retro-panel-edge); border-radius: 6px; background: linear-gradient(180deg, rgba(255,255,255,.96), var(--retro-panel) 48%, var(--retro-raised)); box-shadow: inset 1px 1px #fff, inset -1px -2px rgba(18,75,108,.08), 2px 3px 0 rgba(255,255,255,.62), 0 6px 13px var(--retro-shadow); }
.topics-section .section-heading { margin: 0 1px 10px; }
.topics-section .topic-list { margin-top: 0; padding: 9px; border: 1px solid var(--retro-raised-edge); border-radius: 4px; background: rgba(255,255,255,.58); }
.topics-section .suggestions-empty { margin: 0; }
.screen-time-settings { padding: 13px 11px; border: 2px solid #70bfd7; border-radius: 6px; background: linear-gradient(180deg, #fff, #eafaff 42%, #d8f4fa); box-shadow: inset 1px 1px #fff, 0 3px 7px rgba(19,79,101,.1); }
.screen-time-summary { display: grid; margin: 0 0 11px; padding: 11px; gap: 9px; border: 1px solid #9ad8e7; border-radius: 4px; background: linear-gradient(180deg, #fff, #e3f8fc); box-shadow: inset 0 1px #fff, inset 0 2px 4px rgba(8,100,145,.05); }
.screen-time-summary > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.screen-time-summary strong { color: #15516d; font-size: 18px; }
.screen-time-summary small { color: #537f8e; font-size: 10px; }
.screen-time-track { height: 9px; overflow: hidden; border: 1px solid #76bfd1; border-radius: 8px; background: linear-gradient(180deg, #c1eaf2, #f4fdff); box-shadow: inset 0 1px 3px rgba(8,100,145,.18); }
.screen-time-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(180deg, #9ce870 0%, #63c746 55%, #349b39 100%); box-shadow: inset 0 1px rgba(255,255,255,.82), 0 0 5px rgba(92,193,68,.34); transition: width .35s ease; }
.screen-time-form { display: grid; gap: 9px; }
.screen-time-form .button { width: 100%; }
.screen-time-sound { min-height: 55px; }
.screen-time-reminder { display: grid; justify-items: center; padding: 8px 3px 3px; gap: 13px; text-align: center; }
.screen-time-flower { display: grid; width: 54px; height: 54px; place-items: center; border: 2px solid white; border-radius: 50%; background: radial-gradient(circle at 32% 25%, #fff, #c8f3ff 42%, #59c8f0 75%, #168bd5); color: #fff; font-size: 27px; text-shadow: 0 1px #168bd5; box-shadow: inset 0 2px 5px rgba(255,255,255,.9), 0 0 0 3px #8cdb67, 0 4px 10px rgba(8,100,145,.2); }
.screen-time-reminder p { max-width: 370px; margin: 0; color: #315f73; font-size: 13px; line-height: 1.65; }
.screen-time-reminder-actions { display: flex; width: 100%; flex-wrap: wrap; justify-content: center; gap: 8px; }
.screen-time-reminder-actions .button { flex: 1 1 150px; }
@media (max-width: 1050px) {
  .left-rail { display: none; }
  .layout { grid-template-columns: minmax(0, 630px) 278px; justify-content: center; }
}
@media (max-width: 700px) {
  .topbar { height: 62px; }
  .layout { display: block; max-width: 560px; }
  .feed-heading { align-items: center; margin-right: 1px; margin-left: 1px; padding: 11px; }
  h1 { font-size: 23px; }
  .feed-heading h1 { font-size: 21px; }
  .suggestions-section { margin-right: 1px; margin-left: 1px; }
  body { background-position: 12% center; background-attachment: scroll; }
}

:root {
  --scene-wash: rgba(255,255,255,.025);
  --profile-wash: rgba(255,255,255,.66);
}
:root[data-theme="web2000"] {
  --retro-page: #9bdcf2;
  --retro-panel: #effcff;
  --retro-panel-edge: #70bfd7;
  --retro-raised: #dff8ff;
  --retro-raised-edge: #86d5e8;
  --retro-ink: #15516d;
  --retro-muted: #537f8e;
  --retro-accent: #13a9d0;
  --retro-shadow: rgba(19,79,101,.2);
  --scene-wash: rgba(255,255,255,.025);
  --profile-wash: rgba(255,255,255,.66);
}
:root[data-theme="bubblegum"] {
  --retro-page: #f2d8ea;
  --retro-panel: #fff1fa;
  --retro-panel-edge: #d67fb4;
  --retro-raised: #f9dcf0;
  --retro-raised-edge: #df8abd;
  --retro-ink: #71345f;
  --retro-muted: #966585;
  --retro-accent: #d94e9f;
  --retro-shadow: rgba(112,48,95,.25);
  --scene-wash: rgba(223,100,173,.2);
  --profile-wash: rgba(255,215,239,.62);
}
:root[data-theme="cyberpop"] {
  --retro-page: #d8edcb;
  --retro-panel: #eff8e8;
  --retro-panel-edge: #78ad68;
  --retro-raised: #daf0c8;
  --retro-raised-edge: #99ca79;
  --retro-ink: #315d35;
  --retro-muted: #64815a;
  --retro-accent: #62b94f;
  --retro-shadow: rgba(40,85,40,.24);
  --scene-wash: rgba(100,181,70,.22);
  --profile-wash: rgba(205,244,177,.62);
}
:root[data-theme="bluejeans"] {
  --retro-page: #bdd6e8;
  --retro-panel: #e8f0f7;
  --retro-panel-edge: #698ead;
  --retro-raised: #d3e4f2;
  --retro-raised-edge: #7c9fbb;
  --retro-ink: #294c6c;
  --retro-muted: #5e7a95;
  --retro-accent: #387dab;
  --retro-shadow: rgba(39,71,103,.29);
  --scene-wash: rgba(69,128,191,.23);
  --profile-wash: rgba(191,219,243,.64);
}
body {
  color: var(--retro-ink);
  background-color: var(--retro-page);
  background-image: linear-gradient(var(--scene-wash),var(--scene-wash)), url('/Background.png');
  background-position: center 58%, center 58%;
  background-size: cover, cover;
  background-attachment: fixed, fixed;
  background-repeat: no-repeat;
}
.topbar { border-bottom-color: var(--retro-panel-edge); }
.feed-heading, .suggestions-section, .screen-time-settings {
  border-color: var(--retro-panel-edge);
  background: linear-gradient(180deg, rgba(255,255,255,.97), var(--retro-panel) 48%, var(--retro-raised));
}
.stories-panel { border-color: var(--retro-panel-edge); background: linear-gradient(180deg, #fff, var(--retro-panel) 45%, var(--retro-raised)); }
.post-card { border-color: var(--retro-panel-edge); background: linear-gradient(180deg, #fff, var(--retro-panel) 45%, var(--retro-raised)); }
.post-head { background: linear-gradient(180deg, #fff, var(--retro-panel) 50%, var(--retro-raised)); }
.weather-card { border-color: var(--retro-panel-edge); background: linear-gradient(145deg, #fff, var(--retro-panel) 55%, var(--retro-raised)); }
.mobile-nav { border-top-color: var(--retro-panel-edge); background: linear-gradient(180deg, #fff, var(--retro-panel) 45%, var(--retro-raised)); }
.screen-time-summary { border-color: var(--retro-raised-edge); background: linear-gradient(180deg, #fff, var(--retro-panel)); }
.screen-time-track { border-color: var(--retro-raised-edge); }
.profile-page {
  overflow: hidden;
  padding: 11px;
  border: 2px solid var(--retro-panel-edge);
  border-radius: 6px;
  background-color: var(--retro-page);
  background-image: linear-gradient(var(--profile-wash),var(--profile-wash)), url('/Background.png');
  background-position: center;
  background-size: cover;
  box-shadow: inset 1px 1px #fff, 0 3px 0 rgba(255,255,255,.62), 0 8px 18px var(--retro-shadow);
}
.profile-page[data-profile-theme="bubblegum"] { --profile-wash: rgba(255,215,239,.68); --retro-panel: #fff1fa; --retro-panel-edge: #d67fb4; --retro-raised: #f9dcf0; --retro-ink: #71345f; --retro-muted: #966585; --retro-accent: #d94e9f; }
.profile-page[data-profile-theme="cyberpop"] { --profile-wash: rgba(205,244,177,.68); --retro-panel: #eff8e8; --retro-panel-edge: #78ad68; --retro-raised: #daf0c8; --retro-ink: #315d35; --retro-muted: #64815a; --retro-accent: #62b94f; }
.profile-page[data-profile-theme="bluejeans"] { --profile-wash: rgba(191,219,243,.7); --retro-panel: #e8f0f7; --retro-panel-edge: #698ead; --retro-raised: #d3e4f2; --retro-ink: #294c6c; --retro-muted: #5e7a95; --retro-accent: #387dab; }
.profile-page .profile-header { border: 1px solid color-mix(in srgb, var(--retro-panel-edge) 70%, white); border-radius: 4px; background: rgba(255,255,255,.78); box-shadow: inset 1px 1px #fff; }
.profile-page .profile-name, .profile-page .profile-stats strong { color: var(--retro-ink); }
.profile-page .profile-handle, .profile-page .profile-stats span, .profile-page .profile-bio { color: var(--retro-muted); }
.profile-page .profile-grid { margin-top: 11px; padding: 7px; border: 1px solid color-mix(in srgb, var(--retro-panel-edge) 70%, white); border-radius: 4px; background: rgba(255,255,255,.7); }
.profile-page .guestbook-panel { border-color: var(--retro-panel-edge); background: rgba(255,255,255,.82); }
.verified-badge {
  display: inline-grid;
  width: 14px;
  height: 14px;
  margin-left: 4px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 50%;
  background: linear-gradient(180deg, #78d9f4, #168bd5 65%, #087bae);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--retro-accent) 62%, #fff), 0 1px 3px rgba(5,68,94,.2);
  color: white;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  vertical-align: 1px;
}
.profile-name .verified-badge { width: 17px; height: 17px; font-size: 11px; vertical-align: 2px; }
@media (max-width: 700px) {
  body { background-position: 12% center, 12% center; background-attachment: scroll, scroll; }
  .profile-page { padding: 7px; }
  .profile-page .profile-header { grid-template-columns: 78px 1fr; padding: 12px 9px; gap: 11px; }
  .profile-page .profile-avatar { width: 72px; height: 72px; }
}

.video-view-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; gap: 12px; }
.video-view-heading .page-title { margin: 0; }
.video-view-heading .button { flex: 0 0 auto; }
.video-stage .double-like-heart, .reel-slide .double-like-heart { position: absolute; z-index: 4; top: 50%; left: 50%; display: grid; width: 96px; height: 96px; place-items: center; color: white; opacity: 0; pointer-events: none; transform: translate(-50%,-50%) scale(.35); filter: drop-shadow(0 4px 10px rgba(0,0,0,.42)); }
.double-like-heart svg { width: 100%; height: 100%; fill: rgba(239,79,130,.92); stroke: white; stroke-width: 1.1; }
.post-card.double-liked .double-like-heart, .reel-slide.double-liked .double-like-heart { animation: reel-like-pop .72s cubic-bezier(.16,.78,.27,1.22) both; }
.reels-overlay { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 50% 15%, #19455b 0%, #071b2a 70%); }
.reels-feed { width: min(100%, 520px); height: 100%; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; scroll-snap-type: y mandatory; scrollbar-width: none; background: #07131d; }
.reels-feed::-webkit-scrollbar { display: none; }
.reel-slide { position: relative; display: block; width: 100%; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; isolation: isolate; background: #09131b; color: white; }
.reel-media { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; background: #08151e; object-fit: cover; touch-action: manipulation; }
.reel-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(2,16,25,.34), transparent 17%, transparent 50%, rgba(2,16,25,.2) 66%, rgba(2,16,25,.78) 100%); pointer-events: none; }
.reels-close { position: fixed; z-index: 65; top: max(14px, env(safe-area-inset-top)); right: max(16px, calc((100vw - 570px) / 2)); display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.78); border-radius: 50%; background: linear-gradient(180deg, rgba(255,255,255,.42), rgba(24,71,94,.76)); box-shadow: inset 0 1px rgba(255,255,255,.7), 0 3px 8px rgba(0,0,0,.3); color: white; cursor: pointer; font-size: 25px; }
.reel-actions { position: absolute; z-index: 2; right: 12px; bottom: max(148px, calc(env(safe-area-inset-bottom) + 126px)); display: grid; justify-items: center; gap: 14px; }
.reel-action { display: grid; min-width: 48px; justify-items: center; padding: 0; gap: 3px; border: 0; background: transparent; color: white; cursor: pointer; filter: drop-shadow(0 2px 3px rgba(0,0,0,.55)); }
.reel-action svg { display: block; width: 33px; height: 33px; padding: 6px; overflow: visible; border: 1px solid rgba(255,255,255,.68); border-radius: 50%; background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(7,73,103,.55)); box-shadow: inset 0 1px rgba(255,255,255,.55), 0 2px 6px rgba(0,0,0,.22); }
.reel-action.liked svg { border-color: #ffd1e0; background: linear-gradient(180deg, #ff9dbc, #e3497d); }
.reel-action.reposted svg { border-color: #d6ffc0; background: linear-gradient(180deg, #a6e889, #388d52); }
.reel-action .action-count { color: white; font-size: 10px; font-weight: 800; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.reel-action.save-post { min-width: 48px; height: 47px; font-size: 26px; line-height: 1; }
.reel-action.save-post.saved { color: #ffe28d; }
.reel-copy { position: absolute; z-index: 2; right: 76px; bottom: max(24px, env(safe-area-inset-bottom)); left: 16px; display: grid; max-width: 390px; justify-items: start; gap: 8px; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.reel-author { display: flex; align-items: center; max-width: 100%; padding: 0; gap: 8px; border: 0; background: transparent; color: white; cursor: pointer; text-align: left; }
.reel-author .avatar { width: 32px; height: 32px; }
.reel-author strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.reel-copy > p { max-width: 100%; margin: 0; color: white; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.reel-copy .hashtag-link { color: #b5f1ff; }
.reel-soundtrack { min-width: 0; max-width: 100%; padding: 5px 8px; border: 1px solid rgba(255,255,255,.36); border-radius: 5px; background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(3,37,55,.58)); color: white; }
.reel-soundtrack .cd-disc { width: 30px; height: 30px; }
.reel-soundtrack .music-track-copy strong, .reel-soundtrack .music-track-copy small { color: white; text-shadow: 0 1px 3px #000; }
.reel-disc { width: 35px; height: 35px; border: 2px solid white; border-radius: 50%; background: white; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.reel-soundtrack.playing .cd-disc, .reel-disc.playing { animation: cd-spin 3.4s linear infinite; }
.repost-context { display: flex; align-items: center; min-height: 27px; padding: 5px 13px; gap: 6px; border-bottom: 1px solid rgba(91,173,195,.2); background: linear-gradient(180deg, var(--retro-panel), var(--retro-raised)); color: var(--retro-muted); font-size: 9px; font-weight: 700; }
.repost-context svg, .reel-repost-context svg { width: 13px; height: 13px; flex: 0 0 auto; }
.repost-action.reposted { color: #4c9a53; }
.reel-repost-context { display: flex; align-items: center; gap: 5px; color: #d9f8ff; font-size: 10px; font-weight: 700; text-shadow: 0 1px 3px #000; }
.reel-sound-toggle { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.82); border-radius: 50%; background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(10,100,135,.68)); box-shadow: inset 0 1px rgba(255,255,255,.74), 0 2px 4px rgba(0,0,0,.25); color: white; cursor: pointer; font-size: 15px; font-weight: 800; }
@keyframes reel-like-pop {
  0% { opacity: 0; transform: translate(-50%,-50%) scale(.35) rotate(-16deg); }
  32% { opacity: 1; transform: translate(-50%,-50%) scale(1.18) rotate(8deg); }
  58% { opacity: 1; transform: translate(-50%,-50%) scale(.98) rotate(0); }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1.35); }
}
@media (max-width: 700px) {
  .reels-overlay { display: block; background: #07131d; }
  .reels-feed { width: 100%; height: 100%; }
  .reel-slide { min-height: 100svh; }
  .reel-copy { bottom: max(25px, calc(env(safe-area-inset-bottom) + 16px)); left: 13px; }
  .reel-actions { right: 8px; bottom: max(145px, calc(env(safe-area-inset-bottom) + 122px)); gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .post-card.double-liked .double-like-heart, .reel-slide.double-liked .double-like-heart, .reel-soundtrack.playing .cd-disc, .reel-disc.playing { animation: none; }
}

:root {
  font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
  color: #164653;
  --ink: #164653;
  --muted: #5f8490;
  --line: rgba(72, 164, 194, .34);
  --paper: rgba(247, 252, 255, .91);
  --aqua: #4ce0df;
  --aqua-dark: #087fc1;
  --leaf: #72dda0;
  --coral: #e96b89;
  --sun: #f2d968;
  --shadow: 0 12px 34px rgba(8, 100, 145, .14);
}
body {
  color: var(--ink);
  background: radial-gradient(ellipse at 82% 13%, rgba(114,221,160,.24), transparent 25%), radial-gradient(ellipse at 8% 34%, rgba(76,224,223,.25), transparent 28%), linear-gradient(135deg, #f7fcff 0%, #e4f7ff 48%, #dff7ef 100%);
}
.topbar {
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(228,247,255,.78));
  border-bottom-color: rgba(76,174,206,.38);
  box-shadow: 0 3px 13px rgba(8,100,145,.08), inset 0 1px rgba(255,255,255,.95);
}
.searchbox, .stories-panel, .post-card, .weather-card, .suggestion-item, .modal, .mobile-nav {
  border-color: rgba(72,164,194,.38);
  box-shadow: inset 0 1px rgba(255,255,255,.96), 0 5px 17px rgba(8,100,145,.09);
}
.searchbox { background: linear-gradient(180deg, #fff, rgba(228,247,255,.96)); }
.button-primary {
  border-color: #2bb8d4;
  color: #fff;
  background: linear-gradient(180deg, #a2f4f2 0%, #4ce0df 38%, #168dca 100%);
  box-shadow: inset 0 2px 2px rgba(255,255,255,.94), inset 0 -2px 2px rgba(3,94,145,.18), 0 2px 0 #087fc1, 0 5px 10px rgba(8,100,145,.2);
  text-shadow: 0 1px 2px rgba(6,81,113,.55);
}
.button-primary:hover { background: linear-gradient(180deg, #c5fffb, #69ebe5 39%, #168dca); box-shadow: inset 0 2px 2px #fff, 0 2px 0 #087fc1, 0 7px 14px rgba(8,100,145,.24); }
.button:active, .icon-button:active { transform: translateY(1px); box-shadow: inset 0 2px 5px rgba(5,91,126,.2); }
.button-soft, .icon-button {
  border-color: rgba(72,164,194,.43);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(220,245,252,.94));
  color: #176a8d;
  box-shadow: inset 0 1px #fff, inset 0 -1px rgba(8,127,193,.08), 0 2px 5px rgba(8,100,145,.08);
}
.button-soft:hover, .icon-button:hover { background: linear-gradient(180deg, #fff, #d9f7fa); }
.nav-item.active { color: #075f8a; background: linear-gradient(180deg, #fff, #dff7fc); box-shadow: inset 0 1px #fff, inset 0 -1px #94ddec, 0 2px 6px rgba(8,100,145,.1); }
.post-card { background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(242,251,255,.97)); }
.post-head { background: linear-gradient(180deg, #fff, rgba(228,247,255,.6)); }
.stories-panel, .weather-card { background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(228,247,255,.88)); }
.modal { background: linear-gradient(180deg, #fff, #f1fbff); }
.modal-backdrop { background: rgba(10,73,101,.38); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline-color: rgba(8,127,193,.62); }
.profile-actions { margin-top: 12px; }
.profile-page {
  --space-edge: rgba(8,127,193,.38);
  --space-panel: rgba(255,255,255,.88);
  --space-ink: #164653;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 13px;
  border: 1px solid var(--space-edge);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255,255,255,.73), rgba(228,247,255,.72)), radial-gradient(ellipse at 84% 14%, rgba(114,221,160,.55), transparent 32%), linear-gradient(145deg, #73cfff, #e4f7ff 58%, #b4f2e6);
  box-shadow: inset 0 1px rgba(255,255,255,.96), 0 8px 22px rgba(8,100,145,.12);
  color: var(--space-ink);
}
.profile-page::before {
  position: absolute;
  z-index: 0;
  top: -35px;
  right: -24px;
  width: 155px;
  height: 155px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 24%, rgba(255,255,255,.64), rgba(76,224,223,.12) 54%, transparent 68%);
  content: '';
  pointer-events: none;
}
.profile-page > .profile-header, .profile-page > .space-modules { position: relative; z-index: 1; }
.chat-compose { grid-template-columns: auto minmax(0, 1fr) auto; }
.chat-attach-button { min-height: 39px; padding: 0 10px; cursor: pointer; }
.chat-image-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.chat-image-input:focus-visible + textarea { outline: 2px solid rgba(8,127,193,.55); outline-offset: 2px; }
.chat-attachment-preview { display: grid; grid-column: 1 / -1; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; padding: 7px; gap: 9px; border: 1px solid rgba(72,164,194,.3); border-radius: 6px; background: linear-gradient(180deg, #fff, #effaff); }
.chat-attachment-preview[hidden] { display: none; }
.chat-attachment-preview img { width: 48px; height: 48px; border-radius: 4px; object-fit: cover; }
.chat-attachment-preview span { overflow: hidden; color: #517582; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.chat-attachment-preview .text-button { padding: 6px; }
.chat-message-image { display: block; width: min(100%, 280px); max-height: 340px; margin: 0 0 5px; border: 1px solid rgba(72,164,194,.28); border-radius: 6px; object-fit: contain; background: rgba(255,255,255,.72); }
@media (max-width: 700px) {
  .chat-compose { grid-template-columns: auto minmax(0, 1fr) auto; padding: 8px; gap: 6px; }
  .chat-compose .button, .chat-attach-button { min-height: 40px; padding: 0 8px; font-size: 10px; }
  .chat-attachment-preview { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 6px; }
  .chat-attachment-preview img { width: 42px; height: 42px; }
}
.profile-page[data-space-background="sky"] { background: radial-gradient(ellipse at 72% 8%, rgba(255,255,255,.9), transparent 30%), linear-gradient(165deg, #73cfff, #eaf9ff 58%, #c5f2f2); }
.profile-page[data-space-background="garden"] { background: radial-gradient(ellipse at 83% 11%, rgba(255,255,255,.76), transparent 31%), linear-gradient(145deg, #c8f7dd, #efffed 56%, #9be1bd); }
.profile-page[data-space-background="aquarium"] { background: radial-gradient(ellipse at 75% 10%, rgba(76,224,223,.56), transparent 28%), linear-gradient(145deg, #b2f5f3, #d4f5ff 56%, #8ed5ed); }
.profile-page[data-space-palette="rose"] { --space-edge: #dc94bd; --space-panel: rgba(255,246,252,.91); --space-ink: #623c5d; }
.profile-page[data-space-palette="lime"] { --space-edge: #7cbd79; --space-panel: rgba(249,255,240,.91); --space-ink: #315d43; }
.profile-page[data-space-palette="denim"] { --space-edge: #759cbf; --space-panel: rgba(244,249,255,.92); --space-ink: #294c6c; }
.profile-page[data-space-font="tahoma"] { font-family: Tahoma, sans-serif; }
.profile-page[data-space-font="verdana"] { font-family: Verdana, sans-serif; }
.profile-page[data-space-font="comic"] { font-family: 'Comic Sans MS', 'Segoe Print', cursive; }
.profile-page[data-space-border="beveled"] { border-width: 3px; border-style: ridge; border-radius: 5px; }
.profile-page[data-space-border="soft"] { border-color: transparent; box-shadow: none; }
.profile-page[data-space-decorations="leaves"]::before { border-radius: 4% 96% 8% 92% / 4% 88% 12% 96%; background: radial-gradient(ellipse at 30% 24%, rgba(255,255,255,.74), rgba(114,221,160,.25) 55%, transparent 70%); transform: rotate(-25deg); }
.profile-page[data-space-decorations="sparkles"]::before { width: 8px; height: 8px; top: 28px; right: 44px; border: 0; border-radius: 50%; background: #fff; box-shadow: 36px 29px 0 3px rgba(255,255,255,.68), 74px 8px 0 1px rgba(255,255,255,.68), 92px 62px 0 4px rgba(255,255,255,.5); }
.profile-page[data-space-decorations="none"]::before { display: none; }
.profile-page .profile-header { position: relative; border-color: var(--space-edge); border-radius: 8px; background: linear-gradient(180deg, rgba(255,255,255,.94), var(--space-panel)); box-shadow: inset 0 1px #fff, 0 3px 9px rgba(8,100,145,.08); }
.profile-page .profile-name, .profile-page .profile-stats strong { color: var(--space-ink); }
.profile-page .profile-handle, .profile-page .profile-stats span { color: color-mix(in srgb, var(--space-ink) 64%, white); }
.profile-page .profile-grid { margin: 0; padding: 6px; border-color: var(--space-edge); border-radius: 7px; background: var(--space-panel); }
.space-modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 11px; margin-top: 11px; }
.space-widget--posts, .space-widget--guestbook { grid-column: 1 / -1; }
.space-widget { min-width: 0; padding: 12px; border: 1px solid var(--space-edge); border-radius: 8px; background: linear-gradient(180deg, rgba(255,255,255,.95), var(--space-panel)); box-shadow: inset 0 1px #fff, 0 3px 8px rgba(8,100,145,.07); }
.space-widget h2 { margin: 0 0 7px; color: var(--space-ink); font-size: 13px; }
.space-widget p { margin: 0; color: var(--space-ink); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.space-widget--posts { padding: 8px; }
.space-widget--posts > h2 { padding: 2px 3px 5px; }
.space-widget--posts .profile-grid { margin: 0; }
.space-widget--posts .profile-empty { padding: 24px 10px; }
.space-custom-window { min-height: 88px; }
.space-custom-window[data-window-size="medium"] { min-height: 150px; }
.space-custom-window[data-window-size="wide"] { grid-column: 1 / -1; }
.space-window-image { display: block; width: 100%; max-height: 460px; border: 1px solid rgba(72,164,194,.25); border-radius: 5px; object-fit: contain; background: rgba(228,247,255,.58); }
.profile-page .guestbook-panel { margin: 0; border-color: var(--space-edge); border-radius: 8px; background: var(--space-panel); }
.profile-page .profile-status { margin: 0; color: var(--space-ink); }
.profile-page[data-space-layout="wide"] .profile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.profile-page[data-space-layout="sidebar"] .space-modules { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.profile-page[data-space-layout="sidebar"] .space-widget--posts, .profile-page[data-space-layout="sidebar"] .space-widget--guestbook { grid-column: 1 / -1; }
.space-preview-post-count { display: grid; min-height: 74px; place-items: center; border: 1px dashed var(--space-edge); border-radius: 6px; color: var(--space-ink); font-size: 12px; }
.modal-wide:has(.space-editor) { width: min(1180px, calc(100vw - 36px)); }
.modal-body:has(.space-editor) { padding: 0; }
.space-editor { min-height: 620px; background: linear-gradient(180deg, #f8fdff, #eaf8fc); }
.space-editor-toolbar, .space-editor-footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; gap: 12px; border-bottom: 1px solid rgba(72,164,194,.35); background: linear-gradient(180deg, #fff, #e8f8fc); }
.space-editor-toolbar > div:first-child { display: grid; gap: 3px; }
.space-editor-toolbar strong { color: #164653; font-size: 14px; }
.space-save-state { color: #5f8490; font-size: 10px; }
.space-save-state.is-dirty { color: #a45c22; }
.space-editor-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.space-editor-actions .button { min-height: 32px; padding: 0 10px; font-size: 10px; }
.space-editor-layout { display: grid; min-height: 500px; grid-template-columns: 276px minmax(0, 1fr); }
.space-editor-tools { display: flex; min-height: 0; flex-direction: column; border-right: 1px solid rgba(72,164,194,.3); background: rgba(255,255,255,.72); }
.space-category-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 10px; gap: 5px; border-bottom: 1px solid rgba(72,164,194,.24); }
.space-category-tab { min-height: 34px; padding: 5px 7px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #517582; cursor: pointer; font-size: 10px; text-align: left; }
.space-category-tab:hover, .space-category-tab.active { border-color: rgba(72,164,194,.42); background: linear-gradient(180deg, #fff, #dff7fc); color: #075f8a; box-shadow: inset 0 1px #fff, 0 2px 5px rgba(8,100,145,.08); }
.space-category-content { min-height: 250px; flex: 1; overflow: auto; padding: 15px; }
.space-category-panel h3 { margin: 0 0 5px; color: #164653; font-size: 14px; }
.space-category-panel > p { margin: 0 0 13px; color: #638492; font-size: 11px; line-height: 1.45; }
.space-category-panel .field { gap: 6px; }
.space-category-panel .field > span { color: #164653; font-size: 11px; font-weight: 700; }
.space-category-panel select { width: 100%; min-height: 38px; padding: 7px 9px; border: 1px solid #91d6e5; border-radius: 6px; background: linear-gradient(180deg, #fff, #e7f8fc); color: #164653; }
.space-tool-footer { display: grid; padding: 12px 14px; gap: 5px; border-top: 1px solid rgba(72,164,194,.25); }
.space-tool-footer .text-button { justify-self: start; color: #087fc1; font-size: 10px; }
.space-tool-footer > span { color: #829da5; font-size: 9px; line-height: 1.4; }
.space-preview-pane { min-width: 0; padding: 18px; background: radial-gradient(ellipse at 75% 10%, rgba(114,221,160,.14), transparent 35%), linear-gradient(145deg, #e4f7ff, #f8fdff); }
.space-preview-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 11px; gap: 10px; }
.space-preview-heading h3 { margin: 0; color: #164653; font-size: 13px; }
.space-preview-heading span { color: #6e8e99; font-size: 9px; }
.space-preview-stage { display: grid; min-height: 430px; place-items: start center; overflow: auto; padding: 16px; border: 1px solid rgba(72,164,194,.32); border-radius: 8px; background: linear-gradient(180deg, rgba(255,255,255,.77), rgba(205,240,249,.74)); }
.space-preview-stage > .profile-page { width: 100%; max-width: 650px; transition: width .2s ease; }
.space-preview-stage.is-mobile > .profile-page { width: min(100%, 375px); }
.space-preview .profile-header { grid-template-columns: 72px 1fr; padding: 12px; gap: 12px; }
.space-preview .profile-avatar { width: 66px; height: 66px; }
.space-preview .profile-name { font-size: 18px; }
.space-preview .profile-stats { margin: 8px 0 0; }
.space-preview .space-widget { padding: 9px; }
.space-preview .space-widget--posts { padding: 7px; }
.space-widget-options { display: grid; gap: 7px; }
.space-widget-choice { display: flex; align-items: center; justify-content: space-between; padding: 9px; gap: 10px; border: 1px solid rgba(72,164,194,.3); border-radius: 6px; background: linear-gradient(180deg, #fff, #effaff); }
.space-widget-choice > span { display: grid; gap: 3px; }
.space-widget-choice strong { color: #164653; font-size: 11px; }
.space-widget-choice small { color: #6e8e99; font-size: 9px; }
.space-widget-choice input { width: 18px; height: 18px; accent-color: #087fc1; }
.space-section-order { display: grid; gap: 6px; }
.space-order-row { display: flex; align-items: center; justify-content: space-between; padding: 4px 5px 4px 10px; border: 1px solid rgba(72,164,194,.3); border-radius: 6px; background: linear-gradient(180deg, #fff, #effaff); }
.space-order-row strong { color: #164653; font-size: 11px; }
.space-order-row > div { display: flex; }
.space-order-row .plain-icon { width: 30px; height: 30px; margin: 0; color: #087fc1; }
.space-order-row .plain-icon:disabled { opacity: .34; cursor: default; }
.space-order-row[draggable="true"] { cursor: grab; }
.space-order-row[draggable="true"]:active { cursor: grabbing; }
.space-order-row .space-drag-handle { color: #5f8490; cursor: grab; }
.space-background-upload { display: grid; justify-items: start; margin-top: 13px; gap: 7px; }
.space-background-upload > span { color: #6e8e99; font-size: 9px; }
.space-background-upload .button, .space-image-upload-label { min-height: 34px; font-size: 10px; }
.space-file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.space-file-input:focus-visible + span, .space-file-input:focus-visible + .form-help { outline: 2px solid rgba(8,127,193,.5); }
.space-create-window { display: grid; margin-top: 12px; padding-top: 12px; gap: 8px; border-top: 1px solid rgba(72,164,194,.25); }
.space-create-window h4, .space-window-editor h4 { margin: 0; color: #164653; font-size: 11px; }
.space-create-window .field, .space-window-editor .field { display: grid; margin: 0; gap: 4px; }
.space-create-window .field > span, .space-window-editor .field > span { color: #517582; font-size: 10px; font-weight: 700; }
.space-create-window input, .space-create-window textarea, .space-create-window select, .space-window-editor input, .space-window-editor textarea, .space-window-editor select { width: 100%; min-height: 34px; padding: 7px 8px; border: 1px solid #91d6e5; border-radius: 5px; background: linear-gradient(180deg, #fff, #f0fbfe); color: #164653; font-size: 11px; }
.space-create-window textarea, .space-window-editor textarea { resize: vertical; }
.space-create-window .button { justify-self: start; }
.space-image-upload-label { display: inline-flex; width: fit-content; align-items: center; cursor: pointer; }
.space-window-editors { display: grid; margin-top: 10px; gap: 8px; }
.space-window-editor { display: grid; padding: 10px; gap: 8px; border: 1px solid rgba(72,164,194,.3); border-radius: 6px; background: linear-gradient(180deg, #fff, #effaff); }
.space-editor-footer { justify-content: flex-end; border-top: 1px solid rgba(72,164,194,.32); border-bottom: 0; }
.space-editor[data-preview-only="true"] .space-editor-tools { display: none; }
.space-editor[data-preview-only="true"] .space-editor-layout { display: block; }
.space-editor[data-preview-only="true"] .space-preview-pane { min-height: 520px; }
.space-editor[data-preview-only="true"] .space-preview-stage { min-height: 440px; }
.space-editor[data-preview-only="true"] .space-editor-footer [data-action="space-cancel"] { margin-right: auto; }
@media (max-width: 760px) {
  .modal-wide:has(.space-editor) { width: min(100%, calc(100vw - 16px)); max-height: calc(100dvh - 16px); }
  .space-editor { min-height: 0; }
  .space-editor-toolbar { align-items: flex-start; flex-direction: column; padding: 10px 12px; }
  .space-editor-actions { justify-content: flex-start; }
  .space-editor-layout { min-height: 0; grid-template-columns: 1fr; }
  .space-editor-tools { border-right: 0; }
  .space-category-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 7px; }
  .space-category-tab { min-height: 40px; padding: 4px; font-size: 9px; text-align: center; }
  .space-category-content { min-height: 170px; max-height: 230px; padding: 12px; }
  .space-tool-footer { display: none; }
  .space-preview-pane { padding: 12px; }
  .space-preview-stage { min-height: 330px; padding: 8px; }
  .space-preview-stage > .profile-page { max-width: 100%; }
  .space-editor[data-preview-only="true"] .space-preview-pane { min-height: 0; }
  .space-editor[data-preview-only="true"] .space-preview-stage { min-height: 52dvh; }
  .space-editor-footer { position: sticky; bottom: 0; padding: 10px; }
  .space-editor-footer .button { min-height: 40px; flex: 1; padding: 0 8px; font-size: 10px; }
  .profile-page[data-space-layout="wide"] .profile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-page[data-space-layout="sidebar"] .space-modules { grid-template-columns: 1fr; }
  .space-modules { grid-template-columns: 1fr; }
  .space-widget--posts, .space-widget--guestbook, .space-custom-window[data-window-size="wide"] { grid-column: 1; }
  .profile-page[data-space-layout="sidebar"] .space-widget--posts, .profile-page[data-space-layout="sidebar"] .space-widget--guestbook { grid-column: auto; }
}
@media (max-width: 420px) {
  .space-category-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .space-category-tab { text-align: left; }
  .space-editor-actions .button { padding: 0 7px; }
  .space-preview-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .space-preview .profile-header { grid-template-columns: 56px 1fr; gap: 8px; }
  .space-preview .profile-avatar { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}