/* SAJANGIMDA — minimal editorial community UI v2 */
:root {
  --paper: #ffffff;
  --canvas: #f7f7f6;
  --ink: #202124;
  --muted: #85888d;
  --line: #eef0f1;
  --accent: #ee6247;
  --accent-wash: #fff5f2;
  --font: Pretendard, -apple-system, BlinkMacSystemFont, 'Noto Sans KR', system-ui, sans-serif;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--canvas);
}
body {
  background: var(--canvas);
  color: var(--ink);
  letter-spacing: -0.025em;
}
button,
input,
textarea,
select {
  font-family: var(--font);
  letter-spacing: -0.025em;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.top {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--line);
}
.topin {
  height: 64px;
  max-width: 1130px;
}
.logo {
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -1.7px;
  color: #202124;
}
.logo b {
  color: var(--accent);
}
.layout {
  max-width: 1130px;
  grid-template-columns: 185px minmax(0, 1fr) 232px;
  gap: 18px;
  margin-top: 22px;
}
.panel {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 2px 10px rgba(20, 20, 20, 0.018);
}
.sidebar {
  padding: 12px 8px;
}
.navbutton {
  font-weight: 550;
  font-size: 14px;
  min-height: 43px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #6f7175;
}
.navbutton.active {
  background: var(--accent-wash);
  color: #d95037;
  font-weight: 750;
}
.sectiontitle {
  color: #aaa9a7;
  font-size: 11px;
  letter-spacing: 0.01em;
}
.aside .block {
  border-color: var(--line);
  padding: 18px 16px;
}
.aside h2 {
  font-size: 14px;
  letter-spacing: -0.04em;
}
.aside .hotitem {
  color: #454647;
  line-height: 1.55;
}
.aside .hotitem span {
  color: var(--accent);
}
.btn {
  border-radius: 8px;
  border-color: #e8e9e9;
  font-size: 13px;
  font-weight: 650;
  padding: 9px 13px;
  transition:
    background 0.13s,
    border-color 0.13s;
}
.btn.primary,
.primary {
  background: var(--accent);
  border-color: var(--accent);
}
.btn.primary:hover,
.primary:hover {
  background: #db5139;
}
.heading {
  padding: 24px 24px 13px;
}
.heading h1 {
  font-size: 23px;
  font-weight: 780;
  letter-spacing: -1px;
}
.heading .sub {
  margin-top: 7px;
}
.sub {
  color: #979a9e;
  font-size: 12px;
}
.tabs {
  gap: 5px;
  padding: 8px 20px 14px;
  border-bottom: 1px solid var(--line);
}
.chip {
  border-color: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #8d8e92;
  padding: 7px 11px;
  background: transparent;
  border-radius: 8px;
  transition:
    color 0.15s,
    background 0.15s;
}
.chip:hover {
  background: #f6f6f6;
}
.chip.on {
  background: #282a2d;
  color: #fff;
  border-color: #282a2d;
}
.feeditem {
  padding: 19px 24px 17px;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.12s;
}
.feeditem:hover {
  background: #fdfdfd;
}
.feeditem h2 {
  margin: 10px 0 5px;
  font-size: 16px;
  font-weight: 710;
  line-height: 1.48;
  letter-spacing: -0.048em;
}
.excerpt {
  font-size: 13px;
  color: #7b7e82;
  line-height: 1.6;
  max-height: 43px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.meta {
  font-size: 11.5px;
  color: #9a9ca0;
  gap: 6px;
}
.avatar {
  width: 27px;
  height: 27px;
  border-radius: 9px;
  background: #f5f3f1;
  color: #8b8380;
  font-size: 13px;
}
.counts {
  margin-top: 12px;
  color: #a2a4a8;
  gap: 15px;
  font-size: 11.5px;
}
.counts strong {
  color: #e66950;
}
.tag {
  border: 0;
  background: #f6f6f6;
  color: #7c7f83;
  font-size: 10.5px;
  border-radius: 4px;
  padding: 4px 6px;
}
.thumbs img {
  border-radius: 6px;
  width: 82px;
  height: 73px;
}
.field {
  border-color: #e7e9ea;
  border-radius: 8px;
  color: #2a2c30;
  background: #fff;
}
.field:focus {
  outline: 1px solid #efa48f;
}
.search {
  background: #f6f7f8;
  border-radius: 8px;
  margin: 12px 20px 14px;
}
.search input {
  font-size: 13px;
}
.detail {
  padding: 25px 26px;
}
.detail h1 {
  font-weight: 750;
  font-size: 23px;
  line-height: 1.5;
  letter-spacing: -0.06em;
}
.bodycopy {
  line-height: 1.88;
  color: #36383b;
}
.gallery img {
  border-radius: 7px;
}
.actions button {
  border-radius: 7px;
  background: #fff;
  border-color: #eceff0;
  color: #6e7275;
}
.actions button.selected {
  background: var(--accent-wash);
  color: #dc5c40;
  border-color: #f9d9cf;
}
.comment {
  border-color: var(--line);
}
.comment.reply {
  border-color: #e4e6e8;
}
.comment p {
  color: #3e4145;
  line-height: 1.75;
}
.form {
  padding: 26px;
}
.form h1 {
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -1px;
}
.form label {
  font-size: 13px;
}
.form textarea {
  min-height: 230px;
}
.upload {
  background: #fbfbfb;
  border-color: #d9dcdf;
}
.profile {
  padding: 25px;
}
.profilehead .avatar {
  height: 54px;
  width: 54px;
  border-radius: 50%;
}
.profilehead h2 {
  letter-spacing: -0.04em;
}
.statrow {
  background: #fafafa;
  border-radius: 9px;
}
.statrow strong {
  font-weight: 740;
}
.notice {
  background: #f8f8f8;
  color: #777b7e;
  border-radius: 7px;
  font-size: 12px;
}
.badge {
  background: #f2f7f5;
  color: #438269;
}
.bottom {
  box-shadow: 0 -2px 10px #00000006;
}
@media (max-width: 1030px) {
  .layout {
    grid-template-columns: 172px minmax(0, 1fr);
  }
}
@media (max-width: 650px) {
  :root {
    --canvas: #fff;
  }
  body {
    background: #fff;
  }
  .topin {
    height: 56px;
    padding: 0 18px;
  }
  .logo {
    font-size: 23px;
  }
  .panel {
    box-shadow: none;
  }
  .layout {
    margin: 0;
  }
  .mobiletabs {
    border-bottom: 1px solid var(--line);
    padding: 0 13px 0;
    gap: 2px;
  }
  .mobiletabs .chip {
    border-radius: 0;
    background: transparent;
    color: #898b90;
    padding: 13px 12px;
    font-size: 13px;
  }
  .mobiletabs .chip.on {
    color: var(--ink);
    border-bottom: 2px solid var(--accent);
    font-weight: 750;
  }
  .heading {
    padding: 21px 18px 9px;
  }
  .heading h1 {
    font-size: 21px;
  }
  .feeditem {
    padding: 18px 18px 17px;
  }
  .feeditem h2 {
    font-size: 15px;
    margin-top: 9px;
  }
  .excerpt {
    font-size: 13px;
  }
  .tabs {
    display: none;
  }
  .bottom {
    border-color: var(--line);
    padding-top: 7px;
  }
  .bottom :is(button, a) {
    font-size: 10px;
    letter-spacing: -0.02em;
    gap: 4px;
  }
  .bottom :is(button, a) i {
    font-size: 21px;
    line-height: 23px;
  }
  .bottom :is(button, a).on {
    color: var(--accent);
  }
  .detail,
  .profile,
  .form {
    padding: 20px 18px;
  }
  .detail h1 {
    font-size: 21px;
  }
  .profile .feeditem {
    margin: 0;
  }
  .statrow {
    padding: 16px 5px;
  }
  .form textarea {
    min-height: 240px;
  }
  .thumbs img {
    width: 78px;
    height: 72px;
  }
  .feeditem .avatar {
    width: 26px;
    height: 26px;
  }
  .meta {
    font-size: 11px;
  }
  .counts {
    margin-top: 11px;
  }
}

/* v3 — premium light refinements: content is the interface */
:root {
  --paper: #ffffff;
  --canvas: #f8f8f7;
  --ink: #252628;
  --muted: #84878c;
  --line: #eceeef;
  --accent: #d96552;
  --accent-wash: #fcf1ed;
  --line-strong: #e4e7e8;
  --elev: 0 2px 14px rgba(29, 29, 29, 0.025);
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-weight: 450;
  word-break: keep-all;
}
.top {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.985);
}
.topin {
  max-width: 1128px;
  height: 62px;
  padding: 0 22px;
}
.logo {
  font-size: 24px;
  letter-spacing: -1.8px;
  font-weight: 810;
  white-space: nowrap;
}
.logo b {
  color: var(--accent);
}
.topnav {
  gap: 5px;
}
.iconbtn {
  width: 36px;
  height: 36px;
  border: 0;
  display: inline-grid;
  place-items: center;
  color: #65696f;
  background: transparent;
  border-radius: 9px;
  padding: 0;
}
.iconbtn:hover {
  background: #f7f7f7;
}
.iconbtn svg,
.navicon,
.counticon,
.bottom svg,
.metaicon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.topwrite {
  margin-left: 6px;
}
.layout {
  grid-template-columns: 185px minmax(0, 1fr) 234px;
  gap: 20px;
  margin: 22px auto;
  max-width: 1128px;
}
.panel {
  border: 1px solid #ededed;
  border-radius: 9px;
  box-shadow: var(--elev);
}
.sidebar,
.aside {
  top: 83px;
}
.navbutton {
  display: flex;
  gap: 11px;
  color: #73767b;
  align-items: center;
  font-weight: 580;
  padding: 11px 12px;
  transition:
    background 0.12s,
    color 0.12s;
}
.navbutton .navicon {
  width: 19px;
  height: 19px;
}
.navbutton:hover {
  background: #f8f8f8;
}
.navbutton.active {
  background: var(--accent-wash);
  color: #bc5846;
}
.aside .hotitem {
  border-bottom: 1px solid #f5f5f5;
}
.aside .hotitem:last-child {
  border-bottom: 0;
}
.aside .hotitem span {
  color: #d96552;
}
.aside .block h2 {
  font-weight: 760;
}
.heading {
  padding: 24px 24px 12px;
}
.heading h1 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -1px;
}
.heading .sub {
  margin-top: 8px;
}
.btn {
  border-radius: 8px;
  transition:
    background 0.12s,
    transform 0.12s;
}
.btn:active,
.iconbtn:active {
  transform: scale(0.98);
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
}
.btn.primary:hover {
  background: #c65744;
}
.tabs {
  padding: 6px 19px 15px;
}
.chip {
  border-radius: 7px;
}
.chip.on {
  background: #2c2e31;
  border-color: #2c2e31;
}
.feeditem {
  padding: 19px 24px 17px;
  border-bottom: 1px solid var(--line);
  transition: background 0.12s;
}
.feeditem:last-child {
  border-bottom: 0;
}
.feeditem:hover {
  background: #fdfdfc;
}
.feeditem h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.05em;
  margin: 9px 0 5px;
  line-height: 1.47;
}
.meta {
  gap: 5px;
  font-size: 11.7px;
  letter-spacing: -0.014em;
  min-width: 0;
}
.meta .avatar {
  margin-right: 4px;
}
.avatar {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #f2f3f3;
  color: #85898b;
  font-size: 12px;
}
.excerpt {
  font-size: 13px;
  color: #85878b;
  line-height: 1.65;
  max-height: 43px;
}
.counts {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 11px;
  color: #9ca0a5;
}
.counts .countitem {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.counticon {
  width: 14px;
  height: 14px;
  stroke-width: 1.75;
}
.counts strong {
  font-weight: 630;
  color: #777a80;
}
.counts .reacted strong {
  color: var(--accent);
}
.tag {
  color: #878b8e;
  background: #f4f5f5;
  font-weight: 580;
  padding: 4px 6px;
}
.counts .tag {
  margin-right: 0;
}
.thumbs {
  gap: 8px;
}
.thumbs img {
  width: 78px;
  height: 74px;
  border-radius: 7px;
}
.filters {
  padding-top: 0 !important;
  padding-bottom: 15px !important;
}
.filters select {
  border: 1px solid #e7e9ea !important;
  border-radius: 7px !important;
  box-shadow: 0 1px 1px #00000003;
}
.filters .sub {
  color: #b0b2b4;
}
.detail {
  padding: 26px;
}
.detail h1 {
  font-size: 23px;
  font-weight: 720;
  letter-spacing: -1.1px;
  margin: 18px 0 14px;
}
.bodycopy {
  color: #383b40;
  font-size: 15px;
  line-height: 1.88;
  letter-spacing: -0.025em;
}
.gallery {
  gap: 8px;
}
.gallery img {
  border: 1px solid #f2f2f2;
  border-radius: 9px;
}
.actions {
  gap: 7px;
}
.actions button {
  background: #fff;
  border-color: #e8e9ea;
  color: #73767a;
  border-radius: 8px;
  font-weight: 560;
}
.actions button:hover {
  background: #fafafa;
}
.actions button.selected {
  background: var(--accent-wash);
  color: #c65b48;
  border-color: #f5ded7;
}
.divider {
  background: var(--line);
  margin: 24px 0;
}
.comment {
  border-color: var(--line);
  padding: 17px 0;
}
.comment p {
  font-size: 14px;
  color: #484b50;
  line-height: 1.7;
}
.comment.reply {
  border-color: #e7e8e9;
  margin-left: 20px;
  padding-left: 13px;
}
.comment button:hover {
  color: var(--accent);
}
.commentbox {
  gap: 8px;
}
.commentbox textarea {
  min-width: 0;
}
.commentbox button {
  align-self: flex-end;
}
.form {
  padding: 26px;
}
.form h1 {
  font-size: 23px;
  margin: 14px 0 22px;
}
.form label {
  font-weight: 680;
  color: #43464a;
  font-size: 13px;
  margin: 22px 0 8px;
}
.form .field {
  background: #fff;
  border: 1px solid #e3e6e7;
  padding: 13px;
}
.form textarea {
  min-height: 228px;
  line-height: 1.75;
}
.form .notice {
  background: #f8f8f8;
  color: #7f8387;
  line-height: 1.68;
}
.upload {
  background: #fbfbfa;
  border-color: #dfe2e3;
}
.preview img {
  border-radius: 8px;
}
.profile {
  padding: 27px;
}
.profilehead .avatar {
  width: 54px;
  height: 54px;
  background: #f6efeb;
  color: #bf806b;
  font-size: 21px;
}
.profilehead h2 {
  font-size: 20px;
  font-weight: 740;
}
.profile .statrow {
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  background: #fafafa;
}
.statrow strong {
  font-weight: 750;
}
.statrow span {
  font-size: 11px;
}
.profile .tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  border: 0;
  padding: 0 0 12px !important;
}
.profile .tabs .chip {
  padding: 9px 12px;
}
.profile .tabs .chip.on {
  color: var(--accent);
  background: var(--accent-wash);
  border-color: transparent;
}
.setting {
  border-color: var(--line);
}
.search {
  background: #f7f8f8;
  border: 1px solid #f0f1f2;
}
.bottom {
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.016);
}
.bottom :is(button, a) {
  justify-content: center;
  text-decoration: none;
  font-weight: 580;
  color: #9b9da1;
}
.bottom svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.85;
}
.bottom :is(button, a).on {
  font-weight: 740;
  color: var(--accent);
}
.bottom :is(button, a) i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: inherit;
}
.back:hover {
  color: var(--accent);
}
.toast {
  background: #292b2e;
  border-radius: 10px;
  box-shadow: 0 6px 20px #0002;
}
@media (max-width: 650px) {
  body {
    background: #fff;
  }
  .topin {
    height: 54px;
    padding: 0 17px;
  }
  .topnav {
    gap: 3px;
  }
  .topwrite {
    display: none;
  }
  .logo {
    font-size: 22px;
    letter-spacing: -1.4px;
  }
  .mobiletabs {
    gap: 2px;
    padding: 0 8px;
  }
  .mobiletabs .chip {
    font-size: 13px;
    padding: 12px 11px;
    line-height: 18px;
  }
  .mobiletabs .chip.on {
    border-bottom: 2px solid var(--accent);
  }
  body:not([data-view='home']):not([data-view='popular']) .mobiletabs {
    display: none;
  }
  .heading {
    padding: 16px 17px 12px;
  }
  .heading h1 {
    font-size: 19px;
  }
  .heading .sub {
    font-size: 12px;
  }
  body[data-view='home'] #app > .heading,
  body[data-view='popular'] #app > .heading {
    display: none;
  }
  body[data-view='home'] .tabs,
  body[data-view='popular'] .tabs {
    display: none;
  }
  .filters {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 17px 12px !important;
    border-bottom: 1px solid var(--line);
  }
  .filters select {
    font-size: 12px !important;
    padding: 9px 10px !important;
    max-width: 140px;
  }
  .filters .sub {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .feeditem {
    padding: 17px 17px 16px;
  }
  .feeditem h2 {
    font-size: 15px;
    line-height: 1.47;
    font-weight: 700;
    letter-spacing: -0.045em;
  }
  .feeditem .meta {
    font-size: 11px;
  }
  .excerpt {
    font-size: 13px;
    line-height: 1.6;
    color: #878b90;
  }
  .counts {
    gap: 14px;
    margin-top: 11px;
  }
  .counts .countitem {
    font-size: 11px;
  }
  .counts .counticon {
    width: 14px;
    height: 14px;
  }
  .tag {
    font-size: 10px;
    padding: 3px 5px;
  }
  .bottom {
    padding: 10px 4px max(11px, env(safe-area-inset-bottom));
  }
  .bottom :is(button, a) {
    min-width: 48px;
    font-size: 10px;
    gap: 5px;
  }
  .bottom :is(button, a) i {
    height: 23px;
  }
  .detail,
  .form,
  .profile {
    padding: 20px 17px;
  }
  .detail h1 {
    font-size: 21px;
    line-height: 1.48;
  }
  .profile .tabs {
    display: flex;
  }
  .profile .statrow {
    margin: 20px 0;
  }
  .profile .feeditem {
    padding-left: 17px;
    padding-right: 17px;
  }
  .form h1 {
    font-size: 22px;
  }
  .form .field {
    font-size: 14px;
  }
  .actions button {
    padding: 9px 11px;
  }
  .commentbox {
    flex-direction: column;
  }
  .commentbox textarea {
    width: 100%;
  }
  .commentbox button {
    align-self: flex-end;
  }
  .profile .statrow {
    padding: 15px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* v0.4 — post metrics and overflow actions */
#app.panel {
  overflow: visible;
}
.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  min-height: 28px;
}
.post-meta,
.detail-engagement {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}
.metric {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  color: #898b90;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 450;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.metric strong {
  font-weight: 630;
  color: #61656a;
  font-variant-numeric: tabular-nums;
}
.metric-label {
  color: #91949a;
}
.metric-sep {
  color: #b9bcbf;
  font-size: 11px;
  line-height: 1;
}
.metric-action {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 4px 0 !important;
  border-radius: 0 !important;
  color: #898b90 !important;
}
.metric-action:hover .metric-label,
.metric-action:hover strong {
  color: #333537 !important;
}
.metric-action.is-liked .metric-label,
.metric-action.is-liked strong {
  color: var(--accent) !important;
}
.detail-footer {
  padding: 2px 0 0;
  margin-top: 28px;
  min-height: 38px;
}
.detail-engagement {
  gap: 11px;
}
.detail-footer .metric {
  font-size: 13px;
}
.post-more {
  position: relative;
  margin-left: auto;
  flex: 0 0 auto;
  display: block;
}
.post-more summary {
  display: grid;
  place-items: center;
  list-style: none;
  cursor: pointer;
  width: 34px;
  height: 32px;
  border-radius: 7px;
  color: #777b80;
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
  user-select: none;
}
.post-more summary::-webkit-details-marker {
  display: none;
}
.post-more summary::marker {
  content: '';
}
.post-more summary:hover,
.post-more[open] summary {
  background: #f4f4f4;
  color: #45484c;
}
.post-more summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.more-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 5px);
  width: 168px;
  z-index: 30;
  background: #fff;
  border: 1px solid #e6e8e9;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(30, 30, 30, 0.12);
  padding: 5px;
}
.more-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  min-height: 38px;
  background: transparent;
  border: 0;
  text-align: left;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  color: #4b4e52;
}
.more-menu button:hover,
.more-menu button:focus-visible {
  background: #f6f7f7;
}
.more-menu button.danger {
  color: #d45946;
}
.feeditem {
  position: relative;
}
.feeditem .post-footer {
  margin-top: 12px;
}
.feeditem .post-meta {
  gap: 8px;
}
.feeditem .post-more summary {
  width: 30px;
  height: 28px;
}
.feeditem .post-meta .tag {
  margin-right: 3px;
}
.feeditem .post-more[open] {
  z-index: 50;
}
@media (max-width: 650px) {
  .post-footer {
    margin-top: 14px;
    gap: 8px;
  }
  .post-meta,
  .detail-engagement {
    gap: 8px;
  }
  .detail-footer {
    margin-top: 26px;
  }
  .detail-footer .metric {
    font-size: 12.5px;
  }
  .more-menu {
    min-width: 174px;
  }
  .more-menu button {
    min-height: 42px;
  }
  .feeditem .post-more summary {
    min-width: 32px;
    min-height: 32px;
  }
  .feeditem .post-meta .tag {
    margin-right: 2px;
  }
}

/* Existing brand/layout retained; supplied wordmark replaces the text logo. */
.brand-image {
  display: block;
  position: relative;
  width: 160px;
  height: 50px;
  overflow: hidden;
}
.brand-image img {
  position: absolute;
  width: 280px;
  height: auto;
  max-width: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.meta {
  flex-wrap: wrap;
}
.meta span {
  overflow-wrap: anywhere;
}
.feeditem h2,
.detail h1,
.comment p {
  overflow-wrap: anywhere;
}
.feeditem:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
@media (min-width: 651px) and (max-width: 1030px) {
  .layout {
    grid-template-columns: 172px minmax(0, 1fr);
  }
}
@media (max-width: 650px) {
  .layout {
    margin: 0;
    padding-bottom: 90px;
  }
  .panel {
    border-radius: 0;
    border: 0;
  }
  .brand-image {
    width: 145px;
    height: 46px;
  }
  .brand-image img {
    width: 250px;
  }
  .mobiletabs .chip.on {
    background: transparent;
    border-color: transparent;
    border-bottom-color: var(--accent);
  }
}
