Spaces:
Running
Running
| /* v2 - Force override broken inline CSS (.fm-league missing } + -wall-img-count bad selector) */ | |
| .featured-match{margin:6px 4px;background:linear-gradient(135deg,#1a2a1f,#0d1117);border:1px solid #2d8659;border-radius:10px;padding:12px;cursor:pointer} | |
| .fm-league{text-align:center;color:#5cb87a;font-size:9px;font-weight:700;text-transform:uppercase;display:block} | |
| .fm-teams{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:6px} | |
| .fm-team{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px} | |
| .fm-team img{width:32px;height:32px;object-fit:contain} | |
| .fm-team span{font-size:10px;color:#ccc;text-align:center} | |
| .fm-score{font-size:22px;font-weight:900;min-width:60px;text-align:center;color:#fff} | |
| .fm-status{text-align:center;margin-top:6px;font-size:9px;color:#e74c3c;font-weight:700} | |
| .fm-status.upcoming{color:#f0c040} | |
| .ai-compose{margin:6px 4px;background:#141414;border:1px solid #2a2a2a;border-radius:10px;padding:10px} | |
| .ai-compose-title{font-size:13px;font-weight:800;color:#5cb87a;margin-bottom:8px} | |
| .ai-compose-row{display:flex;gap:6px;margin-top:6px} | |
| .ai-compose input{flex:1;background:#222;border:1px solid #333;color:#eee;border-radius:18px;padding:9px 12px;font-size:12px;min-width:0} | |
| .ai-compose button{background:#2d8659;border:0;color:#fff;border-radius:18px;padding:9px 12px;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap} | |
| .ai-compose button.secondary{background:#333} | |
| .hot-topic-row{display:flex;gap:6px;overflow-x:auto;padding:4px 0} | |
| .hot-chip{flex:0 0 auto;background:#222;border:1px solid #333;color:#ddd;border-radius:16px;padding:5px 10px;font-size:11px;cursor:pointer;white-space:nowrap} | |
| .hashtag-sources{margin:8px 4px;background:#1a1a1a;border:1px solid #2a2a2a;border-radius:10px;padding:10px} | |
| .hashtag-sources h3{font-size:13px;color:#5cb87a;margin-bottom:8px} | |
| .hashtag-src-item{display:flex;gap:8px;padding:8px;background:#202020;border-radius:8px;margin:6px 0;cursor:pointer} | |
| .hashtag-src-img{flex:0 0 80px;aspect-ratio:16/9;background:#333;border-radius:6px;overflow:hidden} | |
| .hashtag-src-img img{width:100%;height:100%;object-fit:cover} | |
| .hashtag-src-text{flex:1;min-width:0} | |
| .hashtag-src-title{font-size:12px;font-weight:700;color:#eee;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden} | |
| .hashtag-src-via{font-size:10px;color:#888;margin-top:2px} | |
| .hashtag-rewrite-btn{width:100%;margin-top:8px;background:#2d8659;border:0;color:#fff;padding:9px;border-radius:10px;font-size:12px;font-weight:700;cursor:pointer} | |
| .hashtag-load-more{width:100%;margin-top:8px;background:#222;border:1px solid #333;color:#ccc;padding:9px;border-radius:10px;font-size:12px;cursor:pointer} | |
| .hashtag-loading{display:flex;align-items:center;gap:8px;padding:12px;color:#888;font-size:12px} | |
| .hashtag-spinner{width:16px;height:16px;border:2px solid #333;border-top-color:#5cb87a;border-radius:50%;animation:ht-spin .8s linear infinite} | |
| @keyframes ht-spin{to{transform:rotate(360deg)}} | |
| .wall-img-count{position:absolute;bottom:4px;left:4px;background:rgba(0,0,0,.7);color:#fff;font-size:9px;padding:1px 5px;border-radius:4px} | |
| #progress-toast{position:fixed;bottom:70px;left:50%;transform:translateX(-50%);background:#2d8659;color:#fff;padding:10px 20px;border-radius:20px;font-size:12px;z-index:99998;box-shadow:0 4px 12px rgba(0,0,0,.4);display:none;white-space:nowrap} | |
| /* === ARTICLE / REWRITE VIEW FIX === *//* === WORLD CUP 2026 SECTION === */ | |
| .wc-section{margin:8px 4px;background:#1a1a1a;border:1px solid #2a2a2a;border-radius:10px;overflow:hidden} | |
| .wc-header{padding:10px 12px;background:linear-gradient(135deg,#0d1b2b,#1a3a2a 50%,#0b4b8b);display:flex;align-items:center;justify-content:space-between} | |
| .wc-title{font-size:14px;font-weight:800;color:#fff} | |
| .wc-tabs{display:flex;gap:4px;padding:8px 10px;background:#1a1a1a;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid #2a2a2a} | |
| .wc-tabs::-webkit-scrollbar{display:none} | |
| .wc-tab{padding:6px 12px;background:#222;border:1px solid #333;border-radius:12px;color:#999;font-size:10px;white-space:nowrap;cursor:pointer;flex-shrink:0} | |
| .wc-tab.active{background:#0b6bcb;border-color:#0b6bcb;color:#fff;font-weight:700} | |
| .wc-tab-content{padding:10px;max-height:500px;overflow-y:auto} | |
| .wc-news-list{display:flex;flex-direction:column;gap:8px} | |
| .wc-news-item{display:flex;gap:10px;padding:8px;background:#202020;border-radius:8px;cursor:pointer} | |
| .wc-news-item:hover{background:#2a2a2a} | |
| .wc-news-img{flex:0 0 90px;aspect-ratio:16/9;background:#333;border-radius:6px;overflow:hidden} | |
| .wc-news-img img{width:100%;height:100%;object-fit:cover} | |
| .wc-news-text{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between} | |
| .wc-news-title{font-size:12px;font-weight:700;color:#eee;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden} | |
| .wc-news-source{font-size:10px;color:#888;margin-top:4px} | |
| /* World Cup Fixtures */ | |
| .wc-fixtures-list{display:flex;flex-direction:column;gap:6px} | |
| .wc-match-item{padding:10px;background:#202020;border-radius:8px;border-left:3px solid #333} | |
| .wc-match-item:nth-child(odd){background:#1e1e1e} | |
| .wc-match-date{font-size:10px;color:#888;margin-bottom:4px} | |
| .wc-match-teams{display:flex;align-items:center;justify-content:center;gap:12px} | |
| .wc-match-teams .wc-team{flex:1;font-size:12px;color:#ddd;text-align:center} | |
| .wc-match-teams .wc-score{font-size:16px;font-weight:900;color:#f0c040;min-width:60px;text-align:center} | |
| .wc-score.wc-live{color:#e74c3c} | |
| .wc-score.wc-finished{color:#888} | |
| .wc-score.wc-upcoming{color:#5cb87a} | |
| .wc-match-location{font-size:9px;color:#777;text-align:center;margin-top:4px} | |
| /* World Cup Standings & Stats Tables */ | |
| .wc-standings-table,.wc-stats-table{font-size:11px;color:#ccc;overflow-x:auto;width:100%} | |
| .wc-standings-table table,.wc-stats-table table{width:100%;border-collapse:collapse;table-layout:fixed} | |
| .wc-standings-table th,.wc-stats-table th{background:#222;color:#999;padding:6px 4px;font-size:10px;border-bottom:1px solid #333;text-align:center} | |
| .wc-standings-table th:first-child,.wc-stats-table th:first-child{text-align:left!important} | |
| .wc-standings-table td,.wc-stats-table td{padding:5px 4px;border-bottom:1px solid #1a1a1a;text-align:center;font-size:11px} | |
| .wc-standings-table td:first-child,.wc-stats-table td:first-child{text-align:left!important} | |
| .wc-standings-table .pts,.wc-stats-table .pts{font-weight:800;color:#f0c040} | |
| .wc-standings-table .team-name,.wc-stats-table .team-name{display:flex;align-items:center;gap:4px} | |
| .wc-standings-table .team-name img,.wc-stats-table .team-name img{width:16px;height:16px;object-fit:contain} | |
| /* World Cup Highlights */ | |
| .wc-highlights-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}/* World Cup Stats */ | |
| .wc-stats{padding:10px} | |
| .wc-stat-group{margin-bottom:16px;padding:10px;background:#202020;border-radius:8px} | |
| .wc-stat-group h4{font-size:12px;color:#5cb87a;margin-bottom:8px;font-weight:700} | |
| .wc-stat-group .wc-empty{color:#888;font-size:11px;font-style:italic} | |
| .wc-stat-group table{width:100%;border-collapse:collapse} | |
| .wc-stat-group th{background:#2a2a2a;color:#999;padding:6px 4px;font-size:10px;text-align:left!important;border-bottom:1px solid #333} | |
| .wc-stat-group td{padding:5px 4px;border-bottom:1px solid #1a1a1a;font-size:11px;color:#ccc} | |
| /* World Cup Group Standings */ | |
| .wc-group{margin-bottom:16px} | |
| .wc-group h4{font-size:12px;color:#f0c040;margin-bottom:6px;padding:6px 8px;background:#222;border-radius:6px;font-weight:700} | |
| .wc-table{width:100%;border-collapse:collapse;font-size:11px} | |
| .wc-table th{background:#2a2a2a;color:#999;padding:6px 4px;font-size:10px;text-align:center;border-bottom:1px solid #333} | |
| .wc-table th:first-child{text-align:left!important} | |
| .wc-table td{padding:5px 4px;border-bottom:1px solid #1a1a1a;text-align:center;color:#ccc} | |
| .wc-table td:first-child{text-align:left!important;font-weight:600} | |
| .wc-table .pts{font-weight:800;color:#f0c040} | |
| /* World Cup Highlights */ | |
| .wc-highlights-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px} | |
| .wc-hl-item{cursor:pointer} | |
| .wc-hl-thumb{position:relative;aspect-ratio:16/9;background:#333;border-radius:6px;overflow:hidden} | |
| .wc-hl-thumb img{width:100%;height:100%;object-fit:cover} | |
| .wc-hl-thumb .card-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:30px;height:30px;border-radius:50%;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px} | |
| .wc-hl-title{font-size:10px;color:#ccc;margin-top:4px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden} | |
| /* === ARTICLE / REWRITE VIEW FIX === */ | |
| .article-view{padding:12px 8px 40px;max-width:760px;margin:0 auto} | |
| .article-title{font-size:18px;font-weight:800;line-height:1.3;margin-bottom:8px;color:#fff} | |
| .article-p{font-size:14px;line-height:1.7;color:#ccc;margin-bottom:10px} | |
| .article-img{width:100%;border-radius:6px;margin:10px 0} | |
| .article-actions{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid #333;margin-top:16px;padding-top:10px} | |
| .article-actions button{background:#1a1a1a;border:1px solid #333;color:#ccc;padding:7px 12px;border-radius:14px;font-size:11px;cursor:pointer} | |
| .article-actions button.primary{background:#2d8659;border-color:#2d8659;color:#fff} | |
| .badge-ai{background:#2d8659;color:#fff;font-size:8px;padding:1px 5px;border-radius:3px;font-weight:700;display:inline-block} | |
| /* TTS voice selector */ | |
| .tts-selector{margin:12px 0;padding:10px;background:#1a1a1a;border:1px solid #2a2a2a;border-radius:10px;width:100%} | |
| .tts-selector-label{font-size:12px;font-weight:700;color:#5cb87a;margin-bottom:8px} | |
| .tts-voice-groups{display:flex;flex-direction:column;gap:8px;max-height:280px;overflow-y:auto} | |
| .tts-voice-group{background:#1e1e1e;border:1px solid #2a2a2a;border-radius:8px;padding:6px 8px} | |
| .tts-voice-group-label{font-size:10px;font-weight:700;color:#888;margin-bottom:4px;text-transform:uppercase} | |
| .tts-voice-btns{display:flex;gap:6px;flex-wrap:wrap} | |
| .tts-voice-btn{background:#222;border:1px solid #333;color:#ddd;border-radius:12px;padding:6px 10px;font-size:10px;cursor:pointer;white-space:nowrap} | |
| .tts-voice-btn.active{background:#2d8659;border-color:#2d8659;color:#fff;font-weight:700} | |
| .tts-speed-row{display:flex;align-items:center;gap:8px;font-size:12px;color:#aaa;margin-top:10px} | |
| .tts-speed-row select{flex:1;background:#222;border:1px solid #333;color:#eee;border-radius:14px;padding:6px 10px;font-size:11px} | |
| /* Image gallery */ | |
| .article-image-gallery{margin:10px 0} | |
| .article-hero-img{width:100%;border-radius:8px;margin-bottom:6px} | |
| .gallery-thumbs{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px} | |
| .gallery-thumb{flex:0 0 100px;aspect-ratio:16/9;border-radius:6px;overflow:hidden;background:#222;cursor:pointer} | |
| .gallery-thumb img{width:100%;height:100%;object-fit:cover} | |
| /* === BADGE FIX (article AI badge) === */ | |
| .badge{display:inline-block;font-size:8px;padding:1px 5px;border-radius:3px;font-weight:700;vertical-align:middle} | |
| .badge.badge-ai,.badge-ai{background:#2d8659;color:#fff} | |
| /* article-view top spacing so badge+title not clipped */ | |
| .article-view .badge{margin-bottom:6px} | |
| .article-view .tts-selector{width:auto;display:block} | |
| /* ============================================================ | |
| 1:1 ("ratio-square") view for normal horizontal Dan tri / SKDS videos. | |
| Spec: fill 100% of the slide HEIGHT, crop the excess WIDTH (cut left/right). | |
| A YouTube <iframe> ignores object-fit, so instead of letterboxing we size the | |
| iframe to FULL slide height and 16:9 width (177.78vh -> wider than a phone), | |
| center it, and let the slide's overflow:hidden clip the sides. | |
| The #tiktok-feed ancestor raises specificity above app_v2.js's injected | |
| `.tiktok-slide.ratio-square>iframe` rule, so this wins regardless of CSS | |
| load order (not just !important + source order). | |
| ============================================================ */ | |
| #tiktok-feed .tiktok-slide.ratio-square{position:relative;overflow:hidden;display:block;background:#000} | |
| #tiktok-feed .tiktok-slide.ratio-square>iframe, | |
| #tiktok-feed .tiktok-slide.ratio-square>video{ | |
| position:absolute; | |
| top:50%; | |
| left:50%; | |
| transform:translate(-50%,-50%); | |
| height:100%; /* 100% full height */ | |
| width:177.78vh; /* 16/9 of the height -> overflow on the sides */ | |
| min-width:100%; /* never narrower than the screen */ | |
| max-width:none; | |
| max-height:none; | |
| object-fit:cover; /* affects <video>; harmless for <iframe> */ | |
| } | |
| /* Fallback copy at plain specificity too (in case the feed id ever differs) */ | |
| .tiktok-slide.ratio-square{position:relative;overflow:hidden;display:block;background:#000} | |
| .tiktok-slide.ratio-square>iframe, | |
| .tiktok-slide.ratio-square>video{ | |
| position:absolute;top:50%;left:50%; | |
| transform:translate(-50%,-50%); | |
| height:100%;width:177.78vh; | |
| min-width:100%;max-width:none;max-height:none; | |
| object-fit:cover; | |
| } | |