/* Public community uses the same palette as the V4 homepage and its community entry. */
/* Small local subsets for the fixed community headings. Member content uses the V4 sans. */
@font-face {
  font-family: "Instrument Serif Headings";
  src: url("./community-fonts/instrument-serif-headings.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC Headings";
  src: url("./community-fonts/noto-serif-sc-headings.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
.community-public {
  --ink: var(--aizvee-ink);
  --text: var(--aizvee-nav-text);
  --muted: var(--aizvee-muted);
  --line: var(--aizvee-border);
  --paper: var(--aizvee-white);
  --surface: var(--aizvee-white);
  --blue: var(--aizvee-link);
  --focus: var(--aizvee-blue);
  --selected: var(--aizvee-entry-hover);
  --display: "Inter Variable", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --masthead: "Instrument Serif Headings", var(--display);
  --masthead-weight: 400;
  --tracking-heading: -.032em;
  background: var(--paper);
  font-optical-sizing: auto;
  font-kerning: normal;
}
.community-public:lang(zh) {
  --masthead: "Noto Serif SC Headings", var(--display);
  --masthead-weight: 600;
  --tracking-heading: 0;
}
.community-public .community-header { background: var(--surface); }
.community-public .header-row { min-height: 64px; }
.community-public .community-site-nav a { color: var(--text); }
.community-public .community-site-nav a:is(:hover, [aria-current]), .community-public .v4-locale-choice[aria-pressed="true"] {
  color: var(--blue);
  box-shadow: inset 0 -1px var(--blue);
}
.community-public .secondary { background: var(--surface); border-color: var(--line); }
.community-public .secondary:hover { border-color: var(--blue); }
.community-public .primary { background: var(--aizvee-cta); }
.community-public .primary:hover { background: var(--aizvee-cta-hover); }
.community-public :is(.thread, .empty, dialog) { background: var(--surface); }
.community-public :is(input, textarea, select) { border-color: var(--line); }
.community-public .review-fields, .community-public .community-product-context { background: var(--aizvee-entry-bg); }
.community-public .member-mark { background: var(--selected); color: var(--blue); }
.community-public .community-footer { margin-top: 46px; }
.community-shell {
  padding-top: clamp(22px, 3vw, 40px);
  display: grid;
  grid-template-columns: clamp(150px, 14vw, 195px) minmax(0, 1fr);
  gap: clamp(24px, 3.2vw, 48px);
  align-items: start;
}
#community-main { min-width: 0; }
#community-main > .status:not(:empty) { margin-block: 0 10px; }
#community-rail { position: sticky; top: 24px; }
.rail-inner { min-width: 0; }
.room-name, .rail-link { display: flex; align-items: center; text-decoration: none; }
.room-name {
  gap: 10px;
  min-height: 42px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(16px, 1.6vw, 21px);
  font-weight: 650;
  letter-spacing: var(--tracking-heading);
  line-height: 1.15;
}
.room-name > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 7px 7px 7px 2px;
  background: var(--aizvee-cta);
  color: var(--surface);
}
:is(.room-name, .rail-link, .rail-new, .bookmark-thread) svg { width: 18px; height: 18px; flex-shrink: 0; }
.rail-nav { display: grid; gap: 3px; }
.rail-link {
  gap: 9px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.2;
}
.rail-link:hover { background: var(--aizvee-silver); }
.rail-link[aria-current] { background: var(--selected); color: var(--blue); font-weight: 690; }
.rail-personal { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
.rail-new { width: 100%; justify-content: flex-start; gap: 8px; margin-top: 18px; min-height: 42px; }
.room-title {
  border-radius: 14px;
  background: var(--aizvee-entry-bg);
  padding: clamp(22px, 4.3vw, 49px);
  border: 1px solid var(--aizvee-entry-border);
}
.room-title h1, .board-directory h2 {
  font-family: var(--masthead);
  font-weight: var(--masthead-weight);
  font-synthesis: none;
  text-wrap: balance;
}
.room-title h1 {
  margin: 0;
  font-size: clamp(39px, 5vw, 69px);
  line-height: 1.08;
  letter-spacing: -.012em;
  overflow-wrap: anywhere;
}
.community-public:lang(zh) .room-title h1 {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.2;
  letter-spacing: .015em;
}
.member-identity h1 {
  margin: 0;
  font: 660 clamp(27px, 3.6vw, 47px)/1.2 var(--display);
  letter-spacing: var(--tracking-heading);
  overflow-wrap: anywhere;
}
.room-title p { margin: 12px 0 0; color: var(--text); font-size: 15px; line-height: 1.75; max-width: 63ch; }
.community-public .feed-heading { margin-block: 25px 12px; }
.community-public .feed-heading :is(h1, h2) {
  font-size: clamp(24px, 3vw, 31px);
  font-weight: 640;
  line-height: 1.28;
  letter-spacing: var(--tracking-heading);
}
.community-public .post-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.community-public .post-row {
  padding: clamp(15px, 2.3vw, 25px);
  grid-template-columns: minmax(0, 1fr) auto;
}
.community-public .post-row:last-child { border-bottom: 0; }
.community-public .post-row :is(h3, p) { margin-block: 6px 0; }
.community-public .post-row h3 {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 650;
  line-height: 1.4;
}
.community-public :is(.post-row h3, .work-copy h3, .thread h1):lang(zh) { letter-spacing: 0; }
.community-public :is(.post-row h3, .work-copy h3, .thread h1):lang(en) { letter-spacing: -.02em; }
.community-public .post-row p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.65;
}
.community-public .metadata { line-height: 1.5; }
.community-public .metadata time { font-variant-numeric: tabular-nums; }
.community-public .thread h1 { font-weight: 650; line-height: 1.25; text-wrap: balance; }
.community-public .thread .body-copy { font-size: 16px; line-height: 1.8; max-inline-size: 72ch; }
.community-public .dialog-head h2 { font-weight: 640; letter-spacing: var(--tracking-heading); }
.community-public .email-dialog {
  width: min(454px, calc(100% - 28px));
  padding: clamp(18px, 4vw, 30px);
  border-color: var(--aizvee-entry-border);
}
.email-dialog .dialog-head { align-items: flex-start; margin-bottom: 19px; }
.email-dialog .dialog-head button { color: var(--muted); width: 36px; height: 36px; padding: 0; border-radius: 6px; }
.email-dialog .dialog-head button:hover { background: var(--aizvee-silver); color: var(--ink); }
.email-dialog .dialog-head h2 { font-size: clamp(23px, 5vw, 29px); line-height: 1.25; }
.email-step {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0 0 7px;
  font-size: 12px;
  font-weight: 620;
  color: var(--blue);
}
.email-step span { font: 11px "Geist Mono", monospace; color: var(--muted); }
.email-form { gap: 13px; }
.email-form :is(input, .email-submit) { min-height: 46px; }
.email-form .error:empty { display: none; }
.email-intro, .email-code-status, .email-help { color: var(--muted); font-size: 13px; line-height: 1.6; }
.email-recipient {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 10px;
  background: var(--aizvee-entry-bg);
  border: 1px solid var(--aizvee-entry-border);
  border-radius: 7px;
  padding: 3px 11px;
  min-height: 43px;
  font-size: 14px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.email-text-button { min-height: 36px; padding: 0 3px; border: 0; background: transparent; color: var(--blue); font-size: 13px; font-weight: 590; }
.email-text-button:not(:disabled):hover { text-decoration: underline; text-underline-offset: 3px; }
.email-text-button:disabled { opacity: 1; color: var(--muted); cursor: default; }
.email-form .email-otp {
  padding-inline: 18px;
  background: var(--surface);
  font: 500 24px/1.2 "Geist Mono", monospace;
  letter-spacing: .4em;
  text-align: center;
  color: var(--ink);
}
.email-otp::placeholder { color: var(--muted); opacity: .45; }
.email-resend { display: flex; justify-content: center; font-variant-numeric: tabular-nums; }
.email-help { text-align: center; }
.community-public .post-row .replies {
  align-self: center;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.thread-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.bookmark-thread { gap: 6px; }
.bookmark-thread[data-saved="true"] { background: var(--selected); color: var(--blue); }
.bookmark-thread[data-saved="true"] svg { fill: currentColor; }
.thread-feedback, .share-feedback { color: var(--blue); font-size: 13px; }

.member-back { display: flex; gap: 9px; font-size: 13px; align-items: center; color: var(--muted); margin: 0 0 11px; }
.member-back a { text-decoration: none; }
.member-back a:hover { text-decoration: underline; }
.member-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0 clamp(18px, 2.8vw, 34px);
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--aizvee-silver);
}
.member-avatar {
  width: clamp(65px, 7vw, 102px);
  height: auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 4px solid var(--surface);
  border-radius: 13px;
  object-fit: cover;
  background: var(--selected);
  color: var(--blue);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 720;
  line-height: 1;
}
.member-role, .member-handle { margin: 6px 0 0; color: var(--blue); font-size: 14px; font-weight: 620; overflow-wrap: anywhere; }
.member-bio { max-width: 62ch; margin: 10px 0 0; color: var(--text); font-size: 15px; line-height: 1.7; }
.member-counts { display: flex; flex-wrap: wrap; gap: 5px 16px; margin-top: 10px; font-size: 13px; }
.member-counts a { text-decoration: none; color: var(--text); }
.member-counts a:hover { text-decoration: underline; }
.member-counts b { color: var(--ink); font-variant-numeric: tabular-nums; }
.member-actions {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.member-actions .secondary { min-height: 36px; font-size: 12px; }
.member-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, .38fr);
  grid-template-rows: min-content 1fr;
  grid-template-areas: "pinned side" "posts side";
  gap: clamp(16px, 2.5vw, 35px);
  margin-top: 24px;
  align-items: start;
}
.member-layout:not(:has(.member-portfolio)) { grid-template-areas: "posts side"; grid-template-rows: auto; }
.member-layout:has(.member-sidebar:empty) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pinned" "posts"; }
.member-layout:not(:has(.member-portfolio)):has(.member-sidebar:empty) { grid-template-areas: "posts"; }
.member-sidebar { grid-area: side; min-width: 0; }
.member-sidebar:empty { display: none; }
#member-contributions { grid-area: posts; min-width: 0; }
.member-portfolio { grid-area: pinned; min-width: 0; }
:is(.member-portfolio, #member-contributions) h2 {
  margin: 0 0 12px;
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 640;
  letter-spacing: var(--tracking-heading);
  line-height: 1.28;
}
.pin-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; }
.pin-heading span { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-size: 12px; }
.pin-heading svg { width: 16px; height: 16px; transform: rotate(28deg); }
.work-list { border-top: 1px solid var(--line); }
.member-portfolio .work-list { border-top: 0; }
.work-card {
  display: grid;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.work-card.has-image { grid-template-columns: minmax(80px, .36fr) minmax(0, 1fr); }
.work-card.work-lead {
  padding: clamp(13px, 1.8vw, 24px);
  gap: clamp(12px, 1.8vw, 23px);
  background: var(--aizvee-entry-bg);
  border: 1px solid var(--aizvee-entry-border);
  border-radius: 11px;
}
.work-card.work-lead.has-image { grid-template-columns: minmax(125px, .9fr) minmax(0, 1fr); align-items: center; }
.work-card figure { min-width: 0; margin: 0; }
.work-card figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 5px;
  background: var(--aizvee-silver);
}
.work-lead figure {
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px;
}
.work-lead figure img { aspect-ratio: 1.42; }
.work-lead figcaption { padding: 5px 3px 1px; color: var(--muted); font-size: 11px; }
.work-copy { min-width: 0; overflow-wrap: anywhere; }
.work-copy h3 {
  margin: 5px 0 7px;
  font-size: clamp(17px, 1.85vw, 22px);
  font-weight: 650;
  line-height: 1.35;
}
.work-lead h3 { font-size: clamp(22px, 2.2vw, 30px); text-wrap: balance; }
.work-copy h3 a, .member-thread-links a { color: var(--ink); text-decoration: none; }
.work-copy h3 a:hover, .member-thread-links a:hover { color: var(--blue); text-decoration: underline; }
.work-copy p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.65; }
.work-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; margin-top: 9px; font-size: 12px; }
.work-links:empty { display: none; }
.work-links .secondary { min-height: 34px; padding: 4px 8px; font-size: 12px; }
.member-sidebar > section, .member-pending {
  padding: 15px;
  margin: 0 0 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow-wrap: anywhere;
}
.member-sidebar h2 { margin: 0 0 9px; font-size: 16px; line-height: 1.4; font-weight: 650; }
.member-thread-links, .member-pending ul { margin: 0; padding: 0; list-style: none; }
.member-thread-links li, .member-pending li { display: grid; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.member-thread-links small, .member-pending li span { color: var(--muted); font-size: 11px; }
.member-thread-links a { font-weight: 570; }
.aside-more { display: inline-flex; align-items: center; min-height: 32px; font-size: 12px; }
.member-skills { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; padding: 0; margin: 0; }
.member-skills a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 6px;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 12px;
  text-decoration: none;
}
.member-skills a:hover, .member-skills a[aria-current] { border-color: var(--blue); background: var(--selected); }
.member-skills span { font-size: 11px; font-weight: 650; }
.member-rules { border-top: 1px solid var(--line); padding-top: 7px; font-size: 12px; color: var(--muted); }
.member-rules p { margin-bottom: 0; }
.member-rules summary { cursor: pointer; min-height: 28px; }
.member-note, .member-empty { color: var(--text); font-size: 14px; }
.member-empty { border-radius: 8px; border: 1px solid var(--line); background: var(--surface); padding: 16px; }

