  :root {
    --rainbow: linear-gradient(90deg, #ff3b3b, #ff9f1c, #ffd60a, #2ee66b, #22c3ff, #7a5cff, #ff4fd8);
    --bg: #f7f7f5; --panel: #ffffff; --line: #e4e4e0; --text: #141414; --muted: #6b6b6b; --code: #f0f0ec;
    --shadow: 0 8px 24px rgba(0,0,0,.08); --up: #0f9d58; --down: #e11d48;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) { --bg: #0a0a0a; --panel: #141414; --line: #262626; --text: #f2f2f2; --muted: #8f8f8f; --code: #1f1f1f; --shadow: 0 8px 24px rgba(0,0,0,.5); --up: #34d399; --down: #fb7185; }
  }
  :root[data-theme="dark"] { --bg: #0a0a0a; --panel: #141414; --line: #262626; --text: #f2f2f2; --muted: #8f8f8f; --code: #1f1f1f; --shadow: 0 8px 24px rgba(0,0,0,.5); --up: #34d399; --down: #fb7185; }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 'IBM Plex Sans Thai', system-ui, sans-serif; overflow-x: hidden; transition: background .2s, color .2s; }
  a { color: inherit; }
  h1, h2, h3 { font-family: 'Mitr', sans-serif; line-height: 1.15; margin: 0; }
  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
  .rb { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }

  /* top bar */
  .bar { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .bar .wrap { display: flex; align-items: center; gap: 10px; height: 56px; }
  .bar img { width: 32px; height: 32px; border-radius: 50%; }
  .bar b { font-family: 'Mitr'; font-size: 18px; }
  .bar nav { margin-left: auto; display: flex; gap: 14px; align-items: center; }
  .bar nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
  .bar nav a:hover { color: var(--text); }
  .pill { border: 1px solid var(--line); background: var(--panel); color: var(--text); border-radius: 999px; padding: 4px 12px; cursor: pointer; font: 600 13px 'IBM Plex Sans Thai'; text-decoration: none; }
  .pill.login { background: #5865f2; color: #fff; border-color: #5865f2; }
  .pill.me { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 2px; max-width: 160px; }
  .pill.me img { width: 24px; height: 24px; border-radius: 50%; background: var(--code); flex: none; }
  .pill.me span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  @media (max-width: 480px) { .pill.me span { display: none; } .pill.me { padding: 2px; } }


  .ticker { overflow: hidden; background: var(--rainbow); background-size: 200% 100%; animation: shift 8s linear infinite; color: #111; font: 700 14px 'Mitr'; white-space: nowrap; }
  .ticker span { display: inline-block; padding: 6px 0; animation: run 40s linear infinite; }
  @keyframes run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @keyframes shift { from { background-position: 0 0; } to { background-position: 200% 0; } }
  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes wob { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

  /* hero */
  .hero { padding: 48px 0 32px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: center; }
  .hero > * { min-width: 0; }
  .hero h1 { font-size: clamp(40px, 7.5vw, 80px); letter-spacing: -1px; }
  .hero p.sub { font-size: 19px; color: var(--muted); margin: 16px 0 24px; max-width: 540px; }
  .hero p.sub b { color: var(--text); }
  .face { position: relative; justify-self: center; width: min(320px, 72vw); aspect-ratio: 1; }
  .face .ring { position: absolute; inset: -10px; border-radius: 50%; background: conic-gradient(#ff3b3b, #ff9f1c, #ffd60a, #2ee66b, #22c3ff, #7a5cff, #ff4fd8, #ff3b3b); animation: spin 6s linear infinite; }
  .face img { position: relative; width: 100%; height: 100%; border-radius: 50%; border: 6px solid var(--bg); object-fit: cover; }
  .sticker { position: absolute; background: #fff; color: #000; font: 700 15px 'Mitr'; padding: 6px 12px; border-radius: 8px; border: 2px solid #000; box-shadow: 4px 4px 0 #000; white-space: nowrap; }
  .sticker.s1 { top: 4%; right: -8%; transform: rotate(9deg); background: #ffd60a; }
  .sticker.s2 { bottom: 6%; left: -10%; transform: rotate(-8deg); background: #22c3ff; }
  @media (max-width: 760px) { .hero { grid-template-columns: minmax(0, 1fr); padding-top: 28px; } .face { order: -1; } .sticker.s1 { right: -2%; } .sticker.s2 { left: -2%; } }

  .btns { display: flex; flex-wrap: wrap; gap: 10px; }
  .btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; font: 600 15px 'IBM Plex Sans Thai'; text-decoration: none; border: 2px solid var(--text); color: var(--text); background: var(--panel); cursor: pointer; box-shadow: 3px 3px 0 var(--text); transition: transform .1s, box-shadow .1s; }
  .btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--text); }
  .btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--text); }
  .btn.main { background: var(--rainbow); color: #111; border-color: #111; box-shadow: 3px 3px 0 #111; }
  .btn.discord { background: #5865f2; color: #fff; border-color: #111; box-shadow: 3px 3px 0 #111; }

  .ca { margin-top: 18px; display: flex; align-items: center; gap: 8px; background: var(--panel); border: 2px dashed var(--line); border-radius: 12px; padding: 8px 8px 8px 12px; max-width: 580px; }
  .ca small { color: var(--muted); flex: none; }
  .ca code { font: 13px 'JetBrains Mono'; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
  .ca .btn { padding: 6px 12px; box-shadow: 2px 2px 0 var(--text); flex: none; }

  /* sections */
  section { padding: 48px 0; border-top: 1px solid var(--line); position: relative; }
  section h2 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 6px; }
  section .lead { color: var(--muted); margin: 0 0 24px; max-width: 640px; }

  .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
  .stat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
  .stat::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--rainbow); }
  .stat small { color: var(--muted); display: block; font-size: 13px; }
  .stat b { font: 700 24px 'JetBrains Mono'; display: block; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .stat .note { color: var(--muted); font-size: 12px; margin-top: 4px; }
  .up { color: var(--up); } .down { color: var(--down); }

  .chart { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; height: 420px; background: var(--panel); }
  .chart iframe { width: 100%; height: 100%; border: 0; }

  /* memes stuck on the page */
  .meme { display: block; margin: 0; background: #fff; padding: 8px 8px 30px; border-radius: 4px; box-shadow: 0 10px 24px rgba(0,0,0,.25); position: relative; }
  .meme img { display: block; width: 100%; height: auto; border-radius: 2px; }
  .meme::after { content: attr(data-cap); position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font: 600 13px 'Mitr'; color: #333; }
  .meme.tape::before { content: ''; position: absolute; top: -12px; left: 50%; width: 90px; height: 24px; margin-left: -45px; background: rgba(255,214,10,.75); transform: rotate(-4deg); }
  /* แปะนอกขอบเนื้อหา โผล่เฉพาะจอกว้างพอ จะได้ไม่ทับการ์ด */
  .side { position: absolute; width: 170px; z-index: 1; }
  .side.r { right: -215px; top: 40px; transform: rotate(6deg); }
  .side.l { left: -215px; top: 60px; transform: rotate(-7deg); }
  @media (max-width: 1520px) { .side { display: none; } }

  .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 20px; padding-top: 12px; }
  .gallery .meme:nth-child(odd) { transform: rotate(-2.5deg); }
  .gallery .meme:nth-child(even) { transform: rotate(2deg); }
  .gallery .meme:hover { transform: rotate(0) scale(1.04); z-index: 2; animation: wob .4s ease 2; }

  /* earn */
  .earn { width: 100%; border-collapse: collapse; }
  .earn td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
  .earn td:nth-child(2) { font: 700 17px 'JetBrains Mono'; white-space: nowrap; text-align: right; }
  .earn td small { display: block; color: var(--muted); }
  .earn3 th { text-align: left; font: 600 12px 'IBM Plex Sans Thai'; color: var(--muted); padding: 0 8px 6px; border-bottom: 1px solid var(--line); }
  .earn3 th:nth-child(n+2), .earn3 td:nth-child(n+2) { text-align: right; white-space: nowrap; }
  .earn3 td:nth-child(2) b { font: 700 17px 'JetBrains Mono'; }
  .earn3 td:nth-child(3) { font: 13px 'IBM Plex Sans Thai'; }
  .earn3 td:nth-child(3) b { font: 600 14px 'IBM Plex Sans Thai'; }
  .earn3 td:nth-child(2) small, .earn3 td:nth-child(3) small { font-size: 12px; }
  @media (max-width: 520px) { .earn3 td, .earn3 th { padding-left: 4px; padding-right: 4px; } .earn3 td:first-child small { font-size: 12px; } }
  .earn.wait [data-pts], .cap.wait { visibility: hidden; } /* ซ่อนเลขเรตเริ่มต้นจนกว่าจะรู้เรตจริง */
  .sub-h { font-size: 22px; margin: 32px 0 4px; }
  /* หน้าโปรไฟล์ */
  .pf-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
  .pf-head img { width: 84px; height: 84px; border-radius: 50%; border: 3px solid transparent; background: var(--rainbow) border-box; flex: none; }
  .pf-head h2 { margin: 0; overflow-wrap: anywhere; }
  .pf-mine { margin-top: 16px; padding: 16px; border: 2px dashed var(--line); border-radius: 14px; }
  .pf-mine-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
  .pf-wallet { margin-top: 10px; font-family: 'JetBrains Mono'; overflow-wrap: anywhere; }
  .pf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; margin-top: 16px; }
  .pf-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); margin-top: 12px; min-width: 0; }
  .pf-grid .pf-card { margin-top: 0; }
  .pf-card h3 { margin: 0 0 10px; font-size: 20px; }
  .pf-line { margin-top: 6px; font-size: 15px; }
  .pf-steps { display: flex; gap: 8px; flex-wrap: wrap; }
  .pf-step { display: grid; text-align: center; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--code); min-width: 64px; }
  .pf-step b { font: 700 15px 'Mitr'; }
  .pf-step small { color: var(--muted); font: 600 12px 'JetBrains Mono'; }
  .pf-step.done { background: var(--rainbow); border-color: #111; color: #111; }
  .pf-step.done small { color: #111; }
  .pf-chart { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); grid-template-rows: 140px auto; gap: 3px; }
  .pf-cmt { grid-column: 2; }
  .pf-bar { height: 100%; display: flex; align-items: flex-end; background: var(--code); border-radius: 3px; }
  .pf-bar i { display: block; width: 100%; background: var(--rainbow); background-size: 3000% 100%; border-radius: 3px; }
  .pf-axis { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 4px; }
  .pf-upd { margin-top: 16px; }
  .board .nm { color: inherit; text-decoration: none; }
  .board a.nm:hover, .post .head a.who-link:hover { text-decoration: underline; }
  .post .head a.who-link { font-weight: 700; color: inherit; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .invite { display: inline-block; margin: 14px 0 0; padding: 8px 14px; border-radius: 999px; background: var(--rainbow); color: #111; font: 600 15px 'IBM Plex Sans Thai'; text-decoration: none; border: 2px solid #111; box-shadow: 3px 3px 0 #111; }
  .invite[hidden] { display: none; }
  .invite-txt { font-weight: 600; }
  .hv-sec { padding: 24px 0; }
  .halving { margin-top: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
  .hv-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .hv-head b { font: 700 20px 'Mitr'; }
  .hv-head span { color: var(--muted); font-size: 14px; }
  .hv-bar { height: 14px; border-radius: 999px; background: var(--code); border: 1px solid var(--line); overflow: hidden; margin: 10px 0 6px; }
  .hv-bar i { display: block; height: 100%; width: 0; background: var(--rainbow); transition: width .6s; }
  .hv-foot { font: 600 13px 'JetBrains Mono'; }
  .halving .fine { margin: 8px 0 0; }
  .fine { color: var(--muted); font-size: 14px; margin-top: 16px; }
  .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 24px; }
  .step { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
  .step .n { font: 700 30px 'Mitr'; }
  code.k { font: 14px 'JetBrains Mono'; background: var(--code); padding: 2px 6px; border-radius: 4px; }

  /* start guide */
  .guide { list-style: none; counter-reset: g; margin: 0; padding: 0; display: grid; gap: 14px; }
  .guide li { counter-increment: g; position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 18px 72px; box-shadow: var(--shadow); }
  .guide li::before { content: counter(g); position: absolute; left: 18px; top: 14px; font: 700 34px 'Mitr'; background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .guide h3 { font-size: 20px; margin-bottom: 4px; }
  .guide p { margin: 0 0 10px; }
  .guide p.sm { color: var(--muted); font-size: 14px; }
  .guide .btn { margin-top: 2px; }
  .warn { margin-top: 12px; border: 2px solid #e11d48; border-radius: 10px; padding: 10px 12px; font-size: 15px; }
  .warn b { color: #e11d48; }
  @media (max-width: 480px) { .guide li { padding: 56px 14px 14px; } .guide li::before { left: 14px; top: 8px; } }

  /* board */
  .muted { color: var(--muted); font-size: 14px; }
  .composer { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); margin-bottom: 20px; }
  .login-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .who { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
  .who img { width: 32px; height: 32px; border-radius: 50%; background: var(--code); }
  .who a { margin-left: auto; }
  #postBody { width: 100%; resize: vertical; min-height: 80px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: 16px/1.5 'IBM Plex Sans Thai', sans-serif; }
  #postBody:focus { outline: 2px solid var(--text); outline-offset: 1px; }
  .bar2 { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
  .bar2 label.pill { display: inline-flex; align-items: center; }
  .bar2 .count { margin-left: auto; }
  .attach { position: relative; margin-top: 10px; display: inline-block; }
  .attach img { max-width: 220px; max-height: 220px; border-radius: 10px; display: block; }
  .attach .pill { position: absolute; top: 6px; right: 6px; }
  .gifpick { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
  .gifpick input { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: 15px 'IBM Plex Sans Thai'; }
  .gifgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; max-height: 320px; overflow-y: auto; margin: 10px 0 6px; }
  .gifgrid img { width: 100%; height: 100px; object-fit: cover; border-radius: 6px; cursor: pointer; background: var(--code); }
  .gifgrid img:hover { outline: 3px solid var(--text); }
  .feed { display: grid; gap: 12px; }
  .post { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; }
  .post > img.av { width: 40px; height: 40px; border-radius: 50%; grid-row: span 3; background: var(--code); }
  .post .head { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
  .post .head b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .post .head time { color: var(--muted); font-size: 13px; flex: none; }
  .post .head button { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; font: 13px 'IBM Plex Sans Thai'; padding: 0; }
  .post .head button:hover { color: var(--down); }
  .post .txt { white-space: pre-wrap; overflow-wrap: anywhere; }
  .post .media img { max-width: min(100%, 420px); max-height: 420px; border-radius: 10px; display: block; margin-top: 6px; cursor: zoom-in; }
  #moreBtn { margin-top: 16px; }
  .post.new { animation: pop .4s ease; }
  @keyframes pop { from { transform: translateY(-6px); opacity: 0; } to { transform: none; opacity: 1; } }

  /* leaderboard */
  .tabs { display: flex; gap: 8px; margin-bottom: 16px; }
  .tabs button { background: var(--panel); border: 1px solid var(--line); color: var(--muted); padding: 8px 14px; border-radius: 999px; cursor: pointer; font: 600 14px 'IBM Plex Sans Thai'; }
  .tabs button.on { background: var(--text); color: var(--bg); border-color: var(--text); }
  .board { list-style: none; margin: 0; padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
  .board li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .board li:last-child { border-bottom: 0; }
  .board .rk { width: 32px; text-align: center; font: 700 18px 'Mitr'; color: var(--muted); flex: none; }
  .board img { width: 38px; height: 38px; border-radius: 50%; background: var(--code); flex: none; }
  .board .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
  .board .amt { font: 700 15px 'JetBrains Mono'; white-space: nowrap; }
  .empty { color: var(--muted); padding: 24px; }
  .updated { color: var(--muted); font-size: 13px; margin-top: 12px; }

  .checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
  .check { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
  .check h3 { font-size: 18px; margin-bottom: 4px; }
  .check p { margin: 0; color: var(--muted); font-size: 14px; }

  details { border-bottom: 1px solid var(--line); padding: 14px 0; }
  summary { cursor: pointer; font: 600 18px 'Mitr'; list-style: none; }
  summary::-webkit-details-marker { display: none; }
  summary::before { content: '+ '; }
  details[open] summary::before { content: '− '; }
  details p { margin: 8px 0 0; color: var(--muted); }

  footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
  footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }

  .toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 999px; font: 600 14px 'IBM Plex Sans Thai'; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 20; }
  .toast.show { opacity: 1; }

  @media (prefers-reduced-motion: reduce) { .ticker, .ticker span, .face .ring { animation: none; } }
  @media (max-width: 480px) {
    .hero h1 { font-size: 40px; } .hero p.sub { font-size: 17px; }
    .stat b { font-size: 20px; } .chart { height: 340px; } .face { width: 240px; }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
    .meme { padding: 5px 5px 24px; } .meme::after { font-size: 11px; }
  }

  [data-en] { display: none; }
  html[lang="en"] [data-th] { display: none; }
  html[lang="en"] [data-en] { display: revert; }
  [hidden] { display: none !important; }

  /* หน้า /board */
  .bar .home { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
  .board-page section { border-top: 0; padding-top: 32px; }
  #teaser .media img { max-height: 200px; }
  #teaser .post { cursor: pointer; }

  /* v2.3 คอมเมนต์ + ฟีดเลื่อนโหลดเอง */
  .cmp textarea { width: 100%; resize: vertical; min-height: 80px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: 16px/1.5 'IBM Plex Sans Thai', sans-serif; }
  .cmp textarea:focus { outline: 2px solid var(--text); outline-offset: 1px; }
  .cmp.small textarea { min-height: 40px; font-size: 15px; }
  .cmp.small .btn { padding: 6px 14px; box-shadow: 2px 2px 0 #111; }
  .acts { grid-column: 2; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
  /* ปุ่มไลก์ / ดิสไลก์ / คอมเมนต์ */
  .vote, .cbtn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--text); border-radius: 999px; padding: 5px 12px; font: 600 13px 'JetBrains Mono'; cursor: pointer; transition: transform .1s, border-color .1s; }
  .vote svg, .cbtn svg { flex: none; }
  .vote.on svg { fill: currentColor; fill-opacity: .25; }
  .vote:hover, .cbtn:hover { border-color: var(--text); }
  .vote:active, .cbtn:active { transform: scale(.96); }
  .vote.on { background: var(--rainbow); color: #111; border-color: #111; }
  .thread { grid-column: 2; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; display: grid; gap: 10px; }
  .comments { display: grid; gap: 8px; }
  .post.comment { background: var(--bg); border-radius: 12px; padding: 10px; grid-template-columns: 30px minmax(0, 1fr); }
  .post.comment > img.av { width: 30px; height: 30px; }
  .post.comment .media img { max-height: 260px; }
  .feed-end { text-align: center; padding: 24px 0; min-height: 1px; }
  @media (max-width: 480px) { .thread, .acts { grid-column: 1 / -1; } }

  /* v2.4 แถบบน = 2 แท็บ (หน้าแรก / กระดาน) */
  .bar nav { gap: 10px; flex: 1; }
  .bar nav .sp { flex: 1; }
  .bar nav a.tab { position: relative; font: 600 15px 'Mitr'; color: var(--muted); text-decoration: none; padding: 4px 2px; margin-left: 14px; }
  .bar nav a.tab:hover { color: var(--text); }
  .bar nav a.tab.on { color: var(--text); }
  .bar nav a.tab.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 2px; background: var(--rainbow); }
  @media (max-width: 480px) { .bar b { display: none; } .bar nav a.tab { margin-left: 4px; font-size: 14px; } .bar nav { gap: 6px; } }
