/* ═══════════════════════════════════════════════════════════════════════════
   ON THE GROUND — Side Panel, Full Page, Search, and Modal
   Panel slides from the LEFT (opposite of CWT and Trail Mix).
   Gradient theme: navy (#1a3a6b) → red (#dc1f34).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Gradient reusable value ─────────────────────────────────────────────── */
/* Used on: panel header, tab (in style.css), SEE MORE button, section borders */

/* ── Overlay ─────────────────────────────────────────────────────────────── */
.otg-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.otg-overlay.is-open {
    display: block;
}

/* ── Side Panel — slides from LEFT ───────────────────────────────────────── */
.otg-panel {
    position: fixed;
    top: 0;
    left: -75vw;
    width: 75vw;
    max-width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}

.otg-panel.is-open {
    left: 0;
}

.otg-panel-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Panel Header — gradient background */
.otg-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, #1a3a6b 0%, #dc1f34 100%);
    flex-shrink: 0;
}

.otg-panel-header h3 {
    color: #fff;
    font-size: 50px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.otg-panel-header svg {
    margin-top: 3px;
}

.otg-panel-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.2s;
}

.otg-panel-close:hover {
    opacity: 0.7;
}

/* Panel Scrollable Content */
.otg-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

/* Panel Section */
.otg-panel-section {
    margin-bottom: 32px;
}

.otg-panel-section:last-child {
    margin-bottom: 0;
}

.otg-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 30px;
    font-weight: 700;
    color: #1a3a6b;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

/* Panel Footer — gradient "SEE MORE" button */
.otg-panel-footer {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.otg-see-more {
    display: block;
    text-align: center;
    width: 100%;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1a3a6b 0%, #dc1f34 100%);
    padding: 14px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.otg-see-more:hover {
    opacity: 0.9;
    color: #fff;
}

/* Empty state */
.otg-empty {
    color: #6b7280;
    font-size: 24px;
    padding: 16px 0;
}

/* ── Fan Section — Swiper Coverflow ──────────────────────────────────────── */
.otg-fan-swiper {
    padding: 20px 0 30px;
    overflow: visible;
}

.otg-fan-card {
    width: 200px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.otg-fan-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.otg-fan-card-preview {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.otg-fan-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.otg-fan-card-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f4f8 0%, #fef2f2 100%);
    color: #1a3a6b;
    font-size: 13px;
    font-weight: 600;
}

.otg-fan-card-platform {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #dc1f34;
}

.otg-fan-card-info {
    padding: 10px 12px 12px;
}

.otg-fan-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a3a6b;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.otg-fan-card-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #dc1f34;
}

/* ── Audio Section — rows (mirrors CWT panel media items) ────────────────── */
.otg-media-list {
    display: flex;
    flex-direction: column;
}

.otg-media-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
}

.otg-media-item:last-child {
    border-bottom: none;
}

.otg-media-item--no-thumb {
    grid-template-columns: 1fr;
}

.otg-media-item--no-thumb .otg-media-thumb {
    display: none;
}

.otg-media-thumb {
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 6px;
}

.otg-media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.otg-media-info {
    min-width: 0;
}

.otg-media-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a3a6b;
    margin: 0 0 4px;
}

.otg-media-desc {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 4px;
    line-height: 1.4;
}

.otg-media-platform {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #dc1f34;
}

/* Player — spans full width below thumb and info */
.otg-media-player {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 8px;
    width: 100%;
}

/* ── Video Section — grid in panel ───────────────────────────────────────── */
.otg-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.otg-video-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.otg-video-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.otg-video-card-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.otg-video-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Play button overlay on video thumbnails */
.otg-video-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.2s;
}

.otg-video-card:hover .otg-video-play-icon,
.otg-video-page-card:hover .otg-video-play-icon {
    background: rgba(0, 0, 0, 0.5);
}

.otg-video-card-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    color: #1a3a6b;
    font-size: 11px;
    font-weight: 600;
}

.otg-video-card-info {
    padding: 8px 10px 10px;
}

.otg-video-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a3a6b;
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.otg-video-card-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #dc1f34;
}

/* ── Embed Wrappers ──────────────────────────────────────────────────────── */
.otg-embed-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 4px;
}

.otg-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* TikTok — taller aspect ratio (9:16 vertical) */
.otg-embed-wrapper.otg-embed-tiktok {
    padding-bottom: 177%;
    max-width: 325px;
    margin: 0 auto;
}

/* Instagram — square-ish */
.otg-embed-wrapper.otg-embed-instagram {
    padding-bottom: 120%;
    max-width: 500px;
    margin: 0 auto;
}

/* Twitter — auto height, no fixed aspect ratio */
.otg-embed-wrapper.otg-embed-twitter {
    padding-bottom: 0;
    height: auto;
    overflow: visible;
}

