html, body { margin: 0; padding: 0; height: 100%; font-family: Arial, sans-serif; background-color: #000; color: white; overflow: hidden; } .top-fixed { position: fixed; top: 0; width: 100%; z-index: 999; background-color: #000; } .iframe-wrapper { width: 100%; background-color: transparent; display: flex; justify-content: center; } .iframe-inner { width: 100%; max-width: 960px; aspect-ratio: 16 / 9; margin: 0 auto; background-color: #000; border: 5px solid white; box-sizing: border-box; position: relative; } iframe { width: 100%; height: 100%; border: none; display: block; } .tab-menu { display: flex; justify-content: center; background-color: #191919; flex-wrap: wrap; } .tab { flex: 1; text-align: center; padding: 10px; cursor: pointer; font-weight: bold; color: #51ffa5; background-color: #191919; position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; border-bottom: 4px solid #3d3d3d; } .tab.active { background-color: #101f11; border-bottom: 4px solid #51ffa5; } .tab svg { width: 24px; height: 24px; fill: #51FFA5; } .content-scroll { position: absolute; top: 0; bottom: 0; width: 100%; overflow-y: auto; background: #000; padding-top: var(--contentTopOffset, 0px); } .tab-content { display: none; box-sizing: border-box; padding: 20px 10px; } .tab-content.active { display: block; } .channel-search { margin-bottom: 15px; text-align: center; } .channel-search input { padding: 8px 12px; width: 90%; max-width: 400px; border: 2px solid #00ff99; border-radius: 8px; background-color: #111; color: white; font-size: 16px; transition: border-color 0.3s ease; } .channel-search input:hover, .channel-search input:focus, .channel-search input:active { border-color: yellow; outline: none; } .channels-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); } .channel-card { background: #1a1a1a; border: 2px solid #00ff99; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: border-color 0.3s; } .channel-card.active, .channel-card:hover { border-color: yellow; } .channel-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background-color: #000; transition: opacity 0.3s ease; } .channel-card .meta { padding: 8px; text-align: center; } .channel-card .meta h4 { margin: 4px 0; font-size: 16px; font-weight: 600; color: white; } .channel-card .meta p { margin: 0; font-size: 13px; color: #00ffff; } .chat-box { width: 100vw; height: calc(100vh - var(--contentTopOffset, 0px)); margin: 0; padding: 0; display: flex; flex-direction: column; } .chat-box iframe { width: 100vw; height: 100%; border: none; display: block; } @media (max-width: 768px) { .channels-grid { grid-template-columns: repeat(3, 1fr); } } @media (min-width: 1024px) { .channels-grid { grid-template-columns: repeat(8, 1fr); } }