
.community-page{width:min(980px,calc(100% - 40px));margin:0 auto;padding:clamp(22px,5vw,53px) 0 62px}
.community-stack,.community-composer,.community-post{display:grid;gap:15px;min-width:0}
.community-page :is(h1,h2,p),.community-clip{margin:0}
.community-page h1{font-size:clamp(34px,5vw,60px);letter-spacing:-.055em;overflow-wrap:anywhere}
.community-page h2{font-size:22px;letter-spacing:-.025em;overflow-wrap:anywhere}
.community-heading p,.community-profile-heading p{margin-top:9px;line-height:1.55}
.community-profile-heading{
  display:grid;gap:15px;justify-items:start;padding:clamp(17px,3vw,29px);
  background:radial-gradient(ellipse at 86% 0%,#E8693D22,transparent 58%),var(--panel-fill);
}
.community-identity>div,.community-post>header{display:flex;gap:12px;align-items:center;min-width:0}
.community-avatar{
  width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:8px;border:1px solid var(--accent-line);
  background:var(--selected-fill);color:var(--highlight);font-size:20px;font-weight:750;
}
.community-identity .community-avatar{width:clamp(42px,7vw,72px);height:clamp(42px,7vw,72px);font-size:clamp(20px,4vw,34px)}
.community-followers,.community-action-count{display:flex;gap:6px;align-items:center;color:var(--label);font-size:13px;margin-top:6px}
.community-followers svg,.community-link,.community-actions [aria-pressed=true]{color:var(--accent)}
.community-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.community-form p,.community-post time,.community-comments time{color:var(--muted);font-size:13px}
.community-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.56}
.community-body{color:var(--ink)}
.community-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.community-form{display:grid;gap:10px;margin-top:4px}
.community-form label{display:grid;gap:6px;color:var(--label);font-size:13px;font-weight:700}
.community-form :is(input,textarea){
  width:100%;min-width:0;min-height:40px;padding:9px;border:1px solid var(--input-line);border-radius:7px;background:var(--input);color:var(--ink);font:inherit
}
.community-form textarea{resize:vertical}
.community-form button,.community-link{justify-self:start}
.community-link{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700}
.community-link:hover{text-decoration:underline;text-underline-offset:4px}
.community-post{scroll-margin-top:18px}
.community-post time,.community-comments time{display:block;margin-top:3px}
.community-clip{display:grid;gap:8px}
.community-clip iframe{display:block;width:100%;aspect-ratio:16/9;min-height:200px;border:1px solid var(--line);border-radius:8px;background:var(--input)}
.community-clip iframe.community-twitch{min-height:300px}
.community-edit summary,.community-delete summary{color:var(--label);cursor:pointer;font-size:13px;font-weight:700}
.community-edit[open] form,.community-delete[open] form{margin-top:10px}
.community-comments{display:grid;gap:10px;padding:0;margin:0;list-style:none}
.community-comments li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:9px;border-top:1px solid var(--line);padding-top:10px}
.community-comments p{margin-top:6px}
.community-comments .community-avatar{width:33px;height:33px;font-size:15px}
@media(max-width:820px){.community-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.community-page{width:calc(100% - 28px)}.community-grid{grid-template-columns:1fr}.community-comments li{grid-template-columns:auto minmax(0,1fr)}.community-comments li form{grid-column:2}}
@media(max-width:475px){.community-clip iframe.community-twitch{display:none}}

.community-profile-heading{padding:0;overflow:hidden;gap:0}
.community-cover{
  width:100%;aspect-ratio:3/1;min-height:112px;position:relative;display:grid;place-items:center;overflow:hidden;
  background:radial-gradient(ellipse at 74% 42%,#9D6A2B48,transparent 51%),linear-gradient(124deg,#0B0C0F,#19191B);
}
.community-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#08090C60,transparent 49%);pointer-events:none}
.community-cover>img{display:block;width:100%;height:100%;object-fit:cover}
.community-cover>svg{color:var(--highlight);stroke-width:1.15}
.community-profile-info{padding:0 clamp(16px,3vw,30px) clamp(16px,3vw,28px);display:grid;justify-items:start;gap:15px;min-width:0}
.community-identity{align-items:end;margin-top:-18px;position:relative}
.community-identity .community-avatar{outline:3px solid var(--input);background-color:var(--input)}
.community-avatar{overflow:hidden}
.community-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.community-cover-small>svg{width:27px;height:27px}
.community-platforms{display:flex;flex-wrap:wrap;gap:8px}
.community-platform{
  display:flex;align-items:center;gap:8px;min-width:0;padding:8px 10px;border:1px solid var(--line);
  border-radius:7px;background:var(--input);color:var(--ink);font-size:13px;
}
.community-platform:hover{border-color:var(--accent-line)}
.community-platform span{color:var(--highlight);font-weight:750}
.community-platform strong{overflow-wrap:anywhere}
.community-platform svg,.community-image-control h3 svg{color:var(--accent);flex:none}
.community-appearance{display:grid;gap:15px;scroll-margin-top:16px}
.community-appearance :is(h2,h3,p){margin:0}
.community-appearance p{color:var(--muted);font-size:13px;line-height:1.5}
.community-image-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.community-image-control{display:grid;align-content:start;gap:9px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--input);min-width:0}
.community-image-control h3{display:flex;align-items:center;gap:7px;font-size:16px}
.community-image-control input[type=file]{max-width:100%;min-width:0}
.community-image-control [role=status]:empty{display:none}
.community-image-control button:disabled{opacity:.55;transform:none;cursor:default}
@media(max-width:560px){.community-image-grid{grid-template-columns:1fr}.community-identity{align-items:center;padding-top:9px}.community-profile-info{gap:12px}}

