:root{--blue:#1464ed;--navy:#0b2b62;--ink:#172a48;--muted:#73839c;--line:#e5edf7;--bg:#f4f8fe}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 system-ui,-apple-system,"Noto Sans KR","Noto Sans Thai",sans-serif}a{color:inherit;text-decoration:none}.wide{max-width:1740px;width:calc(100% - 64px);margin:auto}.utility{background:#073c80;color:#dceafa;font-size:12px}.utility-inner,.utility-links,.langs,.topin,.nav,.header-actions{display:flex;align-items:center}.utility-inner{justify-content:space-between;min-height:34px}.utility-links{gap:20px}.langs{gap:15px}.langs a.active{color:white;font-weight:800}.top{background:white;border-bottom:1px solid #e7edf5}.topin{min-height:82px;justify-content:space-between;gap:25px}.brand{font-size:38px;line-height:1;color:#1665e9;font-weight:900;letter-spacing:-2px;white-space:nowrap}.brand small,.footin small{display:block;color:#95a8c3;font-size:9px;letter-spacing:1.5px;font-weight:800;margin-top:7px}.nav{gap:29px}.nav a{text-align:center;font-size:19px;color:#12346a;font-weight:700;line-height:1.1}.nav a span{display:block;font-size:12px;margin-top:7px}.nav a:hover,.panel-head a:hover{color:var(--blue)}.header-actions{gap:9px;font-size:13px}.adminlink{color:#6a7f9c;margin-right:7px}.action-outline,.action-primary{border:1px solid #2373ef;border-radius:9px;padding:10px 15px;white-space:nowrap;font-weight:700}.action-primary{background:var(--blue);color:white}.header-actions small{display:none}.hero{background:linear-gradient(115deg,#06285d 0%,#114a9d 54%,#2a8afa 100%);color:white;overflow:hidden}.hero-inner{height:330px;display:flex;align-items:center;position:relative}.hero-copy{position:relative;z-index:2;width:51%;padding:20px 0}.eyebrow{font-size:12px;letter-spacing:2px;color:#acd0ff}.hero h1{font-size:clamp(30px,3vw,52px);line-height:1.25;letter-spacing:-2px;margin:13px 0}.hero h1 strong{color:#70b7ff}.hero p{font-size:17px;color:#e3efff}.cta{display:inline-block;background:#1475fa;border-radius:11px;padding:12px 23px;margin-top:9px;font-weight:800}.hero-visual{position:absolute;inset:0 -50px 0 38%;background-image:linear-gradient(90deg,#0c3982 0%,rgba(12,57,130,.1) 33%,rgba(7,44,100,.05) 100%),url('hero-sports.jpg');background-size:cover;background-position:center 35%;opacity:.94;mask-image:linear-gradient(90deg,transparent,#000 30%)}.sport-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin:13px 0}.sport{background:white;border:1px solid #e8eef7;border-radius:12px;min-height:86px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 3px 12px #163f7910}.sport:hover{border-color:#7db2ff}.sport-icon{font-size:25px}.sport b{font-size:13px}.sport small{font-size:9px;color:#8ba0bd}.dashboard{display:grid;grid-template-columns:1.2fr 1.1fr 1.1fr .8fr;gap:12px;align-items:start}.panel{background:white;border:1px solid #e6edf6;border-radius:14px;box-shadow:0 3px 16px #0b44840a;min-width:0;overflow:hidden}.panel-head{padding:18px 19px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #edf2f9}.panel-head h2{margin:0;font-size:17px;letter-spacing:-.5px}.panel-head a,.subtle{font-size:11px;color:#7890b2}.filter-row{display:flex;gap:5px;padding:13px 14px;flex-wrap:wrap}.filter{background:#edf4ff;border-radius:6px;padding:6px 8px;font-size:11px;color:#23528f}.empty-state{text-align:center;min-height:244px;padding:35px 18px;color:#526e96;display:flex;flex-direction:column;justify-content:center;align-items:center}.empty-icon{font-size:40px;opacity:.85;margin-bottom:12px}.empty-state strong{font-size:13px}.empty-state p{font-size:12px;color:#8a9bb1;max-width:300px}.empty-state.compact{min-height:170px;padding:20px}.sidebar{display:grid;gap:12px}.notice-text{font-size:13px;margin:14px 18px}.feed-item{display:flex;gap:10px;align-items:center;border-bottom:1px solid #edf2f8;padding:13px 15px;font-size:13px}.feed-tag{background:#e9f1ff;color:#1160d5;padding:3px 6px;border-radius:5px;white-space:nowrap;font-size:11px}.feed-title{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.feed-item small{color:#92a2b6;font-size:10px}.board-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0 28px}.small-board .panel-head h2{font-size:15px}.mini-row{padding:13px 18px;border-bottom:1px solid #edf2f9;font-size:12px}.muted{color:#93a2b5}.footer{background:white;border-top:1px solid var(--line);color:#8294af;font-size:12px}.footin{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:82px}.footin b{color:var(--blue);font-size:21px}.footin small{margin-top:1px}
/* Preserve the original V1 admin design and shared forms */
.container{max-width:1100px;margin:auto;padding:24px}.card{background:white;border:1px solid var(--line);border-radius:14px;padding:24px;margin:20px 0}.cardhead{display:flex;justify-content:space-between}.post{padding:12px;border-bottom:1px solid var(--line)}.pill{background:#eaf2ff;color:var(--blue);border-radius:6px;padding:4px 8px}.more{color:var(--blue)}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media(max-width:1450px){.nav{gap:15px}.topin{gap:14px}.dashboard{grid-template-columns:1fr 1fr}.sidebar{grid-template-columns:1fr 1fr}.hero-inner{height:300px}}@media(max-width:900px){.wide{width:calc(100% - 28px)}.topin{min-height:76px;flex-wrap:wrap;padding:12px 0}.brand{font-size:30px}.nav{order:3;width:100%;justify-content:space-between;overflow:auto;padding:9px 0 2px}.nav a{font-size:16px;flex-shrink:0}.nav a span{font-size:11px}.utility-inner{gap:10px}.utility-inner>span{display:none}.utility-links{margin-left:auto}.header-actions{margin-left:auto}.hero-inner{height:300px}.hero-copy{width:68%}.hero-visual{inset:0 -180px 0 25%}.sport-grid{grid-template-columns:repeat(4,1fr)}.board-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.wide{width:calc(100% - 22px)}.utility-links{gap:0}.utility-links>a{display:none}.langs{gap:12px}.langs a{font-size:11px}.topin{gap:8px}.brand{font-size:28px}.header-actions .adminlink{font-size:11px}.action-outline,.action-primary{padding:7px;font-size:11px}.nav{gap:22px}.hero-inner{height:285px}.hero-copy{width:100%;padding:18px 6px}.hero h1{font-size:29px;max-width:330px}.hero p{font-size:13px;max-width:240px}.eyebrow{font-size:9px}.hero-visual{inset:0 -280px 0 12%;opacity:.38}.sport-grid{grid-template-columns:repeat(4,1fr);gap:6px}.sport{min-height:76px}.sport-icon{font-size:22px}.sport b{font-size:11px}.sport small{font-size:8px}.dashboard,.sidebar,.board-grid,.grid{grid-template-columns:1fr}.panel-head h2{font-size:16px}.empty-state{min-height:160px}.footin{flex-direction:column;align-items:start;padding:18px 0}}

/* V3: precise desktop typography, brand and complete footer */
body{font-size:15px;letter-spacing:-.15px;-webkit-font-smoothing:antialiased}
.wide{max-width:1840px;width:calc(100% - 80px)}
.brand{display:block;width:225px;flex-shrink:0}.brand img{width:100%;height:auto;display:block}
.topin{min-height:88px}.nav a span{font-size:13px}.panel-head h2{font-size:18px}.sport b{font-size:14px}
.hero-inner{height:350px}.hero h1{font-size:clamp(32px,3vw,54px)}
.demo-note{padding:8px 16px;background:#f5f9ff;border-bottom:1px solid #e9eff9;color:#6b87a9;font-size:11px}
.match-row{display:grid;grid-template-columns:1fr 1.7fr auto;align-items:center;gap:9px;padding:15px 14px;border-bottom:1px solid #edf2f9;font-size:12px;min-height:58px}
.match-league{color:#155db8;font-weight:800}.match-teams{font-weight:750;white-space:nowrap}.match-teams em{font-size:10px;font-style:normal;color:#91a4bc;margin:0 5px}.match-demo{border:1px solid #bad4fc;color:#2870d8;border-radius:6px;padding:5px;font-size:10px}
.sample-row{display:flex;gap:11px;align-items:center;padding:10px 14px;border-bottom:1px solid #edf2f9;min-height:64px}.sample-row>div{min-width:0}.sample-row b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#18365d}.sample-row small{display:block;color:#91a2ba;font-size:11px;margin-top:4px}
.sample-thumb{width:65px;height:43px;display:grid;place-items:center;border-radius:7px;background:linear-gradient(135deg,#d9eaff,#eff6ff);font-size:24px;flex-shrink:0}.sample-avatar{width:38px;height:38px;border-radius:50%;background:#eaf2ff;display:grid;place-items:center;flex-shrink:0;font-size:19px}
.rank-sample>div{display:flex;gap:9px;align-items:center;padding:13px 15px;border-bottom:1px solid #edf2f9}.rank-sample b{font-size:12px;flex:1}.rank-sample small{color:#91a2ba;font-size:11px}
.footer{background:#07366e;color:#d8e6fb;border-top:0}.footin{min-height:84px;flex-wrap:wrap}.footer-brand{background:white;border-radius:7px;padding:3px 8px}.footer-brand img{display:block;width:145px;height:auto}.footer-links{display:flex;gap:16px;flex-wrap:wrap}.footer-links span{font-size:12px}.footin>span{font-size:11px;color:#c3d5ed}
@media(max-width:1450px){.wide{width:calc(100% - 48px)}.brand{width:180px}.nav{gap:14px}.match-row{grid-template-columns:1fr 1.6fr auto}}
@media(max-width:900px){.wide{width:calc(100% - 28px)}.topin{min-height:76px}.brand{width:170px}.hero-inner{height:300px}}
@media(max-width:600px){.wide{width:calc(100% - 22px)}.brand{width:155px}.hero-inner{height:285px}.footer-links{gap:10px}.match-row{gap:5px;padding:12px 8px}.match-league{font-size:11px}.match-teams{font-size:11px}}

/* ONVIA V7: typography-only patch; retain V3 layout and image dimensions */
:root{--ink:#102746;--muted:#536b8b}
body{color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.utility{font-size:13px}
.nav a span{font-size:14px;color:#103362}
.header-actions{font-size:14px}
.panel-head h2,.small-board .panel-head h2{font-size:18px;color:#102746;font-weight:800}
.panel-head a,.subtle{font-size:13px;color:#526b90}
.filter{font-size:12px}
.demo-note{font-size:12px;color:#4f6b91}
.match-row{font-size:14px}
.match-league,.match-teams{font-size:13px}
.match-teams em{font-size:12px}
.match-demo{font-size:12px}
.sample-row b,.rank-sample b{font-size:14px;color:#15345e}
.sample-row small,.rank-sample small{font-size:12px;color:#56708f}
.feed-item{font-size:14px}
.feed-item small{font-size:12px;color:#58718f}
.feed-tag{font-size:12px}
.mini-row{font-size:14px}
.notice-text{font-size:14px}
.empty-state strong{font-size:15px}
.empty-state p{font-size:13px;color:#607795}
.sport b{font-size:14px}
.sport small{font-size:11px;color:#587398}
.footer{font-size:13px}
.footer-links span,.footin>span{font-size:13px}
.muted{color:#607795}
@media(max-width:767px){
 .nav a span{font-size:12px}
 .panel-head h2,.small-board .panel-head h2{font-size:16px}
 .panel-head a,.subtle{font-size:12px}
 .sample-row b,.rank-sample b,.feed-item,.mini-row{font-size:13px}
 .match-row,.match-league,.match-teams{font-size:12px}
 .sport b{font-size:12px}
 .sport small{font-size:10px}
 .footer-links span,.footin>span{font-size:12px}
}

/* ONVIA post thumbnails */
.feed-item .onvia-feed-thumb{width:56px;height:44px;object-fit:cover;border-radius:8px;flex-shrink:0;margin:0 8px}
@media(max-width:640px){.feed-item .onvia-feed-thumb{width:44px;height:40px}.onvia-post img{width:80px;height:60px}}
