/* ── Right column - wraps game-sidebar + chronicles-box ── */
#right-col {
    position: fixed;
    top: var(--hud-top);
    right: 0px;
    width: var(--sidebar-width);
    max-width: var(--sidebar-max-width);
    height: var(--hud-height);
    margin: 0 var(--sidebar-margin) 0 0;
    min-width: var(--sidebar-min-width);
    z-index: var(--z-hud);
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
    pointer-events: auto;
    overflow: hidden;
}

/* --- Chronicles Sidebar --- */
#game-sidebar {
    position: relative;
    flex-shrink: 0;
    min-height: 120px;
    background: linear-gradient(180deg, rgb(7 8 13 / 90%) 0%, rgb(7 7 13 / 90%) 100%);
    backdrop-filter: blur(8px);
    font-family: var(--font-body);
    box-shadow: var(--shadow-bottom);
    display: flex;
    flex-direction: column;
}

/* Chronicles box - its own framed container */
#chronicles-box {
    position: relative;
    flex: 1;
    min-height: 0;
    background: linear-gradient(180deg, rgb(7 8 13 / 80%) 0%, rgb(7 7 13 / 90%) 100%);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    padding: var(--space-lg);
    font-family: var(--font-body);
    pointer-events: auto;
    isolation: isolate;
}

#chronicles-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(/assets/parchment-BIko6U1V.avif);
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: -1;
    pointer-events: none;
}

/* At narrow viewports (chat portalled to dock), cap height so it doesn't
   overflow the dock. box-sizing: border-box ensures flex-basis includes padding. */
#chronicles-box.chronicles--mini-capable {
    flex: 0 0 240px;
    box-sizing: border-box;
}
/* When mini-capable AND mini: shrink to content height (just the tab bar). */
#chronicles-box.chronicles--mini-capable.chronicles--mini {
    flex: 0 0 auto;
}

/* Wrapper that holds Horizon + Chronicles - inspect panel anchors here */
#lower-sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    gap: var(--section-gap);
}

/* When an inspect panel is active, expand to overlay Horizon + Chat area only */
#chronicles-box.chronicles-box--inspect-active {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    flex: none;
    overflow-y: auto;
}

/* Nav panel footer - Settings | Logout / Development */
.nav-panel-footer {
    position: absolute;
    bottom: 2.8rem;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.nav-footer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}
.nav-footer-link {
    color: #636363;
    font-family: var(--font-body);
    font-size: var(--font-size-xs);
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
}
.nav-footer-link:hover {
    color: var(--gold);
}
.nav-footer-sep {
    color: #3d3d3d;
    font-family: var(--font-body);
    font-size: var(--font-size-xs);
}

/* Old .cs-* captain summary rules removed - now in char-summary.css */

/* Vertical global navigation panel - sits to the left of #game-sidebar */
#global-nav-panel {
    position: fixed;
    top: var(--hud-top);
    left: var(--panel-gap);
    width: var(--nav-width);
    height: var(--hud-height);
    margin: 0;
    z-index: var(--z-hud);
    background: linear-gradient(180deg, rgb(7 8 13 / 90%) 0%, rgb(7 7 13 / 90%) 100%);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: auto;
    user-select: none;
    isolation: isolate;
}

#global-nav-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(/assets/parchment-BIko6U1V.avif);
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: -1;
    pointer-events: none;
}

/* Header row: icon + title */
.sidebar-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px 13px;
    color: var(--gold);
    font-size: var(--font-size-xl);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}
/* Fade-out gradient separator instead of a hard border */
.sidebar-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
}
.sidebar-header-icon {
    font-size: var(--font-size-2xl);
    line-height: 1;
}

/* ── Chat mini / maxi state ──────────────────────────────────────────── */

#chronicles-mini-bar {
    display: none;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

#chronicles-mini-bar .panel-tabs {
    flex: 1;
    min-width: 0;
    border-bottom: none;
}

#mini-chat-tabs .panel-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
}

#chronicles-box.chronicles--mini {
    flex: 0 0 auto;
    min-height: 40px;
}

#chronicles-box.chronicles--mini #chronicles-mini-bar {
    display: flex;
}

