/* page typography */
body.page .entry-content p,
body.page .wp-block-post-content p {
  margin-block: 0 1em !important;
  line-height: 1.7 !important;
}
body.page .entry-content h2,
body.page .wp-block-post-content h2 {
  margin-block: 1.6em 0.6em !important;
}
body.page .entry-content h3,
body.page .wp-block-post-content h3 {
  margin-block: 1.3em 0.5em !important;
}

/* ===== live score widget ===== */
.sf-live{--sf-acc:#b78cff;--sf-line:rgba(183,140,255,.22);--sf-card:rgba(255,255,255,.04);--sf-live:#ff4d6d;margin:1.5em 0;font-size:15px;color:inherit}
.sf-live *{box-sizing:border-box}
.sf-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:14px}
.sf-btn{appearance:none;border:1px solid var(--sf-line);background:var(--sf-card);color:inherit;padding:8px 14px;border-radius:999px;cursor:pointer;font:inherit;line-height:1.2}
.sf-btn:hover{border-color:var(--sf-acc)}
.sf-btn.on{background:var(--sf-acc);border-color:var(--sf-acc);color:#12001f;font-weight:600}
.sf-btn.sf-livebtn.on{background:var(--sf-live);border-color:var(--sf-live);color:#fff}
.sf-sel{appearance:auto;border:1px solid var(--sf-line);background:#12001f;color:inherit;padding:8px 10px;border-radius:10px;font:inherit;max-width:100%}
.sf-spacer{flex:1}
.sf-upd{font-size:12px;opacity:.65}
.sf-league{border:1px solid var(--sf-line);border-radius:14px;background:var(--sf-card);margin-bottom:12px;overflow:hidden}
.sf-lh{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid var(--sf-line);font-weight:600}
.sf-lh img{width:22px;height:22px;object-fit:contain}
.sf-lh small{opacity:.6;font-weight:400}
.sf-row{display:grid;grid-template-columns:58px 1fr 64px 1fr;gap:8px;align-items:center;padding:10px 14px;border-top:1px solid rgba(255,255,255,.06)}
.sf-row:first-of-type{border-top:0}
.sf-st{font-size:13px;opacity:.85;text-align:center}
.sf-st.live{color:var(--sf-live);font-weight:700;opacity:1}
.sf-st.live::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--sf-live);margin-right:5px;animation:sfp 1.2s infinite}
@keyframes sfp{50%{opacity:.25}}
.sf-tm{display:flex;align-items:center;gap:8px;min-width:0}
.sf-tm.h{justify-content:flex-end;text-align:right}
.sf-tm span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sf-tm img{width:22px;height:22px;object-fit:contain;flex:none}
.sf-sc{text-align:center;font-weight:700;font-size:17px;letter-spacing:.5px}
.sf-sc.live{color:var(--sf-live)}
.sf-msg{padding:22px;border:1px dashed var(--sf-line);border-radius:14px;text-align:center;opacity:.85}
.sf-foot{font-size:12px;opacity:.55;margin-top:10px}
@media(max-width:600px){
 .sf-live{font-size:14px}
 .sf-row{grid-template-columns:44px 1fr 48px 1fr;gap:5px;padding:9px 10px}
 .sf-tm img{width:18px;height:18px}
 .sf-tm.h{flex-direction:row-reverse;justify-content:flex-start;text-align:left}
 .sf-tm.h span,.sf-tm span{white-space:normal;line-height:1.25}
}
@media(max-width:600px){.sf-tm.h{flex-direction:row;justify-content:flex-end;text-align:right}}

/* widget centering */
body .sf-live{margin-block:1.5em !important;margin-inline:auto !important;width:100% !important;max-width:var(--wp--style--global--content-size,860px) !important;padding-inline:0}
body .wp-block-html:has(.sf-live){max-width:none !important}

/* header login / register buttons */
.vip-head{display:flex;gap:6px;flex:none}
.vip-head .vip-btn{display:inline-block;padding:.55em 1.4em;border-radius:999px;font-size:.96rem;font-weight:600;text-align:center;text-decoration:none;line-height:1.3;transition:box-shadow .2s,filter .2s}
.vip-head .vip-btn-1{background:linear-gradient(135deg,#a855f7,#6d28d9);color:#fff;border:1px solid #c084fc;box-shadow:0 0 14px rgba(168,85,247,.45)}
.vip-head .vip-btn-2{background:transparent;color:#e9d5ff;border:1px solid #a855f7}
.vip-head .vip-btn-1:hover{filter:brightness(1.15);box-shadow:0 0 22px rgba(168,85,247,.7)}
.vip-head .vip-btn-2:hover{background:rgba(168,85,247,.2);color:#fff;box-shadow:0 0 14px rgba(168,85,247,.4)}
@media(max-width:900px){
 .vip-head{order:3;flex-basis:100%;gap:10px;padding-bottom:.6rem}
 .vip-head .vip-btn{flex:1;padding:.6em .5em}
 .site-header .header-panel{order:4}
}

/* ===== Footer ===== */
.site-footer{text-align:center}
.site-footer .footer-columns{display:block !important}
.site-footer .footer-site-name{font-size:1.5rem;font-weight:700;margin:0 0 .6rem;color:#e9d5ff}
.site-footer .footer-text{max-width:820px;margin:0 auto 1.6rem;line-height:1.8;color:#d8b4fe}
.site-footer .footer-text p{margin:0}
.site-footer .footer-nav{border-top:1px solid rgba(168,85,247,.25);padding-top:1.2rem;margin-top:0}
.site-footer .footer-nav ul.menu{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.3rem 0;margin:0;padding:0;list-style:none}
.site-footer .footer-nav ul.menu li{margin:0;padding:0;list-style:none}
.site-footer .footer-nav ul.menu li a{color:#f0e6ff;font-weight:600;text-decoration:none;padding:0 .9em}
.site-footer .footer-nav ul.menu li a:hover{color:#c084fc}
.site-footer .footer-nav ul.menu li+li::before{content:"|";color:#a855f7;opacity:.6}
.site-footer .footer-copyright{margin-top:1.4rem;opacity:.7;font-size:.9rem}

/* mobile: fixed bottom bar */
.vip-bar{display:none}
@media(max-width:900px){
 .vip-bar{display:flex;gap:12px;position:fixed;left:0;right:0;bottom:0;padding:11px 12px calc(11px + env(safe-area-inset-bottom));background:rgba(18,0,31,.96);border-top:1px solid #a855f7;border-radius:16px 16px 0 0;box-shadow:0 -6px 24px rgba(168,85,247,.35);z-index:999}
 .vip-bar .vip-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:.75em .6em;border-radius:12px;font-size:15px;font-weight:600;text-decoration:none;color:#fff;border:1px solid #c084fc;background:linear-gradient(135deg,#a855f7,#6d28d9);box-shadow:0 0 14px rgba(168,85,247,.5)}
 .vip-bar .vip-btn-2{background:linear-gradient(135deg,#e879f9,#a21caf);border-color:#f0abfc;box-shadow:0 0 14px rgba(232,121,249,.5)}
 .vip-bar .vip-btn::before{content:"";width:22px;height:22px;background:#fff;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
 .vip-bar .vip-btn-1{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4 4 0 100-8 4 4 0 000 8zm0 2c-3.3 0-8 1.7-8 5v1h16v-1c0-3.3-4.7-5-8-5z'/%3E%3C/svg%3E")}
 .vip-bar .vip-btn-2{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 12a4 4 0 100-8 4 4 0 000 8zm0 2c-3.3 0-8 1.7-8 5v1h16v-1c0-3.3-4.7-5-8-5zm10-6V5h-2v3h-3v2h3v3h2v-3h3V8z'/%3E%3C/svg%3E")}
 body{padding-bottom:84px}
}

/* UFAVIP777 logo instead of text */
.site-header .site-title{display:block;font-size:0 !important;line-height:0;color:transparent !important;width:120px;height:52px;background:url("../img/logo-vip777.png") left center/contain no-repeat}
.site-footer .footer-site-name{font-size:0 !important;line-height:0;color:transparent !important;width:170px;height:72px;margin:0 auto .8rem !important;background:url("../img/logo-vip777.png") center/contain no-repeat}

/* hide comments */
.comments-area, #comments, #respond, .comment-respond, .comment-list, .comments-title { display: none !important; }
