/* ==========================================================================
   UNPLUG 게시판 · 계정 스타일
   styles.css 의 토큰(--accent / --line / 8px radius / 1px 헤어라인)을 그대로 쓰고
   기존에 없던 컴포넌트만 여기에 둔다. styles.css 는 수정하지 않음.
   ========================================================================== */

/* ── 상단 계정 버튼 ─────────────────────────────────────────────────── */
.account {
  position: relative;
  flex: 0 0 auto;
}

.account > summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.account > summary::-webkit-details-marker {
  display: none;
}

.account > summary:hover,
.account[open] > summary {
  border-color: rgba(38, 217, 165, 0.5);
  background: rgba(38, 217, 165, 0.08);
  color: var(--text);
}

.account svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.account-name {
  max-width: 84px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 40;
  display: grid;
  min-width: 178px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #12161f;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.5);
}

.account-menu a {
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: background 150ms ease, color 150ms ease;
}

.account-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
}

.account-who {
  margin: 2px 0 8px;
  padding: 0 11px 10px;
  border-bottom: 1px solid var(--line);
  line-height: 1.35;
}

.account-who strong {
  display: block;
  color: var(--text);
  font-size: 14px;
}

.account-who span {
  color: rgba(166, 177, 194, 0.62);
  font-size: 12px;
}

.account-note {
  margin: 0;
  padding: 4px 11px 10px;
  color: rgba(166, 177, 194, 0.62);
  font-size: 12px;
  line-height: 1.45;
}

/* ── 서브 페이지 공통 ───────────────────────────────────────────────── */
.reading main {
  padding: 40px 0 30px;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: rgba(166, 177, 194, 0.6);
  font-size: 12px;
  font-weight: 700;
}

.crumb a:hover {
  color: var(--accent);
}

.crumb i {
  font-style: normal;
  opacity: 0.45;
}

/* 게시판 머리말 */
.board-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.board-head > div {
  min-width: 0;
}

.board-head h1 {
  margin: 6px 0 0;
  font-size: clamp(27px, 3vw, 35px);
  line-height: 1.15;
  word-break: keep-all;
}

.board-head .count {
  color: rgba(166, 177, 194, 0.7);
  font-size: 13px;
  white-space: nowrap;
}

.board-head .count b {
  color: var(--accent);
}

.board-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 4px;
}

.board-tools .spacer {
  flex: 1 1 auto;
}

.search-form {
  display: flex;
  gap: 8px;
  width: min(340px, 100%);
}

.search-form input {
  flex: 1 1 auto;
  min-width: 0;
}

/* 버튼이 줄어들어 글자가 접히지 않도록 */
.search-form button,
.board-tools > a {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* ── 게시물 목록 ────────────────────────────────────────────────────── */
.post-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-row {
  position: relative;
  display: grid;
  grid-template-columns: 46px 104px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, padding-left 180ms ease;
}

.post-row:hover {
  background: rgba(255, 255, 255, 0.035);
  padding-left: 10px;
}

.post-row.is-notice {
  background: rgba(255, 204, 69, 0.045);
  box-shadow: inset 2px 0 0 var(--accent-2);
  padding-left: 12px;
}

.post-row.is-notice:hover {
  padding-left: 20px;
}

.row-no {
  color: rgba(166, 177, 194, 0.5);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.row-no .chip {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--accent-2);
  color: #171307;
  font-size: 11px;
  font-weight: 900;
}

.row-title {
  min-width: 0;
}

.row-title h2 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  margin: 0 0 5px;
  font-size: 17px;
  line-height: 1.32;
}

/* flex 자식은 min-width 를 0 으로 내려야 줄임표가 먹는다 */
.row-title h2 a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-row:hover .row-title h2 a {
  color: var(--accent);
}

.row-title p {
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 순서값이 올라간 글 표시 */
.pin {
  flex: 0 0 auto;
  padding: 2px 6px;
  border: 1px solid rgba(38, 217, 165, 0.45);
  border-radius: 5px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 7px;
  color: rgba(166, 177, 194, 0.62);
  font-size: 12px;
}

.row-meta span::before {
  margin-right: 10px;
  color: rgba(166, 177, 194, 0.3);
  content: "·";
}

.row-meta span:first-child::before {
  content: none;
  margin: 0;
}

.row-meta .has-photo {
  color: rgba(38, 217, 165, 0.75);
}

/* 목록 썸네일 */
.thumb {
  width: 104px;
  height: 66px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: var(--surface-2);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.empty-list {
  padding: 62px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.empty-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 17px;
}

/* ── 첨부 없는 글의 게시판별 패턴 썸네일 ─────────────────────────────── */
.thumb-news {
  background-image:
    linear-gradient(135deg, rgba(38, 217, 165, 0.24), transparent 52%),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.11) 0 2px, transparent 2px 15px);
}

