/* Everything is scoped to the shortcode. No global Elementor/theme resets. */
.cfc-app{--cfc-bg:#0b0614;--cfc-card:#231f2c;--cfc-pink:#ff2b8a;--cfc-orange:#ff9a1f;--cfc-green:#00d900;--cfc-red:#ff4e65;--cfc-dim:#ffffff99;--cfc-outline:#ffffff25;--cfc-fill:#ffffff12;font-family:'Funnel Display',sans-serif!important;font-synthesis:none;line-height:1.5;color:#fff;background:var(--cfc-bg);width:100%;min-width:0;max-width:1240px;margin-left:0;margin-right:auto;box-sizing:border-box;border-radius:0;padding:0!important;font-size:15px;-webkit-font-smoothing:antialiased;color-scheme:dark;scrollbar-color:#ffffff26 transparent;scrollbar-width:thin;}
.cfc-app *, .cfc-app *::before,.cfc-app *::after{box-sizing:border-box}
.cfc-app :where(button,input,select){font:inherit!important;letter-spacing:normal;color:inherit;outline-offset:2px}
.cfc-app button{border:0;background:none;text-decoration:none;box-shadow:none;text-shadow:none;cursor:pointer;transition:background .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease;padding:0;text-transform:none;line-height:inherit}
.cfc-app button:focus-visible,.cfc-app input:focus-visible,.cfc-app select:focus-visible{outline:2px solid var(--cfc-pink);outline-offset:2px}
.cfc-app button[disabled]{cursor:not-allowed;opacity:.5}
.cfc-app button:hover,.cfc-app button:focus{border:0}
.cfc-app input,.cfc-app select{border:0;margin:0;box-shadow:none!important;min-width:0}
.cfc-app svg{width:22px;height:22px;flex:none;display:inline-block;vertical-align:middle;fill:none}
.cfc-app :where(h2,h3,p){margin:0;padding:0;font-family:'Funnel Display',sans-serif!important;color:inherit}
.cfc-app [hidden]{display:none!important}
.cfc-app .cfc-inner{width:100%;max-width:100%;margin:0 auto;padding:0!important}
.cfc-app .cfc-initial-loading{padding:50px 10px;text-align:center;color:var(--cfc-dim)}
.cfc-app .cfc-green{color:var(--cfc-green)!important}.cfc-app .cfc-red{color:var(--cfc-red)!important}.cfc-app .cfc-pink{color:var(--cfc-pink)!important}
.cfc-app .cfc-breadcrumb{display:flex;align-items:center;gap:9px;color:#ffffff90;font-size:14px;font-weight:500;min-width:0;margin:4px 0 7px;white-space:nowrap;overflow:hidden}
.cfc-app .cfc-breadcrumb button{font-size:14px;color:inherit;white-space:nowrap}
.cfc-app .cfc-breadcrumb button:hover{color:#fff}
.cfc-app .cfc-breadcrumb strong{color:#fff;font-weight:500;overflow:hidden;text-overflow:ellipsis}
.cfc-app .cfc-separator{color:#ffffff55;font-size:14px;line-height:1}
.cfc-app .cfc-page-head{margin:0 0 19px}
.cfc-app .cfc-page-head h2,.cfc-app .cfc-detail-title{font-size:25px!important;line-height:1.3!important;font-weight:800!important;margin:6px 0 10px!important;letter-spacing:-.015em!important}
.cfc-app .cfc-page-head p{color:var(--cfc-dim);font-size:14px;margin-top:10px}
.cfc-app .cfc-page-head p b{font-weight:700}
.cfc-app .cfc-filters{display:flex;gap:8px;margin-bottom:13px;align-items:stretch}
.cfc-app .cfc-search{height:49px;min-width:0;display:flex;align-items:center;gap:9px;padding:0 15px;border:1px solid #ffffff30;border-radius:12px;background:transparent;flex:1;color:#ffffff80}
.cfc-app .cfc-search:focus-within{border-color:var(--cfc-pink)}
.cfc-app .cfc-search svg{color:#ffffff90;order:2}
.cfc-app .cfc-search input{order:1;border:0!important;background:transparent!important;flex:1;color:#fff!important;padding:0!important;height:100%;font-size:15px!important;outline:none!important}
.cfc-app .cfc-search input::placeholder{color:#ffffff7d;opacity:1}
/* Compact, scrollable filter — custom popover instead of a tall native select. */
.cfc-app .cfc-filter-select{position:relative;display:flex;flex:0 0 250px;width:250px;max-width:40%;height:49px;min-width:0;z-index:3}
.cfc-app .cfc-filter-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:100%;padding:0 14px 0 16px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:12px!important;background:rgba(255,255,255,.10)!important;color:#fff!important;font-weight:600!important;font-size:14px!important;text-align:left;transition:border-color .16s,background .16s,box-shadow .16s}
.cfc-app .cfc-filter-trigger:hover,.cfc-app .cfc-filter-trigger[aria-expanded="true"]{border-color:rgba(255,43,138,.52)!important;background:rgba(255,255,255,.16)!important;box-shadow:0 0 0 2px rgba(255,43,138,.10)!important}
.cfc-app .cfc-filter-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cfc-app .cfc-filter-trigger svg{width:17px;height:17px;color:#fff9;transition:transform .18s ease}
.cfc-app .cfc-filter-trigger[aria-expanded="true"] svg{transform:rotate(180deg);color:var(--cfc-pink)}
.cfc-app .cfc-filter-menu{position:absolute;left:0;top:calc(100% + 7px);width:100%;max-height:min(222px,38dvh);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#ffffff48 transparent;padding:5px;background:#292133;border:1px solid rgba(255,255,255,.16);box-shadow:0 18px 42px rgba(0,0,0,.42);border-radius:13px;z-index:30}
.cfc-app .cfc-filter-option{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:37px;padding:8px 11px!important;text-align:left;border-radius:8px!important;font-size:13px!important;line-height:1.25!important;font-weight:500!important;color:#fff!important}
.cfc-app .cfc-filter-option:hover,.cfc-app .cfc-filter-option:focus-visible{background:#ffffff19!important}
.cfc-app .cfc-filter-option.is-selected{background:rgba(255,43,138,.13)!important;color:#ff9ac6!important}
.cfc-app .cfc-filter-check{color:#ff58a4;font-size:15px;font-weight:700}
.cfc-app .cfc-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;align-items:stretch}
.cfc-app .cfc-card{width:100%;min-width:0;text-align:left;display:flex;flex-direction:column;gap:17px;align-items:stretch;justify-content:space-between;padding:20px!important;background:var(--cfc-card)!important;color:#fff!important;border-radius:16px!important;outline:1px solid transparent;outline-offset:-1px;min-height:190px}
.cfc-app .cfc-card:hover{box-shadow:inset 0 0 0 1.3px var(--cfc-pink);background:#2b2535!important;transform:translateY(-1px)}
.cfc-app .cfc-card-top{display:flex;align-items:center;gap:11px;min-width:0}
.cfc-app .cfc-coin-icon{width:var(--cfc-isize,40px);height:var(--cfc-isize,40px);min-width:var(--cfc-isize,40px);border-radius:50%;display:inline-flex;position:relative;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(145deg,#8934b8,#ea4c8d);vertical-align:middle;flex:none;color:#fff;font-size:calc(var(--cfc-isize,40px) * .31);font-weight:800;letter-spacing:-.05em}
.cfc-app .cfc-coin-icon img{width:100%;height:100%;border-radius:50%;position:absolute;left:0;top:0;object-fit:cover;background:var(--cfc-card)}
.cfc-app .cfc-fallback{display:block}
.cfc-app .cfc-card-identity{min-width:0;flex:1}
.cfc-app .cfc-card-head{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0;line-height:1.25}
.cfc-app .cfc-card-head b{font-size:15px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cfc-app .cfc-card-head small{font-size:11px;color:#ffffffb9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
.cfc-app .cfc-perc{font-size:13px;line-height:1.5;margin-top:4px;font-weight:500}
.cfc-app .cfc-card-price{display:flex;align-items:center;min-width:0;gap:6px;margin-top:1px;line-height:1}
.cfc-app .cfc-card-price b{font-size:clamp(15px,1.45vw,22px);font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.15}
.cfc-app .cfc-trend{width:23px;height:23px;display:flex;flex:none;align-items:center;justify-content:center;color:var(--cfc-green)}
.cfc-app .cfc-trend.cfc-down{color:var(--cfc-red);transform:rotate(180deg)}
.cfc-app .cfc-trend svg{width:23px;height:23px;stroke-width:2.6}
.cfc-app .cfc-card-foot{display:flex;flex-direction:column;gap:6px;font-size:13px;line-height:1.18;white-space:nowrap}
.cfc-app .cfc-card-foot span{color:#ffffff91}.cfc-app .cfc-card-foot strong{color:var(--cfc-orange);font-weight:500}
.cfc-app .cfc-no-results{padding:40px 0;text-align:center;color:var(--cfc-dim)}
/* Detail page */
.cfc-app .cfc-detail-title{margin-bottom:15px!important}
.cfc-app .cfc-detail-layout{display:flex;align-items:stretch;gap:9px;min-width:0}
.cfc-app .cfc-chart-column{min-width:0;flex:1;display:flex;flex-direction:column;gap:9px}
.cfc-app .cfc-quote-header{background:var(--cfc-card);min-height:79px;border-radius:16px;padding:12px 15px;display:flex;gap:12px;align-items:center;min-width:0}
.cfc-app .cfc-quote-left{display:flex;align-items:center;gap:12px;min-width:0;flex:none}
.cfc-app .cfc-quote-value{display:flex;flex-direction:column;gap:1px}
.cfc-app .cfc-price-large{font-weight:800;font-size:clamp(19px,2vw,30px);line-height:1.13;white-space:nowrap;letter-spacing:-.025em}
.cfc-app .cfc-quote-value [data-detail-change]{font-size:12px;color:var(--cfc-dim);font-weight:600}
.cfc-app .cfc-quote-meta{min-width:0;flex:1;font-size:12px;display:flex;flex-direction:column;gap:4px;overflow:hidden}
.cfc-app .cfc-quote-meta b{font-weight:600}
.cfc-app .cfc-quote-meta>div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cfc-app .cfc-quote-meta span,.cfc-app .cfc-quote-meta i{color:#ffffff80;font-style:normal}
.cfc-app .cfc-quote-meta i{margin:0 5px}
.cfc-app .cfc-quote-meta strong{font-weight:500}
.cfc-app .cfc-tv-shell{height:clamp(340px,52vh,690px);border-radius:16px;background:#15111e;overflow:hidden;padding:6px;min-width:0}
.cfc-app .cfc-tv-mount{height:100%;min-width:0;width:100%}
.cfc-app .cfc-tv-shell tv-advanced-chart{display:block;width:100%;height:100%;min-width:0}
/* Betting control panel - order execution is not available */
.cfc-app .cfc-trade-panel{width:304px;min-width:304px;background:var(--cfc-card);border-radius:16px;overflow:hidden;align-self:stretch}
.cfc-app .cfc-trade-tabs{display:flex;justify-content:center;gap:24px;border-bottom:1px solid #ffffff28;height:61px}
.cfc-app .cfc-trade-tabs button{min-width:57px;padding:0 1px;border-bottom:2px solid transparent!important;font-size:15px;color:#ffffff88!important}
.cfc-app .cfc-trade-tabs button.is-active{border-bottom-color:var(--cfc-pink)!important;color:#fff!important}
.cfc-app .cfc-trade-form{padding:20px;display:flex;flex-direction:column;gap:13px;font-size:14px}
.cfc-app .cfc-centered{text-align:center;font-size:14px;font-weight:500}
.cfc-app .cfc-side-choice{display:flex;gap:4px;background:var(--cfc-bg);border-radius:16px;padding:4px;margin-bottom:4px}
.cfc-app .cfc-side-choice button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;padding:10px 5px!important;border-radius:12px!important;font-size:15px;font-weight:800;color:#ffffffb3!important}
.cfc-app .cfc-side-choice button.active{background:var(--cfc-card)!important}
.cfc-app .cfc-side-choice button svg{width:20px;height:20px;stroke-width:2.5}
.cfc-app .cfc-side-choice button[data-action=down] svg{transform:rotate(180deg)}
.cfc-app .cfc-side-choice button.active.cfc-green{color:var(--cfc-green)!important}
.cfc-app .cfc-side-choice button.active.cfc-red{color:var(--cfc-red)!important}
.cfc-app .cfc-input-label{display:block;color:#ffffff99;font-weight:500;font-size:13px;margin:0 0 -8px}
.cfc-app .cfc-wager-field{display:flex;align-items:center;height:48px;border:1px solid var(--cfc-outline);border-radius:12px;gap:5px;padding:5px 7px 5px 14px}
.cfc-app .cfc-wager-field>span{font-size:17px;font-weight:600}
.cfc-app .cfc-wager-field input{width:0;flex:1;font-size:16px!important;height:100%;padding:0!important;background:transparent!important;color:#fff!important;outline:none!important;appearance:textfield}
.cfc-app input[type=number]::-webkit-inner-spin-button,.cfc-app input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}
.cfc-app input[type=number]{-moz-appearance:textfield}
.cfc-app .cfc-wager-field button{height:36px;min-width:34px;padding:0 7px!important;border-radius:9px!important;background:#ffffff19!important;font-size:12px;font-weight:800;flex:none}
.cfc-app .cfc-wager-field button:hover{background:#ffffff2a!important}
.cfc-app .cfc-mult-field{display:flex;align-items:center;gap:11px}
.cfc-app .cfc-mult-input{display:flex;align-items:center;height:48px;flex:1;border:1px solid var(--cfc-outline);border-radius:12px;padding:0 12px;min-width:0;gap:6px}
.cfc-app .cfc-mult-input span{font-weight:800;color:#ffffff90;font-size:20px}
.cfc-app .cfc-mult-input input{min-width:0;flex:1;width:100%;background:transparent!important;padding:0!important;font-size:16px!important;height:100%;color:#fff!important;outline:none!important}
.cfc-app .cfc-bust{display:flex;flex-direction:column;text-align:right;align-items:flex-end;justify-content:center;gap:1px;flex:none;min-width:70px}
.cfc-app .cfc-bust small{color:#ffffff91;font-size:12px}
.cfc-app .cfc-bust strong{font-size:14px;font-weight:500;white-space:nowrap}
/* Payout multiplier: accessible native range control, visually branded on WebKit and Firefox. */
.cfc-app input.cfc-range{--cfc-range-fill:3.807%;-webkit-appearance:none!important;appearance:none!important;width:100%;height:26px!important;min-height:26px!important;border:0!important;border-radius:0!important;cursor:pointer;padding:0!important;margin:5px 0 2px;background:transparent!important;accent-color:var(--cfc-pink);touch-action:pan-y}
.cfc-app input.cfc-range::-webkit-slider-runnable-track{height:9px;border:1px solid #ffffff16;border-radius:999px;background:linear-gradient(90deg,transparent var(--cfc-range-fill),#4b4055 var(--cfc-range-fill)),linear-gradient(90deg,#00d900 0%,#ffcf57 43%,#ff2b8a 76%,#ff4e65 100%);box-shadow:inset 0 1px 3px #0005}
.cfc-app input.cfc-range::-moz-range-track{height:9px;border:1px solid #ffffff16;border-radius:999px;background:linear-gradient(90deg,transparent var(--cfc-range-fill),#4b4055 var(--cfc-range-fill)),linear-gradient(90deg,#00d900 0%,#ffcf57 43%,#ff2b8a 76%,#ff4e65 100%);box-shadow:inset 0 1px 3px #0005}
.cfc-app input.cfc-range::-webkit-slider-thumb{-webkit-appearance:none!important;appearance:none!important;width:21px;height:21px;margin-top:-7px;border:4px solid #ff2b8a;border-radius:50%;background:#fff;box-shadow:0 0 0 3px #ff2b8a38,0 2px 10px #0009;transition:box-shadow .18s ease,transform .18s ease}
.cfc-app input.cfc-range::-moz-range-thumb{width:14px;height:14px;border:4px solid #ff2b8a;border-radius:50%;background:#fff;box-shadow:0 0 0 3px #ff2b8a38,0 2px 10px #0009;transition:box-shadow .18s ease,transform .18s ease}
.cfc-app input.cfc-range:hover::-webkit-slider-thumb{box-shadow:0 0 0 5px #ff2b8a40,0 2px 12px #0009;transform:scale(1.08)}
.cfc-app input.cfc-range:hover::-moz-range-thumb{box-shadow:0 0 0 5px #ff2b8a40,0 2px 12px #0009;transform:scale(1.08)}
.cfc-app input.cfc-range:focus-visible{outline:2px solid #ff2b8a!important;outline-offset:2px}
.cfc-app .cfc-range-markers{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:13px;margin:-1px 0 5px}
.cfc-app .cfc-range-markers em{font-style:normal;color:#ffffff60}.cfc-app .cfc-range-markers b{font-weight:500}
.cfc-app .cfc-target-input{display:flex;border:1px solid var(--cfc-outline);border-radius:12px;height:47px;padding:0 12px;align-items:center}
.cfc-app .cfc-target-input input{height:100%;flex:1;width:100%;background:transparent!important;outline:none!important;padding:0!important}
.cfc-app .cfc-target-input>span{color:var(--cfc-dim)}
.cfc-app .cfc-place{background:var(--cfc-green)!important;color:#fff!important;min-height:48px;width:100%;border-radius:12px!important;padding:12px 16px!important;font-size:15px;font-weight:800!important;margin-top:4px}
.cfc-app .cfc-place:not([disabled]):hover{background:#00b523!important}
.cfc-app .cfc-place[disabled]{background:#ffffff23!important;color:#ffffff99!important}
.cfc-app .cfc-place.cfc-place--down{background:#e93450!important;color:#fff!important;box-shadow:0 2px 0 #9f1c36b8,inset 0 1px 0 #ffffff20}
.cfc-app .cfc-place.cfc-place--down:not([disabled]):hover{background:#d82745!important}
.cfc-app .cfc-place.cfc-place--down:active{background:#c8213e!important;transform:translateY(1px)}
/* Bet history table */
.cfc-app .cfc-history{margin-top:18px;min-width:0}
.cfc-app .cfc-history-bar{display:flex;justify-content:space-between;align-items:center;gap:10px}
.cfc-app .cfc-history-tabs{display:flex;gap:4px;border-radius:15px;background:#ffffff16;padding:4px;max-width:100%}
.cfc-app .cfc-history-tabs button{padding:11px 15px!important;border-radius:12px!important;white-space:nowrap;font-size:14px;color:#ffffff8c!important}
.cfc-app .cfc-history-tabs button.is-active{color:var(--cfc-pink)!important;background:var(--cfc-bg)!important}
.cfc-app .cfc-empty{padding:45px 15px;text-align:center;color:#ffffff85;font-size:14px}
.cfc-app .cfc-bets-scroll{margin-top:12px;max-width:100%;overflow:auto;scrollbar-width:thin}
.cfc-app .cfc-bets{border-collapse:collapse;width:100%;min-width:850px;font-size:13px}
.cfc-app .cfc-bets th{text-align:left;font-weight:500;white-space:nowrap;color:#ffffff8c;padding:13px 9px;border-bottom:1px solid var(--cfc-outline)}
.cfc-app .cfc-bets td{padding:13px 9px;white-space:nowrap;border-bottom:1px solid #ffffff10;color:#fff}
.cfc-app .cfc-bets td b{font-weight:700}
.cfc-app .cfc-bets td.cfc-green{color:var(--cfc-green)}.cfc-app .cfc-bets td.cfc-red{color:var(--cfc-red)}
.cfc-app .cfc-bets .cfc-dim{font-size:11px;color:#ffffff80}
.cfc-app .cfc-cashout{background:#ffffff1c!important;border-radius:8px!important;padding:6px 9px!important;font-size:12px}
.cfc-app .cfc-cashout:hover{background:#ffffff2b!important}
/* Dialog */
.cfc-app .cfc-overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:18px;background:#000b;z-index:999999;backdrop-filter:blur(5px)}
.cfc-app .cfc-popup{background:#231f2c;border:1px solid #ffffff23;box-shadow:0 30px 90px #0008;border-radius:20px;max-width:430px;width:100%;padding:17px;max-height:min(80vh,670px);display:flex;flex-direction:column;gap:12px;overflow:hidden;color:#fff}
.cfc-app .cfc-popup-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cfc-app .cfc-popup-head>strong{font-size:19px;font-weight:800}
.cfc-app .cfc-popup-head .cfc-btn-square{width:38px;height:38px}
.cfc-app .cfc-picker-list{overflow:auto;flex:1;min-height:0;scrollbar-width:thin;display:flex;flex-direction:column;gap:3px;padding-right:3px}
.cfc-app .cfc-picker-list button{padding:9px!important;border-radius:10px!important;display:flex;align-items:center;gap:10px;text-align:left;min-width:0}
.cfc-app .cfc-picker-list button:hover,.cfc-app .cfc-picker-list button.is-current{background:#ffffff17!important}
.cfc-app .cfc-picker-list button b{font-size:14px;min-width:65px}
.cfc-app .cfc-picker-list button span:not(.cfc-coin-icon):not(.cfc-fallback){color:var(--cfc-dim);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cfc-app .cfc-picker-list button strong{margin-left:auto;font-size:12px;white-space:nowrap;font-weight:600}
.cfc-app .cfc-help p{color:#ffffffb9;font-size:14px;line-height:1.6}
.cfc-app .cfc-help .cfc-place{flex:none}
@media (max-width:1199px){.cfc-app .cfc-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cfc-app .cfc-card{padding:16px!important}.cfc-app .cfc-card-price b{font-size:18px}.cfc-app .cfc-quote-meta{display:none}}
@media (max-width:960px){.cfc-app .cfc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cfc-app .cfc-detail-layout{flex-direction:column}.cfc-app .cfc-trade-panel{width:100%;min-width:0}.cfc-app .cfc-trade-form{max-width:600px;margin:auto;width:100%}.cfc-app .cfc-quote-meta{display:flex}.cfc-app .cfc-price-large{font-size:25px}.cfc-app .cfc-tv-shell{height:460px}}
@media (max-width:640px){.cfc-app{padding:0!important}.cfc-app .cfc-inner{padding:0!important}.cfc-app .cfc-page-head h2,.cfc-app .cfc-detail-title{font-size:23px!important}.cfc-app .cfc-filters{flex-direction:column;gap:9px;margin-bottom:11px}.cfc-app .cfc-filter-select{width:100%;max-width:none;flex-basis:auto;height:45px}.cfc-app .cfc-filter-menu{max-height:min(176px,32dvh);padding:4px;border-radius:11px}.cfc-app .cfc-filter-option{min-height:34px;padding:7px 10px!important;font-size:12px!important}.cfc-app .cfc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cfc-app .cfc-card{padding:14px!important;gap:13px;min-height:162px;border-radius:14px!important}.cfc-app .cfc-card-top{gap:8px}.cfc-app .cfc-card-head{flex-direction:column;align-items:flex-start;gap:2px}.cfc-app .cfc-card-head b{font-size:15px}.cfc-app .cfc-card-head small{font-size:10px}.cfc-app .cfc-card-price{gap:3px}.cfc-app .cfc-card-price b{font-size:17px}.cfc-app .cfc-trend{width:18px;height:18px}.cfc-app .cfc-trend svg{width:18px;height:18px}.cfc-app .cfc-card-foot{font-size:12px;gap:6px}.cfc-app .cfc-coin-icon{max-width:100%}.cfc-app .cfc-quote-header{padding:10px;gap:7px;flex-wrap:wrap}.cfc-app .cfc-quote-left{gap:8px}.cfc-app .cfc-price-large{font-size:22px}.cfc-app .cfc-quote-meta{width:100%;order:3;flex-basis:100%;margin-top:5px}.cfc-app .cfc-tv-shell{height:350px;padding:3px}.cfc-app .cfc-trade-form{padding:18px}.cfc-app .cfc-history-bar{flex-direction:column;align-items:stretch}.cfc-app .cfc-history-tabs{width:100%}.cfc-app .cfc-history-tabs button{flex:1;padding:10px 5px!important;font-size:12px}.cfc-app .cfc-popup{max-height:85vh}}
@media(max-width:370px){.cfc-app .cfc-inner{padding:0!important}.cfc-app .cfc-card{padding:10px!important}.cfc-app .cfc-card-price b{font-size:15px}.cfc-app .cfc-card-top{gap:6px}.cfc-app .cfc-perc{font-size:12px}.cfc-app .cfc-card-foot{font-size:11px}}
@media(prefers-reduced-motion:reduce){.cfc-app button{transition:none}.cfc-app .cfc-card:hover{transform:none}}

/* Top-right toast styled to match uploaded profile plugin, without depending on it. */
.cfc-notice-region{position:fixed;z-index:2147483640;top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));width:min(380px,calc(100vw - 32px));display:flex;flex-direction:column;gap:10px;pointer-events:none;font-family:"Funnel Display",sans-serif;color:#fff}
.cfc-notice{position:relative;display:flex;align-items:flex-start;gap:12px;min-width:0;padding:14px 14px 17px;overflow:hidden;border:1px solid rgba(255,114,137,.28);border-radius:14px;background:#231f2c;box-shadow:0 13px 42px rgba(0,0,0,.46);pointer-events:auto;animation:cfc-notice-in .22s ease-out both;box-sizing:border-box}
.cfc-notice-icon{display:flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:rgba(255,43,138,.14);color:#ff5c9e}
.cfc-notice-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cfc-notice-text{flex:1;min-width:0;font-size:13px;font-weight:600;line-height:1.45;padding-top:4px;overflow-wrap:anywhere}
.cfc-notice-dismiss{flex:0 0 26px;width:26px;height:26px;display:grid;place-items:center;background:rgba(255,255,255,.08);color:rgba(255,255,255,.75);border:0;border-radius:8px;padding:5px;cursor:pointer}
.cfc-notice-dismiss:hover{background:rgba(255,255,255,.16);color:#fff}
.cfc-notice-dismiss:focus-visible{outline:2px solid #ff2b8a;outline-offset:2px}
.cfc-notice-dismiss svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cfc-notice-track{position:absolute;inset:auto 0 0;height:3px;background:rgba(255,255,255,.08)}
.cfc-notice-track::after{content:"";display:block;width:100%;height:100%;background:#ff2b8a;transform-origin:left;animation:cfc-notice-timer 3.2s linear both}
.cfc-notice.is-hiding{animation:cfc-notice-out .17s ease-in both}
@keyframes cfc-notice-in{from{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:translateY(0)}}
@keyframes cfc-notice-out{to{opacity:0;transform:translateY(-8px)}}
@keyframes cfc-notice-timer{to{transform:scaleX(0)}}
@media(max-width:767px){.cfc-notice-region{top:max(12px,env(safe-area-inset-top));right:12px;width:min(360px,calc(100vw - 24px))}.cfc-notice{padding:12px 12px 15px;gap:10px}}
@media(prefers-reduced-motion:reduce){.cfc-notice,.cfc-notice.is-hiding,.cfc-notice-track::after{animation:none!important}}

/* Mobile quote card: price and full 24h metadata in the SAME horizontal row. */
@media (max-width:640px){
  .cfc-app .cfc-quote-header{display:flex;flex-direction:row;flex-wrap:nowrap!important;align-items:center;justify-content:space-between;gap:8px!important;padding:9px 10px;min-height:74px;overflow:hidden}
  .cfc-app .cfc-quote-left{display:flex;align-items:center;flex:0 1 auto;gap:7px!important;min-width:0;max-width:59%}
  .cfc-app .cfc-quote-left .cfc-coin-icon{--cfc-isize:30px!important;width:30px;min-width:30px;height:30px;font-size:10px}
  .cfc-app .cfc-quote-value{min-width:0;overflow:hidden}
  .cfc-app .cfc-price-large{font-size:clamp(15px,4.6vw,20px)!important;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.04em}
  .cfc-app .cfc-quote-value [data-detail-change]{font-size:10px;line-height:1.2}
  .cfc-app .cfc-quote-meta{display:flex;flex:0 1 41%;width:auto;min-width:0;order:initial;align-self:center;margin:0;font-size:10px;line-height:1.25;gap:0;text-align:left;overflow:hidden}
  .cfc-app .cfc-quote-meta>b{display:none}
  .cfc-app .cfc-quote-meta>div{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:5px;row-gap:3px;align-items:baseline;min-width:0;white-space:normal;overflow:visible;text-overflow:clip}
  .cfc-app .cfc-quote-meta>div>i{display:none}
  .cfc-app .cfc-quote-meta>div>span{white-space:nowrap}
  .cfc-app .cfc-quote-meta>div>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right;font-size:10px;font-variant-numeric:tabular-nums}
}
@media (max-width:360px){
  .cfc-app .cfc-quote-header{gap:5px!important;padding:8px}
  .cfc-app .cfc-quote-left{gap:5px!important;max-width:55%}
  .cfc-app .cfc-quote-left .cfc-coin-icon{--cfc-isize:25px!important;width:25px;min-width:25px;height:25px}
  .cfc-app .cfc-price-large{font-size:clamp(14px,4.45vw,17px)!important}
  .cfc-app .cfc-quote-meta{flex:0 1 45%;font-size:9px}
  .cfc-app .cfc-quote-meta>div{column-gap:3px}
  .cfc-app .cfc-quote-meta>div>strong{font-size:9px}
}


/* v1.1.2: Mobile search + filter share one row, without iOS input-focus zoom. */
@media (max-width:640px){
  .cfc-app .cfc-filters{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:stretch;gap:8px!important;width:100%;min-width:0}
  .cfc-app .cfc-search{flex:1 1 0;min-width:0;width:auto;height:45px;padding:0 10px!important;gap:5px}
  .cfc-app .cfc-search svg{width:18px;height:18px;flex:0 0 18px}
  .cfc-app .cfc-search input{min-width:0;width:100%;flex:1 1 auto;font-size:16px!important;line-height:1.3!important;transform:none!important;-webkit-appearance:none;appearance:none}
  .cfc-app .cfc-filter-select{flex:0 0 clamp(116px,35%,155px);width:clamp(116px,35%,155px);max-width:42%;min-width:0;height:45px}
  .cfc-app .cfc-filter-trigger{padding:0 9px 0 11px!important;gap:5px;font-size:12px!important}
  .cfc-app .cfc-filter-trigger svg{width:15px;height:15px;flex:0 0 15px}
  .cfc-app .cfc-filter-menu{max-height:min(176px,32dvh)}
}
@media (max-width:360px){
  .cfc-app .cfc-filters{gap:6px!important}
  .cfc-app .cfc-search{padding:0 8px!important;gap:4px}
  .cfc-app .cfc-filter-select{flex-basis:116px;width:116px}
  .cfc-app .cfc-filter-trigger{padding:0 7px 0 9px!important}
}