@media (min-width: 1001px) { .feed-tabs { display: none; } }
@media (max-width: 1000px) {
  .community-shell { display: block; padding-top: 16px; }
  #community-rail { position: static; margin-bottom: 16px; }
  .rail-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 6px;
  }
  .room-name { grid-column: 1; grid-row: 1; margin: 0; font-size: 17px; }
  .rail-new { grid-column: 2; grid-row: 1; width: auto; margin: 0; min-height: 38px; }
  .rail-nav { grid-row: 2; display: flex; flex-wrap: wrap; gap: 2px; }
  .rail-personal { border: 0; padding: 0; margin: 0; justify-content: flex-end; grid-column: 2; }
  .rail-link { min-height: 37px; }
  .rail-link.rail-category { display: none; }
}
@media (max-width: 620px) {
  .member-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "pinned" "side" "posts"; gap: 25px; }
  .member-layout:not(:has(.member-portfolio)) { grid-template-areas: "side" "posts"; }
  .member-header { column-gap: 12px; row-gap: 8px; }
  .member-identity h1 { font-size: clamp(22px, 6.7vw, 32px); }
  .member-actions { grid-column: 1 / -1; margin: 2px 0 0; }
  .work-card.work-lead.has-image { grid-template-columns: minmax(0, 1fr); }
  .work-lead figure img { aspect-ratio: 1.85; }
  #member-contributions .community-categories { gap: 0 12px; }
  .community-public .post-row .replies { align-self: start; }
}
@media (max-width: 430px) {
  .rail-link { gap: 5px; padding: 7px 5px; font-size: 11px; }
  .rail-link svg { width: 15px; height: 15px; }
  .room-name > span { width: 30px; height: 30px; flex-basis: 30px; }
  .room-title p { font-size: 14px; }
}