.thumb-guides {
  background-image:
    radial-gradient(circle at 30% 34%, rgba(255, 204, 69, 0.34), transparent 46%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 11px);
}

.thumb-reviews {
  background-image:
    radial-gradient(circle at 62% 46%, rgba(255, 93, 115, 0.4), transparent 40%),
    linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.12) 41% 44%, transparent 45%);
}

.thumb-esports {
  background-image:
    linear-gradient(100deg, transparent 20%, rgba(154, 216, 255, 0.42) 21% 27%, transparent 28%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 9px, transparent 9px 19px);
}

.thumb-release {
  background-image:
    linear-gradient(180deg, rgba(38, 217, 165, 0.26), transparent 58%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 17px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 17px);
}

.tone-1 { filter: hue-rotate(14deg); }
.tone-2 { filter: hue-rotate(-16deg) brightness(1.06); }

/* ── 페이징 ─────────────────────────────────────────────────────────── */
.pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 26px;
}

.pager-num,
.pager-step {
  display: inline-grid;
  min-width: 36px;
  height: 36px;
  padding: 0 11px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.pager-num:hover,
.pager-step:hover {
  border-color: rgba(38, 217, 165, 0.45);
  color: var(--text);
}

.pager-num.is-current {
  border-color: transparent;
  background: var(--accent);
  color: #06130f;
}

/* ── 글 상세 ────────────────────────────────────────────────────────── */
.article {
  padding: 30px 32px 34px;
}

.article-head {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.article-head h1 {
  margin: 8px 0 14px;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.16;
  word-break: keep-all;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: rgba(166, 177, 194, 0.72);
  font-size: 13px;
}

.article-meta b {
  color: #d0d8e4;
  font-weight: 700;
}

.article-photo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 26px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 20%, rgba(38, 217, 165, 0.06), transparent 50%),
    var(--surface-2);
}

/* 원본보다 크게 강제로 늘리지 않는다. 늘려서 뭉개지느니 원래 크기로 보여준다. */
.article-photo img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 6px;
}

.article-photo figcaption {
  margin-top: 8px;
  color: rgba(166, 177, 194, 0.55);
  font-size: 12px;
}

.article-body {
  margin-top: 26px;
  color: #dde3ec;
  font-size: 16px;
  line-height: 1.78;
  white-space: pre-wrap;
  word-break: break-word;
}

/* 본문 끝의 [출처] 라인 — 매우 어둡고 흐리게. 링크는 조용히 밑줄. */
.source-note {
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.05);
  color: rgba(166, 177, 194, 0.28);
  font-size: 12px;
  line-height: 1.5;
  word-break: break-all;
}

.source-note a {
  color: rgba(166, 177, 194, 0.4);
  text-decoration: underline;
  text-decoration-color: rgba(166, 177, 194, 0.2);
  text-underline-offset: 2px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.source-note a:hover {
  color: rgba(52, 247, 181, 0.7);
  text-decoration-color: rgba(52, 247, 181, 0.5);
}

.article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.article-foot .spacer {
  flex: 1 1 auto;
}

/* 이전 / 다음 */
.sibling-nav {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.sibling-nav a,
.sibling-nav span {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  transition: background 170ms ease, padding-left 170ms ease;
}

.sibling-nav a:hover {
  background: rgba(255, 255, 255, 0.035);
  padding-left: 12px;
  color: var(--accent);
}

.sibling-nav i {
  color: rgba(166, 177, 194, 0.55);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.sibling-nav span {
  color: rgba(166, 177, 194, 0.42);
}

.sibling-nav b {
  overflow: hidden;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── 폼 ─────────────────────────────────────────────────────────────── */
.form-block {
  padding: 28px 30px 30px;
}

.form-block h1 {
  margin: 6px 0 4px;
  font-size: 27px;
}

.form-lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 17px;
}

.field > label,
.field-label {
  color: #cdd6e2;
  font-size: 13px;
  font-weight: 800;
}

.field .hint {
  color: rgba(166, 177, 194, 0.62);
  font-size: 12px;
  line-height: 1.5;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="search"],
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10141d;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 170ms ease, box-shadow 170ms ease;
}

textarea {
  min-height: 300px;
  line-height: 1.7;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(38, 217, 165, 0.65);
  box-shadow: 0 0 0 3px rgba(38, 217, 165, 0.14);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: rgba(166, 177, 194, 0.42);
}

input[type="file"] {
  width: 100%;
  padding: 10px 13px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #10141d;
  color: var(--muted);
  font-size: 13px;
}

input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 17px;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: #cdd6e2;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.check input {
  width: 17px;
  height: 17px;
  min-height: 0;
  accent-color: var(--accent);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.form-actions .spacer {
  flex: 1 1 auto;
}

/* 버튼 : styles.css 의 primary-link / secondary-link 어휘를 버튼에도 */
button.primary-link,
button.secondary-link,
button.danger-link {
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

button.primary-link {
  border-color: transparent;
}

.danger-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 93, 115, 0.42);
  border-radius: 8px;
  background: transparent;
  color: var(--hot);
  font-weight: 700;
  transition: background 170ms ease, transform 170ms ease;
}

.danger-link:hover {
  background: rgba(255, 93, 115, 0.12);
  transform: translateY(-2px);
}

/* 알림 */
.notice-box {
  margin-bottom: 20px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 93, 115, 0.4);
  border-radius: 8px;
  background: rgba(255, 93, 115, 0.09);
  color: #ffd9df;
  font-size: 14px;
}

