/* Complete UI15 layout pass: constrain previews without changing content or links. */
.index-news-right{min-width:0}
.index-news .index-news-right>a{display:block;min-width:0}
.index-news .hero-headline{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.index-news .index-news-right>a:first-of-type .hero-headline{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;line-height:1.5}
.template-9 .index-news-right>a{font-size:14px;padding:8px 0;line-height:1.5}
.template-9 .index-news-right>a:first-of-type{font-size:21px}
.hero-image-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.5}
.template-14 .news-mosaic .index-news-right>a{display:block;max-height:none;white-space:normal;overflow:visible}
.template-14 .hero-headline{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.template-14 .news-mosaic .index-img-left strong{display:block;max-height:none;padding:25px 10px 8px;bottom:0;left:0;right:0;background:linear-gradient(transparent,#000c)}

/* Sidebar markup is shared with the original data renderers. */
.news-thumb-link{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;align-items:start}
.news-thumb{display:block;width:76px;height:58px;overflow:hidden;border-radius:3px;background:#f2f3f5}
.news-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.news-thumb-info{display:block;min-width:0}
.news-thumb-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px;line-height:1.6;font-weight:400}
.news-thumb-title>strong{display:inline;margin-right:6px;color:var(--accent);font-weight:600}
.news-thumb-meta{display:block;margin-top:5px;font-size:11px;line-height:1.5;color:#777;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar-live-list .sl-header{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:12px;color:#737373}
.sidebar-live-list .sl-teams{margin:8px 0;line-height:1.7;overflow-wrap:anywhere}
.sidebar-live-list .sl-btn{display:inline-block;padding:4px 12px;border:1px solid var(--accent);border-radius:3px;color:#333;background:#fff;font-size:12px}
.sidebar-live-list .sl-btn:hover{background:#f2f3f5;color:#222}

/* Filled controls must retain a visible foreground, including pointer hover. */
.ui15-nav>a:hover{color:inherit;background:#00000012}
.template-1 .ui15-nav>a:hover{color:#fff}
.top-header_nav .ui15-nav>a:hover{color:#fff;background:var(--deep)}
.template-2 .ui15-nav>a:hover{color:#fff;background:#00000024}
.ui15-logo:hover{color:var(--accent)}
:is(.template-1,.template-8,.template-10,.template-11,.template-12,.template-14,.template-15) .ui15-logo:hover{color:#fff}
.template-13 .ui15-logo:hover{color:#ffdf57}
.kiwi-live-channel:hover{color:#fff;background:var(--deep)}
.replay-page .replay-row .replay-watch{background:#fff;border-color:var(--accent);color:#333}
.replay-page .replay-row .replay-watch:hover{background:#f2f3f5;color:#222}
.replay-page .replay-play-links a{background:#fff;border-color:var(--accent);color:#333}
.replay-page .replay-play-links a:hover{background:#f2f3f5;color:#222}
.replay-page .replay-play-icon{color:var(--accent)}
.template-13 .replay-page .replay-play-icon{color:#333}
.template-13 .replay-tabs a.is-active,.template-13 .replay-tabs a.is-active:hover,.template-13 .replay-pagination [aria-current]{color:#222}
.kiwi-day:not([open]) .kiwi-collapse-open{display:none}
.kiwi-day:not([open]) .kiwi-collapse-closed{display:inline}

@media(max-width:800px){
  .template-2 .ui15-head-inner{gap:0}
  .index-news .hero-headline,.template-14 .hero-headline{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;line-height:1.6}
  .index-news .index-news-right>a:first-of-type{font-size:18px}
  .template-14 .news-mosaic .index-img-left strong{padding:15px 6px 8px;font-size:11px}
  .template-14 .news-mosaic .index-img-left .hero-image-title{-webkit-line-clamp:2}
  .template-14 .news-mosaic .index-img-left>a:first-child strong{font-size:14px}
  .template-14 .news-mosaic .index-img-left>a:first-child .hero-image-title{-webkit-line-clamp:3}
  .match-teams,.card-match{align-items:start}
  .match-teams>b{align-self:start;margin-top:5px}
  .card-match>b{align-self:start;margin-top:12px}
  .stacked-cards .tbox>a{height:100%;display:flex;flex-direction:column}
  .stacked-cards .stacked-teams{flex:1}
  .stacked-cards .stacked-team{min-height:38px}
}