/* The lobby points to four peer spaces. Post type stays in the feed filters. */
.rail-boards { border-top: 1px solid var(--line); margin-top: 9px; padding-top: 9px; }
.rail-caption { margin: 0 10px 3px; color: var(--muted); font-size: 11px; font-weight: 650; }
.community-shell .feed-tabs { display: flex; }
.feed-filters:not(.has-products) { grid-template-columns: minmax(140px, 1fr) minmax(140px, 220px) auto; }
.community-public .feed-filters select { font-size: 14px; }
.lobby-title, .space-title { padding-block: clamp(20px, 3vw, 34px); }
.lobby-title p, .space-title p { text-wrap: pretty; }
.room-title.space-title h1 { font-size: clamp(33px, 4.2vw, 55px); }
.community-public:lang(zh) .space-title h1 { font-size: clamp(28px, 3.6vw, 43px); }
.space-back, .thread-back a { font-size: 13px; text-decoration: none; }
.space-back:hover, .thread-back a:hover { text-decoration: underline; }
.space-back { display: inline-block; margin-bottom: 8px; }
.board-directory { margin-block: 23px 27px; }
.board-directory h2 { margin: 0 0 10px; font-size: 25px; line-height: 1.25; }
.community-public:lang(zh) .board-directory h2 { font-size: 19px; letter-spacing: .03em; }
.board-directory ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 19px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.board-directory li { border-bottom: 1px solid var(--line); }
.board-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 11px 9px 11px 0;
  min-height: 64px;
  color: var(--ink);
  text-decoration: none;
}
.board-entry:hover { color: var(--blue); background: var(--aizvee-entry-bg); }
.board-entry strong { display: block; font-size: 16px; font-weight: 640; line-height: 1.4; }
.board-entry small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.board-icon {
  display: grid;
  place-items: center;
  width: 35px;
  aspect-ratio: 1;
  color: var(--blue);
  background: var(--selected);
  border-radius: 8px;
}
.board-icon svg { width: 18px; height: 18px; }
.board-arrow { color: var(--muted); font-size: 16px; }
.board-tag {
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--blue);
  background: var(--selected);
  text-decoration: none;
  font-weight: 640;
}
.board-tag:hover { text-decoration: underline; }
.thread-back { margin: 0 0 8px; }
.thread-back + .thread { margin-top: 0; }
@media (max-width: 1000px) {
  .community-shell:has(.lobby-title) .rail-boards { display: none; }
  .rail-boards {
    grid-column: 1 / -1;
    grid-row: 3;
    border-top: 1px solid var(--line);
    padding-top: 4px;
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .rail-caption { display: none; }
  .rail-board { min-width: 0; justify-content: center; padding-inline: 4px; }
}
@media (max-width: 760px) {
  .feed-filters:not(.has-products) { grid-template-columns: minmax(0, 1fr) auto; }
  .feed-filters:not(.has-products) button { grid-column: auto; }
}
@media (max-width: 520px) {
  .board-directory ul { grid-template-columns: minmax(0, 1fr); }
  .board-entry { min-height: 52px; padding-block: 6px; }
  .board-directory { margin-block: 16px 21px; }
  .rail-boards .rail-board { text-align: center; }
  .rail-boards svg { display: none; }
}


/* Discovery and reading: the lobby invites a reply; the feed keeps actions at hand. */
.lobby-title { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.lobby-title h1 { text-wrap: initial; }
.lobby-actions { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; }
.lobby-actions a { text-decoration: none; }
.lobby-actions a:hover { text-decoration: underline; }
.lobby-mark { position: relative; width: clamp(126px, 17vw, 230px); aspect-ratio: 1.45; }
.lobby-bubble {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10%;
  width: 60%;
  height: 53%;
  top: 11%;
  left: 0;
  transform: rotate(-9deg);
  border-radius: 20px 20px 20px 5px;
  background: var(--aizvee-link);
}
.lobby-bubble i { width: 8%; aspect-ratio: 1; border-radius: 50%; background: var(--surface); }
.lobby-bubble-reply {
  top: auto; left: auto; right: 0; bottom: 9%;
  background: var(--surface);
  border: 1px solid var(--aizvee-entry-hover-border);
  transform: rotate(10deg);
  border-radius: 19px 19px 5px 19px;
}
.lobby-bubble-reply i { background: var(--aizvee-link); width: 19%; height: 2px; border-radius: 2px; }
.lobby-bubble-reply i + i { width: 11%; }

.discovery-tabs { display: flex; flex-wrap: wrap; gap: 5px 8px; margin-bottom: 7px; }
.discovery-tabs a {
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  padding: 6px 13px;
  min-height: 38px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 620;
  color: var(--text);
  text-decoration: none;
}
.discovery-tabs a:hover { background: var(--aizvee-silver); }
.discovery-tabs a[aria-current] { color: var(--blue); background: var(--selected); border-color: var(--aizvee-entry-border); }
.discovery-note { margin: 6px 0 11px; font-size: 13px; color: var(--muted); }
#community-discussions, #thread-replies, #thread-reply { scroll-margin-top: 12px; }

.community-public .post-row { display: block; }
.post-row-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.feed-thumb { display: block; }
.feed-thumb img { display: block; width: clamp(72px, 11vw, 132px); height: auto; aspect-ratio: 11 / 8; border-radius: 7px; object-fit: cover; }
.post-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 11px; }
.post-actions .secondary, .comment-actions .secondary { margin-inline-start: auto; }
.post-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 4px 6px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.3;
}
.post-action svg { width: 16px; height: 16px; flex: 0 0 16px; }
:is(a, button).post-action:hover { background: var(--aizvee-silver); color: var(--blue); }
.post-action[aria-pressed="true"] { color: var(--blue); background: var(--selected); }
.post-action[aria-pressed="true"] svg { fill: currentColor; }
.post-actions .share-feedback, .post-actions .thread-feedback { flex: 1 0 100%; margin-inline-start: 6px; }