#chronicles-box.chronicles--mini #chronicles-view,
#chronicles-box.chronicles--mini #ship-inspector-view,
#chronicles-box.chronicles--mini #tile-info-panel {
    display: none !important;
}

.chat-header-row {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-right: 38px;
}

.chat-header-row .panel-tabs {
    flex: 1;
    min-width: 0;
}

#chronicles-box.chronicles--mini-capable .chat-header-row {
    padding-right: 72px;
}

/* Anchored to #chronicles-box - outside .panel-view so negative offsets are not clipped */
#chronicles-box > .chat-toggle-btn--anchored {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    margin: -0.8rem 0 0;
    z-index: 3;
}

#chronicles-box.chronicles--mini-capable > #chat-panel-open-btn {
    right: calc(var(--space-lg) + 36px);
}

#chronicles-box.chronicles--mini > #chat-panel-open-btn,
#chronicles-box.chronicles--mini-capable.chronicles--mini > #chat-minimize-btn {
    display: none;
}

.chat-toggle-btn {
    background: none;
    border: 1px solid rgba(197, 160, 89, 0.25);
    color: var(--gold);
    height: 30px;
    width: 30px;
    padding: 5px 10px;
    min-width: 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: var(--font-size-base);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-shrink: 0;
    margin: 0 4px;
    transition:
        background 0.15s,
        border-color 0.15s;
}

#chronicles-mini-bar .panel-tab {
    border-bottom: none;
    margin-bottom: 0;
    padding: 5px 10px;
}

.chat-toggle-btn:hover {
    background: rgba(197, 160, 89, 0.1);
    border-color: rgba(197, 160, 89, 0.4);
}

#chat-minimize-btn {
    display: none;
}

#chronicles-box.chronicles--mini-capable > #chat-minimize-btn {
    display: flex;
}

#lower-sidebar #chronicles-box > #chat-minimize-btn {
    display: none !important;
}

/* Sidebar chat shell - stage + drawer + composer (mirrors chat-panel layout) */
#chronicles-view [data-chat-sidebar-shell] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

#chronicles-view .chat-panel__stage {
    flex: 1;
    min-height: 0;
    min-width: 0;
}

#chronicles-view .chat-panel__composer {
    flex-shrink: 0;
    margin-top: 8px;
}

/* Scrollable message log */
#chronicles-log {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 8px 0px;
    font-family: monospace;
    font-size: var(--font-size-md);
    line-height: 1.8;
    color: #c9d1d9;
    scrollbar-width: thin;
    scrollbar-color: #2a2010 #080b10;
}
#chronicles-log::-webkit-scrollbar {
    width: 4px;
}
#chronicles-log::-webkit-scrollbar-track {
    background: #080b10;
}
#chronicles-log::-webkit-scrollbar-thumb {
    background: #2a2010;
    border-radius: 2px;
}

/* Log entry base */
.log-entry {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.4rem;
    align-items: baseline;
    padding: 3px 0px;
    border-left: 2px solid transparent;
    transition: background 0.1s;
    line-height: 1.4rem;
    font-family: var(--font-body);
}
.log-entry:hover {
    background: rgba(197, 160, 89, 0.05);
    cursor: default;
}
.log-ts {
    color: #4a5568;
    font-size: var(--font-size-xs);
    white-space: nowrap;
    flex-shrink: 0;
}
.log-body {
    min-width: 0;
}

/* Color coding by event type - text only, no left border */
.log-entry.log-level {
    color: #e2c97e;
}
.log-entry.log-level .log-ts {
    color: #7a6030;
}

.log-entry.log-guild {
    color: #c39bd3;
}
.log-entry.log-guild .log-ts {
    color: #5e3570;
}

.log-entry.log-trade {
    color: #76d7c4;
    border-left-color: #1a7a6e;
}
.log-entry.log-trade .log-ts {
    color: #0e6655;
}

