/* YakTube Accessibility & On-Demand CSS */ :focus-visible { outline: 3px solid #ff8f37 !important; outline-offset: 3px !important; box-shadow: 0 0 12px rgba(255, 143, 55, 0.7) !important; } /* Screen reader only utility */ .yaktube-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; } /* On-Demand Search Section */ .yaktube-ondemand-section { margin: 24px 0; padding: 20px; background: rgba(22, 22, 30, 0.92); border: 1px solid rgba(255, 143, 55, 0.35); border-radius: 16px; backdrop-filter: blur(10px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); color: #fff; font-family: inherit; } .yaktube-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding-bottom: 12px; } .yaktube-header-left { display: flex; align-items: center; gap: 12px; } .yaktube-badge { background: linear-gradient(135deg, #ff8f37 0%, #ff5e3a 100%); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; } .yaktube-title-h3 { margin: 0; font-size: 1.15rem; font-weight: 600; color: #f1f1f1; } .yaktube-shortcuts-btn { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); color: #ddd; padding: 6px 12px; border-radius: 8px; font-size: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s ease; } .yaktube-shortcuts-btn:hover { background: rgba(255, 143, 55, 0.2); border-color: #ff8f37; color: #fff; } .yaktube-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; } .yaktube-card { background: #12121a; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; } .yaktube-card:hover, .yaktube-card:focus-within { transform: translateY(-4px); border-color: rgba(255, 143, 55, 0.6); box-shadow: 0 10px 22px rgba(255, 143, 55, 0.18); } .yaktube-thumb-wrap { position: relative; width: 100%; padding-top: 56.25%; background: #000; overflow: hidden; } .yaktube-thumb-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; } .yaktube-card:hover .yaktube-thumb-img { transform: scale(1.05); } .yaktube-duration-badge { position: absolute; bottom: 8px; right: 8px; background: rgba(0, 0, 0, 0.85); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.15); } .yaktube-info { padding: 12px; display: flex; flex-direction: column; justify-content: space-between; flex-grow: 1; gap: 10px; } .yaktube-video-name { font-size: 13px; font-weight: 600; line-height: 1.35; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } .yaktube-channel-name { font-size: 11px; color: #aaa; margin-top: 4px; } .yaktube-import-btn { background: linear-gradient(135deg, #ff8f37 0%, #ff6600 100%); border: none; color: #fff; padding: 8px 12px; font-size: 12px; font-weight: 600; border-radius: 8px; cursor: pointer; width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; transition: opacity 0.2s ease, transform 0.1s ease; } .yaktube-import-btn:hover { opacity: 0.92; transform: translateY(-1px); } .yaktube-import-btn:disabled { background: #555; cursor: not-allowed; opacity: 0.6; } /* Modals */ .yaktube-modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; z-index: 99999; } .yaktube-modal-card { background: #181824; border: 1px solid rgba(255, 143, 55, 0.5); border-radius: 16px; padding: 28px 24px; max-width: 460px; width: 90%; text-align: center; box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6); color: #fff; } .yaktube-modal-title { font-size: 1.25rem; font-weight: 700; margin-top: 14px; color: #ff8f37; } .yaktube-modal-desc { font-size: 13px; color: #bbb; margin-top: 8px; line-height: 1.4; } .yaktube-spinner { width: 44px; height: 44px; border: 4px solid rgba(255, 143, 55, 0.2); border-top-color: #ff8f37; border-radius: 50%; animation: yaktube-spin 0.8s linear infinite; margin: 0 auto; } @keyframes yaktube-spin { to { transform: rotate(360deg); } } /* Accessible Shortcuts Table */ .yaktube-shortcuts-table { width: 100%; text-align: left; border-collapse: collapse; margin-top: 16px; font-size: 13px; } .yaktube-shortcuts-table th { border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding: 8px; color: #ff8f37; } .yaktube-shortcuts-table td { border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 8px; color: #ddd; } .yaktube-kbd { background: #2a2a38; border: 1px solid #444; border-radius: 4px; padding: 2px 6px; font-family: monospace; font-weight: bold; color: #ff8f37; } .yaktube-modal-close-btn { background: #ff8f37; color: #111; border: none; padding: 8px 20px; font-weight: 700; border-radius: 8px; cursor: pointer; margin-top: 18px; } .yaktube-play-btn { background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: #fff; padding: 8px 12px; font-size: 12px; font-weight: 700; border-radius: 8px; cursor: pointer; width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; border: none; box-sizing: border-box; transition: opacity 0.2s ease, transform 0.1s ease; } .yaktube-play-btn:hover { opacity: 0.92; transform: translateY(-1px); color: #fff; } /* YakNet SSO Button and Account Header */ .yaknet-login-banner { background: linear-gradient(135deg, rgba(255, 143, 55, 0.15) 0%, rgba(255, 94, 58, 0.15) 100%); border: 1px solid rgba(255, 143, 55, 0.4); border-radius: 12px; padding: 16px; margin-bottom: 20px; text-align: center; } .yaknet-sso-login-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: linear-gradient(135deg, #ff8f37 0%, #ff5e3a 100%); color: #fff !important; font-size: 14px; font-weight: 700; padding: 12px 24px; border-radius: 10px; text-decoration: none; width: 100%; box-sizing: border-box; box-shadow: 0 4px 18px rgba(255, 143, 55, 0.4); transition: transform 0.2s ease, box-shadow 0.2s ease; cursor: pointer; border: none; } .yaknet-sso-login-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255, 143, 55, 0.6); color: #fff !important; } .yaknet-header-widget { display: inline-flex !important; align-items: center !important; position: relative !important; z-index: 9999999 !important; margin-left: 10px; } yaknet-account { display: inline-block !important; position: relative !important; z-index: 9999999 !important; } my-header, .header, .header-right, my-header .header-right, my-header .user-menu, my-header .action-buttons { overflow: visible !important; } .yaktube-admin-login-link { margin-top: 15px; text-align: center; font-size: 12px; color: #888; } .yaktube-admin-login-link a { color: #ff8f37; text-decoration: none; } .yaktube-admin-login-link a:hover { text-decoration: underline; }