.reply-heading, .reply-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.reply-heading h2 { margin: 0; }
.reply-heading h2 span { color: var(--muted); font-size: 14px; }
.reply-heading > a { font-size: 13px; }
.reply-empty { padding: 10px 0 14px; margin: 0; }
.reply-box { margin-top: 12px; background: var(--aizvee-entry-bg); border: 1px solid var(--aizvee-entry-border); padding: 16px; border-radius: 9px; }
.reply-box p { font-size: 13px; }
.reply-box p:first-child { margin-top: 0; }
.reply-box :is(.reply-status, .error):empty { display: none; }
.reply-box .reply-status { color: var(--blue); }
.reply-box textarea { background: var(--surface); }
.share-sheet p { color: var(--muted); margin: 5px 0 10px; font-size: 14px; }
.share-sheet .share-title { color: var(--ink); font-size: 16px; font-weight: 620; overflow-wrap: anywhere; }
.share-sheet input { font-size: 13px; }
.share-sheet .share-feedback { color: var(--blue); margin-bottom: 0; }
.share-sheet .share-feedback:empty { display: none; }

@media (max-width: 600px) {
  .lobby-title { gap: 7px; }
  .lobby-mark { width: clamp(58px, 16vw, 92px); }
  .lobby-bubble { border-radius: 7px 7px 7px 2px; }
  .lobby-bubble-reply { border-radius: 7px 7px 2px 7px; }
  .post-actions { gap: 3px 5px; }
  .post-action { min-height: 36px; padding-inline: 4px; font-size: 12px; }
  .post-action svg { width: 14px; height: 14px; flex-basis: 14px; }
  .post-row-content { gap: 7px; }
}
@media (max-width: 355px) {
  .lobby-title { grid-template-columns: minmax(0, 1fr); }
  .lobby-mark { display: none; }
}

