:root {
  color-scheme: dark;
  --bg: #061114;
  --surface: #0a1a1f;
  --surface-2: #10282e;
  --surface-3: #071519;
  --line: rgba(116, 218, 232, .2);
  --line-strong: rgba(70, 219, 238, .5);
  --muted: #8ca7ad;
  --text: #eaf9fb;
  --cyan: #29cde4;
  --cyan-soft: rgba(41, 205, 228, .11);
  --amber: #f5c66b;
  --green: #83d1a0;
  --danger: #fa8d96;
  font-family: Rubik, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  overflow-x: clip;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 86% -10%, rgba(25, 199, 224, .16), transparent 32rem),
    radial-gradient(circle at 8% 105%, rgba(43, 91, 119, .2), transparent 38rem),
    var(--bg);
  color: var(--text);
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a, button, input, textarea, select, summary { outline-offset: 3px; }
:focus-visible { outline: 2px solid var(--cyan); }

.community-shell { width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: 10px 0 48px; }
.community-loading { min-height: 78vh; display: grid; place-content: center; justify-items: center; color: var(--muted); }
.signal-loader { width: 44px; height: 2px; border-radius: 999px; background: var(--cyan); box-shadow: 0 0 18px rgba(41, 205, 228, .75); animation: signal 1.1s ease-in-out infinite; }
.community-loading p { margin: 18px 0 0; }
@keyframes signal { 50% { opacity: .35; transform: scaleX(.35); } }

