/* Layout only. Controls and dialogs consume the shared native site skin. */
#gcc-streak[hidden] { display:none!important; }
#gcc-streak { position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(0,1.2fr) minmax(220px,1fr) auto; align-items:center; gap:28px; padding:22px 24px; }
#csgo500_main #gcc-streak { max-width:1200px; margin:0 auto 32px; }
@property --gge-streak-orbit { syntax:'<angle>'; inherits:false; initial-value:0deg; }
@property --gge-streak-shine { syntax:'<percentage>'; inherits:true; initial-value:200%; }
#gcc-streak[data-phase=active]::before { content:''; position:absolute; inset:-1px; padding:2px; border-radius:inherit; pointer-events:none; background:conic-gradient(from var(--gge-streak-orbit),transparent 0deg 265deg,rgba(var(--gge-ui-text-fa5f7a-rgb,250,95,122),.08) 290deg,rgba(var(--gge-ui-text-fa5f7a-rgb,250,95,122),.4) 315deg,var(--gge-ui-text-fa5f7a,#fa5f7a) 342deg,#ffb4c2 355deg,transparent 360deg); -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); -webkit-mask-composite:xor; mask-composite:exclude; animation:gcc-streak-border-orbit 5s linear infinite; }
@keyframes gcc-streak-border-orbit { to { --gge-streak-orbit:360deg; } }
@media(prefers-reduced-motion:reduce) { #gcc-streak[data-phase=active]::before { animation:none; background:linear-gradient(110deg,rgba(var(--gge-ui-text-fa5f7a-rgb,250,95,122),.25),var(--gge-ui-text-fa5f7a,#fa5f7a),#ffb4c2); } }
.gcc-streak-heading { display:flex; align-items:center; flex-wrap:wrap; column-gap:12px; row-gap:10px; min-width:0; }
.gcc-streak-heading > i { display:grid; place-items:center; width:38px; height:38px; flex-shrink:0; border-radius:11px; color:var(--gge-ui-text-fa5f7a,#fa5f7a); background:rgba(var(--gge-ui-text-fa5f7a-rgb,250,95,122),.08); font-size:19px; }
.gcc-streak-heading > div { flex:1; min-width:180px; }
#gge-case-battles .gcc-streak-heading h2 { font-size:16px; font-weight:800; line-height:1.5; margin:0; }
.gcc-streak-heading p { margin-top:4px!important; font-size:10px; color:var(--muted); line-height:1.7; }
#gcc-streak-status { font-size:8px; font-weight:800; color:var(--muted); }
#gcc-streak[data-phase=active] #gcc-streak-status { color:#91d6a5; }
.gcc-streak-progress { min-width:0; }
.gcc-streak-progress-label { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:9px; font-size:11px; font-variant-numeric:tabular-nums; }
#gcc-streak-clock { color:var(--muted); text-align:right; font-size:10px; }
#gcc-streak-bar { display:block; appearance:none; width:100%; height:7px; border:0; overflow:hidden; border-radius:99px; background:var(--panel-alt); accent-color:var(--gge-ui-text-fa5f7a,#fa5f7a); }
#gcc-streak-bar { --gcc-streak-highlight:.15; --gcc-streak-glow:0; --gcc-streak-glow-size:0px; filter:drop-shadow(0 0 var(--gcc-streak-glow-size) rgba(var(--gge-ui-text-fa5f7a-rgb,250,95,122),var(--gcc-streak-glow))); }
#gcc-streak:is([data-phase=progress],[data-phase=active]) #gcc-streak-bar { animation:gcc-streak-progress-shine 6s linear infinite; }
@keyframes gcc-streak-progress-shine { from { --gge-streak-shine:200%; } to { --gge-streak-shine:-200%; } }
#gcc-streak-bar::-webkit-progress-bar { background:var(--panel-alt); border-radius:99px; }
#gcc-streak-bar::-webkit-progress-value { background:linear-gradient(100deg,transparent 30%,rgba(255,203,213,var(--gcc-streak-highlight)) 50%,transparent 70%),var(--gge-ui-text-fa5f7a,#fa5f7a); background-size:200% 100%,auto; background-position:var(--gge-streak-shine) 0,0 0; border-radius:99px; }
#gcc-streak-bar::-moz-progress-bar { background:linear-gradient(100deg,transparent 30%,rgba(255,203,213,var(--gcc-streak-highlight)) 50%,transparent 70%),var(--gge-ui-text-fa5f7a,#fa5f7a); background-size:200% 100%,auto; background-position:var(--gge-streak-shine) 0,0 0; border-radius:99px; }
@media(prefers-reduced-motion:reduce) { #gcc-streak:is([data-phase=progress],[data-phase=active]) #gcc-streak-bar { animation:none; --gge-streak-shine:50%; } }
#gcc-streak-goal { font-size:10px; color:var(--muted); margin-top:8px!important; }
.gcc-streak-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
#gge-case-battles dialog.modal.gcc-streak-dialog { inset:0; margin:auto; height:fit-content; width:min(680px,calc(100% - 32px)); max-height:calc(100dvh - 32px); }
#gge-case-battles dialog.gcc-streak-dialog .modal-head { padding:20px 24px; }
#gge-case-battles dialog.gcc-streak-dialog .modal-head h2 { font-size:21px; }
#gge-case-battles dialog.gcc-streak-dialog .modal-body { padding:22px 24px; }
#gge-case-battles dialog.gcc-streak-dialog .modal-footer { justify-content:flex-end; padding:16px 24px; background:rgba(var(--gge-ui-surface-0c0d13-rgb,12,13,19),.55); }
.gcc-streak-intro { display:flex; gap:14px; align-items:center; margin-bottom:24px; }
.gcc-streak-intro > i { display:grid; place-items:center; width:44px; height:44px; flex-shrink:0; border-radius:12px; color:var(--gge-ui-text-fa5f7a,#fa5f7a); background:rgba(var(--gge-ui-text-fa5f7a-rgb,250,95,122),.08); font-size:22px; }
.gcc-streak-intro strong { font-size:18px; font-weight:800; }
.gcc-streak-intro p { font-size:11px; line-height:1.8; color:var(--muted); margin-top:4px!important; }
.gcc-streak-steps { list-style:none; padding:0; margin:0; counter-reset:streak-step; }
.gcc-streak-steps li { counter-increment:streak-step; display:flex; align-items:flex-start; gap:14px; padding:18px 0; border-top:1px solid var(--border); }
.gcc-streak-steps li::before { content:counter(streak-step); display:grid; place-items:center; width:28px; height:28px; flex-shrink:0; border-radius:8px; color:var(--gge-ui-text-fa5f7a,#fa5f7a); background:rgba(var(--gge-ui-text-fa5f7a-rgb,250,95,122),.08); font-size:12px; font-weight:800; }
.gcc-streak-steps strong { font-size:13px; }
.gcc-streak-steps p { font-size:11px; line-height:1.9; color:var(--muted); margin-top:5px!important; }
.gcc-streak-example { margin-top:6px; padding:18px; border-radius:10px; background:var(--panel-alt); }
.gcc-streak-example > p { font-size:9px; font-weight:700; letter-spacing:.06em; }
.gcc-streak-example > div { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:12px; }
.gcc-streak-example span { display:grid; gap:5px; }
.gcc-streak-example small { color:var(--muted); font-size:10px; }
.gcc-streak-example strong { font-size:24px; font-weight:800; font-variant-numeric:tabular-nums; }
.gcc-streak-example b { color:var(--muted); font-size:16px; }
#gcc-streak-example-bonus,#gcc-streak-example-total { color:var(--gge-ui-text-fa5f7a,#fa5f7a); }
.gcc-streak-scope { display:flex; gap:9px; font-size:10px; line-height:1.9; color:var(--muted); margin-top:16px!important; }
.gcc-streak-scope strong { color:var(--text); }
.gcc-streak-demo { margin-top:22px; border-top:1px solid var(--border); padding-top:16px; font-size:10px; color:var(--muted); }
.gcc-streak-demo summary { cursor:pointer; }
.gcc-streak-demo > p { margin-top:12px!important; line-height:1.8; }
.gcc-streak-demo > div { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:12px; }
#gcc-streak-scenario { max-width:100%; }
#gge-case-battles #gcc-streak-history-dialog .modal-body { max-width:none; margin:0; }
#gge-case-battles #gcc-streak-history-dialog .modal-footer p { margin-right:auto; font-size:10px; }
#gcc-streak-history-dialog .or-race-table { width:100%; table-layout:fixed; border-spacing:0 5px; font-size:11px; }
#gcc-streak-history-dialog .or-race-table :is(thead,tr,th) { background:transparent; }
#gcc-streak-history-dialog .or-race-table :is(td,th) { padding:7px 12px; font-size:11px; line-height:1.5; }
#gcc-streak-history-dialog .or-race-table th:first-child { width:66%; }
#gcc-streak-history-dialog .or-race-table :is(th,td):last-child { text-align:right; }
#gcc-streak-history-dialog .or-race-table td:first-child strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#gcc-streak-history-dialog .or-race-table small { display:block; font-size:9px; font-weight:500; line-height:1.7; color:var(--muted); margin-top:3px; }
#gcc-streak-history-dialog .gcc-streak-bonus { color:#91d6a5; }
#gcc-streak-history-dialog .gcc-streak-artwork { position:relative; width:40px; height:40px; border-radius:8px; }
#gcc-streak-history-dialog .gcc-streak-artwork i { position:absolute; }
#gcc-streak-history-dialog .gcc-streak-artwork img { position:relative; background:var(--panel-alt); }
#gcc-streak-history-dialog .or-race-player .gcc-streak-history-copy { min-width:0; white-space:normal; }
@media(max-width:1150px) {
    #gcc-streak { grid-template-columns:minmax(0,1fr) minmax(220px,1fr); gap:20px; }
    .gcc-streak-actions { grid-column:1/-1; justify-content:flex-end; }
}
@media(max-width:640px) {
    #gcc-streak { grid-template-columns:minmax(0,1fr); gap:18px; padding:18px; }
    .gcc-streak-heading > div { min-width:140px; }
    .gcc-streak-heading > i { width:32px; height:32px; font-size:17px; }
    #gcc-streak-status { margin-left:44px; }
    .gcc-streak-actions { justify-content:flex-start; }
    #gge-case-battles dialog.modal.gcc-streak-dialog { width:calc(100% - 20px); max-height:calc(100dvh - 20px); }
    #gge-case-battles dialog.gcc-streak-dialog :is(.modal-head,.modal-body,.modal-footer) { padding:16px; }
    #gge-case-battles dialog.gcc-streak-dialog .modal-head h2 { font-size:18px; }
    .gcc-streak-intro strong { font-size:16px; }
    .gcc-streak-example { padding:12px; }
    .gcc-streak-example > div { gap:6px; }
    .gcc-streak-example strong { font-size:18px; }
    .gcc-streak-example small { font-size:8px; }
    #gcc-streak-history-dialog .or-race-table :is(td,th) { padding:7px 8px; }
    #gcc-streak-history-dialog .gcc-streak-artwork { width:32px; height:32px; }
}