@media (max-width: 520px) {
  .board-directory ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; }
  .board-entry { grid-template-columns: auto minmax(0, 1fr); gap: 7px; min-height: 52px; }
  .board-entry small, .board-entry .board-arrow { display: none; }
  .board-entry strong { font-size: 14px; }
  .board-icon { width: 29px; }
}


.discovery-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.discovery-posts, .question-corner { min-width: 0; }
.question-corner {
  padding: 15px;
  border: 1px solid var(--aizvee-entry-border);
  border-radius: 9px;
  background: var(--aizvee-entry-bg);
}
.question-corner .corner-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 620;
}
.corner-label svg { width: 16px; height: 16px; }
.question-corner h3 { font-size: 16px; line-height: 1.35; font-weight: 640; margin: 5px 0 11px; }
.question-corner ul { list-style: none; margin: 0 0 8px; padding: 0; }
.question-corner li { border-top: 1px solid var(--line); padding: 9px 0; }
.question-corner .board-tag { font-size: 11px; }
.corner-question { display: block; color: var(--ink); font-size: 13px; font-weight: 590; text-decoration: none; overflow-wrap: anywhere; margin-top: 3px; }
.corner-question:hover { text-decoration: underline; color: var(--blue); }
.question-corner > a { font-size: 12px; }
@media (min-width: 1120px) {
  .discovery-grid:has(.question-corner) { grid-template-columns: minmax(0, 1fr) minmax(185px, .3fr); }
}