/* ── Chat feed message types ────────────────────────────────────────── */
.log-entry.log-player {
    color: var(--text-gold);
}
.log-entry.log-player .log-ts {
    color: #4e422b;
}
.log-entry.log-player .log-author {
    color: rgb(137 125 96);
    font-weight: 600;
    margin-right: 1px;
}
.log-entry.log-player .log-author-name {
    border-bottom: 1px solid #423928;
    padding-bottom: 1px;
}
.log-guild-tag {
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.04em;
}
.log-guild-tag--link {
    cursor: pointer;
}
.log-guild-tag--link:hover {
    color: var(--gold);
}
.log-author--player {
    cursor: pointer;
}
.log-author--player:hover .log-author-name {
    color: var(--gold);
    text-decoration: underline;
}
.log-member-icon {
    width: 14px;
    height: 14px;
    margin-right: 3px;
    vertical-align: -3px;
    object-fit: contain;
    cursor: default;
}
.log-member-icon[data-help-key] {
    cursor: pointer;
}

.log-entry.log-system {
    color: #e2c97e;
    font-style: italic;
}
.log-entry.log-system .log-ts {
    color: #7a6030;
}

.log-entry.log-dev-coord {
    font-style: normal;
}

.log-entry.log-dev-coord .log-body {
    white-space: pre-wrap;
    font-family: 'Gothic A1', monospace;
    font-size: var(--font-size-xs);
    line-height: 1.45;
    color: rgba(226, 201, 126, 0.92);
}

.log-entry.log-activity {
    color: rgb(150 183 200 / 55%);
    /* font-size: 0.92em; */
    font-style: normal;
    line-height: 1.4rem;
}
.log-entry.log-activity .log-ts {
    color: rgb(55 61 65);
}
.log-activity-mark {
    color: #7ca7a6;
    font-size: 0.75em;
    margin-right: 1px;
}
.log-author--activity {
    cursor: pointer;
    border-bottom: 1px solid #423928;
    color: rgb(117 117 117);
    margin-right: 1px;
}
.log-author--activity:hover {
    color: var(--gold) !important;
    text-decoration: underline;
}

.log-entry.log-ambient {
    color: #4a6070;
    border-left-color: transparent;
}
.log-entry.log-ambient .log-ts {
    color: #2e3840;
}
.log-entry.log-ambient .log-author--npc {
    color: #3d5568;
}

/* Combat rows (.log-entry.log-combat) are styled in combat-chat-log.css. */

/* --- Panel system --- */
/* All panel views share the same flex-column layout inside the sidebar */
.panel-view {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
    position: relative;
}

/* ── Close button for full-screen content panels (realm/char/ship) ── */
.panel-main-close {
    position: absolute;
    top: 15px;
    right: 22px;
    width: 28px;
    height: 28px;
    padding: 0;
    box-sizing: border-box;
    border-radius: 50%;
    border: 1px solid var(--ml-gold-soft);
    background: rgba(5, 8, 12, 0.75);
    color: var(--ml-text-muted);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition:
        color 0.12s,
        border-color 0.12s,
        background 0.12s;
    z-index: 4;
}
.panel-main-close img {
    width: 20px;
    height: 20px;
    display: block;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.15s;
}
.panel-main-close:hover {
    border-color: var(--ml-gold);
    background: rgba(5, 8, 12, 0.95);
    color: var(--ml-text);
}
.panel-main-close:hover img {
    opacity: 1;
}

/* ── Close button for panel views ────────────────────────────────── */
.panel-view-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 200;
}

/* ── FV Mini Panel - First Voyage sidebar tracker ────────────────────── */

#fv-mini-panel {
    display: none;
    position: relative;
    flex-shrink: 0;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-lg);
    background: linear-gradient(180deg, rgb(7 8 13 / 85%) 0%, rgb(5 6 10 / 92%) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-bottom);
    isolation: isolate;
}

#fv-mini-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(/assets/parchment-BIko6U1V.avif);
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-md);
    opacity: 0.25;
    z-index: -1;
    pointer-events: none;
}

#fv-mini-panel[data-visible='true'] {
    display: flex;
}

.fv-mini-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 0 2px;
}

.fv-mini-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    color: var(--gold);
    margin: 0 0 1px;
    line-height: 1.2;
}

.fv-mini-desc {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.5;
    margin: -4px 0 0 0;
}

