/* =====================================================================
   LotterySpy — forecaster profile (social-profile style)
   Used by f_router/general_page.php and f_router/single_page.php.
   Everything is scoped to .fcp / #fcp-* so the rest of the site is untouched.
   Colours: LotterySpy navy + yellow.
   ===================================================================== */
:root{
  --fcp-navy:#1b2133; --fcp-navy-2:#293145; --fcp-navy-3:#3a4560;
  --fcp-yellow:#ffcc00; --fcp-yellow-2:#ffdb4d;
  --fcp-ink:#1b2133; --fcp-ink-2:#4a5568; --fcp-muted:#7b8699;
  --fcp-bg:#eef1f6; --fcp-card:#ffffff; --fcp-line:#e3e7ef;
  --fcp-blue:#0a6fb8; --fcp-green:#1f9d55; --fcp-red:#d64545;
  --fcp-radius:16px; --fcp-shadow:0 1px 2px rgba(27,33,51,.06), 0 6px 20px rgba(27,33,51,.06);
}

/* page canvas */
body.fcp-body{background:var(--fcp-bg) !important;}
.fcp,.fcp *{box-sizing:border-box;}
.fcp{color:var(--fcp-ink); font-family:"Rubik",-apple-system,"Segoe UI",Roboto,Arial,sans-serif;}
.fcp .fcp{padding:0; max-width:none;}
.fcp a{color:var(--fcp-blue);}
.fcp .fcp-hide-xs{display:inline;}

/* ---------- header ---------- */
.fcp-hero{background:var(--fcp-card); border-radius:0 0 var(--fcp-radius) var(--fcp-radius); box-shadow:var(--fcp-shadow); overflow:visible; margin:0 0 24px; position:relative;}
.fcp-cover{position:relative; height:230px; background:var(--fcp-navy) center/cover no-repeat; overflow:hidden; border-radius:0;}
.fcp-cover .fc-head-video{position:absolute; top:50%; left:50%; min-width:100%; min-height:100%; width:auto; height:auto; transform:translate(-50%,-50%); object-fit:cover;}
.fcp-cover-shade{position:absolute; inset:0; background:
   radial-gradient(1200px 300px at 85% -10%, rgba(0,0,0,.35), transparent 60%),
   linear-gradient(180deg, rgba(27,33,51,.25) 0%, rgba(27,33,51,.55) 60%, rgba(27,33,51,.85) 100%);}