.otg-embed-wrapper.otg-embed-twitter iframe {
    position: static;
    width: 100%;
    height: auto;
}

/* Facebook — fixed height container */
.otg-embed-wrapper.otg-embed-facebook {
    padding-bottom: 0;
    height: 600px;
    max-width: 500px;
    margin: 0 auto;
}

.otg-embed-wrapper.otg-embed-facebook iframe {
    width: 100%;
    height: 100%;
}

.otg-embed-wrapper.otg-embed-spotify {
    padding-bottom: 80px;
}

.otg-embed-wrapper.otg-embed-soundcloud {
    padding-bottom: 120px;
}

.otg-audio-player,
.otg-video-player {
    width: 100%;
}

.otg-fallback-link {
    color: #1a3a6b;
    font-size: 14px;
    font-weight: 600;
}

.otg-no-media {
    font-size: 13px;
    color: #9ca3af;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FULL PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.otg-page {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* ── Search Bar ──────────────────────────────────────────────────────────── */
.otg-search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 48px;
}

.otg-search-input-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.otg-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #1a3a6b;
    width: 20px;
    height: 20px;
}

.otg-search-input {
    width: 100%;
    padding: 12px 15px 12px 46px !important;
    font-size: 14px;
    border: 2px solid #1a3a6b;
    border-radius: 5px;
    outline: none;
    box-sizing: border-box;
    color: #1a3a6b;
    background: #fff;
}

.otg-search-input::placeholder {
    color: #6b7280;
}

/* Focus state — gradient border effect via box-shadow */
.otg-search-input:focus {
    border-color: #dc1f34;
    box-shadow: 0 0 0 1px #dc1f34;
}

/* Search Results Dropdown */
.otg-search-results {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #1a3a6b;
    border-radius: 5px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.otg-search-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
}

.otg-search-card {
    background: rgb(243, 245, 244);
    cursor: pointer;
    position: relative;
    transition: transform 0.2s;
    border-radius: 4px;
    overflow: hidden;
}

.otg-search-card:hover {
    transform: scale(1.02);
}

.otg-search-card-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.otg-search-card-icon {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
}

.otg-search-card-info {
    padding: 10px;
}

.otg-search-card-title {
    font-weight: bold;
    font-size: 13px;
    margin: 0 0 3px;
    color: #333;
}

.otg-search-card-excerpt {
    font-size: 11px;
    color: #666;
    margin: 0 0 3px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.otg-search-card-meta {
    font-size: 11px;
    color: #1a3a6b;
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.otg-search-card-platform-badge {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    background: #dc1f34;
    color: #fff;
    padding: 1px 5px;
    border-radius: 3px;
}

.otg-search-no-results {
    padding: 30px;
    text-align: center;
    color: #666;
}

.otg-archived-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #dc1f34;
    color: white;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 3px;
    z-index: 10;
}

/* ── Full Page Sections ──────────────────────────────────────────────────── */
.otg-full-section {
    margin-bottom: 64px;
}

.otg-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    color: #1a3a6b;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #1a3a6b 0%, #dc1f34 100%) 1;
}

/* ── Full Page Fan — Swiper with nav arrows ──────────────────────────────── */
.otg-fan-swiper-full {
    padding: 30px 0 40px;
    overflow: visible;
    position: relative;
}

.otg-fan-card--full {
    width: 280px;
}

.otg-fan-card--full .otg-fan-card-preview {
    aspect-ratio: 3 / 4;
}

.otg-fan-card--full .otg-fan-card-title {
    font-size: 22px;
}

.otg-fan-card--full .otg-fan-card-badge {
    font-size: 11px;
}

/* Swiper nav arrows */
.otg-fan-nav-prev,
.otg-fan-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a3a6b 0%, #dc1f34 100%);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.otg-fan-nav-prev {
    left: -10px;
}

.otg-fan-nav-next {
    right: -10px;
}

.otg-fan-nav-prev:hover,
.otg-fan-nav-next:hover {
    opacity: 0.85;
}

.otg-fan-nav-prev svg,
.otg-fan-nav-next svg {
    fill: #fff;
}

.otg-fan-nav-prev.swiper-button-disabled,
.otg-fan-nav-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
}

/* ── Full Page Audio Grid ────────────────────────────────────────────────── */
.otg-audio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: start;
}

/* Full page audio card — mirrors CWT .cwt-card pattern */
.otg-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.otg-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.otg-card--no-thumb {
    grid-template-columns: 1fr;
}

.otg-card--no-thumb .otg-card-thumb {
    display: none;
}

.otg-card-thumb {
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 6px;
}

.otg-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.otg-card-info {
    min-width: 0;
}

.otg-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a3a6b;
    margin: 0 0 6px;
}

.otg-card-desc {
    font-size: 18px;
    color: #6b7280;
    margin: 0 0 4px;
    line-height: 1.5;
}

.otg-card-platform {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #dc1f34;
}

