/* Link feedback has its own target alongside the external link and bookmark. */
.review-jump {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-height: 36px; padding: 0 5px; border-radius: 7px;
  color: var(--muted); font-size: 11px; white-space: nowrap;
}
.review-jump .icon { width: 15px; height: 15px; }
.review-jump b { color: var(--ink); font-variant-numeric: tabular-nums; }
.review-jump { flex-shrink: 0; gap: 3px; }
.rating-mark { font-size: 13px; line-height: 1; color: var(--accent); }
.rating-mark.unrated { color: var(--muted); }
.rating-count { font-size: 10px; font-variant-numeric: tabular-nums; }
.quick-links .quick-link { display: grid; gap: 0; align-content: center; }
.quick-site { display: flex; align-items: center; gap: 8px; min-width: 0; }
.quick-site > span:not(.site-logo) { min-width: 0; }
.quick-site .site-logo { flex-shrink: 0; }
.quick-site strong, .quick-site small { overflow: hidden; text-overflow: ellipsis; }
.quick-link .review-jump { justify-self: start; margin-left: 35px; min-height: 26px; }
.quick-site:focus-visible, .review-jump:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.rating-window { border: 1px solid var(--line); background: var(--selected-surface); border-radius: 12px; padding: 14px 17px; margin: 0 0 14px; }
.rating-window strong { display: flex; align-items: center; gap: 7px; font-size: 14px; }
.rating-window .icon { width: 16px; height: 16px; color: var(--accent); }
.rating-window p, .my-score { margin: 5px 0 0; font-size: 13px; color: var(--muted); }
.my-score b { color: var(--accent); margin-left: 4px; }
.review-jump:hover, .talk-back:hover { color: var(--accent); background: var(--selected-surface); }
.talk-screen { max-width: 1050px; margin-inline: auto; padding-bottom: 24px; }
.talk-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 12px 0 25px; }
.talk-header h1, .post-detail h1 { font-size: clamp(25px, 3vw, 35px); line-height: 1.25; margin: 6px 0 9px; overflow-wrap: anywhere; }
.talk-header h1 span, .talk-back, .site-visit:hover { color: var(--accent); }
.talk-header p, .talk-hint, .talk-status, .score-card p { color: var(--muted); margin: 0; }
.talk-header .talk-action { flex: none; }
.btn.talk-action { color: var(--bg); background: var(--accent); font-weight: 650; min-height: 43px; }
.btn.talk-action:hover { box-shadow: inset 0 0 0 2px currentColor; }
.talk-back, .site-visit { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; }
.talk-back { font-size: 13px; border-radius: 6px; }
.site-visit { color: var(--muted); font-size: 13px; word-break: break-all; }
.site-visit .icon, .talk-hint .icon, .byline .icon, .reply-total .icon { width: 15px; height: 15px; }
.talk-panel { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(17px, 2.5vw, 28px); margin: 0 0 14px; }
.talk-panel h2 { font-size: 18px; margin: 0; }
.talk-panel-head, .talk-meta, .byline, .reply-total, .owner-actions, .inline-confirm, .talk-hint { display: flex; align-items: center; gap: 8px; }
.talk-panel-head { justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.talk-panel-head > span, .reply-total, .talk-meta, .talk-form small { font-size: 12px; color: var(--muted); }
.talk-meta, .inline-confirm, .talk-form .form-actions { flex-wrap: wrap; }
.talk-meta { gap: 6px 14px; }
.byline small { color: var(--accent); }
.talk-status { padding: 18px 0; }
.talk-empty { text-align: center; padding: 48px 8px; }
.talk-empty > .icon { width: 36px; height: 36px; color: var(--accent); }
.talk-empty h3 { font-size: 16px; margin: 12px 0 6px; }
.talk-empty p { color: var(--muted); margin: 0; }
.board-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.board-row > div { min-width: 0; }
.board-row h3 { font-size: 16px; margin: 0; overflow-wrap: anywhere; }
.board-row p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); margin: 4px 0 8px; }
.board-row:hover h3 { color: var(--accent); }
.reply-total { white-space: nowrap; }
.talk-form { display: grid; gap: 16px; }
.talk-form .field, .reply-form .field { margin: 0; }
.talk-form textarea, .reply-form textarea, .talk-form input:not([type="radio"]) { width: 100%; min-width: 0; padding: 12px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 9px; }
.talk-form textarea, .reply-form textarea { resize: vertical; }
.talk-form .form-actions, .reply-form .form-actions { margin: 0; }
.talk-hint { font-size: 12px; }
.post-password-field .field { max-width: 26rem; }
.post-password-field .talk-hint { margin-top: 7px; align-items: flex-start; line-height: 1.5; }
.post-password-field .talk-hint .icon { flex: none; margin-top: 2px; }
.post-password-prompt { padding-top: 16px; border-top: 1px solid var(--line); }
.post-legacy p { color: var(--muted); font-size: 13px; }
.post-tools[hidden] { display: none; }
.owner-actions.post-tools button { min-height: 44px; min-width: 44px; }
.talk-panel .form-error:empty { display: none; }
.post-detail .post-body, .comment-row p { overflow-wrap: anywhere; white-space: pre-wrap; line-height: 1.75; }
.post-body { margin: 24px 0; }
.owner-actions button { min-height: 36px; color: var(--muted); text-decoration: underline; }
.inline-confirm { font-size: 13px; }
.inline-confirm [role="alert"] { color: var(--danger); }
.reply-form, .comment-row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-row:last-child { border-bottom: 0; }
.reply-form .form-actions { margin-top: 8px; }
.comment-row p { margin: 9px 0 0; }
.feed-more { display: flex; margin: 16px auto 0; }
.feed-more[hidden] { display: none; }
.review-identity { display: flex; align-items: center; gap: 16px; }
.review-identity .site-logo { width: 52px; height: 52px; border-radius: 13px; }
.review-identity .site-logo img { padding: 5px; }
.review-header h1 { margin-bottom: 0; }
.review-layout { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(300px, 1.35fr); gap: 16px; align-items: start; }
.score-number { display: flex; align-items: baseline; gap: 7px; color: var(--muted); margin: 8px 0 0; }
.score-number strong { font-size: 40px; line-height: 1.2; color: var(--ink); }
.score-card p { font-size: 12px; margin: 8px 0 0; }
.star-strip { color: var(--muted); letter-spacing: 1px; }
.star-strip b, .rated span, .comment-score b { color: var(--accent); }
.comment-score { display: flex; gap: 8px; align-items: center; font-size: 12px; margin-top: 8px; }
.rating-editor summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 650; min-height: 36px; }
.rating-editor summary .icon { width: 16px; color: var(--accent); }
.rating-editor[open] summary { margin-bottom: 14px; }
.score-field { border: 0; margin: 0; padding: 0; }
.score-field legend { font-weight: 600; }
.rating-radios { display: flex; margin: 4px 0; }
.rating-radios label { position: relative; display: grid; place-items: center; cursor: pointer; width: 44px; height: 44px; font-size: 28px; color: var(--muted); border-radius: 6px; }
.rating-radios input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rating-radios label:focus-within { outline: 2px solid var(--accent); outline-offset: -2px; }
.rating-radios label:not(.rated) > span:first-of-type { color: transparent; -webkit-text-stroke: 1px var(--muted); }
@media (max-width: 900px) {
  .review-layout { grid-template-columns: 1fr; gap: 0; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .quick-links .quick-link:nth-child(5) { display: none; }
}
@media (max-width: 767px) {
  .quick-links .quick-link { display: flex; gap: 0; }
  .quick-site { flex-direction: column; gap: 5px; max-width: 100%; }
  .quick-site strong { display: block; }
  .quick-link .review-jump { margin: 0; min-height: 31px; padding: 0 2px; font-size: 10px; }
  .bottom-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .category-grid:not(.list-mode) .link-row { display: grid; grid-template-columns: minmax(0,1fr) 34px; grid-template-areas: "site fav" "review fav"; align-content: center; gap: 0; padding: 4px 0; }
  .category-grid:not(.list-mode) .site-anchor { grid-area: site; min-height: 40px; padding: 2px 0; }
  .category-grid:not(.list-mode) .favorite-button { grid-area: fav; min-width: 34px; width: 34px; }
  .category-grid:not(.list-mode) .review-jump { grid-area: review; justify-self: start; min-height: 30px; padding: 0 5px; margin-left: 27px; }
  .talk-header { margin-top: 10px; }
  .talk-meta { font-size: 11px; }
  .talk-screen .talk-panel { border-radius: 14px; }
  .talk-form input, .talk-form textarea, .reply-form textarea { font-size: 16px; }
}
@media (max-width: 359px) {
  .category-grid:not(.list-mode) .review-jump { margin-left: 10px; }
}