.fcp-crumbs{position:absolute; left:20px; top:16px; z-index:2; display:flex; flex-wrap:wrap; gap:6px; align-items:center; font-size:12.5px; color:rgba(255,255,255,.75);}
.fcp-crumbs a{color:#000 !important; text-decoration:none; opacity:.9; font-weight: bold;}
.fcp-crumbs a:hover{opacity:1; text-decoration:underline;}
.fcp-crumbs [aria-current]{color:var(--fcp-blue); font-weight:bold;}
.fcp-cover-tools{position:absolute; right:16px; top:12px; z-index:2; display:flex; gap:8px; align-items:center; margin:0 !important; float:none !important;}
.fcp-icon-btn{display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.16); color:#fff !important; font-size:17px; text-decoration:none !important; backdrop-filter:blur(6px); transition:background .15s;}
.fcp-icon-btn:hover{background:rgba(255,255,255,.3);}
.fcp-status{font-size:11px; font-weight:700; letter-spacing:.08em; padding:5px 10px; border-radius:999px; background:var(--fcp-red); color:#fff;}
.fcp-status-confirmed,.fcp-status-active{background:var(--fcp-green);}

.fcp-id{display:grid; grid-template-columns:auto 1fr auto; gap:6px 20px; align-items:end; padding:0 24px 8px; position:relative;}
.fcp-avatar{position:relative; width:208px; height:208px; margin-top:-104px; z-index:3;}
.fcp-avatar .imgArea{width:208px !important; height:208px !important; border-radius:50% !important; overflow:hidden; border:5px solid #fff; background:#dfe4ec; box-shadow:0 6px 20px rgba(27,33,51,.25); position:relative; margin:0 !important;}
.fcp-avatar .imgArea img{width:100%; height:100%; object-fit:cover; display:block;}
.fcp-avatar #imgChange{position:absolute; left:0; right:0; bottom:0; height:42%; display:flex; align-items:center; justify-content:center; gap:6px; background:linear-gradient(transparent, rgba(27,33,51,.85)); color:#fff; font-size:13px; cursor:pointer; opacity:0; transition:opacity .2s; margin:0;}
.fcp-avatar .imgArea:hover #imgChange,.fcp-avatar #imgChange:focus-within{opacity:1;}
.fcp-avatar #imgChange input{position:absolute; inset:0; opacity:0; cursor:pointer; width:100%;}
.fcp-avatar .progressBar{display:none; position:absolute; left:16%; right:16%; top:46%; height:16px; background:rgba(0,0,0,.45); border-radius:8px; overflow:hidden;}
.fcp-avatar .progressBar .bar{height:100%; background:var(--fcp-yellow); width:0;}
.fcp-avatar .progressBar .percent{position:absolute; inset:0; font-size:11px; color:#fff; text-align:center; line-height:16px;}
.fcp-avatar #imgDelete{position:absolute; right:6px; top:10px; margin:0 !important;}
.fcp-avatar .imgDelete-btn{width:42px; height:42px; border-radius:50%; border:0; background:#fff; color:var(--fcp-red); box-shadow:0 2px 8px rgba(0,0,0,0); cursor:pointer;}
.fcp-online{position:absolute; right:14px; bottom:14px; width:22px; height:22px; border-radius:50%; background:var(--fcp-green); border:4px solid #fff;} 

.fcp-who{min-width:0; padding-top:12px;}
.fcp-name{margin:0; font-size:30px; line-height:1.15; font-weight:700; display:flex; align-items:center; gap:8px; letter-spacing:-.01em;}
.fcp-name a{color:var(--fcp-ink) !important; text-decoration:none !important;}
.fcp-verified{width:24px; height:24px; flex:none;}
.fcp-verified path:first-of-type{fill:var(--fcp-yellow);}
.fcp-handle{margin:4px 0 0; color:var(--fcp-muted); font-size:14px; display:flex; flex-wrap:wrap; gap:4px 6px; align-items:center;}
.fcp-handle .fcp-dot{opacity:.6;}
.fcp-flag{display:inline-flex; align-items:center; gap:5px;}
.fcp-flag img{border-radius:2px; box-shadow:0 0 0 1px rgba(0,0,0,.08);}
.fcp-notify{margin:6px 0 0; font-size:13px; color:var(--fcp-muted); display:flex; align-items:center; gap:6px;}
.fcp-notify-set{border:0; background:none; padding:0; margin-left:4px; color:var(--fcp-blue); font:500 13px inherit; font-family:inherit; text-decoration:underline; cursor:pointer;}
.fcp-notify.is-on{color:var(--fcp-green); font-weight:500;}
.fcp-bell{position:relative; border:0; cursor:pointer;}
.fcp-bell svg{width:19px !important; height:19px !important;}
.fcp-bell .lsn-badge{top:-5px; right:-5px;}
.fcp-viewing{margin:8px 0 0; display:inline-flex; gap:8px; align-items:center; background:#fff7d6; color:#6b5300; border:1px solid #ffe58a; padding:4px 6px 4px 12px; border-radius:999px; font-size:13px; font-weight:500;}
.fcp-viewing a{background:#fff; padding:2px 10px; border-radius:999px; text-decoration:none !important; font-weight:500; color:var(--fcp-ink) !important;}

.fcp-actions{display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:flex-end; padding-bottom:6px;}
.fcp-btn{display:inline-flex; align-items:center; justify-content:center; gap:7px; height:40px; padding:0 18px; border-radius:999px; border:1px solid transparent; font:600 14px/1 inherit; font-family:inherit; cursor:pointer; text-decoration:none !important; white-space:nowrap; transition:transform .06s, background .15s, box-shadow .15s; -webkit-tap-highlight-color:transparent;}
.fcp-btn:active{transform:scale(.97);}
.fcp-btn[disabled]{opacity:.55; cursor:not-allowed;}
.fcp-btn-primary{background:var(--fcp-navy); color:#fff !important;}
.fcp-btn-primary:hover{background:#2c3550;}
.fcp-btn-gold{background:var(--fcp-yellow); color:var(--fcp-navy) !important;}
.fcp-btn-gold:hover{background:var(--fcp-yellow-2);}
.fcp-btn-ghost{background:#fff; color:var(--fcp-ink) !important; border-color:var(--fcp-line);}
.fcp-btn-ghost:hover{background:#f5f7fa;}
.fcp-btn-icon{width:40px; padding:0;}
.fcp-btn-block{width:100%; height:48px; font-size:15px;}
.fcp-btn.is-loading{opacity:.6;}

/* spy / block buttons come from the server (forecaster_spy_request): restyle them */
.fcp-spy{display:inline-flex; align-items:center; gap:8px; min-width:0 !important; margin:0 !important; padding:0 !important;}
.fcp-spy .fc-pin-box,.fcp-more-menu .fc-pin-box{display:flex !important; flex-direction:row-reverse; align-items:center; gap:8px; min-width:0 !important; margin:0;}
.fcp-spy .label{order:0; font-size:12px; color:var(--fcp-muted); text-align:left !important;}
.fcp-spy .label strong{font-size:13px !important; color:var(--fcp-ink);}
.fcp-spy .label strong::after{content:" spies"; font-weight:400; color:var(--fcp-muted);}
.fcp-spy .btn,.fcp-spy .badge{display:inline-flex !important; align-items:center; gap:6px; height:40px; padding:0 20px !important; border-radius:999px !important; border:0 !important; font:600 14px/1 inherit !important; font-family:inherit !important; min-width:0 !important; text-transform:none; letter-spacing:0; box-shadow:none !important; cursor:pointer;}
.fcp-spy .spy_forecaster_request{background:var(--fcp-navy) !important; color:#fff !important;}
.fcp-spy .stop_spying_forecaster_request{background:#e8f6ee !important; color:var(--fcp-green) !important; border:1px solid #bfe6cf !important;}
.fcp-spy .btn[disabled]{background:var(--fcp-navy) !important; color:#fff !important; opacity:1;}
.fcp-more-menu .label{display:none;}
.fcp-more-menu .btn,.fcp-more-menu .badge{display:flex !important; width:100%; justify-content:flex-start; gap:8px; background:none !important; color:var(--fcp-red) !important; border:0 !important; padding:10px 12px !important; border-radius:8px !important; font:500 14px/1.2 inherit !important; font-family:inherit !important; min-width:0 !important; text-transform:none; box-shadow:none !important; text-align:left;}
.fcp-more-menu .btn:hover{background:#fdf0f0 !important;}

/* share + more menus */
.fcp-share,.fcp-more{position:relative;}
.fcp-share-menu,.fcp-more-menu{position:absolute; right:0; top:calc(100% + 8px); z-index:1040; min-width:210px; background:#fff; border-radius:12px; padding:6px; box-shadow:0 12px 32px rgba(27,33,51,.22); border:1px solid var(--fcp-line);}
.fcp-share-menu a,.fcp-share-menu button{display:flex; align-items:center; gap:10px; width:100%; padding:10px 12px; border-radius:8px; color:var(--fcp-ink) !important; text-decoration:none !important; background:none; border:0; font:inherit; font-size:14px; cursor:pointer; text-align:left;}
.fcp-share-menu a:hover,.fcp-share-menu button:hover{background:#f3f5f9;}
.fcp-share-menu .fa{width:18px; text-align:center; font-size:16px;}
.fcp-share-menu .fa-whatsapp{color:#25d366;} .fcp-share-menu .fa-facebook{color:#1877f2;} .fcp-share-menu .fa-telegram{color:#229ed9;}

/* stats */
.fcp-stats{list-style:none; margin:10px 24px 0; padding:14px 0; display:grid; grid-template-columns:repeat(5,1fr); border-top:1px solid var(--fcp-line);}
.fcp-stats li{padding:2px 12px; border-right:1px solid var(--fcp-line); min-width:0;}
.fcp-stats li:first-child{padding-left:0;}
.fcp-stats li:last-child{border-right:0;}
.fcp-stats b{display:block; font-size:22px; font-weight:700; line-height:1.1; color:var(--fcp-ink); font-variant-numeric:tabular-nums;}
.fcp-stats b small{font-size:13px; font-weight:500; color:var(--fcp-muted); margin-left:2px;}
.fcp-stats span{display:block; font-size:11.5px; color:var(--fcp-muted); letter-spacing:.04em; text-transform:uppercase; margin-top:3px;}
.fcp-stat-hit b{color:var(--fcp-green);}
.fcp-meter{display:block; height:4px; border-radius:2px; background:#e6ebf2; overflow:hidden; margin-top:6px; max-width:120px;}
.fcp-meter i{display:block; height:100%; background:var(--fcp-green); border-radius:2px;}

/* quick tools */
.fcp-tools{display:flex; gap:8px; margin:0 24px; padding:0 0 14px; overflow-x:auto; scrollbar-width:none;}
.fcp-tools::-webkit-scrollbar{display:none;}
.fcp-tools a{display:inline-flex; align-items:center; gap:7px; padding:7px 12px; border-radius:999px; background:#f3f5f9; color:var(--fcp-ink-2) !important; text-decoration:none !important; font-size:13px; font-weight:500; white-space:nowrap;}
.fcp-tools a:hover{background:#e9edf4; color:var(--fcp-ink) !important;}
.fcp-tools .fa{font-size:16px; color:var(--fcp-blue);}
.fcp-tools img{width:18px; height:18px; filter:brightness(0) saturate(100%) invert(26%) sepia(83%) saturate(1500%) hue-rotate(186deg);}

/* sticky tabs */
.fcp-tabs{position:sticky; top:0; z-index:1020; display:flex; gap:2px; padding:0 16px; background:#fff; border-top:1px solid var(--fcp-line); border-radius:0 0 var(--fcp-radius) var(--fcp-radius); overflow-x:auto; scrollbar-width:none;}
.fcp-tabs::-webkit-scrollbar{display:none;}
.fcp-tabs a{position:relative; padding:14px 14px 13px; color:var(--fcp-muted) !important; font-weight:500; font-size:14.5px; text-decoration:none !important; white-space:nowrap;}
.fcp-tabs a .fa{margin-right:4px;}
.fcp-tabs a:hover{color:var(--fcp-ink) !important;}
.fcp-tabs a.is-active{color:var(--fcp-ink) !important;}
.fcp-tabs a.is-active::after{content:""; position:absolute; left:12px; right:12px; bottom:0; height:3px; border-radius:3px 3px 0 0; background:var(--fcp-yellow);}
.fcp-tabs.is-stuck{border-radius:0; box-shadow:0 4px 14px rgba(27,33,51,.08);}

/* responsible note */
.fcp-note{display:flex; gap:10px; align-items:flex-start; background:#fffbea; border:1px solid #ffe9a3; color:#5c4a00; border-radius:12px; padding:10px 14px; margin:0 0 14px; font-size:13.5px;}
.fcp-note p{margin:0; line-height:1.5;}
.fcp-note .fa{color:#c99a00; margin-top:2px;}
.fcp-18{display:inline-block; font-weight:700; font-size:11px; padding:1px 6px; border-radius:4px; background:#5c4a00; color:#fff; margin-left:2px;}

/* ---------- cards ---------- */
.fcp-card{background:var(--fcp-card); border-radius:var(--fcp-radius); box-shadow:var(--fcp-shadow); padding:18px 20px; margin:0 0 14px; min-width:0;}
.fcp-card-title{margin:0 0 12px; font-size:16px; font-weight:700; color:var(--fcp-ink); display:flex; align-items:center; gap:8px; letter-spacing:0; text-transform:none;}
.fcp-card-title .fa{color:var(--fcp-yellow); background:var(--fcp-navy); width:28px; height:28px; border-radius:8px; display:inline-flex; align-items:center; justify-content:center; font-size:14px;}
.fcp-card-dark{background:var(--fcp-navy); color:#c9d1de;}
.fcp-card-dark .fcp-card-title{color:#fff;}
.fcp-card-dark .fcp-card-title .fa{background:var(--fcp-yellow); color:var(--fcp-navy);}
.fcp-label{display:block; font-size:12px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:var(--fcp-muted); margin:0 0 6px;}
.fcp-small{font-size:12.5px; color:var(--fcp-muted); margin:8px 0 0; line-height:1.5;}
.fcp-muted{color:var(--fcp-muted);}
.fcp-cols{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.fcp-cols > .fcp-card{margin:0;}
.fcp-about .fcp-cols{margin-bottom:14px;}

/* wallet */
.fcp-wallet-grid{display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:12px;}
.fcp-tile{border:1px solid var(--fcp-line); border-radius:14px; padding:14px; background:#fbfcfe; min-width:0; position:relative;}
.fcp-span-2{grid-column:span 2;}
.fcp-tile-head{display:flex; justify-content:space-between; align-items:baseline; gap:8px; margin-bottom:10px;}
.fcp-tile-head .fcp-label{margin:0;}
.fcp-balance{font-size:20px; font-weight:700; color:var(--fcp-ink); white-space:nowrap;}
.fcp-inline{display:flex; align-items:stretch; border:1px solid #cfd6e2; border-radius:999px; background:#fff; padding:3px; gap:4px;}
.fcp-inline:focus-within{border-color:var(--fcp-navy); box-shadow:0 0 0 3px rgba(27,33,51,.08);}
.fcp-cur{display:flex; align-items:center; padding:0 0 0 12px; color:var(--fcp-muted); font-weight:600;}
.fcp-inline input.form-control{flex:1; min-width:0; border:0 !important; box-shadow:none !important; background:transparent; height:38px; padding:0 6px; font-size:16px; border-radius:0;}
.fcp-inline .fcp-btn{height:38px;}
.fcp-tile-btn{display:flex !important; flex-direction:column; align-items:flex-start; gap:4px; width:100%; height:100%; padding:0; margin:0; border:0; background:none; text-align:left; cursor:pointer; color:inherit; font:inherit;}
.fcp-tile-btn[disabled]{cursor:not-allowed;}
.fcp-offer{background:linear-gradient(160deg, var(--fcp-navy) 0%, #24304c 100%); border:0; color:#fff;}
.fcp-offer .fcp-label{color:var(--fcp-yellow);}
.fcp-price{font-size:34px; font-weight:700; line-height:1; color:#fff; margin:2px 0;}
.fcp-price small{font-size:15px; font-weight:600; opacity:.8; margin-right:3px; vertical-align:top;}
.fcp-offer-what{font-size:13.5px; color:#c9d1de;}
.fcp-offer-what strong{color:#fff;}
.fcp-offer-cta{margin-top:auto; padding-top:10px; display:inline-flex; align-self:stretch; justify-content:center; height:36px; align-items:center; border-radius:999px; background:var(--fcp-yellow); color:var(--fcp-navy); font-weight:700; font-size:13.5px;}
.fcp-tile-btn:hover .fcp-offer-cta{background:var(--fcp-yellow-2);}
.fcp-offer.is-short .fcp-offer-cta{background:rgba(255,255,255,.12); color:#fff;}
.fcp-tile-active{background:linear-gradient(160deg,#eaf8f0,#fff); border-color:#bfe6cf;}
.fcp-tile-big{font-size:22px; font-weight:700; color:var(--fcp-ink);}
.fcp-tile-big small{font-size:14px; font-weight:500; color:var(--fcp-muted);}
.fcp-pill{display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:700; padding:4px 10px; border-radius:999px;}
.fcp-pill-green{background:var(--fcp-green); color:#fff;}
.fcp-flip-wrap{display:block; width:100%; overflow:hidden; margin-top:6px;}
.fcp-flip-wrap .flipdown{margin:0 !important; width:510px; transform-origin:left top;}
#payment_results:not(:empty),#bundle_results:not(:empty),#package_responds:not(:empty){margin-top:12px;}

/* appreciation modal */
.fcp-modal .modal-content{border:0; border-radius:18px; overflow:hidden;}
.fcp-modal .modal-header{background:var(--fcp-navy); color:#fff; border:0; padding:14px 18px;}
.fcp-modal .modal-title{font-weight:700; font-size:17px; display:flex; gap:8px; align-items:center;}
.fcp-modal .modal-title .fa{color:var(--fcp-yellow);}
.fcp-modal .close{color:#fff; opacity:.8; text-shadow:none;}
.fcp-modal .modal-body{padding:18px;}
.fcp-appr-who{display:flex; gap:14px; align-items:center; margin-bottom:14px;}
.fcp-appr-who img{width:64px; height:64px; border-radius:50%; object-fit:cover; border:3px solid var(--fcp-yellow);}
.fcp-appr-who strong{display:block; font-size:17px;}
.fcp-appr-who span{color:var(--fcp-muted); font-size:13.5px;}
.fcp-appr-bal{background:#f3f5f9; border-radius:10px; padding:10px 12px; font-size:13.5px; color:var(--fcp-ink-2); margin-bottom:14px; display:flex; justify-content:space-between;}
.fcp-chips{display:flex; flex-wrap:wrap; gap:6px; margin-bottom:8px;}
.fcp-chip{border:1px solid var(--fcp-line); background:#fff; border-radius:999px; padding:6px 14px; font-weight:600; font-size:14px; cursor:pointer; color:var(--fcp-ink);}
.fcp-chip.is-on,.fcp-chip:hover{background:var(--fcp-navy); color:#fff; border-color:var(--fcp-navy);}
.fcp-modal #appreciation_amount{height:46px; border-radius:12px; font-size:16px;}
.fcp-appr-actions{margin-top:14px;}

/* about / feed / record */
.fcp-say{font-size:15px; line-height:1.65; color:var(--fcp-ink-2); margin:0 0 12px;}
.fcp-facts{list-style:none; margin:0; padding:0; display:grid; gap:8px;}
.fcp-facts li{display:flex; gap:10px; align-items:center; font-size:14px; color:var(--fcp-ink-2);}
.fcp-facts .fa{width:18px; text-align:center; color:var(--fcp-muted);}
.fcp-facts b{color:var(--fcp-ink);}
.fcp-feed{list-style:none; margin:0; padding:0;}
.fcp-feed li{display:flex; gap:12px; padding:10px 0; border-top:1px solid var(--fcp-line);}
.fcp-feed li:first-child{border-top:0; padding-top:2px;}
.fcp-feed-ico{flex:none; width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:14px; background:#eef1f6; color:var(--fcp-muted);}
.fcp-feed-ico.is-wait{background:#fff4cc; color:#a37b00;}
.fcp-feed-ico.is-hit{background:#e3f5ea; color:var(--fcp-green);}
.fcp-feed-ico.is-miss{background:#fbe9e9; color:var(--fcp-red);}
.fcp-feed-body{min-width:0;}
.fcp-feed-body p{margin:0; font-size:14px; line-height:1.45; color:var(--fcp-ink-2);}
.fcp-feed-body b{color:var(--fcp-ink);}
.fcp-feed-meta{margin-top:3px !important; font-size:12.5px !important; color:var(--fcp-muted) !important;}
.fcp-tag{display:inline-block; font-size:11.5px; font-weight:600; padding:1px 8px; border-radius:999px; background:#eef1f6; color:var(--fcp-ink-2);}
.fcp-tag-wait{background:#fff4cc; color:#8a6800;} .fcp-tag-hit{background:#e3f5ea; color:#17804a;} .fcp-tag-miss{background:#fbe9e9; color:#b33a3a;}
.fcp-empty{color:var(--fcp-muted); margin:0;}
.fcp-table-wrap{overflow-x:auto; margin:0 -4px;}
.fcp-table{width:100%; border-collapse:collapse; font-size:14px;}
.fcp-table th,.fcp-table td{padding:10px 8px; border-top:1px solid var(--fcp-line); text-align:left; white-space:nowrap;}
.fcp-table thead th{border-top:0; font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--fcp-muted); font-weight:600;}
.fcp-table .num{text-align:right; font-variant-numeric:tabular-nums;}
.fcp-table tbody th{font-weight:600;}
.fcp-table tbody th a{color:var(--fcp-ink) !important;}
.fcp-table tr.is-this{background:#fffbea;}
.fcp-rate{display:inline-flex; align-items:center; gap:8px;}
.fcp-rate .fcp-meter{width:90px; margin:0;}
.fcp-rate small{color:var(--fcp-muted);}

/* ---------- forecasts area (content arrives by AJAX: restyle the containers) ---------- */
.fcp-sec{scroll-margin-top:64px;}
.fcp-sec-head{display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 0 12px;}
.fcp-sec-head h2{margin:0; font-size:18px; font-weight:700; color:var(--fcp-ink); display:flex; align-items:center; gap:8px;}
.fcp-sec-head h2 .fa{color:var(--fcp-yellow); background:var(--fcp-navy); width:30px; height:30px; border-radius:9px; display:inline-flex; align-items:center; justify-content:center; font-size:14px;}
.fcp-sec-head p{margin:0; color:var(--fcp-muted); font-size:13px;}

/* day tabs (general page) */
.fcp-days .os-tabs-controls{margin:0 0 12px;}
.fcp-days .nav-tabs{display:flex !important; flex-wrap:nowrap; gap:6px; border:0 !important; overflow-x:auto; scrollbar-width:none; padding:2px !important;}
.fcp-days .nav-tabs::-webkit-scrollbar{display:none;}
.fcp-days .nav-tabs .nav-item{flex:1 0 74px; width:auto !important; border:0 !important; background:none !important; margin:0 !important;}
.fcp-days .nav-tabs .nav-link{display:block; border:1px solid var(--fcp-line) !important; border-radius:12px !important; background:#fff !important; padding:8px 4px !important; text-align:center; color:var(--fcp-ink-2) !important; transition:background .15s;}
.fcp-days .nav-tabs .nav-link *{color:inherit !important; background:none !important;}
.fcp-days .nav-tabs .nav-link.active{background:var(--fcp-navy) !important; border-color:var(--fcp-navy) !important; color:#fff !important;}
.fcp-days .nav-tabs .nav-link.active .fcp-today{color:var(--fcp-yellow) !important;}
.fcp-days .tab-content{min-height:120px;}
.fcp-days .big-h-scroll{margin:0 !important;}
.fcp-days .request_forecaster_game_page{border-radius:14px !important; overflow:hidden; box-shadow:var(--fcp-shadow); border:0 !important;}

/* single-game page */
.fcp-single .fcp-grid{display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:14px; align-items:start;}
.fcp-single .fcp-grid > .fcp-card{margin:0;}
.fcp-single #forecaster_prediction_display,.fcp-single #forecaster_profile_display{min-width:0;}
.fcp-single .fcp-dark-scroller{background:#FFF; border-radius:var(--fcp-radius); padding:16px; overflow-x:auto; box-shadow:var(--fcp-shadow); color:#fff; margin:0 0 14px;}
.fcp-single .fcp-dark-scroller > div{min-width:0;}
.fcp-single .fcp-feed-row{display:grid; grid-template-columns:minmax(0,380px) minmax(0,1fr); gap:14px; align-items:start;}
.fcp-single .fcp-feed-col{min-width:0;}
.fcp-single #forecaster_event_check{min-width:0;}
.fcp-single .fcp-events{overflow-x:auto; padding:2px 2px 8px; margin:0 0 14px;}
#Loading_data:empty{display:none;}
#Loading_data p{color:var(--fcp-muted) !important; font-size:13px;}

/* owner back office */
.fcp-bo{background:linear-gradient(160deg,var(--fcp-navy) 0%,#22304f 100%); color:#c9d1de;}
.fcp-bo .fcp-card-title{color:#fff;}
.fcp-bo .fcp-card-title .fa{background:var(--fcp-yellow); color:var(--fcp-navy);}
.fcp-bo-stats{display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:0 0 14px;}
.fcp-bo-stat{background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); border-radius:14px; padding:14px;}
.fcp-bo-stat .value{font-size:26px !important; font-weight:700; color:#fff; line-height:1.1; font-variant-numeric:tabular-nums;}
.fcp-bo-stat .fcp-label{color:#8f9bb3; margin:6px 0 0;}
.fcp-bo-stat.is-cash .value{color:var(--fcp-yellow);}
.fcp-bo-actions{display:grid; grid-template-columns:repeat(3,1fr); gap:10px;}
.fcp-bo-actions a{display:flex; flex-direction:column; align-items:flex-start; gap:6px; padding:14px; border-radius:14px; background:#fff; color:var(--fcp-ink) !important; text-decoration:none !important; cursor:pointer; transition:transform .1s, box-shadow .15s;}
.fcp-bo-actions a:hover{transform:translateY(-1px); box-shadow:0 8px 20px rgba(0,0,0,.2);}
.fcp-bo-actions .fa{font-size:20px; width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center;}
.fcp-bo-actions b{font-size:15px;}
.fcp-bo-actions small{color:var(--fcp-muted); font-size:12.5px;}
.fcp-bo-ico-1{background:#e6f1fb; color:var(--fcp-blue);} .fcp-bo-ico-2{background:#fff1e0; color:#e07b00;} .fcp-bo-ico-3{background:#eef1f6; color:var(--fcp-navy);}
.fcp-bo-note{margin-top:12px; background:rgba(255,255,255,.06); border-radius:12px; padding:12px 14px; font-size:13.5px;}
.fcp-bo-note:empty,.fcp-bo-note:has(#current_buy_inns:empty):has(#buy_in_performance:empty){display:none;}
.fcp-tile-own .fcp-own-prices{color:var(--fcp-ink-2); font-size:15px;}
.fcp-tile-own b{color:var(--fcp-ink);}
.fcp-tabs a.is-off{display:none;}
#current_buy_inns:empty + #buy_in_performance:empty{display:none;}

/* ---------- responsive ---------- */
@media (max-width:991px){
  .fcp-id{grid-template-columns:auto 1fr; }
  .fcp-actions{grid-column:1 / -1; justify-content:flex-start;}
  .fcp-wallet-grid{grid-template-columns:1fr 1fr;}
  .fcp-tile-deposit{grid-column:1 / -1;}
  .fcp-span-2{grid-column:1 / -1;}
  .fcp-single .fcp-grid,.fcp-single .fcp-feed-row{grid-template-columns:1fr;}
  .fcp-bo-stats{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:767px){
  .fcp-cols{grid-template-columns:1fr;}
  .fcp-stats{grid-template-columns:repeat(3,1fr); row-gap:12px;}
  .fcp-stats li:nth-child(3){border-right:0;}
  .fcp-stats li:nth-child(4){padding-left:0;}
}
@media (max-width:575px){
  .fcp{padding:0 10px;}
  .fcp-hero{margin:0 -10px 12px; border-radius:0 0 14px 14px;}
  .fcp-cover{height:150px;}
  .fcp-crumbs{left:12px; top:12px; font-size:12px;}
  .fcp-id{padding:0 14px 6px; gap:4px 12px; grid-template-columns:1fr;}
  .fcp-avatar,.fcp-avatar .imgArea{width:112px !important; height:112px !important;}
  .fcp-avatar{margin-top:-60px;}
  .fcp-avatar .imgArea{border-width:4px;}
  .fcp-avatar #imgChange{opacity:1; height:34%; font-size:12px;}
  .fcp-online{right:8px; bottom:8px; width:18px; height:18px; border-width:3px;}
  .fcp-who{padding-top:4px;}
  .fcp-name{font-size:24px;}
  .fcp-handle{font-size:13px;}
  .fcp-actions{gap:6px;}
  .fcp-actions > .fcp-btn,.fcp-actions > .fcp-spy{flex:1 1 auto;}
  .fcp-spy .label{display:none;}
  .fcp-spy .btn,.fcp-spy .badge{width:100%; justify-content:center;}
  .fcp .fcp-hide-xs{display:none;}
  .fcp-stats{margin:8px 14px 0; grid-template-columns:repeat(3,1fr);}
  .fcp-stats li{padding:2px 8px;}
  .fcp-stats b{font-size:19px;}
  .fcp-stats span{font-size:10.5px;}
  .fcp-tools{margin:0 14px;}
  .fcp-tabs{padding:0 6px;}
  .fcp-tabs a{padding:13px 10px 12px; font-size:14px;}
  .fcp-card{padding:14px; border-radius:14px;}
  .fcp-wallet-grid{grid-template-columns:1fr;}
  .fcp-price{font-size:28px;}
  .fcp-flip-wrap .flipdown{transform:scale(.58); height:70px;}
  .fcp-bo-actions{grid-template-columns:1fr;}
  .fcp-bo-actions a{flex-direction:row; align-items:center;}
  .fcp-table th:nth-child(3),.fcp-table td:nth-child(3){display:none;}
  .fcp-rate .fcp-meter{width:56px;}
}
@media (prefers-reduced-motion:reduce){ .fcp *{transition:none !important;} }

/* =====================================================================
   Display v2: livelier cover, story-ring avatar, highlights, form strip,
   stat tiles, dated day tabs, modern game cards, timeline, skeletons.
   ===================================================================== */
.fcp-cover{height:250px;}
.fcp-cover-shade{background:
   radial-gradient(700px 260px at 88% 10%, rgba(255,204,0,.42), transparent 62%),
   radial-gradient(500px 240px at 8% 120%, rgba(10,111,184,.45), transparent 60%),
   linear-gradient(180deg, rgba(27,33,51,.15) 0%, rgba(27,33,51,.55) 65%, rgba(27,33,51,.9) 100%);}
.fcp-cover::after{content:""; position:absolute; inset:0; pointer-events:none; opacity:.5;
   background-image:radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.4px); background-size:18px 18px;
   -webkit-mask-image:linear-gradient(100deg, transparent 30%, #000 85%); mask-image:linear-gradient(100deg, transparent 30%, #000 85%);}
.fcp-cover-balls{position:absolute; right:4%; top:0; bottom:0; width:46%; max-width:520px; pointer-events:none; z-index:1;}
.fcp-cover-balls i{position:absolute; display:flex; align-items:center; justify-content:center; border-radius:50%; font:700 22px/1 "Rubik",Arial,sans-serif; font-style:normal; color:var(--fcp-navy);
   background:radial-gradient(circle at 35% 30%, rgba(255,255,255,.55) 0, var(--b,#ffcc00) 38%, var(--b,#ffcc00) 62%, rgba(0,0,0,.28) 100%); box-shadow:0 10px 24px rgba(0,0,0,.35), inset 0 -6px 12px rgba(0,0,0,.18);}
.fcp-cover-balls i::before{content:""; position:absolute; inset:24%; border-radius:50%; background:rgba(255,255,255,.92); z-index:-0;}
.fcp-cover-balls i{isolation:isolate;}
.fcp-cover-balls i::before{z-index:-1;}
.fcp-cover-balls i:nth-child(1){--b:#ffcc00; width:86px; height:86px; right:6%; top:22%; animation:fcpFloat 7s ease-in-out infinite;}
.fcp-cover-balls i:nth-child(2){--b:#3fa9f5; width:62px; height:62px; right:30%; top:12%; font-size:18px; animation:fcpFloat 8s ease-in-out -2s infinite;}
.fcp-cover-balls i:nth-child(3){--b:#ff5a5f; width:72px; height:72px; right:22%; top:52%; animation:fcpFloat 9s ease-in-out -4s infinite;}
.fcp-cover-balls i:nth-child(4){--b:#2ecc71; width:48px; height:48px; right:48%; top:44%; font-size:15px; animation:fcpFloat 6s ease-in-out -1s infinite;}
.fcp-cover-balls i:nth-child(5){--b:#b18cff; width:54px; height:54px; right:58%; top:14%; font-size:16px; opacity:.85; animation:fcpFloat 10s ease-in-out -3s infinite;}
.fcp-cover-balls i:nth-child(6){--b:#ff9f1c; width:40px; height:40px; right:2%; top:66%; font-size:13px; animation:fcpFloat 7.5s ease-in-out -5s infinite;}
@keyframes fcpFloat{0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-10px) rotate(8deg)}}

/* avatar: initial behind the photo (shown if the photo fails), gold ring after a fresh post */
.fcp-avatar .imgArea{display:flex; align-items:center; justify-content:center;}
.fcp-initial{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font:700 64px/1 "Rubik",Arial,sans-serif; color:#fff;
   background:linear-gradient(140deg, var(--fcp-navy-3), var(--fcp-navy)); text-shadow:0 2px 0 rgba(0,0,0,.2);}
.fcp-avatar .imgArea img{position:relative; z-index:1;}
.fcp-avatar .imgArea #imgChange,.fcp-avatar .progressBar{z-index:2;}
.fcp-avatar::before{content:""; position:absolute; inset:-6px; border-radius:50%; background:conic-gradient(var(--fcp-line), #fff, var(--fcp-line)); z-index:-1;}
.fcp-avatar.is-fresh::before{background:conic-gradient(from 210deg, #ffcc00, #ff8a00, #ff3d6e, #ffcc00); animation:fcpSpin 6s linear infinite;}
@keyframes fcpSpin{to{transform:rotate(360deg)}}
.fcp-avatar{isolation:isolate;}

/* highlights */
.fcp-who-more{min-width:0;}
@media (max-width:991px){ .fcp-who-more{grid-column:1 / -1;} }
@media (min-width:576px) and (max-width:991px){ .fcp-who-more{padding-left:0;} }
.fcp-chiprow{list-style:none; margin:10px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:6px;}
.fcp-hl{display:inline-flex; align-items:center; gap:6px; height:28px; padding:0 11px; border-radius:999px; font-size:12.5px; font-weight:500; background:#f1f4f9; color:var(--fcp-ink-2); border:1px solid var(--fcp-line);}
.fcp-hl .fa{font-size:12px; color:var(--fcp-muted);}
.fcp-hl.is-live{background:#e9f8ef; border-color:#c4ebd3; color:#156c3c;}
.fcp-hl.is-live .fa{color:var(--fcp-green);}
.fcp-hl.is-live::before{content:""; width:7px; height:7px; border-radius:50%; background:var(--fcp-green); box-shadow:0 0 0 0 rgba(31,157,85,.6); animation:fcpPulse 1.8s infinite; margin-right:-1px;}
.fcp-hl.is-live .fa{display:none;}
@keyframes fcpPulse{0%{box-shadow:0 0 0 0 rgba(31,157,85,.55)} 70%{box-shadow:0 0 0 7px rgba(31,157,85,0)} 100%{box-shadow:0 0 0 0 rgba(31,157,85,0)}}
.fcp-hl.is-wait{background:#fff7d6; border-color:#ffe58a; color:#7a5d00;}
.fcp-hl.is-wait .fa{color:#c99a00;}
.fcp-hl.is-best{background:var(--fcp-navy); border-color:var(--fcp-navy); color:#fff;}
.fcp-hl.is-best .fa,.fcp-hl.is-best b{color:var(--fcp-yellow);}
.fcp-hl.is-ok .fa{color:var(--fcp-blue);}

/* form strip */
.fcp-form{display:flex; align-items:center; gap:10px; margin:10px 0 0; flex-wrap:wrap;}
.fcp-form-label{font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--fcp-muted);}
.fcp-form ol{list-style:none; margin:0; padding:0; display:flex; gap:4px;}
.fcp-form li{width:22px; height:22px; border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; color:#fff; cursor:default;}
.fcp-form li.is-hit{background:var(--fcp-green);}
.fcp-form li.is-miss{background:#e6e9ef; color:#9aa4b5;}
.fcp-form li:last-child{box-shadow:0 0 0 2px #fff, 0 0 0 4px var(--fcp-yellow);}
.fcp-form-sum{font-size:12.5px; color:var(--fcp-muted);}
.fcp-form-sum b{color:var(--fcp-ink);}

/* stat tiles */
.fcp-stats{gap:10px; border-top:0; padding:16px 0 14px; margin-top:6px;}
.fcp-stats li{display:flex; align-items:center; gap:12px; padding:12px 14px !important; border:1px solid var(--fcp-line) !important; border-radius:14px; background:linear-gradient(180deg,#fff,#f8fafd);}
.fcp-stats li > div{min-width:0;}
.fcp-stats b{font-size:21px;}
.fcp-stats span{font-size:11px;}
.fcp-stats .fcp-sico{flex:none; width:40px; height:40px; border-radius:50px; display:flex !important; align-items:center; justify-content:center; font-size:17px; margin:0;}
.fcp-sico.is-blue{background:#e6f1fb; color:var(--fcp-blue);}
.fcp-sico.is-violet{background:#f0eaff; color:#6c47d9;}
.fcp-sico.is-gold{background:#fff4cc; color:#a37b00;}
.fcp-sico.is-navy{background:#e9ecf3; color:var(--fcp-navy);}
.fcp-stats .fcp-ring{flex:none; width:44px; height:44px; border-radius:50%; display:flex !important; align-items:center; justify-content:center; margin:0; position:relative;
   background:conic-gradient(var(--fcp-green) calc(var(--p) * 1%), #e3e8ef 0);}
.fcp-ring::before{content:""; position:absolute; inset:5px; border-radius:50%; background:#fff;}
.fcp-ring .fa{position:relative; color:var(--fcp-green); font-size:16px;}
.fcp-stat-hit{background:linear-gradient(160deg,#effaf3,#fff) !important; border-color:#cdeedb !important;}

/* header row: actions sit at the top right, next to the name */
@media (min-width:992px){
  .fcp-id{align-items:start;}
  .fcp-avatar{grid-column:1; grid-row:1 / span 2;}
  .fcp-who{grid-column:2; grid-row:1;}
  .fcp-actions{grid-column:3; grid-row:1;}
  .fcp-who-more{grid-column:2 / -1; grid-row:2;}
  .fcp-actions{padding-top:16px; padding-bottom:0; max-width:560px;}
  .fcp-actions .fcp-notify{justify-content:flex-end; text-align:right;}
}
.fcp-actions .fcp-notify{flex:1 0 100%; margin:4px 0 0; flex-wrap:wrap; font-size:12.5px;}

/* tabs */
.fcp-tabs a.is-active{color:var(--fcp-navy) !important; font-weight:600;}

/* card titles everywhere get a little more presence */
.fcp-card{border:1px solid rgba(227,231,239,.7);}
.fcp-subtitle{margin:16px 0 8px; font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--fcp-muted);}

/* day tabs: name, date, today */
.fcp-days .nav-tabs .nav-link{padding:10px 4px 9px !important;}
.fcp-days .nav-tabs .nav-link table,.fcp-days .nav-tabs .nav-link td{margin:0 !important; padding:0 !important; border:0 !important; background:none !important; width:100%;}
.fcp-days .nav-tabs .nav-link .nice_font{font-size:13px !important; letter-spacing:.06em; font-weight:700 !important;}
.fcp-daydate{font-size:12px; color:var(--fcp-muted) !important; margin-top:2px; white-space:nowrap;}
.fcp-days .nav-tabs .nav-link.active .fcp-daydate{color:rgba(255,255,255,.7) !important;}
.fcp-today{display:inline-block; margin-top:4px; padding:1px 8px; border-radius:999px; font-size:10.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; background:var(--fcp-yellow) !important; color:var(--fcp-navy) !important;}
.fcp-days .nav-tabs .nav-link.active .fcp-today{color:var(--fcp-navy) !important; background:var(--fcp-yellow) !important;}
.fcp-days .nav-tabs .nav-link:not(.active):hover{border-color:#c6cede !important; background:#f8fafd !important;}
.fcp-days .nav-tabs .nav-link.active{box-shadow:0 8px 18px rgba(27,33,51,.22);}




/* game cards (markup comes from the server feed; restyled here) */
/*.fcp-days .horizontal_list{display:flex !important; gap:12px; padding:4px 2px 10px !important; margin:0 !important;}
.fcp-days .horizontal_list > li{display:block !important; flex:none;}
.fcp-days .request_forecaster_game_page,.fcp-days .request_forecaster_game_pagex{display:block !important; width:400px !important; min-height:0 !important; height:auto !important; white-space:normal !important;
   background:#fff !important; color:var(--fcp-ink) !important; border:1px solid var(--fcp-line) !important; border-radius:16px !important; padding:24px 14px 24px !important; margin:0 !important;
   box-shadow:0 1px 2px rgba(27,33,51,.05), 0 6px 16px rgba(27,33,51,.06) !important; transition:transform .12s, box-shadow .15s, border-color .15s; overflow:hidden !important; position:relative;}*/
.fcp-days .request_forecaster_game_page::before{content:""; position:absolute; left:0; top:0; right:0; height:0px; background:linear-gradient(90deg,var(--fcp-yellow),#ff9f1c);}
.fcp-days .request_forecaster_game_page:hover{transform:translateY(-2px); box-shadow:0 12px 26px rgba(27,33,51,.14) !important; border-color:#d3dae6 !important;}
.fcp-days .request_forecaster_game_page_active{border-color:var(--fcp-navy) !important; box-shadow:0 0 0 3px rgba(255,204,0,.55), 0 12px 26px rgba(27,33,51,.14) !important;}
/*.fcp-days .request_forecaster_game_pagex{opacity:.6; cursor:not-allowed;}
.fcp-days .request_forecaster_game_page > div:first-child,.fcp-days .request_forecaster_game_pagex > div:first-child{font-size:10.5px !important; font-weight:600; letter-spacing:.08em; color:var(--fcp-muted) !important; margin:2px 0 2px !important;}
.fcp-days .request_forecaster_game_page > div:first-child::after{content:" →"; color:var(--fcp-blue);}
.fcp-days .event_plate_feed{font-size:17px !important; font-weight:700 !important; color:var(--fcp-navy) !important; line-height:1.2; background:none !important; padding:0 !important; margin:0 0 24px !important; border:0 !important;}
.fcp-days .request_forecaster_game_page .row,.fcp-days .request_forecaster_game_pagex .row{display:grid !important; grid-template-columns:repeat(3,1fr); gap:6px; margin:8px 0 0 !important;}
.fcp-days .request_forecaster_game_page .row > div,.fcp-days .request_forecaster_game_pagex .row > div{max-width:none !important; width:auto !important; flex:none !important; padding:15px 2px 15px !important; margin:0 !important;
   background:#f4f6fa !important; border:0 !important; border-radius:10px; display:flex !important; flex-direction:column; align-items:center; justify-content:center; min-width:0;}
.fcp-days .row > div .os-icon{width:36px !important; height:36px !important; padding:0 !important; margin:0 0 7px !important; font-size:15px !important; border-radius:50% !important; display:flex !important; align-items:center; justify-content:center; line-height:1;}
.fcp-days .row > div .os-icon-close{background:#e2e6ee !important; color:#a3acbb !important; font-size:11px !important;}
.fcp-days .row > div:has(.os-icon-check){background:#fff !important; box-shadow:inset 0 0 0 1px var(--fcp-line);}
.fcp-days .row > div > div:last-child:not(.os-icon){margin:0 !important; font-size:10.5px !important; color:var(--fcp-ink-2) !important; letter-spacing:.02em; white-space:nowrap;}
.fcp-days .row > div > div:last-child span{font-size:11px !important;}
.fcp-days .request_forecaster_game_page .row:last-child,.fcp-days .request_forecaster_game_pagex .row:last-child{grid-template-columns:1fr 1fr; margin-top:26px !important;}
.fcp-days .row:last-child > div{flex-direction:row !important; gap:6px; padding:6px 8px !important; justify-content:center;}
.fcp-days .row:last-child > div > div{float:none !important; margin:0 !important; width:15px !important; height:15px !important; flex:none;}
.fcp-days .row:last-child > div::after{font-size:12px; color:var(--fcp-ink-2); font-weight:500;}
.fcp-days .row:last-child > div:first-child::after{content:"win";}
.fcp-days .row:last-child > div:last-child::after{content:"machine";}
*/


/* loading: a spinner instead of the old gif */
.fcp img[alt="Loading data..."]{display:none !important;}
.fcp img[alt="Loading data..."] + p{display:flex; align-items:center; justify-content:center; gap:10px; color:var(--fcp-muted) !important; font-size:13px; padding:24px 0; margin:0;}
.fcp img[alt="Loading data..."] + p::before{content:""; width:18px; height:18px; border-radius:50%; border:3px solid #dfe4ec; border-top-color:var(--fcp-navy); animation:fcpSpin .8s linear infinite;}
#Loading_data img[alt="Loading data..."]{display:none !important;}
#Loading_data img[alt="Loading data..."] + p{display:flex; align-items:center; justify-content:center; gap:10px; color:var(--fcp-muted) !important; font-size:13px; padding:18px 0; margin:0;}
#Loading_data img[alt="Loading data..."] + p::before{content:""; width:18px; height:18px; border-radius:50%; border:3px solid #dfe4ec; border-top-color:var(--fcp-navy); animation:fcpSpin .8s linear infinite;}

/* skeletons: see "numbers panel" below */
.fcp-single .fcp-events:has(#forecaster_event_check:empty){min-height:76px; border-radius:14px; background:
   linear-gradient(#e6eaf1,#e6eaf1) 0 0/120px 64px no-repeat, linear-gradient(#e6eaf1,#e6eaf1) 132px 0/120px 64px no-repeat,
   linear-gradient(#e6eaf1,#e6eaf1) 264px 0/120px 64px no-repeat, linear-gradient(#e6eaf1,#e6eaf1) 396px 0/120px 64px no-repeat;}

/* about: two columns, timeline feed, game chips */
.fcp-cols-about{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);}
.fcp-gamechips{list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:6px;}
.fcp-gamechips a,.fcp-gamechips span{display:inline-flex; align-items:center; gap:6px; padding:6px 10px 6px 12px; border-radius:999px; border:1px solid var(--fcp-line); background:#fff; color:var(--fcp-ink) !important; font-size:13px; font-weight:500; text-decoration:none !important; transition:border-color .15s, background .15s;}
.fcp-gamechips a:hover{border-color:var(--fcp-navy); background:#f8fafd;}
.fcp-gamechips small{font-size:11px; font-weight:600; color:var(--fcp-muted); background:#f1f4f9; border-radius:999px; padding:1px 7px;}
.fcp-gamechips .is-this{background:var(--fcp-navy); color:#fff !important; border-color:var(--fcp-navy);}
.fcp-gamechips .is-this small{background:rgba(255,255,255,.15); color:#fff;}
.fcp-timeline{position:relative;}
.fcp-timeline::before{content:""; position:absolute; left:16px; top:8px; bottom:8px; width:2px; background:var(--fcp-line); border-radius:2px;}
.fcp-timeline li{border-top:0 !important; padding:8px 0 !important; position:relative;}
.fcp-timeline .fcp-feed-ico{position:relative; z-index:1; box-shadow:0 0 0 4px #fff;}
.fcp-timeline .fcp-feed-body{flex:1; background:#f8fafd; border:1px solid #edf0f5; border-radius:12px; padding:8px 12px;}
.fcp-timeline li:hover .fcp-feed-body{border-color:#dfe4ec; background:#fff;}

/* track record */
.fcp-rate.is-high .fcp-meter i{background:var(--fcp-green);} .fcp-rate.is-high b{color:var(--fcp-green);}
.fcp-rate.is-mid .fcp-meter i{background:#e0a100;} .fcp-rate.is-mid b{color:#b07e00;}
.fcp-rate.is-low .fcp-meter i{background:#9aa4b5;} .fcp-rate.is-low b{color:var(--fcp-ink-2);}
.fcp-best{display:inline-flex; align-items:center; gap:4px; margin-left:6px; padding:1px 8px; border-radius:999px; background:var(--fcp-navy); color:var(--fcp-yellow); font-size:11px; font-weight:700; vertical-align:middle;}
.fcp-table tbody tr{transition:background .12s;}
.fcp-table tbody tr:hover{background:#f8fafd;}

@media (max-width:991px){
  .fcp-cover-balls{width:60%;}
  .fcp-stats{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:767px){
  .fcp-cols-about{grid-template-columns:1fr;}
  .fcp-stats{grid-template-columns:1fr 1fr; row-gap:10px;}
  .fcp-stats li{border-right:1px solid var(--fcp-line) !important;}
  .fcp-stats li:first-child{grid-column:1 / -1;}
  .fcp-stats li:nth-child(4){padding-left:14px !important;}
}
@media (max-width:575px){
  .fcp-cover{height:360px;}
  .fcp-cover-balls{width:70%; right:0;}
  .fcp-cover-balls i{transform:scale(.62); animation:none !important;}
  .fcp-cover-balls i:nth-child(2),.fcp-cover-balls i:nth-child(4),.fcp-cover-balls i:nth-child(5){display:none;}
  .fcp-cover-balls{top:30px;}
  .fcp-sec-head p{display:none;}
  .fcp-actions{display:grid !important; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto; gap:6px;}
  .fcp-actions > .fcp-spy,.fcp-actions > .fcp-btn{width:100%; min-width:0;}
  .fcp-actions .fcp-notify{grid-column:1 / -1; display:block; text-align:left; margin-top:6px;}
  .fcp-actions .fcp-notify .fa{margin-right:4px;}
  .fcp-actions .fcp-notify-set{margin-left:0;}
  .fcp-initial{font-size:44px;}
  .fcp-stats li{padding:10px !important; gap:10px;}
  .fcp-stats .fcp-sico{width:34px; height:34px; font-size:15px;}
  .fcp-stats b{font-size:18px;}
  .fcp-form li{width:20px; height:20px;}
  .fcp-days .request_forecaster_game_page,.fcp-days .request_forecaster_game_pagex{width:400px !important;}
}
@media (prefers-reduced-motion:reduce){ .fcp-cover-balls i,.fcp-avatar.is-fresh::before,.fcp-hl.is-live::before{animation:none !important;} }


/* game page: server-sent boxes, restyled */
.fcp-single .fcp-grid .alert[role="alert"]{position:relative; border:0 !important; border-radius:14px !important; padding:14px 16px !important; min-height:0 !important; margin:0 0 12px !important;
   background:linear-gradient(135deg, var(--fcp-navy) 0%, #2a3756 100%) !important; overflow:hidden;}
.fcp-single .fcp-grid .alert[role="alert"]::after{content:""; position:absolute; right:-30px; top:-30px; width:120px; height:120px; border-radius:50%; background:radial-gradient(circle, rgba(0,0,0,.35), transparent 70%);}
.fcp-single .fcp-grid .alert[role="alert"] hr{display:none;}
.fcp-single .fcp-grid .alert[role="alert"] .nice_font span,.fcp-single .fcp-grid .alert[role="alert"] > strong span{color:#fff !important; font-size:18px !important; letter-spacing:.01em;}
.fcp-single .fcp-grid .alert[role="alert"] > div{margin-top:4px !important; overflow:hidden; color:#c9d1de !important;}
.fcp-single .fcp-grid .alert[role="alert"] > div span{color:var(--fcp-yellow) !important; font-size:11.5px; letter-spacing:.06em;}
.fcp-single .fcp-grid .alert[role="alert"] > div strong{color:#fff !important;}
.fcp-single .fcp-grid .alert[role="alert"] .close{position:absolute; right:12px; top:50%; transform:translateY(-50%); margin:0 !important; background:rgba(255,255,255,.1) !important; border-radius:12px; width:46px; height:46px; display:flex; align-items:center; justify-content:center; z-index:1;}
.fcp-single .fcp-grid .alert[role="alert"] .close .Reload_users{font-size:22px !important; color:var(--fcp-yellow) !important; opacity:1 !important; padding:0 !important;}
.fcp-single .fcp-grid select.form-control{border-radius:12px 0 0 12px !important; border-color:var(--fcp-line) !important; background:#f5f7fa !important; height:42px !important;}
.fcp-single .fcp-grid .forecaster_charge_button{border-radius:0 12px 12px 0 !important; height:42px !important; background:var(--fcp-green) !important; border-color:var(--fcp-green) !important;}
.fcp-single .fcp-grid .table-responsive[style*="#DFDFDF"],.fcp-single .fcp-grid .pipeline-item[style*="#DFDFDF"]{background:#f5f7fa !important; border:1px solid var(--fcp-line) !important; border-radius:14px !important;}
.fcp-single .fcp-grid .pipeline-item > div[style*="#fdfec5"]{border-radius:12px !important; background:#fff7d6 !important; border-color:#ffe58a !important;}
.fcp-single .fcp-grid .pipeline-item > div[style*="#fdfec5"] *{background:transparent !important;}
.fcp-single .fcp-grid .pipeline-item > div[style*="#fdfec5"] > div[style*="#293145"]{background:var(--fcp-navy) !important; border-radius:10px !important; display:flex; align-items:center; justify-content:center; font-weight:700;}
.fcp-single .fcp-grid .table{border-radius:0px; overflow:hidden;}
.fcp-single .fcp-grid .table thead th{border-radius:0px; border:0 !important;}
.fcp-single .fcp-grid .table thead th[style*="#D0D0D0"]{background:#e9ecf3 !important; color:var(--fcp-ink) !important;}
.fcp-single .fcp-grid .table thead th[style*="#9F9F9F"]{background:var(--fcp-navy-3) !important;}
.fcp-single .fcp-grid .table thead th[style*="#090"]{background:var(--fcp-green) !important;}
.fcp-single .fcp-grid .table thead th[style*="#F00"]{background:var(--fcp-red) !important;}
.fcp-single .fcp-grid .table td{border-color:var(--fcp-line) !important;}

/* past events strip */

.fcp-single .fcp-events .horizontal_list{display:flex !important; gap:10px; white-space:nowrap; padding:4px 2px 8px !important; overflow:visible !important;}
.fcp-single .fcp-events .horizontal_list > li{display:block !important; flex:none;}
.fcp-single .forecaster_event_list_bot,.fcp-single .forecaster_event_list_botx,.fcp-single .forecaster_event_list_bot_active{width:132px !important; height:auto !important; padding:10px 10px 8px !important; border-radius:14px !important;
   background:#fff !important; color:var(--fcp-ink) !important; border:1px solid var(--fcp-line) !important; box-shadow:0 1px 2px rgba(27,33,51,.05), 0 4px 12px rgba(27,33,51,.05) !important; transition:transform .12s, box-shadow .15s;}
.fcp-single .forecaster_event_list_bot:hover{transform:translateY(-2px); box-shadow:0 10px 22px rgba(27,33,51,.12) !important; color:var(--fcp-ink) !important;}
.fcp-single .forecaster_event_list_bot_active{background:var(--fcp-navy) !important; color:#fff !important; border-color:var(--fcp-navy) !important; box-shadow:0 0 0 3px rgba(255,204,0,.55) !important;}
.fcp-single .forecaster_event_list_bot .fev-t,.fcp-single .forecaster_event_list_bot_active .fev-t{font-size:10.5px !important; letter-spacing:.08em; color:var(--fcp-muted) !important; margin:0 0 2px !important;}
/*.fcp-single .forecaster_event_list_bot_active .fev-t{color:rgba(255,255,255,.65) !important;}
.fcp-single .fcp-events .event_plate{font-size:22px !important; font-weight:700; font-variant-numeric:tabular-nums;}
.fcp-single .fcp-events .fev-row{display:grid !important; grid-template-columns:1fr 1fr; gap:4px; margin:6px 0 0 !important; padding:0 !important;}
.fcp-single .fcp-events .fev-row > div{max-width:none !important; width:auto !important; flex:none !important; padding:4px 0 !important; margin:0 !important; border:0 !important; border-radius:8px; background:#f4f6fa; display:flex !important; justify-content:center;}
.fcp-single .forecaster_event_list_bot_active .fev-row > div{background:rgba(255,255,255,.1);}
.fcp-single .fcp-events .fev-d{float:none !important; margin:0 !important; width:10px !important; height:10px !important;}
.fcp-single .fcp-events .fev-row > div:first-child .fev-d:not(.fev-win){border-color:#bfe6cf;}
.fcp-single .fcp-events .fev-row > div:last-child .fev-d:not(.fev-mac){border-color:#f2c4c4;}
.fcp-single .fcp-grid .pipeline-item > div[style*="#fdfec5"]{height:auto !important; display:flex !important; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px 10px 16px !important;}
.fcp-single .fcp-grid .pipeline-item > div[style*="#fdfec5"] > div{float:none !important; min-width:0 !important; width:auto !important; padding:0 !important;}*/
.fcp-single .fcp-grid .pipeline-item > div[style*="#fdfec5"] legend{margin:0 !important; font-size:14px;}
.fcp-single .fcp-grid .pipeline-item > div[style*="#fdfec5"] > div[style*="#293145"]{margin:0 !important; height:40px !important; min-width:58px !important; padding:0 12px !important;}

/* ---------- rankings ---------- */
.fcp-stats .fcp-stat-rank{position:relative; background:linear-gradient(160deg,#fffaf0,#fff) !important; border-color:#ffe3a3 !important;}
.fcp-stat-rank.is-top{background:linear-gradient(150deg,#1b2133,#2c3a5c) !important; border-color:var(--fcp-navy) !important;}
.fcp-stat-rank.is-top b{color:var(--fcp-yellow);}
.fcp-stat-rank.is-top b small,.fcp-stat-rank.is-top span{color:#aab4c8 !important;}
.fcp-stat-link{position:absolute; inset:0; z-index:1; border-radius:14px;}
.fcp-stat-rank:hover{box-shadow:0 6px 16px rgba(27,33,51,.1);}
.fcp-sico.is-rank{background:#ffefc2; color:#b98500;}
.fcp-stat-rank.is-top .fcp-sico.is-rank{background:var(--fcp-yellow); color:var(--fcp-navy);}
.fcp-stat-rank b small{font-size:12px; margin-left:4px;}
.fcp-stat-rank span{white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.fcp-hl.is-rank{background:#fff3cf; border-color:#ffdd80; color:#6b5000; font-weight:600;}
.fcp-hl.is-rank .fa{color:#c99a00;}
.fcp-hl.is-rank span{font-weight:400; opacity:.8;}

.fcp-medal{position:absolute; left:8px; bottom:10px; z-index:4; width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center;
   font:800 17px/1 "Rubik",Arial,sans-serif; color:#5a4000; border:3px solid #fff; box-shadow:0 4px 12px rgba(0,0,0,.25);
   background:radial-gradient(circle at 35% 30%, #fff6c4, #ffcc00 45%, #d49a00);}
.fcp-medal::after{content:""; position:absolute; top:-9px; left:50%; width:16px; height:10px; transform:translateX(-50%); background:linear-gradient(90deg,#1f6fd1 50%,#d64545 50%); clip-path:polygon(0 0,100% 0,80% 100%,20% 100%); z-index:-1;}
.fcp-medal-2{background:radial-gradient(circle at 35% 30%, #ffffff, #c8d0dc 45%, #8e99aa); color:#39424f;}
.fcp-medal-3{background:radial-gradient(circle at 35% 30%, #ffe2c4, #d8894a 45%, #a65e25); color:#4a2508;}

.fcp-rank-grid{display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:16px; align-items:stretch;}
.fcp-rank-me{display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:4px; padding:22px; border-radius:16px; position:relative; overflow:hidden;
   background:linear-gradient(150deg, var(--fcp-navy) 0%, #2a3756 100%); color:#c9d1de;}
.fcp-rank-me::after{content:""; position:absolute; right:-40px; bottom:-40px; width:180px; height:180px; border-radius:50%; background:radial-gradient(circle, rgba(255,204,0,.28), transparent 70%);}
.fcp-rank-pos{font:800 64px/1 "Rubik",Arial,sans-serif; color:#fff; letter-spacing:-.02em; font-variant-numeric:tabular-nums;}
.fcp-rank-pos small{font-size:30px; color:var(--fcp-yellow); margin-right:2px; vertical-align:top; position:relative; top:8px;}
.fcp-rank-me.is-top .fcp-rank-pos{color:var(--fcp-yellow);}
.fcp-rank-of{font-size:14px;}
.fcp-rank-pct{display:inline-block; margin-top:6px; padding:3px 10px; border-radius:999px; background:var(--fcp-yellow); color:var(--fcp-navy); font-weight:700; font-size:12.5px;}
.fcp-rank-pts{font-size:12.5px; color:#8f9bb3;}
.fcp-rank-also{margin-top:10px; padding-top:10px; border-top:1px solid rgba(255,255,255,.1); font-size:13px; color:#fff; width:100%; position:relative; z-index:1;}
.fcp-rank-also .fa{color:var(--fcp-yellow); margin-right:4px;}
.fcp-rank-board .fcp-subtitle{margin-top:2px;}
.fcp-lb{list-style:none; margin:0; padding:0; display:grid; gap:6px;}
.fcp-lb li{display:grid; grid-template-columns:30px 34px minmax(0,1fr) auto; align-items:center; gap:10px; padding:7px 12px 7px 8px; border-radius:12px; background:#f8fafd; border:1px solid #edf0f5;}
.fcp-lb-pos{font-weight:800; font-size:15px; color:var(--fcp-muted); text-align:center; font-variant-numeric:tabular-nums;}
.fcp-lb li.is-p1 .fcp-lb-pos,.fcp-lb li.is-p2 .fcp-lb-pos,.fcp-lb li.is-p3 .fcp-lb-pos{width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; color:#5a4000; background:radial-gradient(circle at 35% 30%, #fff6c4, #ffcc00 50%, #d49a00);}
.fcp-lb li.is-p2 .fcp-lb-pos{background:radial-gradient(circle at 35% 30%, #fff, #c8d0dc 50%, #8e99aa); color:#39424f;}
.fcp-lb li.is-p3 .fcp-lb-pos{background:radial-gradient(circle at 35% 30%, #ffe2c4, #d8894a 50%, #a65e25); color:#fff;}
.fcp-lb-av{position:relative; width:34px; height:34px; border-radius:50%; overflow:hidden; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:14px; color:#fff; background:linear-gradient(140deg, var(--fcp-navy-3), var(--fcp-navy));}
.fcp-lb-av img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover;}
.fcp-lb-name{font-weight:600; font-size:14px; color:var(--fcp-ink) !important; text-decoration:none !important; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
a.fcp-lb-name:hover{color:var(--fcp-blue) !important;}
.fcp-lb-pts{font-weight:700; font-size:14px; color:var(--fcp-ink); font-variant-numeric:tabular-nums; white-space:nowrap;}
.fcp-lb-pts small{font-weight:500; color:var(--fcp-muted); font-size:11px;}
.fcp-lb li.is-me{background:#fff7d6; border-color:#ffd966; box-shadow:0 0 0 1px #ffd966 inset;}
.fcp-lb li.is-me .fcp-lb-name::after{content:"this page"; margin-left:8px; font-size:10.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:#8a6800; background:#ffe58a; padding:1px 7px; border-radius:999px; vertical-align:2px;}
.fcp-lb li.fcp-lb-gap{display:block; background:none; border:0; text-align:center; color:var(--fcp-muted); padding:0; line-height:1; letter-spacing:.3em;}
.fcp-lb-more{display:inline-flex; align-items:center; gap:6px; margin-top:10px; font-size:13.5px; font-weight:600; text-decoration:none !important;}
.fcp-rk{display:inline-block; min-width:34px; text-align:center; font-weight:700; padding:1px 7px; border-radius:999px; background:#eef1f6; color:var(--fcp-ink);}
.fcp-rk.is-p1{background:#ffcc00; color:#4a3500;} .fcp-rk.is-p2{background:#d5dbe5; color:#39424f;} .fcp-rk.is-p3{background:#e8a46c; color:#3d1f05;}
@media (max-width:767px){
  .fcp-rank-grid{grid-template-columns:1fr;}
  .fcp-stats li:first-child{grid-column:1 / -1;}
}
@media (max-width:575px){
  .fcp-table th:nth-child(4),.fcp-table td:nth-child(4){display:none;}
  .fcp-table th:nth-child(3),.fcp-table td:nth-child(3){display:none;}
  .fcp-rank-pos{font-size:52px;}
  .fcp-medal{width:32px; height:32px; font-size:14px; left:2px; bottom:4px;}
}
@media (max-width:575px){ .fcp-crumbs{right:130px; flex-wrap:nowrap; overflow:hidden; white-space:nowrap;} .fcp-crumbs [aria-current]{overflow:hidden; text-overflow:ellipsis;} }


/* =====================================================================
   Numbers first: slimmer header, one clear call to action, the numbers
   panel right under the game cards, unlock card beside the numbers.
   ===================================================================== */
.fcp-cover{height:450px;}
.fcp-btn-cta{height:44px; padding:0 22px; font-size:15px;}
.fcp-btn-cta .fa{font-size:16px;}
.fcp-menu-item{display:flex; align-items:center; gap:10px; width:100%; padding:10px 12px; border:0; background:none; border-radius:8px; font:500 14px/1.2 inherit; font-family:inherit; color:var(--fcp-ink); cursor:pointer; text-align:left;}
.fcp-menu-item:hover{background:#f3f5f9;}
.fcp-menu-item .fa{width:18px; text-align:center; color:var(--fcp-muted);}
.fcp-more-menu .fc-pin-box{border-top:1px solid var(--fcp-line); margin-top:4px; padding-top:4px;}

/* tools live in the tab bar now */
.fcp-tabs{align-items:center;}
.fcp-tabs-tools{margin-left:auto; display:flex; gap:4px; padding-left:12px;}
.fcp-tabs-tools a{display:inline-flex !important; align-items:center; gap:6px; padding:7px 10px !important; border-radius:999px; font-size:13px !important; color:var(--fcp-ink-2) !important; background:#f3f5f9;}
.fcp-tabs-tools a::after{display:none !important;}
.fcp-tabs-tools a:hover{background:#e9edf4;}
.fcp-tabs-tools .fa{color:var(--fcp-blue); font-size:15px; margin:0 !important;}
.fcp-tabs-tools img{width:16px; height:16px; filter:brightness(0) saturate(100%) invert(26%) sepia(83%) saturate(1500%) hue-rotate(186deg);}
@media (max-width:1100px){ .fcp-tabs-tools a span{display:none;} }

/* how-to steps in the section head */
.fcp-howto{list-style:none; margin:0; padding:0; display:flex; gap:6px; flex-wrap:wrap;}
.fcp-howto li{display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:var(--fcp-ink-2); background:#f3f5f9; border-radius:999px; padding:4px 10px 4px 4px;}
.fcp-howto b{width:20px; height:20px; border-radius:50%; background:var(--fcp-navy); color:var(--fcp-yellow); display:inline-flex; align-items:center; justify-content:center; font-size:11px;}
.fcp-days > .fcp-card{border-top:4px solid var(--fcp-yellow);}

/* game card: a clear "View numbers" button at the bottom */
.fcp-days .request_forecaster_game_page::after{content:"View numbers  \2192"; display:block; margin:10px 0 0; height:36px; line-height:36px; border-radius:999px; text-align:center; font-weight:700; font-size:13.5px; background:var(--fcp-navy); color:#fff;}
.fcp-days .request_forecaster_game_page:hover::after{background:#2c3550;}
.fcp-days .request_forecaster_game_page_active::after{content:"Showing below  \2193"; background:var(--fcp-yellow); color:var(--fcp-navy);}

/* the numbers panel */
.fcp-panel{scroll-margin-top:64px;}
.fcp-panel .fcp-grid{grid-template-columns:minmax(0,1.75fr) minmax(300px,1fr) !important; gap:16px !important; align-items:start;}
.fcp-side{display:grid; gap:14px; position:sticky; top:62px; min-width:0;}
.fcp-side > .fcp-card{margin:0;}
.fcp-numbers-card{padding:16px !important; position:relative; min-height:220px;}
.fcp-panel > .fcp-note{margin:14px 0;}

/* unlock card in the side column: one column, compact */
.fcp-side .fcp-wallet{padding:16px;}
.fcp-side .fcp-wallet-grid{grid-template-columns:1fr !important; gap:10px;}
.fcp-side .fcp-span-2,.fcp-side .fcp-tile-deposit{grid-column:auto !important;}
.fcp-side .fcp-offer .fcp-tile-btn{display:grid !important; grid-template-columns:1fr auto; grid-template-areas:"label price" "what price" "cta cta"; align-items:center; column-gap:10px;}
.fcp-side .fcp-offer .fcp-label{grid-area:label; margin:0;}
.fcp-side .fcp-offer .fcp-price{grid-area:price; font-size:30px; text-align:right;}
.fcp-side .fcp-offer .fcp-offer-what{grid-area:what;}
.fcp-side .fcp-offer .fcp-offer-cta{grid-area:cta; margin-top:10px; padding-top:0;}
.fcp-side .fcp-flip-wrap .flipdown{transform:scale(.62); height:76px;}
.fcp-guest-say{font-size:14px; color:var(--fcp-ink-2); margin:0 0 12px; line-height:1.5;}
.fcp-steps{list-style:none; margin:0 0 14px; padding:0; display:grid; gap:8px;}
.fcp-steps li{display:flex; align-items:center; gap:10px; font-size:14px; color:var(--fcp-ink);}
.fcp-steps b{width:26px; height:26px; flex:none; border-radius:50%; background:var(--fcp-yellow); color:var(--fcp-navy); display:inline-flex; align-items:center; justify-content:center; font-size:13px;}
.fcp-guest-btns{display:grid; gap:8px;}
.fcp-guest{border-top:4px solid var(--fcp-yellow);}

/* "tap a game" hint (general page, before a game is chosen) */
.fcp-pick-hint{display:none; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:6px; min-height:220px; padding:20px; border:2px dashed #d7dde8; border-radius:14px; background:#fbfcfe; color:var(--fcp-muted);}
.fcp-pick-hint b{font-size:17px; color:var(--fcp-ink);}
.fcp-pick-hint span{font-size:13.5px; max-width:320px;}
.fcp-pick-ico{width:54px; height:54px; border-radius:50%; background:#fff4cc; color:#b98500; display:flex !important; align-items:center; justify-content:center; font-size:24px; margin-bottom:4px; animation:fcpNudge 1.6s ease-in-out infinite;}
@keyframes fcpNudge{0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)}}
.fcp-panel.is-general:not(.is-loading) .fcp-numbers-card:has(#forecaster_prediction_display:empty) .fcp-pick-hint{display:flex;}
.fcp-panel.is-general .fcp-perf-card:has(#forecaster_profile_display:empty){display:none;}
.fcp-panel.is-general #fcp-history:has(#forecaster_event_check:empty){display:none;}

/* loading skeleton (game page on load, or after tapping a game) */
.fcp-panel.is-single .fcp-numbers-card:has(#forecaster_prediction_display:empty)::before,
.fcp-panel.is-loading .fcp-numbers-card:has(#forecaster_prediction_display:empty)::before,
.fcp-panel.is-single .fcp-perf-card:has(#forecaster_profile_display:empty)::before{content:""; display:block; height:190px; border-radius:12px;
   background:
     linear-gradient(135deg,#1f2840,#2a3756) 0 0/100% 64px no-repeat,
     radial-gradient(circle,#e8ecf2 21px,transparent 22px) 0 86px/56px 50px repeat-x,
     linear-gradient(#eef1f6,#eef1f6) 0 150px/60% 14px no-repeat;
   animation:fcpPulseBg 1.2s ease-in-out infinite;}
.fcp-panel.is-single .fcp-perf-card:has(#forecaster_profile_display:empty)::before{height:150px;}
@keyframes fcpPulseBg{50%{opacity:.55}}

/* the numbers: lotto balls (unlocked) or locked slots */
#forecaster_prediction_display .table-responsive{border-radius:14px !important;}
#forecaster_prediction_display thead th{border-radius:10px 10px 0 0; font-weight:700 !important; letter-spacing:.03em; padding:9px 12px !important;}
#forecaster_prediction_display table table td{padding:7px 4px !important; vertical-align:middle;}
#forecaster_prediction_display table table td > div{width:46px !important; min-width:0 !important; height:46px !important; padding:0 !important; margin:0 auto !important; border-radius:50% !important;
   display:flex !important; align-items:center; justify-content:center; background:#fff !important; border-width:2px !important; border-style:solid !important;
   font:800 19px/1 "Rubik",Arial,sans-serif; color:var(--fcp-navy) !important; box-shadow:0 3px 8px rgba(27,33,51,.12), inset 0 -3px 0 rgba(27,33,51,.06); font-variant-numeric:tabular-nums;}
#forecaster_prediction_display table table td > div:has(> span[style*="hidden"]){background:repeating-linear-gradient(135deg,#f3f5f9 0 6px,#e9edf3 6px 12px) !important; border-style:dashed !important; box-shadow:none; position:relative;}
#forecaster_prediction_display table table td > div:has(> span[style*="hidden"])::after{content:"\f023"; font-family:FontAwesome; font-weight:400; font-size:1px; color:#9aa4b5; position:absolute;}
#forecaster_prediction_display table table td > div > span[style*="hidden"]{position:absolute;}
#forecaster_prediction_display select.form-control{height:48px !important; font-size:15px !important;}
#forecaster_prediction_display .forecaster_charge_button{height:48px !important; min-width:130px !important; background:var(--fcp-yellow) !important; border-color:var(--fcp-yellow) !important;}
#forecaster_prediction_display .forecaster_charge_button span{color:var(--fcp-navy) !important; font-size:14px !important; font-weight:800 !important;}
#forecaster_prediction_display .forecaster_charge_button span::before{content:"\f09c  "; font-family:FontAwesome; font-weight:400;}

@media (max-width:991px){
  .fcp-panel .fcp-grid{grid-template-columns:1fr !important;}
  .fcp-side{position:static;}
}
@media (max-width:575px){
  .fcp-cover{height:340px;}
  .fcp-btn-cta{grid-column:1 / -1; order:-1;}
  .fcp-actions{grid-template-columns:minmax(0,1fr) auto auto !important;}
  .fcp-howto{display:none;}
  .fcp-sec-head p{display:none;}
  #forecaster_prediction_display table table td > div{width:38px !important; height:38px !important; font-size:16px;}
  .fcp-tabs-tools{padding-left:6px;}
  .fcp-tabs-tools a{padding:7px 8px !important;}
}
/* phones: the number rows wrap instead of running off the screen */
@media (max-width:767px){
  #forecaster_prediction_display .table-responsive{overflow:visible !important; padding:8px !important;}
  #forecaster_prediction_display table.nowrap,#forecaster_prediction_display table.nowrap th{white-space:normal !important;}
  #forecaster_prediction_display table{table-layout:fixed; width:100% !important;}
  #forecaster_prediction_display thead th{font-size:11.5px !important; padding:7px 6px !important; letter-spacing:0;}
  #forecaster_prediction_display thead th div{white-space:normal;}
  #forecaster_prediction_display table table{table-layout:auto;}
  #forecaster_prediction_display table table tr{display:flex !important; flex-wrap:wrap; justify-content:center; gap:4px; padding:6px 2px;}
  #forecaster_prediction_display table table td{display:block !important; padding:0 !important; border:0 !important; background:none !important;}
}
#forecaster_prediction_display > .table-responsive:first-of-type td:last-child{width:1% !important; white-space:nowrap;}
#forecaster_prediction_display > .table-responsive:first-of-type td:last-child button{height:48px !important; min-width:130px; padding:0 16px !important; white-space:nowrap; border-radius:0 12px 12px 0 !important; overflow:hidden;}
#forecaster_prediction_display > .table-responsive:first-of-type td:last-child button *{white-space:nowrap;}

/* =====================================================================
   Section tab bar v3 — wraps instead of scrolling sideways, sits in the
   normal page flow (no longer sticky above menus, pop-ups and the site
   header), section links as pills, tools as a separate group.
   ===================================================================== */
.fcp .fcp-tabs{
  position:relative !important; top:auto; z-index:auto !important;
  display:flex; flex-wrap:wrap; align-items:center; gap:8px 6px;
  overflow:visible !important; padding:12px 16px 14px;
  background:linear-gradient(180deg,#fff 0%,#f7f9fc 100%);
  border-top:1px solid var(--fcp-line); border-radius:0 0 var(--fcp-radius) var(--fcp-radius);
  box-shadow:none;
}
.fcp .fcp-tabs.is-stuck{border-radius:0 0 var(--fcp-radius) var(--fcp-radius); box-shadow:none;}
.fcp .fcp-tabs > a{
  display:inline-flex; align-items:center; gap:7px;
  padding:9px 16px; border-radius:999px; white-space:nowrap;
  font-size:14px; font-weight:600; letter-spacing:.01em;
  color:var(--fcp-ink-2) !important; background:#fff;
  border:1px solid var(--fcp-line); box-shadow:0 1px 2px rgba(27,33,51,.05);
  transition:background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.fcp .fcp-tabs > a .fa{margin:0; font-size:15px; color:var(--fcp-blue); transition:color .18s;}
.fcp .fcp-tabs > a:hover{color:var(--fcp-navy) !important; border-color:#cdd5e3; transform:translateY(-1px); box-shadow:0 4px 10px rgba(27,33,51,.08);}
.fcp .fcp-tabs > a::after{display:none !important;}
.fcp .fcp-tabs > a.is-active{
  background:var(--fcp-navy); border-color:var(--fcp-navy);
  color:#fff !important; box-shadow:0 6px 14px rgba(27,33,51,.22);
}
.fcp .fcp-tabs > a.is-active .fa{color:var(--fcp-yellow);}
.fcp .fcp-tabs > a:focus-visible,.fcp .fcp-tabs-tools a:focus-visible{outline:3px solid var(--fcp-yellow); outline-offset:2px;}
.fcp .fcp-tabs > a.is-off{display:none;}

/* tools: their own group on the right, wraps to its own line when space runs out */
.fcp .fcp-tabs-tools{
  margin-left:auto; padding:4px; display:flex; flex-wrap:wrap; gap:4px;
  background:#eef1f6; border-radius:999px;
}
.fcp .fcp-tabs-tools a{
  display:inline-flex !important; align-items:center; gap:6px;
  padding:7px 12px !important; border-radius:999px; white-space:nowrap;
  font-size:13px !important; font-weight:500; background:transparent;
  color:var(--fcp-ink-2) !important; text-decoration:none !important;
  transition:background .18s, color .18s;
}
.fcp .fcp-tabs-tools a:hover{background:#fff; color:var(--fcp-navy) !important; box-shadow:0 2px 6px rgba(27,33,51,.08);}
.fcp .fcp-tabs-tools a span{display:inline;}

@media (max-width:767px){
  .fcp .fcp-tabs{padding:10px 10px 12px; gap:6px;}
  .fcp .fcp-tabs > a{flex:1 1 auto; justify-content:center; padding:9px 12px; font-size:13.5px;}
  .fcp .fcp-tabs-tools{margin-left:0; flex:1 1 100%; justify-content:space-between; border-radius:14px;}
  .fcp .fcp-tabs-tools a{flex:1 1 0; justify-content:center; padding:8px 6px !important; border-radius:10px;}
}
@media (max-width:420px){
  .fcp .fcp-tabs-tools a span{display:none;}
  .fcp .fcp-tabs-tools a{padding:9px 6px !important;}
  .fcp .fcp-tabs-tools .fa,.fcp .fcp-tabs-tools img{width:18px; height:18px; font-size:18px;}
}

/* "Show Appreciation" button */
.fcp .fcp-btn-cta .fa-gift{font-size:17px;}
@media (max-width:420px){
  .fcp .fcp-tabs-tools a{flex-direction:column; gap:3px; padding:7px 4px !important;}
  .fcp .fcp-tabs-tools a span{display:block; font-size:11px; line-height:1.1;}
}

/* =====================================================================
   Share / ⋯ menus: drop-down on larger screens, bottom sheet on phones
   ===================================================================== */
.fcp .fcp-share-menu[hidden],.fcp .fcp-more-menu[hidden]{display:none !important;}
.fcp-sheet-title{display:none;}
.fcp .fcp-share-menu,.fcp .fcp-more-menu{z-index:1060; animation:fcpMenuIn .16s ease-out;}
@keyframes fcpMenuIn{from{opacity:0; transform:translateY(-6px);} to{opacity:1; transform:none;}}
.fcp-sheet-backdrop{position:fixed; inset:0; z-index:1065; background:rgba(14,18,30,.5); -webkit-backdrop-filter:blur(2px); backdrop-filter:blur(2px); animation:fcpFade .2s ease-out;}
.fcp-sheet-backdrop[hidden]{display:none !important;}
@keyframes fcpFade{from{opacity:0;} to{opacity:1;}}
html.fcp-sheet-open,html.fcp-sheet-open body{overflow:hidden;}
.fcp .fcp-share-menu.is-sheet,.fcp .fcp-more-menu.is-sheet{
  position:fixed !important; left:0 !important; right:0 !important; top:auto !important; bottom:0 !important;
  z-index:1070; width:100%; min-width:0; max-height:80vh; overflow-y:auto;
  margin:0; padding:10px 14px calc(18px + env(safe-area-inset-bottom));
  border-radius:20px 20px 0 0; border:0; box-shadow:0 -12px 40px rgba(14,18,30,.3);
  animation:fcpSheetUp .24s cubic-bezier(.2,.8,.2,1);
}
@keyframes fcpSheetUp{from{transform:translateY(100%);} to{transform:none;}}
.fcp .is-sheet::before{content:""; display:block; width:42px; height:5px; border-radius:3px; background:#d5dbe6; margin:2px auto 10px;}
.fcp .is-sheet .fcp-sheet-title{display:block; margin:0 4px 8px; font-size:15px; font-weight:700; color:var(--fcp-ink);}
.fcp .fcp-share-menu.is-sheet{display:grid !important; grid-template-columns:repeat(5,1fr); gap:6px;}
.fcp .fcp-share-menu.is-sheet::before,.fcp .fcp-share-menu.is-sheet .fcp-sheet-title{grid-column:1 / -1;}
.fcp .fcp-share-menu.is-sheet a,.fcp .fcp-share-menu.is-sheet button{flex-direction:column; justify-content:center; gap:6px; padding:12px 2px; font-size:12px; text-align:center; border-radius:14px;}
.fcp .fcp-share-menu.is-sheet .fa{width:48px; height:48px; border-radius:50%; background:#f1f4f9; display:flex; align-items:center; justify-content:center; font-size:22px;}
.fcp .fcp-more-menu.is-sheet .fcp-menu-item,.fcp .fcp-more-menu.is-sheet .btn{padding:14px 12px !important; font-size:15px !important;}

/* not logged in: Log in / Register on the cover */
.fcp-cover-auth{gap:8px;}
.fcp-auth-btn{display:inline-flex; align-items:center; gap:7px; height:38px; padding:0 16px; border-radius:999px; font-size:14px; font-weight:600; white-space:nowrap; text-decoration:none !important; transition:background .18s, transform .18s, box-shadow .18s;}
.fcp-auth-btn .fa{font-size:15px;}
.fcp-auth-login{color:#fff !important; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.35); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);}
.fcp-auth-login:hover{background:rgba(255,255,255,.26);}
.fcp-auth-join{color:var(--fcp-navy) !important; background:var(--fcp-yellow); border:1px solid var(--fcp-yellow); box-shadow:0 6px 16px rgba(0,0,0,.25);}
.fcp-auth-join:hover{background:var(--fcp-yellow-2); transform:translateY(-1px);}
@media (max-width:575px){
  .fcp-auth-btn{height:34px; padding:0 12px; font-size:13px; gap:6px;}
}
@media (max-width:575px){
  .fcp-cover:has(.fcp-cover-auth) .fcp-crumbs,.fcp-cover:has(.fcp-cover-tools) .fcp-crumbs{top:58px; left:16px; right:16px;}
}

/* menus opened at the end of <body> (see the script in forecaster_profile_hero.php) */
.fcp.fcp-portal{position:static; margin:0 !important; padding:0 !important; max-width:none;}
.fcp-portal .fcp-share-menu.is-drop,.fcp-portal .fcp-more-menu.is-drop{position:fixed !important; z-index:1070; min-width:220px;}
.fcp-portal .fcp-more-menu .fcp-menu-item{display:flex; align-items:center; gap:10px; width:100%; padding:10px 12px; border:0; background:none; border-radius:8px; font:inherit; font-size:14px; color:var(--fcp-ink); cursor:pointer; text-align:left;}

/* Spies tile: a short pulse when the count changes after Pin me / Unpin me */
.fcp-stats li.fcp-bump{animation:fcpBump .6s ease-out;}
.fcp-stats li.fcp-bump b{animation:fcpBumpTxt .6s ease-out;}
@keyframes fcpBump{0%{box-shadow:0 0 0 0 rgba(255,204,0,.55);} 100%{box-shadow:0 0 0 12px rgba(255,204,0,0);}}
@keyframes fcpBumpTxt{0%{transform:scale(1);} 35%{transform:scale(1.15); color:var(--fcp-green);} 100%{transform:scale(1);}}

/* =====================================================================
   Wallet row (general page): Spy wallet | Day bundle | Game bundle
   Three boxes of the same height. Wide screens: 3 across.
   Tablets (under 860px): the spy wallet on top, the two bundles side by side.
   Phones (under 480px): one box per row. Every row is the same height.
   ===================================================================== */
.fcp-wallet-row{margin:0 0 24px;}
.fcp-wallet-row .fcp-wallet{margin:0; padding:20px;}
.fcp-wallet-row .fcp-wallet-grid{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); grid-auto-rows:1fr; gap:14px; align-items:stretch;}
.fcp-wallet-row .fcp-wallet-grid > .fcp-tile{grid-column:auto; display:flex; flex-direction:column; height:100%; min-height:190px; padding:18px; border-radius:16px;}
.fcp-wallet-row .fcp-wallet-grid > .fcp-span-2{grid-column:span 2;}

/* box 1: spy wallet — label, big balance, the note, then Top up at the bottom */
.fcp-wallet-row .fcp-tile-deposit{background:linear-gradient(160deg,#fff 0%,#f4f7fb 100%);}
.fcp-wallet-row .fcp-tile-deposit .fcp-tile-head{flex-direction:column; align-items:flex-start; gap:4px; margin:0 0 6px;}
.fcp-wallet-row .fcp-tile-deposit .fcp-balance{font-size:30px; font-weight:700; line-height:1.05; color:var(--fcp-ink);}
.fcp-wallet-row .fcp-tile-deposit .fcp-small{order:1; margin:0 0 12px;}
.fcp-wallet-row .fcp-tile-deposit > label.fcp-label{order:2; margin:auto 0 6px;}
.fcp-wallet-row .fcp-tile-deposit .fcp-inline{order:3;}
.fcp-wallet-row .fcp-tile-deposit .fcp-inline .fcp-btn{padding:0 16px;}

/* boxes 2 and 3: bundles — the whole box is the button; Activate sits at the bottom */
.fcp-wallet-row .fcp-offer .fcp-tile-btn{display:flex !important; flex-direction:column; align-items:flex-start; height:100%; gap:6px;}
.fcp-wallet-row .fcp-offer .fcp-price{font-size:36px; margin:4px 0;}
.fcp-wallet-row .fcp-offer .fcp-offer-cta{margin-top:auto; padding-top:0; height:40px; width:100%;}
.fcp-wallet-row .fcp-offer{box-shadow:0 10px 24px rgba(27,33,51,.14); transition:transform .18s, box-shadow .18s;}
.fcp-wallet-row .fcp-offer:not(.is-short):hover{transform:translateY(-2px); box-shadow:0 14px 30px rgba(27,33,51,.2);}
.fcp-wallet-row .fcp-tile-active .fcp-tile-btn,.fcp-wallet-row .fcp-tile-own{justify-content:center;}

/* logged out: the three steps as three equal boxes, buttons side by side */
.fcp-wallet-row .fcp-guest .fcp-steps{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); grid-auto-rows:1fr; gap:14px; margin:6px 0 14px; padding:0;}
.fcp-wallet-row .fcp-guest .fcp-steps li{display:flex; align-items:center; gap:12px; margin:0; padding:16px 18px; border:1px solid var(--fcp-line); border-radius:16px; background:linear-gradient(160deg,#fff 0%,#f4f7fb 100%); font-weight:600; color:var(--fcp-ink);}
.fcp-wallet-row .fcp-guest .fcp-steps li b{flex:none; width:32px; height:32px; font-size:15px;}
.fcp-wallet-row .fcp-guest .fcp-guest-btns{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.fcp-wallet-row .fcp-guest .fcp-guest-btns .fcp-btn{margin:0;}

@media (max-width:860px){
  .fcp-wallet-row .fcp-wallet-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
  .fcp-wallet-row .fcp-wallet-grid > .fcp-tile-deposit,
  .fcp-wallet-row .fcp-wallet-grid > .fcp-span-2{grid-column:1 / -1;}
  .fcp-wallet-row .fcp-wallet-grid > .fcp-tile{min-height:170px;}
}
@media (max-width:767px){
  .fcp-wallet-row .fcp-guest .fcp-steps{grid-template-columns:minmax(0, 1fr); gap:10px;}
  .fcp-wallet-row .fcp-guest .fcp-guest-btns{grid-template-columns:minmax(0, 1fr); gap:10px;}
}
@media (max-width:479px){
  .fcp-wallet-row .fcp-wallet-grid{grid-template-columns:minmax(0, 1fr); gap:12px;}
  .fcp-wallet-row .fcp-wallet{padding:14px;}
  .fcp-wallet-row .fcp-wallet-grid > .fcp-tile{padding:16px; min-height:160px;}
  .fcp-wallet-row .fcp-offer .fcp-price{font-size:32px;}
}

/* =====================================================================
   About section: four cards of the same height — Profile, Recent forecasts,
   Rankings, Track record. Each card scrolls inside itself (a soft fade shows
   there is more). Large screens: 2 × 2. Phones: a row you swipe sideways,
   with buttons above to jump to a card.
   ===================================================================== */
.fcp-about{margin:0 0 24px;}
.fcp-about-top{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:0 0 14px;}
.fcp-about-h{margin:0; font-size:20px; font-weight:700; color:var(--fcp-ink); display:flex; align-items:center; gap:10px;}
.fcp-about-h .fa{width:34px; height:34px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; background:var(--fcp-navy); color:var(--fcp-yellow); font-size:16px;}
.fcp-about-nav{display:none; gap:6px; flex-wrap:wrap;}
.fcp-about-nav a{padding:7px 14px; border-radius:999px; font-size:13px; font-weight:600; color:var(--fcp-ink-2) !important; background:#fff; border:1px solid var(--fcp-line); text-decoration:none !important; white-space:nowrap;}
.fcp-about-nav a.is-on{background:var(--fcp-navy); border-color:var(--fcp-navy); color:#fff !important;}

.fcp-about-grid{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); grid-auto-rows:500px; gap:16px;}
.fcp-about-grid.is-n3 > .fcp-acard:last-child{grid-column:1 / -1;}

.fcp-acard{--acc:#3b6fd8; --acc-bg:#eaf1fe; position:relative; display:flex; flex-direction:column; min-height:0; overflow:hidden;
  background:#fff; border:1px solid rgba(227,231,239,.8); border-radius:20px; box-shadow:0 1px 2px rgba(27,33,51,.04), 0 10px 28px rgba(27,33,51,.07);
  transition:box-shadow .2s, transform .2s;}
.fcp-acard:hover{box-shadow:0 1px 2px rgba(27,33,51,.05), 0 16px 36px rgba(27,33,51,.11);}
.fcp-acard::before{content:""; position:absolute; left:0; right:0; top:0; height:4px; background:var(--acc); background:linear-gradient(90deg, var(--acc), color-mix(in srgb, var(--acc) 40%, #fff));}
.fcp-acard-recent{--acc:#e0a800; --acc-bg:#fff6d6;}
.fcp-acard-rank{--acc:#7a5af8; --acc-bg:#f0ecff;}
.fcp-acard-track{--acc:#1f9d61; --acc-bg:#e4f6ec;}

.fcp-acard-head{flex:none; display:flex; align-items:center; gap:12px; padding:20px 20px 14px; border-bottom:1px solid #eef1f6; background:#fff; position:relative; z-index:2; transition:box-shadow .2s;}
.fcp-acard.is-scrolled .fcp-acard-head{box-shadow:0 6px 14px -8px rgba(27,33,51,.18);}
.fcp-acard-ico{flex:none; width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:18px; background:var(--acc-bg); color:var(--acc);}
.fcp-acard-head h3{margin:0; font-size:16.5px; font-weight:700; color:var(--fcp-ink); line-height:1.2;}
.fcp-acard-head p{margin:2px 0 0; font-size:12.5px; color:var(--fcp-muted);}

.fcp-acard-body{flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:16px 20px 22px; scrollbar-width:thin; scrollbar-color:#cfd6e2 transparent; outline:none;}
.fcp-acard-body::-webkit-scrollbar{width:8px;}
.fcp-acard-body::-webkit-scrollbar-thumb{background:#d5dbe6; border-radius:8px; border:2px solid #fff;}
.fcp-acard-body:focus-visible{box-shadow:inset 0 0 0 2px var(--acc);}
.fcp-acard::after{content:""; position:absolute; left:0; right:8px; bottom:0; height:56px; pointer-events:none; opacity:0; transition:opacity .2s;
  background:linear-gradient(180deg, rgba(255,255,255,0), #fff 85%);}
.fcp-acard.has-more::after{opacity:1;}
.fcp-acard-body > :last-child{margin-bottom:0;}
.fcp-acard .fcp-subtitle{margin:18px 0 10px; font-weight: 700;}
.fcp-acard .fcp-small{margin:14px 0 0;}
.fcp-acard-empty{height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; color:var(--fcp-muted); text-align:center;}
.fcp-acard-empty .fa{font-size:34px; margin-bottom:8px; color:#c9d1de;}

/* 1. profile */
.fcp-ab-hero{display:flex; align-items:center; gap:12px; margin:0 0 14px;}
.fcp-ab-av{position:relative; flex:none; width:56px; height:56px; border-radius:50%; overflow:hidden; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--fcp-navy), #3a4560); color:var(--fcp-yellow); font-size:22px; font-weight:700; box-shadow:0 0 0 3px #fff, 0 0 0 5px var(--acc-bg);}
.fcp-ab-av img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover;}
.fcp-ab-who b{display:block; font-size:17px; color:var(--fcp-ink);}
.fcp-ab-who span{font-size:13px; color:var(--fcp-muted);}
.fcp-ab-stats{list-style:none; margin:0 0 14px; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px;}
.fcp-ab-stats li{padding:10px 8px; border-radius:14px; background:#f6f8fc; border:1px solid #edf0f5; text-align:center;}
.fcp-ab-stats b{display:block; font-size:20px; font-weight:700; color:var(--fcp-ink); line-height:1.15;}
.fcp-ab-stats span{font-size:11.5px; color:var(--fcp-muted);}
.fcp-acard-about .fcp-say{font-size:14.5px; line-height:1.65; margin:0 0 14px;}
.fcp-acard-about .fcp-facts{grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px;}
.fcp-acard-about .fcp-facts li{align-items:flex-start; gap:10px; padding:10px 12px; border-radius:12px; background:#fff; border:1px solid #edf0f5;}
.fcp-acard-about .fcp-facts .fa{flex:none; width:30px; height:30px; border-radius:9px; display:flex; align-items:center; justify-content:center; background:var(--acc-bg); color:var(--acc);}
.fcp-acard-about .fcp-facts span{display:flex; flex-direction:column; font-size:11.5px; color:var(--fcp-muted); line-height:1.3;}
.fcp-acard-about .fcp-facts b{font-size:14px; margin-top:2px;}

/* 2. recent forecasts */
.fcp-rc-sum{list-style:none; margin:0 0 14px; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px;}
.fcp-rc-sum li{padding:9px 6px; border-radius:12px; text-align:center; font-size:12px; font-weight:600;}
.fcp-rc-sum b{display:block; font-size:20px; line-height:1.15;}
.fcp-rc-sum .is-hit{background:#e3f5ea; color:#167a49;}
.fcp-rc-sum .is-miss{background:#fbe9e9; color:#b23a3a;}
.fcp-rc-sum .is-wait{background:#fff4cc; color:#8a6700;}
.fcp-acard-recent .fcp-feed-body p{margin:0;}
.fcp-acard-recent .fcp-feed-meta{display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:5px !important; font-size:12px; color:var(--fcp-muted);}

/* 3. rankings */
.fcp-acard-rank .fcp-rank-me{display:flex; align-items:center; gap:16px; text-align:left; padding:16px 18px; border-radius:16px;}
.fcp-acard-rank .fcp-rank-pos{font-size:44px; line-height:1; flex:none;}
.fcp-acard-rank .fcp-rank-txt{display:flex; flex-direction:column; gap:6px; min-width:0;}
.fcp-acard-rank .fcp-rank-tags{display:flex; gap:6px; flex-wrap:wrap;}
.fcp-acard-rank .fcp-rank-pct,.fcp-acard-rank .fcp-rank-pts{margin:0;}

/* 4. track record */
.fcp-tr-list{list-style:none; margin:0; padding:0; display:grid; gap:10px;}
.fcp-tr{padding:12px 14px; border-radius:14px; background:#f8fafd; border:1px solid #edf0f5; transition:border-color .15s, background .15s;}
.fcp-tr:hover{background:#fff; border-color:#dfe4ec;}
.fcp-tr.is-this{background:#fff; border-color:var(--acc); box-shadow:0 0 0 3px var(--acc-bg);}
.fcp-tr-top{display:flex; align-items:center; justify-content:space-between; gap:10px;}
.fcp-tr-name{font-weight:700; color:var(--fcp-ink); font-size:14.5px; min-width:0;}
.fcp-tr-name a{color:var(--fcp-ink) !important;}
.fcp-tr-name a:hover{color:var(--fcp-blue) !important;}
.fcp-tr .fcp-rk small{font-weight:500; opacity:.7;}
.fcp-tr-bar{display:flex; align-items:center; gap:10px; margin:9px 0 6px;}
.fcp-tr-bar .fcp-meter{flex:1; height:8px; border-radius:8px; background:#e6eaf1; overflow:hidden; display:block;}
.fcp-tr-bar .fcp-meter i{display:block; height:100%; border-radius:8px; background:#9aa6ba;}
.fcp-tr-bar.is-high .fcp-meter i{background:linear-gradient(90deg,#3cc480,#1f9d61);}
.fcp-tr-bar.is-mid .fcp-meter i{background:linear-gradient(90deg,#ffd54a,#e0a800);}
.fcp-tr-bar.is-low .fcp-meter i{background:linear-gradient(90deg,#f39a9a,#d94b4b);}
.fcp-tr-bar b{flex:none; min-width:42px; text-align:right; font-size:15px; color:var(--fcp-ink);}
.fcp-tr-meta{display:flex; flex-wrap:wrap; gap:4px 12px; font-size:12px; color:var(--fcp-muted);}

/* tablets: two per row, a little shorter */
@media (max-width:991px){
  .fcp-about-grid{grid-auto-rows:470px;}
}
/* phones: swipe the cards sideways */
@media (max-width:767px){
  .fcp-about-top{margin-bottom:10px;}
  .fcp-about-nav{display:flex; width:100%; overflow-x:auto; flex-wrap:nowrap; scrollbar-width:none;}
  .fcp-about-nav::-webkit-scrollbar{display:none;}
  .fcp-about-grid{display:flex; grid-auto-rows:auto; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding:0 4px; padding:2px 4px 14px; margin:0 -4px;
    scrollbar-width:none; -webkit-overflow-scrolling:touch;}
  .fcp-about-grid::-webkit-scrollbar{display:none;}
  .fcp-about-grid > .fcp-acard{flex:0 0 88%; height:460px; scroll-snap-align:start;}
  .fcp-acard-head{padding:16px 16px 12px;}
  .fcp-acard-body{padding:14px 16px 20px;}
  .fcp-acard-about .fcp-facts{grid-template-columns:minmax(0, 1fr);}
  .fcp-acard-rank .fcp-rank-pos{font-size:38px;}
}
/* about cards: fixes */
.fcp-tr-bar .fcp-meter{max-width:none; margin:0; width:auto;}
.fcp-acard-rank .fcp-rank-me{flex-direction:row; justify-content:flex-start;}
.fcp-acard-rank .fcp-rank-pts{display:inline-flex; align-items:center; padding:3px 10px; border-radius:999px; background:rgba(255,255,255,.12); color:#e6eaf3; font-weight:600;}
.fcp-acard-rank .fcp-rank-of{color:#fff; font-size:14px;}
@media (max-width:767px){
  .fcp-acard-rank .fcp-lb li.is-me .fcp-lb-name::after{display:none;}
}

/* Games the forecaster forecasts: all chips the same width (a grid), name on the left, count on the right */
.fcp-acard .fcp-gamechips{display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); grid-auto-rows:1fr; gap:8px;}
.fcp-acard .fcp-gamechips li{display:flex; min-width:0;}
.fcp-acard .fcp-gamechips li > a,
.fcp-acard .fcp-gamechips li > .is-this{display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; min-width:0;
  padding:9px 10px 9px 14px; border-radius:12px; font-size:13px; line-height:1.25; transition:border-color .15s, background .15s, box-shadow .15s;}
.fcp-acard .fcp-gamechips li > a:hover{border-color:var(--fcp-navy); background:#f8fafd; box-shadow:0 4px 10px rgba(27,33,51,.08);}
/* the name inside the link: plain text; a long name goes onto a second line (never cut) */
.fcp-acard .fcp-gamechips li > a > span{display:block; padding:0; border:0; border-radius:0; background:none; min-width:0; white-space:normal; color:inherit !important;}
.fcp-acard .fcp-gamechips li > a, .fcp-acard .fcp-gamechips li > .is-this{white-space:normal; text-align:left;}
.fcp-acard .fcp-gamechips small{flex:none;}
@media (max-width:767px){
  .fcp-acard .fcp-gamechips{grid-template-columns:minmax(0, 1fr);}
}

/* =====================================================================
   "Submit predictions" button (the forecaster opens the post form)
   ===================================================================== */
.fcp-post-btn{
  position:relative; display:flex; align-items:center; gap:14px; width:100%; margin:10px 0 8px; padding:14px 16px 14px 14px;
  border:0; border-radius:20px; cursor:pointer; text-align:left; overflow:hidden; isolation:isolate;
  color:#fff; font:inherit;
  background:radial-gradient(120% 140% at 100% 0%, rgba(255,204,0,.22) 0%, rgba(255,204,0,0) 55%), linear-gradient(135deg, #1b2133 0%, #2a3350 100%);
  box-shadow:0 10px 24px rgba(27,33,51,.28), inset 0 1px 0 rgba(255,255,255,.08);
  transition:transform .18s ease, box-shadow .18s ease;
}
/* soft light that sweeps across the button now and then */
.fcp-post-btn::before{content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(110deg, transparent 30%, rgba(255,255,255,.10) 45%, transparent 60%); transform:translateX(-120%);
  animation:fcpPostShine 4.5s ease-in-out infinite 1.5s;}
@keyframes fcpPostShine{0%{transform:translateX(-120%);} 35%,100%{transform:translateX(120%);}}
.fcp-post-btn:hover{transform:translateY(-2px); box-shadow:0 16px 32px rgba(27,33,51,.34), inset 0 1px 0 rgba(255,255,255,.1);}
.fcp-post-btn:active{transform:translateY(0) scale(.99);}
.fcp-post-btn:focus-visible{outline:3px solid #ffcc00; outline-offset:3px;}

.fcp-post-btn-ico{flex:none; width:52px; height:52px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, #ffd84d, #ffb800); color:#1b2133; font-size:22px; box-shadow:0 6px 14px rgba(255,184,0,.35);}
.fcp-post-btn-txt{flex:1; min-width:0; display:flex; flex-direction:column; gap:3px;}
.fcp-post-btn-txt b{font-size:17px; font-weight:700; letter-spacing:.01em; line-height:1.2; color:#fff;}
.fcp-post-btn-txt small{font-size:12.5px; color:#b9c2d6; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.fcp-post-btn-txt small .fa{color:#ffcc00; margin-right:3px;}
.fcp-post-btn-go{flex:none; width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.18); color:#fff; font-size:16px; transition:background .18s, transform .18s, color .18s;}
.fcp-post-btn:hover .fcp-post-btn-go{background:#ffcc00; border-color:#ffcc00; color:#1b2133; transform:translateX(3px);}

@media (max-width:479px){
  .fcp-post-btn{gap:12px; padding:12px 12px 12px 12px; border-radius:18px;}
  .fcp-post-btn-ico{width:44px; height:44px; border-radius:14px; font-size:19px;}
  .fcp-post-btn-txt b{font-size:15.5px;}
  .fcp-post-btn-go{width:34px; height:34px; font-size:14px;}
}
@media (prefers-reduced-motion:reduce){ .fcp-post-btn::before{animation:none;} .fcp-post-btn{transition:none;} }

/* =====================================================================
   Forecast history (opens when a past event is picked)
   Hero header, then: computer — Results | Projections | Posts on one line
   (scroll sideways when they don't fit); phone — Results on top, then
   Projections and Posts side by side in their own sideways scroll.
   ===================================================================== */
.fcp-hist{margin:22px 0 8px;}

/* hero */
.fcp-hist-hero{position:relative; overflow:hidden; isolation:isolate; display:flex; align-items:flex-end; justify-content:space-between; gap:18px; flex-wrap:wrap;
  margin:0 0 18px; padding:26px 26px 22px; border-radius:22px; color:#fff;
  background:radial-gradient(90% 140% at 100% 0%, rgba(255,204,0,.26) 0%, rgba(255,204,0,0) 55%),
             radial-gradient(70% 120% at 0% 100%, rgba(59,111,216,.35) 0%, rgba(59,111,216,0) 60%),
             linear-gradient(135deg, #161b2b 0%, #232b45 100%);
  box-shadow:0 14px 34px rgba(27,33,51,.25);}
.fcp-hist-hero-art{position:absolute; right:-18px; top:-26px; z-index:-1; font-size:190px; line-height:1; color:rgba(255,255,255,.05); transform:rotate(-12deg);}
.fcp-hist-hero-main{flex:1 1 380px; min-width:0;}
.fcp-hist-eyebrow{display:inline-flex; align-items:center; gap:7px; padding:5px 12px; border-radius:999px; font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:#1b2133; background:#ffcc00;}
.fcp-hist-hero h2{margin:12px 0 6px; font-size:26px; font-weight:700; line-height:1.2; color:#fff; display:flex; align-items:center; flex-wrap:wrap; gap:10px;}
.fcp-hist-event{display:inline-flex; align-items:center; padding:4px 12px; border-radius:10px; font-size:15px; font-weight:700; color:#ffcc00; background:rgba(255,204,0,.12); border:1px solid rgba(255,204,0,.35);}
.fcp-hist-event[hidden]{display:none;}
.fcp-hist-hero p{margin:0; max-width:620px; font-size:14.5px; line-height:1.55; color:#c3cbdc;}
.fcp-hist-nav{display:flex; flex-wrap:wrap; gap:8px;}
.fcp-hist-nav a{display:inline-flex; align-items:center; gap:7px; padding:9px 14px; border-radius:12px; font-size:13.5px; font-weight:600; white-space:nowrap; text-decoration:none !important;
  color:#fff !important; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); transition:background .18s, border-color .18s, transform .18s;}
.fcp-hist-nav a .fa{color:#ffcc00;}
.fcp-hist-nav a:hover{background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.3); transform:translateY(-1px);}
.fcp-hist-nav a.is-ghost{background:transparent; border-style:dashed;}

/* the three columns */
.fcp-hist-row{display:flex; align-items:stretch; gap:16px; overflow-x:auto; overflow-y:hidden; padding:2px 2px 14px; scroll-snap-type:x proximity;
  scrollbar-width:thin; scrollbar-color:#1b2133 #e6eaf1;}
.fcp-hist-pair{display:contents;}
.fcp-hist-col{display:flex; flex-direction:column; min-width:0; scroll-snap-align:start; scroll-margin-top:80px;}
.fcp-hist-col.is-results{flex:0 0 380px;}
.fcp-hist-col.is-projections{flex:1 0 520px;}
.fcp-hist-col.is-posts{flex:1.2 0 600px;}
.fcp-hist-col > .fcp-dark-scroller{flex:1; margin:0;}
.fcp-hist-label{display:flex; align-items:center; gap:8px; margin:0 0 8px; font-size:13px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--fcp-ink);}
.fcp-hist-label b{width:24px; height:24px; border-radius:8px; display:inline-flex; align-items:center; justify-content:center; font-size:12px; background:#1b2133; color:#ffcc00;}

/* a clear, easy-to-grab horizontal scroll bar */
.fcp-hist-row::-webkit-scrollbar,.fcp-hist-pair::-webkit-scrollbar{height:10px;}
.fcp-hist-row::-webkit-scrollbar-track,.fcp-hist-pair::-webkit-scrollbar-track{background:#e6eaf1; border-radius:10px;}
.fcp-hist-row::-webkit-scrollbar-thumb,.fcp-hist-pair::-webkit-scrollbar-thumb{background:#1b2133; border-radius:10px; border:2px solid #e6eaf1;}
.fcp-hist-row::-webkit-scrollbar-thumb:hover,.fcp-hist-pair::-webkit-scrollbar-thumb:hover{background:#ffb800;}
.fcp-hist-hint{display:none; margin:2px 0 0; font-size:12.5px; color:var(--fcp-muted); text-align:center;}
.fcp-hist.has-overflow .fcp-hist-hint{display:block;}
.fcp-hist-hint .fa{color:var(--fcp-ink); margin-right:4px;}

/* phones: results on top; projections + posts on one line, swiped sideways */
@media (max-width:767px){
  .fcp-hist-hero{padding:20px 18px 18px; border-radius:18px; margin-bottom:14px;}
  .fcp-hist-hero h2{font-size:21px;}
  .fcp-hist-hero p{font-size:13.5px;}
  .fcp-hist-hero-art{font-size:130px;}
  .fcp-hist-nav{width:100%; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin:0 -2px;}
  .fcp-hist-nav::-webkit-scrollbar{display:none;}
  .fcp-hist-nav a{padding:8px 12px; font-size:13px;}
  .fcp-hist-row{display:block; overflow:visible; padding:0;}
  .fcp-hist-col.is-results{margin:0 0 16px;}
  .fcp-hist-pair{display:flex; align-items:stretch; gap:12px; overflow-x:auto; overflow-y:hidden; padding:2px 2px 14px; scroll-snap-type:x mandatory;
    scrollbar-width:thin; scrollbar-color:#1b2133 #e6eaf1;}
  .fcp-hist-pair > .fcp-hist-col{flex:0 0 88%;}
}

/* Projections + Posts are ONE unit: they share a single horizontal scroll bar
   (the two panels never scroll on their own). Results stays on its own. */
.fcp-hist-row{display:flex; align-items:stretch; gap:16px; overflow:visible; padding:0;}
.fcp-hist-col.is-results{flex:0 0 380px;}
.fcp-hist-pair{display:block !important; flex:1 1 auto; min-width:0; overflow-x:auto; overflow-y:hidden; padding:2px 2px 14px; scroll-snap-type:none;
  scrollbar-width:thin; scrollbar-color:#1b2133 #e6eaf1;}
.fcp-hist-track{display:flex; align-items:stretch; gap:16px; width:max-content; min-width:100%;}
.fcp-hist-track > .fcp-hist-col{flex:1 0 auto; min-width:460px; scroll-snap-align:none;}
.fcp-hist-pair .fcp-dark-scroller{overflow:visible !important;}
.fcp-hist-hint{text-align:right;}

@media (max-width:767px){
  .fcp-hist-row{display:block;}
  .fcp-hist-col.is-results{margin:0 0 16px;}
  .fcp-hist-pair{display:block !important; overflow-x:auto; padding:2px 2px 14px; scroll-snap-type:none;}
  .fcp-hist-pair > .fcp-hist-col{flex:none;}
  .fcp-hist-track > .fcp-hist-col{min-width:300px;}
}

/* =====================================================================
   Play responsibly — a card with tips that open
   ===================================================================== */
.fcp-rp{position:relative; overflow:hidden; margin:16px 0 22px; border-radius:20px; color:#fff;
  background:radial-gradient(80% 160% at 100% 0%, rgba(255,204,0,.22) 0%, rgba(255,204,0,0) 55%), linear-gradient(135deg, #1b2133 0%, #283253 100%);
  box-shadow:0 12px 28px rgba(27,33,51,.22);}
.fcp-rp::after{content:""; position:absolute; right:-40px; bottom:-60px; width:200px; height:200px; border-radius:50%; background:rgba(255,255,255,.04); pointer-events:none;}
.fcp-rp-main{position:relative; z-index:1; display:flex; align-items:center; gap:16px; padding:18px 20px;}
.fcp-rp-ico{position:relative; flex:none; width:52px; height:52px; border-radius:16px; display:flex; align-items:center; justify-content:center; font-size:24px; color:#1b2133;
  background:linear-gradient(135deg, #ffd84d, #ffb800); box-shadow:0 6px 16px rgba(255,184,0,.35);}
.fcp-rp-ico::after{content:""; position:absolute; inset:-6px; border-radius:20px; border:2px solid rgba(255,204,0,.45); animation:fcpRpPulse 2.6s ease-out infinite;}
@keyframes fcpRpPulse{0%{opacity:.9; transform:scale(.92);} 70%,100%{opacity:0; transform:scale(1.18);}}
.fcp-rp-txt{flex:1; min-width:0;}
.fcp-rp-txt h3{margin:0 0 4px; font-size:17px; font-weight:700; color:#fff; display:flex; align-items:center; gap:8px;}
.fcp-rp-txt p{margin:0; font-size:14px; line-height:1.5; color:#c7cfe0;}
.fcp-rp .fcp-18{background:#ff5a5a; color:#fff; font-size:11px; padding:2px 7px; border-radius:6px; margin:0;}
.fcp-rp-toggle{flex:none; display:inline-flex; align-items:center; gap:8px; padding:10px 16px; border-radius:12px; cursor:pointer; font-size:13.5px; font-weight:600; white-space:nowrap;
  color:#1b2133; background:#ffcc00; border:0; box-shadow:0 6px 14px rgba(255,204,0,.25); transition:transform .18s, box-shadow .18s, background .18s;}
.fcp-rp-toggle:hover{transform:translateY(-1px); background:#ffd84d; box-shadow:0 10px 20px rgba(255,204,0,.35);}
.fcp-rp-toggle:focus-visible{outline:3px solid #fff; outline-offset:2px;}
.fcp-rp-caret{transition:transform .25s;}
.fcp-rp.is-open .fcp-rp-caret{transform:rotate(180deg);}
.fcp-rp-tips{position:relative; z-index:1; list-style:none; margin:0; padding:0 20px 20px; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px;}
.fcp-rp-tips[hidden]{display:none;}
.fcp-rp.is-open .fcp-rp-tips li{animation:fcpRpIn .35s ease-out both;}
.fcp-rp.is-open .fcp-rp-tips li:nth-child(2){animation-delay:.06s;}
.fcp-rp.is-open .fcp-rp-tips li:nth-child(3){animation-delay:.12s;}
@keyframes fcpRpIn{from{opacity:0; transform:translateY(8px);} to{opacity:1; transform:none;}}
.fcp-rp-tips li{display:flex; align-items:flex-start; gap:12px; padding:14px; border-radius:14px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); transition:background .18s, border-color .18s;}
.fcp-rp-tips li:hover{background:rgba(255,255,255,.1); border-color:rgba(255,204,0,.4);}
.fcp-rp-tip-ico{flex:none; width:36px; height:36px; border-radius:11px; display:flex; align-items:center; justify-content:center; font-size:16px; color:#ffcc00; background:rgba(255,204,0,.12);}
.fcp-rp-tips b{display:block; font-size:14px; color:#fff; margin:0 0 3px;}
.fcp-rp-tips span{font-size:13px; line-height:1.45; color:#c7cfe0;}

/* =====================================================================
   Past events — header with arrows / Latest, colour key, fading edges,
   cards with "View / Viewing / Loading / No post"
   ===================================================================== */
.fcp-past{margin:0 0 22px; padding:18px 18px 10px; border-radius:20px; background:#fff; border:1px solid rgba(227,231,239,.8); box-shadow:0 1px 2px rgba(27,33,51,.04), 0 10px 28px rgba(27,33,51,.07);}
.fcp-past-head{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:0 0 10px;}
.fcp-past-title{display:flex; align-items:center; gap:12px; min-width:0;}
.fcp-past-ico{flex:none; width:44px; height:44px; border-radius:13px; display:flex; align-items:center; justify-content:center; font-size:19px; background:#1b2133; color:#ffcc00;}
.fcp-past-title h2{margin:0; font-size:18px; font-weight:700; color:var(--fcp-ink); display:flex; align-items:center; gap:8px; flex-wrap:wrap;}
.fcp-past-title p{margin:2px 0 0; font-size:13px; color:var(--fcp-muted);}
.fcp-past-count{font-size:12px; font-weight:600; padding:3px 9px; border-radius:999px; background:#eef1f6; color:var(--fcp-ink-2);}
.fcp-past-count[hidden]{display:none;}
.fcp-past-ctrl{display:flex; gap:6px;}
.fcp-past-btn{width:38px; height:38px; border-radius:12px; border:1px solid var(--fcp-line); background:#fff; color:var(--fcp-ink); cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:6px;
  font-size:13px; font-weight:600; transition:background .15s, border-color .15s, color .15s, transform .15s;}
.fcp-past-btn.is-text{width:auto; padding:0 14px;}
.fcp-past-btn.is-text .fa{color:#e0a800;}
.fcp-past-btn:hover:not(:disabled){background:#1b2133; border-color:#1b2133; color:#fff; transform:translateY(-1px);}
.fcp-past-btn:disabled{opacity:.4; cursor:default;}
.fcp-past-key{list-style:none; margin:0 0 8px; padding:0; display:flex; flex-wrap:wrap; gap:6px 16px; font-size:12px; color:var(--fcp-muted);}
.fcp-past-key li{display:inline-flex; align-items:center; gap:6px;}
.fcp-past-key i{width:10px; height:10px; border-radius:50%;}
.fcp-past-key .is-w{background:#1f9d61;}
.fcp-past-key .is-m{background:#e5484d;}
.fcp-past-key .is-x{background:#fff; border:1.5px dashed #b9c2d2;}

/* fading edges show there is more to scroll */
.fcp-past-wrap{position:relative;}
.fcp-past-wrap::before,.fcp-past-wrap::after{content:""; position:absolute; top:0; bottom:8px; width:42px; z-index:2; pointer-events:none; opacity:0; transition:opacity .2s;}
.fcp-past-wrap::before{left:0; background:linear-gradient(90deg, #fff, rgba(255,255,255,0));}
.fcp-past-wrap::after{right:0; background:linear-gradient(270deg, #fff, rgba(255,255,255,0));}
.fcp-past-wrap.can-left::before,.fcp-past-wrap.can-right::after{opacity:1;}
.fcp-past .fcp-events{margin:0 !important; padding:6px 2px 12px !important; overflow-x:auto; cursor:grab; scrollbar-width:thin; scrollbar-color:#1b2133 #eef1f6; outline:none;}
.fcp-past .fcp-events.is-drag{cursor:grabbing; user-select:none;}
.fcp-past .fcp-events.is-drag .current_event_number{pointer-events:none;}
.fcp-past .fcp-events::-webkit-scrollbar{height:8px;}
.fcp-past .fcp-events::-webkit-scrollbar-track{background:#eef1f6; border-radius:8px;}
.fcp-past .fcp-events::-webkit-scrollbar-thumb{background:#1b2133; border-radius:8px;}
.fcp-past .fcp-events:focus-visible{box-shadow:0 0 0 3px rgba(255,204,0,.55); border-radius:12px;}
.fcp-past .fcp-events .horizontal_list{display:flex !important; gap:12px; overflow:visible !important; padding:4px 2px 6px !important;}

/* the event cards */
.fcp-past .current_event_number{position:relative; width:140px !important; height:auto !important; padding:12px 10px 10px !important; border-radius:16px !important;
  background:#fff !important; color:var(--fcp-ink) !important; border:1px solid #e3e7ef !important; box-shadow:0 2px 6px rgba(27,33,51,.05) !important;
  transition:transform .18s, box-shadow .18s, border-color .18s, background .18s !important;}
.fcp-past .current_event_number:not(:disabled):hover{transform:translateY(-3px); border-color:#1b2133 !important; box-shadow:0 12px 24px rgba(27,33,51,.14) !important;}
.fcp-past .current_event_number .event_plate{display:block; font-size:24px !important; font-weight:700; line-height:1.15; font-variant-numeric:tabular-nums;}
.fcp-past-tag{display:block; margin:8px auto 0; padding:4px 0; border-radius:9px; font-size:11.5px; font-weight:700; letter-spacing:.03em; text-transform:uppercase;
  color:#1b2133; background:#f1f4f9; transition:background .18s, color .18s;}
.fcp-past .current_event_number:not(:disabled):hover .fcp-past-tag{background:#ffcc00;}
/* matched dots: green = winning numbers, red = machine numbers */
.fcp-past .fev-row > div{position:relative;}
.fcp-past .fev-d.fev-win,.fcp-past .fev-row > div:first-child .fev-d[style*="#090"]{background:#1f9d61 !important; border-color:#1f9d61 !important; box-shadow:0 0 0 3px rgba(31,157,97,.18);}
.fcp-past .fev-d.fev-mac,.fcp-past .fev-row > div:last-child .fev-d[style*="#F00"]{background:#e5484d !important; border-color:#e5484d !important; box-shadow:0 0 0 3px rgba(229,72,77,.18);}
/* the event being viewed */
.fcp-past .forecaster_event_list_bot_active,.fcp-past .current_event_number.is-picked{background:linear-gradient(160deg, #1b2133, #2a3350) !important; color:#fff !important; border-color:#1b2133 !important;
  box-shadow:0 0 0 3px rgba(255,204,0,.6), 0 12px 24px rgba(27,33,51,.25) !important;}
.fcp-past .forecaster_event_list_bot_active .fev-t,.fcp-past .current_event_number.is-picked .fev-t{color:rgba(255,255,255,.6) !important;}
.fcp-past .forecaster_event_list_bot_active .fev-row > div,.fcp-past .current_event_number.is-picked .fev-row > div{background:rgba(255,255,255,.1) !important;}
.fcp-past .forecaster_event_list_bot_active .fcp-past-tag,.fcp-past .current_event_number.is-picked .fcp-past-tag{background:#ffcc00; color:#1b2133;}
/* if another card is picked, the old "active" one goes back to normal */
.fcp-past .fcp-events:has(.is-picked) .forecaster_event_list_bot_active:not(.is-picked){background:#fff !important; color:var(--fcp-ink) !important; border-color:#e3e7ef !important; box-shadow:0 2px 6px rgba(27,33,51,.05) !important;}
.fcp-past .fcp-events:has(.is-picked) .forecaster_event_list_bot_active:not(.is-picked) .fev-t{color:var(--fcp-muted) !important;}
.fcp-past .fcp-events:has(.is-picked) .forecaster_event_list_bot_active:not(.is-picked) .fev-row > div{background:#f4f6fa !important;}
.fcp-past .fcp-events:has(.is-picked) .forecaster_event_list_bot_active:not(.is-picked) .fcp-past-tag{background:#f1f4f9;}
/* loading: a small spinner in the tag */
.fcp-past .current_event_number.is-busy .fcp-past-tag::before{content:""; display:inline-block; width:10px; height:10px; margin-right:6px; vertical-align:-1px; border-radius:50%;
  border:2px solid rgba(27,33,51,.25); border-top-color:#1b2133; animation:fcpSpin .7s linear infinite;}
@keyframes fcpSpin{to{transform:rotate(360deg);}}
/* no forecast posted */
.fcp-past .current_event_number:disabled{background:repeating-linear-gradient(135deg, #fafbfd 0 8px, #f3f5f9 8px 16px) !important; border:1.5px dashed #ccd3df !important; box-shadow:none !important; opacity:.85; cursor:not-allowed;}
.fcp-past .current_event_number:disabled .event_plate{color:#9aa4b6;}
.fcp-past .current_event_number:disabled .fcp-past-tag{background:transparent; color:#9aa4b6; border:1px dashed #ccd3df;}
.fcp-past.is-empty .fcp-past-ctrl,.fcp-past.is-empty .fcp-past-key{display:none;}

@media (max-width:767px){
  .fcp-rp-main{flex-wrap:wrap; padding:16px; gap:12px;}
  .fcp-rp-ico{width:44px; height:44px; font-size:20px; border-radius:14px;}
  .fcp-rp-txt{flex:1 1 calc(100% - 60px);}
  .fcp-rp-toggle{width:100%; justify-content:center;}
  .fcp-rp-tips{grid-template-columns:minmax(0, 1fr); padding:0 16px 16px; gap:10px;}
  .fcp-past{padding:14px 12px 8px; border-radius:18px;}
  .fcp-past-head{gap:10px;}
  .fcp-past-ctrl{width:100%;}
  .fcp-past-btn.is-text{flex:1;}
  .fcp-past-key{font-size:11.5px; gap:4px 12px;}
  .fcp-past .current_event_number{width:118px !important; padding:10px 8px 8px !important;}
  .fcp-past .current_event_number .event_plate{font-size:21px !important;}
}
@media (prefers-reduced-motion:reduce){ .fcp-rp-ico::after{animation:none;} .fcp-rp.is-open .fcp-rp-tips li{animation:none;} }

/* =====================================================================
   Numbers box (#forecaster_prediction_display): buy panel + one card per
   prediction type with lotto balls. "Unlock" buttons press the existing
   BUY NOW, so the confirm message and payment are unchanged.
   ===================================================================== */
.fcp-pd{--pd-gap:14px;}
.fcp-pd-legacy{display:none !important;}

/* 1) buy panel */
.fcp-pd-buy{position:relative; overflow:hidden; margin:0 0 var(--pd-gap); padding:18px; border-radius:18px; color:#fff;
  background:radial-gradient(90% 150% at 100% 0%, rgba(255,204,0,.24) 0%, rgba(255,204,0,0) 55%), linear-gradient(135deg, #1b2133 0%, #2a3350 100%);
  box-shadow:0 12px 28px rgba(27,33,51,.22);}
.fcp-pd-buy.is-done{background:linear-gradient(135deg, #14532d 0%, #1f9d61 100%); box-shadow:0 12px 28px rgba(31,157,97,.25);}
.fcp-pd-buy-head{display:flex; align-items:center; gap:14px; flex-wrap:wrap;}
.fcp-pd-buy-ico{flex:none; width:46px; height:46px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:20px; color:#1b2133;
  background:linear-gradient(135deg, #ffd84d, #ffb800); box-shadow:0 6px 14px rgba(255,184,0,.35);}
.fcp-pd-buy.is-done .fcp-pd-buy-ico{background:#fff; color:#1f9d61; box-shadow:none;}
.fcp-pd-buy-txt{flex:1 1 220px; min-width:0;}
.fcp-pd-buy-txt b{display:block; font-size:17px; font-weight:700; color:#fff; line-height:1.25;}
.fcp-pd-buy-txt span{display:block; margin-top:3px; font-size:13px; color:#c7cfe0;}
.fcp-pd-buy.is-done .fcp-pd-buy-txt span{color:#d6f5e4;}
.fcp-pd-progress{position:relative; flex:none; padding:7px 12px 11px; border-radius:12px; font-size:12.5px; color:#c7cfe0; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); overflow:hidden;}
.fcp-pd-progress b{font-size:16px; color:#fff;}
.fcp-pd-progress i{position:absolute; left:0; bottom:0; height:4px; width:var(--p); background:#ffcc00; border-radius:0 4px 4px 0;}
.fcp-pd-offers{display:grid; grid-template-columns:repeat(auto-fill, minmax(160px, 1fr)); gap:10px; margin:16px 0 0;}
.fcp-pd-offer{--c:#ffcc00; display:flex; flex-direction:column; gap:2px; padding:12px; border-radius:14px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.13);
  border-top:3px solid var(--c); transition:background .18s, transform .18s;}
.fcp-pd-offer:hover{background:rgba(255,255,255,.12); transform:translateY(-2px);}
.fcp-pd-offer-name{font-size:14.5px; font-weight:700; color:#fff;}
.fcp-pd-offer-meta{font-size:11.5px; color:#aeb8cc; margin-bottom:8px;}
.fcp-pd-offer-btn{margin-top:auto; display:flex; align-items:center; justify-content:center; gap:6px; width:100%; height:40px; padding:0 10px; border:0; border-radius:11px; cursor:pointer;
  font-size:13.5px; font-weight:700; color:#1b2133; background:#ffcc00; box-shadow:0 6px 14px rgba(255,204,0,.25); transition:background .15s, transform .15s, box-shadow .15s;}
.fcp-pd-offer-btn b{padding:2px 8px; border-radius:7px; background:rgba(27,33,51,.12); font-size:13px;}
.fcp-pd-offer-btn:hover{background:#ffd84d; transform:translateY(-1px); box-shadow:0 10px 20px rgba(255,204,0,.35);}
.fcp-pd-offer-btn:focus-visible,.fcp-pd-card-btn:focus-visible{outline:3px solid #fff; outline-offset:2px;}
.fcp-pd-offer-btn.is-login{background:#fff;}
.fcp-pd-topup{display:inline-flex; align-items:center; gap:6px; margin:12px 0 0; font-size:12.5px; font-weight:600; color:#ffcc00 !important; text-decoration:none !important;}
.fcp-pd-topup:hover{text-decoration:underline !important;}

/* 2) one card per prediction type */
.fcp-pd-grid{display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); gap:var(--pd-gap);}
.fcp-pd-card{--c:#3b6fd8; --c-bg:#eaf1fe; grid-column:span 2; display:flex; flex-direction:column; min-width:0; padding:14px; border-radius:16px; background:#fff;
  border:1px solid #e6eaf1; border-top:4px solid var(--c); box-shadow:0 2px 8px rgba(27,33,51,.05); transition:box-shadow .18s, transform .18s;}
.fcp-pd-card:hover{box-shadow:0 10px 24px rgba(27,33,51,.10);}
.fcp-pd-card.is-perm{grid-column:1 / -1;}
.fcp-pd-card.is-s4{grid-column:span 3;}
.fcp-pd-card.is-s5{grid-column:span 3;}
.is-perm{--c:#2f6bff; --c-bg:#e6efff;}
.is-banker{--c:#ff9f1c; --c-bg:#fff0d9;}
.is-s2{--c:#8b5cf6; --c-bg:#efe8ff;}
.is-s3{--c:#e14fd3; --c-bg:#fde6fb;}
.is-s4{--c:#5b6474; --c-bg:#eceef2;}
.is-s5{--c:#4caf1f; --c-bg:#e6f7dc;}
.fcp-pd-offer.is-perm,.fcp-pd-offer.is-banker,.fcp-pd-offer.is-s2,.fcp-pd-offer.is-s3,.fcp-pd-offer.is-s4,.fcp-pd-offer.is-s5{border-top-color:var(--c);}
.fcp-pd-card-head{display:flex; align-items:center; justify-content:space-between; gap:8px; margin:0 0 12px; min-width:0;}
.fcp-pd-card-title{display:flex; align-items:center; gap:8px; min-width:0;}
.fcp-pd-card-title b{font-size:14.5px; font-weight:700; color:var(--fcp-ink); white-space:nowrap;}
.fcp-pd-strength{padding:2px 8px; border-radius:999px; font-size:11.5px; font-weight:700; color:var(--c); background:var(--c-bg);}
.fcp-pd-card-btn{flex:none; display:inline-flex; align-items:center; gap:5px; height:32px; padding:0 10px; border:0; border-radius:10px; cursor:pointer; white-space:nowrap;
  font-size:12.5px; font-weight:700; color:#1b2133; background:#ffcc00; transition:background .15s, transform .15s;}
.fcp-pd-card-btn b{font-weight:800;}
.fcp-pd-card-btn:hover{background:#ffd84d; transform:translateY(-1px);}
.fcp-pd-card-btn.is-login{background:#1b2133; color:#fff;}
.fcp-pd-card-btn.is-login span{display:none;}
.fcp-pd-card-btn.is-login::after{content:"Log in"; }
.fcp-pd-status{flex:none; display:inline-flex; align-items:center; gap:5px; padding:4px 10px; border-radius:999px; font-size:11.5px; font-weight:700; white-space:nowrap;}
.fcp-pd-status.is-open{color:#167a49; background:#e3f5ea;}
.fcp-pd-status.is-none{color:#8a94a6; background:#f1f3f7;}
.fcp-pd-status.is-locked{color:#5b6474; background:#eceef2;}

/* lotto balls */
.fcp-pd-balls{list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px; justify-content:center;}
.fcp-pd-ball{position:relative; width:46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:17px; font-weight:800; font-variant-numeric:tabular-nums;
  color:#fff; background:radial-gradient(circle at 32% 28%, rgba(255,255,255,.55) 0 12%, rgba(255,255,255,0) 13%), radial-gradient(circle at 50% 50%, var(--c), color-mix(in srgb, var(--c) 70%, #000));
  background-color:var(--c); box-shadow:inset 0 -4px 8px rgba(0,0,0,.18), 0 4px 10px rgba(27,33,51,.15); animation:fcpBallIn .4s ease-out both;}
.fcp-pd-ball:nth-child(2){animation-delay:.03s;} .fcp-pd-ball:nth-child(3){animation-delay:.06s;} .fcp-pd-ball:nth-child(4){animation-delay:.09s;} .fcp-pd-ball:nth-child(5){animation-delay:.12s;}
.fcp-pd-ball:nth-child(6){animation-delay:.15s;} .fcp-pd-ball:nth-child(7){animation-delay:.18s;} .fcp-pd-ball:nth-child(8){animation-delay:.21s;} .fcp-pd-ball:nth-child(9){animation-delay:.24s;} .fcp-pd-ball:nth-child(10){animation-delay:.27s;}
@keyframes fcpBallIn{from{opacity:0; transform:scale(.6);} to{opacity:1; transform:none;}}
.fcp-pd-ball.is-locked{color:#9aa4b6; font-size:14px; animation:none; box-shadow:none;
  background:repeating-linear-gradient(135deg, #f3f5f9 0 6px, #e9edf3 6px 12px); border:2px dashed color-mix(in srgb, var(--c) 45%, #fff);}
.fcp-pd-card.is-buy .fcp-pd-ball.is-locked{cursor:pointer;}
.fcp-pd-card.is-none{background:#fafbfd; border-top-color:#d5dbe6; box-shadow:none;}
.fcp-pd-card.is-none .fcp-pd-ball.is-locked{border-color:#dfe4ec; opacity:.6;}
.fcp-pd-card.is-open{background:linear-gradient(180deg, var(--c-bg) 0%, #fff 70%);}
.fcp-pd-card-foot{margin:10px 0 0; font-size:11.5px; color:var(--fcp-muted); text-align:center;}

/* tablets and phones */
@media (max-width:767px){
  .fcp-pd-grid{grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px;}
  .fcp-pd-card,.fcp-pd-card.is-s4,.fcp-pd-card.is-s5{grid-column:span 1;}
  .fcp-pd-card.is-perm,.fcp-pd-card.is-s4,.fcp-pd-card.is-s5,.fcp-pd-card.is-s3{grid-column:1 / -1;}
  .fcp-pd-card{padding:12px;}
  .fcp-pd-card-head{flex-wrap:wrap;}
  .fcp-pd-ball{width:40px; height:40px; font-size:15px;}
  .fcp-pd-buy{padding:16px 14px;}
  .fcp-pd-offers{grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px;}
  .fcp-pd-progress{width:100%; text-align:center;}
}
@media (max-width:380px){ .fcp-pd-ball{width:36px; height:36px; font-size:14px;} .fcp-pd-balls{gap:6px;} }
@media (prefers-reduced-motion:reduce){ .fcp-pd-ball{animation:none;} }

/* purchase messages (success / error / info) — readable on every background */
.fcp-panel .alert-success[role="alert"]{background:linear-gradient(135deg, #14532d 0%, #1f9d61 100%) !important; border:0 !important;}
.fcp-panel .alert-danger[role="alert"]{background:linear-gradient(135deg, #7f1d1d 0%, #e5484d 100%) !important; border:0 !important;}
.fcp-panel .alert-info[role="alert"],.fcp-panel .alert-primary[role="alert"]{background:linear-gradient(135deg, #1b2133 0%, #2f4a8a 100%) !important; border:0 !important;}
.fcp-panel .alert-success[role="alert"],.fcp-panel .alert-success[role="alert"] *:not(.close):not(.Reload_users),
.fcp-panel .alert-danger[role="alert"],.fcp-panel .alert-danger[role="alert"] *:not(.close):not(.Reload_users),
.fcp-panel .alert-info[role="alert"],.fcp-panel .alert-info[role="alert"] *:not(.close):not(.Reload_users),
.fcp-panel .alert-primary[role="alert"],.fcp-panel .alert-primary[role="alert"] *:not(.close):not(.Reload_users){color:#fff !important; opacity:1 !important;}
.fcp-panel .alert-success[role="alert"] strong,.fcp-panel .alert-success[role="alert"] b{color:#ffe27a !important;}
.fcp-panel .alert-danger[role="alert"] strong,.fcp-panel .alert-danger[role="alert"] b{color:#fff3c4 !important;}
/* nothing posted for this event: only the short message, no empty cards */
.fcp-pd-grid.is-empty{display:none;}

/* =====================================================================
   Numbers box — SIMPLE version (.fcp-pds): one header, one line per type
   (name · numbers · one button). "Unlock" presses the existing BUY NOW.
   ===================================================================== */
.fcp-pds{border-radius:20px; overflow:hidden; background:#fff; border:1px solid #e6eaf1; box-shadow:0 1px 2px rgba(27,33,51,.04), 0 12px 30px rgba(27,33,51,.08);}
.fcp-pds-head{display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; padding:18px 20px; color:#fff;
  background:radial-gradient(90% 160% at 100% 0%, rgba(255,204,0,.22) 0%, rgba(255,204,0,0) 55%), linear-gradient(135deg, #1b2133 0%, #2a3350 100%);}
.fcp-pds-title{min-width:0; flex:1 1 240px;}
.fcp-pds-title b{display:block; font-size:18px; font-weight:700; color:#fff; line-height:1.25;}
.fcp-pds-title span{display:block; margin-top:3px; font-size:13px; color:#c3cbdc;}
.fcp-pds-title em{font-style:normal; color:#ffcc00; font-weight:700;}
.fcp-pds-count{flex:none; min-width:150px; font-size:12.5px; color:#c3cbdc;}
.fcp-pds-count b{font-size:16px; color:#fff;}
.fcp-pds-count > i{display:block; height:6px; margin-top:6px; border-radius:6px; background:rgba(255,255,255,.14); overflow:hidden;}
.fcp-pds-count > i > i{display:block; height:100%; border-radius:6px; background:linear-gradient(90deg, #ffcc00, #ffe27a); transition:width .5s ease;}

.fcp-pds-list{list-style:none; margin:0; padding:6px 0;}
.fcp-pds-row{display:grid; grid-template-columns:170px minmax(0, 1fr) auto; align-items:center; gap:14px; padding:14px 20px; border-top:1px solid #f0f2f6; transition:background .15s;}
.fcp-pds-row:first-child{border-top:0;}
.fcp-pds-row:hover{background:#fafbfd;}
.fcp-pds-row.is-open{background:linear-gradient(90deg, color-mix(in srgb, var(--c) 9%, #fff) 0%, #fff 60%);}
.fcp-pds-name{display:flex; align-items:center; gap:10px; min-width:0;}
.fcp-pds-dot{flex:none; width:10px; height:34px; border-radius:6px; background:var(--c);}
.fcp-pds-name b{display:block; font-size:15px; font-weight:700; color:var(--fcp-ink); line-height:1.2;}
.fcp-pds-name small{display:block; margin-top:2px; font-size:12px; color:var(--fcp-muted);}
.fcp-pds-balls{list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:7px;}
.fcp-pds-balls li{width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:15px; font-weight:800; font-variant-numeric:tabular-nums; color:#fff;
  background:radial-gradient(circle at 32% 28%, rgba(255,255,255,.5) 0 12%, rgba(255,255,255,0) 13%), var(--c); box-shadow:inset 0 -3px 6px rgba(0,0,0,.18), 0 3px 8px rgba(27,33,51,.14);
  animation:fcpBallIn .35s ease-out both;}
.fcp-pds-balls li:nth-child(2){animation-delay:.03s;} .fcp-pds-balls li:nth-child(3){animation-delay:.06s;} .fcp-pds-balls li:nth-child(4){animation-delay:.09s;} .fcp-pds-balls li:nth-child(5){animation-delay:.12s;}
.fcp-pds-balls li:nth-child(n+6){animation-delay:.15s;}
.fcp-pds-balls li.is-locked{font-size:12px; color:#a3acbd; box-shadow:none; animation:none; background:#f1f4f9; border:2px dashed color-mix(in srgb, var(--c) 40%, #fff);}
.fcp-pds-act{justify-self:end;}
.fcp-pds-btn{display:inline-flex; align-items:center; gap:7px; height:40px; padding:0 16px; border:0; border-radius:12px; cursor:pointer; white-space:nowrap;
  font-size:14px; font-weight:700; color:#1b2133; background:#ffcc00; box-shadow:0 6px 14px rgba(255,204,0,.28); transition:background .15s, transform .15s, box-shadow .15s;}
.fcp-pds-btn b{padding:2px 8px; border-radius:7px; background:rgba(27,33,51,.1); font-weight:800;}
.fcp-pds-btn:hover{background:#ffd84d; transform:translateY(-1px); box-shadow:0 10px 20px rgba(255,204,0,.36);}
.fcp-pds-btn:focus-visible{outline:3px solid #1b2133; outline-offset:2px;}
.fcp-pds-btn.is-login{background:#1b2133; color:#fff; box-shadow:none;}
.fcp-pds-done{display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:12px; font-size:13px; font-weight:700; color:#167a49; background:#e3f5ea;}
.fcp-pds-off{display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:12px; font-size:13px; font-weight:700; color:#5b6474; background:#eceef2;}
.fcp-pds-foot{display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 16px; padding:12px 20px; border-top:1px solid #f0f2f6; background:#fafbfd; font-size:12.5px; color:var(--fcp-muted);}
.fcp-pds-foot a{font-weight:700; color:#b38600 !important; text-decoration:none !important;}
.fcp-pds-foot a:hover{text-decoration:underline !important;}
.fcp-pds.is-empty .fcp-pds-head{border-radius:20px;}

/* the ten Permutation balls fit on one line on larger screens */
@media (min-width:768px){ .fcp-pds-row.is-perm .fcp-pds-balls{gap:6px; flex-wrap:nowrap;} .fcp-pds-row.is-perm .fcp-pds-balls li{width:33px; height:33px; font-size:13.5px;} }
@media (max-width:767px){
  .fcp-pds-head{padding:16px;}
  .fcp-pds-count{flex:1 1 100%;}
  .fcp-pds-row{grid-template-columns:minmax(0, 1fr) auto; grid-template-areas:"name act" "balls balls"; gap:10px 12px; padding:14px 16px;}
  .fcp-pds-name{grid-area:name;}
  .fcp-pds-act{grid-area:act;}
  .fcp-pds-balls{grid-area:balls; gap:6px;}
  .fcp-pds-balls li{width:34px; height:34px; font-size:14px;}
  .fcp-pds-btn{height:38px; padding:0 12px; font-size:13px;}
  .fcp-pds-foot{padding:12px 16px;}
}

/* ---- three clearly different looks ----
   unlocked number : solid, shiny ball in the type's colour
   locked number   : light ball tinted with the type's colour, a "?" and a small padlock badge
   not posted      : the whole line greyed out, with "No numbers posted for this event" */
.fcp-pds-balls li.is-locked{position:relative; font-size:16px; font-weight:800; color:var(--c); box-shadow:none; animation:none;
  background:color-mix(in srgb, var(--c) 12%, #fff); border:2px dashed color-mix(in srgb, var(--c) 55%, #fff);}
.fcp-pds-balls li.is-locked .fa{position:absolute; right:-4px; bottom:-4px; width:17px; height:17px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:9px; color:#fff; background:#1b2133; border:2px solid #fff;}
.fcp-pds-row.is-buy .fcp-pds-balls li.is-locked{cursor:default;}
.fcp-pds-row.is-none{background:repeating-linear-gradient(135deg, #fbfcfd 0 10px, #f5f7fa 10px 20px);}
.fcp-pds-row.is-none .fcp-pds-dot{background:#cfd5df;}
.fcp-pds-row.is-none .fcp-pds-name b{color:#9aa3b2;}
.fcp-pds-row.is-none .fcp-pds-name small{color:#b2b9c6;}
.fcp-pds-balls li.is-none-note{width:auto; height:auto; padding:7px 12px; border-radius:10px; animation:none; box-shadow:none; background:#fff; border:1px dashed #d5dbe6;
  font-size:12.5px; font-weight:600; color:#9aa3b2;}
.fcp-pds-balls li.is-none-note .fa{margin-right:5px;}
.fcp-pds-none{display:inline-flex; align-items:center; padding:8px 14px; border-radius:12px; font-size:13px; font-weight:700; color:#9aa3b2; background:#fff; border:1px dashed #d5dbe6;}
.fcp-pds-row.is-none:hover{background:repeating-linear-gradient(135deg, #fbfcfd 0 10px, #f5f7fa 10px 20px);}
.fcp-pds-row.is-perm.is-none .fcp-pds-balls{flex-wrap:wrap;}

/* ---- the numbers card and the History & Performance card: always the same height (large screens) ---- */
@media (min-width:992px){
  .fcp-panel .fcp-grid{align-items:stretch !important;}
  .fcp-panel .fcp-grid > .fcp-numbers-card{display:flex; flex-direction:column; height:100%;}
  .fcp-panel .fcp-grid > .fcp-numbers-card > #forecaster_prediction_display{flex:1 1 auto;}
  .fcp-panel .fcp-side{position:static !important; display:flex; flex-direction:column; height:100%;}
  .fcp-panel .fcp-side > .fcp-perf-card{flex:1 1 auto; display:flex; flex-direction:column;}
  .fcp-panel .fcp-side > .fcp-perf-card > #forecaster_profile_display{flex:1 1 auto;}
}

/* numbers header: light and calm (different from the navy game header above it), no shadows */
.fcp-pds{box-shadow:none !important; border:1px solid #e3e8f0;}
.fcp-pds-head{color:var(--fcp-ink); background:linear-gradient(135deg, #f6f8fc 0%, #eef2f9 100%); border-bottom:1px solid #e3e8f0; box-shadow:none;}
.fcp-pds-title b{color:var(--fcp-ink);}
.fcp-pds-title span{color:#667085;}
.fcp-pds-title em{color:#b38600;}
.fcp-pds-count{color:#667085;}
.fcp-pds-count b{color:var(--fcp-ink);}
.fcp-pds-count > i{background:#dfe5ee;}
.fcp-pds-count > i > i{background:linear-gradient(90deg, #ffb800, #ffcc00);}
.fcp-pds-btn,.fcp-pds-btn:hover{box-shadow:none;}
.fcp-pds-balls li{box-shadow:inset 0 -3px 6px rgba(0,0,0,.18);}

/* locked number: the padlock sits in the middle of the circle */
.fcp-pds-balls li.is-locked{font-size:14px; color:color-mix(in srgb, var(--c) 85%, #1b2133);}
.fcp-pds-balls li.is-locked .fa{position:static; width:auto; height:auto; border:0; border-radius:0; background:none; font-size:14px; color:inherit;}
/* empty slot (nothing posted there): plain grey, no padlock — easy to count how many numbers you get */
.fcp-pds-balls li.is-empty{animation:none; box-shadow:none; background:#e6e9ef; border:2px solid #e6e9ef; opacity:.75;}

/* =====================================================================
   MORE INFORMATION modal (.fmi)
   ===================================================================== */
.fmi .fmi-dialog{max-width:620px;}
.fmi .fmi-content{border:0; border-radius:24px; overflow:hidden; background:#f4f6fb; box-shadow:0 30px 80px rgba(10,14,25,.45);}
.fmi-head{display:flex; align-items:center; gap:14px; padding:18px 20px; color:#fff; background:linear-gradient(135deg, #161b2b 0%, #283253 100%);}
.fmi-head-ico{flex:none; width:44px; height:44px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:18px; color:#1b2133; background:linear-gradient(135deg, #ffd84d, #ffb800);}
.fmi-head-txt{flex:1; min-width:0;}
.fmi-head-txt h5{margin:0; font-size:18px; font-weight:700; color:#fff;}
.fmi-head-txt p{margin:3px 0 0; font-size:13px; color:#c3cbdc;}
.fmi-body{padding:16px;}
.fmi-view{display:grid; gap:12px;}
.fmi-card{padding:16px; border-radius:18px; background:#fff; border:1px solid #e3e8f0;}
.fmi-card h6{margin:0 0 12px; display:flex; align-items:center; gap:8px; font-size:13px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:#667085;}
.fmi-card h6 .fa{color:#b38600;}
.fmi-note blockquote{margin:0; padding:12px 14px; border-radius:14px; background:#f8fafc; border-left:4px solid #ffcc00; font-size:15px; line-height:1.6; color:#1b2133; white-space:pre-line;}
.fmi-by{margin:8px 0 0; font-size:12.5px; color:#8a94a6;}
.fmi-by b{color:#1b2133;}
.fmi-stats{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px;}
.fmi-stats li{padding:12px 10px; border-radius:14px; text-align:center; background:color-mix(in srgb, var(--c) 9%, #fff); border:1px solid color-mix(in srgb, var(--c) 22%, #fff);}
.fmi-stats b{display:block; font-size:22px; font-weight:800; line-height:1.1; color:var(--c);}
.fmi-stats span{display:block; margin-top:3px; font-size:11.5px; font-weight:600; color:#667085;}
.fmi-share{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px;}
.fmi-sh{display:flex; align-items:center; gap:9px; padding:10px 12px; border-radius:12px; text-decoration:none !important; color:#fff !important; font-size:13px; font-weight:600; transition:transform .15s, filter .15s;}
.fmi-sh:hover{transform:translateY(-1px); filter:brightness(1.08);}
.fmi-sh .fa{font-size:16px; width:18px; text-align:center;}
.fmi-sh-whatsapp{background:#25d366;} .fmi-sh-facebook{background:#1877f2;} .fmi-sh-twitter{background:#111;} .fmi-sh-pinterest{background:#e60023;} .fmi-sh-linkedin{background:#0a66c2;} .fmi-sh-reddit{background:#ff4500;}
.fmi-open{display:flex; align-items:center; justify-content:center; gap:8px; margin-top:10px; padding:11px; border-radius:12px; font-size:13.5px; font-weight:700; text-decoration:none !important;
  color:#1b2133 !important; background:#fff3c4; border:1px solid #ffe08a; transition:background .15s;}
.fmi-open:hover{background:#ffe9a3;}
.fmi-wallet{display:flex; flex-direction:column; gap:10px; background:linear-gradient(135deg, #f0fbf5 0%, #fff 70%);}
.fmi-bal{display:flex; align-items:baseline; justify-content:space-between; gap:10px;}
.fmi-bal span{font-size:13px; font-weight:600; color:#667085;}
.fmi-bal b{font-size:24px; font-weight:800; color:#167a49;}
.fmi-terms{margin:0; font-size:12.5px; line-height:1.55; color:#8a94a6;}
.fmi-terms .fa{color:#b38600;}
.fmi-muted{color:#a3acbd;}
@media (max-width:575px){
  .fmi .fmi-dialog{margin:10px;}
  .fmi-stats,.fmi-share{grid-template-columns:repeat(2, minmax(0, 1fr));}
}

/* =====================================================================
   POST PREDICTIONS modal (.fpm) — summary, line cards (.fpf), number pad, feedback toast
   ===================================================================== */
.fpm{--fpm-ink:#1b2133; --fpm-mut:#7b8597; --fpm-line:#e3e8f0; --fpm-bg:#f3f5fa; --fpm-gold:#ffcc00; --fpm-ok:#1f9d61; --fpm-bad:#d93b41; --fpm-warn:#c27c00;}
.fpm .fpm-dialog{max-width:980px; margin:24px auto;}
.fpm .fpm-content{position:relative; border:0; border-radius:24px; overflow:hidden; background:var(--fpm-bg); box-shadow:0 30px 80px rgba(10,14,25,.45);}
.fpm-head{position:relative; display:flex; align-items:center; gap:14px; padding:20px 22px; color:#fff;
  background:radial-gradient(90% 160% at 100% 0%, rgba(255,204,0,.25) 0%, rgba(255,204,0,0) 55%), linear-gradient(135deg, #161b2b 0%, #283253 100%);}
.fpm-head::after{content:""; position:absolute; left:0; right:0; bottom:0; height:3px; background:linear-gradient(90deg, #ffcc00, #ffb800 40%, transparent);}
.fpm-head-ico{flex:none; width:48px; height:48px; border-radius:15px; display:flex; align-items:center; justify-content:center; font-size:20px; color:var(--fpm-ink); background:linear-gradient(135deg, #ffd84d, #ffb800);}
.fpm-head-txt{flex:1; min-width:0;}
.fpm-head-txt h5{margin:0; font-size:19px; font-weight:700; color:#fff;}
.fpm-head-txt p{margin:5px 0 0; display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:13.5px; color:#c3cbdc;}
.fpm-game{display:inline-flex; align-items:center; gap:7px; font-weight:600; color:#fff;}
.fpm-flag{width:20px; height:14px; border-radius:3px; object-fit:cover;}
.fpm-event,.fpm-closes{padding:2px 10px; border-radius:8px; font-size:12.5px; font-weight:700;}
.fpm-event{color:#ffcc00; background:rgba(255,204,0,.12); border:1px solid rgba(255,204,0,.35);}
.fpm-closes{display:inline-flex; align-items:center; gap:5px; color:#dfe5f1; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16);}
.fpm-event[hidden],.fpm-closes[hidden]{display:none;}
.fpm-close,.fmi-close{flex:none; width:40px; height:40px; border-radius:12px; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.08); color:#fff; font-size:17px; cursor:pointer; transition:background .15s, transform .15s;}
.fpm-close:hover,.fmi-close:hover{background:rgba(255,255,255,.18); transform:rotate(90deg);}
.fpm-body{padding:16px 20px 96px;}
/* the page's own "Please wait…" box: the line being posted shows its own progress instead */
#lotteryspy_forecaster_post_modal #Post_status_display{display:none !important;}

/* ---- summary: progress ring + one chip per line ---- */
.fpf-sum{display:grid; grid-template-columns:auto minmax(0, 1fr); align-items:center; gap:4px 14px; margin:0 0 14px; padding:14px 16px; border-radius:18px; background:#fff; border:1px solid var(--fpm-line);}
.fpf-ring{position:relative; grid-row:span 2; width:54px; height:54px;}
.fpf-ring svg{width:100%; height:100%; transform:rotate(-90deg);}
.fpf-ring circle{fill:none; stroke:#edf0f5; stroke-width:3.4;}
.fpf-ring .fpf-ring-val{stroke:var(--fpm-ok); stroke-linecap:round; transition:stroke-dashoffset .6s cubic-bezier(.2,.8,.2,1);}
.fpf-ring b{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:18px; font-weight:800; color:var(--fpm-ink);}
.fpf-sum-txt b{display:block; font-size:15.5px; font-weight:700; color:var(--fpm-ink);}
.fpf-sum-txt small{display:block; font-size:12.5px; color:var(--fpm-mut);}
.fpf-chips{grid-column:2; list-style:none; margin:6px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:6px;}
.fpf-chip{--c:#2f6bff; display:inline-flex; align-items:center; gap:6px; padding:5px 11px 5px 7px; border-radius:999px; cursor:pointer;
  font-size:12.5px; font-weight:600; color:#475066; background:#f6f8fb; border:1px solid var(--fpm-line); transition:background .15s, border-color .15s, transform .15s;}
.fpf-chip:hover{transform:translateY(-1px); border-color:var(--c);}
.fpf-chip i{width:16px; height:16px; border-radius:50%; border:2px solid var(--c); display:inline-flex; align-items:center; justify-content:center; font-style:normal; font-size:9px; color:#fff;}
.fpf-chip.is-posted,.fpf-chip.is-just{color:var(--fpm-ink); background:color-mix(in srgb, var(--c) 9%, #fff); border-color:color-mix(in srgb, var(--c) 35%, #fff);}
.fpf-chip.is-posted i,.fpf-chip.is-just i{background:var(--c);}
.fpf-chip.is-posted i::before,.fpf-chip.is-just i::before{content:"\2713";}
.fpf-chip.is-dirty i{border-style:dashed; background:color-mix(in srgb, var(--c) 25%, #fff);}
.fpf-chip.is-off{opacity:.5; text-decoration:line-through;}
.fpf-chip.is-off i{border-color:#c4cad5;}

/* ---- line cards ---- */
.fpf-grid{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:14px;}
.fpf-card{--c:#2f6bff; position:relative; display:flex; flex-direction:column; gap:12px; padding:16px; border-radius:18px; background:#fff; border:1px solid var(--fpm-line);
  scroll-margin-top:12px; transition:border-color .2s, box-shadow .2s, opacity .2s;}
.fpf-card::before{content:""; position:absolute; left:16px; right:16px; top:-1px; height:4px; border-radius:0 0 6px 6px; background:var(--c);}
.fpf-card.fpf-perm_10{grid-column:1 / -1;}
.fpf-card[data-state="dirty"]{border-color:color-mix(in srgb, var(--c) 45%, #fff); box-shadow:0 0 0 3px color-mix(in srgb, var(--c) 12%, transparent);}
.fpf-card[data-state="posted"],.fpf-card[data-state="just"]{background:linear-gradient(180deg, color-mix(in srgb, var(--c) 5%, #fff) 0%, #fff 60%);}
.fpf-card.is-off{opacity:.62; background:#fafbfc;}
.fpf-card.is-off::before{background:#c4cad5;}
.fpf-card-head{display:flex; align-items:center; gap:10px;}
.fpf-dot{flex:none; width:10px; height:30px; border-radius:6px; background:var(--c);}
.fpf-card-head > div{flex:1; min-width:0;}
.fpf-card-head b{display:block; font-size:15.5px; font-weight:700; color:var(--fpm-ink);}
.fpf-card-head small{display:block; font-size:12px; color:var(--fpm-mut);}

/* state badge */
.fpf-badge{flex:none; display:inline-flex; align-items:center; gap:5px; padding:4px 10px; border-radius:999px; font-size:12px; font-weight:700; white-space:nowrap; color:#667085; background:#f1f4f9;}
.fpf-badge em{font-style:normal; font-weight:600; opacity:.75;}
.fpf-badge.is-posted{color:#167a49; background:#e6f6ee;}
.fpf-badge.is-just{color:#fff; background:var(--fpm-ok); animation:fpfBadge .5s cubic-bezier(.2,1.4,.4,1);}
.fpf-badge.is-dirty{color:#8a5a00; background:#fff3d1;}
.fpf-badge.is-off{color:#8a94a6; background:#eef0f4;}

/* number balls (the real <select> sits hidden next to each one) */
.fpf-nums{display:flex; flex-wrap:wrap; gap:8px;}
.fpf-num{position:relative; margin:0;}
.fpf-native{position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden; clip:rect(0 0 0 0); border:0 !important; opacity:0; pointer-events:none;}
.fpf-ball{width:54px; height:54px; padding:0; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center;
  font-size:13px; font-weight:700; color:#a3acbd; background:#f6f8fb; border:2px dashed color-mix(in srgb, var(--c) 45%, #fff);
  transition:transform .15s, border-color .15s, background .15s, box-shadow .15s;}
.fpf-ball:hover{transform:translateY(-2px); border-color:var(--c); color:var(--c);}
.fpf-ball:focus-visible{outline:none; box-shadow:0 0 0 4px color-mix(in srgb, var(--c) 28%, transparent);}
.fpf-num.is-set .fpf-ball{font-size:19px; font-weight:800; color:#fff; border:2px solid var(--c);
  background:radial-gradient(circle at 27% 22%, rgba(255,255,255,.55) 0 6%, rgba(255,255,255,0) 7%), radial-gradient(circle at 50% 120%, rgba(0,0,0,.18), rgba(0,0,0,0) 60%), var(--c);
  box-shadow:0 6px 14px -6px color-mix(in srgb, var(--c) 70%, transparent);}
.fpf-num.is-at .fpf-ball{transform:scale(1.08); border-style:solid; border-color:var(--c); box-shadow:0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent);}
.fpf-num.is-at::after{content:""; position:absolute; left:50%; bottom:-11px; margin-left:-7px; border:7px solid transparent; border-bottom-color:color-mix(in srgb, var(--c) 30%, #e3e8f0);}
.fpf-num.is-pop .fpf-ball{animation:fpfPop .35s cubic-bezier(.2,1.6,.4,1);}
.fpf-num.is-off .fpf-ball{cursor:not-allowed; color:#c4cad5; background:#eef0f4; border:2px solid #e3e7ee; transform:none;}
.fpf-nums.is-one .fpf-ball{width:62px; height:62px;}
.fpf-nums.is-one .fpf-num.is-set .fpf-ball{font-size:22px;}

/* number pad */
.fpf-pad{margin-top:-2px; padding:12px; border-radius:16px; background:color-mix(in srgb, var(--c) 6%, #fff); border:1px solid color-mix(in srgb, var(--c) 30%, #e3e8f0); animation:fpfPad .2s ease-out;}
.fpf-pad[hidden]{display:none;}
.fpf-pad-head{display:flex; align-items:center; gap:8px; margin:0 0 10px;}
.fpf-pad-head b{flex:1; font-size:13.5px; font-weight:700; color:var(--fpm-ink);}
.fpf-pad-clear,.fpf-pad-done{height:32px; padding:0 12px; border-radius:10px; font-size:12.5px; font-weight:700; cursor:pointer; transition:background .15s;}
.fpf-pad-clear{color:#667085; background:#fff; border:1px solid var(--fpm-line);}
.fpf-pad-clear:disabled{opacity:.45; cursor:default;}
.fpf-pad-done{color:#fff; background:var(--c); border:0;}
.fpf-pad-grid{display:grid; grid-template-columns:repeat(10, minmax(0, 1fr)); gap:5px;}
.fpf-pick{height:34px; padding:0; border-radius:10px; cursor:pointer; font-size:14.5px; font-weight:700; color:var(--fpm-ink); background:#fff; border:1px solid #e1e6ee; transition:background .12s, color .12s, transform .12s, border-color .12s;}
.fpf-pick:hover{border-color:var(--c); color:var(--c); transform:translateY(-1px);}
.fpf-pick:focus-visible{outline:none; border-color:var(--c); box-shadow:0 0 0 3px color-mix(in srgb, var(--c) 28%, transparent);}
.fpf-pick.is-cur{color:#fff; background:var(--c); border-color:var(--c);}
.fpf-pick.is-used{cursor:not-allowed; color:#c4cad5; background:#f3f5f8; text-decoration:line-through; transform:none;}

/* strength, price and the post button */
.fpf-meta{display:flex; align-items:flex-end; gap:10px; flex-wrap:wrap; padding-top:12px; border-top:1px dashed var(--fpm-line); margin-top:auto;}
.fpf-field{display:flex; flex-direction:column; gap:4px; margin:0; min-width:110px; flex:1 1 110px;}
.fpf-field > span{font-size:11.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--fpm-mut);}
.fpf-field select,.fpf-field input{height:42px !important; width:100% !important; padding:0 12px !important; border-radius:12px !important; border:1px solid #dfe4ec !important; background:#f8fafc !important;
  font-size:15px !important; font-weight:600; color:var(--fpm-ink) !important; box-shadow:none !important;}
.fpf-field select:focus,.fpf-field input:focus{outline:none; border-color:var(--c) !important; background:#fff !important; box-shadow:0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent) !important;}
.fpf-money{position:relative;}
.fpf-money i{position:absolute; left:12px; top:50%; transform:translateY(-50%); font-style:normal; font-weight:700; color:var(--fpm-mut);}
.fpf-money input{padding-left:26px !important;}
.fpf-post{flex:1 1 170px; height:42px; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:0 16px; border:0; border-radius:12px; cursor:pointer; white-space:nowrap;
  font-size:14px; font-weight:700; color:var(--fpm-ink); background:linear-gradient(180deg, #ffd84d, #ffc400); box-shadow:0 6px 14px -8px rgba(179,134,0,.9); transition:filter .15s, transform .15s;}
.fpf-post:hover{filter:brightness(1.05); transform:translateY(-1px);}
.fpf-post:focus-visible{outline:3px solid var(--fpm-ink); outline-offset:2px;}
.fpf-post:disabled{opacity:.45; cursor:not-allowed; transform:none; box-shadow:none;}
.fpf-card[data-state="posted"] .fpf-post,.fpf-card[data-state="just"] .fpf-post{color:var(--fpm-ink); background:#fff; border:1px solid #d7dde7; box-shadow:none;}
.fpf-post.is-busy{pointer-events:none; opacity:.85;}
.fpf-post.is-busy .fa{display:none;}
.fpf-post.is-busy::before{content:""; width:15px; height:15px; border-radius:50%; border:2px solid rgba(27,33,51,.25); border-top-color:var(--fpm-ink); animation:fcpSpin .7s linear infinite;}
.fpf-post.is-logic.is-busy::before{border-color:rgba(255,255,255,.3); border-top-color:#fff;}

/* per-line message under the button */
.fpf-line{margin:-4px 0 0; font-size:12.8px; font-weight:600; line-height:1.4;}
.fpf-line:empty{display:none;}
.fpf-line .fa{margin-right:3px;}
.fpf-line.is-ok{color:#167a49;}
.fpf-line.is-error{color:var(--fpm-bad);}
.fpf-line.is-warn{color:var(--fpm-warn);}
.fpf-line.is-wait{color:var(--fpm-mut);}

/* card moments */
.fpf-card.is-saving,.fpf-logic.is-saving{opacity:.8;}
.fpf-card.is-saved,.fpf-logic.is-saved{animation:fpfSaved 1.6s ease-out;}
.fpf-card.is-shake{animation:fpfShake .4s;}
.fpf-card.is-ping{animation:fpfPing 1s ease-out;}
.fpf-card.is-picking{z-index:1;}

/* note */
.fpf-logic{position:relative; margin-top:14px; padding:16px; border-radius:18px; background:#fff; border:1px solid var(--fpm-line); scroll-margin-top:12px;}
.fpf-logic-head{display:flex; align-items:center; gap:12px; margin:0 0 10px;}
.fpf-logic-ico{flex:none; width:38px; height:38px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:17px; color:var(--fpm-ink); background:#fff3c4;}
.fpf-logic-head > div{flex:1; min-width:0;}
.fpf-logic-head b{display:block; font-size:15px; color:var(--fpm-ink);}
.fpf-logic-head small{display:block; font-size:12px; color:var(--fpm-mut);}
.fpf-logic textarea{width:100%; min-height:110px; padding:12px 14px; border-radius:14px; border:1px solid #dfe4ec; background:#f8fafc; font-size:14.5px; line-height:1.55; color:var(--fpm-ink); resize:vertical;}
.fpf-logic textarea:focus{outline:none; border-color:#ffb800; background:#fff; box-shadow:0 0 0 3px rgba(255,204,0,.22);}
.fpf-logic-foot{display:flex; align-items:center; gap:12px; margin-top:10px;}
.fpf-chars{flex:1; font-size:11.5px; color:#a3acbd;}
.fpf-post.is-logic{flex:0 1 220px; color:#fff; background:var(--fpm-ink); box-shadow:none;}
.fpf-post.is-logic:hover{background:#2a3350;}
.fpf-logic .fpf-line{margin-top:8px;}
.fpf-rest{margin-top:12px;}

/* posting closed */
.fpf-closed{display:flex; align-items:flex-start; gap:14px; padding:20px; border-radius:18px; background:#fff; border:1px solid #f3c9cb;}
.fpf-closed-ico{flex:none; width:46px; height:46px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:21px; color:#fff; background:linear-gradient(135deg, #e5484d, #b4232a);}
.fpf-closed b{display:block; font-size:16px; color:var(--fpm-ink);}
.fpf-closed p{margin:3px 0 4px; font-size:14px; color:var(--fpm-bad);}
.fpf-closed small{font-size:12.5px; color:var(--fpm-mut);}
#forecaster_prediction_form > .alert{margin:0; padding:16px 18px; border:0; border-radius:16px; font-size:14.5px;}
#forecaster_prediction_form > .alert-danger{color:#fff; background:linear-gradient(135deg, #7f1d1d, #e5484d);}
#forecaster_prediction_form > br{display:none;}

/* ---- feedback toast (stays in view at the bottom of the window) ---- */
.fpm-toast{position:absolute; left:50%; bottom:16px; z-index:5; width:calc(100% - 32px); max-width:560px; transform:translateX(-50%);
  display:flex; align-items:center; gap:12px; padding:12px 12px 12px 14px; border-radius:16px; color:#fff; background:#1b2133; box-shadow:0 18px 40px -12px rgba(10,14,25,.55);}
.fpm-toast[hidden]{display:none;}
.fpm-toast.is-in{animation:fpmToast .35s cubic-bezier(.2,1.2,.4,1) both;}
.fpm-toast-ico{flex:none; width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:16px; color:#fff; background:#5b6474;}
.fpm-toast.is-success .fpm-toast-ico{background:var(--fpm-ok); box-shadow:0 0 0 5px rgba(31,157,97,.25);}
.fpm-toast.is-error{background:#3a1416;}
.fpm-toast.is-error .fpm-toast-ico{background:var(--fpm-bad); box-shadow:0 0 0 5px rgba(217,59,65,.25);}
.fpm-toast-txt{flex:1; min-width:0;}
.fpm-toast-txt b{display:block; font-size:15px; font-weight:700; color:#fff;}
.fpm-toast-txt small{display:flex; align-items:center; flex-wrap:wrap; gap:4px 10px; margin-top:3px; font-size:12.8px; color:#c3cbdc;}
.fpm-toast-balls{display:inline-flex; flex-wrap:wrap; gap:4px;}
.fpm-toast-balls i{min-width:24px; height:24px; padding:0 4px; border-radius:12px; display:inline-flex; align-items:center; justify-content:center; font-style:normal; font-size:12px; font-weight:800; color:#fff; background:var(--c);}
.fpm-toast-retry{flex:none; height:34px; padding:0 12px; border:0; border-radius:10px; cursor:pointer; font-size:13px; font-weight:700; color:var(--fpm-ink); background:#ffcc00;}
.fpm-toast-x{flex:none; width:32px; height:32px; border:0; border-radius:10px; cursor:pointer; color:#c3cbdc; background:rgba(255,255,255,.08);}
.fpm-toast-x:hover{color:#fff; background:rgba(255,255,255,.16);}

@keyframes fpfPop{0%{transform:scale(.7);} 100%{transform:scale(1);}}
@keyframes fpfPad{from{opacity:0; transform:translateY(-4px);} to{opacity:1; transform:none;}}
@keyframes fpfBadge{0%{transform:scale(.6); opacity:0;} 100%{transform:scale(1); opacity:1;}}
@keyframes fpfSaved{0%{box-shadow:0 0 0 0 rgba(31,157,97,.55);} 40%{box-shadow:0 0 0 8px rgba(31,157,97,.18);} 100%{box-shadow:0 0 0 0 rgba(31,157,97,0);}}
@keyframes fpfPing{0%{box-shadow:0 0 0 0 color-mix(in srgb, var(--c, #ffcc00) 50%, transparent);} 100%{box-shadow:0 0 0 12px transparent;}}
@keyframes fpfShake{0%,100%{transform:none;} 20%{transform:translateX(-6px);} 40%{transform:translateX(6px);} 60%{transform:translateX(-4px);} 80%{transform:translateX(3px);}}
@keyframes fpmToast{from{opacity:0; transform:translate(-50%, 16px);} to{opacity:1; transform:translate(-50%, 0);}}

@media (max-width:767px){
  .fpm .fpm-dialog{margin:0; max-width:none; min-height:100%;}
  .fpm .fpm-content{border-radius:0; min-height:100vh;}
  .fpm-head{padding:16px;}
  .fpm-body{padding:12px 12px 100px;}
  .fpf-sum{padding:12px;}
  .fpf-ring{width:46px; height:46px;}
  .fpf-chips{grid-column:1 / -1; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin:8px -12px 0; padding:0 12px 2px;}
  .fpf-chips::-webkit-scrollbar{display:none;}
  .fpf-chip{flex:none;}
  .fpf-grid{grid-template-columns:minmax(0, 1fr); gap:12px;}
  .fpf-card{padding:14px;}
  .fpf-nums{gap:7px;}
  .fpf-ball{width:46px; height:46px;}
  .fpf-num.is-set .fpf-ball{font-size:17px;}
  .fpf-pad{padding:10px;}
  .fpf-pad-grid{grid-template-columns:repeat(9, minmax(0, 1fr));}
  .fpf-pick{height:40px;}
  .fpf-post{flex-basis:100%;}
  .fpf-post.is-logic{flex-basis:auto;}
  .fpm-toast{bottom:12px; width:calc(100% - 24px);}
}
@media (max-width:359px){ .fpf-pad-grid{gap:4px;} .fpf-pick{font-size:13px;} .fpf-ball{width:42px; height:42px;} }
@media (prefers-reduced-motion:reduce){
  .fpf-card.is-saved,.fpf-logic.is-saved,.fpf-card.is-shake,.fpf-card.is-ping,.fpf-num.is-pop .fpf-ball,.fpm-toast.is-in,.fpf-pad,.fpf-badge.is-just{animation:none;}
}

/* =====================================================================
   FORECASTER STUDIO — public parts (tagline, socials, announcement, ad spaces, promo code, booking)
   ===================================================================== */
.fcs-tagline{margin:6px 0 0; font-size:15px; font-weight:500; color:var(--fcp-ink-2); line-height:1.4;}
.fcs-socrow{list-style:none; margin:10px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:6px;}
.fcs-socrow a{width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:16px; color:#fff !important; text-decoration:none !important; background:#5b6474; transition:transform .15s, filter .15s;}
.fcs-socrow a:hover{transform:translateY(-2px); filter:brightness(1.1);}
.fcs-socrow .is-whatsapp{background:#25d366;} .fcs-socrow .is-telegram{background:#229ed9;} .fcs-socrow .is-x{background:#111;} .fcs-socrow .is-facebook{background:#1877f2;}
.fcs-socrow .is-instagram{background:radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);} .fcs-socrow .is-tiktok{background:#010101;} .fcs-socrow .is-youtube{background:#ff0000;} .fcs-socrow .is-website{background:var(--fcp-navy);}

.fcs-announce{display:flex; align-items:center; gap:12px; margin:12px 0; padding:12px 16px; border-radius:14px; background:#eaf3ff; border:1px solid #c9defa; color:#123a6b;}
.fcs-announce > .fa{flex:none; width:34px; height:34px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:16px; color:#fff; background:#2f6bff;}
.fcs-announce p{flex:1; margin:0; font-size:15px; font-weight:500; line-height:1.45;}
.fcs-announce a{flex:none; font-weight:700; white-space:nowrap; color:inherit !important;}
.fcs-announce.is-promo{background:#fff7d6; border-color:#ffe08a; color:#5b4300;}
.fcs-announce.is-promo > .fa{background:#ffb800; color:#1b2133;}
.fcs-announce.is-alert{background:#fdecec; border-color:#f6c6c6; color:#7a1c1c;}
.fcs-announce.is-alert > .fa{background:#d64545;}

.fcs-adslot{position:relative; display:flex; align-items:center; gap:12px; margin:12px 0; padding:12px 14px; border-radius:16px; background:#fff; border:1px solid var(--fcp-line); box-shadow:var(--fcp-shadow);}
.fcs-adtag{position:absolute; top:-9px; left:14px; padding:2px 8px; border-radius:6px; font-size:10.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#5b6474; background:#eef1f6; border:1px solid var(--fcp-line);}
.fcs-adlink{flex:1; min-width:0; display:flex; align-items:center; gap:14px; color:var(--fcp-ink) !important; text-decoration:none !important;}
.fcs-adlink img{flex:none; width:96px; height:64px; border-radius:10px; object-fit:cover; background:#eef1f6;}
.fcs-adtxt{flex:1; min-width:0; display:flex; flex-direction:column; gap:2px;}
.fcs-adtxt b{font-size:15.5px; font-weight:700; color:var(--fcp-ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.fcs-adtxt small{font-size:13px; color:var(--fcp-ink-2); line-height:1.4;}
.fcs-adgo{flex:none; padding:8px 14px; border-radius:999px; font-size:13px; font-weight:700; color:var(--fcp-navy); background:var(--fcp-yellow);}
.fcs-adown{flex:none; border:0; background:none; font-size:11.5px; font-weight:600; color:var(--fcp-muted); text-decoration:underline; cursor:pointer;}
.fcs-adslot.is-empty{border-style:dashed; box-shadow:none; background:linear-gradient(90deg, #fff, #fafbfd);}
.fcs-adslot.is-empty .fcp-btn{flex:none;}
.fcs-adslot.is-owner{border-style:dashed; box-shadow:none; background:#fafbfd; font-size:13px; color:var(--fcp-ink-2);}
.fcs-adslot.is-owner > .fa{color:var(--fcp-muted);}
.fcs-adslot.is-owner span{flex:1;}
.fcs-adslot.is-owner a{flex:none; border:1px solid var(--fcp-line); background:#fff; border-radius:999px; padding:6px 12px; font-weight:600; color:var(--fcp-ink) !important; text-decoration:none !important;}
.fcs-adslot.is-side{flex-direction:column; align-items:stretch; text-align:left;}
.fcs-adslot.is-side .fcs-adlink{flex-direction:column; align-items:stretch;}
.fcs-adslot.is-side .fcs-adlink img{width:100%; height:auto; aspect-ratio:16/9;}
.fcs-adslot.is-side .fcs-adgo{align-self:flex-start;}

.fcs-bio{margin:12px 0 0; padding:12px 14px; border-radius:12px; background:#f6f8fb; border-left:4px solid var(--fcp-yellow); font-size:14.5px; line-height:1.6; color:var(--fcp-ink);}

.fcs-promo{margin:10px 0 0;}
.fcs-promo-open{border:0; background:none; padding:4px 0; font-size:13.5px; font-weight:600; color:var(--fcp-blue); cursor:pointer;}
.fcs-promo-form{display:flex; gap:8px; margin-top:6px;}
.fcs-promo-form[hidden]{display:none;}
.fcs-promo-form input{flex:1; min-width:0; height:40px; padding:0 12px; border-radius:12px; border:1px solid var(--fcp-line); font-weight:700; letter-spacing:.06em; text-transform:uppercase;}
.fcs-promo-msg{margin:6px 0 0; font-size:13px;}
.fcs-promo-msg:empty{display:none;}
.fcs-promo-msg.is-ok{color:var(--fcp-green);} .fcs-promo-msg.is-bad{color:var(--fcp-red);}
.fcp-offer.has-promo{outline:2px solid var(--fcp-green); outline-offset:-2px;}
.fcs-was{display:block; margin-top:2px; font-size:13px; font-weight:600; color:var(--fcp-green);}
.fcp-offer .fcs-was{color:var(--fcp-yellow);}
.fcp-offer.has-promo .fcp-price{text-decoration:line-through; opacity:.55;}

.fcs-book .modal-body{padding:16px 18px;}
.fcs-bk-slots{display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:8px; margin:0 0 12px;}
.fcs-bk-slot{margin:0; cursor:pointer;}
.fcs-bk-slot input{position:absolute; opacity:0;}
.fcs-bk-slot span{display:flex; flex-direction:column; gap:3px; padding:12px; border-radius:14px; border:2px solid var(--fcp-line); background:#fff; transition:border-color .15s;}
.fcs-bk-slot input:checked + span{border-color:var(--fcp-navy); background:#f6f8fb;}
.fcs-bk-slot input:focus-visible + span{box-shadow:0 0 0 3px rgba(47,107,255,.3);}
.fcs-bk-slot small{color:var(--fcp-muted); font-size:12.5px;}
.fcs-bk-pic,.fcs-slot-pic{display:block; height:38px; border-radius:8px; background:#eef1f6; position:relative; margin-bottom:4px;}
.fcs-bk-pic::after,.fcs-slot-pic i{content:""; position:absolute; background:var(--fcp-yellow); border-radius:4px;}
.fcs-bk-pic.is-top::after,.fcs-slot-pic.is-top i{left:6px; right:6px; top:8px; height:8px;}
.fcs-bk-pic.is-side::after,.fcs-slot-pic.is-side i{right:6px; top:6px; bottom:6px; width:28%;}
.fcs-bk-row{display:grid; grid-template-columns:1fr 1fr; gap:10px;}
.fcs-bk-row label,.fcs-bk-f{display:flex; flex-direction:column; gap:4px; margin:0 0 10px; font-size:12.5px; font-weight:700; color:var(--fcp-ink-2);}
.fcs-bk-f small{font-weight:500; color:var(--fcp-muted);}
.fcs-book input:not([type="radio"]):not([type="file"]),.fcs-book textarea{width:100%; padding:9px 12px; border-radius:12px; border:1px solid var(--fcp-line); font-size:14.5px; font-weight:500; color:var(--fcp-ink);}
.fcs-bk-preview{position:relative; margin:4px 0 12px; padding:14px 12px 10px; border-radius:14px; border:1px dashed var(--fcp-line); background:#fafbfd;}
.fcs-bk-rules{margin:0 0 10px; padding:10px 12px; border-radius:12px; font-size:13px; background:#fff7d6; color:#5b4300;}
.fcs-bk-total{display:flex; align-items:baseline; justify-content:space-between; padding:12px 14px; border-radius:14px; background:var(--fcp-navy); color:#c9d1de;}
.fcs-bk-total b{font-size:22px; color:var(--fcp-yellow);}
.fcs-bk-total small{font-size:12px;}
.fcs-bk-msg{margin:8px 0; font-size:13.5px;}
.fcs-bk-msg:empty{display:none;}
.fcs-bk-msg.is-bad{color:var(--fcp-red);} .fcs-bk-msg.is-ok{color:var(--fcp-green);}
.fcs-bk-small{font-size:12.5px; color:var(--fcp-muted); line-height:1.5;}
.fcs-myads{margin-top:16px; padding-top:12px; border-top:1px solid var(--fcp-line);}
.fcs-myads h6{font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--fcp-muted);}
.fcs-myads ul{list-style:none; margin:0; padding:0; display:grid; gap:8px;}
.fcs-myads li{display:flex; flex-direction:column; gap:2px; padding:10px 12px; border-radius:12px; background:#f6f8fb; font-size:13px;}
.fcs-myads li small{color:var(--fcp-muted);} .fcs-myads li span{font-weight:600;} .fcs-myads li em{font-style:normal; color:var(--fcp-ink-2);}
.fcs-myads li.is-live span,.fcs-myads li.is-scheduled span{color:var(--fcp-green);} .fcs-myads li.is-rejected span,.fcs-myads li.is-expired span{color:var(--fcp-red);}
.fcs-myads li button{align-self:flex-start; margin-top:4px; border:1px solid var(--fcp-line); background:#fff; border-radius:999px; padding:4px 10px; font-size:12px; font-weight:600; cursor:pointer;}

/* back office entry */
.fcs-entry{margin:0 0 14px;}
.fcs-entry-main{width:100%; display:flex; align-items:center; gap:14px; padding:14px 16px; border:0; border-radius:16px; cursor:pointer; text-align:left; color:var(--fcp-navy);
  background:linear-gradient(120deg, var(--fcp-yellow), #ffe27a); box-shadow:0 10px 24px -12px rgba(255,204,0,.8); transition:transform .15s;}
.fcs-entry-main:hover{transform:translateY(-1px);}
.fcs-entry-main > span:nth-child(2){flex:1; display:flex; flex-direction:column;}
.fcs-entry-main b{font-size:17px;} .fcs-entry-main small{font-size:13px; opacity:.8;}
.fcs-entry-main > .fa{font-size:22px;}
.fcs-entry-ico{flex:none; width:44px; height:44px; border-radius:13px; display:flex; align-items:center; justify-content:center; font-size:19px; color:var(--fcp-yellow); background:var(--fcp-navy);}
.fcs-entry-chips{display:flex; flex-wrap:wrap; gap:6px; margin-top:8px;}
.fcs-entry-chips button{flex:1 1 auto; display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:8px 12px; border-radius:999px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.06); color:#fff; font-size:13px; font-weight:600; cursor:pointer;}
.fcs-entry-chips button:hover{background:rgba(255,255,255,.14);}

/* =====================================================================
   FORECASTER STUDIO — the owner's window (.fcs-modal)
   ===================================================================== */
.fcs-modal{--s-ink:#1b2133; --s-mut:#7b8597; --s-line:#e3e8f0; --s-bg:#f3f5fa; font-family:"Rubik",-apple-system,"Segoe UI",Roboto,Arial,sans-serif;}
.fcs-modal .fcs-dialog{max-width:1180px; width:calc(100% - 32px); margin:20px auto;}
.fcs-modal .fcs-content{position:relative; display:flex; flex-direction:row; height:calc(100vh - 40px); border:0; border-radius:22px; overflow:hidden; background:var(--s-bg); box-shadow:0 30px 80px rgba(10,14,25,.45);}
.fcs-side{flex:none; width:236px; display:flex; flex-direction:column; gap:12px; padding:18px 14px; color:#c3cbdc; background:linear-gradient(180deg, var(--fcp-navy, #1b2133) 0%, #10141f 100%);}
.fcs-brand{display:flex; align-items:center; gap:10px; padding:0 4px 8px;}
.fcs-brand-ico{flex:none; width:40px; height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:18px; color:var(--fcp-navy, #1b2133); background:var(--fcp-yellow, #ffcc00);}
.fcs-brand > div{flex:1; min-width:0;} .fcs-brand b{display:block; font-size:17px; color:#fff;} .fcs-brand small{display:block; font-size:12.5px; overflow:hidden; text-overflow:ellipsis;}
.fcs-x{flex:none; width:34px; height:34px; border-radius:10px; border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.06); color:#fff; cursor:pointer;}
.fcs-nav{display:flex; flex-direction:column; gap:4px;}
.fcs-nav button{position:relative; display:flex; align-items:center; gap:12px; padding:11px 12px; border:0; border-radius:12px; background:none; color:#c3cbdc; font-size:14.5px; font-weight:600; text-align:left; cursor:pointer; transition:background .15s, color .15s;}
.fcs-nav button .fa{width:18px; text-align:center; font-size:16px;}
.fcs-nav button:hover{background:rgba(255,255,255,.06); color:#fff;}
.fcs-nav button.is-on{background:rgba(255,255,255,.1); color:#fff; box-shadow:inset 3px 0 0 var(--fcp-yellow, #ffcc00);}
.fcs-badge{margin-left:auto; min-width:20px; height:20px; padding:0 6px; border-radius:10px; font-style:normal; font-size:11.5px; font-weight:700; line-height:20px; text-align:center; color:var(--fcp-navy, #1b2133); background:var(--fcp-yellow, #ffcc00);}
.fcs-badge[hidden]{display:none;}
.fcs-view{margin-top:auto; padding:10px 12px; border-radius:12px; font-size:13px; font-weight:600; color:#c3cbdc !important; text-decoration:none !important; border:1px solid rgba(255,255,255,.14);}
.fcs-view:hover{color:#fff !important; background:rgba(255,255,255,.06);}
.fcs-main{flex:1; min-width:0; overflow-y:auto; padding:22px 26px 90px; color:var(--s-ink);}
.fcs-loading{padding:60px 0; text-align:center; color:var(--s-mut); font-size:15px;}
.fcs-loading[hidden]{display:none;}
.fcs-panel[hidden]{display:none;}
.fcs-ph{display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:10px; margin:0 0 16px;}
.fcs-ph h3{margin:0; font-size:23px; font-weight:700; color:var(--s-ink);}
.fcs-ph p{margin:3px 0 0; font-size:14px; color:var(--s-mut);}
.fcs-tools{display:flex; align-items:center; gap:8px; flex-wrap:wrap;}
.fcs-seg{display:inline-flex; padding:3px; border-radius:12px; background:#fff; border:1px solid var(--s-line);}
.fcs-seg button{border:0; background:none; padding:7px 11px; border-radius:9px; font-size:13px; font-weight:600; color:#5b6474; cursor:pointer;}
.fcs-seg button.is-on{background:var(--fcp-navy, #1b2133); color:#fff;}
.fcs-btn{display:inline-flex; align-items:center; justify-content:center; gap:7px; height:40px; padding:0 16px; border:0; border-radius:12px; font-size:14px; font-weight:700; cursor:pointer; color:#fff; background:var(--fcp-navy, #1b2133); transition:filter .15s, transform .15s;}
.fcs-btn:hover{filter:brightness(1.12);}
.fcs-btn.is-gold{color:var(--fcp-navy, #1b2133); background:var(--fcp-yellow, #ffcc00);}
.fcs-btn.is-ghost{color:var(--s-ink); background:#fff; border:1px solid var(--s-line);}
.fcs-btn.is-good{background:#1f9d61;}
.fcs-btn.is-busy,.fcs-mini.is-busy{opacity:.6; pointer-events:none;}
.fcs-mini{display:inline-flex; align-items:center; gap:5px; padding:5px 10px; border-radius:9px; border:1px solid var(--s-line); background:#fff; font-size:12.5px; font-weight:600; color:var(--s-ink); cursor:pointer; white-space:nowrap;}
.fcs-mini:hover{border-color:#c9d1de;}
.fcs-mini.is-bad{color:#c43b3b;}
.fcs-link{border:0; background:none; font-size:13px; font-weight:700; color:#2f6bff; cursor:pointer;}
.fcs-alert{width:100%; display:flex; align-items:center; gap:10px; margin:0 0 14px; padding:12px 14px; border:1px solid #ffe08a; border-radius:14px; background:#fff7d6; color:#5b4300; font-size:14px; text-align:left; cursor:pointer;}
.fcs-alert span{margin-left:auto; font-weight:700;}
.fcs-kpis{display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:10px; margin:0 0 14px;}
.fcs-kpis.is-8{grid-template-columns:repeat(4, minmax(0, 1fr));}
.fcs-kpi{display:flex; gap:12px; align-items:flex-start; padding:14px; border-radius:16px; background:#fff; border:1px solid var(--s-line);}
.fcs-kpi-ico{flex:none; width:38px; height:38px; border-radius:11px; display:flex; align-items:center; justify-content:center; font-size:16px; color:#2f6bff; background:#eef3ff;}
.fcs-kpi.is-gold .fcs-kpi-ico{color:#8a6100; background:#fff3c4;}
.fcs-kpi > div{min-width:0;}
.fcs-kpi small{display:block; font-size:12px; font-weight:600; color:var(--s-mut);}
.fcs-kpi b{display:block; font-size:21px; font-weight:800; line-height:1.2; color:var(--s-ink); font-variant-numeric:tabular-nums;}
.fcs-kpi em{display:block; margin-top:2px; font-style:normal; font-size:12px; color:var(--s-mut);}
.fcs-up{color:#1f9d61; font-weight:700;} .fcs-down{color:#d64545; font-weight:700;}
.fcs-two{display:grid; grid-template-columns:minmax(0, 1.5fr) minmax(0, 1fr); gap:14px;}
.fcs-grid2{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:14px;}
.fcs-card{margin:0 0 14px; padding:16px; border-radius:18px; background:#fff; border:1px solid var(--s-line); scroll-margin-top:10px;}
.fcs-two .fcs-card,.fcs-grid2 .fcs-card{margin:0;}
.fcs-grid2{margin:0 0 14px;}
.fcs-card.is-attn{border-color:#ffe08a; box-shadow:0 0 0 3px rgba(255,204,0,.2);}
.fcs-card.is-ping{animation:fcsPing 1.2s ease-out;}
@keyframes fcsPing{0%{box-shadow:0 0 0 0 rgba(255,184,0,.55);} 100%{box-shadow:0 0 0 14px rgba(255,184,0,0);}}
.fcs-card-h{display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 0 12px;}
.fcs-card-h h4{margin:0; display:flex; align-items:center; gap:8px; font-size:15.5px; font-weight:700; color:var(--s-ink);}
.fcs-card-h h4 .fa{color:#b38600;}
.fcs-pill{padding:2px 9px; border-radius:999px; font-size:12px; color:#167a49; background:#e6f6ee;}
.fcs-empty{margin:0; padding:16px; border-radius:12px; text-align:center; font-size:13.5px; color:var(--s-mut); background:#f8fafc;}
.fcs-note{margin:8px 0 0; font-size:12.5px; line-height:1.5; color:var(--s-mut);}
.fcs-muted{color:var(--s-mut);}
.fcs-chart{width:100%; height:auto; display:block;}
.fcs-chart .fcs-grid{stroke:#eef1f6;} .fcs-chart .fcs-ax{font-size:10px; fill:#98a1b3;}
.fcs-chart .fcs-vline{fill:none; stroke:#1b2133; stroke-width:1.6; stroke-dasharray:4 3; opacity:.6;}
.fcs-chart .fcs-vdot{fill:#1b2133;}
.fcs-legend{display:flex; flex-wrap:wrap; gap:6px 14px; margin-top:6px; font-size:12px; color:var(--s-mut);}
.fcs-legend i{display:inline-block; width:10px; height:10px; margin-right:5px; border-radius:3px; vertical-align:-1px;}
.fcs-legend i.is-line{height:0; border-top:2px dashed #1b2133; border-radius:0; vertical-align:3px;}
.fcs-meter{height:8px; border-radius:6px; background:#eef1f6; overflow:hidden; margin:0 0 10px;}
.fcs-meter i{display:block; height:100%; border-radius:6px; background:linear-gradient(90deg, #1f9d61, #2fd47a);}
.fcs-check{list-style:none; margin:0; padding:0; display:grid; gap:6px; max-height:330px; overflow:auto;}
.fcs-check li{display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:12px; background:#f8fafc;}
.fcs-check li > .fa{flex:none; font-size:18px; color:#c4cad5;}
.fcs-check li.is-done > .fa{color:#1f9d61;}
.fcs-check li > div{flex:1; min-width:0;}
.fcs-check b{display:block; font-size:13.5px;} .fcs-check small{display:block; font-size:12px; color:var(--s-mut);}
.fcs-check li.is-done b{color:var(--s-mut); text-decoration:line-through;}
.fcs-quick{display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:10px; margin:14px 0 0;}
.fcs-quick button{display:flex; flex-direction:column; align-items:flex-start; gap:3px; padding:14px; border-radius:16px; border:1px solid var(--s-line); background:#fff; text-align:left; cursor:pointer; transition:transform .15s, border-color .15s;}
.fcs-quick button:hover{transform:translateY(-2px); border-color:#c9d1de;}
.fcs-quick .fa{font-size:20px; color:#b38600; margin-bottom:4px;} .fcs-quick b{font-size:14px; color:var(--s-ink);} .fcs-quick small{font-size:12px; color:var(--s-mut);}
.fcs-bars{list-style:none; margin:0; padding:0; display:grid; gap:8px;}
.fcs-bars li{display:grid; grid-template-columns:minmax(90px, 34%) 1fr auto; align-items:center; gap:10px; font-size:13px;}
.fcs-bars-l{overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--s-ink); font-weight:600;}
.fcs-bars-t{height:10px; border-radius:6px; background:#eef1f6; overflow:hidden;}
.fcs-bars-t i{display:block; height:100%; border-radius:6px; background:#2f6bff;}
.fcs-bars b{font-size:13px; white-space:nowrap;} .fcs-bars b small{font-weight:500; color:var(--s-mut);}
.fcs-table{width:100%; border-collapse:collapse; font-size:13.5px;}
.fcs-table th{padding:8px 8px; text-align:left; font-size:11.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--s-mut); border-bottom:1px solid var(--s-line);}
.fcs-table td{padding:9px 8px; border-bottom:1px solid #f1f3f7; vertical-align:middle;}
.fcs-table .r{text-align:right;}
.fcs-table tr.is-dim td{opacity:.55;}
.fcs-rank{display:inline-flex; width:22px; height:22px; margin-right:8px; border-radius:50%; align-items:center; justify-content:center; font-size:11.5px; font-weight:700; color:var(--fcp-navy, #1b2133); background:#fff3c4;}
.fcs-facts{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px;}
.fcs-facts li{padding:10px 12px; border-radius:12px; background:#f8fafc;}
.fcs-facts span{display:block; font-size:12px; color:var(--s-mut);} .fcs-facts b{font-size:17px;}
.fcs-st{display:inline-block; padding:2px 9px; border-radius:999px; font-size:12px; font-weight:700; text-transform:capitalize; color:#5b6474; background:#eef1f6;}
.fcs-st.is-live,.fcs-st.is-scheduled{color:#167a49; background:#e6f6ee;}
.fcs-st.is-pending{color:#8a5a00; background:#fff3d1;}
.fcs-st.is-rejected,.fcs-st.is-expired,.fcs-st.is-usedup{color:#a12c2c; background:#fdecec;}
.fcs-code{font-family:ui-monospace, Menlo, Consolas, monospace; letter-spacing:.04em;}

/* grow */
.fcs-share{display:grid; grid-template-columns:200px minmax(0, 1fr); gap:18px;}
.fcs-qr-wrap{display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center;}
.fcs-qr{width:184px; height:184px; padding:8px; border-radius:16px; background:#fff; border:1px solid var(--s-line); display:flex; align-items:center; justify-content:center; font-size:12px; color:var(--s-mut);}
.fcs-qr img,.fcs-qr canvas{max-width:100%;}
.fcs-qr-wrap small{font-size:12px; color:var(--s-mut);}
.fcs-lab{display:flex; align-items:baseline; gap:8px; margin:12px 0 6px; font-size:12.5px; font-weight:700; color:#475066;}
.fcs-lab:first-child{margin-top:0;}
.fcs-lab small{font-weight:500; color:var(--s-mut);}
.fcs-copyrow{display:flex; gap:8px;}
.fcs-copyrow input{flex:1; min-width:0; height:40px; padding:0 12px; border-radius:12px; border:1px solid var(--s-line); background:#f8fafc; font-size:14px;}
.fcs-nets{display:flex; flex-wrap:wrap; gap:8px; margin:10px 0 0;}
.fcs-net{display:inline-flex; align-items:center; gap:7px; padding:9px 14px; border-radius:12px; font-size:13.5px; font-weight:700; color:#fff !important; text-decoration:none !important;}
.fcs-net.is-whatsapp{background:#25d366;} .fcs-net.is-facebook{background:#1877f2;} .fcs-net.is-x{background:#111;} .fcs-net.is-telegram{background:#229ed9;}
.fcs-cap{display:flex; gap:8px; margin:0 0 8px;}
.fcs-cap textarea{flex:1; min-width:0; padding:8px 10px; border-radius:12px; border:1px solid var(--s-line); font-size:13.5px; line-height:1.45; resize:vertical;}
.fcs-det{margin-top:10px;} .fcs-det summary{cursor:pointer; font-size:13px; font-weight:700; color:#2f6bff;}
.fcs-glinks{list-style:none; margin:8px 0 0; padding:0; display:grid; gap:6px;}
.fcs-glinks li{display:flex; align-items:center; justify-content:space-between; gap:8px; padding:6px 10px; border-radius:10px; background:#f8fafc; font-size:13.5px;}
.fcs-inline{display:flex; gap:8px; margin:10px 0;}
.fcs-inline input{flex:1; min-width:0; height:40px; padding:0 12px; border-radius:12px; border:1px solid var(--s-line); font-size:14px;}
.fcs-promo-form{display:grid; grid-template-columns:1.3fr .8fr 1fr .8fr 1fr auto; gap:8px; align-items:end; margin:10px 0 12px;}
.fcs-promo-form label,.fcs-ann-row label,.fcs-slot-f label{display:flex; flex-direction:column; gap:4px; margin:0; font-size:12px; font-weight:700; color:#475066;}
.fcs-modal input[type="text"],.fcs-modal input:not([type]),.fcs-modal input[type="number"],.fcs-modal input[type="date"],.fcs-modal select,.fcs-modal textarea{
  width:100%; min-height:40px; padding:7px 10px; border-radius:12px; border:1px solid var(--s-line); background:#fff; font-size:14px; color:var(--s-ink);}
.fcs-modal textarea{line-height:1.5;}
.fcs-modal input:focus,.fcs-modal select:focus,.fcs-modal textarea:focus{outline:none; border-color:#2f6bff; box-shadow:0 0 0 3px rgba(47,107,255,.15);}
.fcs-ann textarea{margin:0 0 10px;}
.fcs-ann-row{display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:8px; margin:0 0 10px;}
.fcs-chk{display:flex; align-items:center; gap:8px; margin:0 0 12px; font-size:13.5px; font-weight:500;}
.fcs-chk input[type="checkbox"]{width:18px; height:18px; min-height:0;}
.fcs-chk small{color:var(--s-mut);}
.fcs-chk input[type="color"]{width:44px; height:30px; padding:0; border:0; background:none; min-height:0;}
.fcs-ann-now{display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:0 0 10px; padding:10px 12px; border-radius:12px; font-size:13.5px; background:#eaf3ff;}
.fcs-ann-now.is-promo{background:#fff7d6;} .fcs-ann-now.is-alert{background:#fdecec;}

/* look */
.fcs-themes{display:grid; grid-template-columns:repeat(auto-fill, minmax(96px, 1fr)); gap:10px; margin:0 0 12px;}
.fcs-theme,.fcs-cover{margin:0; cursor:pointer; text-align:center;}
.fcs-theme input,.fcs-cover input{position:absolute; opacity:0;}
.fcs-theme span{display:flex; height:46px; border-radius:12px; overflow:hidden; border:3px solid transparent; transition:border-color .15s;}
.fcs-theme span i{flex:2; background:var(--a);} .fcs-theme span i + i{flex:1; background:var(--b);}
.fcs-theme b{display:block; margin-top:4px; font-size:12.5px; font-weight:600;}
.fcs-theme input:checked + span,.fcs-cover input:checked + span{border-color:#2f6bff; box-shadow:0 0 0 2px #fff inset;}
.fcs-theme input:focus-visible + span,.fcs-cover input:focus-visible + span{outline:3px solid rgba(47,107,255,.35);}
.fcs-covers{display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:8px; margin:0 0 10px;}
.fcs-cover span{display:flex; align-items:flex-end; height:58px; padding:6px; border-radius:12px; border:3px solid transparent; transition:border-color .15s;}
.fcs-cover em{font-style:normal; font-size:11px; font-weight:700; color:#fff; text-shadow:0 1px 2px rgba(0,0,0,.5);}
.fcs-cover input:disabled + span{opacity:.5; cursor:not-allowed;}
.fcs-cover input[value="upload"] + span em{color:var(--s-ink); text-shadow:none;}
.fcs-look .fcs-card{margin:0 0 14px;}
.fcs-look input[name="tagline"]{margin:0 0 6px;}
.fcs-socials{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px;}
.fcs-soc{display:grid; grid-template-columns:28px 90px minmax(0, 1fr); align-items:center; gap:8px; margin:0; font-size:13px; font-weight:600;}
.fcs-soc .fa{font-size:18px; text-align:center; color:#5b6474;}
.fcs-toggles{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:6px 14px;}
.fcs-switch{display:flex; align-items:center; gap:10px; margin:0; cursor:pointer; font-size:13.5px;}
.fcs-switch input{position:absolute; opacity:0;}
.fcs-switch i{flex:none; position:relative; width:38px; height:22px; border-radius:12px; background:#cfd5df; transition:background .15s;}
.fcs-switch i::after{content:""; position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%; background:#fff; transition:transform .15s; box-shadow:0 1px 2px rgba(0,0,0,.2);}
.fcs-switch input:checked + i{background:#1f9d61;}
.fcs-switch input:checked + i::after{transform:translateX(16px);}
.fcs-switch input:focus-visible + i{box-shadow:0 0 0 3px rgba(47,107,255,.3);}
.fcs-switch.is-big span{display:flex; flex-direction:column;} .fcs-switch.is-big small{font-size:12.5px; color:var(--s-mut);}
.fcs-order{list-style:none; margin:0; padding:0; display:grid; gap:6px;}
.fcs-order li{display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:12px; background:#f8fafc; font-size:14px; font-weight:600;}
.fcs-order li span{flex:1;} .fcs-order li > .fa{color:var(--s-mut);}
.fcs-savebar{position:sticky; bottom:0; z-index:3; display:none; align-items:center; justify-content:space-between; gap:10px; margin:14px 0 0; padding:12px 16px; border-radius:16px; background:#1b2133; color:#fff; box-shadow:0 14px 30px -12px rgba(10,14,25,.6);}
.fcs-savebar.is-on{display:flex;}
.fcs-savebar span{font-size:14px; font-weight:600;}

/* ads */
.fcs-slots{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; margin:12px 0;}
.fcs-slot{margin:0; padding:12px; border-radius:14px; border:1px solid var(--s-line);}
.fcs-slot legend{width:auto; margin:0 0 6px; padding:0 4px; font-size:14px; font-weight:700;}
.fcs-slot-f{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:8px;}
.fcs-ad{display:grid; grid-template-columns:minmax(0, 1.2fr) minmax(0, 1fr); gap:10px 16px; padding:12px; margin:0 0 10px; border-radius:14px; border:1px solid var(--s-line); background:#fafbfd;}
.fcs-ad-prev{display:flex; gap:12px; min-width:0;}
.fcs-ad-prev img,.fcs-ad-noimg{flex:none; width:88px; height:60px; border-radius:10px; object-fit:cover; background:#eef1f6;}
.fcs-ad-noimg{display:flex; align-items:center; justify-content:center; color:#98a1b3; font-size:20px;}
.fcs-ad-prev b{display:block; font-size:14.5px;} .fcs-ad-prev p{margin:2px 0; font-size:13px; color:#475066;} .fcs-ad-prev a{font-size:12.5px; word-break:break-all;}
.fcs-ad-meta{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:4px 10px; font-size:12.5px;}
.fcs-ad-meta span{display:block; color:var(--s-mut);}
.fcs-ad-act{grid-column:1 / -1; display:flex; gap:8px; flex-wrap:wrap;}
.fcs-ad > .fcs-st{grid-column:1 / -1; justify-self:start;}

.fcs-toast{position:absolute; left:50%; bottom:18px; z-index:10; max-width:min(560px, calc(100% - 32px)); transform:translateX(-50%); padding:12px 16px; border-radius:14px; font-size:14px; font-weight:600; color:#fff; background:#1b2133; box-shadow:0 18px 40px -12px rgba(10,14,25,.55); animation:fcsToast .3s ease-out;}
.fcs-toast[hidden]{display:none;}
.fcs-toast.is-ok .fa{color:#2fd47a;} .fcs-toast.is-bad{background:#3a1416;} .fcs-toast.is-bad .fa{color:#ff7b7b;}
.fcs-toast a{color:var(--fcp-yellow, #ffcc00) !important;}
@keyframes fcsToast{from{opacity:0; transform:translate(-50%, 12px);} to{opacity:1; transform:translate(-50%, 0);}}

@media (max-width:991px){
  .fcs-kpis,.fcs-kpis.is-8,.fcs-quick{grid-template-columns:repeat(2, minmax(0, 1fr));}
  .fcs-two,.fcs-grid2{grid-template-columns:minmax(0, 1fr);}
  .fcs-promo-form{grid-template-columns:repeat(3, minmax(0, 1fr));}
}
@media (max-width:767px){
  .fcs-modal .fcs-dialog{width:100%; margin:0; max-width:none;}
  .fcs-modal .fcs-content{flex-direction:column; height:100vh; height:100dvh; border-radius:0;}
  .fcs-side{width:auto; padding:10px 10px 0; gap:6px;}
  .fcs-brand{padding:0 2px 4px;}
  .fcs-nav{flex-direction:row; overflow-x:auto; scrollbar-width:none; gap:4px; margin:0 -10px; padding:0 10px 8px;}
  .fcs-nav::-webkit-scrollbar{display:none;}
  .fcs-nav button{flex:none; padding:8px 12px; font-size:13.5px; gap:7px;}
  .fcs-nav button.is-on{box-shadow:inset 0 -3px 0 var(--fcp-yellow, #ffcc00);}
  .fcs-view{display:none;}
  .fcs-main{padding:14px 12px 90px;}
  .fcs-ph h3{font-size:20px;}
  .fcs-kpi{padding:12px; gap:10px;} .fcs-kpi b{font-size:18px;} .fcs-kpi-ico{width:32px; height:32px; font-size:14px;}
  .fcs-share{grid-template-columns:minmax(0, 1fr);}
  .fcs-promo-form,.fcs-ann-row,.fcs-slots,.fcs-socials,.fcs-toggles,.fcs-ad{grid-template-columns:minmax(0, 1fr);}
  .fcs-covers{grid-template-columns:repeat(4, minmax(0, 1fr));}
  .fcs-soc{grid-template-columns:24px 80px minmax(0, 1fr);}
  .fcs-table{font-size:12.5px;} .fcs-table th,.fcs-table td{padding:7px 5px;}
  .fcs-adslot{flex-wrap:wrap;} .fcs-adlink img{width:72px; height:52px;}
  .fcs-adslot.is-empty .fcp-btn{width:100%;}
  .fcs-announce{align-items:flex-start;}
}
@media (prefers-reduced-motion:reduce){ .fcs-card.is-ping,.fcs-toast{animation:none;} }
/* ---- Ad spaces with rotation (public page) ---- */
.fcs-adslot.fcs-rot{display:block; padding:10px; gap:0;}
.fcs-ad-items{position:relative;}
.fcs-ad-item[hidden]{display:none !important;}
.fcs-ad-item.is-on{animation:fcsAdIn .45s ease both;}
@keyframes fcsAdIn{from{opacity:0; transform:translateY(4px);} to{opacity:1; transform:none;}}
.fcs-rot .fcs-adlink.is-img{flex-direction:column; align-items:stretch; gap:8px;}
.fcs-adpic{display:block; width:100%; aspect-ratio:var(--ar-d, 6/1); border-radius:12px; overflow:hidden; background:#eef1f6;}
.fcs-adpic img{display:block; width:100% !important; height:100% !important; aspect-ratio:auto !important; object-fit:cover; border-radius:0 !important;}
.fcs-rot.is-contain .fcs-adpic img{object-fit:contain;}
.fcs-rot .fcs-adlink.is-img .fcs-adtxt{flex-direction:row; align-items:baseline; gap:8px; padding:0 4px;}
.fcs-rot .fcs-adlink.is-img .fcs-adtxt b{font-size:14px;}
.fcs-rot .fcs-adlink.is-img .fcs-adtxt small{display:none;}
.fcs-rot .fcs-adlink.is-img{position:relative;}
.fcs-rot .fcs-adlink.is-img .fcs-adgo{position:absolute; right:10px; bottom:38px; box-shadow:0 4px 14px rgba(0,0,0,.18);}
.fcs-rot .fcs-adlink.is-txt{padding:6px 4px;}
.fcs-rot.has-img .fcs-adlink.is-txt{aspect-ratio:var(--ar-d, 6/1); padding:14px 22px; border-radius:12px; background:linear-gradient(120deg, #f3f6fb, #fff8e1); margin-bottom:30px;}
.fcs-rot.has-img .fcs-adlink.is-txt .fcs-adtxt b{font-size:20px; white-space:normal;}
.fcs-rot.has-img .fcs-adlink.is-txt .fcs-adtxt small{font-size:14.5px;}
.fcs-ad-dots{display:flex; justify-content:center; gap:6px; margin-top:8px;}
.fcs-ad-dots button{width:8px; height:8px; padding:0; border:0; border-radius:999px; background:#d4d9e3; cursor:pointer; transition:width .2s, background .2s;}
.fcs-ad-dots button.is-on{width:22px; background:var(--fcp-navy);}
.fcs-ad-dots button[hidden]{display:none;}
.fcs-rot .fcp-btn{margin-top:8px;}
.fcs-adslot.is-side.fcs-rot .fcs-adpic{aspect-ratio:var(--ar-d, 6/5);}
@media (max-width:767px){ .fcs-adpic,.fcs-adslot.is-side.fcs-rot .fcs-adpic,.fcs-rot.has-img .fcs-adlink.is-txt{aspect-ratio:var(--ar-m, 16/5);} .fcs-rot.has-img .fcs-adlink.is-txt{flex-direction:column; align-items:flex-start; justify-content:center; padding:10px 14px;} .fcs-rot.has-img .fcs-adlink.is-txt .fcs-adtxt b{font-size:16px;} .fcs-rot .fcs-adlink.is-img .fcs-adgo{bottom:36px; right:8px; padding:6px 11px; font-size:12px;} }
@media (prefers-reduced-motion:reduce){ .fcs-ad-item.is-on{animation:none;} }
/* booking form picture checks */
.fcs-bk-req,.fcs-req{margin:6px 0 8px; padding:8px 10px; border-radius:10px; background:#f3f6fb; border:1px dashed #cdd5e3; font-size:12.5px; line-height:1.5; color:#475066;}
.fcs-bk-req .fa,.fcs-req .fa{color:var(--fcp-navy); margin-right:4px;}
.fcs-bk-check{display:block; min-height:1em; margin-top:3px; font-style:normal; font-size:12px; font-weight:600;}
.fcs-bk-check.is-ok{color:#167a49;} .fcs-bk-check.is-bad{color:#b42525;}

/* ---- Studio: ads back office ---- */
.fcs-st.is-paused{color:#5b6474; background:#e9ecf2;}
.fcs-st.is-own{margin-left:4px; font-size:10.5px; color:#1f4fa3; background:#e7efff; vertical-align:middle;}
.fcs-ad.is-paused{opacity:.78;}
.fcs-ad-meta li.is-wide{grid-column:1 / -1;}
.fcs-place{font-weight:600; color:#1d2640;}
.fcs-ad-act{align-items:center;}
.fcs-ad-tools{margin-left:auto; display:flex; gap:6px; flex-wrap:wrap;}
.fcs-mini.is-bad{color:#b42525;}
.fcs-ad-prev img{height:auto !important; max-height:72px; width:110px !important;}
.fcs-card.is-attn{border-color:#f1d184; box-shadow:0 0 0 3px #fff6dc;}
.fcs-card.is-editor{border:2px solid var(--fcp-yellow); box-shadow:0 10px 30px rgba(14,28,64,.12);}
.fcs-aded-h{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:6px;}
.fcs-aded-h h4{margin:0; font-size:18px;}
.fcs-aded-grid{display:grid; grid-template-columns:minmax(0, 1.25fr) minmax(0, 1fr); gap:18px;}
.fcs-aded input[type=text],.fcs-aded input:not([type]),.fcs-aded input[type=number],.fcs-aded input[type=date],.fcs-aded select,.fcs-aded textarea,.fcs-slot.is-adv select,.fcs-slot.is-adv input[type=number]{width:100%;}
.fcs-sub{margin:14px 0 6px; font-size:13px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:#1d2640;}
.fcs-sub small{text-transform:none; letter-spacing:0; font-weight:600; color:var(--s-mut, #6b7385);}
.fcs-slot-f.is-2{grid-template-columns:repeat(2, minmax(0, 1fr));}
.fcs-slot-f.is-3{grid-template-columns:repeat(3, minmax(0, 1fr)); align-items:end;}
.fcs-slot-f + .fcs-slot-f{margin-top:8px;}
.fcs-chk.is-inline{flex-direction:row !important; align-items:center; gap:6px !important; padding-bottom:8px;}
.fcs-slotpick{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px;}
.fcs-slotpick label{position:relative; margin:0; cursor:pointer;}
.fcs-slotpick input{position:absolute; top:0; left:0; width:1px; height:1px; margin:0; opacity:0; pointer-events:none;}
.fcs-slotpick span{display:block; padding:8px; border-radius:12px; border:2px solid var(--s-line, #e3e7ef); font-size:13px; font-weight:700; text-align:center;}
.fcs-slotpick input:checked + span{border-color:var(--fcp-navy); background:#f3f6fb;}
.fcs-slotpick input:focus-visible + span{outline:2px solid var(--fcp-yellow); outline-offset:2px;}
.fcs-curimg{display:flex; align-items:center; gap:8px; margin-top:6px; font-weight:500;}
.fcs-curimg img{width:90px; max-height:50px; object-fit:cover; border-radius:6px; border:1px solid #e3e7ef;}
.fcs-adpv{position:sticky; top:8px; display:flex; flex-direction:column; gap:12px; padding:12px; border-radius:14px; background:repeating-linear-gradient(45deg, #f6f8fb 0 10px, #f1f4f9 10px 20px);}
.fcs-adpv-box small{display:block; margin-bottom:4px; font-size:11px; font-weight:700; text-transform:uppercase; color:#6b7385;}
.fcs-adpv-box.is-m{max-width:240px;}
.fcs-adpv-ad{position:relative; display:flex; flex-direction:column; gap:6px; padding:9px; border-radius:12px; background:#fff; border:1px solid #e3e7ef; box-shadow:0 4px 14px rgba(14,28,64,.08);}
.fcs-adpv-ad .fcs-adtag{top:-8px; left:10px; font-size:9.5px;}
.fcs-adpv-img{display:block; width:100%; border-radius:8px; overflow:hidden; background:#eef1f6;}
.fcs-adpv-img img{width:100%; height:100%; object-fit:cover; display:block;}
.fcs-adpv-img.is-contain img{object-fit:contain;}
.fcs-adpv-t b{display:block; font-size:13.5px;} .fcs-adpv-t small{display:block; font-size:12px; color:#475066;}
.fcs-adpv-ad .fcs-adgo{align-self:flex-start; padding:5px 11px; font-size:12px;}
.fcs-daychips{display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin-bottom:8px;}
.fcs-bk-slot,.fcs-theme,.fcs-cover,.fcs-switch{position:relative;}
.fcs-bk-slot input,.fcs-theme input,.fcs-cover input,.fcs-switch input{top:0; left:0; width:1px; height:1px; margin:0;}
.fcs-daychips label{position:relative; margin:0; cursor:pointer;}
.fcs-daychips input{position:absolute; top:0; left:0; width:1px; height:1px; margin:0; opacity:0; pointer-events:none;}
.fcs-daychips span{display:inline-block; min-width:46px; padding:7px 10px; border-radius:999px; border:1px solid #d4d9e3; font-size:13px; font-weight:700; text-align:center; color:#6b7385; background:#fff;}
.fcs-daychips input:checked + span{color:#fff; background:var(--fcp-navy); border-color:var(--fcp-navy);}
.fcs-daychips input:focus-visible + span{outline:2px solid var(--fcp-yellow); outline-offset:2px;}
.fcs-gamepick{display:flex; flex-wrap:wrap; gap:6px 14px; margin:8px 0; padding:10px; border-radius:10px; background:#f6f8fb;}
.fcs-gamepick[hidden]{display:none;}
.fcs-aded input[type=range]{accent-color:var(--fcp-navy); padding:0;}
.fcs-aded-f{margin-top:14px; padding-top:12px; border-top:1px solid var(--s-line, #e3e7ef); display:flex; justify-content:flex-end;}
.fcs-slots.is-adv{grid-template-columns:minmax(0, 1fr);}
.fcs-slot.is-adv{background:#fff; padding:14px 16px;}
.fcs-slot.is-adv .fcs-note{margin:0 0 4px;}
.fcs-sizes{display:grid; grid-template-columns:1fr 1fr; gap:8px; align-items:start;}
.fcs-sizes label{display:flex; flex-direction:column; gap:4px; margin:0; font-size:12px; font-weight:700; color:#475066;}
.fcs-ratios{grid-column:1 / -1; display:flex; gap:10px; align-items:flex-end; padding:8px; border-radius:10px; background:#f6f8fb;}
.fcs-ratio{display:flex; align-items:center; justify-content:center; flex:2; max-height:90px; border-radius:6px; border:2px dashed #9aa6bd; background:#fff; text-align:center;}
.fcs-ratio + .fcs-ratio{flex:1;}
.fcs-ratio em{font-style:normal; font-size:10.5px; font-weight:700; line-height:1.3; color:#475066;}
.fcs-types{display:flex; flex-wrap:wrap; gap:6px 14px; align-items:center; margin:8px 0; font-size:12.5px;}
.fcs-types > span{font-size:12px; font-weight:700; color:#475066;}
.fcs-switch.is-big span{display:flex; flex-direction:column;} .fcs-switch.is-big small{font-weight:500; color:var(--s-mut, #6b7385);}
@media (max-width:767px){
  .fcs-aded-grid,.fcs-slot-f.is-2,.fcs-slot-f.is-3,.fcs-sizes{grid-template-columns:minmax(0, 1fr);}
  .fcs-adpv{position:static;}
  .fcs-ad-tools{margin-left:0;}
  .fcs-daychips span{min-width:40px; padding:6px 8px;}
}

/* =====================================================================
   BACK OFFICE WINDOWS — Reports, Cash out, Settings (.fbo)
   ===================================================================== */
.fbo{--b-ink:#1b2133; --b-mut:#7b8597; --b-line:#e3e8f0; --b-bg:#f3f5fa; --b-ok:#1f9d61; --b-bad:#d64545; --b-gold:var(--fcp-yellow, #ffcc00); --b-navy:var(--fcp-navy, #1b2133);
  font-family:"Rubik",-apple-system,"Segoe UI",Roboto,Arial,sans-serif; color:var(--b-ink);}
.fbo .fbo-dialog{max-width:1120px; width:calc(100% - 32px); margin:20px auto;}
.fbo .fbo-dialog.is-md{max-width:980px;}
.fbo .fbo-content{position:relative; display:flex; flex-direction:column; max-height:calc(100vh - 40px); border:0; border-radius:22px; overflow:hidden; background:var(--b-bg); box-shadow:0 30px 80px rgba(10,14,25,.45);}
.fbo-head{flex:none; position:relative; display:flex; align-items:center; gap:14px; padding:18px 22px; color:#fff;
  background:radial-gradient(90% 160% at 100% 0%, rgba(255,204,0,.2) 0%, rgba(255,204,0,0) 55%), linear-gradient(135deg, var(--b-navy) 0%, #283253 100%);}
.fbo-head::after{content:""; position:absolute; left:0; right:0; bottom:0; height:3px; background:linear-gradient(90deg, var(--b-gold), transparent);}
.fbo-head-ico{flex:none; width:46px; height:46px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:20px; color:#fff;}
.fbo-head-ico.is-blue{background:linear-gradient(135deg, #4f8bff, #2557d6);} .fbo-head-ico.is-green{background:linear-gradient(135deg, #2fd47a, #138a4f);} .fbo-head-ico.is-violet{background:linear-gradient(135deg, #a78bfa, #6d4ae0);}
.fbo-head-txt{flex:1; min-width:0;}
.fbo-head-txt h5{margin:0; font-size:20px; font-weight:700; color:#fff;}
.fbo-head-txt p{margin:3px 0 0; font-size:13.5px; color:#c3cbdc;}
.fbo-x{flex:none; width:40px; height:40px; border-radius:12px; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.08); color:#fff; font-size:17px; cursor:pointer; transition:background .15s, transform .15s;}
.fbo-x:hover{background:rgba(255,255,255,.18); transform:rotate(90deg);}
.fbo-body{flex:1; min-height:0; overflow-y:auto; padding:18px 22px 28px;}
.fbo h6{margin:0; font-size:15px; font-weight:700; color:var(--b-ink);}
.fbo-card{margin:0 0 14px; padding:16px; border-radius:18px; background:#fff; border:1px solid var(--b-line);}
.fbo-card-h{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin:0 0 12px;}
.fbo-card-h h6 .fa{color:#b38600; margin-right:4px;}
.fbo-card-h h6 small{font-weight:500; color:var(--b-mut);}
.fbo-grid{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:14px; margin:0 0 14px;}
.fbo-grid > .fbo-card{margin:0;}
.fbo-empty{padding:18px !important; text-align:center; color:var(--b-mut); font-size:13.5px;}
.fbo-small{margin:8px 0; font-size:12.5px; line-height:1.5; color:var(--b-mut);}
.fbo-muted{color:var(--b-mut);}
.fbo-pill{display:inline-flex; align-items:center; gap:5px; padding:3px 10px; border-radius:999px; font-size:12px; font-weight:700; color:#5b6474; background:#eef1f6; white-space:nowrap;}
.fbo-pill.is-ok{color:#167a49; background:#e6f6ee;} .fbo-pill.is-bad{color:#a12c2c; background:#fdecec;} .fbo-pill.is-wait{color:#8a5a00; background:#fff3d1;}
.fbo-link{border:0; background:none; padding:0; font-size:13px; font-weight:700; color:#2f6bff; cursor:pointer;}
.fbo-btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; height:44px; padding:0 18px; border:0; border-radius:13px; font-size:15px; font-weight:700; cursor:pointer;
  color:#fff; background:var(--b-navy); transition:filter .15s, transform .15s, opacity .15s;}
.fbo-btn:hover:not(:disabled){filter:brightness(1.08); transform:translateY(-1px);}
.fbo-btn:disabled{opacity:.45; cursor:not-allowed;}
.fbo-btn.is-block{width:100%;}
.fbo-btn.is-sm{height:36px; padding:0 12px; font-size:13px; border-radius:10px;}
.fbo-btn.is-gold{color:var(--b-navy); background:var(--b-gold);}
.fbo-btn.is-go{height:54px; font-size:17px; color:#fff; background:linear-gradient(135deg, #2fd47a, #138a4f); box-shadow:0 12px 24px -12px rgba(19,138,79,.8);}
.fbo-btn.is-ghost{color:var(--b-ink); background:#fff; border:1px solid var(--b-line);}
.fbo-btn.is-dark{background:var(--b-navy);}

/* fields (the original inputs, restyled) */
.fbo .fbo-in,.fbo-f input,.fbo-f select,.fbo-line input{display:block; width:100% !important; height:44px !important; padding:0 12px !important; margin:0 !important; border-radius:12px !important;
  border:1px solid #dfe4ec !important; background:#f8fafc !important; font-size:15px !important; font-weight:600; color:var(--b-ink) !important; box-shadow:none !important; position:static !important;}
.fbo .fbo-in:focus,.fbo-f input:focus,.fbo-f select:focus,.fbo-line input:focus{outline:none; border-color:#2f6bff !important; background:#fff !important; box-shadow:0 0 0 3px rgba(47,107,255,.15) !important;}
.fbo .fbo-in:disabled{opacity:.6; cursor:not-allowed;}
.fbo-f{display:flex; flex-direction:column; gap:5px; margin:0 0 12px;}
.fbo-f > span:first-child{font-size:12px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; color:#475066;}
.fbo-f > span:first-child small{text-transform:none; letter-spacing:0; font-weight:500; color:var(--b-mut);}
.fbo-f small.is-bad{color:var(--b-bad);} .fbo-f small.is-ok{color:var(--b-ok);}
.fbo-f2{display:grid; grid-template-columns:1fr 1fr; gap:10px;}
.fbo-pass{position:relative; display:block;}
.fbo-pass .fbo-in{padding-right:46px !important;}
.fbo-eye{position:absolute; right:6px; top:50%; transform:translateY(-50%); width:34px; height:34px; border:0; border-radius:9px; background:none; color:var(--b-mut); cursor:pointer;}
.fbo-eye:hover{color:var(--b-ink); background:#eef1f6;}
.fbo-hidden-sel{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0);}
.fbo-results:empty{display:none;}
.fbo-results .alert{margin:0 0 12px !important; padding:12px 14px !important; border:0 !important; border-radius:14px !important; font-size:13.5px; text-align:left !important;}
.fbo-results .alert h6{margin:0 0 4px; font-size:13px !important;}
.fbo-results .alert ul{margin:0; padding-left:18px;}
.fbo-results .alert .close{display:none;}
.fbo-results .alert-success{background:#e6f6ee !important; color:#155c39 !important;}
.fbo-results .alert-info{background:#eaf3ff !important; color:#123a6b !important;}
.fbo-results .alert-danger{background:#fdecec !important; color:#7a1c1c !important;}

/* ---------- reports ---------- */
.fbo-money{display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); gap:10px; margin:0 0 10px;}
.fbo-tile{padding:14px; border-radius:16px; background:#fff; border:1px solid var(--b-line);}
.fbo-tile small{display:block; font-size:12px; font-weight:600; color:var(--b-mut);}
.fbo-tile b{display:block; margin:2px 0; font-size:20px; font-weight:800; font-variant-numeric:tabular-nums; color:var(--b-ink);}
.fbo-tile em{display:block; font-style:normal; font-size:11.5px; color:var(--b-mut);}
.fbo-tile.is-gold{background:linear-gradient(135deg, #fff7d6, #fff); border-color:#ffe08a;}
.fbo-tile.is-mute b{font-size:17px; color:#475066;}
.fbo-split{display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:0 0 14px; padding:10px 12px; border-radius:14px; background:#fff; border:1px solid var(--b-line);}
.fbo-split[hidden]{display:none;}
.fbo-split-t{flex:none; font-size:12.5px; font-weight:700; color:#475066;}
.fbo-split-bar{flex:1 1 200px; display:flex; height:14px; border-radius:8px; overflow:hidden; gap:2px;}
.fbo-split-bar i{display:flex; align-items:center; justify-content:center; min-width:0; font-style:normal; font-size:11px; font-weight:700; color:#fff; overflow:hidden; white-space:nowrap;}
.fbo-split-leg{flex-basis:100%; list-style:none; margin:6px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:4px 14px; font-size:12px; color:#475066;}
.fbo-split-leg i{display:inline-block; width:10px; height:10px; margin-right:5px; border-radius:3px; vertical-align:-1px;}
.fbo-split-leg b{color:var(--b-ink);}
.fbo-split-leg .is-you{background:#1f9d61;} .fbo-split-leg .is-vault{background:#2f6bff;} .fbo-split-leg .is-tax{background:#8b5cf6;} .fbo-split-leg .is-fee{background:#98a1b3;}
.fbo-net-txt{font-size:13px; color:#475066;}
.fbo-payouts small small{display:inline;}
.fbo-split-bar .is-you{background:#1f9d61;} .fbo-split-bar .is-vault{background:#2f6bff;} .fbo-split-bar .is-tax{background:#8b5cf6;} .fbo-split-bar .is-fee{background:#98a1b3;}
.fbo-sim{margin:0 0 12px;}
.fbo-sim .fbo-split-t{display:block; margin:0 0 6px;}
.fbo-filters{display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 12px; padding:12px; border-radius:16px; background:#fff; border:1px solid var(--b-line);}
.fbo-seg{display:inline-flex; flex-wrap:wrap; padding:3px; border-radius:12px; background:#f3f5fa;}
.fbo-seg button{border:0; background:none; padding:7px 11px; border-radius:9px; font-size:13px; font-weight:600; color:#5b6474; cursor:pointer;}
.fbo-seg button.is-on{background:var(--b-navy); color:#fff;}
.fbo-dates{display:inline-flex; align-items:center; gap:6px;}
.fbo-dates[hidden]{display:none;}
.fbo-dates input{height:36px; padding:0 8px; border-radius:10px; border:1px solid var(--b-line); font-size:13px;}
.fbo-dates span{font-size:12.5px; color:var(--b-mut);}
.fbo-search{position:relative; flex:1 1 180px;}
.fbo-search .fa{position:absolute; left:12px; top:50%; transform:translateY(-50%); color:var(--b-mut);}
.fbo-search input{width:100%; height:36px; padding:0 12px 0 34px; border-radius:10px; border:1px solid var(--b-line); font-size:13.5px;}
.fbo-tools{display:flex; gap:6px; margin-left:auto;}
.fbo-chips{flex-basis:100%; display:flex; flex-wrap:wrap; gap:6px;}
.fbo-chips button{padding:6px 12px; border-radius:999px; border:1px solid var(--b-line); background:#fff; font-size:12.5px; font-weight:600; color:#475066; cursor:pointer;}
.fbo-chips button.is-on{color:#fff; background:#2f6bff; border-color:#2f6bff;}
.fbo-sum{display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); gap:8px; margin:0 0 14px;}
.fbo-sum > div{padding:10px 12px; border-radius:14px; background:#fff; border:1px solid var(--b-line);}
.fbo-sum small{display:block; font-size:11.5px; font-weight:600; color:var(--b-mut);}
.fbo-sum b{font-size:16px; font-weight:800; font-variant-numeric:tabular-nums;}
.fbo-sum .is-in b{color:var(--b-ok);} .fbo-sum .is-out b{color:var(--b-bad);} .fbo-sum .is-mute b{color:#5b6474;}
.fbo-period{grid-column:1 / -1; margin:0; font-size:12px; color:var(--b-mut);}
.fbo-chart{width:100%; height:auto; display:block;}
.fbo-chart line{stroke:#eef1f6;} .fbo-chart text{font-size:10px; fill:#98a1b3;}
.fbo-chart .is-in{fill:#1f9d61;} .fbo-chart .is-out{fill:#d64545;}
.fbo-legend{display:flex; gap:14px; margin-top:4px; font-size:12px; color:var(--b-mut);}
.fbo-legend i{display:inline-block; width:10px; height:10px; margin-right:5px; border-radius:3px; vertical-align:-1px;}
.fbo-legend .is-in{background:#1f9d61;} .fbo-legend .is-out{background:#d64545;}
.fbo-bars{list-style:none; margin:0; padding:0; display:grid; gap:9px;}
.fbo-bars li{display:grid; grid-template-columns:minmax(110px, 38%) 1fr auto; align-items:center; gap:10px; font-size:13px;}
.fbo-bars li > span{font-weight:600;} .fbo-bars small{font-weight:500; color:var(--b-mut);}
.fbo-bars li > i{height:10px; border-radius:6px; background:#eef1f6; overflow:hidden;}
.fbo-bars li > i b{display:block; height:100%; border-radius:6px;}
.fbo-bars em{font-style:normal; font-weight:700;}
.fbo-tablecard{padding:0; overflow:hidden;}
.fbo-tablecard .fbo-card-h{padding:14px 16px 0;}
.fbo-tablewrap{overflow-x:auto;}
.fbo-table{width:100%; border-collapse:collapse; font-size:13.5px;}
.fbo-table th{padding:10px 12px; text-align:left; font-size:11.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--b-mut); background:#f8fafc; border-bottom:1px solid var(--b-line); white-space:nowrap;}
.fbo-table th button{border:0; background:none; padding:0; font:inherit; letter-spacing:inherit; text-transform:inherit; color:inherit; cursor:pointer;}
.fbo-table th button.is-on{color:var(--b-ink);}
.fbo-table td{padding:10px 12px; border-bottom:1px solid #f1f3f7; vertical-align:middle; white-space:nowrap;}
.fbo-table td small{color:var(--b-mut);}
.fbo-table tbody tr:hover td{background:#fafbfd;}
.fbo-table .r{text-align:right;}
.fbo-table .is-in{color:var(--b-ok);} .fbo-table .is-out{color:var(--b-bad);}
.fbo-type{display:inline-flex; align-items:center; gap:6px; padding:3px 10px; border-radius:999px; font-size:12px; font-weight:700; color:var(--c); background:color-mix(in srgb, var(--c) 12%, #fff);}
.fbo-type::before{content:""; width:7px; height:7px; border-radius:50%; background:var(--c);}
.fbo-pager{display:flex; align-items:center; gap:8px; font-size:13px; color:var(--b-mut);}
.fbo-pager button{width:32px; height:32px; border-radius:9px; border:1px solid var(--b-line); background:#fff; cursor:pointer;}
.fbo-pager button:disabled{opacity:.4; cursor:default;}
.fbo-classic{margin-top:6px; border-radius:16px; background:#fff; border:1px solid var(--b-line);}
.fbo-classic summary{padding:12px 16px; font-size:13.5px; font-weight:700; color:#475066; cursor:pointer;}
.fbo-classic-in{padding:0 12px 12px; overflow-x:auto;}
.fbo-classic-in #general_transactions{min-width:900px;}

/* ---------- cash out ---------- */
.fbo-co{display:grid; grid-template-columns:minmax(0, 1.25fr) minmax(0, 1fr); gap:18px; align-items:start;}
.fbo-step{display:flex; align-items:center; gap:10px; margin:4px 0 10px !important; font-size:14.5px !important;}
.fbo-step b{flex:none; width:24px; height:24px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; color:var(--b-navy); background:var(--b-gold);}
.fbo-src{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:0 0 18px;}
.fbo-srcbtn{position:relative; display:flex; align-items:center; gap:12px; padding:14px; border-radius:16px; border:2px solid var(--b-line); background:#fff; text-align:left; cursor:pointer; transition:border-color .15s, box-shadow .15s;}
.fbo-srcbtn.is-on{border-color:#1f9d61; box-shadow:0 0 0 3px rgba(31,157,97,.15);}
.fbo-srcbtn.is-locked{background:#f8fafc; cursor:not-allowed;}
.fbo-srcbtn.is-locked b{color:#98a1b3;}
.fbo-src-ico{flex:none; width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:18px; color:#138a4f; background:#e6f6ee;}
.fbo-src-ico.is-vault{color:#2557d6; background:#eaf0ff;}
.fbo-src-t{flex:1; min-width:0;}
.fbo-src-t small{display:block; font-size:12px; font-weight:700; color:var(--b-mut);}
.fbo-src-t b{display:block; font-size:21px; font-weight:800; font-variant-numeric:tabular-nums;}
.fbo-src-t em{display:block; font-style:normal; font-size:11.5px; color:var(--b-mut);}
.fbo-src-ok{position:absolute; top:10px; right:10px; font-size:18px; color:#1f9d61; opacity:0; transition:opacity .15s;}
.fbo-srcbtn.is-on .fbo-src-ok{opacity:1;}
.fbo-momo{display:flex; align-items:center; gap:12px; padding:12px 14px; margin:0 0 18px; border-radius:16px; background:#fff; border:1px solid var(--b-line);}
.fbo-momo-logo{flex:none; width:48px; height:48px; border-radius:12px; overflow:hidden; display:flex; align-items:center; justify-content:center; background:#f3f5fa; font-size:22px; color:var(--b-mut);}
.fbo-momo-logo img{width:100%; height:100%; object-fit:cover;}
.fbo-momo-t{flex:1; min-width:0;}
.fbo-momo-t b{display:block; font-size:17px; letter-spacing:.03em;}
.fbo-momo-t small{display:block; font-size:12.5px; color:var(--b-mut);}
.fbo-amount{position:relative; margin:0 0 8px;}
.fbo-amount .fbo-cur{position:absolute; left:16px; top:50%; transform:translateY(-50%); font-size:18px; font-weight:800; color:var(--b-mut); z-index:1;}
.fbo-amount .fbo-in{height:62px !important; padding-left:62px !important; font-size:28px !important; font-weight:800; border-radius:16px !important;}
.fbo-quick{display:flex; flex-wrap:wrap; gap:6px; margin:0 0 6px;}
.fbo-quick button{flex:1 1 auto; height:36px; padding:0 12px; border-radius:10px; border:1px solid var(--b-line); background:#fff; font-size:13.5px; font-weight:700; cursor:pointer;}
.fbo-quick button:hover{border-color:#1f9d61; color:#138a4f;}
.fbo-hint{margin:0 0 18px; font-size:12.5px; color:var(--b-mut);}
.fbo-hint.is-bad{color:var(--b-bad); font-weight:600;}
.fbo-receipt{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; margin:14px 0; padding:12px; border-radius:14px; background:#e6f6ee;}
.fbo-receipt[hidden]{display:none;}
.fbo-receipt small{display:block; font-size:11.5px; color:#3d7a5a;} .fbo-receipt b{font-size:14.5px; color:#155c39;}
.fbo-co .fbo-pass{margin:0 0 4px;}
.fbo-co-main > .fbo-btn{margin-top:10px;}
.fbo-stats3{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; margin:0 0 12px;}
.fbo-stats3 > div{padding:10px; border-radius:12px; background:#f8fafc;}
.fbo-stats3 small{display:block; font-size:11.5px; color:var(--b-mut);} .fbo-stats3 b{font-size:15px;}
.fbo-payouts{list-style:none; margin:0; padding:0; display:grid; gap:6px; max-height:360px; overflow:auto;}
.fbo-payouts li{display:flex; align-items:center; gap:10px; padding:10px; border-radius:12px; background:#f8fafc;}
.fbo-payouts li > div{flex:1; min-width:0;}
.fbo-payouts b{display:block; font-size:14.5px;} .fbo-payouts small{display:block; font-size:12px; color:#475066;}
.fbo-po-ico{flex:none; width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:14px; color:#fff; background:#e0a100;}
.fbo-po-ico.is-ok{background:#1f9d61;} .fbo-po-ico.is-bad{background:#d64545;}
.fbo-tips ul,.fbo-tips-list{list-style:none; margin:0; padding:0; display:grid; gap:8px; font-size:13px; color:#475066;}
.fbo-tips li .fa{width:18px; color:#b38600;}
.fbo-tips-list{margin-top:14px;} .fbo-tips-list li::before{content:"•"; margin-right:6px; color:#b38600;}

/* ---------- settings ---------- */
.fbo-set{flex:1; min-height:0; display:flex;}
.fbo-tabs{flex:none; width:210px; display:flex; flex-direction:column; gap:4px; padding:14px 10px; background:#fff; border-right:1px solid var(--b-line);}
.fbo-tabs button{display:flex; align-items:center; gap:10px; padding:11px 12px; border:0; border-radius:12px; background:none; font-size:14px; font-weight:600; color:#475066; text-align:left; cursor:pointer;}
.fbo-tabs button .fa{width:18px; text-align:center; color:var(--b-mut);}
.fbo-tabs button:hover{background:#f3f5fa;}
.fbo-tabs button.is-on{background:#eef3ff; color:#1d4fd8;}
.fbo-tabs button.is-on .fa{color:#2f6bff;}
.fbo-set .fbo-body{flex:1;}
.fbo-pane[hidden]{display:none;}
.fbo-pane-h{margin:0 0 14px;}
.fbo-pane-h h4{margin:0; font-size:21px; font-weight:700;}
.fbo-pane-h p{margin:4px 0 0; font-size:13.5px; color:var(--b-mut);}
.fbo-preview{display:flex; flex-direction:column; align-items:center; gap:2px; margin:0 0 14px; padding:16px; border-radius:16px; color:#fff; text-align:center;
  background:radial-gradient(120% 120% at 100% 0%, rgba(255,204,0,.25), rgba(255,204,0,0) 55%), linear-gradient(135deg, var(--b-navy), #283253);}
.fbo-preview.is-bad{outline:2px solid var(--b-bad);}
.fbo-pv-price{font-size:30px; font-weight:800; color:var(--b-gold);}
.fbo-pv-what{font-size:13.5px; font-weight:600;}
.fbo-preview em{font-style:normal; font-size:12px; color:#c3cbdc;}
.fbo-presets{display:flex; flex-wrap:wrap; gap:6px; margin:-4px 0 12px;}
.fbo-presets button{padding:6px 10px; border-radius:999px; border:1px dashed #c9d1de; background:#fff; font-size:12px; font-weight:600; color:#475066; cursor:pointer;}
.fbo-presets button:hover{border-style:solid; border-color:#2f6bff; color:#2f6bff;}
.fbo-lines{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; margin:0 0 12px;}
.fbo-line{display:flex; align-items:center; gap:8px; margin:0; padding:8px 10px; border-radius:12px; background:#f8fafc; border:1px solid var(--b-line);}
.fbo-line > i{flex:none; width:10px; height:26px; border-radius:5px; background:var(--c);}
.fbo-line > span{flex:1; font-size:13.5px; font-weight:700;}
.fbo-cur-in{position:relative; flex:none; width:96px;}
.fbo-cur-in em{position:absolute; left:8px; top:50%; transform:translateY(-50%); font-style:normal; font-size:11px; font-weight:700; color:var(--b-mut); z-index:1;}
.fbo-line .fbo-cur-in input{height:36px !important; padding:0 6px 0 30px !important; font-size:14px !important; background:#fff !important;}
.fbo-howto{margin:0 0 14px; padding-left:20px; font-size:13px; color:#475066; line-height:1.6;}
.fbo-strength{display:flex; align-items:center; gap:4px; margin:-4px 0 12px;}
.fbo-strength i{flex:1; height:6px; border-radius:4px; background:#e3e8f0;}
.fbo-strength span{flex:none; min-width:90px; margin-left:8px; font-size:12px; font-weight:700; color:var(--b-mut);}
.fbo-strength.is-1 i:nth-child(-n+1),.fbo-strength.is-0 i:nth-child(-n+1){background:#d64545;}
.fbo-strength.is-2 i:nth-child(-n+2){background:#e0a100;}
.fbo-strength.is-3 i:nth-child(-n+3){background:#7cc242;}
.fbo-strength.is-4 i{background:#1f9d61;}
.fbo-narrow{max-width:520px;}
.fbo-info{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px; margin:0;}
.fbo-info > div{padding:10px 12px; border-radius:12px; background:#f8fafc;}
.fbo-info dt{font-size:11.5px; font-weight:600; color:var(--b-mut);} .fbo-info dd{margin:0; font-size:14px; font-weight:600; word-break:break-word;}
.fbo-momo-now .fbo-momo{margin:0 0 12px; border:0; padding:0;}
/* the server's verify box (codes CN- / MN-) */
.fbo-verify legend{display:none;}
.fbo-verify > div{min-width:0 !important; height:auto !important; padding:14px !important; border-radius:14px !important; border:1px solid #ffe08a !important; background:#fff7d6 !important;}
.fbo-verify > div:empty{display:none;}
.fbo-verify h6{color:#5b4300 !important; font-size:13.5px !important; margin:0 0 10px !important;}
.fbo-verify h6 span[style*="float"]{float:none !important; display:inline-block; margin-left:6px;}
.fbo-verify .row{margin:0 !important; display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; padding:0 !important;}
.fbo-verify .row > div{width:auto; max-width:none; padding:0 !important; flex:none;}
.fbo-verify .form-group{position:relative; margin:0;}
.fbo-verify input{height:42px !important; border-radius:10px !important; border:1px solid #e9cf72 !important;}
.fbo-verify .input-icon{position:absolute !important; left:10px; top:50% !important; margin:0 !important; transform:translateY(-50%); font-size:13px !important; font-weight:700;}
.fbo-verify button{height:42px !important; margin:0 !important; border-radius:10px !important; font-size:13px !important; background:var(--b-navy) !important; border:0 !important;}

@media (max-width:991px){
  .fbo-money{grid-template-columns:repeat(3, minmax(0, 1fr));}
  .fbo-sum{grid-template-columns:repeat(3, minmax(0, 1fr));}
  .fbo-co{grid-template-columns:minmax(0, 1fr);}
  .fbo-lines{grid-template-columns:repeat(2, minmax(0, 1fr));}
}
@media (max-width:767px){
  .fbo .fbo-dialog,.fbo .fbo-dialog.is-md{width:100%; max-width:none; margin:0;}
  .fbo .fbo-content{max-height:none; height:100vh; height:100dvh; border-radius:0;}
  .fbo-head{padding:14px;}
  .fbo-head-ico{width:40px; height:40px; font-size:17px;}
  .fbo-head-txt h5{font-size:18px;} .fbo-head-txt p{font-size:12.5px;}
  .fbo-body{padding:12px 12px 24px;}
  .fbo-grid,.fbo-f2,.fbo-info{grid-template-columns:minmax(0, 1fr);}
  .fbo-money{grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px;}
  .fbo-tile{padding:12px;} .fbo-tile b{font-size:17px;}
  .fbo-sum{grid-template-columns:repeat(2, minmax(0, 1fr));}
  .fbo-tools{margin-left:0;}
  .fbo-hide-sm{display:none;}
  .fbo-table td,.fbo-table th{padding:9px 8px;}
  .fbo-src{grid-template-columns:minmax(0, 1fr);}
  .fbo-receipt{grid-template-columns:minmax(0, 1fr);}
  .fbo-set{flex-direction:column;}
  .fbo-tabs{width:auto; flex-direction:row; overflow-x:auto; scrollbar-width:none; padding:8px; border-right:0; border-bottom:1px solid var(--b-line);}
  .fbo-tabs::-webkit-scrollbar{display:none;}
  .fbo-tabs button{flex:none; padding:8px 12px; font-size:13.5px;}
  .fbo-lines{grid-template-columns:minmax(0, 1fr);}
  .fbo-verify .row{grid-template-columns:1fr 1fr;}
  .fbo-verify .row > div:last-child{grid-column:1 / -1;}
}
@media print{
  html.fbo-printing body > *:not(#lotteryspy_forecaster_report_modal){display:none !important;}
  html.fbo-printing #lotteryspy_forecaster_report_modal{position:static !important; display:block !important;}
  html.fbo-printing .fbo .fbo-content{max-height:none; box-shadow:none;}
  html.fbo-printing .fbo-body{overflow:visible;}
  html.fbo-printing .fbo-x,html.fbo-printing .fbo-filters,html.fbo-printing .fbo-pager,html.fbo-printing .fbo-classic{display:none !important;}
}

/* forgotten secret key */
.fbo-forgot{margin:4px 0 12px; text-align:right;}
.fbo-co .fbo-forgot{margin:6px 0 0;}
.fbo-recover{border-color:#d9e4ff; background:linear-gradient(180deg, #f5f8ff, #fff 60%);}
.fbo-recover.is-ping{animation:fcsPing 1.2s ease-out;}
.fbo-recover [hidden]{display:none !important;}
.fbo .fbo-code{display:block; width:100%; height:56px; padding:0 14px; border-radius:14px; border:1px solid #dfe4ec; background:#fff; font-size:26px; font-weight:800; letter-spacing:.5em; text-align:center; color:var(--b-ink);}
.fbo .fbo-code:focus{outline:none; border-color:#2f6bff; box-shadow:0 0 0 3px rgba(47,107,255,.15);}
.fbo-rc-again{text-align:center;}
.fbo-rc-again .fbo-link:disabled{color:var(--b-mut); cursor:default;}
.fbo-rc-done{display:flex; flex-direction:column; align-items:center; gap:4px; padding:10px 0; text-align:center;}
.fbo-rc-done > .fa{font-size:40px; color:var(--b-ok);}
.fbo-rc-done b{font-size:16px;}
