.app-shell { min-height: calc(100vh - 82px); display: grid; grid-template-columns: 230px minmax(0, 1fr); width: 100%; } .app-main { min-width: 0; width: 100%; } .app-header { position: sticky; top: 0; z-index: 100; width: 100%; height: 82px; display: flex; align-items: center; gap: 2rem; padding: 0 28px; background: rgba(17, 24, 39, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18); } .brand { flex: 0 0 auto; } .brand-title { font-size: 1.45rem; font-weight: 800; } .brand-subtitle { color: var(--muted); font-size: 0.85rem; margin-top: 2px; } .header-center { flex: 1; display: flex; justify-content: center; min-width: 0; } .header-search-wrapper { position: relative; width: min(500px, 100%); } .header-search { width: 100%; min-height: 42px; background: #020617; color: var(--text); border: 1px solid var(--border); border-radius: 999px; padding: 10px 18px; font: inherit; outline: none; transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease; } .header-search:hover { border-color: #475569; } .header-search:focus { background: #07101f; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), 0 12px 30px rgba(0, 0, 0, 0.22); } .header-search::placeholder { color: var(--muted); } .guide-search-results { position: absolute; top: calc(100% + 10px); left: 0; right: 0; max-height: min(520px, calc(100vh - 120px)); overflow-y: auto; overscroll-behavior: contain; padding: 7px; background: rgba(15, 23, 42, 0.98); backdrop-filter: blur(18px); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45), 0 4px 14px rgba(0, 0, 0, 0.25); z-index: 300; } .guide-search-results[hidden] { display: none; } .guide-search-result { width: 100%; display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; color: var(--text); background: transparent; border: 0; border-radius: 11px; font: inherit; text-align: left; cursor: pointer; transition: background 0.14s ease, transform 0.14s ease; } .guide-search-result:hover, .guide-search-result.is-active { background: rgba(59, 130, 246, 0.16); } .guide-search-result:active { transform: scale(0.992); } .guide-search-result.is-current { background: rgba(34, 197, 94, 0.08); } .guide-search-result.is-current:hover, .guide-search-result.is-current.is-active { background: rgba(34, 197, 94, 0.17); } .guide-search-type-icon { flex: 0 0 auto; width: 24px; padding-top: 1px; font-size: 1rem; line-height: 1.3; text-align: center; } .guide-search-result-content { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 3px; } .guide-search-result-content strong { overflow: hidden; color: var(--text); font-size: 0.95rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; } .guide-search-result-content > span { overflow: hidden; color: var(--muted); font-size: 0.8rem; text-overflow: ellipsis; white-space: nowrap; } .guide-search-result-content .guide-search-subtitle { color: #cbd5e1; font-size: 0.84rem; } .guide-search-channel { border-bottom: 1px solid rgba(51, 65, 85, 0.55); } .guide-search-message { padding: 18px 14px; color: var(--muted); font-size: 0.9rem; text-align: center; } .guide-search-message.is-loading::before { content: ""; display: inline-block; width: 13px; height: 13px; margin-right: 9px; vertical-align: -2px; border: 2px solid rgba(148, 163, 184, 0.35); border-top-color: var(--accent); border-radius: 50%; animation: guide-search-spin 0.7s linear infinite; } .guide-search-message.is-error { color: #fca5a5; } .search-channel-highlight { animation: search-channel-highlight 1.6s ease; } @keyframes guide-search-spin { to { transform: rotate(360deg); } } @keyframes search-channel-highlight { 0%, 100% { box-shadow: none; } 25%, 70% { box-shadow: inset 0 0 0 2px var(--accent), 0 0 24px var(--accent-soft); } } .header-search { width: min(500px, 100%); background: #020617; color: var(--text); border: 1px solid var(--border); border-radius: 999px; padding: 10px 16px; } .header-search:disabled { opacity: 0.65; cursor: not-allowed; } .header-status { display: flex; align-items: center; gap: 1.5rem; color: var(--muted); font-size: 0.9rem; flex: 0 0 auto; } .status-item { display: flex; align-items: center; gap: 0.45rem; white-space: nowrap; } .status-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px rgba(34, 197, 94, 0.9); } .content { padding: 32px; width: 100%; min-width: 0; } .sidebar { position: sticky; top: 80px; height: calc(100vh - 80px); align-self: flex-start; } @media (max-width: 1100px) { .header-status { gap: 0.8rem; } .status-item:first-child { display: none; } } @media (max-width: 900px) { .app-shell { grid-template-columns: 1fr; } .content { padding: 20px; } .app-header { height: auto; min-height: 82px; padding: 14px 20px; flex-wrap: wrap; gap: 1rem; } .header-center { order: 3; flex-basis: 100%; } .header-search-wrapper { width: 100%; } .guide-search-results { max-height: min(430px, calc(100vh - 190px)); } .header-search { width: 100%; } .sidebar { position: static; height: auto; } } @media (max-width: 620px) { .header-status .status-item:first-child, .header-status .status-item:last-child { display: none; } } .guide-search-logo { flex: 0 0 auto; width: 42px; height: 42px; padding: 5px; object-fit: contain; background: rgba(255, 255, 255, 0.94); border-radius: 9px; } .guide-search-heading-row { min-width: 0; display: flex; align-items: center; gap: 8px; } .guide-search-heading-row strong { min-width: 0; flex: 1; } .guide-search-live-badge { flex: 0 0 auto; padding: 2px 6px; color: #fecaca; background: rgba(239, 68, 68, 0.18); border: 1px solid rgba(239, 68, 68, 0.38); border-radius: 999px; font-size: 0.65rem; font-weight: 800; line-height: 1.25; letter-spacing: 0.05em; } .guide-search-channel { background: rgba(59, 130, 246, 0.04); } .guide-search-channel:hover, .guide-search-channel.is-active { background: rgba(59, 130, 246, 0.18); } .search-channel-highlight { position: relative; z-index: 2; animation: search-channel-highlight 1.8s ease; } @keyframes search-channel-highlight { 0%, 100% { background: inherit; box-shadow: none; } 20%, 70% { background: rgba(59, 130, 246, 0.2); box-shadow: inset 0 0 0 2px var(--accent), 0 0 26px rgba(59, 130, 246, 0.35); } } .guide-search-group + .guide-search-group { margin-top: 7px; padding-top: 7px; border-top: 1px solid rgba(51, 65, 85, 0.75); } .guide-search-group-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 11px 6px; color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; } .guide-search-group-count { min-width: 22px; padding: 2px 7px; color: #cbd5e1; background: rgba(51, 65, 85, 0.7); border-radius: 999px; font-size: 0.68rem; line-height: 1.3; text-align: center; } .guide-search-highlight { padding: 0 2px; color: #fef3c7; background: rgba(245, 158, 11, 0.28); border-radius: 4px; font: inherit; font-weight: 800; } .sidebar-nav a { position: relative; } .sidebar-count { min-width: 22px; margin-left: auto; padding: 2px 7px; color: #cbd5e1; background: rgba(51, 65, 85, 0.8); border-radius: 999px; font-size: 0.72rem; line-height: 1.35; text-align: center; } .sidebar-nav a.active .sidebar-count { color: white; background: rgba(255, 255, 255, 0.2); } .watchlist-notifications { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; } .watchlist-notifications strong { display: block; margin-bottom: 5px; } .watchlist-notifications p { margin: 0; color: var(--muted); font-size: 0.88rem; } .watchlist-notifications button { flex: 0 0 auto; padding: 10px 15px; color: white; background: var(--accent); border: 1px solid var(--accent); border-radius: 11px; font-weight: 750; cursor: pointer; } .watchlist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; } .watchlist-card { position: relative; min-width: 0; display: flex; align-items: stretch; background: var(--panel); border: 1px solid var(--border); border-left-width: 5px; border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); overflow: hidden; transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease; } .watchlist-card:hover { background: var(--panel-2); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22); } .watchlist-card-current { border-left-color: #22c55e; } .watchlist-card-soon { border-left-color: #f59e0b; } .watchlist-card-future { border-left-color: #3b82f6; } .watchlist-card-past { border-left-color: #64748b; opacity: 0.72; } .watchlist-card-unknown { border-left-color: var(--border); } .watchlist-card-open { min-width: 0; display: flex; align-items: center; flex: 1; gap: 14px; padding: 16px 46px 16px 16px; color: var(--text); background: transparent; border: 0; font: inherit; text-align: left; cursor: pointer; } .watchlist-logo { flex: 0 0 auto; width: 64px; height: 48px; padding: 5px; object-fit: contain; background: rgba(255, 255, 255, 0.94); border-radius: 10px; } .watchlist-card-body { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 5px; } .watchlist-card-heading { min-width: 0; display: flex; align-items: center; gap: 8px; } .watchlist-card-heading strong { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .watchlist-subtitle, .watchlist-details { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .watchlist-subtitle { color: #cbd5e1; font-size: 0.88rem; } .watchlist-details { color: var(--muted); font-size: 0.8rem; } .watchlist-status { flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; font-size: 0.66rem; font-weight: 800; line-height: 1.25; white-space: nowrap; } .watchlist-status-current { color: #bbf7d0; background: rgba(34, 197, 94, 0.18); border: 1px solid rgba(34, 197, 94, 0.42); } .watchlist-status-soon { color: #fde68a; background: rgba(245, 158, 11, 0.18); border: 1px solid rgba(245, 158, 11, 0.42); } .watchlist-status-future { color: #bfdbfe; background: rgba(59, 130, 246, 0.18); border: 1px solid rgba(59, 130, 246, 0.42); } .watchlist-status-past, .watchlist-status-unknown { color: #cbd5e1; background: rgba(100, 116, 139, 0.18); border: 1px solid rgba(100, 116, 139, 0.42); } .watchlist-remove-button { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; padding: 0; color: var(--muted); background: rgba(15, 23, 42, 0.76); border: 1px solid var(--border); border-radius: 999px; font-size: 1.2rem; line-height: 1; cursor: pointer; } .watchlist-remove-button:hover { color: white; background: rgba(239, 68, 68, 0.75); border-color: rgba(239, 68, 68, 0.85); } @media (max-width: 620px) { .watchlist-notifications { align-items: stretch; flex-direction: column; } .watchlist-notifications button { width: 100%; } .watchlist-grid { grid-template-columns: 1fr; } .watchlist-status { display: none; } } .watchlist-card-body strong, .watchlist-card-body span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .watchlist-card-body strong { font-size: 1rem; }