.community-page .community-profile-heading{padding:0}
.community-page .community-cover:not(.community-cover-small){aspect-ratio:4/1}
.community-profile-info{width:100%;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding-top:12px}
.community-identity{align-items:center;margin-top:-30px}
.community-identity>div{padding-top:25px}
.community-page .community-identity .community-avatar{width:clamp(62px,9vw,100px);height:clamp(62px,9vw,100px)}
.community-profile-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,31%);gap:16px;align-items:start}
.community-profile-columns>section{grid-column:1;grid-row:1}
.community-about{grid-column:2;grid-row:1;display:grid;gap:12px;min-width:0}
.community-about .community-platforms{display:grid}
.community-appearance[popover]{display:none;width:min(680px,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;color:var(--ink)}
.community-appearance[popover]:popover-open{display:grid}
.community-appearance::backdrop{background:#08090CBB}
.community-edit-header{display:flex;justify-content:space-between;align-items:center;gap:12px}
@media(max-width:700px){
  .community-profile-columns{grid-template-columns:1fr}.community-profile-columns>section,.community-about{grid-column:auto;grid-row:auto}
  .community-about .community-platforms{display:flex}
}
@media(max-width:520px){
  .community-profile-info{grid-template-columns:1fr}.community-identity>div{padding-top:16px}
  .community-page .community-identity{align-items:center;padding-top:0}
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/space/space-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

.community-profile { --profile-divider: #ffffff26; gap: 18px; }
.community-profile :is(h1, h2, h3) { font-family: 'Space Grotesk', Arial, sans-serif; }
.community-profile .community-profile-heading {
  border: 1px solid var(--profile-divider);
  border-radius: 10px;
  background: var(--input);
}
.community-profile .community-cover:not(.community-cover-small) {
  height: clamp(135px, 23vw, 247px);
  aspect-ratio: auto;
}
.community-profile .community-cover:not(:has(img)) {
  justify-items: end;
  padding-right: clamp(20px, 15%, 142px);
  background: radial-gradient(ellipse at 78% 35%, #9d6a2b33, transparent 56%), linear-gradient(120deg, var(--bg), #17181d);
}
.community-profile .community-cover > svg { color: #f4bd5999; }
.community-profile .community-profile-info {
  gap: 12px;
  padding: 0 clamp(14px, 3vw, 30px) 19px;
}
.community-profile .community-identity { align-items: end; margin-top: -26px; padding: 0; }
.community-profile .community-identity > div { padding-top: 31px; }
.community-profile .community-avatar { border-radius: 50%; }
.community-profile h1 {
  font-size: clamp(33px, 5vw, 60px);
  letter-spacing: -.068em;
  line-height: 1;
}
.community-profile .community-followers { margin-top: 5px; }
.community-profile .community-follow { min-width: 115px; }
.community-tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid #ffffff26;
}
.community-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 41px;
  padding: 0 4px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-weight: 700;
}
.community-tabs a:hover,
.community-tabs a[aria-current] { color: var(--ink); }
.community-tabs a[aria-current] { border-color: var(--accent); }
.community-profile .panel:not(.community-appearance) {
  border-color: var(--profile-divider);
  background: linear-gradient(155deg, #141519, var(--input));
}
.community-profile .community-profile-feed { gap: 12px; }
.community-profile .community-post { gap: 13px; }
.community-profile .community-post .community-actions {
  padding-top: 10px;
  border-top: 1px solid var(--profile-divider);
}
.community-profile .community-platform { border-color: var(--profile-divider); }
.community-profile .community-platform:hover { border-color: var(--accent-line); }
@media (max-width: 700px) {
  .community-profile .community-about { padding: 14px; }
}
@media (max-width: 520px) {
  .community-profile .community-profile-info > :not(.community-identity) { justify-self: start; }
}
@media (prefers-reduced-motion: no-preference) {
  .community-profile .community-profile-heading { animation: profile-arrive .45s ease-out both; }
}
@keyframes profile-arrive {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}


.community-directory { --directory-divider: #ffffff26; gap: 16px; }
.community-directory :is(h1, h2) { font-family: 'Space Grotesk', Arial, sans-serif; }
.directory-hero {
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 190px;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--directory-divider);
  border-radius: 10px;
  background: linear-gradient(90deg, #08090cf7 4%, #08090ce8 37%, #08090c30 100%),
    url('/assets/launch-hero.webp') 64% 40% / cover, var(--bg);
}
.community-directory .directory-hero h1 {
  font-size: clamp(38px, 5.2vw, 70px);
  letter-spacing: -.07em;
  line-height: .98;
}
.directory-hero p { color: var(--label); }
.directory-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--directory-divider);
  flex-wrap: wrap;
}
.directory-toolbar .community-tabs { border-bottom: 0; flex-wrap: wrap; gap: 16px; }
.directory-toolbar .community-tabs a { white-space: nowrap; }
.directory-search {
  display: flex;
  flex: 1 1 395px;
  justify-content: end;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
  gap: 8px;
}
.directory-search input {
  flex: 1 1 185px;
  width: 100%;
  max-width: 340px;
  min-width: 0;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid var(--input-line);
  border-radius: 7px;
  background: var(--input);
  color: var(--ink);
}
.directory-search .button { min-height: 40px; }
.directory-clear { padding: 8px 2px; }
.directory-query { color: var(--muted); overflow-wrap: anywhere; }
.directory-query strong { color: var(--ink); }
.directory-card { min-width: 0; }
.directory-card > a {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  border: 1px solid var(--directory-divider);
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(155deg, #141519, var(--input));
  transition: border-color .2s ease, transform .2s ease;
}
.directory-card > a:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.directory-card .community-cover-small { height: clamp(100px, 10vw, 142px); min-height: 0; aspect-ratio: auto; }
.directory-card-copy { display: grid; align-content: start; gap: 9px; padding: 13px 15px 17px; }
.directory-card-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.directory-card-identity .community-avatar { border-radius: 50%; }
.community-directory .directory-card h2 { font-size: clamp(18px, 2.2vw, 23px); }
.directory-card-identity p { font-size: 12px; margin-top: 3px; overflow-wrap: anywhere; }
.directory-card-identity p span { color: var(--highlight); }
.directory-profile-arrow { color: var(--accent); }
.directory-bio {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.community-directory .directory-empty {
  display: grid;
  justify-items: start;
  gap: 9px;
  border-color: var(--directory-divider);
  background: linear-gradient(155deg, #141519, var(--input));
}
@media (max-width: 760px) {
  .directory-search { justify-content: start; }
  .directory-search input { max-width: none; }
}
@media (max-width: 370px) {
  .directory-search input { flex-basis: 155px; }
}
@media (prefers-reduced-motion: reduce) {
  .directory-card > a:hover { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .directory-hero { animation: profile-arrive .45s ease-out both; }
}

.community-thread { --thread-divider: #ffffff26; }
.community-thread-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}
.community-thread .panel {
  border-color: var(--thread-divider);
  background: linear-gradient(155deg, #141519, var(--input));
  padding: clamp(14px, 2.5vw, 25px);
}
.community-thread :is(h1, h2) { font-family: 'Space Grotesk', Arial, sans-serif; }
.community-thread .community-post-full h1 {
  font-size: clamp(23px, 3vw, 37px);
  letter-spacing: -.052em;
}
.community-thread .community-avatar { border-radius: 50%; }
.community-thread .community-post-full > header .community-avatar {
  width: 48px;
  height: 48px;
}
.community-thread .community-clip { gap: 10px; }
.community-thread .community-clip iframe { border-color: var(--thread-divider); }
.community-thread .community-watch { min-height: 35px; }
.community-thread .community-clip[data-embedded="false"] .community-watch {
  min-height: 52px;
  justify-self: stretch;
  justify-content: center;
  border: 1px solid var(--thread-divider);
  border-radius: 8px;
  background: var(--bg);
}
.community-thread .community-actions {
  padding-top: 12px;
  border-top: 1px solid var(--thread-divider);
}
.community-thread .community-actions [aria-pressed="true"] { border-color: var(--accent-line); background: var(--selected-fill); }
.community-thread .community-actions [aria-pressed="true"] svg { fill: currentColor; }
.community-thread :is(#comments, #post-actions) { scroll-margin-top: 18px; }
.community-thread .community-discussion-heading { display: flex; align-items: baseline; gap: 10px; }
.community-discussion-heading span { color: var(--label); font-size: 13px; }
.community-thread .community-comments li {
  grid-template-columns: auto minmax(0, 1fr);
  border-color: var(--thread-divider);
}
.community-thread .community-comments li form { margin-top: 6px; }
.community-thread .community-comments li button { min-height: 30px; }
@media (max-width: 920px) {
  .community-thread-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 475px) {
  .community-thread .community-clip:has(.community-twitch) .community-watch {
    min-height: 52px;
    justify-self: stretch;
    justify-content: center;
    border: 1px solid var(--thread-divider);
    border-radius: 8px;
    background: var(--bg);
  }
}

.legal-policy{max-width:74ch;margin:40px auto 64px;line-height:1.7}.legal-policy header p{color:var(--muted)}.legal-policy h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.1}.legal-policy h2{margin:2rem 0 .45rem;line-height:1.2}.legal-policy nav{border-block:1px solid var(--line);padding-block:1rem}.legal-policy nav ol{padding-left:1.6rem}.legal-policy a{text-decoration:underline;color:var(--highlight)}.legal-policy section{scroll-margin-top:2rem}
