:root {
  --bg: #05090d;
  --bg-soft: #090f15;
  --panel: #0d1522;
  --panel-2: #111d2f;
  --panel-3: #172844;
  --line: #293a51;
  --line-soft: rgba(155, 179, 205, .18);
  --text: #f7f9fc;
  --muted: #9eafc3;
  --silver: #d4deea;
  --red: #ec2028;
  --red-dark: #b71319;
  --red-soft: rgba(236, 32, 40, .14);
  --success: #39d98a;
  --warning: #f7b955;
  --danger: #ff636b;
  --shadow: 0 18px 50px rgba(0, 0, 0, .28);
  --radius: 14px;
  --left: 270px;
  --center: minmax(0, 790px);
  --right: 420px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-height: 100vh; color: var(--text); background: var(--bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; }

.wire-app { width: min(100%, 1710px); margin: 0 auto; min-height: 100vh; display: grid; grid-template-columns: var(--left) var(--center) var(--right); border-inline: 1px solid #111b28; }
.left-rail, .right-rail { min-width: 0; }
.left-rail { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 10px; padding: 22px 18px 16px; border-right: 1px solid var(--line-soft); background: linear-gradient(180deg, #070d13 0%, #03080c 100%); z-index: 20; }
.brand { min-height: 91px; display: grid; place-items: center; padding: 0 17px 8px; }
.brand img { width: 100%; max-width: 226px; max-height: 82px; object-fit: contain; }
.create-post, .primary-button { border: 1px solid #ff5157; background: linear-gradient(180deg, #e62a30, #b8171d); box-shadow: 0 10px 28px rgba(229, 25, 34, .18), inset 0 1px rgba(255,255,255,.18); color: #fff; font-weight: 800; }
.create-post { height: 43px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 2px; transition: transform .15s, filter .15s; }
.create-post:hover, .primary-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.create-post .icon { width: 18px; height: 18px; }
.primary-nav { display: grid; gap: 5px; }
.primary-nav a { position: relative; height: 49px; display: flex; align-items: center; gap: 15px; padding: 0 15px; border-radius: 11px; border: 1px solid rgba(100, 129, 165, .38); color: #cdd7e4; font-size: 16px; font-weight: 760; background: rgba(24, 42, 69, .74); transition: background .15s, border-color .15s, color .15s, transform .15s; }
.primary-nav a:hover { background: rgba(34, 57, 92, .88); color: #fff; transform: translateX(2px); }
.primary-nav a.active { color: #fff; background: linear-gradient(90deg, rgba(25,47,79,.98), rgba(18,34,57,.92)); border-color: #415a79; }
.primary-nav a.active::before { content: ""; position: absolute; left: -1px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 6px 6px 0; background: var(--red); }
.primary-nav a span { min-width: 0; }
.nav-badge { position: absolute; top: 6px; left: 33px; min-width: 19px; height: 19px; border-radius: 999px; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 11px; border: 2px solid #162a46; }
.rail-account { margin-top: auto; min-height: 68px; padding: 10px; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.rail-account strong, .rail-account small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-account small { color: var(--muted); }
.rail-account > .icon { width: 17px; }

.content-column { min-width: 0; border-right: 1px solid var(--line-soft); background: #050a0f; }
.page-header { min-height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid var(--line-soft); background: rgba(5,10,15,.92); backdrop-filter: blur(12px); }
.page-header h1 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.page-header > span { font-size: 19px; }

.flash { margin: 14px 18px 0; padding: 12px 14px; border-radius: 10px; border: 1px solid; font-weight: 650; }
.flash-success { color: #c6ffe2; background: rgba(57,217,138,.1); border-color: rgba(57,217,138,.4); }
.flash-error { color: #ffd0d3; background: rgba(255,99,107,.1); border-color: rgba(255,99,107,.45); }
.flash-info { color: #d4e8ff; background: rgba(89,164,255,.1); border-color: rgba(89,164,255,.42); }

.composer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px; margin: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(14,22,31,.98), rgba(8,14,20,.98)); box-shadow: inset 0 1px rgba(255,255,255,.02); }
.composer form { min-width: 0; }
.composer textarea { width: 100%; resize: vertical; min-height: 84px; max-height: 240px; border: 0; outline: 0; padding: 10px 4px; background: transparent; color: var(--text); font-size: 18px; line-height: 1.45; }
.composer textarea::placeholder { color: #8294aa; }
.composer-actions { min-height: 45px; padding-top: 12px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.composer-tools { display: flex; align-items: center; gap: 7px; color: #a9c8e9; }
.composer-tools button { width: 38px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: #afd0f2; cursor: pointer; }
.composer-tools button:hover { background: rgba(105,159,219,.1); }
.composer-tools button strong { font-size: 12px; }
.composer-tools span { margin-left: 6px; color: var(--muted); font-size: 12px; }
.primary-button, .outline-button, .danger-button { min-height: 40px; padding: 0 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.primary-button { border: 1px solid #ff5157; }
.outline-button { border: 1px solid var(--red); background: rgba(5,10,15,.82); color: #ff4a50; font-weight: 800; }
.outline-button:hover { background: var(--red-soft); }
.danger-button { border: 1px solid rgba(255,99,107,.55); background: rgba(255,99,107,.08); color: #ffb0b5; }
.full-button { width: 100%; }

.feed { border-top: 1px solid var(--line-soft); }
.post-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 13px; padding: 15px 18px; border-bottom: 1px solid var(--line-soft); background: #050a0f; transition: background .15s; }
.post-card:hover { background: #080f16; }
.post-main { min-width: 0; }
.post-main header { min-width: 0; display: flex; align-items: baseline; gap: 6px; }
.post-main header a { min-width: 0; display: inline-flex; align-items: center; gap: 5px; }
.post-main header strong { display: block; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-main header > span { min-width: 0; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-main header > button { margin-left: auto; border: 0; background: transparent; color: #bdd2ea; cursor: pointer; letter-spacing: 1px; }
.post-main p { margin: 5px 0 10px; color: #f4f7fb; font-size: 15.5px; line-height: 1.5; overflow-wrap: anywhere; }
.post-main footer { max-width: 500px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.post-main footer button { justify-self: start; min-width: 48px; height: 34px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: transparent; color: #8fa3ba; cursor: pointer; }
.post-main footer button:hover { color: #ff4b52; background: var(--red-soft); }
.post-main footer .icon { width: 18px; height: 18px; }
.post-main footer span { font-size: 12px; }
.verified { color: var(--red); font-size: .68em; vertical-align: middle; }

.wire-avatar { overflow: hidden; display: inline-grid; place-items: center; flex: 0 0 auto; aspect-ratio: 1 / 1; border-radius: 50%; border: 1px solid #4f6278; background: radial-gradient(circle at 35% 30%, #1b2b3a, #071018 72%); color: #e8edf4; font-size: 11px; font-weight: 850; font-style: italic; letter-spacing: -.03em; }
.wire-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.avatar-sm { width: 42px; height: 42px; }
.avatar-md { width: 49px; height: 49px; }
.avatar-lg { width: 60px; height: 60px; }
.profile-avatar { width: 134px !important; height: 134px !important; min-width: 134px; min-height: 134px; max-width: 134px; max-height: 134px; border-width: 4px; border-color: #071018; box-shadow: 0 0 0 1px #8ea1b5, 0 12px 30px rgba(0,0,0,.34); }

.right-rail { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 17px 17px 30px; background: #07101a; }
.side-card, .radio-card { border: 1px solid #35465c; border-radius: 12px; background: linear-gradient(180deg, #101a2a, #0b1421); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.side-card + .side-card, .radio-card { margin-top: 12px; }
.side-card > header { min-height: 51px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #334258; }
.side-card h2, .radio-card h2 { margin: 0; font-size: 18px; }
.side-card header a { color: #ff6c71; font-size: 13px; font-weight: 800; }
.trend-list { margin: 0; padding: 3px 0; list-style: none; }
.trend-list li { min-height: 55px; padding: 8px 15px; display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 10px; align-items: start; }
.trend-list li:hover { background: rgba(255,255,255,.025); }
.trend-list span { color: #c8d6e8; }
.trend-list strong, .trend-list small { display: block; }
.trend-list small { color: #c5d2e2; font-size: 12px; }
.trend-list b { color: #bcd0e7; font-size: 12px; letter-spacing: 1px; }
.follow-list { padding: 5px 0; }
.follow-row { min-height: 62px; padding: 8px 15px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; }
.follow-row span { min-width: 0; }
.follow-row strong, .follow-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.follow-row small { color: #b8c7d9; font-size: 12px; }
.follow-row button { height: 37px; min-width: 82px; border-radius: 999px; border: 1px solid #ff4a50; background: linear-gradient(#df272e,#b8171d); color: white; font-weight: 800; cursor: pointer; }
.radio-card { padding: 12px; display: grid; grid-template-columns: 43% minmax(0,1fr); gap: 12px; }
.radio-art { position: relative; min-height: 142px; border-radius: 9px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; padding: 18px; background: radial-gradient(circle at 20% 20%, #2a3440, #090d12 72%); }
.radio-art .mic { width: 36px; height: 72px; border-radius: 999px; background: #d7e3ef; color: transparent; position: relative; }
.radio-art .mic::after { content: ""; position: absolute; left: 50%; bottom: -15px; width: 3px; height: 18px; background: #d7e3ef; transform: translateX(-50%); }
.radio-art strong { font-size: 20px; font-style: italic; }
.radio-art em { color: var(--red); }
.radio-art small { position: absolute; right: 8px; bottom: 8px; background: var(--red); padding: 2px 6px; font-weight: 900; }
.radio-card p { margin: 7px 0 13px; color: #d2dbe7; font-size: 13px; }
.radio-card a { min-height: 39px; display: grid; place-items: center; border: 1px solid #ff4e54; border-radius: 9px; background: linear-gradient(#da262d,#ae161c); font-weight: 850; }

.profile-banner { position: relative; height: 236px; background: linear-gradient(115deg, #111923 0%, #0d1017 42%, #321016 100%); background-size: cover; background-position: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.profile-banner::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(163deg, transparent 0 18px, rgba(255,255,255,.025) 19px 20px), linear-gradient(160deg, transparent 0 38%, rgba(238,28,36,.85) 38.5% 39.1%, transparent 39.5%); }
.profile-banner img { position: absolute; width: 250px; left: 50%; top: 49%; transform: translate(-50%,-50%); opacity: .78; filter: drop-shadow(0 10px 24px rgba(0,0,0,.55)); }
.profile-summary { position: relative; padding: 0 20px 16px; }
.profile-topline { height: 62px; display: flex; align-items: flex-start; justify-content: space-between; }
.profile-topline .profile-avatar { transform: translateY(-70px); }
.profile-actions { padding-top: 12px; display: flex; gap: 8px; }
.profile-summary h1 { margin: 6px 0 0; font-size: 23px; }
.profile-summary .handle { margin: 0; color: var(--muted); }
.profile-bio { max-width: 660px; margin: 12px 0 9px; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 8px 17px; color: #aebdd0; font-size: 13px; }
.profile-meta a { color: #ff555b; }
.profile-counts { margin-top: 10px; color: #aebdd0; }
.profile-counts strong { color: #fff; }
.profile-tabs { height: 52px; display: grid; grid-template-columns: repeat(4,1fr); border-block: 1px solid var(--line-soft); }
.profile-tabs a { position: relative; display: grid; place-items: center; color: #aebdd0; font-weight: 750; }
.profile-tabs a:hover { background: rgba(255,255,255,.025); }
.profile-tabs a.active { color: #fff; }
.profile-tabs a.active::after { content: ""; position: absolute; bottom: -1px; width: 62px; height: 3px; border-radius: 4px 4px 0 0; background: var(--red); }

.settings-card { margin: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg,#0e1724,#09111b); }
.settings-heading { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.settings-heading h2, .form-card h2 { margin: 3px 0 7px; }
.settings-heading p { margin: 0; color: var(--muted); max-width: 600px; }
.eyebrow { margin: 0 0 5px; color: #ff555b; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.profile-manager { margin-top: 20px; display: grid; gap: 10px; }
.managed-profile { min-height: 82px; display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; gap: 13px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 11px; background: #0b131e; }
.managed-profile.selected { border-color: rgba(236,32,40,.54); background: linear-gradient(90deg,rgba(236,32,40,.07),#0b131e 28%); }
.managed-profile strong, .managed-profile span { display: block; }
.managed-profile > div > span { color: var(--muted); }
.managed-profile a, .managed-profile button { color: #ff5f65; border: 0; background: transparent; font-weight: 800; cursor: pointer; }
.active-pill { padding: 4px 9px; border-radius: 999px; color: #ffd2d4; background: var(--red-soft); font-size: 12px; }
.account-security { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.account-security h2, .account-security p { margin: 0; }
.account-security p { color: var(--muted); }

.form-card label, .auth-card label, .install-panel label { display: grid; gap: 7px; color: #d9e2ed; font-weight: 700; }
.form-card label span, .auth-card label span, .install-panel label span { font-size: 13px; }
.form-card input, .form-card textarea, .auth-card input, .install-panel input { width: 100%; border: 1px solid #405169; border-radius: 9px; outline: 0; padding: 12px 13px; background: #060c12; color: #fff; }
.form-card input:focus, .form-card textarea:focus, .auth-card input:focus, .install-panel input:focus { border-color: #db363c; box-shadow: 0 0 0 3px rgba(236,32,40,.1); }
.form-card small, .auth-card small, .install-panel small { color: var(--muted); font-weight: 450; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .wide { grid-column: 1 / -1; }
.form-actions { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line-soft); display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.form-actions > a { color: var(--muted); }
.media-preview { height: 220px; margin: -22px -22px 0; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(125deg,#111b29,#2a0d12); background-position: center; background-size: cover; }
.profile-edit-avatar { height: 72px; margin-bottom: 18px; }
.profile-edit-avatar .profile-avatar { transform: translate(8px,-70px); }
.narrow-form { max-width: 620px; }
.handle-input { display: grid; grid-template-columns: 42px 1fr; }
.handle-input b { display: grid; place-items: center; border: 1px solid #405169; border-right: 0; border-radius: 9px 0 0 9px; background: #101a27; }
.handle-input input { border-radius: 0 9px 9px 0 !important; }
.empty-state { margin: 28px 18px; padding: 50px 24px; border: 1px dashed #33465f; border-radius: 14px; text-align: center; color: var(--muted); }
.empty-state h2 { color: #fff; }

.auth-body, .install-body { background: radial-gradient(circle at 8% 4%, rgba(236,32,40,.12), transparent 34%), radial-gradient(circle at 90% 90%, rgba(35,89,148,.13), transparent 38%), #05090d; }
.auth-shell, .install-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(360px,1fr) minmax(430px,590px); }
.auth-brand, .install-intro { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 9vw; overflow: hidden; }
.auth-brand::after, .install-intro::after { content: ""; position: absolute; width: 70vw; height: 5px; left: -10%; top: 29%; background: linear-gradient(90deg,transparent,var(--red),transparent); transform: rotate(-12deg); box-shadow: 0 0 22px rgba(236,32,40,.7); opacity: .7; }
.auth-logo, .install-intro img { width: min(430px,80%); margin-bottom: 45px; position: relative; z-index: 1; }
.auth-brand h1, .install-intro h1 { margin: 8px 0 18px; font-size: clamp(42px,5vw,78px); line-height: .98; letter-spacing: -.05em; }
.auth-brand > p:last-child, .install-intro > p:last-child { max-width: 650px; color: #b2c0d1; font-size: 18px; }
.auth-panel, .install-panel { display: flex; flex-direction: column; justify-content: center; padding: 45px; border-left: 1px solid var(--line-soft); background: rgba(7,13,20,.88); backdrop-filter: blur(18px); }
.auth-card { width: 100%; max-width: 470px; margin: auto; padding: 30px; border: 1px solid #314157; border-radius: 17px; background: linear-gradient(180deg,#111b29,#0a111b); box-shadow: var(--shadow); }
.auth-card h2 { margin: 3px 0 7px; font-size: 29px; }
.auth-card > p:not(.eyebrow):not(.auth-switch) { margin: 0 0 22px; color: var(--muted); }
.auth-card form { display: grid; gap: 15px; }
.auth-switch { margin: 19px 0 0; text-align: center; color: var(--muted); }
.auth-switch a { color: #ff5e64; font-weight: 800; }
.install-shell { grid-template-columns: minmax(380px,.85fr) minmax(560px,1.15fr); }
.install-panel { justify-content: flex-start; overflow-y: auto; }
.install-panel form { width: min(680px,100%); margin: 25px auto; display: grid; gap: 15px; }
.install-panel h2 { margin: 20px 0 0; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }

.mobile-menu { display: none; }
[data-coming-soon] { cursor: pointer; }

@media (max-width: 1450px) {
  :root { --left: 235px; --right: 360px; }
  .left-rail { padding-inline: 13px; }
  .primary-nav a { gap: 11px; padding-inline: 13px; }
  .radio-card { grid-template-columns: 1fr; }
  .radio-art { min-height: 105px; }
}
@media (max-width: 1180px) {
  :root { --left: 88px; --right: 340px; }
  .left-rail { align-items: center; padding-inline: 10px; }
  .brand { min-height: 68px; padding: 0; }
  .brand img { width: 72px; }
  .create-post { width: 52px; height: 52px; border-radius: 50%; }
  .create-post span, .primary-nav span, .rail-account span, .primary-nav .nav-badge { display: none; }
  .primary-nav a { width: 54px; height: 54px; justify-content: center; padding: 0; border-radius: 50%; }
  .primary-nav a.active::before { display: none; }
  .rail-account { display: flex; padding: 10px 0; }
  .rail-account > .icon { display: none; }
}
@media (max-width: 930px) {
  :root { --right: 0px; }
  .wire-app { grid-template-columns: var(--left) minmax(0,1fr); }
  .right-rail { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 14px; }
  .wire-app { display: block; }
  .mobile-menu { display: grid; place-items: center; position: fixed; z-index: 100; right: 14px; bottom: 14px; width: 52px; height: 52px; border: 1px solid #ff5157; border-radius: 50%; background: linear-gradient(#e1282e,#af151b); color: white; font-size: 22px; box-shadow: 0 12px 36px rgba(0,0,0,.45); }
  .left-rail { position: fixed; inset: 0 auto 0 0; width: 280px; height: 100vh; align-items: stretch; padding: 18px; transform: translateX(-105%); transition: transform .22s ease; box-shadow: 20px 0 55px rgba(0,0,0,.55); }
  .left-rail.open { transform: translateX(0); }
  .brand img { width: 210px; }
  .create-post { width: 100%; height: 43px; border-radius: 12px; }
  .create-post span, .primary-nav span, .rail-account span { display: block; }
  .primary-nav a { width: 100%; height: 49px; border-radius: 11px; justify-content: flex-start; padding: 0 15px; }
  .rail-account { display: grid; padding: 10px; }
  .content-column { border-right: 0; }
  .page-header { padding-inline: 16px; }
  .composer { margin: 8px 0; border-inline: 0; border-radius: 0; padding: 14px; }
  .post-card { padding: 14px 12px; gap: 10px; }
  .post-main header { flex-wrap: wrap; }
  .post-main header > button { position: absolute; right: 10px; top: 8px; }
  .post-main p { font-size: 15px; }
  .profile-banner { height: 180px; }
  .profile-banner img { width: 190px; }
  .profile-avatar { width: 106px !important; height: 106px !important; min-width: 106px; min-height: 106px; max-width: 106px; max-height: 106px; }
  .profile-topline { height: 45px; }
  .profile-topline .profile-avatar { transform: translateY(-56px); }
  .profile-summary { padding-inline: 14px; }
  .settings-card { margin: 8px 0; border-radius: 0; border-inline: 0; padding: 17px; }
  .settings-heading, .account-security { flex-direction: column; }
  .managed-profile { grid-template-columns: auto minmax(0,1fr) auto; }
  .managed-profile > a { grid-column: 3; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .media-preview { margin: -17px -17px 0; }
  .auth-shell, .install-shell { display: block; }
  .auth-brand, .install-intro { min-height: 44vh; padding: 46px 25px; }
  .auth-brand::after, .install-intro::after { top: 34%; }
  .auth-logo, .install-intro img { margin-bottom: 30px; }
  .auth-brand h1, .install-intro h1 { font-size: 44px; }
  .auth-panel, .install-panel { min-height: 56vh; padding: 25px 14px 45px; border-left: 0; border-top: 1px solid var(--line-soft); }
  .auth-card { padding: 22px 18px; }
}

/* FPC Wire v0.2.0 social interaction layer */
.profile-banner.has-banner { background-size: cover; background-position: center; }
.profile-banner.has-banner::before { display: none; }
.profile-banner.has-banner img { display: none; }
.profile-actions form, .post-main footer form, .follow-row form, .page-header form { margin: 0; }
.outline-button.following { color: #fff; border-color: #53657b; background: #162231; }
.outline-button.following:hover { color: #ff9ba0; border-color: #d9444a; background: rgba(236,32,40,.08); }
.side-empty { margin: 0; padding: 20px 17px; color: var(--muted); }

.post-main header > span a { color: inherit; }
.replying-to { margin-top: 3px; color: var(--muted); font-size: 13px; }
.replying-to a { color: #ff6268; }
.post-body-link { display: block; }
.post-main footer { max-width: 540px; grid-template-columns: repeat(4, minmax(52px, 1fr)); }
.post-main footer > form { min-width: 0; }
.post-main footer .post-action { justify-self: start; min-width: 48px; height: 34px; padding: 0 9px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: transparent; color: #8fa3ba; cursor: pointer; }
.post-main footer a.post-action { width: fit-content; }
.post-main footer .post-action:hover { color: #ff4b52; background: var(--red-soft); }
.post-main footer .post-action.active { color: #ff5960; background: rgba(236,32,40,.1); }
.post-main footer .post-action.reposted { color: #55d796; background: rgba(85,215,150,.08); }
.post-main footer .post-action .icon { width: 18px; height: 18px; }
.post-main footer .post-action span { font-size: 12px; }

.post-page-header { justify-content: flex-start; gap: 15px; }
.post-page-header .back-link { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; }
.post-page-header .back-link:hover { background: rgba(255,255,255,.06); }
.thread-root .post-card { padding-top: 20px; padding-bottom: 20px; background: #071018; }
.reply-composer { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 13px; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); background: #080f16; }
.reply-composer form { min-width: 0; }
.reply-composer form > p { margin: 0 0 5px; color: var(--muted); font-size: 13px; }
.reply-composer form > p a { color: #ff6268; }
.reply-composer textarea { width: 100%; min-height: 76px; resize: vertical; padding: 9px 0; border: 0; outline: 0; background: transparent; color: #fff; font-size: 17px; }
.reply-composer .composer-actions { padding-top: 9px; }
.reply-composer [data-char-count] { color: var(--muted); font-size: 12px; }

.text-button { border: 0; background: transparent; color: #ff646a; font-weight: 800; cursor: pointer; }
.notification-list { border-top: 1px solid var(--line-soft); }
.notification-row { position: relative; min-height: 86px; display: grid; grid-template-columns: 28px auto minmax(0,1fr); gap: 12px; align-items: start; padding: 15px 18px; border-bottom: 1px solid var(--line-soft); background: #050a0f; }
.notification-row:hover { background: #09111a; }
.notification-row.unread { background: linear-gradient(90deg, rgba(236,32,40,.08), #071018 40%); }
.notification-row.unread::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); }
.notification-icon { color: #ff5960; padding-top: 11px; }
.notification-icon .icon { width: 21px; height: 21px; }
.notification-row p { margin: 2px 0 4px; }
.notification-row blockquote { margin: 6px 0; padding-left: 10px; border-left: 2px solid #34465d; color: #b5c2d2; }
.notification-row small { color: var(--muted); }

.explore-search { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.explore-search form { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 7px 8px 7px 14px; border: 1px solid #34475f; border-radius: 999px; background: #0b1420; }
.explore-search input { min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font-size: 16px; }
.explore-search input::placeholder { color: #8294aa; }
.explore-search .primary-button { min-height: 36px; }
.explore-results > h2 { margin: 0; padding: 17px 18px 10px; font-size: 19px; }
.profile-result { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 13px; align-items: start; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.profile-result:hover { background: #080f16; }
.profile-result strong, .profile-result span { display: block; }
.profile-result span { color: var(--muted); font-size: 13px; }
.profile-result p { margin: 7px 0 0; color: #dce4ee; }
.profile-result form { align-self: center; }
.results-empty { margin: 0; padding: 10px 18px 20px; color: var(--muted); }
.post-results { border-top: 1px solid var(--line-soft); }
.explore-intro { margin-top: 22px; }

@media (max-width: 680px) {
  .profile-result { grid-template-columns: auto minmax(0,1fr); }
  .profile-result form { grid-column: 2; justify-self: start; }
  .notification-row { grid-template-columns: 24px auto minmax(0,1fr); padding-inline: 12px; gap: 8px; }
  .explore-search form { grid-template-columns: auto minmax(0,1fr); border-radius: 13px; }
  .explore-search .primary-button { grid-column: 1 / -1; width: 100%; }
}

/* FPC Wire v0.3.0 verification, mentions, and team flair */
.verified-badge {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 20px;
  vertical-align: -5px;
  margin-left: 3px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.45));
}
.verified-badge img { width: 100%; height: 100%; object-fit: contain; }
.profile-summary h1 .verified-badge { width: 27px; height: 27px; flex-basis: 27px; vertical-align: -6px; margin-left: 5px; }
.managed-profile .verified-badge, .follow-row .verified-badge, .profile-result .verified-badge { width: 18px; height: 18px; flex-basis: 18px; vertical-align: -4px; }
.mention-link { color: #ff5960; font-weight: 750; }
.mention-link:hover { text-decoration: underline; }
.profile-identity-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.profile-identity-line .handle { margin: 0; }
.team-flairs { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.team-flair {
  height: 25px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 7px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #fff;
  box-shadow: inset 0 1px rgba(255,255,255,.12), 0 4px 10px rgba(0,0,0,.18);
  line-height: 1;
}
.team-flair small { font-size: 7px; font-weight: 900; letter-spacing: .08em; opacity: .72; }
.team-flair b { font-size: 11px; letter-spacing: .02em; }
.flair-nfl { background: linear-gradient(135deg,#153157,#0b1728); border-color: #4d78a8; }
.flair-mlb { background: linear-gradient(135deg,#76212b,#27131a); border-color: #b85b68; }
.flair-nba { background: linear-gradient(135deg,#9b4c18,#2e190d); border-color: #d98b4d; }
.flair-nhl { background: linear-gradient(135deg,#465665,#151c23); border-color: #8194a6; }

.flair-picker { margin: 5px 0 0; padding: 16px; border: 1px solid #31445c; border-radius: 13px; background: rgba(7,14,22,.65); }
.flair-picker legend { padding: 0 8px; color: #fff; font-weight: 800; }
.flair-picker legend small { margin-left: 7px; color: var(--muted); font-weight: 600; }
.flair-groups { display: grid; gap: 8px; }
.flair-groups details { border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; background: #09111a; }
.flair-groups summary { cursor: pointer; padding: 11px 13px; color: #dce7f4; font-weight: 850; }
.flair-options { max-height: 285px; overflow-y: auto; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; padding: 6px 9px 10px; }
.flair-option { min-width: 0; display: grid !important; grid-template-columns: auto auto minmax(0,1fr); align-items: center; gap: 8px; padding: 7px; border-radius: 8px; cursor: pointer; }
.flair-option:hover { background: rgba(255,255,255,.04); }
.flair-option input { accent-color: var(--red); }
.flair-option em { min-width: 0; color: #b8c5d4; font-size: 12px; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flair-limit { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.flair-limit.at-limit { color: #ff8c91; font-weight: 750; }

.verification-entry { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.verification-entry h2, .verification-entry p { margin-top: 0; }
.verification-entry p:last-child { margin-bottom: 0; color: var(--muted); }
.verification-hero { display: grid; grid-template-columns: 145px minmax(0,1fr); gap: 24px; align-items: center; }
.verification-mark { width: 132px; height: 132px; }
.verification-mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 15px 26px rgba(0,0,0,.45)); }
.verification-hero h2 { margin: 4px 0 8px; }
.verification-hero p:last-child { margin-bottom: 0; color: var(--muted); }
.verification-state { display: flex; align-items: center; gap: 16px; border-color: rgba(57,217,138,.42); }
.verification-state.pending { border-color: rgba(247,185,85,.42); }
.verification-state h2, .verification-state p { margin: 0; }
.verification-form { max-width: none; }
.verification-form select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #384b63; border-radius: 10px; background: #09111a; color: #fff; }
.inline-status { padding: 12px 14px; border-radius: 10px; }
.inline-status.denied { color: #ffd0d3; background: rgba(255,99,107,.1); border: 1px solid rgba(255,99,107,.4); }
.text-link { color: #ff646a; font-weight: 800; }
.verification-queue { padding: 14px; display: grid; gap: 13px; }
.verification-request { padding: 18px; border: 1px solid #33475f; border-radius: 14px; background: linear-gradient(180deg,#0f1927,#09111a); }
.verification-request.status-approved { border-color: rgba(57,217,138,.38); }
.verification-request.status-denied { opacity: .76; }
.request-profile { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 13px; align-items: center; }
.request-profile h2, .request-profile p { margin: 0; }
.request-profile p { color: var(--muted); font-size: 13px; }
.request-status { padding: 5px 9px; border-radius: 999px; background: rgba(247,185,85,.12); color: #ffd58c; font-size: 11px; font-weight: 900; }
.status-approved .request-status { background: rgba(57,217,138,.11); color: #9dffd0; }
.status-denied .request-status { background: rgba(255,99,107,.1); color: #ffb1b6; }
.verification-request dl { display: flex; flex-wrap: wrap; gap: 20px; margin: 15px 0 9px; }
.verification-request dl div { display: grid; gap: 2px; }
.verification-request dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.verification-request dd { margin: 0; font-weight: 750; }
.request-note { color: #dce5ef; }
.evidence-link { color: #ff646a; font-weight: 800; }
.review-actions { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); display: flex; justify-content: flex-end; gap: 9px; }
.review-actions form { margin: 0; }

@media (max-width: 680px) {
  .verification-entry { align-items: stretch; flex-direction: column; }
  .verification-entry .outline-button, .verification-entry .primary-button { width: 100%; }
  .verification-hero { grid-template-columns: 1fr; text-align: center; }
  .verification-mark { margin: 0 auto; }
  .flair-options { grid-template-columns: 1fr; }
  .request-profile { grid-template-columns: auto minmax(0,1fr); }
  .request-status { grid-column: 2; justify-self: start; }
  .review-actions { flex-direction: column-reverse; }
  .review-actions button { width: 100%; }
}


/* FPC Wire v0.3.1 compact verification and logo-only team flair */
.profile-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  line-height: 1.18;
}
.verified-badge,
.profile-summary h1 .verified-badge,
.post-main header .verified-badge,
.managed-profile .verified-badge,
.follow-row .verified-badge,
.profile-result .verified-badge {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  flex: 0 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 0 0 2px !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}
.verified-badge img {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  object-fit: contain !important;
}
.profile-bio a.mention-link,
.post-body-link a.mention-link,
a.mention-link {
  color: #ff3e46 !important;
  font-weight: 850 !important;
  text-decoration: none;
}
.profile-bio a.mention-link:hover,
.post-body-link a.mention-link:hover,
a.mention-link:hover { color: #ff777c !important; text-decoration: underline; }

.profile-identity-line { gap: 9px; }
.team-flairs { display: inline-flex; align-items: center; gap: 5px; flex-wrap: nowrap; }
.team-logo {
  position: relative;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}
.team-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.team-logo-fallback {
  width: 100%; height: 100%; display: grid; place-items: center;
  border-radius: inherit; background: #172337; color: #fff;
  font-size: 8px; font-weight: 900; letter-spacing: -.02em;
}
.team-flair-logo {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  padding: 2px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(177,198,222,.32);
  box-shadow: 0 3px 10px rgba(0,0,0,.28);
}
.team-flair-logo:hover { transform: translateY(-1px) scale(1.06); border-color: rgba(255,255,255,.68); }

.flair-picker { margin-top: 9px; padding: 18px; border-radius: 16px; background: linear-gradient(180deg,rgba(15,25,39,.95),rgba(7,13,21,.95)); }
.flair-picker > legend { padding: 0 8px; color: #fff; font-size: 15px; font-weight: 900; }
.flair-picker-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 13px; }
.flair-picker-header > div { display: grid; gap: 3px; }
.flair-picker-header strong { color: #fff; font-size: 16px; }
.flair-picker-header small { color: var(--muted); font-size: 12px; }
.flair-limit { margin: 0; min-width: 56px; height: 30px; padding: 0 10px; border-radius: 999px; display: grid; place-items: center; background: #16243a; border: 1px solid #344b68; color: #dce8f7; font-size: 12px; font-weight: 850; }
.flair-limit.at-limit { color: #fff; border-color: #ff5057; background: rgba(218,35,43,.25); }
.flair-picker-tools { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; margin-bottom: 12px; }
.flair-search { min-width: 0; height: 40px; display: flex !important; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #334760; border-radius: 10px; background: #08111a; }
.flair-search > span { color: #91a4ba; font-size: 20px; line-height: 1; }
.flair-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; }
.flair-clear { min-height: 40px; padding: 0 14px; border: 1px solid #3b506b; border-radius: 10px; background: #111e2e; color: #d9e5f3; font-weight: 780; cursor: pointer; }
.flair-clear:hover { border-color: #ff5258; color: #fff; }
.flair-groups { gap: 9px; }
.flair-groups details { border-radius: 12px; border-color: #2d4057; background: #08111a; }
.flair-groups summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; }
.flair-groups summary span { color: #fff; font-size: 14px; font-weight: 900; }
.flair-groups summary small { color: var(--muted); font-size: 11px; font-weight: 650; }
.flair-options { max-height: 360px; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 7px 10px 12px; }
.flair-option {
  position: relative;
  min-width: 0;
  min-height: 66px;
  display: grid !important;
  grid-template-columns: 38px minmax(0,1fr) 21px;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border: 1px solid #263950;
  border-radius: 11px;
  background: rgba(15,26,40,.72);
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.flair-option:hover { background: #132238; border-color: #536c8c; transform: translateY(-1px); }
.flair-option.is-selected { border-color: #ff4c53; background: linear-gradient(145deg,rgba(202,29,37,.22),rgba(15,26,40,.95)); box-shadow: inset 0 0 0 1px rgba(255,76,83,.18); }
.flair-option input { position: absolute; opacity: 0; pointer-events: none; }
.flair-option-logo { width: 38px; height: 38px; border-radius: 50%; padding: 3px; background: rgba(255,255,255,.05); }
.flair-option-copy { min-width: 0; display: grid; gap: 3px; }
.flair-option-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #eef5fc; font-size: 12px; }
.flair-option-copy small { color: #8fa2b8; font-size: 10px; font-weight: 700; }
.flair-check { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #405671; color: transparent; font-size: 12px; font-weight: 900; }
.flair-option.is-selected .flair-check { border-color: #ff4b52; background: #d9242b; color: #fff; }
.flair-option input:disabled ~ * { opacity: .43; }
.flair-option.is-selected input:disabled ~ * { opacity: 1; }
.flair-empty { margin: 12px 0 0; padding: 15px; border-radius: 10px; background: #0b1521; color: var(--muted); text-align: center; }

@media (max-width: 980px) { .flair-options { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) {
  .profile-name-row { gap: 5px; }
  .flair-picker { padding: 14px; }
  .flair-picker-header { align-items: center; }
  .flair-picker-tools { grid-template-columns: 1fr; }
  .flair-clear { width: 100%; }
  .flair-options { grid-template-columns: 1fr; max-height: 420px; }
}

/* FPC Wire v0.4.0 — rich posts, quote posts, password recovery, and PWA */
.profile-name-row {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 5px !important;
  max-width: 100%;
  margin-bottom: 3px !important;
}
.profile-name-row > span { min-width: 0; overflow-wrap: anywhere; }
.profile-name-row .verified-badge { flex: 0 0 18px !important; margin-left: 1px !important; }
.profile-handle { margin: 0 0 5px !important; color: var(--muted); }
.profile-flair-row { min-height: 0; margin: 0 0 10px; }
.profile-flair-row:empty { display: none; }
.profile-flair-row .team-flairs { display: flex; flex-direction: row; align-items: center; gap: 4px; flex-wrap: nowrap; }
.profile-flair-row .team-flair-logo { width: 20px !important; height: 20px !important; padding: 1px !important; border-width: 1px; }

.content-link { color: #ff5a60; text-decoration: none; overflow-wrap: anywhere; }
.content-link:hover { color: #ff8a8f; text-decoration: underline; }
.post-body { margin: 7px 0 0; color: #f1f5fa; font-size: 15px; line-height: 1.48; }
.post-body p { margin: 0; }

.link-preview-card {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  margin-top: 11px;
  overflow: hidden;
  border: 1px solid #34485f;
  border-radius: 14px;
  background: #0b1420;
  color: #fff;
  text-decoration: none;
  transition: border-color .16s, background .16s, transform .16s;
}
.link-preview-card:hover { border-color: #607995; background: #101c2a; transform: translateY(-1px); }
.link-preview-image { min-height: 148px; background-position: center; background-size: cover; background-color: #111b28; }
.link-preview-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 14px; }
.link-preview-copy small { color: #8da0b6; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.link-preview-copy strong { color: #fff; font-size: 15px; line-height: 1.25; }
.link-preview-copy > span { color: #b8c5d3; font-size: 12px; line-height: 1.42; }
.link-preview-card:not(:has(.link-preview-image)) { grid-template-columns: 1fr; }

.post-media { display: block; margin-top: 11px; overflow: hidden; border: 1px solid #33475f; border-radius: 14px; background: #0a1119; }
.post-media img { display: block; width: 100%; max-height: 560px; object-fit: cover; }
.post-media.is-gif::after { content: 'GIF'; position: absolute; right: 9px; bottom: 9px; padding: 3px 6px; border-radius: 5px; background: rgba(0,0,0,.75); color: #fff; font-size: 10px; font-weight: 900; }
.post-media.is-gif { position: relative; }

.quoted-post { margin-top: 11px; padding: 12px; border: 1px solid #33475f; border-radius: 14px; background: #08111a; }
.quoted-author { display: flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; }
.quoted-author .avatar-xs { width: 24px; height: 24px; }
.quoted-author strong { font-size: 13px; }
.quoted-author small { color: var(--muted); font-size: 12px; }
.quoted-author .verified-badge { width: 15px !important; height: 15px !important; min-width: 15px !important; flex-basis: 15px !important; }
.quoted-author .verified-badge img { width: 15px !important; height: 15px !important; }
.quoted-body { display: block; margin-top: 8px; color: #e8eef5; font-size: 13px; line-height: 1.42; text-decoration: none; }
.quoted-media-wrap .post-media, .quoted-link-wrap .link-preview-card { margin-top: 9px; }
.quoted-media-wrap .post-media img { max-height: 260px; }
.quoted-link-wrap .link-preview-image { min-height: 100px; }

.repost-control { position: relative; }
.repost-menu { position: absolute; z-index: 35; left: -8px; bottom: calc(100% + 7px); width: 180px; padding: 7px; border: 1px solid #42566f; border-radius: 12px; background: #0d1723; box-shadow: 0 15px 38px rgba(0,0,0,.55); }
.repost-menu form { margin: 0; }
.repost-menu button { width: 100%; min-height: 38px; display: flex; align-items: center; gap: 9px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: #e9f0f8; font-weight: 750; cursor: pointer; text-align: left; }
.repost-menu button:hover { background: #172639; }
.repost-menu .icon { width: 18px; height: 18px; }

.quote-modal { width: min(620px, calc(100vw - 28px)); max-height: min(760px, calc(100vh - 28px)); padding: 0; border: 1px solid #40536b; border-radius: 18px; background: #071018; color: #fff; box-shadow: 0 28px 90px rgba(0,0,0,.72); }
.quote-modal::backdrop { background: rgba(0,5,10,.76); backdrop-filter: blur(5px); }
.quote-form { display: grid; gap: 13px; padding: 18px; }
.quote-form > header { display: flex; justify-content: space-between; align-items: center; }
.quote-form h2 { margin: 0; font-size: 21px; }
.quote-form header button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #152234; color: #fff; font-size: 22px; cursor: pointer; }
.quote-form textarea { width: 100%; min-height: 96px; resize: none; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 17px; }
.quote-original { padding: 12px; border: 1px solid #33475f; border-radius: 13px; background: #0a131e; }
.quote-original strong { display: block; margin-bottom: 4px; }
.quote-original small { color: var(--muted); }
.quote-upload-row { display: flex; align-items: center; gap: 10px; }
.media-picker, .composer-media-button { display: inline-flex !important; align-items: center; gap: 7px; cursor: pointer; color: #ff5960; font-weight: 750; }
.media-picker input, .composer-media-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.media-picker .icon, .composer-media-button .icon { width: 20px; height: 20px; }
.media-file-name { min-width: 0; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #9fb0c3; font-size: 12px; }
.quote-form > footer { display: flex; justify-content: flex-end; align-items: center; gap: 14px; border-top: 1px solid var(--line-soft); padding-top: 13px; }
.quote-form > footer [data-char-count] { margin-right: auto; color: var(--muted); font-size: 12px; }

.auth-help { margin: -3px 0 13px; text-align: right; }
.auth-help a { color: #ff646a; font-size: 13px; font-weight: 750; }
.password-card { scroll-margin-top: 20px; }
.password-form { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; align-items: end; }
.password-form label { min-width: 0; }
.password-form input { width: 100%; }
.password-form .primary-button { min-height: 46px; grid-column: 3; }

.pwa-install-cta { position: fixed; z-index: 90; right: 18px; bottom: 18px; width: min(450px, calc(100vw - 36px)); display: grid; grid-template-columns: 58px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 13px 44px 13px 13px; border: 1px solid #536880; border-radius: 16px; background: linear-gradient(145deg,#111d2b,#080e15); box-shadow: 0 22px 60px rgba(0,0,0,.65); }
.pwa-install-cta[hidden] { display: none !important; }
.pwa-install-cta img { width: 58px; height: 58px; border-radius: 13px; }
.pwa-install-cta div { display: grid; gap: 3px; }
.pwa-install-cta strong { font-size: 15px; }
.pwa-install-cta span { color: #aab8c8; font-size: 12px; line-height: 1.35; }
.pwa-install-cta .primary-button { min-height: 38px; padding-inline: 15px; white-space: nowrap; }
.pwa-dismiss { position: absolute; right: 8px; top: 7px; width: 27px; height: 27px; border: 0; border-radius: 50%; background: transparent; color: #aebaca; font-size: 20px; cursor: pointer; }

@media (max-width: 680px) {
  .profile-name-row { max-width: calc(100% - 4px); }
  .profile-flair-row .team-flair-logo { width: 19px !important; height: 19px !important; }
  .link-preview-card { grid-template-columns: 1fr; }
  .link-preview-image { min-height: 185px; }
  .password-form { grid-template-columns: 1fr; }
  .password-form .primary-button { grid-column: 1; width: 100%; }
  .pwa-install-cta { left: 10px; right: 10px; bottom: 10px; width: auto; grid-template-columns: 50px minmax(0,1fr); }
  .pwa-install-cta img { width: 50px; height: 50px; }
  .pwa-install-cta .primary-button { grid-column: 1 / -1; width: 100%; }
  .quote-form { padding: 15px; }
}

/* v0.4.0 final profile alignment */
.profile-name-row { width: fit-content !important; }
.profile-name-row .verified-badge { align-self: center !important; }
.profile-flair-row .team-flair-logo { width: 18px !important; height: 18px !important; padding: 1px !important; }
@media (max-width:680px){.profile-flair-row .team-flair-logo{width:18px!important;height:18px!important}}