.notice-box.ok {
  border-color: rgba(38, 217, 165, 0.42);
  background: rgba(38, 217, 165, 0.09);
  color: #cdf5e8;
}

/* 로그인·회원가입 좁은 폭 */
.auth-wrap {
  width: min(430px, 100%);
  margin: 0 auto;
}

.auth-alt {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.auth-alt a {
  color: var(--accent);
  font-weight: 700;
}

/* ── 메인 페이지에 붙는 것들 ────────────────────────────────────────── */
.section-heading .more-link {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 170ms ease;
}

.section-heading .more-link:hover {
  color: var(--accent);
}

.section-heading .more-link::after {
  margin-left: 5px;
  content: "→";
}

/* 메인 최신뉴스 사이드 목록 */
.trend-list .trend-meta {
  display: block;
  margin-top: 3px;
  color: rgba(166, 177, 194, 0.5);
  font-size: 12px;
}

.lead-story .story-visual {
  background-size: cover;
  background-position: center;
}

.notice-flag {
  display: inline-block;
  margin-right: 7px;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--accent-2);
  color: #171307;
  font-size: 11px;
  font-weight: 900;
  vertical-align: 3px;
}

/* 리뷰 카드에 첨부 사진이 있을 때 */
.news-card .card-image.has-photo {
  background-size: cover;
  background-position: center;
}

/* ── 홈 히어로 컴팩트화 ─────────────────────────────────────────────────
   styles.css 원본은 100vh 세로 스크린을 가정한 큰 히어로였지만,
   실제 콘텐츠가 뉴스라 아래로 빨리 이어지도록 300px 정도로 압축한다. */
.hero {
  align-items: stretch;
  gap: 24px;
  min-height: 300px;
  padding: 20px 0 22px;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.85fr);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.hero-copy .eyebrow {
  margin-bottom: 2px;
}

.hero-copy h1 {
  display: -webkit-box;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.22;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: keep-all;
}

.hero-summary {
  display: -webkit-box;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hero-actions {
  gap: 8px;
  margin-top: 12px;
}

.hero-actions .primary-link,
.hero-actions .secondary-link {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

/* 우측 히어로 아트 : 원래 최소 420px → 컴팩트하게 + 조금 아래로 + 폭 축소 */
.hero-art {
  min-height: 240px;
  width: calc(100% - 70px);   /* 셀 폭에서 70px 빼기 */
  margin-top: 30px;
  align-self: start;
  justify-self: end;          /* 줄어든 폭을 오른쪽 끝에 붙임 */
}

/* 첫 페이지 하단 여백도 살짝만 */
#release {
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 18px 0 20px;
  }
  .hero-art {
    min-height: 180px;
  }
}

/* 평점이 없는 리뷰·프리뷰 카드는 점수 자리를 비워 두지 않는다 */
.news-card.no-score p:not(.category) {
  margin-bottom: 22px;
}

/* 출시일정·경기 목록의 제목 링크 */
.match-row a,
.release-list a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-row a:hover,
.release-list a:hover {
  color: var(--accent);
}

