/* ============================================================
   Desktop-Adapted Layout (1024px+)
   Unique three-panel study interface with resizable panels
   ============================================================ */

/* Desktop-specific overrides for the three-panel layout */
.panel-nav {
    width: 260px;
    min-width: 200px;
    max-width: 360px;
    position: relative;
}

/* Resize handle for nav panel */
.panel-nav::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 0;
    bottom: 0;
    width: 6px;
    cursor: col-resize;
    z-index: 10;
}

.panel-nav::after:hover {
    background: var(--accent-bg);
}

/* Center reading panel fills remaining space */
.panel-read {
    flex: 1;
    min-width: 400px;
}

/* Study panel */
.panel-study {
    width: 340px;
    min-width: 280px;
    max-width: 500px;
    position: relative;
}

.panel-study::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    bottom: 0;
    width: 6px;
    cursor: col-resize;
    z-index: 10;
}

/* Nav toggle hidden on desktop */
.nav-toggle {
    display: none;
}

/* Mobile bottom nav hidden */
.mobile-bottom-nav {
    display: none !important;
}

/* Desktop reading experience */
.scripture-content {
    padding: 2.5rem 3rem;
}

/* Desktop comparison view - two columns */
.comparison-translations {
    grid-template-columns: repeat(2, 1fr);
}

/* Keyboard shortcut hints */
.kbd-hint {
    display: inline-block;
    padding: 0.1rem 0.35rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    vertical-align: middle;
    margin-left: 0.5rem;
}

/* Desktop-specific hover effects */
.verse-block {
    border-radius: var(--radius-sm);
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Study panel sections - desktop has more room */
.study-section-body {
    max-height: none;
}

/* Desktop specific: show all panels */
.panel-nav, .panel-study {
    display: flex;
}

/* Floating verse tooltip on desktop */
.verse-tooltip {
    position: fixed;
    max-width: 320px;
    padding: 0.75rem;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
}

.verse-tooltip.visible {
    opacity: 1;
}

.verse-tooltip-ref {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.35rem;
}

.verse-tooltip-text {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-scripture);
}

/* Desktop study section animations */
.study-section-body {
    transition: max-height 0.3s ease-out;
    overflow: hidden;
}

/* Desktop: show top nav tabs */
.top-nav {
    display: flex;
}