/* ob-meta-row, ob-location, ob-progress-text, ob-progress-bar, ob-progress-fill
   are all inherited from onboarding.css - overrides scoped here */
#fv-mini-panel .ob-meta-row {
    margin-top: 3px;
    margin-bottom: -3px;
}

#fv-mini-panel .ob-progress-bar {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

#fv-mini-panel .ob-progress-fill {
    background: var(--color-wood);
}

#fv-mini-panel .ob-move-label {
    margin-bottom: 0;
    font-size: var(--font-size-xs);
}

#fv-mini-panel .ob-arc-counter {
    font-size: var(--font-size-xs);
}

#fv-mini-panel .ob-location {
    font-size: var(--font-size-xs);
}

#fv-mini-panel .ob-progress-text {
    font-size: var(--font-size-xs);
}

/* ── Mobile tracker pills (all share the same base) ── */
#fv-mobile-pill,
#hdr-act-pill,
#fv-retrofit-pill,
#fv-build-pill {
    display: none;
    position: fixed;
    top: calc(var(--overlay-top, 3.75rem) + 10px);
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-hud);
    flex-direction: column;
    min-width: 70%;
    pointer-events: auto;
    background: rgba(13, 14, 18, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 1.9rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

@media (max-width: 1023px) {
    #fv-mobile-pill[data-visible='true'],
    #hdr-act-pill[data-visible='true'],
    #fv-retrofit-pill[data-visible='true'],
    #fv-build-pill[data-visible='true'] {
        display: flex;
    }
}

.fv-pill-row {
    display: flex;
    align-items: stretch;
    min-height: 3.8rem;
    white-space: nowrap;
}

.fv-pill-step {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 3.5rem;
    padding: 0 0.9rem;
    border-right: 1px solid rgb(39 35 28);
    gap: 0.05rem;
}

/* Switcher chevron - in flex flow, appears directly below the step text */
.fv-pill-switcher {
    background: none;
    border: none;
    padding: 0;
    pointer-events: none; /* parent .fv-pill-step handles the click */
    color: rgba(197, 160, 89, 0.45);
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -3px;
    margin-top: 2px;
}

.fv-pill-switcher[hidden],
.fv-pill-step:not([data-switchable='true']) .fv-pill-switcher {
    display: none !important;
}

.fv-pill-step:hover .fv-pill-switcher {
    color: rgba(197, 160, 89, 0.85);
}

.fv-pill-switcher svg {
    transition: transform 0.2s ease;
}

.fv-pill-switcher[data-open='true'] svg {
    transform: rotate(180deg);
}

.act-pill-skill-icon {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    opacity: 0.85;
    flex-shrink: 0;
}

/* Invisible spacer mirrors the icon width so the text stays centred */
#hdr-act-pill .fv-pill-task {
    gap: 0.5rem;
}

#fv-retrofit-pill .fv-pill-task,
#fv-build-pill .fv-pill-task {
    gap: 0.5rem;
}

#fv-retrofit-pill .context-icon--ship,
#fv-build-pill .context-icon--ship {
    width: 3.2rem;
    height: auto;
    flex-shrink: 0;
    margin-left: -2.2rem;
}

#fv-retrofit-pill .context-icon-ship-img--portrait,
#fv-build-pill .context-icon-ship-img--portrait {
    transform: rotate(90deg);
    width: 100%;
    object-fit: contain;
    display: block;
}
#hdr-act-pill .fv-pill-task::after {
    content: '';
    display: block;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

#fv-pill-step,
#act-pill-skill {
    font-family: var(--font-body);
    font-size: var(--font-size-sm);
    color: rgba(197, 160, 89, 0.6);
    line-height: 1;
}

.fv-pill-step-label {
    font-family: var(--font-body);
    font-size: 0.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(197, 160, 89, 0.35);
    white-space: nowrap;
    line-height: 1;
}

.fv-pill-task {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
    overflow: hidden;
}

.fv-pill-task-inner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    overflow: hidden;
}

#fv-pill-task {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    color: var(--gold);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
}

.fv-pill-count {
    font-family: var(--font-body);
    font-size: var(--font-size-md);
    color: rgba(197, 160, 89, 0.55);
    line-height: 1.2;
}

