.tr-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 312px; gap: 20px; align-items: start; }
.tr-main { min-width: 0; }
.tr-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 12px; }
.tr-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 13.5px; color: var(--ink-3); }
.tr-src { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 650; color: var(--ink-2); }
.tr-time { font-variant-numeric: tabular-nums; }
.tr-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.tr-tools .btn .ico { width: 16px; height: 16px; }
.tr-tools .btn.is-busy .ico { animation: tr-spin 0.9s linear infinite; }
@keyframes tr-spin { to { transform: rotate(360deg); } }
.tr-q { margin-bottom: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; }
.tr-q .tr-acts { margin: 10px 0 0; }
.tr-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.tr-item { display: grid; gap: 10px; padding: 18px 20px 16px; scroll-margin: calc(var(--head-h) + 20px); transition: background-color 0.3s; }
.tr-item + .tr-item, .tr-skel + .tr-skel { border-top: 1px solid var(--line); }
.tr-item.is-focus { background: color-mix(in srgb, var(--mk-yellow) 26%, transparent); }
:root[data-theme="dark"] .tr-item.is-focus { background: color-mix(in srgb, var(--mks-yellow) 12%, transparent); }
.tr-top { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px 10px; align-items: start; }
.tr-rank { font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -0.03em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tr-item:nth-child(-n + 3) .tr-rank { color: var(--ink); }
.tr-title { font-size: 19px; font-weight: 750; line-height: 1.35; letter-spacing: -0.02em; word-break: keep-all; overflow-wrap: anywhere; }
.tr-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tr-traffic { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: color-mix(in srgb, var(--mk-orange) 60%, transparent); color: var(--mark-ink); font-weight: 700; }
:root[data-theme="dark"] .tr-traffic { background: color-mix(in srgb, var(--mks-orange) 30%, transparent); color: var(--ink); }
.tr-star { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink-3); transition: color 0.15s, border-color 0.15s, background-color 0.15s; }
.tr-star:hover { color: var(--ink); border-color: var(--line-2); }
.tr-star .ico { width: 19px; height: 19px; }
.tr-star[aria-pressed="true"] { color: var(--mks-yellow); border-color: color-mix(in srgb, var(--mks-yellow) 45%, transparent); background: color-mix(in srgb, var(--mk-yellow) 30%, transparent); }
.tr-news { list-style: none; margin: 0 0 0 54px; padding: 0; display: grid; gap: 6px; }
.tr-news li { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.tr-news a { color: inherit; text-decoration: none; word-break: keep-all; overflow-wrap: anywhere; }
.tr-news a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.tr-news-src { margin-left: 8px; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.tr-nonews { margin-left: 54px; font-size: 13.5px; color: var(--ink-3); }
.tr-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-left: 54px; }
.tr-act { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; cursor: pointer; transition: border-color 0.15s, color 0.15s; }
.tr-act:hover { color: var(--ink); border-color: var(--ink-3); }
.tr-act .ico { width: 15px; height: 15px; }
.tr-skel { display: grid; gap: 10px; padding: 20px; }
.tr-skel i { display: block; height: 14px; border-radius: 7px; background: var(--surface-2); animation: tr-pulse 1.2s ease-in-out infinite alternate; }
.tr-skel i:nth-child(1) { width: 38%; height: 20px; }
.tr-skel i:nth-child(2) { width: 82%; }
.tr-skel i:nth-child(3) { width: 64%; }
@keyframes tr-pulse { from { opacity: 1; } to { opacity: 0.45; } }
.tr-err { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 22px 20px; font-size: 14.5px; line-height: 1.6; }
.tr-err-i .ico { width: 22px; height: 22px; color: var(--warn); }
.tr-err p { margin-top: 4px; color: var(--ink-2); }
.tr-side { position: sticky; top: calc(var(--head-h) + 12px); display: grid; gap: 12px; }
.tr-side .panel + .panel { margin-top: 0; }
.tr-side .panel { padding: 16px 18px; }
.tr-side h2 { font-size: 16px; letter-spacing: -0.02em; }
.tr-side-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tr-saved-n { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tr-saved-list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 300px; overflow: auto; }
.tr-saved-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); }
.tr-saved-list li:first-child { border-top: 0; }
.tr-saved-list a { font-size: 14.5px; font-weight: 650; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-saved-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tr-saved-list time { font-size: 12px; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tr-del { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; color: var(--ink-3); }
.tr-del:hover { background: var(--surface-2); color: var(--red); }
.tr-del .ico { width: 15px; height: 15px; }
.tr-saved .hint { margin-top: 8px; }
.tr-saved .btn-row { margin-top: 12px; }
.tr-saved .btn .ico { width: 15px; height: 15px; }
.tr-how dl { margin: 8px 0 0; }
.tr-how dl > div { padding: 8px 0; border-top: 1px solid var(--line); }
.tr-how dl > div:first-child { border-top: 0; }
.tr-how dt { font-size: 14px; font-weight: 700; }
.tr-how dd { margin: 3px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); word-break: keep-all; }
.tr-more ul { list-style: none; margin: 8px 0 0; padding: 0; }
.tr-more li { padding: 8px 0; border-top: 1px solid var(--line); }
.tr-more li:first-child { border-top: 0; }
.tr-more a { font-size: 14.5px; font-weight: 650; }
.tr-more span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) {
.tr-skel i, .tr-tools .btn.is-busy .ico { animation: none; }
}
@media (max-width: 1100px) {
.tr-wrap { grid-template-columns: minmax(0, 1fr); }
.tr-side { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 860px) {
.tr-side { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
.tr-item { padding: 16px 14px 14px; }
.tr-top { grid-template-columns: 30px minmax(0, 1fr) auto; }
.tr-rank { font-size: 20px; }
.tr-title { font-size: 17.5px; }
.tr-news, .tr-nonews, .tr-acts { margin-left: 0; }
}
