/*
Theme Name: Ice Fishing Results
Description: Dark live results theme with live stream, fish filters and editable casino offers.
Version: 1.1.2
Author: Ice Fishing Results
Text Domain: ice-fishing-results
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
*/

:root{color-scheme:dark;--bg:#090f17;--panel:#111c29;--border:#253448;--muted:#91a3b7;--blue:#79d7f3;--lime:#d8f881}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#eff5fb;font:15px/1.6 Arial,sans-serif}a{color:inherit;text-decoration:none}button,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--blue);outline-offset:4px}.wrap{max-width:1280px;margin:auto;padding:0 32px}header{border-bottom:1px solid var(--border);background:#0c141f}header .wrap{display:flex;align-items:center;justify-content:space-between;min-height:92px;gap:30px}.brand{display:flex;align-items:center;gap:16px}.brand img{width:115px;height:72px;object-fit:contain}.brand span{font-size:12px;letter-spacing:3px;font-weight:bold;border-left:1px solid var(--border);padding-left:20px}nav{display:flex;gap:28px;font-size:13px;color:#b3c4d5}nav a:hover{color:var(--blue)}.dot{color:#7de5b1;font-size:11px;letter-spacing:1px}.intro{padding:32px 0 23px;display:flex;justify-content:space-between;align-items:center}h1{font-size:36px;line-height:1.15;letter-spacing:-1.2px;margin:0 0 9px}p{color:var(--muted)}.intro p{margin:0;font-size:14px}.pill{padding:7px 13px;border:1px solid #2c4951;border-radius:30px;background:#12282a;white-space:nowrap}.hero{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px}.screen{border:1px solid var(--border);border-radius:13px;overflow:hidden;background:#000;position:relative}video{width:100%;aspect-ratio:16/9;display:block;object-fit:contain}.screen-label{background:#101b29;padding:10px 17px;display:flex;justify-content:space-between;font-size:11px;letter-spacing:1px;color:#aec0d3}.feature{border:1px solid #375263;border-radius:13px;padding:24px;display:flex;flex-direction:column;align-items:flex-start;background:radial-gradient(ellipse at top right,#234760,transparent 65%),#142231}.eyebrow{font-size:10px;font-weight:bold;letter-spacing:1.9px;color:var(--blue)}.feature img{width:170px;height:75px;object-fit:contain;margin:24px 0}.feature h2{font-size:27px;line-height:1.22;letter-spacing:-.7px;margin:0 0 24px}.cta{display:flex;align-items:center;justify-content:center;background:var(--lime);color:#142014;border-radius:6px;padding:12px 20px;font-size:13px;font-weight:bold}.feature .cta{width:100%;margin-top:auto}.feature select{margin-top:16px;background:#122131;border:1px solid #385065;color:#a9bdd0;border-radius:5px;width:100%;padding:7px;font-size:11px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:32px 0 16px;gap:20px}h2{font-size:24px;letter-spacing:-.6px;margin:0}.section-head p{font-size:12px;margin:3px 0 0}.status{font-size:11px;color:var(--muted)}.latest{display:grid;grid-template-columns:1.2fr 1fr;background:linear-gradient(100deg,#172e40,#111e2d);border:1px solid #365368;border-radius:12px;padding:22px 26px;gap:20px}.catch{display:flex;align-items:center;gap:22px}.catch img{width:105px;height:85px;object-fit:contain}.catch h3{font-size:24px;margin:3px 0}.mult{font-size:36px;line-height:1.1;color:var(--lime);font-weight:bold;margin-left:auto}.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px 25px;align-content:center;border-left:1px solid #304659;padding-left:30px}.stats small{font-size:9px;letter-spacing:1.5px;color:var(--muted);display:block}.stats b{font-size:15px}.fishbar{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:14px}.fish-filter{display:flex;align-items:center;justify-content:center;gap:10px;background:#111c29;border:1px solid var(--border);color:#bbcbd9;padding:10px 6px;border-radius:7px;font-size:12px}.fish-filter img{width:40px;height:35px;object-fit:contain}.fish-filter.active{border-color:var(--blue);background:#183346;color:white}.offers{display:grid;gap:9px}.offer{display:grid;grid-template-columns:145px 1fr 150px;align-items:center;gap:25px;padding:13px 20px;background:#111b28;border:1px solid var(--border);border-radius:8px}.offer img{width:120px;height:43px;object-fit:contain}.offer b{font-size:14px}.offer .cta{padding:9px 14px}.tablebox{border:1px solid var(--border);border-radius:10px;overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-size:10px;letter-spacing:1px;color:var(--muted);background:#142131}th,td{padding:13px 20px;border-bottom:1px solid #223143}td img{width:40px;height:33px;object-fit:contain;vertical-align:middle;margin-right:15px}td:last-child{color:var(--lime);font-weight:bold}tr:last-child td{border-bottom:0}.empty{text-align:center;padding:30px;color:var(--muted)}.editorial{display:grid;grid-template-columns:220px minmax(0,1fr);gap:50px;border-top:1px solid var(--border);margin-top:45px;padding-top:40px}.contents{font-size:12px;align-self:start;position:sticky;top:20px}.contents a{display:block;color:var(--muted);padding:7px 0}.contents b{display:block;margin-bottom:12px;color:#d1e2f0}.ifr-review-section{padding:28px 0;border-bottom:1px solid var(--border)}article p{font-size:14px;line-height:1.85}article h3{font-size:18px;margin-top:28px}article a{color:var(--blue)}article sup{font-size:9px}article figure{margin:25px 0}article figure img{width:100%;height:auto;border-radius:9px}figcaption{font-size:11px;color:var(--muted)}article .ifr-table-wrap{overflow:auto}article th,article td{padding:12px;font-size:12px;min-width:100px}article td:last-child{color:inherit;font-weight:normal}.ifr-bonus-images{display:flex;gap:20px}.ifr-bonus-images figure{flex:1;padding:15px;background:var(--panel);border-radius:8px}.ifr-bonus-images span{display:block;font-size:11px;color:var(--muted)}details{padding:14px 0;border-bottom:1px solid var(--border)}summary{cursor:pointer;font-weight:bold}.ifr-sources{font-size:12px;padding-left:20px}.ifr-sources li{margin-bottom:12px}.ifr-sources span{display:block;color:var(--muted)}footer{margin-top:50px;border-top:1px solid var(--border);padding:25px 0;color:var(--muted);font-size:11px}footer .wrap{display:flex;justify-content:space-between}.mock{font-size:10px;color:#70879c;margin-top:10px} @media(max-width:900px){.hero{grid-template-columns:1fr}.feature{display:grid;grid-template-columns:130px 1fr;gap:15px;align-items:center}.feature img{width:120px;margin:0;grid-row:2}.feature h2{font-size:23px;margin:0}.feature .eyebrow{grid-column:1/-1}.feature select{grid-column:1/-1;margin:0}.feature .cta{grid-column:1/-1}.editorial{grid-template-columns:1fr}.contents{position:static;display:flex;flex-wrap:wrap;gap:10px}.contents b{width:100%}.latest{grid-template-columns:1fr}.stats{border:0;border-top:1px solid #304659;padding:16px 0 0;grid-template-columns:repeat(4,1fr)}}@media(max-width:600px){.wrap{padding:0 16px}header .wrap{flex-wrap:wrap;padding-top:8px;padding-bottom:12px;gap:6px}nav{gap:22px;font-size:11px}.brand img{width:85px;height:55px}.brand span{font-size:10px}h1{font-size:28px}.intro{align-items:flex-start;gap:12px}.intro .pill{font-size:8px}.latest{padding:15px}.catch{gap:10px}.catch img{width:65px}.catch h3{font-size:19px}.mult{font-size:29px}.fishbar{grid-template-columns:repeat(5,1fr);gap:5px}.fish-filter{flex-direction:column;font-size:9px;gap:3px}.fish-filter img{width:34px}.offer{grid-template-columns:80px 1fr;gap:10px;padding:12px}.offer img{width:75px}.offer b{font-size:12px}.offer .cta{grid-column:2;padding:7px;font-size:11px}.stats{grid-template-columns:repeat(2,1fr)}th,td{padding:12px;white-space:nowrap}.section-head h2{font-size:21px}.ifr-bonus-images{display:block}}

.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:10px;top:10px;z-index:999;background:#fff;color:#111;padding:10px}.page-content{min-height:55vh;padding-top:35px}.page-content img{max-width:100%;height:auto}.screen-label{justify-content:flex-start} .feature{min-width:0} .feature h2{overflow-wrap:anywhere}

.history-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:16px}.history-controls label{font-size:12px;color:var(--muted)}.history-controls select,.history-controls button{background:#142131;color:#eff5fb;border:1px solid #385065;border-radius:6px;padding:9px 13px;font-size:12px}.history-controls button:hover{border-color:var(--blue)}#history-count{margin-left:auto;font-size:11px;color:var(--muted)}@media(max-width:600px){#history-count{width:100%;margin-left:0}.history-controls{gap:8px}}

/* Keep grid content within the viewport; wide tables scroll locally. */
html{max-width:100%;overflow-x:clip}
body{width:100%;max-width:100%;overflow-x:clip}
.wrap{width:100%;min-width:0}
.hero>*,.editorial>*,.latest>*,.catch>*,.offer>*,.stats>*,.fishbar>*{min-width:0}
.screen,video,.tablebox,.ifr-table-wrap{width:100%;max-width:100%;min-width:0}
.tablebox,.ifr-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
article,article section,article figure,.page-content article{min-width:0;max-width:100%}
article img,article video,.page-content img{max-width:100%;height:auto}
article p,article a,.ifr-sources li,.offer b,.stats b{overflow-wrap:anywhere}
nav{flex-wrap:wrap;min-width:0;max-width:100%}
.history-controls select{max-width:100%;min-width:0}
@media(max-width:900px){
 .hero,.editorial,.latest{grid-template-columns:minmax(0,1fr)}
 .feature{grid-template-columns:130px minmax(0,1fr)}
 .stats{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:600px){
 .fishbar{grid-template-columns:repeat(5,minmax(0,1fr))}
 .offer{grid-template-columns:80px minmax(0,1fr)}
 .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .catch{flex-wrap:wrap}
 .catch>div{flex:1 1 90px}
 .mult{max-width:100%;overflow-wrap:anywhere}
 .section-head{flex-wrap:wrap;gap:8px}
 .status{overflow-wrap:anywhere}
 .ifr-table-wrap th,.ifr-table-wrap td{white-space:normal}
 footer .wrap{flex-wrap:wrap;gap:10px}
}

/* Safari-compatible document containment, independent of overflow: clip. */
html{width:100%;max-width:100%;overflow-x:hidden}
body{position:relative;width:100%;max-width:100%;overflow-x:hidden}
#ifr-page-shell{position:relative;width:100%;max-width:100%;min-width:0;overflow:hidden}
#ifr-page-shell>header,#ifr-page-shell>main,#ifr-page-shell>footer{max-width:100%;min-width:0}
#ifr-page-shell .wrap{max-width:1280px;width:100%;min-width:0}
/* Hide the skip link without positioning it outside the document. */
.skip-link{position:absolute;left:0;top:0;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}
.skip-link:focus{left:10px;top:10px;width:auto;height:auto;padding:10px;overflow:visible;clip:auto;clip-path:none}
@media(max-width:900px){
 #ifr-page-shell .wrap{max-width:100%}
 #ifr-page-shell .hero,#ifr-page-shell .editorial{display:block}
 #ifr-page-shell .hero>.feature{margin-top:20px}
 #ifr-page-shell .editorial>article{margin-top:25px}
 #ifr-page-shell .hero,#ifr-page-shell .editorial,#ifr-page-shell .latest,#ifr-page-shell section{min-width:0;max-width:100%}
 #ifr-page-shell .tablebox,#ifr-page-shell .ifr-table-wrap{display:block;width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
 #ifr-page-shell .screen video{max-width:100%;width:100%}
}