/* ── 속보줄 : 각 뉴스마다 서로 다른 색으로 구분 ────────────────────────
   styles.css 의 tickerGlow 애니메이션이 색을 흔들어 지정 색을 덮으므로 끔.
   각 span 사이의 간격도 살짝 벌려 시각적으로 명확히 나눔. */
.ticker {
  gap: 24px;
}
.ticker span,
.ticker span a {
  animation: none !important;
  transition: color 160ms ease, opacity 160ms ease;
  opacity: 0.92;
}
.ticker span:hover,
.ticker span:hover a {
  opacity: 1;
  filter: brightness(1.15);
}

/* 뉴스 팔레트 — 네온 톤에 눈이 편한 계열로 4색 로테이션 */
.ticker span:nth-child(4n + 2),
.ticker span:nth-child(4n + 2) a { color: #34f7b5; }  /* 민트 */
.ticker span:nth-child(4n + 3),
.ticker span:nth-child(4n + 3) a { color: #ffd25a; }  /* 골드 */
.ticker span:nth-child(4n + 4),
.ticker span:nth-child(4n + 4) a { color: #7fc7ff; }  /* 스카이 */
.ticker span:nth-child(4n + 5),
.ticker span:nth-child(4n + 5) a { color: #ff8fa4; }  /* 코랄 */

/* ── 스크롤바 통합 : 매우 어두운 회색, hover 에서도 밝아지지 않게 강제 ─
   흰색 계열 rgba 를 쓰면 다크 배경 위에서 반투명이 밝게 보이므로,
   불투명 회색(#22252c/#2b2e36)을 !important 로 못박아 hover 하이라이트를 차단.
   Firefox */
html,
.ticker {
  scrollbar-width: thin;
  scrollbar-color: #22252c #0a0c11;
}

/* WebKit / Blink : 페이지 세로 */
html::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: transparent;
}
html::-webkit-scrollbar-track,
html::-webkit-scrollbar-track-piece {
  background: #0a0c11 !important;
}
html::-webkit-scrollbar-thumb {
  background: #22252c !important;
  border-radius: 999px;
  border: 2px solid #0a0c11;   /* 트랙과 자연스럽게 섞이도록 얇은 테두리 */
}
html::-webkit-scrollbar-thumb:hover,
html::-webkit-scrollbar-thumb:active,
html::-webkit-scrollbar-thumb:window-inactive {
  background: #2b2e36 !important;   /* hover 에서도 살짝만 밝아짐 (거의 티 안 남) */
}
html::-webkit-scrollbar-button,
html::-webkit-scrollbar-corner {
  background: transparent;
  display: none;
}

/* 속보 가로 스크롤바 */
.ticker {
  padding-bottom: 12px;
}
.ticker::-webkit-scrollbar {
  height: 6px;
  background: transparent;
}
.ticker::-webkit-scrollbar-track,
.ticker::-webkit-scrollbar-track-piece {
  background: #0a0c11 !important;
  border-radius: 999px;
}
.ticker::-webkit-scrollbar-thumb {
  background: #22252c !important;
  border-radius: 999px;
}
.ticker::-webkit-scrollbar-thumb:hover,
.ticker::-webkit-scrollbar-thumb:active,
.ticker:hover::-webkit-scrollbar-thumb {
  background: #2b2e36 !important;
}
.ticker::-webkit-scrollbar-corner {
  background: transparent;
}

/* ── 반응형 ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .account-name {
    display: none;
  }

  .post-row {
    grid-template-columns: 38px 84px minmax(0, 1fr);
    gap: 13px;
  }

  .thumb {
    width: 84px;
    height: 56px;
  }

  .article,
  .form-block {
    padding: 24px 20px 26px;
  }
}

@media (max-width: 560px) {
  .board-head {
    display: block;
  }

  .board-head .count {
    display: block;
    margin-top: 10px;
  }

  .board-tools {
    flex-wrap: wrap;
  }

  .post-row {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .row-no {
    display: none;
  }

  .thumb {
    width: 74px;
    height: 52px;
  }

  /* 좁은 화면에서는 줄임표 대신 두 줄까지 접어서 보여준다 */
  .row-title h2 {
    display: block;
    font-size: 15px;
  }

  .row-title h2 a {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    text-overflow: clip;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .pin {
    display: inline-block;
    margin-top: 4px;
  }

  .row-title p {
    display: none;
  }

  .sibling-nav a,
  .sibling-nav span {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
  }
}
