/* SCOREBOOK Gatelinke / GnuBoard integrated theme overlay  */
:root{--sb-navy:#073f70;--sb-blue:#1684d5;--sb-light:#f3f7fa;--sb-line:#d9e3eb;--sb-text:#344856;--radius:5px;--shadow:0 5px 18px rgba(0,48,80,.07)}
html.scorebook-active,html.scorebook-active body{min-width:0!important}
.scorebook-old-gnb{display:none!important}
#scorebook-nav-host{min-width:0;flex:1 1 auto;align-self:stretch}
.scorebook-primary-nav{height:100%;display:flex;align-items:center;justify-content:center}
.scorebook-primary-nav ul{height:100%;margin:0;padding:0;display:flex;align-items:center;justify-content:center;list-style:none}
.scorebook-primary-nav li{position:relative;height:100%;display:flex;align-items:center}
.scorebook-primary-nav li+li:before{content:"";width:1px;height:13px;background:#dce2e7}
.scorebook-primary-nav a{height:100%;padding:0 18px;display:flex;align-items:center;color:#1c2e3c;font-size:14px;font-weight:800;letter-spacing:-.55px;text-decoration:none;white-space:nowrap}
.scorebook-primary-nav a:hover,.scorebook-primary-nav a.active{color:var(--sb-blue)}
.scorebook-mobile-open,.scorebook-mobile-close{display:none}
.scorebook-portal[hidden]{display:none!important}
.scorebook-dynamic-content{min-width:0;width:100%;position:relative}
.scorebook-navigating .scorebook-dynamic-content{opacity:.55;pointer-events:none}
.scorebook-dynamic-content{transition:opacity .15s ease}
.scorebook-toast{position:fixed;left:50%;bottom:78px;z-index:100000;max-width:calc(100vw - 30px);padding:9px 14px;transform:translate(-50%,12px);opacity:0;pointer-events:none;background:#073f70;color:#fff;border-radius:3px;box-shadow:0 8px 25px rgba(0,0,0,.22);font-size:12px;transition:.18s ease}
.scorebook-toast.show{opacity:1;transform:translate(-50%,0)}.scorebook-toast.error{background:#a3262f}
.portal-empty{height:70px!important;display:grid!important;place-items:center;color:#8b98a2!important}
.portal-content-loading{opacity:.45;pointer-events:none}
.portal-sports-row a{position:relative;min-width:0;border:0;border-right:1px solid #e2e8ed;background:#fff;color:#8c9ba7;display:grid;place-items:center;align-content:center;gap:2px;text-decoration:none;cursor:pointer}
.portal-sports-row a:last-child{border-right:0}.portal-sports-row a:hover,.portal-sports-row a.active{background:#f6fbff;color:#0a629f}
.portal-sports-row a span{font-size:26px;line-height:1;filter:grayscale(1);opacity:.72}.portal-sports-row a.active span,.portal-sports-row a:hover span{filter:none;opacity:1}
.portal-sports-row a em{position:absolute;top:7px;right:7px;min-width:20px;height:15px;padding:0 4px;display:grid;place-items:center;background:#073f70;color:#fff;font-size:7px;font-style:normal;font-weight:900;border-radius:2px}
.portal-sports-row a b{font-size:7px;font-weight:800;color:inherit;white-space:nowrap}
.portal-page-tabs a{position:relative;min-width:82px;padding:0 15px;display:flex;align-items:center;justify-content:center;background:#fff;color:#496273;font-size:10px;font-weight:800;text-decoration:none;white-space:nowrap}
.portal-page-tabs a.active{background:#073f70;color:#fff}.portal-page-tabs a:not(.active):hover{background:#f3f8fc;color:#0a68a8}

/* Gatelinke classic three-column preservation */
@media(min-width:921px){
  #container,.scorebook-shell{min-width:0!important}
  #frame,.sl-main{min-width:0!important;max-width:none!important}
  #left,.classic-left-rail,.sl-left{flex:0 0 auto}
  #rightAD,.right-ad-rail{flex:0 0 auto}
}

/* Standard GnuBoard membership, login and search */
#mb_login,#fregister,#fregisterform,#find_info,#mb_confirm,#mb_scrap{max-width:760px;margin:0 auto;padding:18px;background:#fff;border:1px solid var(--sb-line);border-top:3px solid var(--sb-navy)}
#mb_login .frm_input,#fregisterform .frm_input,#fregisterform select,#find_info .frm_input{height:42px;border:1px solid #cbd7e0;border-radius:3px;background:#fff;padding:0 12px}
#mb_login .btn_submit,#fregisterform .btn_submit,#fregister .btn_submit,#find_info .btn_submit{min-height:40px;border:0;border-radius:3px;background:var(--sb-navy);color:#fff;font-weight:800}
#fregister .register_agree,#fregisterform .tbl_frm01{border:1px solid #dce5ec;background:#fff}
#fregisterform .tbl_frm01 th{background:#f6f9fb;color:#24445e}

/* Market overlay: keep existing PHP purchase/gift functions, replace visual layer only. */
body.scorebook-market-page #frame,.scorebook-market-wrap{min-width:0}
#scoreline_market,.scoreline-market,.market-wrap,.scorebook-market-wrap{color:var(--sb-text)}
.scoreline-market .market-tabs,.market-category-tabs,#scoreline_market .market-tabs{display:flex;min-height:52px;border:1px solid var(--sb-line);border-top:3px solid var(--sb-navy);background:#fff;overflow-x:auto}
.scoreline-market .market-tabs a,.market-category-tabs a,#scoreline_market .market-tabs a{min-width:86px;padding:0 18px;display:flex;align-items:center;justify-content:center;color:#355369;font-weight:800;text-decoration:none;white-space:nowrap}
.scoreline-market .market-tabs a.active,.market-category-tabs a.active,#scoreline_market .market-tabs a.active{background:var(--sb-navy);color:#fff}
.market-product-list,.market-item-grid,#scoreline_market .market-list{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px!important;margin:18px 0!important}
.market-product-card,.market-item,#scoreline_market .market-list>li{min-width:0;padding:10px!important;border:1px solid #dce3e9!important;border-radius:3px!important;background:#fff!important;box-shadow:none!important;list-style:none}
.market-product-card img,.market-item img,#scoreline_market .market-list>li img{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;border:1px solid #e1e6ea;background:#f9fbfc}
.market-product-card h3,.market-item h3,#scoreline_market .market-list>li h3{margin:9px 0 5px;color:#253f53;font-size:13px;line-height:1.35}
.market-product-card .price,.market-item .price,#scoreline_market .price{color:#e54331;font-size:15px;font-weight:900}
.market-product-card button,.market-product-card .btn,.market-item button,.market-item .btn,#scoreline_market .btn_buy,#scoreline_market .btn_gift{min-height:32px;border:1px solid #0b55b6;border-radius:2px;background:#0b55b6;color:#fff;font-weight:800}
#scoreline_market .btn_gift,.market-product-card .gift,.market-item .gift{background:#fff;color:#0b55b6}

/* Member badges shared by BBS and latest widgets. */
.scorebook-member{min-width:0;display:inline-flex;align-items:center;gap:7px;vertical-align:middle}
.scorebook-member-badge{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;color:#fff;border:2px solid rgba(255,255,255,.65);border-radius:7px;box-shadow:0 2px 5px rgba(0,27,57,.22);font-size:11px;font-weight:900;text-shadow:0 1px 2px rgba(0,0,0,.25)}
.scorebook-member-badge.royal{background:linear-gradient(135deg,#35135d,#8245d4)}.scorebook-member-badge.wave{background:linear-gradient(135deg,#0759a8,#36a6f2)}
.scorebook-member-badge.star{background:linear-gradient(135deg,#760c17,#d52c37)}.scorebook-member-badge.leaf{background:linear-gradient(135deg,#08753e,#34b978)}
.scorebook-member-badge.crystal{background:linear-gradient(135deg,#04306d,#1975d1)}.scorebook-member-badge.sun{background:linear-gradient(135deg,#5b2586,#aa63df)}
.scorebook-member-badge.stripe{background:linear-gradient(135deg,#6d2800,#d57b16)}.scorebook-member-badge.sky{background:linear-gradient(135deg,#1c7496,#61c4df)}
.scorebook-member-copy{min-width:0;display:grid;line-height:1.1}.scorebook-member-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#344957;font-size:11px}.scorebook-member-copy small{margin-top:3px;color:#8f9aa3;font-size:8px}

/* BBS skin shared structure */
.scorebook-bbs,.scorebook-gallery{width:100%;min-width:0;background:#fff;color:#3e505f}
.scorebook-bbs a,.scorebook-gallery a{text-decoration:none}
.scorebook-bbs .sb-board-head,.scorebook-gallery .sb-board-head{min-height:62px;padding:0 18px;display:flex;align-items:center;gap:12px;border:1px solid #dce5ec;border-top:3px solid var(--sb-navy);background:#fff}
.sb-board-head h1{margin:0;color:#113f67;font-size:20px;letter-spacing:-.8px}.sb-board-head p{margin:3px 0 0;color:#8796a1;font-size:10px}.sb-board-actions{margin-left:auto;display:flex;gap:5px}
.sb-btn{min-height:32px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #c9d6df;border-radius:3px;background:#fff;color:#38576d;font-size:11px;font-weight:800}.sb-btn.primary{border-color:var(--sb-navy);background:var(--sb-navy);color:#fff}
.sb-category{margin:10px 0 0;padding:0;display:flex;border:1px solid #dce5ec;background:#f8fafc;overflow-x:auto;list-style:none}.sb-category li{flex:none}.sb-category a{min-width:72px;height:38px;padding:0 14px;display:flex;align-items:center;justify-content:center;color:#536d7e;font-size:11px;font-weight:800}.sb-category #bo_cate_on,.sb-category a:hover{background:var(--sb-navy);color:#fff}
.sb-table-wrap{margin-top:10px;border-top:2px solid var(--sb-navy);border-bottom:1px solid #d9e1e7;overflow-x:auto}.sb-board-table{width:100%;min-width:720px;border-collapse:collapse;table-layout:fixed}.sb-board-table th{height:38px;padding:0 7px;border-bottom:1px solid #dce3e8;background:#f7f9fb;color:#445d70;font-size:10px}.sb-board-table td{height:44px;padding:5px 7px;border-bottom:1px solid #e9edf0;color:#5a6b77;font-size:10px;text-align:center}.sb-board-table tr:hover td{background:#f9fcfe}.sb-board-table .subject{text-align:left}.sb-board-table .subject a{display:flex;align-items:center;gap:4px;min-width:0;color:#314a5c}.sb-board-table .subject .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sb-board-table .comment{color:#f07800;font-weight:900}.sb-board-table .notice{display:inline-grid;place-items:center;min-width:35px;height:18px;background:#e73b45;color:#fff;font-size:8px;font-weight:900}.sb-board-table .writer{text-align:left}
.sb-bottom{padding:12px 0 0;display:flex;align-items:flex-start;gap:12px}.sb-admin-actions{display:flex;gap:4px}.sb-pagination{flex:1;text-align:center}.sb-pagination .pg_page,.sb-pagination .pg_current{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;margin:0 2px;padding:0 6px;border:1px solid #d4dde4;background:#fff;color:#637481}.sb-pagination .pg_current{border-color:var(--sb-navy);background:var(--sb-navy);color:#fff}.sb-search{margin:12px 0 0;padding:12px;display:flex;align-items:center;justify-content:center;border:1px solid #e0e7ec;background:#f8fafb}.sb-search form{display:flex;gap:5px;align-items:center}.sb-search select,.sb-search input{height:32px;border:1px solid #c6d4de;background:#fff;padding:0 9px}.sb-search input{width:220px}.sb-search button{height:32px;padding:0 13px;border:0;background:var(--sb-navy);color:#fff;font-weight:800}
.sb-view{border:1px solid #dce5ec;border-top:3px solid var(--sb-navy);background:#fff}.sb-view-toolbar{min-height:44px;padding:0 14px;display:flex;align-items:center;gap:8px;border-bottom:1px solid #e2e8ed;background:#f8fafc}.sb-view-toolbar .date{color:#85939d;font-size:10px}.sb-view-toolbar .buttons{margin-left:auto;display:flex;gap:4px}.sb-view-head{padding:22px 22px 18px;border-bottom:1px solid #e2e8ed}.sb-view-head h1{margin:0 0 14px;color:#213e54;font-size:22px;line-height:1.35;letter-spacing:-.7px}.sb-view-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.sb-view-meta .stats{margin-left:auto;display:flex;gap:10px;color:#84929c;font-size:9px}.sb-view-files{margin:12px 18px;padding:10px;border:1px solid #e0e6eb;background:#f8fafb}.sb-view-content{min-height:260px;padding:28px 22px 42px;color:#3f505d;font-size:14px;line-height:1.85;word-break:break-word}.sb-view-content img{max-width:100%!important;height:auto!important}.sb-view-content table{max-width:100%}.sb-prev-next{margin:0;border-top:1px solid #e3e8ec;list-style:none}.sb-prev-next li{min-height:42px;padding:0 16px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #e8ecef}.sb-prev-next b{width:48px;color:#5c7282}.sb-comments{margin-top:14px;border:1px solid #dce5ec;border-top:3px solid var(--sb-navy);background:#fff}.sb-comments>h2{margin:0;padding:12px 14px;border-bottom:1px solid #dce5ec;font-size:14px;color:#244760}
.scorebook-bbs #bo_w,.scorebook-gallery #bo_w{padding:18px;border:1px solid #dce5ec;border-top:3px solid var(--sb-navy);background:#fff}.scorebook-bbs #bo_w .frm_input,.scorebook-bbs #bo_w select,.scorebook-gallery #bo_w .frm_input,.scorebook-gallery #bo_w select{height:38px;border:1px solid #c8d4dd;padding:0 10px}.scorebook-bbs #bo_w textarea,.scorebook-gallery #bo_w textarea{width:100%;min-height:280px;border:1px solid #c8d4dd;padding:12px}.scorebook-bbs #bo_w .btn_confirm,.scorebook-gallery #bo_w .btn_confirm{display:flex;justify-content:center;gap:6px;margin-top:16px}

/* Gallery */
.sb-gallery-grid{margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;list-style:none}.sb-gallery-card{min-width:0;border:1px solid #dce4ea;background:#fff}.sb-gallery-thumb{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:#edf3f7}.sb-gallery-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .2s ease}.sb-gallery-card:hover img{transform:scale(1.035)}.sb-gallery-empty{width:100%;height:100%;display:grid;place-items:center;color:#8b9aa5;font-size:28px}.sb-gallery-info{padding:11px}.sb-gallery-info h3{margin:0 0 9px;font-size:13px;line-height:1.45}.sb-gallery-info h3 a{color:#2f4859}.sb-gallery-meta{display:flex;align-items:center;gap:8px}.sb-gallery-meta .scorebook-member-copy small{display:none}.sb-gallery-meta>span:last-child{margin-left:auto;color:#8c99a3;font-size:9px}

/* Existing customer skin fallback receives the same visual system. */
#scoreline_customer_board{max-width:none!important;width:100%!important}.scoreline-customer-list,.scoreline-customer-view{border-top:3px solid var(--sb-navy)}

@media(max-width:1280px){.market-product-list,.market-item-grid,#scoreline_market .market-list{grid-template-columns:repeat(3,minmax(0,1fr))}.scorebook-primary-nav a{padding:0 12px;font-size:13px}}
@media(max-width:920px){
  #scorebook-nav-host{position:fixed;inset:0 auto 0 0;z-index:99999;width:min(84vw,330px);height:100vh;transform:translateX(-105%);transition:.2s ease;background:#fff;box-shadow:10px 0 35px rgba(0,25,55,.24)}
  html.scorebook-nav-opened #scorebook-nav-host{transform:none}html.scorebook-nav-opened:after{content:"";position:fixed;inset:0;z-index:99998;background:rgba(0,20,40,.45)}
  .scorebook-primary-nav{display:block;height:100%;padding:58px 0 20px;overflow-y:auto}.scorebook-primary-nav ul{height:auto;display:block}.scorebook-primary-nav li{height:auto;display:block;border-bottom:1px solid #e7ecef}.scorebook-primary-nav li+li:before{display:none}.scorebook-primary-nav a{height:50px;padding:0 22px;font-size:14px}.scorebook-mobile-close{display:grid;place-items:center;position:absolute;right:12px;top:12px;width:34px;height:34px;border:0;background:#073f70;color:#fff;font-size:22px}
  .scorebook-mobile-open{display:grid;place-items:center;position:fixed;left:10px;bottom:76px;z-index:9990;width:42px;height:42px;border:0;border-radius:50%;background:#073f70;color:#fff;box-shadow:0 5px 18px rgba(0,40,70,.25)}
  .market-product-list,.market-item-grid,#scoreline_market .market-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}
  .sb-board-head{padding:0 12px!important}.sb-board-head h1{font-size:17px}.sb-table-wrap{margin-left:-1px;margin-right:-1px}.sb-board-table{min-width:650px}.sb-bottom{flex-wrap:wrap}.sb-search form{width:100%;flex-wrap:wrap}.sb-search input{min-width:0;flex:1}.sb-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sb-view-head{padding:18px 15px 14px}.sb-view-head h1{font-size:18px}.sb-view-meta .stats{width:100%;margin-left:0}.sb-view-content{padding:22px 15px 32px;font-size:13px}
  .scorebook-member-copy small{display:none}.scorebook-member-badge{width:23px;height:23px;flex-basis:23px;border-radius:6px;font-size:9px}
}
@media(max-width:480px){.market-product-list,.market-item-grid,#scoreline_market .market-list{grid-template-columns:1fr}.sb-gallery-grid{grid-template-columns:1fr}.portal-sports-row a span{font-size:22px}.portal-sports-row a b{display:none}}
/* =========================================================
   GLOBAL CLASSIC INFORMATION HEADER 
   - Replaces every page hero in the same document slot
   - Uses normal flow (not position:fixed) to prevent overlap
   - The optional sticky rule is documented in README
   ========================================================= */
.global-portal-slot{
  width:100%;
  margin:0 0 14px;
  overflow:hidden;
  background:#fff;
  border:1px solid #d9e3eb;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  color:#344856;
}
.portal-news-grid{
  min-height:126px;
  display:grid;
  grid-template-columns:minmax(300px,.88fr) minmax(380px,1.12fr);
  border-bottom:1px solid #dce5ed;
}
.portal-share-board,.portal-community-board{min-width:0;background:#fff}
.portal-share-board{border-right:1px solid #dce5ed}
.portal-board-head{
  height:40px;
  padding:0 14px;
  display:flex;
  align-items:center;
  border-bottom:1px solid #e4eaf0;
  color:#173f68;
  background:#fbfcfd;
}
.portal-board-head strong{font-size:11px;letter-spacing:-.2px;margin-right:auto}
.portal-page-count{font-size:8px;color:#7f8d98;margin-right:10px}
.portal-page-buttons{display:flex;gap:3px}
.portal-page-buttons button{
  width:22px;height:20px;border:1px solid #d5dde4;background:#fff;color:#8a949c;font-size:13px;line-height:1
}
.portal-mini-tabs{
  height:40px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  border-bottom:1px solid #e4eaf0;
  background:#fbfcfd;
}
.portal-mini-tabs button{
  position:relative;
  border:0;
  border-right:1px solid #e9edf1;
  background:transparent;
  color:#72808b;
  font-size:9px;
}
.portal-mini-tabs button:last-child{border-right:0}
.portal-mini-tabs button.active{background:#fff;color:#063e70;font-weight:900}
.portal-mini-tabs button.active:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:#1684d5}
.portal-compact-list{list-style:none;margin:0;padding:7px 13px 8px;display:grid;gap:2px}
.portal-compact-list li{height:15px;display:flex;align-items:center;min-width:0;font-size:8.5px;line-height:1;color:#53626d}
.portal-compact-list li b{flex:none;color:#243b4e;margin-right:5px;font-size:8.5px}
.portal-compact-list li span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.portal-compact-list li em{font-style:normal;color:#ff7b00;margin-left:3px;flex:none}
.portal-sports-row{
  height:66px;
  display:grid;
  grid-template-columns:repeat(9,minmax(72px,1fr));
  border-bottom:3px solid #073f70;
  background:#fff;
  overflow:hidden;
}
.portal-sports-row button{
  position:relative;
  min-width:0;
  border:0;
  border-right:1px solid #e2e8ed;
  background:#fff;
  color:#8c9ba7;
  display:grid;
  place-items:center;
  align-content:center;
  gap:2px;
  cursor:pointer;
}
.portal-sports-row button:last-child{border-right:0}
.portal-sports-row button:hover,.portal-sports-row button.active{background:#f6fbff;color:#0a629f}
.portal-sports-row button span{font-size:26px;line-height:1;filter:grayscale(1);opacity:.72}
.portal-sports-row button.active span,.portal-sports-row button:hover span{filter:none;opacity:1}
.portal-sports-row button em{
  position:absolute;top:7px;right:7px;min-width:20px;height:15px;padding:0 4px;display:grid;place-items:center;
  background:#073f70;color:#fff;font-size:7px;font-style:normal;font-weight:900;border-radius:2px
}
.portal-sports-row button b{font-size:7px;font-weight:800;color:inherit;white-space:nowrap}
.portal-section-nav{
  min-height:64px;
  display:grid;
  grid-template-columns:170px minmax(0,1fr) auto;
  align-items:stretch;
  background:#fff;
}
.portal-section-title{
  position:relative;
  padding:0 18px;
  display:flex;
  align-items:center;
  gap:8px;
  border-right:1px solid #dce4ea;
  color:#073f70;
}
.portal-section-title:after{
  content:"";position:absolute;right:-11px;top:21px;width:20px;height:20px;background:#fff;
  border-top:1px solid #dce4ea;border-right:1px solid #dce4ea;transform:rotate(45deg);z-index:1
}
.portal-section-title .live-dot{position:relative;z-index:2;box-shadow:none;animation:none}
.portal-section-title h1{position:relative;z-index:2;margin:0;font-size:18px;letter-spacing:-.7px}
.portal-page-tabs{min-width:0;padding-left:15px;display:flex;align-items:stretch;overflow-x:auto;scrollbar-width:none}
.portal-page-tabs::-webkit-scrollbar{display:none}
.portal-page-tabs button{
  position:relative;
  min-width:82px;
  padding:0 15px;
  border:0;
  background:#fff;
  color:#496273;
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
}
.portal-page-tabs button.active{background:#073f70;color:#fff}
.portal-page-tabs button:not(.active):hover{background:#f3f8fc;color:#0a68a8}
.portal-section-nav>p{margin:0;padding:0 16px;display:flex;align-items:center;white-space:nowrap;color:#87939c;font-size:8px}
.portal-section-nav>p b,.portal-section-nav>p strong{color:#073f70;font-size:10px;margin:0 2px}
.dark-mode .global-portal-slot,.dark-mode .portal-share-board,.dark-mode .portal-community-board,
.dark-mode .portal-sports-row,.dark-mode .portal-sports-row button,.dark-mode .portal-section-nav,
.dark-mode .portal-section-title,.dark-mode .portal-section-title:after,.dark-mode .portal-page-tabs button{background:#1d2730;color:#d6e0e7}
.dark-mode .portal-board-head,.dark-mode .portal-mini-tabs{background:#202d37}
.dark-mode .global-portal-slot,.dark-mode .portal-news-grid,.dark-mode .portal-share-board,
.dark-mode .portal-board-head,.dark-mode .portal-mini-tabs,.dark-mode .portal-sports-row button,
.dark-mode .portal-section-title,.dark-mode .portal-section-title:after{border-color:#34434e}
@media(max-width:1280px){
  .portal-news-grid{grid-template-columns:minmax(280px,.9fr) minmax(340px,1.1fr)}
  .portal-sports-row{grid-template-columns:repeat(9,minmax(64px,1fr))}
  .portal-section-nav{grid-template-columns:150px minmax(0,1fr) auto}
  .portal-section-title h1{font-size:17px}
  .portal-page-tabs button{min-width:72px;padding:0 11px}
}
@media(max-width:1040px){
  .portal-news-grid{grid-template-columns:1fr}
  .portal-share-board{border-right:0;border-bottom:1px solid #dce5ed}
  .portal-community-board{display:none}
  .portal-sports-row{overflow-x:auto;grid-template-columns:repeat(9,76px);scrollbar-width:none}
  .portal-sports-row::-webkit-scrollbar{display:none}
  .portal-section-nav{grid-template-columns:142px minmax(0,1fr)}
  .portal-section-nav>p{display:none}
}
@media(max-width:920px){
  .global-portal-slot{width:calc(100% - 20px);margin:10px auto 12px;border-radius:8px}
  .portal-news-grid{min-height:112px}
  .portal-board-head{height:36px;padding:0 11px}
  .portal-compact-list{padding:6px 10px 7px}
  .portal-compact-list li{height:14px;font-size:8px}
  .portal-compact-list li b{font-size:8px}
  .portal-sports-row{height:58px;grid-template-columns:repeat(9,68px)}
  .portal-sports-row button span{font-size:22px}
  .portal-sports-row button b{display:none}
  .portal-section-nav{min-height:56px;grid-template-columns:128px minmax(0,1fr)}
  .portal-section-title{padding:0 13px}
  .portal-section-title:after{top:18px;width:18px;height:18px;right:-10px}
  .portal-section-title h1{font-size:16px}
  .portal-page-tabs{padding-left:12px}
  .portal-page-tabs button{min-width:72px;font-size:9px;padding:0 10px}
}
@media(max-width:520px){
  .portal-news-grid{display:none}
  .portal-sports-row{height:54px;border-bottom-width:2px}
  .portal-sports-row button em{top:5px;right:5px}
  .portal-section-nav{grid-template-columns:112px minmax(0,1fr);min-height:52px}
  .portal-section-title{padding:0 10px;gap:6px}
  .portal-section-title h1{font-size:15px}
  .portal-page-tabs{padding-left:10px}
  .portal-page-tabs button{min-width:66px;font-size:8px;padding:0 8px}
}


/* =========================================================
   GLOBAL CLASSIC INFORMATION HEADER 
   - Shared on HOME, LIVE, TALK, PICK, COMMUNITY, RANKING,
     MARKET and SUPPORT pages.
   - Remains in normal document flow to avoid overlap.
   ========================================================= */
.global-portal-slot[data-portal-page] { scroll-margin-top: 12px; }
.global-portal-slot .portal-section-title .portal-title-mark {
  position:relative;z-index:2;width:7px;height:7px;border-radius:50%;
  background:#1684d5;box-shadow:0 0 0 4px rgba(22,132,213,.11);flex:none;
}
.global-portal-slot[data-portal-page="scoretalk"] .portal-title-mark{background:#ef3340;box-shadow:0 0 0 4px rgba(239,51,64,.11)}
.global-portal-slot[data-portal-page="scorepick"] .portal-title-mark{background:#ef6d3f;box-shadow:0 0 0 4px rgba(239,109,63,.12)}
.global-portal-slot[data-portal-page="community"] .portal-title-mark{background:#15a36d;box-shadow:0 0 0 4px rgba(21,163,109,.11)}
.global-portal-slot[data-portal-page="ranking"] .portal-title-mark{background:#d89a00;box-shadow:0 0 0 4px rgba(216,154,0,.12)}
.global-portal-slot[data-portal-page="market"] .portal-title-mark{background:#6b59d3;box-shadow:0 0 0 4px rgba(107,89,211,.12)}
.global-portal-slot[data-portal-page="support"] .portal-title-mark{background:#2b9b7d;box-shadow:0 0 0 4px rgba(43,155,125,.12)}
.global-portal-slot .portal-page-tabs button[data-page]{cursor:pointer}
.global-portal-slot .portal-page-tabs button[data-market-filter]{cursor:pointer}
.page > .global-portal-slot:first-child + .shell,
.page > .global-portal-slot:first-child + .score-ticker-wrap { margin-top:0; }
@media(max-width:520px){
  .global-portal-slot .portal-section-title .portal-title-mark{width:6px;height:6px;box-shadow:0 0 0 3px rgba(22,132,213,.11)}
}


/* Use the shared portal header as the primary page toolbar; keep only detailed filters below. */
body[data-page="live"] .page[data-view="live"] .sports-strip{display:none}
body[data-page="scorepick"] .page[data-view="scorepick"] .pick-controls .tabs-large{display:none}
body[data-page="community"] .page[data-view="community"] .community-nav-tabs{display:none}
body[data-page="ranking"] .page[data-view="ranking"] .rank-tabs{display:none}
body[data-page="market"] .page[data-view="market"] .market-catalog-top{display:none}
body[data-page="market"] .page[data-view="market"] .market-catalog-panel{margin-top:0}

/*  latest/community sizing */
/* SCOREBOOK LATEST POSTS + COMMUNITY HEADER  */
.global-portal-slot .portal-news-grid{
  min-height:184px;
  grid-template-columns:minmax(360px,.94fr) minmax(430px,1.16fr);
  background:#fff;
}
.global-portal-slot .portal-share-board,
.global-portal-slot .portal-community-board{
  min-height:184px;
}
.global-portal-slot .portal-board-head,
.global-portal-slot .portal-community-toolbar{
  height:48px;
  min-height:48px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbfd 100%);
  border-bottom:1px solid #dde6ed;
}
.global-portal-slot .portal-board-head{
  padding:0 16px;
}
.global-portal-slot .portal-board-head strong,
.global-portal-slot .portal-community-toolbar>strong{
  display:flex;
  align-items:center;
  gap:7px;
  color:#113e67;
  font-size:13px;
  font-weight:900;
  letter-spacing:-.3px;
  white-space:nowrap;
}
.global-portal-slot .portal-board-head strong:before,
.global-portal-slot .portal-community-toolbar>strong:before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:#1684d5;
  box-shadow:0 0 0 4px rgba(22,132,213,.10);
  flex:none;
}
.global-portal-slot .portal-page-count{
  min-width:38px;
  margin-right:9px;
  color:#627889;
  font-size:10px;
  font-weight:800;
  text-align:right;
}
.global-portal-slot .portal-page-buttons{
  display:flex;
  gap:5px;
}
.global-portal-slot .portal-page-buttons button{
  width:30px;
  height:28px;
  border:1px solid #cfdbe4;
  border-radius:4px;
  background:#fff;
  color:#657784;
  font-size:17px;
  font-weight:800;
  line-height:1;
  cursor:pointer;
  transition:background .15s ease,color .15s ease,border-color .15s ease,transform .15s ease;
}
.global-portal-slot .portal-page-buttons button:hover,
.global-portal-slot .portal-page-buttons button:focus-visible{
  border-color:#1684d5;
  background:#eef8ff;
  color:#0878c4;
  outline:none;
  transform:translateY(-1px);
}
.global-portal-slot .portal-community-toolbar{
  display:flex;
  align-items:stretch;
}
.global-portal-slot .portal-community-toolbar>strong{
  flex:0 0 128px;
  padding:0 14px;
  border-right:1px solid #e2e9ee;
}
.global-portal-slot .portal-community-toolbar .portal-mini-tabs{
  flex:1 1 auto;
  width:auto;
  height:48px;
  border-bottom:0;
  background:transparent;
}
.global-portal-slot .portal-mini-tabs button{
  min-width:0;
  padding:0 8px;
  color:#617483;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
  transition:background .15s ease,color .15s ease;
}
.global-portal-slot .portal-mini-tabs button:hover,
.global-portal-slot .portal-mini-tabs button:focus-visible{
  background:#f0f8fd;
  color:#0875bb;
  outline:none;
}
.global-portal-slot .portal-mini-tabs button.active{
  background:#fff;
  color:#063e70;
  font-weight:900;
}
.global-portal-slot .portal-mini-tabs button.active:before{
  height:4px;
  background:#1684d5;
}
.global-portal-slot .portal-compact-list{
  min-height:135px;
  margin:0;
  padding:10px 16px 12px;
  display:grid;
  align-content:start;
  gap:5px;
}
.global-portal-slot .portal-compact-list li{
  min-width:0;
  height:21px;
  color:#4e6474;
  font-size:11px;
  line-height:21px;
}
.global-portal-slot .portal-compact-list li b{
  margin-right:7px;
  color:#243e53;
  font-size:11px;
  font-weight:900;
}
.global-portal-slot .portal-compact-list li em{
  margin-left:4px;
  color:#ff7400;
  font-size:10px;
  font-weight:900;
}
.global-portal-slot .portal-feed-link{
  width:100%;
  height:100%;
  min-width:0;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  display:flex;
  align-items:center;
  text-align:left;
  cursor:pointer;
}
.global-portal-slot .portal-feed-link span{
  min-width:0;
  overflow:hidden;
  color:#526776;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.global-portal-slot .portal-feed-link:hover span,
.global-portal-slot .portal-feed-link:focus-visible span{
  color:#066cae;
  text-decoration:underline;
  text-underline-offset:2px;
}
.global-portal-slot .portal-feed-link:focus-visible{
  outline:2px solid rgba(22,132,213,.28);
  outline-offset:2px;
  border-radius:2px;
}
.global-portal-slot .portal-content-swap{
  animation:portalContentSwap .22s ease both;
}
@keyframes portalContentSwap{
  from{opacity:.25;transform:translateY(3px)}
  to{opacity:1;transform:none}
}
.global-portal-slot .portal-photo-grid{
  min-height:135px;
  margin:0;
  padding:10px 12px 12px;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  grid-auto-rows:58px;
  gap:5px;
}
.global-portal-slot .portal-photo-grid li{
  min-width:0;
  overflow:hidden;
  border:1px solid #dce6ed;
  border-radius:5px;
  background:#eef5fa;
}
.global-portal-slot .portal-photo-link{
  position:relative;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  display:block;
  overflow:hidden;
  background:linear-gradient(135deg,hsl(var(--photo-hue) 70% 85%),hsl(calc(var(--photo-hue) + 42) 72% 68%));
  color:#fff;
  cursor:pointer;
}
.global-portal-slot .portal-photo-link:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 30%,rgba(3,25,45,.72) 100%);
}
.global-portal-slot .portal-photo-link i{
  position:absolute;
  inset:7px auto auto 9px;
  font-style:normal;
  font-size:22px;
  filter:drop-shadow(0 2px 3px rgba(0,0,0,.16));
}
.global-portal-slot .portal-photo-link small{
  position:absolute;
  left:7px;
  right:7px;
  bottom:5px;
  overflow:hidden;
  color:#fff;
  font-size:8px;
  font-weight:800;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.global-portal-slot .portal-photo-link:hover:before,
.global-portal-slot .portal-photo-link:focus-visible:before{
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(3,25,45,.82));
}
.global-portal-slot .portal-photo-link:focus-visible{outline:3px solid #1684d5;outline-offset:-3px}
.global-portal-slot .portal-news-grid::-webkit-scrollbar{height:5px}
.global-portal-slot .portal-news-grid::-webkit-scrollbar-thumb{background:#c4d6e3;border-radius:4px}
.global-portal-slot .portal-news-grid::-webkit-scrollbar-track{background:#f2f6f9}
.dark-mode .global-portal-slot .portal-board-head,
.dark-mode .global-portal-slot .portal-community-toolbar{background:#202d37;border-color:#33434f}
.dark-mode .global-portal-slot .portal-community-toolbar>strong{border-color:#33434f;color:#dbeaf4}
.dark-mode .global-portal-slot .portal-feed-link span{color:#c6d3dd}
.dark-mode .global-portal-slot .portal-compact-list li b{color:#e2edf4}
.dark-mode .global-portal-slot .portal-page-buttons button{background:#1b2731;border-color:#40505c;color:#d7e1e8}
.dark-mode .global-portal-slot .portal-mini-tabs button{color:#bcc9d2}
.dark-mode .global-portal-slot .portal-mini-tabs button.active{background:#1d2730;color:#fff}

@media(max-width:1280px){
  .global-portal-slot .portal-news-grid{grid-template-columns:minmax(330px,.92fr) minmax(390px,1.08fr)}
  .global-portal-slot .portal-community-toolbar>strong{flex-basis:118px;padding:0 12px}
}
@media(max-width:1040px){
  .global-portal-slot .portal-news-grid{
    display:flex!important;
    min-height:184px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    overscroll-behavior-inline:contain;
  }
  .global-portal-slot .portal-share-board,
  .global-portal-slot .portal-community-board{
    display:block!important;
    flex:0 0 min(86%,720px);
    min-width:min(86%,720px);
    border-right:1px solid #dce5ed;
    border-bottom:0;
    scroll-snap-align:start;
  }
}
@media(max-width:920px){
  .global-portal-slot .portal-board-head,
  .global-portal-slot .portal-community-toolbar{height:46px;min-height:46px}
  .global-portal-slot .portal-board-head{padding:0 13px}
  .global-portal-slot .portal-board-head strong,
  .global-portal-slot .portal-community-toolbar>strong{font-size:12px}
  .global-portal-slot .portal-community-toolbar .portal-mini-tabs{height:46px}
  .global-portal-slot .portal-mini-tabs button{font-size:10px;padding:0 6px}
  .global-portal-slot .portal-compact-list{min-height:131px;padding:9px 13px 10px;gap:4px}
  .global-portal-slot .portal-compact-list li{height:20px;font-size:10px;line-height:20px}
  .global-portal-slot .portal-compact-list li b{font-size:10px}
}
@media(max-width:600px){
  .global-portal-slot .portal-news-grid{
    display:flex!important;
    min-height:166px;
  }
  .global-portal-slot .portal-share-board,
  .global-portal-slot .portal-community-board{
    display:block!important;
    flex-basis:92%;
    min-width:92%;
    min-height:166px;
  }
  .global-portal-slot .portal-board-head,
  .global-portal-slot .portal-community-toolbar{height:42px;min-height:42px}
  .global-portal-slot .portal-board-head strong,
  .global-portal-slot .portal-community-toolbar>strong{font-size:11px}
  .global-portal-slot .portal-community-toolbar>strong{display:none}
  .global-portal-slot .portal-community-toolbar .portal-mini-tabs{height:42px;width:100%}
  .global-portal-slot .portal-mini-tabs button{font-size:9px;padding:0 4px}
  .global-portal-slot .portal-page-buttons button{width:27px;height:25px;font-size:15px}
  .global-portal-slot .portal-page-count{font-size:9px;margin-right:6px}
  .global-portal-slot .portal-compact-list{min-height:123px;padding:8px 10px 9px;gap:3px}
  .global-portal-slot .portal-compact-list li{height:19px;font-size:9.5px;line-height:19px}
  .global-portal-slot .portal-compact-list li b{font-size:9.5px;margin-right:5px}
  .global-portal-slot .portal-compact-list li:nth-child(n+5){display:none}
  .global-portal-slot .portal-photo-grid{min-height:123px;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:51px;padding:8px;gap:4px}
  .global-portal-slot .portal-photo-grid li:nth-child(n+9){display:none}
}

/*  classic chat */
/* SCOREBOOK classic sports chat  */
.classic-sports-chat{
  border:1px solid #c7d4df!important;
  border-top:3px solid #063f73!important;
  border-radius:0!important;
  background:#fff;
  box-shadow:none!important;
  overflow:hidden;
}
.classic-chat-titlebar{
  height:37px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 92px;
  align-items:stretch;
  border-bottom:1px solid #d9e1e8;
  background:#fff;
}
.classic-chat-titlebar button{
  position:relative;
  border:0;
  background:#fff;
  color:#7e8891;
  font-size:11px;
  font-weight:800;
  letter-spacing:-.25px;
}
.classic-chat-titlebar button:first-child{font-size:12px;color:#123c64}
.classic-chat-titlebar button.active{color:#073f70}
.classic-chat-titlebar button.active:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-1px;
  height:2px;
  background:#063f73;
}
.classic-chat-toolbar{
  height:31px;
  padding:0 7px 0 9px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #d9e1e7;
  background:#fff;
}
.classic-chat-online{display:flex;align-items:center;gap:4px;color:#075b9c;white-space:nowrap}
.classic-chat-online>span{font-size:11px;color:#063f73;transform:scaleX(.78)}
.classic-chat-online strong{font-size:11px;letter-spacing:.2px}
.classic-chat-online em{font-style:normal;font-size:9px;font-weight:800}
.classic-chat-tools{display:flex;align-items:center;gap:2px}
.classic-chat-tools button{
  width:18px;height:19px;padding:0;
  display:grid;place-items:center;
  border:0;background:transparent;
  color:#164d79;font-size:11px;font-weight:900;
  border-radius:2px;
}
.classic-chat-tools button:hover{background:#edf5fb;color:#0068ad}
.classic-chat-tools .heart{color:#ec1f2d;font-size:13px}
.classic-chat-alert{
  min-height:29px;
  padding:6px 8px;
  display:flex;align-items:center;
  background:#003e73;
  color:#fff;
  font-size:10px;
  font-weight:800;
  letter-spacing:-.2px;
  line-height:1.25;
}
.classic-sports-chat .classic-chat-view{display:block}
.classic-sports-chat .classic-chat-view[hidden]{display:none!important}
.classic-sports-chat .classic-chat-log{
  height:356px;
  padding:7px 7px 8px;
  overflow-y:auto;
  background:#fff;
  scrollbar-width:thin;
  scrollbar-color:#9a9a9a #f0f0f0;
}
.classic-sports-chat .classic-chat-log::-webkit-scrollbar{width:9px}
.classic-sports-chat .classic-chat-log::-webkit-scrollbar-track{background:#f3f3f3}
.classic-sports-chat .classic-chat-log::-webkit-scrollbar-thumb{background:#989898;border-radius:5px;border:2px solid #f3f3f3}
.classic-sports-chat .classic-chat-log article{
  display:flex;
  align-items:flex-start;
  gap:4px;
  padding:2px 0;
  margin:0;
  border:0;
  background:transparent;
  line-height:1.42;
}
.classic-sports-chat .classic-chat-log article.mine{flex-direction:row-reverse;background:#f3f9fe;padding:3px 4px;margin:1px -2px}
.classic-sports-chat .classic-chat-log article>div{min-width:0;display:block;flex:1;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;max-width:none!important}
.classic-sports-chat .classic-chat-log .avatar{
  flex:0 0 18px;
  width:18px;height:18px;
  margin:0;
  border-radius:2px;
  font-size:7px;
  line-height:18px;
  box-shadow:none;
}
.classic-sports-chat .classic-chat-log b,
.classic-sports-chat .classic-chat-log p{
  display:inline;
  font-size:10.5px;
  line-height:1.42;
  letter-spacing:-.2px;
}
.classic-sports-chat .classic-chat-log b{color:#152f46;margin-right:3px;font-weight:800}
.classic-sports-chat .classic-chat-log b:after{content:":";margin-left:1px}
.classic-sports-chat .classic-chat-log b em{display:none}
.classic-sports-chat .classic-chat-log p{color:#1c2832;margin:0;word-break:break-all}
.classic-sports-chat .classic-chat-log time{display:none}
.classic-chat-compose{
  height:42px;
  padding:5px 5px 5px 8px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 34px!important;
  gap:4px!important;
  align-items:center;
  border-top:1px solid #d5dee5!important;
  background:#fff!important;
}
.classic-chat-compose .chat-emoji{display:none!important}
.classic-chat-compose input{
  width:100%;height:31px!important;
  padding:0 7px!important;
  border:0!important;
  border-radius:0!important;
  background:#fff;
  color:#263746;
  font-size:10px!important;
  outline:0;
}
.classic-chat-compose input::placeholder{color:#a1a8ad}
.classic-chat-compose .chat-send{
  width:34px;height:31px!important;
  border:0!important;
  border-radius:0!important;
  background:#003e73!important;
  color:#fff!important;
  font-size:18px!important;
  font-weight:900!important;
  line-height:1;
}
.classic-chat-compose .chat-send:hover{background:#00518f!important}
.classic-chat-rules{min-height:427px;background:#fff}
.classic-chat-rules ol{margin:0;padding:14px 14px 9px 29px;color:#334554;font-size:10px;line-height:1.7}
.classic-chat-rules li{margin-bottom:7px}
.classic-chat-rules li b{color:#063f73}
.classic-chat-full{display:block;width:calc(100% - 24px);height:34px;margin:6px 12px 14px;border:1px solid #063f73;background:#fff;color:#063f73;font-size:10px;font-weight:800}
.classic-chat-full:hover{background:#063f73;color:#fff}

/* Floating chat keeps the same functions but uses the classic visual language. */
.global-chat-launch{border-radius:2px!important;background:#063f73!important;box-shadow:0 5px 15px rgba(0,40,76,.22)!important}
.global-chat-dock{border-radius:2px!important;border-color:#9fb2c1!important;box-shadow:0 12px 34px rgba(0,36,68,.24)!important;grid-template-rows:44px 34px 29px 1fr 46px!important}
.chat-dock-head{background:#063f73!important}
.chat-dock-head button{border-radius:2px!important}
.chat-dock-room{background:#fff!important;padding:0!important}
.chat-dock-room button{border-right:1px solid #dce4ea!important}
.chat-dock-room button.active:after{left:0!important;right:0!important;background:#063f73!important}
.chat-dock-notice{background:#003e73!important;color:#fff!important;border:0!important;padding:7px 10px!important}
.chat-dock-notice b{color:#ffd04d!important}
.chat-dock-messages{background:#fff!important;padding:8px 10px!important}
.chat-dock-messages article{margin:0!important;padding:3px 0!important;gap:5px!important;border-bottom:0!important}
.chat-dock-messages article>div{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;max-width:none!important;flex:1}
.chat-dock-messages article b,.chat-dock-messages article p{display:inline;font-size:10px!important}
.chat-dock-messages article b:after{content:":"}
.chat-dock-messages article time{display:none!important}
.chat-dock-compose{grid-template-columns:minmax(0,1fr) 42px!important;gap:4px!important;padding:6px!important}
.chat-dock-compose .chat-emoji{display:none!important}
.chat-dock-compose input,.chat-dock-compose button{border-radius:0!important;height:33px!important}

/* Dedicated ScoreTalk chat also receives square classic details without changing its layout. */
.page[data-view="scoretalk"] .rooms-panel,
.page[data-view="scoretalk"] .chat-panel,
.page[data-view="scoretalk"] .talk-side>.panel{border-radius:0!important;box-shadow:none!important}
.page[data-view="scoretalk"] .chat-head{border-top:3px solid #063f73;background:#fff}
.page[data-view="scoretalk"] .chat-messages{background:#fff}
.page[data-view="scoretalk"] .chat-messages article>div{border-radius:0!important;box-shadow:none!important}
.page[data-view="scoretalk"] .chat-input input,
.page[data-view="scoretalk"] .chat-input button{border-radius:0!important}

.dark-mode .classic-sports-chat,.dark-mode .classic-chat-titlebar,.dark-mode .classic-chat-titlebar button,.dark-mode .classic-chat-toolbar,.dark-mode .classic-chat-compose,.dark-mode .classic-chat-rules{background:#17242e!important;color:#dce8f1}
.dark-mode .classic-sports-chat .classic-chat-log{background:#111b23}
.dark-mode .classic-sports-chat .classic-chat-log b,.dark-mode .classic-sports-chat .classic-chat-log p{color:#d7e4ed}
.dark-mode .classic-chat-titlebar,.dark-mode .classic-chat-toolbar,.dark-mode .classic-chat-compose{border-color:#344552!important}

@media (min-width:1281px){.classic-left-rail .classic-sports-chat .classic-chat-log{height:356px}}
@media (min-width:921px) and (max-width:1280px){
  .classic-left-rail .classic-sports-chat .classic-chat-log{height:330px}
  .classic-chat-tools button{width:17px}
  .classic-sports-chat .classic-chat-log b,.classic-sports-chat .classic-chat-log p{font-size:10px}
}
@media (max-width:920px){
  .global-chat-dock{border-radius:2px!important}
  .chat-dock-messages article b,.chat-dock-messages article p{font-size:10px!important}
}

/*  final overrides */
.scorebook-portal{border-radius:3px!important;box-shadow:none!important;margin-bottom:14px!important}
.scorebook-portal .portal-mini-tabs button{font-family:inherit}
.scorebook-chat-host{margin:10px 0 14px}.scorebook-chat .classic-chat-log b,.scorebook-chat .classic-chat-log p{font-size:calc(10.5px + var(--scorebook-chat-adjust,0px))}
.scorebook-chat .avatar{display:grid;place-items:center;background:#334f7a;color:#fff}
.scorebook-chat .classic-chat-log:empty:before{content:"아직 등록된 메시지가 없습니다.";display:grid;place-items:center;height:100%;color:#9aa6af;font-size:10px}
.scorebook-portal .portal-community-toolbar>strong{display:flex}
@media(max-width:600px){.scorebook-portal .portal-community-toolbar>strong{display:none}.scorebook-portal .portal-news-grid{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory}.scorebook-portal .portal-share-board,.scorebook-portal .portal-community-board{display:block!important;flex-basis:92%;min-width:92%;scroll-snap-align:start}}

/* Standard comment/write form compatibility inherited from Gatelinke customer skin. */
.scorebook-bbs #bo_vc,.scorebook-gallery #bo_vc{padding:10px 14px}.scorebook-bbs #bo_vc_empty,.scorebook-gallery #bo_vc_empty{padding:28px;text-align:center;color:#9aa5ad}
.scorebook-bbs .view_comment_cont,.scorebook-gallery .view_comment_cont{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid #e7ecef}.scorebook-bbs .writer_photo,.scorebook-gallery .writer_photo{flex:0 0 34px}.scorebook-bbs .writer_photo img,.scorebook-gallery .writer_photo img{width:34px!important;height:34px!important;object-fit:cover;border-radius:50%}.scorebook-bbs .comment_body,.scorebook-gallery .comment_body{min-width:0;flex:1}.scorebook-bbs .comment_writer,.scorebook-gallery .comment_writer{color:#29465a;font-size:11px;font-weight:800}.scorebook-bbs .bo_vc_hdinfo,.scorebook-gallery .bo_vc_hdinfo{margin-left:6px;color:#929fa8;font-size:9px;font-weight:400}.scorebook-bbs .comment_body p,.scorebook-gallery .comment_body p{margin:7px 0;color:#4b5d69;font-size:12px;line-height:1.65}.scorebook-bbs .comment_links,.scorebook-gallery .comment_links{display:flex;gap:8px}.scorebook-bbs .comment_links a,.scorebook-gallery .comment_links a{color:#667b8b;font-size:9px}
.scorebook-bbs #bo_vc_w,.scorebook-gallery #bo_vc_w{margin:10px 14px 14px;border:1px solid #d8e1e8;background:#f7f9fb}.scorebook-bbs .bo_vc_t,.scorebook-gallery .bo_vc_t{padding:8px 10px;border-bottom:1px solid #d8e1e8}.scorebook-bbs .bo_vc_table,.scorebook-gallery .bo_vc_table{display:flex}.scorebook-bbs .bo_vc_tar,.scorebook-gallery .bo_vc_tar{min-width:0;flex:1}.scorebook-bbs .bo_vc_tar textarea,.scorebook-gallery .bo_vc_tar textarea{width:100%;min-height:90px;border:0;padding:10px;resize:vertical}.scorebook-bbs .btn_com_submit,.scorebook-gallery .btn_com_submit{width:74px}.scorebook-bbs .btn_com_submit input,.scorebook-gallery .btn_com_submit input{width:100%;height:100%;min-height:90px;border:0;background:#0b55b6;color:#fff;font-weight:800}
.scorebook-bbs #bo_w .write_div,.scorebook-gallery #bo_w .write_div{margin-bottom:9px}.scorebook-bbs #bo_w .full_input,.scorebook-gallery #bo_w .full_input{width:100%}.scorebook-bbs #bo_w .half_input,.scorebook-gallery #bo_w .half_input{width:49%}.scorebook-bbs #bo_w .bo_w_info,.scorebook-gallery #bo_w .bo_w_info{display:flex;gap:8px}.scorebook-bbs #bo_w .bo_w_link input,.scorebook-gallery #bo_w .bo_w_link input{width:100%}.scorebook-bbs #bo_w .bo_w_flie,.scorebook-gallery #bo_w .bo_w_flie{padding:8px;border:1px solid #dde4e9;background:#fafbfc}.scorebook-bbs #bo_w .btn_submit,.scorebook-gallery #bo_w .btn_submit,.scorebook-bbs #bo_w .btn_cancel,.scorebook-gallery #bo_w .btn_cancel{min-width:88px;height:38px;border:1px solid #073f70;background:#073f70;color:#fff;font-weight:800}.scorebook-bbs #bo_w .btn_cancel,.scorebook-gallery #bo_w .btn_cancel{border-color:#cbd5dd;background:#fff;color:#516675}

/* Gatelinke Scoreline desktop header geometry. */
@media(min-width:921px){
  #header_in #scorebook-nav-host{float:left;width:854px;max-width:calc(100% - 340px);height:88px}
  #header_in .scorebook-primary-nav{height:88px}
}

/* Fallback market forms (only installed when Gatelinke market does not exist). */
.sb-market-placeholder{display:grid;width:100%;aspect-ratio:1/1;place-items:center;border:1px solid #e1e6ea;background:linear-gradient(145deg,#edf6fc,#fff);font-size:54px}.market-product-card small{display:block;margin-top:7px;color:#1679ba;font-size:9px;font-weight:800}.market-product-card>p{min-height:38px;margin:5px 0;color:#7a8790;font-size:10px;line-height:1.4}.market-product-card>em{display:block;margin-top:4px;color:#1679ba;font-size:9px;font-style:normal}.market-actions{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:10px}.market-actions .btn{display:flex;align-items:center;justify-content:center;text-decoration:none}
.sb-market-form,.sb-market-history,.sb-market-admin{max-width:820px;margin:0 auto;padding:22px;border:1px solid #dce5ec;border-top:3px solid #073f70;background:#fff}.sb-market-form h1,.sb-market-history h1,.sb-market-admin h1{margin:0 0 18px;color:#123f67;font-size:21px}.sb-market-summary{padding:14px;display:flex;align-items:center;border:1px solid #dce5ec;background:#f7fafc}.sb-market-summary span{margin-left:auto;color:#e54331;font-size:17px;font-weight:900}.sb-market-form form,.sb-market-admin form{margin-top:15px;display:grid;gap:10px}.sb-market-form label,.sb-market-admin label{display:grid;gap:5px;color:#4e6372;font-size:11px;font-weight:800}.sb-market-form input,.sb-market-form textarea,.sb-market-admin input,.sb-market-admin textarea,.sb-market-admin select{width:100%;min-height:38px;border:1px solid #c8d5de;padding:8px}.sb-market-form textarea,.sb-market-admin textarea{min-height:90px}.sb-market-form form>div{display:flex;justify-content:flex-end;gap:6px}.sb-market-history nav{display:flex;border:1px solid #dce5ec}.sb-market-history nav a{flex:1;height:42px;display:grid;place-items:center;color:#4d6678;text-decoration:none;font-weight:800}.sb-market-history nav a.active{background:#073f70;color:#fff}.sb-market-order-list article{padding:13px 8px;display:grid;grid-template-columns:minmax(0,1fr) 50px 100px;gap:8px;border-bottom:1px solid #e4e9ed}.sb-market-order-list article small{grid-column:1/-1;color:#8d99a2}.sb-market-order-list article em{color:#e54331;font-style:normal;font-weight:900}.sb-market-admin table{width:100%;margin-top:18px;border-collapse:collapse}.sb-market-admin th,.sb-market-admin td{height:38px;padding:5px;border-bottom:1px solid #e1e7eb;text-align:left}
.global-portal-slot .portal-photo-link img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.global-portal-slot .portal-photo-link img+small{z-index:1}

/* =========================================================
   SCOREBOOK full visual shell
   Modern SCOREBOOK visual language with the existing classic
   Gatelinke three-column information layout.
   ========================================================= */
html.scorebook-full-theme,
html.scorebook-full-theme body{
  min-width:0!important;
  background:#eef2f5!important;
  color:#344856;
}
html.scorebook-full-theme body{font-family:Arial,"Noto Sans KR","Malgun Gothic",sans-serif!important}
.scorebook-legacy-header{display:none!important}
html.scorebook-full-theme #conttop,
html.scorebook-full-theme #score_menu{display:none!important}
.scorebook-shell-width{width:1280px;max-width:calc(100% - 32px);margin:0 auto}
.scorebook-site-header{position:relative;z-index:9000;background:#fff;border-bottom:1px solid #d8e1e8;box-shadow:0 3px 14px rgba(0,42,76,.08)}
.scorebook-utility-bar{height:28px;border-bottom:1px solid #e6ebef;background:#f8fafb;color:#6f7f8b;font-size:10px}
.scorebook-utility-bar>.scorebook-shell-width{height:100%;display:flex;align-items:center;justify-content:space-between}
.scorebook-utility-bar nav{display:flex;align-items:center;gap:20px}
.scorebook-utility-bar a{color:#6f7f8b;text-decoration:none}.scorebook-utility-bar a:hover{color:#1684d5}
.scorebook-header-main{height:88px;display:grid;grid-template-columns:270px minmax(300px,560px) minmax(220px,1fr);align-items:center;gap:22px}
.scorebook-brand{display:flex;align-items:center;gap:13px;width:max-content;text-decoration:none}
.scorebook-brand-mark{position:relative;width:48px;height:48px;padding:10px;display:flex;align-items:flex-end;justify-content:center;gap:4px;overflow:hidden;border-radius:14px;background:linear-gradient(145deg,#073f70,#1684d5);box-shadow:0 8px 20px rgba(0,84,150,.22)}
.scorebook-brand-mark:before{content:"";position:absolute;inset:-24px;background:linear-gradient(45deg,transparent 35%,rgba(255,255,255,.22),transparent 65%);transform:rotate(20deg)}
.scorebook-brand-mark i{position:relative;z-index:1;display:block;width:6px;border-radius:3px 3px 0 0;background:#fff}
.scorebook-brand-mark i:nth-child(1){height:14px}.scorebook-brand-mark i:nth-child(2){height:26px;background:#ffdc4f}.scorebook-brand-mark i:nth-child(3){height:20px}
.scorebook-brand-copy{display:grid;grid-template-columns:auto auto;align-items:end;line-height:.9}
.scorebook-brand-copy b,.scorebook-brand-copy strong{font-size:27px;font-weight:900;letter-spacing:-1.5px}
.scorebook-brand-copy b{color:#073f70}.scorebook-brand-copy strong{color:#1684d5}
.scorebook-brand-copy small{grid-column:1/3;margin-top:8px;color:#87929b;font-size:8px;font-weight:800;letter-spacing:2px}
.scorebook-header-search{height:44px;display:grid;grid-template-columns:40px minmax(0,1fr) 64px;overflow:hidden;border:2px solid #073f70;border-radius:7px;background:#fff}
.scorebook-header-search>span{display:grid;place-items:center;color:#073f70;font-size:21px;font-weight:900}
.scorebook-header-search input{min-width:0;border:0;outline:0;padding:0 8px;background:#fff;color:#263b4b;font-size:12px}
.scorebook-header-search input::placeholder{color:#a0a9b0}
.scorebook-header-search button{border:0;background:#073f70;color:#fff;font-size:11px;font-weight:900;cursor:pointer}
.scorebook-header-member{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:10px;color:#556b7b;font-size:10px}
.scorebook-header-member>a{height:30px;padding:0 11px;display:flex;align-items:center;border:1px solid #d5dfe6;border-radius:5px;background:#fff;color:#496174;font-weight:800;text-decoration:none;white-space:nowrap}
.scorebook-header-member>a.login{border-color:#073f70;background:#073f70;color:#fff}
.scorebook-header-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#073f70,#1684d5);color:#fff;font-size:12px;font-weight:900}
.scorebook-header-member-copy{min-width:0;display:grid;line-height:1.1}.scorebook-header-member-copy b{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#29465a;font-size:11px}.scorebook-header-member-copy small{margin-top:4px;color:#1684d5;font-size:9px;font-weight:800}
.scorebook-header-menu-button,.scorebook-header-search-button{display:none}
.scorebook-header-nav{height:54px;background:linear-gradient(180deg,#07517f,#073f70);border-top:1px solid #0a5d91;box-shadow:inset 0 -1px 0 rgba(255,255,255,.08)}
.scorebook-header-nav>.scorebook-shell-width{height:100%}
.scorebook-header-nav #scorebook-nav-host{width:100%;height:100%;max-width:none!important;float:none!important}
.scorebook-header-nav .scorebook-primary-nav{height:100%}
.scorebook-header-nav .scorebook-primary-nav ul{width:100%;height:100%;justify-content:flex-start}
.scorebook-header-nav .scorebook-primary-nav li{flex:1 1 0;justify-content:center}
.scorebook-header-nav .scorebook-primary-nav li+li:before{height:18px;background:rgba(255,255,255,.22)}
.scorebook-header-nav .scorebook-primary-nav a{width:100%;padding:0 12px;justify-content:center;color:#fff;font-size:13px;text-shadow:0 1px 1px rgba(0,0,0,.15)}
.scorebook-header-nav .scorebook-primary-nav a:hover,.scorebook-header-nav .scorebook-primary-nav a.active{background:rgba(255,255,255,.13);color:#ffdf57}
.scorebook-mobile-search-panel{display:none}

/* Classic three-column frame, widened for the SCOREBOOK center content. */
@media(min-width:1281px){
  html.scorebook-full-theme #container{
    width:1280px!important;max-width:calc(100% - 32px)!important;min-width:0!important;
    margin:16px auto 42px!important;padding:0!important;
    display:grid!important;grid-template-columns:270px minmax(0,1fr) 168px;gap:16px;align-items:start;
  }
  html.scorebook-full-theme #container>#left,
  html.scorebook-full-theme #container #left{grid-column:1;width:auto!important;min-width:0!important;float:none!important;margin:0!important}
  html.scorebook-full-theme #container>#frame,
  html.scorebook-full-theme #container #frame{grid-column:2;width:auto!important;min-width:0!important;max-width:none!important;float:none!important;margin:0!important}
  html.scorebook-full-theme #container>#rightAD,
  html.scorebook-full-theme #container #rightAD{grid-column:3;width:auto!important;min-width:0!important;float:none!important;margin:0!important}
  html.scorebook-full-theme #container:after{display:none!important}
}
@media(min-width:921px) and (max-width:1280px){
  .scorebook-shell-width{width:1040px;max-width:calc(100% - 24px)}
  .scorebook-header-main{grid-template-columns:225px minmax(260px,460px) minmax(190px,1fr);gap:16px}
  .scorebook-brand-copy b,.scorebook-brand-copy strong{font-size:23px}
  html.scorebook-full-theme #container{width:1040px!important;max-width:calc(100% - 24px)!important;min-width:0!important;margin:14px auto 38px!important;padding:0!important;display:grid!important;grid-template-columns:250px minmax(0,1fr);gap:14px;align-items:start}
  html.scorebook-full-theme #left{grid-column:1;width:auto!important;float:none!important;margin:0!important}
  html.scorebook-full-theme #frame{grid-column:2;width:auto!important;min-width:0!important;max-width:none!important;float:none!important;margin:0!important}
  html.scorebook-full-theme #rightAD{display:none!important}
}

/* Convert legacy blocks to the original modern SCOREBOOK card language. */
html.scorebook-full-theme #left>div,
html.scorebook-full-theme #left>section,
html.scorebook-full-theme #left>.scorebook-chat-host,
html.scorebook-full-theme #frame>.scorebook-portal,
html.scorebook-full-theme #frame>.scorebook-dynamic-content>div,
html.scorebook-full-theme #frame>.scorebook-dynamic-content>section{
  border-color:#dbe4ea!important;
}
html.scorebook-full-theme #left>div,
html.scorebook-full-theme #left>section{
  margin-bottom:14px!important;background:#fff!important;border-radius:8px!important;box-shadow:0 6px 18px rgba(0,45,78,.07)!important;overflow:hidden
}
html.scorebook-full-theme #logbox,
html.scorebook-full-theme .login-card,
html.scorebook-full-theme .member-login{border:1px solid #dbe4ea!important;background:#fff!important}
html.scorebook-full-theme .scorebook-portal{border-radius:8px!important;box-shadow:0 6px 18px rgba(0,45,78,.07)!important}
html.scorebook-full-theme #frame{background:transparent!important}
html.scorebook-full-theme #frame .scorebook-dynamic-content{display:grid;gap:14px}
html.scorebook-full-theme #frame .scorebook-dynamic-content>div,
html.scorebook-full-theme #frame .scorebook-dynamic-content>section{background:#fff}
html.scorebook-full-theme #rightAD>div,
html.scorebook-full-theme #rightAD iframe{border-radius:7px;overflow:hidden}
html.scorebook-full-theme #footer{min-width:0!important;background:#fff!important;border-top:1px solid #dbe3e9!important}
html.scorebook-full-theme #footer .ft,
html.scorebook-full-theme #footer .ft_line{width:1280px!important;max-width:calc(100% - 32px)!important;margin-left:auto!important;margin-right:auto!important}

/* Suppress duplicated legacy toolbars after the new global header is mounted. */
html.scorebook-full-theme .scorebook-old-gnb,
html.scorebook-full-theme #gnb{display:none!important}

@media(max-width:920px){
  html.scorebook-full-theme body{padding-bottom:62px!important}
  .scorebook-legacy-header,.scorebook-utility-bar,.scorebook-header-search,.scorebook-header-member,.scorebook-header-nav{display:none!important}
  .scorebook-site-header{position:sticky;top:0;z-index:9990;height:58px}
  .scorebook-header-main{width:100%;max-width:none;height:58px;padding:0 10px;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;gap:4px}
  .scorebook-header-menu-button,.scorebook-header-search-button{width:40px;height:40px;display:grid;place-items:center;border:0;background:transparent;color:#073f70}
  .scorebook-header-menu-button{padding:10px 8px}.scorebook-header-menu-button span{display:block;width:23px;height:2px;margin:3px 0;border-radius:2px;background:#073f70}
  .scorebook-header-search-button{font-size:24px;font-weight:900}
  .scorebook-brand{justify-self:center;gap:8px}.scorebook-brand-mark{width:32px;height:32px;padding:6px;border-radius:9px;gap:2px}.scorebook-brand-mark i{width:4px}.scorebook-brand-mark i:nth-child(1){height:9px}.scorebook-brand-mark i:nth-child(2){height:16px}.scorebook-brand-mark i:nth-child(3){height:12px}
  .scorebook-brand-copy b,.scorebook-brand-copy strong{font-size:17px;letter-spacing:-.8px}.scorebook-brand-copy small{display:none}
  .scorebook-mobile-search-panel{position:fixed;left:0;right:0;top:58px;z-index:9989;display:block;padding:10px 14px;background:#fff;box-shadow:0 8px 20px rgba(0,40,70,.14);transform:translateY(-130%);transition:.2s ease}
  .scorebook-mobile-search-panel.open{transform:none}.scorebook-mobile-search-panel form{height:40px;display:grid;grid-template-columns:minmax(0,1fr) 58px;overflow:hidden;border:2px solid #073f70;border-radius:5px}.scorebook-mobile-search-panel input{min-width:0;border:0;padding:0 10px;outline:0}.scorebook-mobile-search-panel button{border:0;background:#073f70;color:#fff;font-size:10px;font-weight:900}
  html.scorebook-full-theme #container{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:10px!important;display:block!important}
  html.scorebook-full-theme #left,html.scorebook-full-theme #rightAD{display:none!important}
  html.scorebook-full-theme #frame{width:100%!important;min-width:0!important;max-width:none!important;float:none!important;margin:0!important}
  #scorebook-nav-host{position:fixed;left:0;top:0;bottom:0;z-index:100000;width:min(340px,88vw)!important;height:100%!important;max-width:none!important;padding:0;background:#fff;box-shadow:12px 0 32px rgba(0,20,40,.22);transform:translateX(-103%);transition:.25s ease}
  html.scorebook-nav-opened #scorebook-nav-host{transform:none}
  .scorebook-primary-nav{display:block!important;height:100%!important;padding:58px 0 20px!important;overflow-y:auto}.scorebook-primary-nav ul{display:block!important;height:auto!important}.scorebook-primary-nav li{display:block!important;height:auto!important}.scorebook-primary-nav li+li:before{display:none!important}.scorebook-primary-nav a{height:50px!important;padding:0 22px!important;justify-content:flex-start!important;border-bottom:1px solid #e7ecef;color:#344958!important;text-shadow:none!important}.scorebook-primary-nav a.active{background:#edf7ff!important;color:#0b6faa!important}
  .scorebook-mobile-close{display:grid!important}
  html.scorebook-full-theme #footer .ft,html.scorebook-full-theme #footer .ft_line{width:calc(100% - 20px)!important}
}


/* SCOREBOOK critical layout repair: source legacy header suppression + actual Gatelinke #aside frame mapping. */
html.scorebook-full-theme body > #header,
html.scorebook-full-theme #scorebook-site-header ~ #header,
html.scorebook-full-theme [id="header"].scorebook-legacy-header,
html.scorebook-full-theme .scorebook-legacy-header {
  display:none!important;
  visibility:hidden!important;
  width:0!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
html.scorebook-full-theme #conttop,
html.scorebook-full-theme #score_menu {display:none!important}
html.scorebook-full-theme body {min-width:0!important;background:#eef3f7!important}
html.scorebook-full-theme #container.scorebook-layout-container {box-sizing:border-box!important}
html.scorebook-full-theme #container.scorebook-layout-container > #aside,
html.scorebook-full-theme #container.scorebook-layout-container > #left,
html.scorebook-full-theme #container.scorebook-layout-container > .scorebook-layout-left {
  grid-column:1!important;width:auto!important;min-width:0!important;max-width:none!important;
  float:none!important;margin:0!important;position:relative!important;left:auto!important;right:auto!important
}
html.scorebook-full-theme #container.scorebook-layout-container > #frame,
html.scorebook-full-theme #container.scorebook-layout-container > .scorebook-layout-main {
  grid-column:2!important;width:auto!important;min-width:0!important;max-width:none!important;
  float:none!important;margin:0!important;position:relative!important;left:auto!important;right:auto!important
}
html.scorebook-full-theme #container.scorebook-layout-container > #scorebook-right-rail,
html.scorebook-full-theme #container.scorebook-layout-container > #rightAD,
html.scorebook-full-theme #container.scorebook-layout-container > .scorebook-layout-right {
  grid-column:3!important;width:auto!important;min-width:0!important;max-width:none!important;
  float:none!important;margin:0!important;position:relative!important;left:auto!important;right:auto!important
}
html.scorebook-full-theme #aside > div,
html.scorebook-full-theme #aside > section,
html.scorebook-full-theme #aside > .scorebook-chat-host,
html.scorebook-full-theme #left > div,
html.scorebook-full-theme #left > section,
html.scorebook-full-theme #left > .scorebook-chat-host {
  box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0 0 14px!important
}
html.scorebook-full-theme #aside #livechat[hidden],
html.scorebook-full-theme #left #livechat[hidden] {display:none!important}
html.scorebook-full-theme #frame > .scorebook-portal,
html.scorebook-full-theme #frame > .scorebook-dynamic-content,
html.scorebook-full-theme #frame .scorebook-dynamic-content > * {box-sizing:border-box;max-width:100%}
html.scorebook-full-theme #frame > .scorebook-portal {width:100%!important;margin-left:0!important;margin-right:0!important}
.scorebook-right-rail {display:grid;gap:14px;align-content:start}
.scorebook-right-rail > * {max-width:100%;box-sizing:border-box}
.scorebook-ad-card {min-height:250px;display:grid;place-items:center;align-content:center;gap:9px;border-radius:9px;background:linear-gradient(160deg,#112c48,#0d72ac);color:#fff;text-align:center;overflow:hidden}
.scorebook-ad-card small{opacity:.7;letter-spacing:2px}.scorebook-ad-card strong{font-size:22px}.scorebook-ad-card span{font-size:11px;opacity:.85}
@media(min-width:1281px){
  html.scorebook-full-theme #container.scorebook-layout-container{
    width:1280px!important;max-width:calc(100% - 32px)!important;min-width:0!important;
    margin:16px auto 42px!important;padding:0!important;display:grid!important;
    grid-template-columns:270px minmax(0,1fr) 168px!important;gap:16px!important;align-items:start!important
  }
  html.scorebook-full-theme #container.scorebook-layout-container.scorebook-no-right-rail{grid-template-columns:270px minmax(0,1fr)!important}
}
@media(min-width:921px) and (max-width:1280px){
  html.scorebook-full-theme #container.scorebook-layout-container{
    width:1040px!important;max-width:calc(100% - 24px)!important;min-width:0!important;
    margin:14px auto 38px!important;padding:0!important;display:grid!important;
    grid-template-columns:250px minmax(0,1fr)!important;gap:14px!important;align-items:start!important
  }
  html.scorebook-full-theme #scorebook-right-rail,
  html.scorebook-full-theme #container > #rightAD{display:none!important}
}
@media(max-width:920px){
  html.scorebook-full-theme #container.scorebook-layout-container{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:10px!important}
  html.scorebook-full-theme #container.scorebook-layout-container > #aside,
  html.scorebook-full-theme #container.scorebook-layout-container > #left,
  html.scorebook-full-theme #container.scorebook-layout-container > #scorebook-right-rail,
  html.scorebook-full-theme #container.scorebook-layout-container > #rightAD{display:none!important}
  html.scorebook-full-theme #container.scorebook-layout-container > #frame{display:block!important;width:100%!important;max-width:none!important}
}