.community-topbar { position: relative; z-index: 30; min-height: 58px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.community-brand { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.community-brand img { width: 34px; height: 34px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.community-brand strong { display: block; font-size: 15px; letter-spacing: .01em; }
.community-brand small, .eyebrow, .status-label { display: block; color: var(--muted); font-size: 11px; line-height: 1.2; letter-spacing: .15em; text-transform: uppercase; }
.community-nav { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 3px; }
.community-nav button { min-height: 36px; flex: 0 0 auto; display: inline-flex; align-items: center; padding: 0 10px; border: 0; border-radius: 9px; color: #9fb5b9; background: transparent; font-size: 13px; font-weight: 650; white-space: nowrap; }
.community-nav button:hover { background: var(--cyan-soft); color: var(--text); }
.community-nav button.is-active { color: #031b20; background: var(--cyan); }
.topbar-utilities { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.panel-link { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; color: #d7fbff; font-size: 13px; font-weight: 750; text-decoration: none; }
.panel-link:hover { background: var(--cyan-soft); }
.panel-team-link { border-color: rgba(41, 205, 228, .42); background: rgba(41, 205, 228, .09); color: #dffbff; }
.community-more-menu { position: relative; }
.community-more-menu summary { min-height: 42px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: #b9ced2; background: rgba(7, 20, 24, .86); font-size: 13px; font-weight: 750; list-style: none; cursor: pointer; }
.community-more-menu summary::-webkit-details-marker { display: none; }
.community-more-menu summary i { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.community-more-menu:is([open], .is-active) summary { border-color: var(--line-strong); color: var(--text); background: var(--cyan-soft); }
.community-more-menu[open] summary i { transform: rotate(225deg) translate(-1px, -1px); }
.community-more-popover { position: absolute; z-index: 50; top: calc(100% + 9px); right: 0; width: min(250px, calc(100vw - 24px)); display: grid; gap: 4px; padding: 9px; border: 1px solid var(--line-strong); border-radius: 14px; background: #08171b; box-shadow: 0 24px 60px rgba(0, 0, 0, .48); }
.community-more-popover button, .community-more-popover a { min-height: 43px; width: 100%; display: flex; align-items: center; padding: 0 11px; border: 0; border-radius: 9px; color: #cce1e4; background: transparent; font-size: 14px; font-weight: 700; text-align: left; text-decoration: none; }
.community-more-popover button:hover, .community-more-popover button.is-active, .community-more-popover a:hover, .community-more-popover a.is-active { color: white; background: var(--cyan-soft); }
.management-menu { position: relative; }
.management-menu summary { min-height: 42px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid rgba(245, 198, 107, .28); border-radius: 10px; color: #ecd69f; background: rgba(24, 23, 16, .86); font-size: 13px; font-weight: 750; list-style: none; cursor: pointer; }
.management-menu summary::-webkit-details-marker { display: none; }
.management-menu summary i { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.management-menu[open] summary { border-color: rgba(245, 198, 107, .54); color: #fff4d5; background: rgba(245, 198, 107, .1); }
.management-menu[open] summary i { transform: rotate(225deg) translate(-1px, -1px); }
.management-popover { position: absolute; z-index: 50; top: calc(100% + 9px); right: 0; width: min(250px, calc(100vw - 24px)); display: grid; gap: 4px; padding: 9px; border: 1px solid rgba(245, 198, 107, .3); border-radius: 14px; background: #101713; box-shadow: 0 24px 60px rgba(0, 0, 0, .48); }
.management-popover button, .management-popover a { min-height: 43px; width: 100%; display: flex; align-items: center; padding: 0 11px; border: 0; border-radius: 9px; color: #d8e2d5; background: transparent; font-size: 14px; font-weight: 700; text-align: left; text-decoration: none; }
.management-popover button:hover, .management-popover a:hover { color: white; background: rgba(245, 198, 107, .1); }
.management-popover a { margin-top: 3px; border-top: 1px solid rgba(245, 198, 107, .16); border-radius: 0 0 9px 9px; }
.account-menu { position: relative; }
.account-menu summary { min-height: 44px; display: grid; grid-template-columns: 32px auto 9px; align-items: center; gap: 8px; padding: 5px 10px 5px 6px; border: 1px solid var(--line); border-radius: 12px; background: rgba(7, 20, 24, .86); color: #d7e9ec; font-size: 12px; font-weight: 750; list-style: none; cursor: pointer; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary:hover, .account-menu[open] summary { border-color: var(--line-strong); background: var(--cyan-soft); }
.account-menu summary img { width: 32px; height: 32px; border: 1px solid rgba(41, 205, 228, .36); border-radius: 9px; object-fit: cover; background: var(--surface); }
.account-menu summary i { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .18s ease; }
.account-menu[open] summary i { transform: rotate(225deg) translate(-1px, -1px); }
.account-popover { position: absolute; z-index: 50; top: calc(100% + 9px); right: 0; width: min(290px, calc(100vw - 24px)); display: grid; gap: 4px; padding: 9px; border: 1px solid var(--line-strong); border-radius: 14px; background: #08171b; box-shadow: 0 24px 60px rgba(0, 0, 0, .48); }
.account-popover-label { padding: 7px 9px 5px; color: #6f949b; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.account-popover a, .account-popover button { min-height: 43px; display: flex; align-items: center; width: 100%; padding: 0 11px; border: 0; border-radius: 9px; background: transparent; color: #cce1e4; font-size: 14px; font-weight: 700; text-align: left; text-decoration: none; }
.account-popover a:hover, .account-popover button:hover { background: var(--cyan-soft); color: white; }
.account-popover .account-edit-link { border: 1px solid rgba(41, 205, 228, .22); background: rgba(41, 205, 228, .08); color: #e5fbfe; }
.account-popover a:has(.account-menu-badge) { justify-content: space-between; gap: 10px; }
.account-menu-badge { min-width: 21px; height: 21px; display: inline-grid; place-items: center; padding: 0 6px; border-radius: 999px; background: var(--cyan); color: #021013; font-size: 11px; font-weight: 900; }
.join-callout { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 18px 0 -8px; padding: 16px 18px; border: 1px solid rgba(245, 198, 107, .38); border-radius: 15px; background: linear-gradient(110deg, rgba(55, 40, 18, .72), rgba(17, 23, 22, .94)); }
.join-callout strong { display: block; font-size: 15px; }.join-callout p { margin: 5px 0 0; color: #d8c59d; font-size: 14px; line-height: 1.5; }

.community-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid var(--line); border-radius: 11px; background: transparent; color: var(--text); font-size: 14px; font-weight: 750; text-decoration: none; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.community-button:hover { border-color: var(--line-strong); background: var(--cyan-soft); transform: translateY(-1px); }
.community-button.primary { border-color: transparent; background: var(--cyan); color: #032027; }
.community-button.primary:hover { background: #67ddea; }
.community-button[disabled] { cursor: wait; opacity: .62; transform: none; }
.text-link { color: #9ddfe8; font-size: 14px; font-weight: 650; text-underline-offset: 3px; }
section[id] { scroll-margin-top: 18px; }
.community-view:not([hidden]) { animation: community-view-in .2s ease-out; }
section.community-view { margin-top: 28px; }
@keyframes community-view-in { from { opacity: 0; transform: translateY(5px); } }

.community-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(285px, .68fr); gap: clamp(24px, 5vw, 58px); margin: 28px 0 20px; padding: clamp(28px, 5vw, 58px); border: 1px solid rgba(72, 207, 224, .34); border-radius: 28px; background: linear-gradient(125deg, rgba(14, 45, 52, .98), rgba(7, 19, 23, .94)); }
.community-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 39px, rgba(104, 217, 232, .06) 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(104, 217, 232, .06) 40px); mask-image: linear-gradient(100deg, #000, rgba(0, 0, 0, .18)); }
.hero-copy { position: relative; z-index: 2; }
.community-hero h1 { max-width: 760px; margin: 11px 0 15px; font-size: clamp(38px, 6vw, 72px); line-height: .95; letter-spacing: -.06em; }
.community-hero .hero-copy > p { max-width: 640px; margin: 0; color: #bad0d5; font-size: 16px; line-height: 1.65; }
.community-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.hero-event { position: relative; align-self: end; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; border: 1px solid var(--line-strong); border-radius: 20px; background: linear-gradient(155deg, rgba(17, 50, 58, .92), rgba(5, 17, 21, .96)); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.hero-event::before { content: "LIVE"; position: absolute; top: 19px; right: 20px; color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.hero-event strong { display: block; margin-top: 10px; font-size: clamp(22px, 3vw, 32px); line-height: 1.05; letter-spacing: -.04em; }
.hero-event p { margin: 12px 0 18px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.hero-event-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); color: #b8d0d4; font-size: 12px; }
.hero-event-reactions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 12px; }
.hero-event-reactions button { min-height: 40px; border: 1px solid var(--line); border-radius: 9px; background: rgba(4, 14, 18, .48); color: #a9c1c6; font-size: 14px; font-weight: 700; }
.hero-event-reactions button:hover { border-color: var(--line-strong); color: var(--text); }
.hero-event-reactions button.is-active { border-color: rgba(41, 205, 228, .55); background: var(--cyan-soft); color: #d8fbff; }
.hero-event-reactions button[data-event-reaction="dislike"].is-active { border-color: rgba(245, 198, 107, .48); background: rgba(245, 198, 107, .1); color: #ffe1a1; }
.hero-event-reactions b { margin-left: 4px; color: inherit; }
.dispatch-route { position: absolute; z-index: 0; right: -9%; bottom: 20%; width: 64%; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); transform: rotate(-7deg); opacity: .7; }
.dispatch-route i { position: absolute; top: -4px; width: 8px; height: 8px; border: 2px solid var(--cyan); border-radius: 50%; background: var(--surface); box-shadow: 0 0 14px rgba(41, 205, 228, .65); }
.dispatch-route i:nth-child(1) { left: 16%; }.dispatch-route i:nth-child(2) { left: 52%; }.dispatch-route i:nth-child(3) { left: 82%; }
.is-preview .hero-event::before { content: "DEV PREVIEW"; color: var(--amber); }

.community-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(7, 20, 24, .86); }
.community-metrics > div { min-width: 0; padding: 18px 20px; }
.community-metrics > div + div { border-left: 1px solid var(--line); }
.community-metrics dt { color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.community-metrics dd { margin: 7px 0 4px; color: var(--text); font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1; letter-spacing: -.045em; }
.community-metrics small { display: block; overflow: hidden; color: #76969d; font-size: 11px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }

.community-settings { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; padding: 15px 18px; border: 1px solid rgba(245, 198, 107, .3); border-radius: 15px; background: rgba(245, 198, 107, .06); }
.community-settings strong { display: block; font-size: 15px; }.community-settings p { margin: 5px 0 0; color: #d8c18e; font-size: 14px; line-height: 1.5; }
.switch { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; color: #eaf7f8; font-size: 14px; font-weight: 750; }.switch input { width: 18px; height: 18px; accent-color: var(--cyan); }

.community-section { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 21px; background: linear-gradient(145deg, rgba(13, 30, 36, .96), rgba(7, 18, 22, .95)); }
.community-section + .community-section { margin-top: 0; }
.community-section-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.community-section h2 { margin: 5px 0 0; font-size: 26px; letter-spacing: -.035em; }
.community-section-head p { max-width: 650px; margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.section-counter { flex: 0 0 auto; padding: 8px 11px; border: 1px solid var(--line); border-radius: 99px; color: #a8c3c8; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.events-section, .ideas-section, .action-section { margin-bottom: 18px; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 12px; }
.event-item { position: relative; overflow: hidden; min-height: 210px; display: flex; flex-direction: column; padding: 20px; border: 1px solid rgba(103, 210, 226, .18); border-radius: 17px; background: rgba(4, 14, 18, .48); }
.event-item::after { content: ""; position: absolute; right: -38px; top: -60px; width: 120px; height: 120px; border: 1px solid rgba(41, 205, 228, .16); border-radius: 50%; box-shadow: 0 0 0 21px rgba(41, 205, 228, .025), 0 0 0 42px rgba(41, 205, 228, .018); }
.event-sequence { color: var(--cyan); font: 700 11px ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .13em; }
.event-item h3 { position: relative; z-index: 1; margin: 20px 0 8px; font-size: 20px; letter-spacing: -.025em; }
.event-item p { position: relative; z-index: 1; flex: 1; display: -webkit-box; overflow: hidden; margin: 0 0 18px; color: #a9c0c5; font-size: 14px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 6; }
.event-details { position: relative; z-index: 1; display: grid; gap: 10px; color: var(--muted); font-size: 12px; }
.event-details-row { display: flex; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.event-vote { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(41, 205, 228, .42); border-radius: 10px; background: rgba(41, 205, 228, .08); color: #cef9fc; font-size: 14px; font-weight: 750; }
.event-vote:hover { background: rgba(41, 205, 228, .17); }.event-vote.is-voted { border-color: rgba(245, 198, 107, .63); background: rgba(245, 198, 107, .13); color: #ffe4a9; }
.event-social { color: #79999f; font-size: 11px; letter-spacing: .03em; text-align: center; }
.event-rules-link { min-height: 36px; border: 1px solid rgba(103, 210, 226, .28); border-radius: 9px; background: transparent; color: #bdeef3; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }.event-rules-link:hover { border-color: var(--cyan); background: rgba(41, 205, 228, .09); color: #effdff; }
.event-card-full { position: relative; z-index: 1; margin-top: 14px; border-top: 1px solid var(--line); }
.event-card-full summary { padding: 12px 0 0; color: #bdeef3; font-size: 13px; font-weight: 800; cursor: pointer; list-style: none; }
.event-card-full summary::-webkit-details-marker { display: none; }
.event-card-full summary::after { content: "+"; float: right; color: var(--cyan); font-size: 18px; line-height: .7; }.event-card-full[open] summary::after { content: "−"; }
.event-card-full-content { display: grid; gap: 15px; padding: 14px 0 2px; color: #b5cbd0; font-size: 14px; line-height: 1.6; }
.event-card-full-content section { display: grid; gap: 7px; }.event-card-full-content ol { margin: 0; padding-left: 20px; }.event-card-full-content li + li { margin-top: 5px; }
.formatted-text { color: #b5cbd0; line-height: 1.65; }.formatted-text h4 { margin: 13px 0 5px; color: #e7f8fa; font-size: 15px; }.formatted-text h4:first-child { margin-top: 0; }.formatted-text p { display: block; overflow: visible; margin: 0 0 10px; color: inherit; font-size: inherit; -webkit-line-clamp: unset; }.formatted-text ul, .formatted-text ol { margin: 2px 0 11px; padding-left: 21px; }.formatted-text li + li { margin-top: 4px; }

.ranking-section, .rules-section { margin-bottom: 18px; }
.ranking-switchboard { position: relative; overflow: hidden; display: grid; grid-template-columns: 245px minmax(0, 1fr); min-height: 430px; border: 1px solid rgba(73, 218, 237, .3); border-radius: 18px; background: #061216; box-shadow: inset 0 1px rgba(255, 255, 255, .025); }
.ranking-switchboard::before { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 43px, rgba(79, 199, 216, .035) 44px); }
.ranking-channels { position: relative; z-index: 1; display: grid; align-content: start; border-right: 1px solid var(--line); background: rgba(3, 12, 15, .72); }
.ranking-channel { position: relative; min-height: 92px; display: grid; align-content: center; gap: 7px; padding: 16px 18px 16px 23px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: #91aeb4; text-align: left; }
.ranking-channel::before { content: ""; position: absolute; left: 0; top: 17px; bottom: 17px; width: 3px; border-radius: 0 3px 3px 0; background: transparent; }
.ranking-channel:hover { background: rgba(41, 205, 228, .045); color: #d5eef1; }
.ranking-channel.is-active { background: linear-gradient(90deg, rgba(41, 205, 228, .13), transparent); color: var(--text); }
.ranking-channel.is-active::before { background: var(--cyan); box-shadow: 0 0 16px rgba(41, 205, 228, .75); }
.ranking-channel span { font-size: 15px; font-weight: 800; }
.ranking-channel small { color: #6f9097; font-size: 11px; line-height: 1.35; }
.ranking-display { position: relative; z-index: 1; min-width: 0; padding: 27px 28px 22px; }
.ranking-signal { position: absolute; top: 18px; right: 22px; display: inline-flex; align-items: center; gap: 7px; color: #6eb7c2; font: 800 11px ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .12em; }
.ranking-signal i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 11px rgba(131, 209, 160, .8); }
.ranking-panel > header { min-height: 70px; display: flex; align-items: end; justify-content: space-between; gap: 18px; padding-right: 108px; }
.ranking-panel h3 { margin: 6px 0 0; font-size: clamp(23px, 3vw, 30px); letter-spacing: -.035em; }
.ranking-panel > header p { max-width: 330px; margin: 0; color: #78979d; font-size: 12px; line-height: 1.5; text-align: right; }
.ranking-list { display: grid; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.ranking-entry { min-width: 0; min-height: 62px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px solid rgba(116, 218, 232, .12); }
.ranking-entry:hover { background: linear-gradient(90deg, rgba(41, 205, 228, .045), transparent); }
.ranking-place { color: var(--cyan); font: 750 12px ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; }
.ranking-entry-copy { min-width: 0; }
.ranking-entry-copy strong, .ranking-entry-copy a { display: block; overflow: hidden; color: #e5f6f8; font-size: 15px; font-weight: 750; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.ranking-entry-copy a:hover { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.ranking-entry-copy small { display: block; overflow: hidden; margin-top: 4px; color: #708f96; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.ranking-value { color: #d6edef; font-size: 15px; white-space: nowrap; }
.ranking-vote { min-height: 37px; padding: 0 11px; border: 1px solid rgba(41, 205, 228, .28); border-radius: 8px; background: rgba(41, 205, 228, .06); color: #bdebf0; font-size: 12px; font-weight: 750; }
.ranking-vote:hover, .ranking-vote.is-voted { border-color: rgba(245, 198, 107, .55); background: rgba(245, 198, 107, .1); color: #ffe1a1; }
.ranking-winner-entry { grid-template-columns: 38px 42px minmax(0, 1fr) auto; }
.ranking-list > .empty { margin-top: 16px; list-style: none; }

.public-rules-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.public-rule { min-width: 0; border: 1px solid rgba(103, 210, 226, .17); border-radius: 14px; background: rgba(4, 14, 18, .46); }
.public-rule[open] { grid-column: 1 / -1; border-color: rgba(41, 205, 228, .42); }
.public-rule summary { min-height: 74px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; list-style: none; cursor: pointer; }
.public-rule summary::-webkit-details-marker { display: none; }
.public-rule summary:hover { background: rgba(41, 205, 228, .045); }
.public-rule summary strong { display: block; font-size: 15px; }
.public-rule summary small { display: block; overflow: hidden; margin-top: 5px; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.public-rule summary i { color: var(--cyan); font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.public-rule[open] summary i { color: #87a8ae; }
.public-rule[open] summary i::before { content: "Закрыть"; font-size: 11px; }.public-rule[open] summary i { font-size: 0; }
.public-rule-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 4px 16px 18px; border-top: 1px solid var(--line); }
.public-rule-content section { padding-top: 15px; }.public-rule-content section:last-child { grid-column: 1 / -1; }
.public-rule-content p, .public-rule-content ol { margin: 9px 0 0; color: #abc1c5; font-size: 14px; line-height: 1.62; }
.public-rule-content ol { columns: 2; column-gap: 38px; padding-left: 24px; }.public-rule-content li { break-inside: avoid; margin: 0 0 8px; padding-left: 4px; }
.rule-empty { color: var(--muted) !important; }

.ideas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.idea-item { min-width: 0; display: grid; align-content: start; gap: 13px; padding: 19px; border: 1px solid rgba(103, 210, 226, .17); border-radius: 16px; background: rgba(4, 14, 18, .48); }
.idea-item-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.idea-item h3 { margin: 0; font-size: 19px; letter-spacing: -.025em; }
.idea-item-meta { margin-top: 5px; color: var(--muted); font-size: 12px; }
.idea-item > p { display: -webkit-box; overflow: hidden; margin: 0; color: #a9c0c5; font-size: 14px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.idea-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.idea-like, .idea-add-button, .idea-read-button { min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: #b8d0d4; font-size: 14px; font-weight: 750; }
.idea-like:hover, .idea-add-button:hover, .idea-read-button:hover { border-color: var(--line-strong); background: var(--cyan-soft); }
.idea-read-button { border-color: rgba(41, 205, 228, .32); color: #c8f4f8; }
.idea-like.is-liked { border-color: rgba(245, 198, 107, .55); background: rgba(245, 198, 107, .11); color: #ffe0a0; }
.idea-additions { border-top: 1px solid var(--line); }
.idea-additions summary { padding: 11px 0 0; color: #a8c5ca; font-size: 14px; font-weight: 700; cursor: pointer; }
.idea-additions-list { display: grid; gap: 7px; margin-top: 10px; }
.idea-addition { padding: 10px 11px; border-left: 2px solid rgba(41, 205, 228, .42); background: rgba(41, 205, 228, .04); color: #9eb8bd; font-size: 14px; line-height: 1.5; }
.idea-addition strong { display: block; margin-bottom: 3px; color: #d3e8eb; font-size: 11px; }

.action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.action-grid-player { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.action-card { --service-accent: var(--cyan); position: relative; min-height: 220px; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 24px 20px; border: 1px solid color-mix(in srgb, var(--service-accent) 34%, var(--line)); border-left: 3px solid var(--service-accent); border-radius: 10px; background: #071519; box-shadow: inset 0 1px rgba(255, 255, 255, .035); transition: border-color .18s ease, background .18s ease; }
.action-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, color-mix(in srgb, var(--service-accent) 7%, transparent), transparent 36%); }
.action-card::after { content: ""; position: absolute; top: 19px; right: 20px; width: 8px; height: 8px; border: 2px solid var(--service-accent); border-radius: 2px; background: #071519; }
.action-card:is(:hover, :focus-within) { border-color: color-mix(in srgb, var(--service-accent) 62%, var(--line)); background: #091b20; }
.action-card > * { position: relative; z-index: 1; }
.action-card h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.1; letter-spacing: -.035em; }
.action-card p { max-width: 58ch; margin: 0; color: #a9c0c5; font-size: 13px; line-height: 1.58; }
.action-card-copy { flex: 1; margin-top: 21px; }
.recruitment-card:has(.recruitment-player-status:not([hidden])) .action-card-copy { margin-top: 44px; }
.action-card-actions { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; padding-top: 15px; border-top: 1px solid color-mix(in srgb, var(--service-accent) 24%, transparent); }
.action-card .text-link { margin: 0; }
.recruitment-player-status { position: absolute; top: 22px; right: 22px; max-width: min(56%, 290px); padding: 7px 9px; border: 1px solid rgba(41, 205, 228, .24); border-radius: 6px; background: rgba(4, 17, 21, .68); text-align: right; }
.recruitment-player-status strong { display: block; color: #bfeff4; font-size: 11px; letter-spacing: .04em; }
.recruitment-player-status span { display: block; overflow: hidden; margin-top: 3px; color: #77969c; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.recruitment-player-status[data-status="accepted"] { border-color: rgba(131, 209, 160, .3); }.recruitment-player-status[data-status="accepted"] strong { color: #a7e8bc; }
.recruitment-player-status[data-status="rejected"] { border-color: rgba(250, 141, 150, .28); }.recruitment-player-status[data-status="rejected"] strong { color: #ffb6bc; }
.action-link-button { padding: 0; border: 0; background: transparent; font: inherit; cursor: pointer; }
.action-index { padding: 0; border: 0; background: transparent; color: color-mix(in srgb, var(--service-accent) 88%, white); font: 700 11px ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
.recruitment-card { --service-accent: var(--cyan); }
.complaint-card { --service-accent: #ffc45b; background: #17150f; }
.complaint-card:is(:hover, :focus-within) { background: #1c1910; }
.recruitment-card .community-button.primary { background: #21cce4; color: #031115; box-shadow: none; }
.complaint-card .community-button { border-color: color-mix(in srgb, var(--service-accent) 74%, transparent); color: #ffe1a5; background: rgba(255,196,91,.06); }

.community-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr); gap: 18px; }
.supporting-grid { margin-bottom: 18px; }
.community-radio { overflow: hidden; }
.radio-count { padding: 7px 10px; border: 1px solid rgba(41, 205, 228, .24); border-radius: 99px; color: #9edce5; font: 750 11px/1 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.radio-console { display: grid; grid-template-columns: 58px minmax(180px, 1fr) auto minmax(120px, 190px); align-items: center; gap: 16px; padding: 14px 0 2px; border-top: 1px solid var(--line); }
.radio-console > img { width: 58px; height: 58px; border: 1px solid rgba(41, 205, 228, .28); border-radius: 12px; object-fit: cover; }
.radio-track { min-width: 0; display: grid; gap: 3px; }
.radio-track > span, .radio-volume > span { color: #63858c; font: 750 9px/1 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
.radio-track strong, .radio-track a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.radio-track strong { color: #e6f5f7; font-size: 15px; }
.radio-track a { color: #77d8e5; font-size: 12px; text-decoration: none; }
.radio-track a:hover { text-decoration: underline; text-underline-offset: 3px; }
.radio-controls { display: flex; align-items: center; gap: 6px; }
.radio-controls button { width: 36px; height: 36px; padding: 0; border: 1px solid rgba(103, 210, 226, .2); border-radius: 50%; background: transparent; color: #a8c4c9; font-size: 20px; cursor: pointer; }
.radio-controls button:hover { border-color: rgba(41, 205, 228, .55); color: #e6f5f7; }
.radio-controls button:focus-visible { outline: 2px solid #a6edf5; outline-offset: 3px; }
.radio-controls .radio-play { display: grid; width: 44px; height: 44px; place-items: center; border-color: rgba(41, 205, 228, .55); background: #1ec9e1; color: #031215; }
.radio-play::before { content: ""; width: 0; height: 0; margin-left: 3px; border-block: 7px solid transparent; border-left: 11px solid currentColor; }
.radio-play[data-playing="true"]::before { width: 9px; height: 14px; margin-left: 0; border: 0; border-inline: 3px solid currentColor; }
.radio-controls .radio-repeat { font-size: 18px; }
.radio-repeat[aria-pressed="true"] { border-color: #1ec9e1; background: rgba(30, 201, 225, .14); color: #7ceafa; box-shadow: inset 0 0 0 1px rgba(30, 201, 225, .18); }
.radio-volume { display: grid; gap: 7px; }
.radio-volume input { width: 100%; accent-color: var(--cyan); }
.radio-empty { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.complaints-list, .members-list { display: grid; gap: 9px; }
.supporting-grid-news .community-section { padding: 20px 22px 10px; border-radius: 10px; background: #071519; }
.supporting-grid-news .community-section-head { align-items: end; margin-bottom: 0; padding-bottom: 16px; border-bottom: 1px solid rgba(116, 218, 232, .16); }
.news-list { display: grid; gap: 0; }
.news-item { display: grid; grid-template-columns: minmax(118px, 150px) minmax(0, 1fr); column-gap: 22px; padding: 14px 12px; border: 0; border-bottom: 1px solid rgba(116, 218, 232, .12); border-radius: 0; background: transparent; color: inherit; text-decoration: none; }
.news-item:hover { background: rgba(41, 205, 228, .035); box-shadow: inset 2px 0 var(--cyan); }
.news-item small { grid-row: 1 / span 2; align-self: start; padding-top: 3px; color: #6fdbe9; font: 750 10px ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .09em; text-transform: uppercase; }.news-item h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.25; }.news-item p { margin: 0; color: #8fa8ad; font-size: 13px; line-height: 1.5; }
.profile-directory { margin-top: 0; }
.profile-directory-head { align-items: end; }
.profile-search { min-width: min(310px, 100%); display: grid; gap: 7px; color: #8baab0; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.profile-search input { min-height: 44px; letter-spacing: normal; text-transform: none; }
.profile-directory-layout { display: block; }
.profile-settings { background: linear-gradient(145deg, rgba(14, 37, 43, .98), rgba(5, 16, 20, .98)); }
.profile-settings-slot { width: min(100%, 1080px); }
.profile-feature { --community-accent: var(--cyan); position: relative; overflow: hidden; border-color: color-mix(in srgb, var(--community-accent) 38%, transparent) !important; }.profile-feature::before { content: ""; position: absolute; right: -70px; top: -75px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--community-accent) 20%, transparent), transparent 68%); }
.profile-editor { padding: clamp(22px, 3vw, 34px); border: 1px solid rgba(103, 210, 226, .18); border-radius: 20px; background: rgba(4, 14, 18, .48); }
.profile-settings .profile-editor { min-height: 620px; box-shadow: inset 0 1px rgba(255, 255, 255, .025), 0 22px 48px rgba(0, 0, 0, .16); }
.profile-feature-head { position: relative; display: flex; align-items: center; gap: 14px; margin: 16px 0 19px; }.profile-feature-head h3 { margin: 0; font-size: 22px; }.profile-feature-head p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }.profile-feature-head .profile-role { margin: 5px 0 0; color: #71dcea; font-size: 12px; font-weight: 760; }
.profile-feature-head > .profile-avatar, .profile-feature-head > div { position:relative; z-index:1; }
.profile-avatar-backdrop { position:absolute; z-index:0; left:36px; top:36px; width:104px; height:92px; border-radius:18px; object-fit:cover; pointer-events:none; translate:-50% -50%; }
[data-community-avatar-backdrop="none"] .profile-avatar-backdrop { display:none; }
[data-community-avatar-backdrop="blur"] .profile-avatar-backdrop { opacity:.34; filter:blur(7px) saturate(.74) brightness(.68); clip-path:inset(0 round 18px); }
[data-community-avatar-backdrop="aura"] .profile-avatar-backdrop { opacity:.26; filter:blur(5px) saturate(1.35) brightness(.76); clip-path:inset(0 round 18px); box-shadow:0 0 32px color-mix(in srgb,var(--community-accent) 42%,transparent); }
.player-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 17px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(4, 14, 18, .42); }
.player-stats div { min-width: 0; padding: 11px; }.player-stats div + div { border-left: 1px solid var(--line); }
.player-stats dt { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }.player-stats dd { margin: 5px 0 0; font-size: 20px; font-weight: 800; }
.profile-avatar { width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid rgba(41, 205, 228, .45); border-radius: 13px; object-fit: cover; background: var(--surface-2); }.profile-avatar-large { width: 72px; height: 72px; border-radius: 21px; box-shadow: 0 12px 28px rgba(0, 0, 0, .25); }
.winner-badge { display: inline-flex; margin-top: 8px; padding: 5px 8px; border: 1px solid rgba(245, 198, 107, .43); border-radius: 99px; background: rgba(245, 198, 107, .13); color: #ffe2a3; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.winner-profile { border-color: rgba(245, 198, 107, .33) !important; background: linear-gradient(135deg, rgba(55, 43, 22, .42), rgba(5, 15, 19, .48)) !important; }
.profile-form { display: grid; gap: 8px; }.profile-form label, .dialog-card > label, .form-grid label { display: grid; gap: 7px; color: #b8ced2; font-size: 14px; font-weight: 700; }
.profile-appearance-editor { display: grid; gap: 12px; margin-top: 7px; padding: 16px; border: 1px solid color-mix(in srgb, var(--community-accent) 26%, var(--line)); border-radius: 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--community-accent) 8%, transparent), rgba(4, 14, 18, .42)); }
.profile-appearance-editor > header { display: flex; align-items: start; justify-content: space-between; gap: 12px; }.profile-appearance-editor strong { display: block; font-size: 15px; }.profile-appearance-editor small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.community-theme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(126px, 1fr)); gap: 8px; }
.community-theme-choice { position: relative; display: grid !important; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 8px !important; min-height: 48px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 10px; background: rgba(3, 12, 15, .48); color: #b8ced2; cursor: pointer; }
.community-theme-choice:has(input:checked) { border-color: var(--community-accent); background: color-mix(in srgb, var(--community-accent) 11%, rgba(3, 12, 15, .7)); color: #effdff; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--community-accent) 25%, transparent); }
.community-theme-choice input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.community-theme-preview { --community-accent: var(--cyan); position: relative; width: 30px; height: 30px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--community-accent) 62%, white); border-radius: 9px; background: linear-gradient(135deg, #071519, color-mix(in srgb, var(--community-accent) 33%, #10282e)); }.community-theme-preview i { position: absolute; inset: 5px; border: 1px solid color-mix(in srgb, var(--community-accent) 52%, transparent); border-radius: 5px; }.community-theme-preview b { position: absolute; right: 4px; bottom: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--community-accent); }
.community-theme-preview[data-community-theme="white"], .profile-feature[data-community-theme="white"] { color: #152126; background: linear-gradient(135deg, #eef8fa, #cfdee2); }.community-theme-preview[data-community-theme="glass"], .profile-feature[data-community-theme="glass"] { background: linear-gradient(135deg, rgba(133, 221, 239, .25), rgba(43, 67, 83, .68)); }.community-theme-preview[data-community-theme="ocean"], .profile-feature[data-community-theme="ocean"] { background: linear-gradient(135deg, #062d4a, #07171c 72%); }.community-theme-preview[data-community-theme="aurora"], .profile-feature[data-community-theme="aurora"] { background: linear-gradient(135deg, #1a1141, #063b35 65%, #071519); }.community-theme-preview[data-community-theme="royal"], .profile-feature[data-community-theme="royal"] { background: linear-gradient(135deg, #26134b, #0c1737); }.community-theme-preview[data-community-theme="noir"], .profile-feature[data-community-theme="noir"] { background: linear-gradient(135deg, #090909, #242424); }.community-theme-preview[data-community-theme="mono"], .profile-feature[data-community-theme="mono"] { background: linear-gradient(135deg, #101010, #3a3a3a); }.community-theme-preview[data-community-theme="forest"], .profile-feature[data-community-theme="forest"] { background: linear-gradient(135deg, #062d22, #092016); }.community-theme-preview[data-community-theme="sunset"], .profile-feature[data-community-theme="sunset"] { background: linear-gradient(135deg, #3d1524, #44250b); }.community-theme-preview[data-community-theme="cyber"], .profile-feature[data-community-theme="cyber"] { background: linear-gradient(135deg, #09253d, #1b0f3d); }.community-theme-preview[data-community-theme="coquette"], .profile-feature[data-community-theme="coquette"] { background: linear-gradient(135deg, #482031, #3b263f); }.community-theme-preview[data-community-theme="classic"], .profile-feature[data-community-theme="classic"] { background: linear-gradient(135deg, #1a282a, #0d1617); }.community-theme-preview[data-community-theme="kitty"], .profile-feature[data-community-theme="kitty"] { background: linear-gradient(135deg, #3e284b, #274457); }.community-theme-preview[data-community-theme="kitty-night"], .profile-feature[data-community-theme="kitty-night"] { background: linear-gradient(135deg, #19112c, #051a26); }
.community-theme-preview[data-community-theme="nebula"], .profile-feature[data-community-theme="nebula"] { background: linear-gradient(135deg, #35155b, #071c39 72%); }.community-theme-preview[data-community-theme="crimson"], .profile-feature[data-community-theme="crimson"] { background: linear-gradient(135deg, #521426, #18090e); }.community-theme-preview[data-community-theme="arctic"], .profile-feature[data-community-theme="arctic"] { color: #11242d; background: linear-gradient(135deg, #e7fbff, #78aebe); }.community-theme-preview[data-community-theme="sakura"], .profile-feature[data-community-theme="sakura"] { background: linear-gradient(135deg, #562540, #211524); }.community-theme-preview[data-community-theme="terminal"], .profile-feature[data-community-theme="terminal"] { background: linear-gradient(135deg, #02311a, #03130b); }.community-theme-preview[data-community-theme="lavender"], .profile-feature[data-community-theme="lavender"] { background: linear-gradient(135deg, #4b3a76, #1a162d); }.community-theme-preview[data-community-theme="sand"], .profile-feature[data-community-theme="sand"] { background: linear-gradient(135deg, #554226, #1e1910); }.community-theme-preview[data-community-theme="graphite"], .profile-feature[data-community-theme="graphite"] { background: linear-gradient(135deg, #30383b, #0d1113); }
.community-theme-name { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.community-accent-grid { margin-top: 1px; }
.profile-music-editor { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--community-accent) 18%, var(--line)); }.profile-music-editor strong { display: block; font-size: 14px; }.profile-music-editor header small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }.profile-music-warning { margin: 0 !important; padding: 9px 11px; border-radius: 9px; background: rgba(245, 198, 107, .07); color: #d7c79f !important; font-size: 11px !important; line-height: 1.5; }
.profile-music-editor input[type="file"] { padding: 7px; }
.profile-music-editor input[type="file"]::file-selector-button { min-height: 34px; margin-right: 10px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: rgba(41, 205, 228, .08); color: #d9f7fa; font: inherit; font-weight: 700; cursor: pointer; }
.profile-music-current { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid rgba(131, 209, 160, .22); border-radius: 9px; background: rgba(131, 209, 160, .055); }
.profile-music-current small { display: block; margin-top: 3px; color: #82a88f; font-size: 11px; }
.profile-music-current button { min-height: 34px; padding: 0 11px; border: 1px solid rgba(250, 141, 150, .25); border-radius: 7px; background: transparent; color: #f4adb3; font-size: 11px; font-weight: 750; }
.profile-slug-field { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #071519; }
.profile-slug-field:focus-within { border-color: var(--cyan); outline: 2px solid rgba(41, 205, 228, .22); outline-offset: 1px; }
.profile-slug-field span { padding: 0 0 0 11px; color: #82a5ac; font-size: 14px; white-space: nowrap; }
.profile-slug-field input { border: 0; background: transparent; outline: 0; box-shadow: none; }
.profile-identity-editor { display: grid; gap: 10px; margin-top: 6px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: rgba(4, 14, 18, .42); }
.profile-identity-editor > header { display: flex; align-items: start; justify-content: space-between; gap: 12px; }.profile-identity-editor > header strong { display: block; font-size: 14px; }.profile-identity-editor > header small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.identity-status { flex: 0 0 auto; padding: 5px 7px; border: 1px solid rgba(250, 141, 150, .28); border-radius: 99px; color: #e7a8ae; font-size: 11px; font-weight: 750; }.identity-status.is-complete { border-color: rgba(131, 209, 160, .34); color: #9fdcaf; }
.profile-privacy-check { grid-template-columns: 18px minmax(0, 1fr) !important; align-items: start; gap: 9px !important; margin-top: 3px; padding: 10px; border: 1px solid rgba(103, 210, 226, .13); border-radius: 10px; background: rgba(41, 205, 228, .035); }
.profile-section-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.profile-section-controls .profile-privacy-check { margin: 0; }
.profile-privacy-check input { width: 18px; min-height: 18px; margin: 1px 0 0; accent-color: var(--cyan); }.profile-privacy-check strong { display: block; font-size: 13px; }.profile-privacy-check small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 450; line-height: 1.45; }
.profile-links-editor { display: grid; gap: 9px; margin-top: 6px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: rgba(4, 14, 18, .42); }
.profile-links-editor > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.profile-links-editor strong { display: block; font-size: 14px; }.profile-links-editor small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.profile-link-add, .profile-link-remove { min-height: 36px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: #b9d3d7; font-size: 14px; font-weight: 700; }.profile-link-add { padding: 0 11px; }.profile-link-add:hover, .profile-link-remove:hover { border-color: var(--line-strong); background: var(--cyan-soft); }.profile-link-add:disabled { cursor: not-allowed; opacity: .48; }
.profile-links-list { display: grid; gap: 8px; }.profile-link-row { display: grid; grid-template-columns: minmax(95px, .72fr) minmax(140px, 1.5fr) 38px; gap: 7px; align-items: center; }.profile-link-row input { min-width: 0; }.profile-link-remove { width: 38px; padding: 0; color: #ffb5bb; }
.profile-open-link { justify-self: start; color: #a4eaf3; font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.profile-auth-callout { display: grid; gap: 9px; padding: 14px; border: 1px dashed var(--line-strong); border-radius: 12px; background: rgba(41, 205, 228, .045); }.profile-auth-callout strong { font-size: 15px; }.profile-auth-callout p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }.profile-auth-callout .community-button { justify-self: start; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 11px; background: #071519; color: var(--text); }
input, select { min-height: 43px; padding: 0 11px; }.profile-form textarea { min-height: 82px; }.dialog-card textarea { min-height: 105px; }
textarea { resize: vertical; padding: 11px; line-height: 1.48; }.profile-form-row, .dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.form-state { color: var(--muted); font-size: 13px; }.form-state.error { color: #ffadb4; }.form-state.success { color: #9ce4af; }
.profiles-browser { min-width: 0; padding: 4px 0 0; }
.profiles-browser > header { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 13px; padding: 0 3px 12px; border-bottom: 1px solid var(--line); }.profiles-browser h3 { margin: 5px 0 0; font-size: 22px; }
.profiles-browser .members-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.member-item { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px; border: 1px solid rgba(103, 210, 226, .16); border-radius: 14px; background: rgba(5, 15, 19, .42); }
.member-profile-main { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 11px; color: inherit; text-decoration: none; }.member-profile-main:hover h3 { color: var(--cyan); }.member-item h3 { display: flex; align-items: center; gap: 7px; overflow: hidden; margin: 0; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }.member-item h3 .winner-badge { flex: 0 0 auto; margin: 0; padding: 3px 6px; font-size: 11px; }.member-role { display: block; overflow: hidden; margin-top: 3px; color: #71dcea; font-size: 11px; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }.member-item p { overflow: hidden; margin: 4px 0 0; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.member-discord { display: block; overflow: hidden; margin-top: 3px; color: #94a9ae; font: 600 11px ui-monospace, "SFMono-Regular", Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.profiles-more { width: min(260px, 100%); margin: 14px auto 0; }
[data-community-avatar="circle"] .profile-avatar { border-radius: 50%; }
[data-community-avatar="square"] .profile-avatar { border-radius: 4px; }
[data-community-frame="clean"] .profile-avatar { border-color: transparent; box-shadow: none; }
[data-community-frame="ring"] .profile-avatar { border-color: var(--community-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--community-accent) 54%, transparent); }
[data-community-frame="glow"] .profile-avatar { border-color: var(--community-accent); box-shadow: 0 0 26px color-mix(in srgb, var(--community-accent) 48%, transparent); }
[data-community-frame="orbit"] .profile-avatar { border-color:var(--community-accent); outline:1px dashed color-mix(in srgb,var(--community-accent) 72%,transparent); outline-offset:6px; box-shadow:0 0 0 3px color-mix(in srgb,var(--community-accent) 12%,transparent); }
[data-community-density="compact"].member-item { padding: 8px 10px; }
[data-community-density="spacious"].member-item { padding: 17px 15px; }
[data-community-density="compact"].profile-editor { padding: 18px; }
[data-community-density="spacious"].profile-editor { padding: clamp(28px, 4vw, 42px); }
[data-hide-role-badge="true"] :is(.member-role,.profile-role) { display: none; }
[data-community-hero-layout="centered"].member-item .member-profile-main { grid-template-columns: 1fr; justify-items: center; text-align: center; }
[data-community-hero-layout="centered"].profile-feature .profile-feature-head { justify-content: center; text-align: center; }
[data-community-hero-layout="spotlight"].profile-feature .profile-feature-head { flex-direction:column; justify-content:center; padding-block:14px 5px; text-align:center; }
[data-community-hero-layout="spotlight"].profile-feature .profile-avatar-large { width:104px; height:104px; }
[data-community-hero-layout="spotlight"].profile-feature .profile-avatar-backdrop { left:50%; top:66px; width:148px; height:128px; border-radius:24px; }
[data-community-avatar-size="compact"] .profile-avatar { width:34px; height:34px; }
[data-community-avatar-size="compact"] .profile-avatar-large { width:58px; height:58px; }
[data-community-avatar-size="large"] .profile-avatar { width:50px; height:50px; }
[data-community-avatar-size="large"] .profile-avatar-large { width:92px; height:92px; }
[data-community-hero-pattern="grid"] { background-image: linear-gradient(color-mix(in srgb,var(--community-accent) 9%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--community-accent) 9%,transparent) 1px,transparent 1px); background-size: 26px 26px; }
[data-community-hero-pattern="dots"] { background-image: radial-gradient(circle,color-mix(in srgb,var(--community-accent) 25%,transparent) 1px,transparent 1.5px); background-size: 20px 20px; }
.like-button { min-height: 40px; padding: 0 11px; border: 1px solid rgba(41, 205, 228, .28); border-radius: 9px; background: transparent; color: #bcd9de; font-size: 14px; font-weight: 750; }.like-button:hover, .like-button.is-liked { border-color: rgba(245, 198, 107, .58); background: rgba(245, 198, 107, .12); color: #ffe0a0; }
.player-static-editor { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; padding-top: 8px; border-top: 1px solid color-mix(in srgb, var(--community-accent) 24%, transparent); }.player-static-editor input { min-width: 0; min-height: 32px; padding: 0 8px; border: 1px solid rgba(84, 205, 222, .28); border-radius: 4px; background: rgba(2, 12, 15, .72); color: inherit; font: 700 12px ui-monospace, "SFMono-Regular", Consolas, monospace; }.player-static-editor button { min-height: 32px; padding: 0 8px; border: 1px solid rgba(84, 205, 222, .3); border-radius: 4px; background: transparent; color: #a9e9f1; font-size: 11px; font-weight: 800; }.player-static-editor button:hover { border-color: var(--community-accent); background: color-mix(in srgb, var(--community-accent) 12%, transparent); }.player-static-editor .player-static-reset { border-color: rgba(244, 132, 142, .36); color: #ffb2ba; }
.empty { padding: 20px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); font-size: 14px; line-height: 1.55; text-align: center; }
.complaint-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; padding: 14px; border: 1px solid rgba(103, 210, 226, .16); border-radius: 14px; background: rgba(5, 15, 19, .42); }.complaint-item strong { font-size: 14px; }.complaint-item p { grid-column: 1 / -1; overflow: hidden; margin: 0; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.complaint-status { align-self: start; padding: 5px 8px; border-radius: 99px; background: var(--cyan-soft); color: #a4edf5; font-size: 11px; font-weight: 800; text-transform: uppercase; }.complaint-status.accepted { background: rgba(131, 209, 160, .14); color: #a7e8bc; }.complaint-status.rejected { background: rgba(250, 141, 150, .12); color: #ffb6bc; }

.community-footer { display: flex; justify-content: space-between; gap: 15px; padding: 28px 5px 0; color: #66858c; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.community-toast { position: fixed; z-index: 1200; right: 18px; bottom: 18px; max-width: min(390px, calc(100% - 36px)); padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: 11px; background: #10272d; color: #ddf8fb; box-shadow: 0 18px 50px rgba(0, 0, 0, .38); font-size: 14px; font-weight: 700; }.community-toast.success { border-color: rgba(131, 209, 160, .46); }.community-toast.error { border-color: rgba(250, 141, 150, .5); color: #ffbec3; }
.community-error { width: min(620px, 100%); margin: 10vh auto; padding: clamp(28px, 6vw, 48px); border: 1px solid rgba(255, 150, 161, .34); border-radius: 24px; background: #15191b; }.community-error.is-closed { border-color: var(--line-strong); background: linear-gradient(145deg, rgba(13, 39, 46, .98), rgba(5, 16, 20, .98)); box-shadow: 0 30px 90px rgba(0, 0, 0, .34); }.community-error h1 { max-width: 520px; margin: 10px 0 0; font-size: clamp(30px, 6vw, 48px); line-height: 1.02; letter-spacing: -.045em; }.community-error p { max-width: 540px; color: #c5d0d2; line-height: 1.65; }.community-error-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }

.community-dialog { width: min(720px, calc(100% - 24px)); max-height: calc(100dvh - 28px); padding: 0; border: 1px solid var(--line-strong); border-radius: 22px; background: var(--surface); color: var(--text); box-shadow: 0 32px 100px rgba(0, 0, 0, .62); }.community-dialog::backdrop { background: rgba(1, 6, 8, .78); backdrop-filter: blur(5px); }.community-dialog[open] { animation: dialog-in .18s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(.99); } }
.dialog-card { display: grid; gap: 15px; padding: clamp(20px, 4vw, 30px); }.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }.dialog-head h2 { margin: 7px 0 0; font-size: 26px; letter-spacing: -.04em; }.dialog-head p { max-width: 570px; margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }.dialog-close { width: 40px; height: 40px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: #b9ced2; font-size: 23px; line-height: 1; }.dialog-close:hover { border-color: var(--line-strong); color: white; }
.idea-detail-dialog { width: min(820px, calc(100% - 24px)); }.idea-detail-dialog .dialog-card { max-height: calc(100dvh - 28px); overflow: auto; }.idea-detail-content { padding: 2px 1px; }.idea-detail-content .formatted-text { font-size: 15px; }.idea-detail-additions { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }.idea-detail-additions-list { display: grid; gap: 8px; }
.recruitment-review-dialog { width: min(940px, calc(100% - 24px)); }.recruitment-review-dialog .dialog-card { max-height: calc(100dvh - 28px); overflow: auto; }.recruitment-review-list { display: grid; gap: 12px; }.recruitment-review-card { display: grid; gap: 14px; padding: 17px; border: 1px solid rgba(103, 210, 226, .18); border-radius: 15px; background: linear-gradient(145deg, rgba(12, 38, 44, .72), rgba(5, 15, 18, .82)); }.recruitment-review-card > header { display: flex; align-items: start; justify-content: space-between; gap: 12px; }.recruitment-review-card h3 { margin: 0; font-size: 18px; }.recruitment-review-card header small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }.recruitment-review-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }.recruitment-review-fields > div { min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(2, 11, 14, .5); }.recruitment-review-fields .is-wide { grid-column: 1 / -1; }.recruitment-review-fields dt { color: #6f969d; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.recruitment-review-fields dd { margin: 6px 0 0; color: #dcecef; font-size: 13px; line-height: 1.5; white-space: pre-wrap; }.recruitment-review-actions { display: flex; justify-content: flex-end; gap: 8px; }.recruitment-review-actions .danger { border-color: rgba(250, 141, 150, .35); color: #ffb9bf; }.recruitment-review-actions .danger:hover { background: rgba(250, 141, 150, .1); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }.field-help { display: block; margin-top: -8px; color: var(--muted); font-size: 12px; line-height: 1.5; }.notice-card { padding: 13px 15px; border-left: 3px solid var(--amber); border-radius: 0 10px 10px 0; background: rgba(245, 198, 107, .07); }.notice-card strong { font-size: 14px; }.notice-card p { margin: 5px 0 0; color: #d6c39b; font-size: 13px; line-height: 1.5; }
.checks-list { display: grid; gap: 8px; }.check { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 9px; padding: 10px 11px; border: 1px solid rgba(103, 210, 226, .13); border-radius: 10px; color: #b8cdd1; font-size: 14px; line-height: 1.5; }.check input { width: 18px; min-height: 18px; margin: 1px 0 0; accent-color: var(--cyan); }.dependent-check { margin-left: 27px; border-color: rgba(245, 198, 107, .24); }
.complaint-rules { border: 1px solid var(--line); border-radius: 12px; background: rgba(4, 14, 18, .45); }.complaint-rules summary { padding: 13px 14px; color: #cde7ea; font-size: 14px; font-weight: 750; cursor: pointer; }.complaint-rules ol { max-height: 330px; overflow: auto; margin: 0; padding: 0 26px 17px 40px; color: #a7bec3; font-size: 14px; line-height: 1.6; }.complaint-rules li + li { margin-top: 10px; }.complaint-rules p { margin: 5px 0; }.complaint-rules strong { color: #e2f0f2; }.dialog-actions { padding-top: 3px; }
.complaint-brief { padding-block: 12px; }
.complaint-extras { border: 1px solid rgba(98,199,214,.18); border-radius: 11px; background: rgba(4,14,18,.36); }
.complaint-extras > summary { padding: 13px 14px; color: #cde7ea; font-size: 13px; font-weight: 750; cursor: pointer; }
.complaint-extras > summary small { margin-left: 6px; color: #718d92; font-size: 10px; font-weight: 600; text-transform: uppercase; }
.complaint-extras > div { display: grid; gap: 11px; padding: 2px 14px 14px; border-top: 1px solid rgba(98,199,214,.1); }
.complaint-confirm { padding: 12px 13px; border: 1px solid rgba(98,199,214,.16); border-radius: 10px; background: rgba(41,205,228,.035); }
.complaint-receipt { padding: 15px 16px; border: 1px solid rgba(131, 209, 160, .42); border-radius: 12px; background: rgba(131, 209, 160, .07); }.complaint-receipt span { display: block; color: #8ccfa2; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.complaint-receipt strong { display: block; margin-top: 7px; color: #e8fff0; font-size: 18px; }.complaint-receipt p { margin: 6px 0 0; color: #a9cbb3; font-size: 13px; line-height: 1.5; }

@media (max-width: 900px) {
  .community-topbar { grid-template-columns: minmax(0, 1fr) auto; padding-top: 5px; }
  .community-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; padding: 5px 0 8px; scrollbar-width: none; }
  .community-nav::-webkit-scrollbar { display: none; }
  .community-nav button { flex: 0 0 auto; }
  .community-hero { grid-template-columns: 1fr; gap: 20px; }
  .hero-event { min-height: 190px; }
  .community-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-metrics > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .community-metrics > div:nth-child(4) { border-top: 1px solid var(--line); }
  .community-grid { grid-template-columns: 1fr; }
  .ideas-grid { grid-template-columns: 1fr; }
  .ranking-switchboard { grid-template-columns: 1fr; min-height: 0; }
  .ranking-channels { grid-template-columns: repeat(3, minmax(0, 1fr)); border-right: 0; border-bottom: 1px solid var(--line); }
  .ranking-channel { min-height: 82px; border-right: 1px solid var(--line); border-bottom: 0; }
  .ranking-channel:last-child { border-right: 0; }
  .ranking-channel::before { top: auto; right: 16px; bottom: 0; left: 16px; width: auto; height: 3px; border-radius: 3px 3px 0 0; }
  .profile-directory-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .community-shell { width: min(100% - 20px, 1240px); padding-top: 10px; }
  .community-topbar { min-height: 58px; gap: 8px; }
  .community-nav { gap: 2px; }
  .community-nav button { padding-inline: 9px; }
  .community-brand small { display: none; }
  .topbar-utilities { gap: 5px; }.panel-link, .management-menu summary { min-height: 40px; padding: 0 9px; font-size: 12px; }.management-popover { right: -46px; }
  .account-menu summary { grid-template-columns: 32px 9px; padding-right: 8px; }.account-menu summary > span { display: none; }
  .community-hero { margin-top: 16px; padding: 25px 19px; border-radius: 20px; }
  .community-hero h1 { font-size: clamp(38px, 13vw, 56px); }
  .hero-event { padding: 19px; }
  .community-metrics > div { padding: 15px 14px; }
  .community-metrics dd { font-size: 27px; }
  .community-settings { align-items: flex-start; flex-direction: column; }
  .join-callout { align-items: stretch; flex-direction: column; }.join-callout .community-button { width: 100%; }
  .community-section { padding: 17px; border-radius: 17px; }
  .community-section-head { align-items: flex-start; flex-direction: column; }
  .events-grid, .action-grid, .form-grid { grid-template-columns: 1fr; }
  .ranking-channels { display: flex; overflow-x: auto; }
  .ranking-channel { min-width: 180px; flex: 1 0 180px; }
  .ranking-display { padding: 23px 16px 17px; }
  .ranking-signal { top: 13px; right: 15px; }
  .ranking-panel > header { min-height: 105px; align-items: flex-start; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 24px 0 0; }
  .ranking-panel > header p { max-width: none; text-align: left; }
  .ranking-entry { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; }.ranking-winner-entry { grid-template-columns: 30px 38px minmax(0, 1fr); }.ranking-winner-entry .ranking-value { grid-column: 3; }.ranking-winner-entry .profile-avatar { width: 38px; height: 38px; }
  .ranking-vote { padding: 0 8px; }
  .public-rules-list, .public-rule-content { grid-template-columns: 1fr; }.public-rule[open], .public-rule-content section:last-child { grid-column: auto; }.public-rule-content ol { columns: 1; }
  .action-card { min-height: 205px; }
  .profile-directory-head { align-items: stretch; }.profile-search { min-width: 0; width: 100%; }
  .profiles-browser .members-list { grid-template-columns: 1fr; }
  .member-item h3 .winner-badge { width: 24px; height: 24px; display: inline-grid; place-items: center; padding: 0; overflow: hidden; font-size: 0; }.member-item h3 .winner-badge::after { content: "★"; font-size: 12px; }
  .profile-form-row, .dialog-actions { align-items: stretch; flex-direction: column; }
  .profile-link-row { grid-template-columns: 1fr 38px; }.profile-link-row input:first-child { grid-column: 1 / -1; }
  .dialog-actions .community-button, .profile-form-row .community-button { width: 100%; }
  .recruitment-review-fields { grid-template-columns: 1fr; }.recruitment-review-fields .is-wide { grid-column: auto; }.recruitment-review-actions { align-items: stretch; flex-direction: column-reverse; }.recruitment-review-actions .community-button { width: 100%; }
  .community-footer { align-items: flex-start; flex-direction: column; }
  .community-dialog { max-height: calc(100dvh - 12px); }.dialog-card { padding: 19px 16px; }.dialog-head h2 { font-size: 23px; }
}

/* Event catalogue: a playable programme, not a wall of identical posters. */
[data-community-panel="events"] { scroll-margin-top: 74px; padding: 0; overflow: hidden; border-radius: 4px; background: #061013; }
[data-community-panel="events"] > .community-section-head { min-height: 172px; margin: 0; padding: 31px clamp(22px, 4vw, 48px) 27px; border-bottom: 1px solid rgba(103, 210, 226, .18); background: linear-gradient(112deg, #07161a 0 58%, #0c292f 58% 59%, #061013 59%); box-shadow: inset 4px 0 var(--cyan); }
[data-community-panel="events"] > .community-section-head h2 { font-size: clamp(34px, 5vw, 58px); line-height: .9; letter-spacing: -.06em; }
[data-community-panel="events"] > .community-section-head p { max-width: 590px; color: #9bb8bd; }
[data-community-panel="events"] .section-counter { align-self: flex-start; border-radius: 2px; color: #c5e8ec; background: #071d22; }
[data-community-panel="events"] .events-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
[data-community-panel="events"] .event-item { min-height: 0; display: grid; grid-template-columns: minmax(210px, .72fr) minmax(0, 1.28fr); overflow: visible; padding: 0; border: 0; border-bottom: 1px solid rgba(103, 210, 226, .16); border-radius: 0; background: #071216; box-shadow: none; transform: none; }
[data-community-panel="events"] .event-item:nth-child(even) { background: #08181c; }
[data-community-panel="events"] .event-item:hover { border-color: rgba(103, 210, 226, .42); background: #0a1d22; box-shadow: none; transform: none; }
[data-community-panel="events"] .event-media { min-height: 168px; aspect-ratio: auto; border-right: 1px solid rgba(103, 210, 226, .16); background: #0a2025; }
[data-community-panel="events"] .event-media::after { height: 100%; background: linear-gradient(90deg, transparent 42%, #071216 100%); }
[data-community-panel="events"] .event-media-rank { top: 14px; left: 14px; border-left-width: 3px; border-radius: 0; }
[data-community-panel="events"] .event-item-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(176px, .4fr); grid-template-areas: "title details" "copy details"; column-gap: 30px; align-content: center; min-height: 168px; margin: 0; padding: 24px clamp(20px, 3vw, 38px); }
[data-community-panel="events"] .event-item h3 { grid-area: title; margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1; }
[data-community-panel="events"] .event-item p { grid-area: copy; display: block; max-width: 640px; margin: 0; color: #a9c1c6; }
[data-community-panel="events"] .event-details { grid-area: details; gap: 9px; padding-left: 22px; border-left: 1px solid rgba(103, 210, 226, .16); }
[data-community-panel="events"] .event-details-row { padding-top: 0; border: 0; font-size: 11px; }
[data-community-panel="events"] .event-vote, [data-community-panel="events"] .event-rules-link { border-radius: 2px; }
[data-community-panel="events"] .event-social { text-align: left; }
@media (max-width: 720px) {
  [data-community-panel="events"] > .community-section-head { min-height: 0; padding: 24px 18px; background: #07161a; }
  [data-community-panel="events"] > .community-section-head h2 { font-size: 35px; }
  [data-community-panel="events"] .event-item { grid-template-columns: 1fr; }
  [data-community-panel="events"] .event-media { min-height: 0; aspect-ratio: 16 / 8; border-right: 0; border-bottom: 1px solid rgba(103, 210, 226, .16); }
  [data-community-panel="events"] .event-media::after { background: linear-gradient(180deg, transparent 36%, #071216 100%); }
  [data-community-panel="events"] .event-item-content { grid-template-columns: 1fr; grid-template-areas: "title" "copy" "details"; gap: 12px; padding: 20px 18px 22px; }
  [data-community-panel="events"] .event-details { padding: 15px 0 0; border-top: 1px solid rgba(103, 210, 226, .16); border-left: 0; }
}

@media (max-width: 520px) {
  .panel-team-link { width: 42px; padding: 0; font-size: 0; }
  .panel-team-link::before { content: 'ET'; font-size: 11px; letter-spacing: .08em; }
  .community-brand > span { display: none; }
  .community-more-menu summary, .management-menu summary { width: 42px; justify-content: center; gap: 0; padding: 0; font-size: 0; }
  .community-more-menu summary::before { content: "•••"; font-size: 12px; letter-spacing: 2px; }
  .management-menu summary::before { content: "⚙"; font-size: 16px; }
  .community-more-menu summary i, .management-menu summary i { display: none; }
  .account-menu summary { width: 44px; grid-template-columns: 32px; padding: 5px; }
  .account-menu summary i { display: none; }
  .recruitment-player-status { position: static; max-width: 100%; margin-top: 12px; text-align: left; }
  .recruitment-card .action-card-copy { margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Seattle Operations · community v7 */
body {
  background:
    linear-gradient(180deg, rgba(27, 67, 75, .08), transparent 26rem),
    #061012;
}

.community-hero {
  min-height: 390px;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  align-items: end;
  gap: 0;
  margin: 18px 0 12px;
  padding: 0;
  border-color: rgba(154, 194, 201, .22);
  border-radius: 10px;
  background: #081316;
  box-shadow: none;
}
.hero-media { position: absolute; z-index: -2; inset: 0; overflow: hidden; background: linear-gradient(145deg, #0d2227, #061012); }
.hero-media::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(5, 14, 17, .98) 0%, rgba(5, 14, 17, .84) 34%, rgba(5, 14, 17, .24) 67%, rgba(5, 14, 17, .52) 100%); }
.hero-media::after { content: none; }
.hero-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; opacity: .82; filter: saturate(.86) contrast(1.04); transform: scale(1.015); }
.hero-media-placeholder { position: absolute; top: 48px; right: 54px; color: rgba(209, 237, 241, .12); font-size: clamp(38px, 6vw, 78px); font-weight: 800; line-height: .88; letter-spacing: -.065em; text-align: right; }
.hero-media.has-image .hero-media-placeholder { display: none; }
.hero-copy { min-height: 390px; display: flex; flex-direction: column; justify-content: center; padding: 36px 40px; }
.community-hero h1 { max-width: 610px; margin: 10px 0 14px; font-size: clamp(40px, 4.2vw, 54px); line-height: .98; letter-spacing: -.048em; }
.community-hero .hero-copy > p { max-width: 500px; color: #b2c5c9; font-size: 14px; line-height: 1.55; }
.community-hero-actions { align-items: center; margin-top: 22px; }
.hero-text-action { min-height: 40px; display: inline-flex; align-items: center; padding: 0 4px; border: 0; background: transparent; color: #9eb4b9; font-size: 13px; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(158, 180, 185, .42); text-underline-offset: 4px; }
.hero-text-action:hover { color: #e7f7f9; text-decoration-color: var(--cyan); }
.hero-event { z-index: 3; min-height: 205px; margin: 18px; padding: 20px; border-color: rgba(178, 216, 222, .24); border-radius: 7px; background: rgba(5, 17, 20, .94); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.hero-event::before { content: none; }
.hero-event-kicker { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #9db5ba; font-size: 11px; }
.hero-event-kicker .status-label { color: #66d9e8; }
.hero-event strong { margin-top: 11px; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.08; }
.hero-event p { display: -webkit-box; overflow: hidden; margin: 10px 0 15px; color: #b4c6ca; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.hero-event-meta { justify-content: space-between; }
.hero-event-meta button { padding: 0; border: 0; background: transparent; color: #9edfea; font-size: 12px; font-weight: 750; }
.hero-event-meta button:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }

.community-metrics { margin-bottom: 14px; border-width: 1px 0; border-radius: 0; background: transparent; }
.community-metrics > div { padding: 13px 16px; }
.community-metrics dt { color: #708c92; }
.community-metrics dd { margin: 5px 0 2px; font-size: clamp(22px, 2.3vw, 28px); }
.community-metrics small { font-size: 10px; }

.events-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.event-item { min-height: 500px; padding: 0; border-color: rgba(137, 185, 193, .18); border-radius: 18px; background: #081619; box-shadow: 0 16px 42px rgba(0, 0, 0, .2); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.event-item::after { content: none; }
.event-item:hover { border-color: rgba(74, 205, 223, .38); box-shadow: 0 22px 52px rgba(0, 0, 0, .3); transform: translateY(-2px); }
.event-media { position: relative; overflow: hidden; flex: 0 0 auto; aspect-ratio: 16 / 9; background: linear-gradient(145deg, #10262b, #081417); }
.event-media::after { content: ""; position: absolute; inset: auto 0 0; height: 48%; background: linear-gradient(180deg, transparent, #081619 92%); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); -webkit-mask-image: linear-gradient(transparent, #000 78%); mask-image: linear-gradient(transparent, #000 78%); }
.event-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s cubic-bezier(.2, .8, .2, 1), filter .3s ease; }
.event-item:hover .event-media img { filter: saturate(1.08); transform: scale(1.025); }
.event-media.is-missing img { display: none; }
.event-media.is-missing::before { content: "EVENTS 14"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(205, 235, 239, .16); font-size: 22px; font-weight: 800; letter-spacing: .08em; }
.event-item-content { position: relative; z-index: 1; min-height: 0; flex: 1; display: flex; flex-direction: column; margin-top: -22px; padding: 0 20px 20px; }
.event-item h3 { margin: 0 0 9px; font-size: 21px; line-height: 1.15; }
.event-item p { margin: 0 0 17px; -webkit-line-clamp: 5; }
.event-details { margin-top: auto; }
.event-details-row { min-height: 32px; align-items: center; color: #819ca2; }
.event-details-row time { color: #a7bec3; }

.ideas-grid { grid-template-columns: 1fr; gap: 10px; }
.idea-item { grid-template-columns: 50px minmax(0, 1fr); gap: 15px; padding: 18px 19px; border-color: rgba(137, 185, 193, .17); border-radius: 14px; background: rgba(5, 16, 19, .58); transition: border-color .18s ease, background .18s ease; }
.idea-item:hover { border-color: rgba(65, 195, 214, .36); background: rgba(8, 25, 29, .74); }
.idea-item > .profile-avatar { width: 50px; height: 50px; border-radius: 13px; }
.idea-item-body { min-width: 0; }
.idea-item-head { align-items: start; }
.idea-item-title { min-width: 0; }
.idea-item h3 { font-size: 19px; line-height: 1.22; }
.idea-item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.idea-item-meta strong { color: #bcecf2; font-size: 12px; }
.idea-item-meta span { color: #78969c; }
.idea-status { flex: 0 0 auto; padding: 5px 8px; border: 1px solid rgba(78, 198, 215, .2); border-radius: 999px; background: rgba(41, 205, 228, .07); color: #95dce6; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.idea-status.accepted, .idea-status.implemented { border-color: rgba(131, 209, 160, .28); background: rgba(131, 209, 160, .08); color: #9bddb0; }
.idea-preview { display: -webkit-box; overflow: hidden; margin: 12px 0 0; color: #a6bcc1; font-size: 14px; line-height: 1.58; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.idea-actions { margin-top: 15px; padding-top: 12px; border-top: 1px solid rgba(137, 185, 193, .11); }
.idea-replies { color: #718e94; font-size: 12px; }
.idea-like { margin-inline-start: auto; }
.idea-thread-post { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 13px; padding: 15px 0; }
.idea-thread-post + .idea-thread-post { border-top: 1px solid var(--line); }
.idea-thread-post > .profile-avatar { width: 44px; height: 44px; border-radius: 12px; }
.idea-thread-body { min-width: 0; }
.idea-thread-author { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; margin-bottom: 8px; }
.idea-thread-author strong { color: #e5f5f7; font-size: 14px; }
.idea-thread-author span { color: #78969c; font-size: 11px; }
.idea-detail-additions { gap: 0; }
.idea-detail-additions-list { gap: 0; }

.supporting-grid-news { grid-template-columns: 1fr; }
.complaints-section { margin-bottom: 18px; padding: clamp(22px, 3vw, 38px); background: linear-gradient(145deg, rgba(8, 25, 30, .98), rgba(4, 15, 18, .98)); }
.complaints-section-head { align-items: end; padding-bottom: 22px; border-bottom: 1px solid rgba(137, 185, 193, .14); }
.complaints-section-head > div { max-width: 760px; }
.complaints-workspace { display: block; }
.complaints-board { min-width: 0; }
.complaints-board > header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 28px 0 18px; }
.complaints-board > header p { margin: 8px 0 0; color: #78969c; font-size: 13px; }
.complaints-board h3 { margin: 5px 0 0; font-size: 24px; letter-spacing: -.035em; }
.complaints-list { gap: 12px; }
.complaint-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 5px; border: 1px solid rgba(137, 185, 193, .13); border-radius: 9px; background: rgba(3, 12, 15, .62); }
.complaint-filters button { min-height: 38px; padding: 0 14px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #809ba0; font-size: 12px; font-weight: 750; cursor: pointer; }
.complaint-filters button:hover { border-color: rgba(98, 199, 214, .42); color: #d5f1f4; }
.complaint-filters button.is-active { border-color: rgba(41, 205, 228, .3); background: rgba(41, 205, 228, .1); color: #d7f9fc; }
.complaint-filters button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.complaint-item { grid-template-columns: 52px minmax(0, 1fr); gap: 17px; padding: 19px 20px; border-color: rgba(137, 185, 193, .18); border-left: 3px solid rgba(41, 205, 228, .3); border-radius: 8px; background: linear-gradient(135deg, rgba(7, 21, 25, .92), rgba(4, 13, 16, .94)); transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.complaint-item:hover { border-color: rgba(75, 194, 210, .4); border-left-color: var(--cyan); background: linear-gradient(135deg, rgba(9, 29, 34, .94), rgba(4, 14, 17, .96)); transform: translateY(-1px); }
.complaint-item > .profile-avatar { width: 54px; height: 54px; border-radius: 10px; }
.complaint-item-body { min-width: 0; }
.complaint-item header { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.complaint-item h3 { margin: 6px 0 0; font-size: 18px; line-height: 1.3; }
.complaint-reference { color: #62d4e4; font: 750 10px ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.complaint-item-meta { display: flex; flex-wrap: wrap; gap: 7px 10px; margin-top: 9px; color: #718e94; font-size: 11px; }
.complaint-item-meta span + span::before { content: "·"; margin-right: 10px; color: #46666c; }
.complaint-item-meta .complaint-incident-time { color: #9bcbd1; }
.complaint-item p { display: -webkit-box; grid-column: auto; overflow: hidden; max-width: 100ch; margin: 14px 0 0; color: #a8bec2; font-size: 14px; line-height: 1.62; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.complaint-item-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 7px; margin-top: 15px; padding-top: 13px; border-top: 1px solid rgba(137, 185, 193, .1); }
.complaint-open-button { min-height: 38px; padding: 0 14px; border: 1px solid rgba(98, 199, 214, .28); border-radius: 6px; background: rgba(41, 205, 228, .07); color: #c8f2f6; font-size: 12px; font-weight: 750; cursor: pointer; }
.complaint-open-button:hover { border-color: rgba(98, 199, 214, .58); background: rgba(41, 205, 228, .12); }
.appeal-mark { color: #e7c987; }
.complaint-status { white-space: nowrap; }
.complaint-status.closed, .complaint-status.resolved { background: rgba(139, 157, 162, .13); color: #bdcacc; }
.complaint-status.archived { background: rgba(139, 157, 162, .1); color: #9fb0b3; }
.complaint-status.appealed, .complaint-status.appeal_review { background: rgba(245, 198, 107, .12); color: #f0d391; }
.complaint-subject-fields, .thread-compose { display: grid; gap: 12px; }
.complaint-subject-fields label small { color: #708b90; font-size: 10px; font-weight: 500; text-transform: none; }
.field-label { display: block; color: #b9ced2; font-size: 13px; font-weight: 700; }
.complaint-subject-fields { padding: 13px; border: 1px solid rgba(101, 203, 218, .14); border-radius: 11px; background: rgba(5, 16, 19, .42); }
.subject-static-list { display: grid; gap: 8px; }
.subject-static-row { display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 8px; }
.subject-static-row button { border: 1px solid var(--line); border-radius: 9px; background: transparent; color: #91aaaf; font-size: 20px; }
.subject-static-row button:hover { border-color: rgba(250, 141, 150, .38); color: #ffb6bc; }
.subject-static-add { justify-self: start; padding: 6px 0; border: 0; background: transparent; color: #92dce5; font-size: 12px; font-weight: 750; }
.subject-static-add:disabled { opacity: .45; }

.complaint-thread-dialog { inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; overflow-y: auto; border: 0; border-radius: 0; background: radial-gradient(circle at 12% 0, rgba(41, 205, 228, .08), transparent 32rem), #031014; box-shadow: none; }
body:has(.complaint-thread-dialog[open]) { overflow: hidden; }
.complaint-thread-dialog::backdrop { background: #031014; backdrop-filter: none; }
.complaint-thread-dialog .dialog-card { --thread-gutter: clamp(18px, 4vw, 48px); width: min(1120px, 100%); min-height: 100%; align-content: start; margin: 0 auto; padding: 0 var(--thread-gutter) 48px; border-inline: 1px solid rgba(98, 199, 214, .12); background: linear-gradient(180deg, rgba(7, 24, 29, .94), rgba(3, 14, 17, .99) 36%); }
.complaint-thread-head { position: sticky; z-index: 5; top: 0; display: block; margin: 0 calc(var(--thread-gutter) * -1) 10px; padding: 14px var(--thread-gutter) 20px; border-color: rgba(98, 199, 214, .18); background: rgba(3, 16, 20, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.complaint-thread-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 13px; border-bottom: 1px solid rgba(98, 199, 214, .11); }
.complaint-thread-heading { min-width: 0; }
.complaint-thread-heading { padding-top: 17px; }
.complaint-thread-heading h2 { max-width: 820px; margin-top: 7px; font-size: clamp(25px, 3.2vw, 34px); line-height: 1.08; overflow-wrap: anywhere; }
.complaint-thread-heading p { margin-top: 7px; }
.thread-back-button, .thread-copy-button { min-height: 38px; padding: 0 12px; border: 1px solid rgba(98, 199, 214, .24); border-radius: 6px; background: rgba(41, 205, 228, .06); color: #c9eef2; font: 750 12px Rubik, sans-serif; cursor: pointer; }
.thread-back-button { display: block; padding-left: 0; border-color: transparent; background: transparent; color: #83cfd8; }
.thread-back-button:hover, .thread-copy-button:hover { border-color: rgba(98, 199, 214, .55); background: rgba(41, 205, 228, .11); color: #effdff; }
.thread-back-button:focus-visible, .thread-copy-button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.complaint-thread-head-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; }
.thread-delete-button { min-height: 38px; padding: 0 12px; border: 1px solid rgba(250,141,150,.3); border-radius: 7px; color: #f2aeb4; background: rgba(250,141,150,.06); font-size: 12px; font-weight: 750; cursor: pointer; }
.thread-delete-button:hover { border-color: rgba(250,141,150,.58); background: rgba(250,141,150,.12); }
.complaint-thread { position: relative; display: grid; gap: 12px; padding: 15px 0 18px 25px; }
.complaint-thread::before { content: ""; position: absolute; top: 30px; bottom: 34px; left: 7px; width: 1px; background: linear-gradient(var(--cyan), rgba(41, 205, 228, .08)); box-shadow: 0 0 10px rgba(41, 205, 228, .28); }
.complaint-thread-post { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: start; gap: 14px; padding: 19px 20px; border: 1px solid rgba(98, 199, 214, .13); border-radius: 10px; background: rgba(4, 18, 22, .76); }
.complaint-thread-post::before { content: ""; position: absolute; top: 35px; left: -21px; width: 7px; height: 7px; border: 2px solid #092128; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px rgba(41, 205, 228, .65); }
.complaint-thread-post.is-original { border-color: rgba(98, 199, 214, .25); background: rgba(7, 28, 33, .78); }
.complaint-thread-post.is-resolution { border-color: rgba(131, 209, 160, .25); background: rgba(22, 48, 34, .42); }
.complaint-thread-post.is-resolution::before { background: var(--green); box-shadow: 0 0 10px rgba(131, 209, 160, .55); }
.complaint-thread-post > .profile-avatar { width: 46px; height: 46px; border-radius: 12px; }
.complaint-thread-post-body { min-width: 0; }
.complaint-thread-post-body > header { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.complaint-thread-post-body > header strong, .complaint-thread-post-body > header span { display: block; }
.complaint-thread-post-body > header strong { color: #e6f6f8; font-size: 14px; }
.complaint-thread-post-body > header span, .complaint-thread-post-body > header time { margin-top: 3px; color: #78969c; font-size: 11px; }
.complaint-thread-copy { color: #b2c5c9; font-size: 14px; }
.complaint-evidence-link { display: inline-flex; margin-top: 11px; color: #8de2ec; font-size: 13px; font-weight: 750; text-underline-offset: 3px; }
.appeal-thread { margin-top: 8px; padding: 18px; border: 1px solid rgba(245, 198, 107, .2); border-radius: 8px; background: rgba(245, 198, 107, .045); }
.appeal-thread > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.thread-compose { margin-top: 12px; padding: 19px 20px; border: 1px solid rgba(98, 199, 214, .16); border-radius: 10px; background: rgba(4, 18, 22, .8); }
.thread-compose textarea { resize: vertical; }
.thread-close-compose { border-color: rgba(245, 198, 107, .2); }
.thread-archive-compose, .complaint-archive-state { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 12px; padding: 16px 18px; border: 1px solid rgba(131, 209, 160, .2); border-radius: 10px; background: rgba(131, 209, 160, .055); }
.thread-archive-compose strong, .complaint-archive-state strong { display: block; color: #dff8e7; font-size: 14px; }
.thread-archive-compose span, .complaint-archive-state span { display: block; margin-top: 4px; color: #85a991; font-size: 12px; line-height: 1.45; }
.thread-archive-compose .dialog-actions { flex: 0 0 auto; padding: 0; }
.complaint-archive-state { justify-content: flex-start; }

@media (max-width: 1040px) {
  .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .complaints-workspace { grid-template-columns: 1fr; }
  .appeal-panel { position: static; }
}

@media (max-width: 900px) {
  .community-hero { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { min-height: 360px; padding: 38px 32px 28px; }
  .hero-media::before { background: linear-gradient(90deg, rgba(5, 14, 17, .96), rgba(5, 14, 17, .38)), linear-gradient(0deg, #081316 0%, transparent 58%); }
  .hero-event { min-height: 220px; margin: 0 24px 24px; }
}

@media (max-width: 680px) {
  .community-hero { min-height: 0; padding: 0; }
  .hero-copy { min-height: 0; padding: 34px 20px 25px; }
  .community-hero h1 { font-size: clamp(38px, 12vw, 52px); }
  .community-hero-actions { align-items: stretch; }
  .community-hero-actions .community-button { width: 100%; }
  .hero-text-action { min-height: 38px; justify-content: center; }
  .hero-event { min-height: 0; margin: 0 12px 12px; padding: 19px; }
  .hero-media::before { background: linear-gradient(90deg, rgba(5, 14, 17, .91), rgba(5, 14, 17, .34)), linear-gradient(0deg, #081316 0%, transparent 74%); }
  .community-metrics > div { padding: 14px 12px; }
  .events-grid { grid-template-columns: 1fr; }
  .event-item { min-height: 470px; }
  .idea-item { grid-template-columns: 40px minmax(0, 1fr); padding: 15px 13px; }
  .idea-item > .profile-avatar { width: 40px; height: 40px; border-radius: 10px; }
  .idea-item-head { gap: 8px; }
  .idea-actions { gap: 6px; }
  .idea-replies { order: 4; width: 100%; }
  .idea-like { margin-inline-start: auto; }
  .complaint-filters { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .complaint-filters button { flex: 0 0 auto; }
  .complaint-item { grid-template-columns: 38px minmax(0, 1fr); gap: 11px; padding: 14px 12px; }
  .complaint-item > .profile-avatar { width: 38px; height: 38px; border-radius: 10px; }
  .complaint-item header { align-items: flex-start; flex-direction: column; }
  .complaint-item-meta span + span::before { content: none; }
  .complaint-open-button { width: 100%; }
  .complaint-thread-dialog .dialog-card { border-inline: 0; }
  .complaint-thread-head { padding-top: 10px; }
  .complaint-thread-toolbar { align-items: stretch; flex-direction: column; gap: 9px; }
  .complaint-thread-head-actions { width: 100%; align-items: center; flex-wrap: wrap; }
  .thread-copy-button { flex: 1 1 auto; }
  .complaint-thread { padding-left: 18px; }
  .complaint-thread::before { left: 4px; }
  .complaint-thread-post { grid-template-columns: 38px minmax(0, 1fr); }
  .complaint-thread-post::before { left: -18px; }
  .complaint-thread-post > .profile-avatar { width: 38px; height: 38px; border-radius: 10px; }
  .complaint-thread-post-body > header { flex-direction: column; gap: 3px; }
  .thread-archive-compose { align-items: stretch; flex-direction: column; }
  .thread-archive-compose .dialog-actions { width: 100%; }
  .radio-console { grid-template-columns: 48px minmax(0, 1fr); gap: 11px; }
  .radio-console > img { width: 48px; height: 48px; }
  .radio-controls { grid-column: 1 / -1; justify-content: center; padding-top: 10px; border-top: 1px solid var(--line); }
  .radio-volume { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Seattle field journal · public v8 */
.community-nav button { position: relative; border-radius: 0; }
.community-nav button.is-active { color: var(--text); background: transparent; }
.community-nav button.is-active::after { content: ""; position: absolute; right: 11px; bottom: 0; left: 11px; height: 2px; background: var(--cyan); }

.community-hero { border-radius: 10px; box-shadow: none; }
.community-hero::before { content: none; }
.hero-media::before { background: linear-gradient(90deg, rgba(4, 12, 15, .94) 0%, rgba(4, 12, 15, .82) 42%, rgba(4, 12, 15, .3) 74%, rgba(4, 12, 15, .56) 100%); }
.hero-event { border-radius: 7px; border-left: 3px solid var(--cyan); background: rgba(5, 17, 20, .94); box-shadow: none; }
.community-metrics { border-radius: 0; }

.events-section { border-radius: 12px; background: #081519; }
.events-grid { gap: 18px; }
.event-item { min-height: 510px; border-radius: 8px; background: #071418; }
.event-media { background: #0b1c20; }
.event-media::after { height: 56%; background: linear-gradient(180deg, transparent, #071418 93%); }
.event-media-rank { position: absolute; z-index: 2; top: 13px; left: 13px; padding: 6px 8px; border-left: 2px solid var(--cyan); background: rgba(3, 12, 15, .78); color: #d8f5f8; font: 750 10px ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.event-media.is-missing::before { content: attr(data-label); z-index: 1; padding: 24px; color: rgba(205, 235, 239, .42); font-size: 18px; letter-spacing: .02em; text-align: center; }
.event-vote, .event-rules-link { border-radius: 4px; }
.event-social { text-align: right; }

.ideas-section { border-radius: 12px; background: #081519; }
.idea-item { border-radius: 6px; border-left: 3px solid rgba(41, 205, 228, .34); background: #071418; }
.idea-item:hover { border-left-color: var(--cyan); }
.idea-actions { min-height: 42px; }
.idea-read-button, .idea-add-button, .idea-like { border-radius: 4px; }
.idea-like { min-width: 54px; justify-content: center; }

.ranking-switchboard, .public-rule, .member-item, .profile-editor { border-radius: 8px; background-color: #071418; }
.public-rule, .member-item, .profile-editor { border-left: 3px solid rgba(41, 205, 228, .28); }
.public-rule:is([open], :hover), .member-item:hover { border-left-color: var(--cyan); }

@media (max-width: 720px) {
  .community-shell { width: min(100% - 16px, 1240px); padding-top: 6px; }
  .community-topbar { min-height: 52px; gap: 6px; padding-top: 0; }
  .community-brand img { width: 32px; height: 32px; }
  .community-nav { gap: 0; padding: 3px 0 6px; }
  .community-nav button { min-height: 34px; padding-inline: 8px; font-size: 12px; }
  .community-hero { min-height: 0; margin: 14px 0 10px; }
  .hero-copy { min-height: 0; padding: 26px 16px 20px; }
  .community-hero h1 { margin-block: 9px 12px; font-size: clamp(34px, 10vw, 44px); }
  .community-hero .hero-copy > p { font-size: 14px; line-height: 1.5; }
  .community-hero-actions { align-items: stretch; gap: 8px; margin-top: 18px; }
  .community-hero-actions .community-button { width: 100%; }
  .hero-text-action { min-height: 36px; justify-content: center; }
  .hero-event { min-height: 0; margin: 0 10px 10px; padding: 16px; }
  .hero-event strong { font-size: 22px; }
  .community-metrics { margin-bottom: 12px; }
  .community-metrics > div { padding: 11px 10px; }
  .community-metrics dd { font-size: 22px; }
  .action-grid-player { grid-template-columns: 1fr; }
  .action-card { min-height: 0; padding: 19px 17px 16px; border-radius: 8px; }
  .action-card::after { top: 16px; right: 16px; }
  .action-card h3 { font-size: 22px; }
  .action-card-copy { margin-top: 18px; }
  .recruitment-player-status { position: static; max-width: 100%; margin-top: 12px; text-align: left; }
  .recruitment-card:has(.recruitment-player-status:not([hidden])) .action-card-copy { margin-top: 20px; }
  .action-card-actions { gap: 10px; margin-top: 16px; padding-top: 14px; }
  .action-card-actions .community-button { width: 100%; }
  .action-card-actions .text-link { min-height: 36px; display: inline-flex; align-items: center; }
  .supporting-grid-news .community-section { padding: 17px 14px 5px; }
  .supporting-grid-news .community-section-head { align-items: stretch; padding-bottom: 14px; }
  .supporting-grid-news .community-section-head .community-button { width: 100%; }
  .news-item { grid-template-columns: 1fr; gap: 4px; padding: 14px 4px; }
  .news-item small { grid-row: auto; padding-top: 0; }
  .news-item h3 { margin: 2px 0 1px; font-size: 16px; }
}

@media (max-width: 680px) {
  .community-nav button.is-active::after { right: 8px; left: 8px; }
  .community-hero { border-radius: 8px; }
  .event-item { min-height: 470px; }
  .profile-section-controls { grid-template-columns: 1fr; }
}

/* Competition board + player roster · public v9 */
[data-community-panel="rankings"] {
  overflow: hidden;
  padding: 0;
  border-color: rgba(84, 205, 222, .28);
  border-radius: 10px;
  background: #050f12;
}
[data-community-panel="rankings"] > .community-section-head {
  min-height: 146px;
  align-items: end;
  margin: 0;
  padding: clamp(24px, 4vw, 40px);
  border-bottom: 1px solid rgba(91, 210, 226, .22);
  box-shadow: inset 4px 0 var(--cyan);
}
[data-community-panel="rankings"] > .community-section-head h2 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: .96;
  letter-spacing: -.055em;
}
[data-community-panel="rankings"] > .community-section-head p { max-width: 720px; color: #91aeb4; }
[data-community-panel="rankings"] > .community-section-head .section-counter {
  border-radius: 4px;
  background: #08171b;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
[data-community-panel="rankings"] .ranking-switchboard {
  min-height: 470px;
  grid-template-columns: 258px minmax(0, 1fr);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
[data-community-panel="rankings"] .ranking-switchboard::before { content: none; }
[data-community-panel="rankings"] .ranking-channels {
  counter-reset: ranking-channel;
  border-color: rgba(91, 210, 226, .17);
  background: #030b0e;
}
[data-community-panel="rankings"] .ranking-channel {
  counter-increment: ranking-channel;
  min-height: 108px;
  padding: 20px 42px 20px 24px;
  border-color: rgba(91, 210, 226, .14);
}
[data-community-panel="rankings"] .ranking-channel::after {
  content: "0" counter(ranking-channel);
  position: absolute;
  top: 21px;
  right: 17px;
  color: #3e6269;
  font: 750 10px ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .1em;
}
[data-community-panel="rankings"] .ranking-channel.is-active {
  background: #092027;
  color: #effdff;
}
[data-community-panel="rankings"] .ranking-channel.is-active::after { color: #73dce9; }
[data-community-panel="rankings"] .ranking-channel:focus-visible { outline: 2px solid var(--cyan); outline-offset: -4px; }
[data-community-panel="rankings"] .ranking-display { padding: 31px clamp(20px, 3vw, 38px) 25px; }
[data-community-panel="rankings"] .ranking-signal {
  top: 22px;
  right: clamp(20px, 3vw, 38px);
  color: #79aeb5;
}
[data-community-panel="rankings"] .ranking-panel > header { min-height: 82px; }
[data-community-panel="rankings"] .ranking-panel h3 { font-size: clamp(25px, 3vw, 34px); }
[data-community-panel="rankings"] .ranking-list { margin-top: 24px; border-color: rgba(91, 210, 226, .2); }
[data-community-panel="rankings"] .ranking-entry {
  --place-color: #45cfe2;
  min-height: 68px;
  padding: 10px 12px;
  border-color: rgba(91, 210, 226, .12);
  box-shadow: inset 2px 0 transparent;
}
[data-community-panel="rankings"] .ranking-entry:hover { background: rgba(41, 205, 228, .045); }
[data-community-panel="rankings"] .ranking-list > .ranking-entry:nth-child(1) { --place-color: #f0c66f; background: rgba(240, 198, 111, .055); box-shadow: inset 3px 0 var(--place-color); }
[data-community-panel="rankings"] .ranking-list > .ranking-entry:nth-child(2) { --place-color: #b8c7cc; background: rgba(184, 199, 204, .035); box-shadow: inset 3px 0 var(--place-color); }
[data-community-panel="rankings"] .ranking-list > .ranking-entry:nth-child(3) { --place-color: #c98d62; background: rgba(201, 141, 98, .04); box-shadow: inset 3px 0 var(--place-color); }
[data-community-panel="rankings"] .ranking-place {
  color: var(--place-color);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
[data-community-panel="rankings"] .ranking-list > .ranking-entry:nth-child(-n + 3) .ranking-place { font-size: 17px; }
[data-community-panel="rankings"] .ranking-value {
  color: #effbfc;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
[data-community-panel="rankings"] .ranking-vote { border-radius: 4px; }

[data-community-panel="profiles"] {
  overflow: hidden;
  padding: 0;
  border-color: rgba(84, 205, 222, .25);
  border-radius: 10px;
  background: #061216;
}
[data-community-panel="profiles"] > .profile-directory-head {
  min-height: 150px;
  margin: 0;
  padding: clamp(24px, 4vw, 40px);
  border-bottom: 1px solid rgba(91, 210, 226, .2);
  background: #07171b;
  box-shadow: inset 4px 0 #79aeb5;
}
[data-community-panel="profiles"] > .profile-directory-head h2 {
  font-size: clamp(32px, 5vw, 50px);
  line-height: .98;
  letter-spacing: -.055em;
}
[data-community-panel="profiles"] .profile-search { width: min(360px, 100%); }
[data-community-panel="profiles"] .profile-search input {
  border-radius: 4px;
  background: #041014;
}
[data-community-panel="profiles"] .profile-directory-layout { padding: clamp(18px, 3vw, 30px); }
[data-community-panel="profiles"] .profiles-browser { padding: 0; }
[data-community-panel="profiles"] .profiles-browser > header {
  align-items: end;
  margin: 0 0 18px;
  padding: 0 0 15px;
  border-color: rgba(91, 210, 226, .2);
}
[data-community-panel="profiles"] .profiles-browser h3 { font-size: clamp(22px, 3vw, 29px); }
[data-community-panel="profiles"] .profiles-browser .section-counter { border-radius: 4px; }
[data-community-panel="profiles"] .members-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
[data-community-panel="profiles"] .member-item {
  --roster-avatar: 52px;
  position: relative;
  min-height: 118px;
  padding: 17px 15px 15px 18px;
  border: 1px solid color-mix(in srgb, var(--community-accent) 28%, #244047);
  border-left: 0;
  border-radius: 5px;
  background-color: color-mix(in srgb, var(--community-accent) 6%, #071418);
  box-shadow: inset 3px 0 var(--community-accent);
}
[data-community-panel="profiles"] .member-item:hover {
  border-color: color-mix(in srgb, var(--community-accent) 52%, #244047);
  background-color: color-mix(in srgb, var(--community-accent) 10%, #071418);
}
[data-community-panel="profiles"] .member-item[data-community-density="compact"] { min-height: 98px; padding: 12px 12px 11px 15px; }
[data-community-panel="profiles"] .member-item[data-community-density="spacious"] { min-height: 138px; padding: 22px 18px 20px 21px; }
[data-community-panel="profiles"] .member-item[data-community-avatar-size="compact"] { --roster-avatar: 44px; }
[data-community-panel="profiles"] .member-item[data-community-avatar-size="large"] { --roster-avatar: 62px; }
[data-community-panel="profiles"] .member-profile-main {
  grid-template-columns: var(--roster-avatar) minmax(0, 1fr);
  align-self: stretch;
  gap: 13px;
}
[data-community-panel="profiles"] .member-item .profile-avatar { width: var(--roster-avatar); height: var(--roster-avatar); }
[data-community-panel="profiles"] .member-item h3 { padding-right: 2px; font-size: 16px; }
[data-community-panel="profiles"] .member-item h3 .winner-badge {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-grid;
  place-items: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-size: 0;
}
[data-community-panel="profiles"] .member-item h3 .winner-badge::after { content: "★"; font-size: 12px; }
[data-community-panel="profiles"] .member-role { color: color-mix(in srgb, var(--community-accent) 72%, #bfeff4); }
[data-community-panel="profiles"] .member-item p { margin-top: 7px; }
[data-community-panel="profiles"] .member-item .like-button {
  min-width: 46px;
  min-height: 38px;
  padding: 0 9px;
  border-radius: 4px;
}
[data-community-panel="profiles"] .member-item[data-community-hero-layout="centered"] {
  min-height: 190px;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
[data-community-panel="profiles"] .member-item[data-community-hero-layout="centered"] .member-profile-main {
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
}
[data-community-panel="profiles"] .member-item[data-community-hero-layout="centered"] .like-button { position: absolute; top: 12px; right: 12px; }
[data-community-panel="profiles"] .member-item[data-community-hero-layout="spotlight"] { --roster-avatar: 72px; min-height: 138px; }
[data-community-panel="profiles"] .member-item:is([data-community-theme="white"], [data-community-theme="arctic"]) {
  background-color: #e6eff0;
  color: #102226;
}
[data-community-panel="profiles"] .member-item:is([data-community-theme="white"], [data-community-theme="arctic"]) :is(.member-profile-main, h3) { color: #102226; }
[data-community-panel="profiles"] .member-item:is([data-community-theme="white"], [data-community-theme="arctic"]) :is(.member-discord, p) { color: #526c72; }
[data-community-panel="profiles"] .member-item:is([data-community-theme="white"], [data-community-theme="arctic"]) .member-role { color: #126d7b; }
[data-community-panel="profiles"] .member-item:is([data-community-theme="white"], [data-community-theme="arctic"]) .like-button { border-color: #8aa4a9; color: #203b40; }
[data-community-panel="profiles"] .member-item:is([data-community-theme="royal"], [data-community-theme="nebula"], [data-community-theme="lavender"], [data-community-theme="kitty"], [data-community-theme="kitty-night"]) { background-color: color-mix(in srgb, var(--community-accent) 12%, #111021); }
[data-community-panel="profiles"] .member-item:is([data-community-theme="forest"], [data-community-theme="terminal"]) { background-color: color-mix(in srgb, var(--community-accent) 10%, #06150e); }
[data-community-panel="profiles"] .member-item:is([data-community-theme="sunset"], [data-community-theme="crimson"], [data-community-theme="sakura"], [data-community-theme="coquette"]) { background-color: color-mix(in srgb, var(--community-accent) 9%, #190e13); }
[data-community-panel="profiles"] .member-item:is([data-community-theme="ocean"], [data-community-theme="glass"], [data-community-theme="cyber"]) { background-color: color-mix(in srgb, var(--community-accent) 9%, #061821); }
[data-community-panel="profiles"] .member-item.winner-profile {
  box-shadow: inset 0 2px #f0c66f;
}
[data-community-panel="profiles"] .profiles-more { border-radius: 4px; }

@media (max-width: 1080px) {
  [data-community-panel="profiles"] .members-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  [data-community-panel="rankings"] .ranking-switchboard { grid-template-columns: 1fr; }
  [data-community-panel="rankings"] .ranking-channels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-community-panel="rankings"] .ranking-channel { min-height: 94px; border-right: 1px solid rgba(91, 210, 226, .14); border-bottom: 0; }
  [data-community-panel="rankings"] .ranking-channel:last-child { border-right: 0; }
}

@media (max-width: 680px) {
  [data-community-panel="rankings"] > .community-section-head,
  [data-community-panel="profiles"] > .profile-directory-head { min-height: 0; padding: 22px 18px; }
  [data-community-panel="rankings"] > .community-section-head h2,
  [data-community-panel="profiles"] > .profile-directory-head h2 { font-size: 34px; }
  [data-community-panel="rankings"] .ranking-channels { display: flex; overflow-x: auto; scrollbar-width: none; }
  [data-community-panel="rankings"] .ranking-channels::-webkit-scrollbar { display: none; }
  [data-community-panel="rankings"] .ranking-channel { min-width: 175px; flex: 1 0 175px; padding: 17px 36px 17px 17px; }
  [data-community-panel="rankings"] .ranking-display { padding: 22px 14px 16px; }
  [data-community-panel="rankings"] .ranking-signal { top: 13px; right: 14px; }
  [data-community-panel="rankings"] .ranking-panel > header { min-height: 116px; padding-top: 28px; }
  [data-community-panel="rankings"] .ranking-entry { padding-inline: 8px; }
  [data-community-panel="profiles"] .profile-directory-layout { padding: 15px 13px; }
  [data-community-panel="profiles"] .members-list { grid-template-columns: 1fr; gap: 9px; }
  [data-community-panel="profiles"] .member-item { min-height: 104px; }
}

/* Profile workshop · public v10 */
[data-community-panel="account"] {
  overflow: hidden;
  padding: 0;
  border-radius: 10px;
  background: #050f12;
}
[data-community-panel="account"] > .community-section-head {
  margin: 0;
  padding: clamp(22px, 4vw, 36px);
  border-bottom: 1px solid rgba(91, 210, 226, .2);
  box-shadow: inset 4px 0 var(--cyan);
}
.profile-settings-slot { width: 100%; }
.profile-settings #viewer-profile {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: 18px;
  padding: clamp(16px, 3vw, 28px);
  border: 0;
  border-left: 0;
  border-radius: 0;
  background: #050f12;
  box-shadow: none;
}
.profile-settings #viewer-profile > .profile-preview { grid-column: 1; }
.profile-settings #viewer-profile > :is(.profile-form, .profile-auth-callout) { grid-column: 2; }
.profile-preview {
  position: sticky;
  top: 16px;
  min-width: 0;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--community-accent) 38%, #244047);
  border-radius: 7px;
  background-color: #071418;
}
.profile-preview[data-community-hero-layout="centered"] { text-align: center; }
.profile-preview[data-community-hero-layout="centered"] .player-stats { margin-inline: auto; }
.profile-preview[data-community-hero-layout="spotlight"] { min-height: 356px; display: grid; align-content: center; }
.profile-form { min-width: 0; gap: 11px; }
.profile-appearance-editor {
  padding: 15px;
  border-radius: 7px;
  background: #071418;
}
.profile-preset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.profile-preset {
  min-width: 0;
  min-height: 70px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 9px;
  border: 1px solid rgba(91, 210, 226, .18);
  border-radius: 5px;
  background: #040e11;
  color: #d9eef1;
  text-align: left;
  cursor: pointer;
}
.profile-preset:hover { border-color: color-mix(in srgb, var(--community-accent) 62%, #244047); }
.profile-preset:is(.is-active, [aria-pressed="true"]) { border-color: var(--community-accent); box-shadow: inset 3px 0 var(--community-accent); }
.profile-preset > span:last-child { min-width: 0; }
.profile-preset strong, .profile-preset small { display: block; }
.profile-preset strong { font-size: 13px; letter-spacing: .035em; text-transform: uppercase; }
.profile-preset small { overflow: hidden; margin-top: 3px; color: #78979d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.profile-preset-preview {
  position: relative;
  width: 50px;
  height: 48px;
  overflow: hidden;
  border: 1px solid #315057;
  background: #0a1b20;
}
.profile-preset-preview::before { content: ""; position: absolute; width: 15px; height: 15px; border: 1px solid #6fcbd7; background: #112a30; }
.profile-preset-preview i, .profile-preset-preview b { position: absolute; display: block; height: 3px; background: #507179; }
.profile-preset-preview i { width: 23px; }
.profile-preset-preview b { width: 14px; }
.profile-preset[data-community-profile-preset="dispatch"] .profile-preset-preview::before { top: 7px; left: 7px; }
.profile-preset[data-community-profile-preset="dispatch"] .profile-preset-preview i { top: 8px; right: 4px; }
.profile-preset[data-community-profile-preset="dispatch"] .profile-preset-preview b { right: 13px; bottom: 8px; }
.profile-preset[data-community-profile-preset="poster"] .profile-preset-preview::before { top: 6px; left: 17px; border-radius: 50%; }
.profile-preset[data-community-profile-preset="poster"] .profile-preset-preview i { right: 8px; bottom: 12px; }
.profile-preset[data-community-profile-preset="poster"] .profile-preset-preview b { right: 13px; bottom: 6px; }
.profile-preset[data-community-profile-preset="dossier"] .profile-preset-preview::before { top: 6px; left: 5px; border-radius: 0; }
.profile-preset[data-community-profile-preset="dossier"] .profile-preset-preview i { top: 8px; right: 4px; }
.profile-preset[data-community-profile-preset="dossier"] .profile-preset-preview b { right: 13px; bottom: 7px; }
.profile-preset[data-community-profile-preset="afterparty"] .profile-preset-preview { background: radial-gradient(circle at 50% 35%, #52275f, #08151d 65%); }
.profile-preset[data-community-profile-preset="afterparty"] .profile-preset-preview::before { top: 7px; left: 17px; border-color: #ff78d4; border-radius: 12px; box-shadow: 0 0 13px #c839b1; }
.profile-preset[data-community-profile-preset="afterparty"] .profile-preset-preview i { right: 7px; bottom: 10px; background: #f06bc5; }
.profile-preset[data-community-profile-preset="afterparty"] .profile-preset-preview b { display: none; }
.profile-editor-details {
  overflow: hidden;
  border: 1px solid rgba(91, 210, 226, .16);
  border-radius: 6px;
  background: #040e11;
}
.profile-editor-details > summary {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 12px;
  color: #d8ebee;
  cursor: pointer;
  list-style: none;
}
.profile-editor-details > summary::-webkit-details-marker { display: none; }
.profile-editor-details > summary span { min-width: 0; }
.profile-editor-details > summary strong, .profile-editor-details > summary small { display: block; }
.profile-editor-details > summary strong { font-size: 13px; }
.profile-editor-details > summary small { margin-top: 3px; color: #78979d; font-size: 10px; }
.profile-editor-details > summary i::before { content: "+"; color: var(--community-accent); font: 18px/1 ui-monospace, monospace; }
.profile-editor-details[open] > summary i::before { content: "−"; }
.profile-editor-details[open] > summary { border-bottom: 1px solid rgba(91, 210, 226, .14); }
.profile-editor-details-body { display: grid; gap: 10px; padding: 12px; }
.profile-editor-details.profile-links-editor { margin-top: 0; padding: 0; border-radius: 6px; }
.profile-editor-details .profile-music-editor { padding-top: 12px; border-top: 0; }
.profile-preset:focus-visible, .profile-editor-details > summary:focus-visible { outline: 2px solid var(--community-accent); outline-offset: 2px; }

@media (max-width: 900px) {
  .profile-settings #viewer-profile { grid-template-columns: 1fr; }
  .profile-settings #viewer-profile > :is(.profile-preview, .profile-form, .profile-auth-callout) { grid-column: 1; }
  .profile-preview { position: static; }
}

@media (max-width: 520px) {
  .profile-preset-grid { grid-template-columns: 1fr; }
  .profile-appearance-editor { padding: 11px; }
  .profile-settings #viewer-profile { padding: 11px; }
}

/* Seattle night castbook · public v11 */
body {
  background: #03090b;
}
.community-shell { width: min(1340px, calc(100% - 32px)); }
.community-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(3, 9, 11, .96);
  box-shadow: 0 1px rgba(116, 218, 232, .12);
}
.community-button, .panel-link, .community-more-menu summary, .account-menu summary { border-radius: 4px; }

[data-community-panel="home"] .community-hero {
  min-height: 520px;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  gap: 0;
  margin-top: 22px;
  padding: 0;
  border-color: rgba(131, 195, 204, .28);
  border-radius: 2px;
  background: #050d10;
}
[data-community-panel="home"] .hero-media img {
  opacity: .72;
  filter: saturate(.65) contrast(1.12);
  transform: scale(1.01);
}
[data-community-panel="home"] .hero-media::before {
  background:
    linear-gradient(90deg, rgba(3, 9, 11, .98) 0%, rgba(3, 9, 11, .83) 43%, rgba(3, 9, 11, .28) 77%, rgba(3, 9, 11, .68) 100%),
    linear-gradient(180deg, rgba(3, 9, 11, .06), rgba(3, 9, 11, .52));
}
[data-community-panel="home"] .hero-copy {
  min-height: 520px;
  justify-content: flex-end;
  padding: clamp(40px, 6vw, 78px) clamp(28px, 5vw, 64px);
}
[data-community-panel="home"] .hero-copy > .eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
}
[data-community-panel="home"] .hero-copy > .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  flex: 0 0 28px;
  background: var(--cyan);
}
[data-community-panel="home"] .community-hero h1 {
  max-width: 700px;
  margin: 14px 0 17px;
  font-size: clamp(54px, 7.2vw, 96px);
  line-height: .86;
  letter-spacing: -.075em;
  text-wrap: balance;
}
[data-community-panel="home"] .community-hero .hero-copy > p { max-width: 590px; color: #b6c8cb; font-size: 15px; }
[data-community-panel="home"] .community-hero-actions { gap: 0; margin-top: 28px; }
[data-community-panel="home"] .community-hero-actions .community-button {
  min-height: 46px;
  border-radius: 0;
}
[data-community-panel="home"] .community-hero-actions .community-button + .community-button { border-left: 0; }
[data-community-panel="home"] .hero-text-action { margin-left: 17px; }
[data-community-panel="home"] .hero-event {
  align-self: stretch;
  min-height: 520px;
  margin: 0;
  justify-content: flex-end;
  padding: 38px 30px;
  border: 0;
  border-left: 1px solid rgba(128, 204, 214, .24);
  border-radius: 0;
  background: rgba(3, 12, 15, .87);
}
[data-community-panel="home"] .hero-event::after {
  content: "БЛИЖАЙШИЙ ВЫХОД";
  position: absolute;
  top: 38px;
  left: 30px;
  color: #70dce9;
  font: 750 9px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .16em;
}
[data-community-panel="home"] .hero-event strong { font-size: clamp(28px, 3vw, 39px); }
[data-community-panel="home"] .hero-event-meta { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
[data-community-panel="home"] + .community-metrics,
.community-metrics {
  border-color: rgba(116, 218, 232, .16);
}
.community-metrics > div { padding: 16px 19px 15px; }
.community-metrics dd { font-variant-numeric: tabular-nums; }

#community-actions,
.community-radio,
.supporting-grid-news .community-section {
  border: 0;
  border-top: 1px solid rgba(116, 218, 232, .2);
  border-bottom: 1px solid rgba(116, 218, 232, .12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#community-actions { padding: 32px 0 28px; }
#community-actions > .community-section-head { padding-inline: 2px; }
.action-grid-player { gap: 0; border: 1px solid rgba(116, 218, 232, .15); }
.action-card {
  min-height: 210px;
  padding: 26px 27px 23px;
  border: 0;
  border-radius: 0;
  background: rgba(5, 15, 18, .62);
  box-shadow: none;
}
.action-card + .action-card { border-left: 1px solid rgba(116, 218, 232, .15); }
.action-card::after { border-radius: 0; background: transparent; transform: rotate(45deg); }
.action-card:is(:hover, :focus-within) { background: color-mix(in srgb, var(--service-accent) 7%, #050f12); }
.action-card h3 { font-size: clamp(25px, 2.6vw, 34px); }
.action-card-actions .community-button { border-radius: 2px; }

.community-radio {
  min-height: 148px;
  display: grid;
  grid-template-columns: minmax(250px, .7fr) minmax(0, 1.8fr);
  align-items: stretch;
  padding: 0;
}
.community-radio > .community-section-head {
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 25px 26px;
  flex-direction: column;
}
.community-radio > .community-section-head h2 { font-size: clamp(27px, 3vw, 36px); }
.community-radio .radio-count { align-self: flex-start; padding: 0; border: 0; border-radius: 0; }
.radio-console {
  min-width: 0;
  grid-template-columns: 76px minmax(150px, 1fr) auto minmax(115px, 175px);
  gap: 19px;
  padding: 24px 26px;
  border: 0;
  border-left: 1px solid rgba(116, 218, 232, .16);
  background:
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(91, 199, 213, .035) 48px),
    #050d10;
}
.radio-console > img { width: 76px; height: 76px; border-radius: 2px; filter: saturate(.78); }
.radio-track strong { font-size: clamp(16px, 2vw, 20px); letter-spacing: -.02em; }
.radio-controls { gap: 2px; }
.radio-controls button { border-radius: 2px; }
.radio-controls .radio-play { width: 48px; height: 48px; border-radius: 2px; }
.radio-repeat[aria-pressed="true"] { box-shadow: inset 0 -2px var(--cyan); }
.radio-empty { grid-column: 2; align-self: center; padding: 26px; border: 0; border-left: 1px solid rgba(116, 218, 232, .16); }
.supporting-grid-news .community-section { padding: 30px 0 8px; }
.news-item { padding-inline: 3px; }

[data-community-panel="profiles"] {
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
[data-community-panel="profiles"] > .profile-directory-head {
  min-height: 230px;
  margin: 22px 0 0;
  padding: clamp(34px, 5vw, 66px) clamp(2px, 1vw, 14px);
  align-items: end;
  border-top: 1px solid rgba(91, 210, 226, .24);
  border-bottom: 1px solid rgba(91, 210, 226, .24);
  background: transparent;
  box-shadow: none;
}
[data-community-panel="profiles"] > .profile-directory-head h2 {
  max-width: 720px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: .88;
  letter-spacing: -.075em;
}
[data-community-panel="profiles"] .profile-search { width: min(390px, 100%); }
[data-community-panel="profiles"] .profile-search input { border-radius: 2px; background: #030b0d; }
[data-community-panel="profiles"] .profile-directory-layout { padding: 30px 0 0; }
[data-community-panel="profiles"] .profiles-browser > header { margin-bottom: 0; padding: 0 2px 18px; }
[data-community-panel="profiles"] .profiles-browser h3 { font-size: clamp(28px, 4vw, 42px); }
[data-community-panel="profiles"] .profiles-browser .section-counter { padding: 0; border: 0; border-radius: 0; background: transparent; }
[data-community-panel="profiles"] .members-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(91, 210, 226, .18);
  border-left: 1px solid rgba(91, 210, 226, .18);
}
[data-community-panel="profiles"] .member-item {
  --roster-avatar: 72px;
  min-height: 154px;
  padding: 24px 20px 22px 24px;
  border: 0;
  border-right: 1px solid rgba(91, 210, 226, .18);
  border-bottom: 1px solid rgba(91, 210, 226, .18);
  border-radius: 0;
  background: color-mix(in srgb, var(--community-accent) 3%, #040c0f);
  box-shadow: none;
  transition: background .16s ease, color .16s ease;
}
[data-community-panel="profiles"] .member-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  width: 44px;
  height: 2px;
  background: var(--community-accent);
}
[data-community-panel="profiles"] .member-item:hover {
  border-color: rgba(91, 210, 226, .28);
  background: color-mix(in srgb, var(--community-accent) 9%, #061014);
}
[data-community-panel="profiles"] .member-profile-main { grid-template-columns: var(--roster-avatar) minmax(0, 1fr); gap: 18px; }
[data-community-panel="profiles"] .member-item .profile-avatar { width: var(--roster-avatar); height: var(--roster-avatar); }
[data-community-panel="profiles"] .member-item h3 { font-size: clamp(18px, 2vw, 23px); letter-spacing: -.025em; }
[data-community-panel="profiles"] .member-item h3 .winner-badge {
  width: auto;
  height: auto;
  flex-basis: auto;
  padding: 4px 6px;
  border-radius: 1px;
  color: #f6d893;
  font: 750 8px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}
[data-community-panel="profiles"] .member-item h3 .winner-badge::after { content: none; }
[data-community-panel="profiles"] .member-role { margin-top: 6px; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .04em; text-transform: uppercase; }
[data-community-panel="profiles"] .member-item p { margin-top: 10px; }
[data-community-panel="profiles"] .member-item .like-button {
  min-width: 44px;
  min-height: 36px;
  align-self: start;
  padding: 0 7px;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--community-accent) 52%, #345157);
  border-radius: 0;
}
[data-community-panel="profiles"] .member-item.winner-profile {
  box-shadow: none;
}
[data-community-panel="profiles"] .member-item.winner-profile::before {
  width: 58px;
  background: #d6ad57;
}
[data-community-panel="profiles"] .member-item[data-community-hero-layout="centered"] {
  min-height: 244px;
  padding-block: 30px;
}
[data-community-panel="profiles"] .member-item[data-community-hero-layout="spotlight"] {
  --roster-avatar: 102px;
  min-height: 184px;
  grid-column: span 2;
}
[data-community-panel="profiles"] .member-item:is([data-community-theme="white"], [data-community-theme="arctic"]) {
  background: #e5edef;
}
[data-community-panel="profiles"] .profiles-more { margin-top: 22px; border-radius: 2px; }

@media (max-width: 900px) {
  [data-community-panel="home"] .community-hero { grid-template-columns: 1fr; }
  [data-community-panel="home"] .hero-event { min-height: 230px; border-top: 1px solid rgba(128, 204, 214, .24); border-left: 0; }
  .community-radio { grid-template-columns: 1fr; }
  .radio-console, .radio-empty { grid-column: 1; border-top: 1px solid rgba(116, 218, 232, .16); border-left: 0; }
}

@media (max-width: 680px) {
  .community-shell { width: min(100% - 18px, 1340px); }
  .community-topbar { position: relative; }
  [data-community-panel="home"] .community-hero { margin-top: 12px; }
  [data-community-panel="home"] .hero-copy { min-height: 350px; padding: 42px 18px 25px; }
  [data-community-panel="home"] .community-hero h1 { font-size: clamp(49px, 16vw, 70px); }
  [data-community-panel="home"] .community-hero-actions { display: grid; gap: 7px; }
  [data-community-panel="home"] .community-hero-actions .community-button + .community-button { border-left: 1px solid var(--line); }
  [data-community-panel="home"] .hero-text-action { margin-left: 0; justify-content: flex-start; }
  [data-community-panel="home"] .hero-event { min-height: 190px; margin: 0; padding: 30px 18px 22px; }
  [data-community-panel="home"] .hero-event::after { top: 22px; left: 18px; }
  .action-grid-player { grid-template-columns: 1fr; }
  .action-card + .action-card { border-top: 1px solid rgba(116, 218, 232, .15); border-left: 0; }
  .radio-console { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; padding: 18px 14px; }
  .radio-console > img { width: 58px; height: 58px; }
  .radio-controls { grid-column: 3; }
  .radio-volume { grid-column: 1 / -1; }
  [data-community-panel="profiles"] > .profile-directory-head { min-height: 0; padding: 34px 2px 28px; }
  [data-community-panel="profiles"] > .profile-directory-head h2 { font-size: clamp(46px, 14vw, 66px); }
  [data-community-panel="profiles"] .profile-directory-layout { padding-top: 18px; }
  [data-community-panel="profiles"] .members-list { grid-template-columns: 1fr; }
  [data-community-panel="profiles"] .member-item { --roster-avatar: 62px; min-height: 126px; padding: 18px 12px 17px 15px; }
  [data-community-panel="profiles"] .member-item[data-community-hero-layout="spotlight"] { --roster-avatar: 78px; grid-column: span 1; min-height: 160px; }
  [data-community-panel="profiles"] .member-profile-main { gap: 13px; }
  [data-community-panel="profiles"] .member-item h3 { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-community-panel="profiles"] .member-item { transition: none; }
}

/* Profile editor: a restrained crew-dossier, not a collection of decorative tiles. */
[data-community-panel="account"] .profile-preview { border-color: color-mix(in srgb, var(--community-accent) 26%, #244047); border-radius: 3px; background: #091316; box-shadow: none; }
[data-community-panel="account"] .profile-appearance-editor { padding: 16px; border: 1px solid rgba(91,210,226,.18); border-radius: 3px; background: #081216; }
[data-community-panel="account"] .profile-preset-grid { gap: 0; border: 1px solid rgba(91,210,226,.16); border-radius: 2px; overflow: hidden; }
[data-community-panel="account"] .profile-preset { min-height: 58px; grid-template-columns: 3px minmax(0,1fr); gap: 10px; padding: 9px 12px; border: 0; border-radius: 0; border-bottom: 1px solid rgba(91,210,226,.12); background: #081216; }
[data-community-panel="account"] .profile-preset:last-child { border-bottom: 0; }
[data-community-panel="account"] .profile-preset-preview { width: 3px; height: 30px; border: 0; background: #31454b; }.profile-preset-preview::before,.profile-preset-preview i,.profile-preset-preview b { display: none !important; }
[data-community-panel="account"] .profile-preset:is(.is-active,[aria-pressed="true"]) { border-color: rgba(91,210,226,.12); box-shadow: inset 3px 0 var(--community-accent); background: color-mix(in srgb, var(--community-accent) 8%, #081216); }
[data-community-panel="account"] .profile-preset strong { letter-spacing: .02em; text-transform: none; }.profile-preset small { color: #8da5aa; }
[data-community-panel="account"] .profile-editor-details { border-radius: 2px; background: #081216; }.profile-editor-details > summary { min-height: 56px; }
@media (min-width: 760px) { [data-community-panel="account"] .profile-preset-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }[data-community-panel="account"] .profile-preset { border-right: 1px solid rgba(91,210,226,.12); border-bottom: 0; }[data-community-panel="account"] .profile-preset:last-child { border-right: 0; } }

/* Directory: crew first, then the community. Profile taste must not change card weight. */
[data-community-panel="profiles"] .team-roster { margin:0 0 28px; padding:18px 0 0; border-top:1px solid rgba(91,210,226,.24); }
[data-community-panel="profiles"] .team-roster > header,[data-community-panel="profiles"] .profiles-players-head { display:flex; align-items:baseline; justify-content:space-between; gap:14px; padding:0 0 12px; }
[data-community-panel="profiles"] .team-roster h4,[data-community-panel="profiles"] .profiles-players-head h4 { margin:4px 0 0; font-size:18px; letter-spacing:-.02em; }
[data-community-panel="profiles"] .team-role-group { margin:0 0 16px; }
[data-community-panel="profiles"] .team-role-group h5 { margin:0; padding:8px 12px; border-left:2px solid var(--cyan); background:#071317; color:#bfeff4; font:700 11px/1.2 ui-monospace,"SFMono-Regular",Consolas,monospace; letter-spacing:.08em; text-transform:uppercase; }
[data-community-panel="profiles"] .team-members-list { grid-template-columns:repeat(3,minmax(0,1fr)); }
[data-community-panel="profiles"] .member-item:is([data-community-hero-layout="centered"],[data-community-hero-layout="spotlight"]) { --roster-avatar:62px; min-height:126px; grid-column:auto; grid-template-columns:minmax(0,1fr) auto; justify-items:stretch; padding:18px 15px 17px 18px; text-align:left; }
[data-community-panel="profiles"] .member-item:is([data-community-hero-layout="centered"],[data-community-hero-layout="spotlight"]) .member-profile-main { grid-template-columns:var(--roster-avatar) minmax(0,1fr); justify-items:stretch; align-content:center; text-align:left; }
[data-community-panel="profiles"] .member-item:is([data-community-hero-layout="centered"],[data-community-hero-layout="spotlight"]) .like-button { position:static; }
@media (max-width:1080px) { [data-community-panel="profiles"] .team-members-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:720px) { [data-community-panel="profiles"] .team-members-list { grid-template-columns:1fr; } [data-community-panel="profiles"] .team-roster { margin-bottom:20px; } }