.otg-card-player {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 12px;
    width: 100%;
}

/* ── Full Page Video Grid ────────────────────────────────────────────────── */
.otg-video-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.otg-video-page-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.otg-video-page-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.otg-video-page-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.otg-video-page-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.otg-video-page-info {
    padding: 12px 14px 14px;
}

.otg-video-page-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a3a6b;
    margin: 0 0 4px;
}

.otg-video-page-desc {
    font-size: 18px;
    color: #6b7280;
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.otg-video-page-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #dc1f34;
}

/* ── Modal ───────────────────────────────────────────────────────────────── */
.otg-modal-container {
    width: 55%;
    max-height: 80vh;
    position: relative;
    background-color: rgb(243, 245, 244);
    overflow-y: auto;
    animation: otgSlideIn 0.25s linear 1;
    border-radius: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.otg-modal-container::-webkit-scrollbar {
    display: none;
}

@keyframes otgSlideIn {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.otg-modal-exit {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 10px 10px 8px 10px;
    z-index: 100;
    border-radius: 50px;
    background-color: rgb(243, 245, 244);
    border: none;
    cursor: pointer;
}

.otg-modal-exit path {
    fill: #dc1f34;
    transition: fill 0.5s ease;
}

.otg-modal-exit:hover path {
    fill: #1a3a6b;
}

.otg-modal-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.otg-modal-info-container {
    padding: 0 50px 30px;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}

.otg-modal-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.otg-modal-section-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #1a3a6b 0%, #dc1f34 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
}

.otg-modal-platform-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #1a3a6b;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
}

.otg-modal-archived-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #6b7280;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
}

.otg-modal-title {
    font-size: 34px;
    font-weight: 700;
    color: #1a3a6b;
    margin: 0;
}

.otg-modal-desc {
    font-size: 26px;
    color: #444;
    margin: 0;
    line-height: 1.6;
}

.otg-modal-player {
    width: 100%;
}

.otg-modal-video,
.otg-modal-audio {
    width: 100%;
    display: block;
}

.otg-modal-bottom-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border: 5px solid;
    border-image: linear-gradient(90deg, #1a3a6b 0%, #dc1f34 100%) 1;
    padding: 15px;
}

.otg-modal-file-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.otg-modal-filename {
    font-size: 16px;
    font-weight: bold;
    word-break: break-all;
    color: #1a3a6b;
}

.otg-modal-filesize {
    font-size: 14px;
    color: #6b7280;
}

.otg-modal-download-btn {
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-block;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1a3a6b 0%, #dc1f34 100%);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.otg-modal-download-btn:hover {
    opacity: 0.9;
    color: #fff;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
    .otg-video-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .otg-modal-container {
        width: 80%;
    }

    .otg-fan-card--full {
        width: 240px;
    }
}

@media (max-width: 767px) {
    /* Panel goes full width on mobile */
    .otg-panel {
        width: 100vw;
        left: -100vw;
    }

    .otg-panel.is-open {
        left: 0;
    }

    .otg-panel-content {
        padding-bottom: 100px;
    }

    .otg-panel-footer {
        margin-bottom: 100px;
    }

    .otg-panel-header h3 {
        font-size: 30px;
    }

    .otg-panel-header svg {
        width: 30px;
        height: 30px;
    }

    .otg-see-more {
        font-size: 15px;
    }

    .otg-section-title {
        font-size: 22px;
    }

    /* Fan — smaller cards on mobile */
    .otg-fan-card {
        width: 160px;
    }

    .otg-fan-card--full {
        width: 200px;
    }

    /* Video grid — single column on mobile */
    .otg-video-grid {
        grid-template-columns: 1fr;
    }

    .otg-video-page-grid {
        grid-template-columns: 1fr;
    }

    /* Audio grid — single column */
    .otg-audio-grid {
        grid-template-columns: 1fr;
    }

    /* Full page */
    .otg-page {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .otg-section-heading {
        font-size: 22px;
    }

    .otg-search-container {
        max-width: 100%;
    }

    .otg-search-grid {
        grid-template-columns: 1fr;
    }

    /* Modal */
    .otg-modal-container {
        width: 95%;
    }

    .otg-modal-info-container {
        padding: 0 20px 24px;
    }

    .otg-modal-image {
        height: 220px;
    }

    .otg-modal-title {
        font-size: 26px;
    }

    .otg-modal-desc {
        font-size: 18px;
    }

    .otg-modal-bottom-row {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    /* Nav arrows — closer to edges on mobile */
    .otg-fan-nav-prev {
        left: 0;
    }

    .otg-fan-nav-next {
        right: 0;
    }
}

/* iOS Safari safe area — extra bottom padding for the panel */
@supports (-webkit-touch-callout: none) {
    .otg-panel-content {
        padding-bottom: 100px;
    }

    .otg-panel-footer {
        margin-bottom: 150px;
    }
}