.fv-pill-chevron {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    padding: 0 0.9rem;
    border-left: 1px solid rgb(39 35 28);
    color: rgba(197, 160, 89, 0.5);
}

.fv-pill-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(197, 160, 89, 0.12);
}

.fv-pill-fill {
    height: 100%;
    width: 100%;
    background: var(--color-wood);
    transform: scaleX(0);
    transform-origin: left center;
}

.fv-pill-chevron svg {
    transition: transform 0.2s ease;
}

#fv-mobile-pill[data-expanded='true'] .fv-pill-chevron svg,
#fv-retrofit-pill[data-expanded='true'] .fv-pill-chevron svg,
#fv-build-pill[data-expanded='true'] .fv-pill-chevron svg {
    transform: rotate(180deg);
}

/* Drawer */
.fv-pill-drawer {
    display: none;
    padding: 2rem;
    border-top: 1px solid rgba(197, 160, 89, 0.25);
}

#fv-mobile-pill[data-expanded='true'] .fv-pill-drawer {
    display: block;
}

#hdr-act-pill[data-expanded='true'] .fv-pill-drawer,
#fv-retrofit-pill[data-expanded='true'] .fv-pill-drawer,
#fv-build-pill[data-expanded='true'] .fv-pill-drawer {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.6rem;
}

.act-pill-skills-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* Override the short-screen 4-card cap from char-summary.css */
#act-pill-skills-grid .pp-skill-card:nth-child(n + 5) {
    display: grid;
}

.act-pill-drawer-actions {
    display: flex;
    gap: 0.4rem;
}

.fv-pill-drawer-label {
    display: block;
    font-family: var(--font-body);
    font-size: var(--font-size-md);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(197, 160, 89, 0.45);
    margin-bottom: 0.2rem;
}

.fv-pill-drawer-label--why {
    margin-top: 0.75rem;
}

.fv-pill-drawer-desc,
.fv-pill-drawer-why {
    font-family: var(--font-body);
    font-size: var(--font-size-md);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
    margin: 0;
    white-space: normal;
}

.fv-pill-drawer-desc {
    margin-bottom: var(--space-md);
}

/* ── Tracker switcher drawer ──
   Inline drawer inside the pill - same expand mechanism as the right-chevron drawer. */
.fv-pill-switcher-drawer {
    display: none;
    border-top: 1px solid rgba(197, 160, 89, 0.25);
}

#hdr-act-pill[data-switcher-open='true'] .fv-pill-switcher-drawer,
#fv-mobile-pill[data-switcher-open='true'] .fv-pill-switcher-drawer,
#fv-retrofit-pill[data-switcher-open='true'] .fv-pill-switcher-drawer,
#fv-build-pill[data-switcher-open='true'] .fv-pill-switcher-drawer {
    display: block;
}

/* Hide the right-chevron drawer while the switcher drawer is open */
#hdr-act-pill[data-switcher-open='true'] .fv-pill-drawer,
#fv-mobile-pill[data-switcher-open='true'] .fv-pill-drawer,
#fv-retrofit-pill[data-switcher-open='true'] .fv-pill-drawer,
#fv-build-pill[data-switcher-open='true'] .fv-pill-drawer {
    display: none;
}

.tsd-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.85rem 1rem;
    background: none;
    border: none;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
    cursor: pointer;
    text-align: left;
}

.tsd-row:first-child {
    border-top: none;
}

.tsd-row:hover {
    background: rgba(197, 160, 89, 0.06);
}

.tsd-row--selected {
    background: rgba(197, 160, 89, 0.04);
}

.tsd-check {
    width: 0.9rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(197, 160, 89, 0.9);
}

.tsd-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    overflow: hidden;
    min-width: 0;
}

.tsd-type {
    font-family: var(--font-body);
    font-size: 0.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(197, 160, 89, 0.45);
    line-height: 1;
}

.tsd-name {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    color: rgba(229, 220, 200, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.tsd-progress {
    flex-shrink: 0;
    font-family: var(--font-body);
    font-size: var(--font-size-md);
    color: rgba(197, 160, 89, 0.6);
}
