.streak-page{
    --st-bg:#0d1322;
    --st-bg-soft:#11182a;
    --st-bg-card:#141c2f;
    --st-line:rgba(113,153,255,.15);
    --st-line-strong:rgba(113,164,255,.32);
    --st-blue:#6aa8ff;
    --st-cyan:#63e2d3;
    --st-green:#56df9a;
    --st-gold:#ffc96b;
    --st-red:#ff6e72;
    display:flex;
    flex-direction:column;
    gap:18px;
    width:100%;
    color:var(--text-default);
    font-size:15px;
}

.streak-panel{
    position:relative;
    overflow:hidden;
    border:1px solid var(--st-line);
    border-radius:22px;
    background:
        radial-gradient(circle at 88% 0%,rgba(67,118,255,.08),transparent 30%),
        linear-gradient(145deg,rgba(18,25,43,.97),rgba(10,15,27,.985));
    box-shadow:0 18px 42px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.018);
}

.streak-panel:before{
    content:'';
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(110deg,rgba(255,255,255,.018),transparent 20%,transparent 78%,rgba(255,255,255,.012));
}

.streak-kicker,
.streak-card-kicker{
    display:flex;
    align-items:center;
    gap:8px;
    color:#83b6ff;
    font-size:12px;
    font-weight:900;
    letter-spacing:.13em;
    text-transform:uppercase;
}

.streak-kicker span{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#5ce6a1;
    box-shadow:0 0 12px rgba(73,226,154,.55);
}

.streak-hero{
    display:grid;
    grid-template-columns:minmax(0,1.34fr) minmax(360px,.66fr);
    gap:28px;
    padding:30px;
}

.streak-hero__copy,
.streak-hero__card{position:relative;z-index:1}

.streak-hero__copy h1{
    margin:12px 0 12px;
    max-width:760px;
    font-size:clamp(34px,3.15vw,52px);
    line-height:1.02;
    letter-spacing:-.025em;
    font-weight:950;
}

.streak-hero__copy h1 span{
    background:linear-gradient(90deg,#fff,#bcd6ff 58%,#83b9ff);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.streak-hero__copy>p{
    max-width:760px;
    margin:0;
    color:#a4b0c6;
    font-size:16px;
    line-height:1.7;
}

.streak-hero__copy>p b{color:#eef5ff}

.streak-hero__chips{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:22px;
}

.streak-hero__chips span{
    display:flex;
    align-items:center;
    gap:8px;
    min-height:38px;
    padding:0 14px;
    border:1px solid rgba(126,160,255,.13);
    border-radius:999px;
    background:rgba(255,255,255,.035);
    color:#d9e7fb;
    font-size:13px;
    font-weight:800;
}

.streak-hero__chips svg{
    width:16px;
    height:16px;
    fill:none;
    stroke:#8ec3ff;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.streak-hero__quickstats{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin-top:22px;
}

.streak-hero__quickstats>div{
    min-height:112px;
    padding:16px 17px;
    border:1px solid rgba(255,255,255,.055);
    border-radius:17px;
    background:rgba(255,255,255,.028);
}

.streak-hero__quickstats span{
    display:block;
    color:#8fa2bf;
    font-size:12px;
    font-weight:700;
}

.streak-hero__quickstats strong{
    display:block;
    margin-top:7px;
    color:#f5f8ff;
    font-size:25px;
    line-height:1.1;
}

.streak-hero__quickstats small{
    display:block;
    margin-top:8px;
    color:#8f9caf;
    font-size:12px;
    line-height:1.4;
}

.streak-hero__card{
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:24px 22px 22px;
    border:1px solid rgba(110,157,255,.21);
    border-radius:24px;
    background:
        radial-gradient(circle at 50% 10%,rgba(88,148,255,.17),transparent 33%),
        linear-gradient(180deg,rgba(16,25,46,.94),rgba(8,13,24,.96));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 18px 36px rgba(0,0,0,.18);
}

.streak-hero__medal-wrap{
    position:relative;
    width:118px;
    height:118px;
    display:grid;
    place-items:center;
    margin-bottom:10px;
}

.streak-medal-aura,
.streak-level-card__aura{
    position:absolute;
    inset:8%;
    border-radius:50%;
    background:radial-gradient(circle,var(--tier-glow,rgba(108,164,255,.32)),transparent 68%);
    filter:blur(11px);
    opacity:.75;
    animation:streakAura 3.4s ease-in-out infinite;
}

.streak-hero__medal-wrap .streak-medal-img{width:106px;height:106px}

.streak-hero__streak-label{
    margin-top:2px;
    color:#90a7ca;
    font-size:12px;
    font-weight:900;
    letter-spacing:.1em;
}

.streak-hero__streak-value{
    display:flex;
    align-items:flex-end;
    gap:8px;
    margin-top:3px;
    line-height:1;
}

.streak-hero__streak-value b{font-size:58px;font-weight:950;letter-spacing:-.03em}
.streak-hero__streak-value span{margin-bottom:8px;color:#b8c9e3;font-size:18px;font-weight:800}
.streak-hero__tier{margin-top:5px;color:#9cc9ff;font-size:15px;font-weight:900}

.streak-hero__progress-head{
    display:flex;
    justify-content:space-between;
    width:100%;
    margin-top:20px;
    color:#9aa9bf;
    font-size:13px;
    font-weight:700;
}

.streak-hero__progress-head b{color:#f3f7ff}

.streak-progress{
    width:100%;
    height:10px;
    overflow:hidden;
    border-radius:999px;
    background:rgba(255,255,255,.055);
    box-shadow:inset 0 1px 2px rgba(0,0,0,.2);
}

.streak-progress--hero{margin-top:8px}

.streak-progress i{
    display:block;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(90deg,#3c82ff 0%,#4ea6ff 45%,#61ded1 100%);
    box-shadow:0 0 18px rgba(75,158,255,.35);
}

.streak-hero__hint{
    width:100%;
    margin:10px 0 0;
    color:#8f9db1;
    font-size:12px;
    line-height:1.5;
}

.streak-next-tier{
    display:grid;
    grid-template-columns:56px minmax(0,1fr);
    gap:12px;
    align-items:center;
    width:100%;
    margin-top:17px;
    padding:12px 13px;
    border:1px solid rgba(255,255,255,.055);
    border-radius:16px;
    background:rgba(255,255,255,.03);
}

.streak-next-tier__icon{
    position:relative;
    width:54px;
    height:54px;
    display:grid;
    place-items:center;
}

.streak-next-tier__icon .streak-medal-img{width:52px;height:52px}
.streak-next-tier span,.streak-next-tier small{display:block;color:#8f9eb7;font-size:11px}
.streak-next-tier strong{display:block;margin:3px 0;color:#eef5ff;font-size:15px}
.streak-next-tier--max strong{color:#ffd889}

.streak-dashboard-grid,
.streak-bottom-grid{
    display:grid;
    gap:18px;
}

.streak-dashboard-grid{grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr)}
.streak-dashboard-grid--freeze-only{grid-template-columns:1fr}
.streak-bottom-grid{grid-template-columns:minmax(0,.78fr) minmax(460px,1.22fr)}

.streak-status-card,
.streak-freeze-card,
.streak-history-panel,
.streak-levels-panel,
.streak-how-panel,
.streak-top-panel{padding:24px}

.streak-card-head,
.streak-section-head{
    position:relative;
    z-index:1;
    display:flex;
    align-items:flex-start;
    gap:14px;
}

.streak-card-head{margin-bottom:18px}
.streak-section-head{justify-content:space-between;margin-bottom:18px}

.streak-card-head>div:nth-child(2){min-width:0;flex:1}
.streak-card-head h2,.streak-section-head h2{
    margin:5px 0 0;
    color:#f5f8ff;
    font-size:28px;
    line-height:1.12;
    letter-spacing:-.02em;
}

.streak-section-head p{
    margin:8px 0 0;
    color:#9ba8bc;
    font-size:14px;
    line-height:1.55;
}

.streak-card-icon{
    flex:0 0 44px;
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    border:1px solid rgba(110,158,255,.25);
    border-radius:13px;
    background:linear-gradient(145deg,rgba(62,118,235,.17),rgba(49,84,168,.07));
}

.streak-card-icon svg{
    width:20px;
    height:20px;
    fill:none;
    stroke:#94c8ff;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.streak-card-icon--ice{background:linear-gradient(145deg,rgba(68,150,255,.18),rgba(63,100,255,.07))}

.streak-pill{
    margin-left:auto;
    min-height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 13px;
    border:1px solid rgba(110,157,255,.24);
    border-radius:999px;
    background:rgba(65,117,221,.10);
    color:#abd2ff;
    font-size:12px;
    font-weight:900;
    white-space:nowrap;
}

.streak-pill.is-done{border-color:rgba(71,214,143,.25);background:rgba(60,195,128,.08);color:#6de4aa}
.streak-pill--gold{border-color:rgba(255,195,88,.28);background:rgba(255,189,73,.07);color:#ffd27f}

.streak-status-card__meta{
    display:flex;
    justify-content:space-between;
    gap:14px;
    margin-top:12px;
    color:#9ba9be;
    font-size:14px;
    line-height:1.5;
}

.streak-status-card__meta strong{color:#eef5ff;font-size:15px}

.streak-status-card__facts{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin-top:18px;
}

.streak-status-card__facts>div{
    padding:14px 15px;
    border:1px solid rgba(255,255,255,.05);
    border-radius:16px;
    background:rgba(255,255,255,.025);
}

.streak-status-card__facts strong{display:block;color:#f3f7ff;font-size:15px}
.streak-status-card__facts span{display:block;margin-top:6px;color:#8e9cb1;font-size:12px;line-height:1.4}

.streak-freeze-slots{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin-bottom:14px;
}

.streak-freeze-slot{
    display:grid;
    place-items:center;
    min-height:72px;
    border:1px dashed rgba(116,155,255,.18);
    border-radius:17px;
    background:rgba(255,255,255,.02);
}

.streak-freeze-slot svg{
    width:23px;
    height:23px;
    fill:none;
    stroke:#647391;
    stroke-width:1.7;
    stroke-linecap:round;
}

.streak-freeze-slot.is-filled{
    border-style:solid;
    border-color:rgba(102,166,255,.36);
    background:linear-gradient(145deg,rgba(57,108,255,.13),rgba(35,72,151,.05));
    box-shadow:inset 0 0 24px rgba(54,117,255,.08);
}

.streak-freeze-slot.is-filled svg{stroke:#8bcaff;filter:drop-shadow(0 0 5px rgba(79,169,255,.4))}

.streak-freeze-card>p{
    margin:0;
    color:#9aa8bc;
    font-size:14px;
    line-height:1.65;
}

.streak-freeze-card__intro{
    margin:8px 0 0;
    color:#93a2b8;
    font-size:13px;
    line-height:1.5;
}

.streak-freeze-layout{
    display:grid;
    grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);
    gap:18px;
    align-items:stretch;
}

.streak-freeze-main{
    min-width:0;
    padding:16px;
    border:1px solid rgba(255,255,255,.05);
    border-radius:18px;
    background:rgba(255,255,255,.018);
}

.streak-freeze-rules{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
}

.streak-freeze-rule{
    min-height:84px;
    display:grid;
    grid-template-columns:42px minmax(0,1fr);
    gap:13px;
    align-items:center;
    padding:14px 16px;
    border:1px solid rgba(91,160,255,.14);
    border-radius:16px;
    background:linear-gradient(145deg,rgba(50,120,235,.075),rgba(255,255,255,.018));
}

.streak-freeze-rule--danger{
    border-color:rgba(255,107,107,.12);
    background:linear-gradient(145deg,rgba(177,65,85,.055),rgba(255,255,255,.016));
}

.streak-freeze-rule__mark{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:rgba(75,141,255,.10);
    color:#8fc5ff;
    font-size:12px;
    font-weight:900;
}

.streak-freeze-rule--danger .streak-freeze-rule__mark{
    background:rgba(255,96,111,.08);
    color:#f2a6b0;
}

.streak-freeze-rule div>span{
    display:block;
    margin-bottom:5px;
    color:#8898af;
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.streak-freeze-rule strong{
    display:block;
    color:#eaf2ff;
    font-size:14px;
    line-height:1.45;
}

.streak-freeze-card__bottom{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:14px;
    margin-top:17px;
}

.streak-freeze-card__bottom strong{display:block;font-size:32px;line-height:1}
.streak-freeze-card__bottom span{display:block;margin-top:5px;color:#8f9fb7;font-size:12px}

.streak-buy-button{
    min-height:42px;
    padding:0 17px;
    border:1px solid rgba(102,154,255,.25);
    border-radius:13px;
    background:linear-gradient(135deg,rgba(47,117,247,.20),rgba(60,92,199,.10));
    color:#dceaff;
    font:inherit;
    font-size:13px;
    font-weight:900;
    cursor:pointer;
    transition:.18s ease;
}

.streak-buy-button:hover:not(:disabled){transform:translateY(-1px);border-color:rgba(104,166,255,.4);background:linear-gradient(135deg,rgba(47,117,247,.28),rgba(60,92,199,.15))}
.streak-buy-button:disabled{opacity:.42;cursor:not-allowed}

.streak-section-note,
.streak-top-caption{
    color:#8d9aaf;
    font-size:12px;
    line-height:1.45;
    text-align:right;
}

.streak-history-scroll{overflow-x:auto;padding-bottom:4px}
.streak-history-track{
    display:grid;
    grid-template-columns:repeat(14,minmax(92px,1fr));
    gap:11px;
    min-width:1370px;
}

.streak-history-day{
    position:relative;
    min-height:132px;
    padding:15px 14px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    border:1px solid rgba(255,255,255,.05);
    border-radius:17px;
    background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015));
}

.streak-history-day span{color:#94a4ba;font-size:12px;font-weight:800}
.streak-history-day b{margin-top:5px;color:#f5f8ff;font-size:29px;line-height:1}
.streak-history-day small{margin-top:9px;color:#8795aa;font-size:11px;line-height:1.35}
.streak-history-day i{margin-top:auto;font-style:normal;font-size:17px;color:#687389}
.streak-history-day.is-played{border-color:rgba(76,220,145,.2);background:linear-gradient(180deg,rgba(52,181,116,.10),rgba(255,255,255,.012))}
.streak-history-day.is-played i{color:#59e29d}
.streak-history-day.is-frozen{border-color:rgba(100,171,255,.25);background:linear-gradient(180deg,rgba(53,112,228,.10),rgba(255,255,255,.012))}
.streak-history-day.is-frozen i{color:#83c4ff}
.streak-history-day.is-today{border-color:rgba(104,158,255,.42);box-shadow:inset 0 0 0 1px rgba(93,146,255,.09)}

.streak-legend{display:flex;align-items:center;gap:10px;color:#8d9aaf;font-size:12px;flex-wrap:wrap}
.streak-legend span{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:2px;background:#667086}
.streak-legend .is-played{background:#56dc9a}.streak-legend .is-frozen{background:#6bb4ff}.streak-legend .is-missed{background:#667086}

.streak-levels-grid{
    display:grid;
    grid-template-columns:repeat(7,minmax(0,1fr));
    gap:13px;
}

.streak-level-card{
    position:relative;
    min-height:258px;
    padding:18px 16px 16px;
    border:1px solid rgba(255,255,255,.052);
    border-radius:20px;
    background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.012));
    transition:.2s ease;
}

.streak-level-card:hover{transform:translateY(-2px);border-color:rgba(121,161,255,.14)}
.streak-level-card.is-active{border-color:var(--tier-line,rgba(105,160,255,.44));box-shadow:inset 0 0 0 1px rgba(93,151,255,.10),0 14px 34px rgba(0,0,0,.12)}

.streak-level-card__visual{
    position:relative;
    width:78px;
    height:78px;
    display:grid;
    place-items:center;
    margin-bottom:12px;
}

.streak-level-card__visual .streak-medal-img{width:74px;height:74px}
.streak-level-card__meta span{display:block;color:#8ea2bf;font-size:11px;font-weight:800}
.streak-level-card__meta strong{display:block;margin-top:3px;color:#f4f8ff;font-size:19px;line-height:1.15}
.streak-level-card__range{margin-top:10px;color:#9ec9ff;font-size:13px;font-weight:900}
.streak-level-card p{margin:9px 0 0;color:#8e9daf;font-size:12px;line-height:1.55}
.streak-level-card em{position:absolute;left:15px;bottom:15px;display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(66,126,246,.13);color:#a9d3ff;font-style:normal;font-size:10px;font-weight:900}

.streak-how-grid{display:grid;gap:12px}
.streak-how-grid>div{
    position:relative;
    min-height:118px;
    padding:16px 16px 16px 74px;
    border:1px solid rgba(255,255,255,.05);
    border-radius:17px;
    background:rgba(255,255,255,.024);
}

.streak-how-icon{
    position:absolute;
    left:16px;
    top:16px;
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    border-radius:13px;
    background:linear-gradient(145deg,rgba(55,121,240,.18),rgba(48,78,143,.07));
    border:1px solid rgba(104,155,255,.17);
}

.streak-how-icon svg{width:20px;height:20px;fill:none;stroke:#91c7ff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.streak-how-grid b{position:absolute;right:14px;top:14px;color:#51617b;font-size:12px}
.streak-how-grid strong{display:block;color:#eef5ff;font-size:15px}
.streak-how-grid p{margin:8px 0 0;color:#8e9caf;font-size:13px;line-height:1.55}

.streak-top-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}

.streak-top-row{
    display:grid;
    grid-template-columns:36px 48px minmax(0,1fr) 44px auto;
    align-items:center;
    gap:11px;
    min-height:70px;
    padding:10px 12px;
    border:1px solid rgba(255,255,255,.05);
    border-radius:17px;
    background:rgba(255,255,255,.024);
    color:inherit;
    text-decoration:none;
    transition:.18s ease;
}

.streak-top-row:hover{transform:translateY(-1px);border-color:rgba(102,157,255,.18);background:rgba(255,255,255,.035)}
.streak-top-row>img{width:48px;height:48px;border-radius:14px;object-fit:cover;border:1px solid rgba(255,255,255,.08)}
.streak-top-place{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:rgba(255,255,255,.045);color:#dfe9fa;font-size:12px;font-weight:950}
.streak-top-place--1{background:linear-gradient(145deg,rgba(255,199,90,.28),rgba(255,181,49,.10));color:#ffd78a}
.streak-top-place--2{background:linear-gradient(145deg,rgba(192,205,227,.24),rgba(167,180,204,.08));color:#e2ebf9}
.streak-top-place--3{background:linear-gradient(145deg,rgba(217,145,91,.25),rgba(201,115,67,.08));color:#f0c08f}
.streak-top-user{min-width:0}
.streak-top-user strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f3f7ff;font-size:14px}
.streak-top-user small{display:block;margin-top:4px;color:#8594aa;font-size:11px}
.streak-top-medal{width:42px;height:42px;display:grid;place-items:center}
.streak-top-medal .streak-medal-img{width:42px;height:42px}
.streak-top-row>b{color:#9ec8ff;font-size:14px;white-space:nowrap}
.streak-empty{grid-column:1/-1;padding:18px;border:1px dashed rgba(255,255,255,.08);border-radius:15px;color:#8e9bad;font-size:13px}

.streak-medal-img{
    position:relative;
    z-index:1;
    display:block;
    object-fit:contain;
    object-position:center;
    user-select:none;
    -webkit-user-drag:none;
    filter:drop-shadow(0 0 8px var(--tier-shadow,rgba(90,140,255,.18)));
}

.streak-medal-shell{fill:currentColor;fill-opacity:.26;stroke:currentColor;stroke-width:1.6}
.streak-medal-core{fill:currentColor;fill-opacity:.48;stroke:rgba(255,255,255,.18);stroke-width:1.1}
.streak-medal-ring{fill:rgba(5,11,23,.38);stroke:currentColor;stroke-opacity:.65;stroke-width:1.1}
.streak-medal-wing{fill:currentColor;fill-opacity:.27;stroke:currentColor;stroke-opacity:.55;stroke-width:1}
.streak-medal-bolt{fill:#f5fbff;filter:drop-shadow(0 0 4px rgba(255,255,255,.32))}
.streak-medal-spark{fill:#fff;opacity:.55}.streak-medal-spark--2{opacity:.35}

.tier-0{--tier:#B0C3D9;--tier-shadow:rgba(176,195,217,.22);--tier-glow:rgba(176,195,217,.26);--tier-line:rgba(176,195,217,.38)}
.tier-1{--tier:#5E98D9;--tier-shadow:rgba(94,152,217,.30);--tier-glow:rgba(94,152,217,.35);--tier-line:rgba(94,152,217,.44)}
.tier-2{--tier:#4B69FF;--tier-shadow:rgba(75,105,255,.34);--tier-glow:rgba(75,105,255,.38);--tier-line:rgba(75,105,255,.46)}
.tier-3{--tier:#8847FF;--tier-shadow:rgba(136,71,255,.36);--tier-glow:rgba(136,71,255,.40);--tier-line:rgba(136,71,255,.48)}
.tier-4{--tier:#D32CE6;--tier-shadow:rgba(211,44,230,.38);--tier-glow:rgba(211,44,230,.42);--tier-line:rgba(211,44,230,.50)}
.tier-5{--tier:#FF9A3D;--tier-shadow:rgba(255,154,61,.40);--tier-glow:rgba(255,154,61,.44);--tier-line:rgba(255,154,61,.52)}
.tier-6{--tier:#EB4B4B;--tier-shadow:rgba(235,75,75,.44);--tier-glow:rgba(235,75,75,.48);--tier-line:rgba(235,75,75,.56)}

.tier-1 .streak-medal-img{animation:streakFloat 4.2s ease-in-out infinite}
.tier-2 .streak-medal-img{animation:streakPulse 2.8s ease-in-out infinite}
.tier-3 .streak-medal-img{animation:streakFloat 3.3s ease-in-out infinite}
.tier-4 .streak-medal-img{animation:streakPulse 2.25s ease-in-out infinite}
.tier-5 .streak-medal-img{animation:streakGold 2.1s ease-in-out infinite}
.tier-6 .streak-medal-img{animation:streakLegend 1.9s ease-in-out infinite}
.tier-6 .streak-medal-spark{animation:streakSpark 1.6s ease-in-out infinite alternate}
.tier-6 .streak-medal-spark--2{animation-delay:.6s}

@keyframes streakAura{0%,100%{transform:scale(.92);opacity:.46}50%{transform:scale(1.08);opacity:.86}}
@keyframes streakFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@keyframes streakPulse{0%,100%{transform:scale(1);filter:drop-shadow(0 0 7px var(--tier-shadow))}50%{transform:scale(1.035);filter:drop-shadow(0 0 13px var(--tier-shadow))}}
@keyframes streakGold{0%,100%{transform:translateY(0) rotate(0deg);filter:drop-shadow(0 0 8px var(--tier-shadow))}50%{transform:translateY(-2px) rotate(.6deg);filter:drop-shadow(0 0 15px var(--tier-shadow))}}
@keyframes streakLegend{0%,100%{transform:scale(1);filter:drop-shadow(0 0 10px var(--tier-shadow))}50%{transform:scale(1.045);filter:drop-shadow(0 0 18px var(--tier-shadow))}}
@keyframes streakSpark{from{opacity:.2;transform:scale(.7)}to{opacity:1;transform:scale(1.25)}}

@media (prefers-reduced-motion:reduce){
    .streak-medal-img,.streak-medal-aura,.streak-level-card__aura{animation:none!important}
    .streak-level-card,.streak-top-row,.streak-buy-button{transition:none!important}
}

@media(max-width:1380px){
    .streak-levels-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

@media(max-width:1160px){
    .streak-hero,.streak-dashboard-grid,.streak-bottom-grid{grid-template-columns:1fr}
    .streak-freeze-layout{grid-template-columns:1fr}
    .streak-top-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:860px){
    .streak-page{gap:14px;font-size:14px}
    .streak-hero,.streak-status-card,.streak-freeze-card,.streak-history-panel,.streak-levels-panel,.streak-how-panel,.streak-top-panel{padding:18px}
    .streak-hero__copy h1{font-size:32px}
    .streak-hero__copy>p{font-size:15px}
    .streak-hero__quickstats{grid-template-columns:1fr}
    .streak-hero__quickstats>div{min-height:0}
    .streak-card-head,.streak-section-head{flex-wrap:wrap}
    .streak-freeze-layout{gap:12px}
    .streak-freeze-main{padding:14px}
    .streak-card-head h2,.streak-section-head h2{font-size:24px}
    .streak-pill{margin-left:0}
    .streak-status-card__facts{grid-template-columns:1fr}
    .streak-section-note,.streak-top-caption{text-align:left}
    .streak-levels-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .streak-top-grid{grid-template-columns:1fr}
}

@media(max-width:560px){
    .streak-hero{padding:16px}
    .streak-hero__copy h1{font-size:27px}
    .streak-hero__copy>p{font-size:14px;line-height:1.6}
    .streak-hero__chips span{font-size:12px;min-height:36px}
    .streak-hero__card{padding:20px 16px}
    .streak-hero__medal-wrap{width:100px;height:100px}.streak-hero__medal-wrap .streak-medal-img{width:92px;height:92px}
    .streak-hero__streak-value b{font-size:50px}
    .streak-freeze-slots{gap:8px}.streak-freeze-slot{min-height:62px}
    .streak-freeze-card__bottom{align-items:stretch;flex-direction:column}.streak-buy-button{width:100%}
    .streak-freeze-rule{grid-template-columns:38px minmax(0,1fr);padding:12px}
    .streak-freeze-rule__mark{width:38px;height:38px}
    .streak-history-track{grid-template-columns:repeat(14,84px);min-width:1240px}
    .streak-history-day{min-height:120px;padding:13px 11px}
    .streak-history-day b{font-size:25px}
    .streak-levels-grid{grid-template-columns:1fr}
    .streak-level-card{min-height:220px}
    .streak-top-row{grid-template-columns:32px 44px minmax(0,1fr) auto}.streak-top-medal{display:none}
    .streak-top-row>img{width:44px;height:44px}
}

/* ===== v4 design refinements ===== */
.streak-history-track{
    grid-template-columns:repeat(14,minmax(96px,1fr));
    gap:12px;
    min-width:1420px;
}

.streak-history-day{
    min-height:148px;
    padding:14px 13px 13px;
    overflow:hidden;
    background:
        linear-gradient(180deg,rgba(255,255,255,.042),rgba(255,255,255,.014)),
        radial-gradient(circle at 50% 0,rgba(83,127,214,.08),transparent 58%);
}

.streak-history-day__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    width:100%;
}

.streak-history-day__head span{
    color:#99abcb;
    font-size:11px;
    font-weight:900;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.streak-history-day__head u{
    display:inline-flex;
    align-items:center;
    min-height:22px;
    padding:0 8px;
    border-radius:999px;
    text-decoration:none;
    border:1px solid rgba(255,255,255,.06);
    background:rgba(255,255,255,.04);
    color:#a5b4c8;
    font-size:10px;
    font-weight:800;
    white-space:nowrap;
}

.streak-history-day b{
    margin-top:12px;
    font-size:30px;
}

.streak-history-day small{
    margin-top:10px;
    color:#dce7fa;
    font-size:12px;
    font-weight:800;
    line-height:1.3;
}

.streak-history-day em{
    display:block;
    margin-top:6px;
    color:#8e9db3;
    font-size:11px;
    font-style:normal;
    line-height:1.35;
}

.streak-history-day__progress{
    width:100%;
    height:6px;
    margin-top:auto;
    overflow:hidden;
    border-radius:999px;
    background:rgba(255,255,255,.06);
}

.streak-history-day__progress i{
    display:block;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(90deg,#4b88ff,#63d9d1);
    box-shadow:0 0 12px rgba(75,136,255,.33);
}

.streak-history-day>i{
    display:flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    margin-top:10px;
    border-radius:10px;
    border:1px solid rgba(255,255,255,.07);
    background:rgba(255,255,255,.04);
    font-style:normal;
    font-size:14px;
    color:#8c99af;
}

.streak-history-day.is-played{
    border-color:rgba(76,220,145,.22);
    background:
        linear-gradient(180deg,rgba(52,181,116,.12),rgba(255,255,255,.014)),
        radial-gradient(circle at 50% 0,rgba(78,209,143,.16),transparent 58%);
}

.streak-history-day.is-played .streak-history-day__head u{
    border-color:rgba(76,220,145,.24);
    background:rgba(76,220,145,.10);
    color:#79ebb3;
}

.streak-history-day.is-played .streak-history-day__progress i{
    background:linear-gradient(90deg,#38c97e,#5be0a3);
    box-shadow:0 0 12px rgba(56,201,126,.34);
}

.streak-history-day.is-played>i{
    color:#59e29d;
    border-color:rgba(76,220,145,.22);
    background:rgba(76,220,145,.08);
}

.streak-history-day.is-frozen{
    border-color:rgba(100,171,255,.25);
    background:
        linear-gradient(180deg,rgba(53,112,228,.12),rgba(255,255,255,.014)),
        radial-gradient(circle at 50% 0,rgba(87,150,255,.16),transparent 58%);
}

.streak-history-day.is-frozen .streak-history-day__head u{
    border-color:rgba(100,171,255,.24);
    background:rgba(100,171,255,.10);
    color:#9dd1ff;
}

.streak-history-day.is-frozen .streak-history-day__progress i{
    background:linear-gradient(90deg,#579cff,#87d4ff);
    box-shadow:0 0 12px rgba(87,156,255,.34);
}

.streak-history-day.is-frozen>i{
    color:#83c4ff;
    border-color:rgba(100,171,255,.22);
    background:rgba(100,171,255,.08);
}

.streak-history-day.is-missed .streak-history-day__progress i{width:0!important}

.streak-history-day.is-today{
    border-color:rgba(104,158,255,.42);
    box-shadow:inset 0 0 0 1px rgba(93,146,255,.10),0 0 0 1px rgba(75,128,231,.03);
}

.streak-history-day.is-today .streak-history-day__head u{
    border-color:rgba(104,158,255,.24);
    background:rgba(104,158,255,.10);
    color:#a9c7ff;
}

.streak-level-card{
    overflow:hidden;
    background:
        linear-gradient(180deg,rgba(255,255,255,.032),rgba(255,255,255,.012)),
        radial-gradient(circle at 50% 0,var(--tier-glow,rgba(93,151,255,.12)),transparent 52%);
}

.streak-level-card:before{
    content:'';
    position:absolute;
    left:0;
    right:0;
    top:0;
    height:3px;
    background:linear-gradient(90deg,transparent,var(--tier-line,rgba(93,151,255,.45)),transparent);
    opacity:.9;
}

.streak-level-card>*{position:relative;z-index:1}

.streak-progression-list{
    margin-top:18px;
    padding:18px;
    border:1px solid rgba(255,255,255,.05);
    border-radius:20px;
    background:linear-gradient(180deg,rgba(255,255,255,.028),rgba(255,255,255,.012));
}

.streak-progression-list__head h3{
    margin:0;
    color:#f4f8ff;
    font-size:22px;
    line-height:1.15;
    letter-spacing:-.02em;
}

.streak-progression-list__head p{
    margin:8px 0 0;
    color:#94a3b9;
    font-size:13px;
    line-height:1.55;
}

.streak-progression-list__rows{
    display:grid;
    gap:10px;
    margin-top:16px;
}

.streak-progression-row{
    display:grid;
    grid-template-columns:52px 108px minmax(170px,.58fr) minmax(260px,1fr);
    align-items:center;
    gap:14px;
    min-height:84px;
    padding:12px 14px;
    border:1px solid rgba(255,255,255,.05);
    border-radius:18px;
    background:rgba(255,255,255,.02);
    transition:.18s ease;
}

.streak-progression-row:hover{
    transform:translateY(-1px);
    border-color:rgba(108,160,255,.18);
    background:rgba(255,255,255,.032);
}

.streak-progression-row.is-active{
    border-color:var(--tier-line,rgba(108,160,255,.4));
    box-shadow:inset 0 0 0 1px rgba(104,158,255,.10);
    background:
        linear-gradient(180deg,rgba(255,255,255,.038),rgba(255,255,255,.016)),
        radial-gradient(circle at 0 50%,var(--tier-glow,rgba(108,160,255,.12)),transparent 58%);
}

.streak-progression-row__index{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.06);
    background:rgba(255,255,255,.025);
    color:#7f90a9;
    font-size:14px;
    font-weight:900;
}

.streak-progression-row__badge{display:flex;justify-content:flex-start}

.streak-progression-chip{
    position:relative;
    display:flex;
    align-items:center;
    gap:8px;
    min-width:86px;
    padding:6px 12px 6px 8px;
    border:1px solid var(--tier-line,rgba(255,255,255,.12));
    border-radius:14px;
    background:linear-gradient(135deg,rgba(255,255,255,.04),rgba(255,255,255,.015));
    box-shadow:0 8px 24px rgba(0,0,0,.08), inset 0 0 22px rgba(104,158,255,.10);
}

.streak-progression-chip .streak-medal-img{
    width:34px;
    height:34px;
    flex:0 0 34px;
}

.streak-progression-chip span{
    color:#eef5ff;
    font-size:16px;
    font-weight:900;
    line-height:1;
}

.streak-progression-row__title strong{
    display:block;
    color:#f4f8ff;
    font-size:21px;
    line-height:1.1;
}

.streak-progression-row__title small{
    display:block;
    margin-top:5px;
    color:#9ec8ff;
    font-size:13px;
    font-weight:800;
}

.streak-progression-row__desc{
    color:#a2afc2;
    font-size:14px;
    line-height:1.55;
}

@media(max-width:1380px){
    .streak-progression-row{grid-template-columns:52px 100px minmax(150px,.55fr) minmax(210px,1fr)}
}

@media(max-width:1160px){
    .streak-progression-row{grid-template-columns:52px 104px minmax(0,1fr)}
    .streak-progression-row__desc{grid-column:2/-1}
}

@media(max-width:860px){
    .streak-progression-list{padding:16px}
    .streak-progression-list__head h3{font-size:20px}
    .streak-progression-row{grid-template-columns:44px minmax(0,1fr);gap:12px}
    .streak-progression-row__badge{grid-column:2/3}
    .streak-progression-row__title{grid-column:2/3}
    .streak-progression-row__desc{grid-column:2/3}
}

@media(max-width:560px){
    .streak-history-track{grid-template-columns:repeat(14,90px);min-width:1320px}
    .streak-history-day{min-height:142px;padding:12px 11px}
    .streak-history-day b{font-size:28px}
    .streak-history-day__head{align-items:flex-start;flex-direction:column}
    .streak-progression-row{padding:12px}
    .streak-progression-row__title strong{font-size:18px}
    .streak-progression-row__desc{font-size:13px}
}

/* ===== v1.3 polish ===== */
.streak-hero{
    background:
        radial-gradient(circle at 12% 12%,rgba(49,137,255,.11),transparent 28%),
        radial-gradient(circle at 82% 0,rgba(139,91,255,.09),transparent 25%),
        linear-gradient(145deg,rgba(16,23,41,.96),rgba(9,14,27,.98));
}

.streak-hero__quickstats>div:nth-child(1){
    border-color:rgba(75,164,255,.13);
    background:linear-gradient(145deg,rgba(51,133,255,.075),rgba(255,255,255,.02));
}
.streak-hero__quickstats>div:nth-child(2){
    border-color:rgba(127,104,255,.13);
    background:linear-gradient(145deg,rgba(112,89,255,.075),rgba(255,255,255,.02));
}
.streak-hero__quickstats>div:nth-child(3){
    border-color:rgba(93,199,255,.13);
    background:linear-gradient(145deg,rgba(56,172,255,.075),rgba(255,255,255,.02));
}

.streak-status-card{
    background:
        radial-gradient(circle at 0 0,rgba(49,137,255,.10),transparent 31%),
        linear-gradient(145deg,rgba(16,23,41,.96),rgba(9,14,27,.98));
}

.streak-freeze-card{
    background:
        radial-gradient(circle at 100% 0,rgba(87,124,255,.12),transparent 31%),
        radial-gradient(circle at 76% 78%,rgba(77,208,255,.06),transparent 28%),
        linear-gradient(145deg,rgba(16,23,41,.96),rgba(9,14,27,.98));
}

.streak-history-panel{
    background:
        radial-gradient(circle at 5% 0,rgba(65,139,255,.08),transparent 24%),
        linear-gradient(145deg,rgba(16,23,41,.96),rgba(9,14,27,.98));
}

.streak-levels-panel{
    background:
        radial-gradient(circle at 8% 0,rgba(67,137,255,.07),transparent 24%),
        radial-gradient(circle at 92% 0,rgba(194,83,255,.06),transparent 24%),
        linear-gradient(145deg,rgba(16,23,41,.96),rgba(9,14,27,.98));
}

.streak-how-panel{
    background:
        radial-gradient(circle at 0 0,rgba(65,137,255,.08),transparent 28%),
        linear-gradient(145deg,rgba(16,23,41,.96),rgba(9,14,27,.98));
}

.streak-top-panel{
    background:
        radial-gradient(circle at 100% 0,rgba(255,186,78,.07),transparent 25%),
        radial-gradient(circle at 72% 100%,rgba(99,118,255,.06),transparent 28%),
        linear-gradient(145deg,rgba(16,23,41,.96),rgba(9,14,27,.98));
}

.streak-how-grid>div:nth-child(1) .streak-how-icon{
    border-color:rgba(68,158,255,.24);
    background:linear-gradient(145deg,rgba(53,136,255,.20),rgba(49,82,155,.08));
}
.streak-how-grid>div:nth-child(2) .streak-how-icon{
    border-color:rgba(116,105,255,.24);
    background:linear-gradient(145deg,rgba(102,89,255,.20),rgba(69,59,159,.08));
}
.streak-how-grid>div:nth-child(3) .streak-how-icon{
    border-color:rgba(85,196,255,.24);
    background:linear-gradient(145deg,rgba(55,172,255,.20),rgba(48,97,163,.08));
}

/* History: two neat rows of seven instead of an endless horizontal strip. */
.streak-history-scroll{
    overflow:visible;
    padding:0;
}

.streak-history-track{
    display:grid;
    grid-template-columns:repeat(7,minmax(0,1fr));
    gap:12px;
    min-width:0;
}

.streak-history-day{
    min-width:0;
    min-height:138px;
    padding:14px;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    border-radius:18px;
}

.streak-history-day__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    width:100%;
}

.streak-history-day__head span{
    color:#96a8c3;
    font-size:11px;
    font-weight:900;
    letter-spacing:.07em;
    text-transform:uppercase;
}

.streak-history-day__head u{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:22px;
    max-width:76px;
    padding:0 8px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.06);
    border-radius:999px;
    background:rgba(255,255,255,.035);
    color:#a5b3c7;
    text-decoration:none;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:9px;
    font-weight:900;
}

.streak-history-day__date{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:11px;
}

.streak-history-day__date b{
    margin:0;
    color:#f5f8ff;
    font-size:31px;
    line-height:1;
    letter-spacing:-.02em;
}

.streak-history-day__date span{
    display:grid;
    place-items:center;
    width:28px;
    height:28px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:10px;
    background:rgba(255,255,255,.04);
    color:#8492a8;
    font-size:13px;
    font-weight:900;
}

.streak-history-day em{
    display:block;
    min-height:34px;
    margin-top:9px;
    color:#96a5ba;
    font-size:11px;
    font-style:normal;
    line-height:1.45;
}

.streak-history-day__progress{
    width:100%;
    height:6px;
    margin-top:auto;
    overflow:hidden;
    border-radius:999px;
    background:rgba(255,255,255,.055);
}

.streak-history-day__progress i{
    display:block;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(90deg,#4f8fff,#66d9d3);
    box-shadow:0 0 12px rgba(79,143,255,.30);
}

.streak-history-day.is-played{
    border-color:rgba(72,218,145,.22);
    background:
        radial-gradient(circle at 100% 0,rgba(76,220,145,.10),transparent 44%),
        linear-gradient(180deg,rgba(53,174,117,.07),rgba(255,255,255,.015));
}
.streak-history-day.is-played .streak-history-day__head u{
    border-color:rgba(72,218,145,.22);
    background:rgba(72,218,145,.08);
    color:#78e7af;
}
.streak-history-day.is-played .streak-history-day__date span{
    border-color:rgba(72,218,145,.22);
    background:rgba(72,218,145,.08);
    color:#65e4a4;
}
.streak-history-day.is-played .streak-history-day__progress i{
    background:linear-gradient(90deg,#3cc77d,#66e0aa);
}

.streak-history-day.is-frozen{
    border-color:rgba(94,168,255,.25);
    background:
        radial-gradient(circle at 100% 0,rgba(94,168,255,.12),transparent 44%),
        linear-gradient(180deg,rgba(54,112,228,.07),rgba(255,255,255,.015));
}
.streak-history-day.is-frozen .streak-history-day__head u{
    border-color:rgba(94,168,255,.24);
    background:rgba(94,168,255,.08);
    color:#96cdff;
}
.streak-history-day.is-frozen .streak-history-day__date span{
    border-color:rgba(94,168,255,.24);
    background:rgba(94,168,255,.08);
    color:#91caff;
}
.streak-history-day.is-frozen .streak-history-day__progress i{
    background:linear-gradient(90deg,#579cff,#8bd4ff);
}

.streak-history-day.is-today{
    border-color:rgba(105,158,255,.42);
    background:
        radial-gradient(circle at 100% 0,rgba(95,150,255,.13),transparent 44%),
        linear-gradient(180deg,rgba(68,112,212,.07),rgba(255,255,255,.015));
    box-shadow:inset 0 0 0 1px rgba(93,146,255,.08),0 8px 24px rgba(0,0,0,.08);
}
.streak-history-day.is-today .streak-history-day__head u{
    border-color:rgba(105,158,255,.24);
    background:rgba(105,158,255,.09);
    color:#a7c8ff;
}
.streak-history-day.is-today .streak-history-day__date span{
    border-color:rgba(105,158,255,.24);
    background:rgba(105,158,255,.09);
    color:#a8caff;
}

.streak-history-day.is-missed{
    opacity:.88;
}
.streak-history-day.is-missed .streak-history-day__progress i{width:0!important}

.streak-level-card{
    background:
        radial-gradient(circle at 50% 0,var(--tier-glow,rgba(93,151,255,.14)),transparent 58%),
        linear-gradient(180deg,rgba(255,255,255,.034),rgba(255,255,255,.012));
}

.streak-level-card:before{
    content:'';
    position:absolute;
    left:0;
    right:0;
    top:0;
    height:3px;
    background:linear-gradient(90deg,transparent,var(--tier-line,rgba(93,151,255,.46)),transparent);
    opacity:.92;
}

.streak-level-card.is-active{
    box-shadow:inset 0 0 0 1px rgba(93,151,255,.12),0 16px 38px rgba(0,0,0,.14),0 0 24px var(--tier-shadow,rgba(90,140,255,.14));
}

.streak-top-row:nth-child(1){
    border-color:rgba(255,198,86,.14);
    background:linear-gradient(145deg,rgba(255,187,58,.055),rgba(255,255,255,.022));
}
.streak-top-row:nth-child(2){
    border-color:rgba(185,204,235,.11);
    background:linear-gradient(145deg,rgba(187,203,231,.040),rgba(255,255,255,.022));
}
.streak-top-row:nth-child(3){
    border-color:rgba(219,145,86,.12);
    background:linear-gradient(145deg,rgba(213,130,73,.045),rgba(255,255,255,.022));
}

@media(max-width:1180px){
    .streak-history-track{grid-template-columns:repeat(4,minmax(0,1fr))}
}

@media(max-width:760px){
    .streak-history-track{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .streak-history-day{min-height:128px}
}

@media(max-width:430px){
    .streak-history-track{grid-template-columns:1fr 1fr}
    .streak-history-day__head u{max-width:68px;padding:0 6px}
}

/* v1.4 history clarity */
.streak-history-panel .streak-section-head{
    margin-bottom:20px;
}

.streak-history-panel .streak-legend{
    padding:8px 10px;
    border:1px solid rgba(255,255,255,.05);
    border-radius:12px;
    background:rgba(255,255,255,.025);
}

.streak-legend .is-missed{
    background:#ff6464;
    box-shadow:0 0 10px rgba(255,86,86,.28);
}

.streak-legend .is-untracked{
    background:#556176;
}

.streak-history-day{
    min-height:142px;
    border-color:rgba(255,255,255,.065);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
    transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease;
}

.streak-history-day:hover{
    transform:translateY(-2px);
    border-color:rgba(119,160,255,.18);
    box-shadow:0 10px 24px rgba(0,0,0,.10),inset 0 1px 0 rgba(255,255,255,.02);
}

.streak-history-day__head u{
    font-size:10px;
}

.streak-history-day__date span{
    width:30px;
    height:30px;
    border-radius:11px;
    font-size:15px;
}

.streak-history-day em{
    min-height:32px;
    color:#9aa9be;
    font-size:11px;
    font-weight:600;
}

.streak-history-day.is-missed{
    opacity:1;
    border-color:rgba(255,91,91,.20);
    background:
        radial-gradient(circle at 100% 0,rgba(255,78,78,.09),transparent 46%),
        linear-gradient(180deg,rgba(128,39,48,.065),rgba(255,255,255,.014));
}

.streak-history-day.is-missed .streak-history-day__head u{
    border-color:rgba(255,91,91,.20);
    background:rgba(255,78,78,.075);
    color:#ff9c9c;
}

.streak-history-day.is-missed .streak-history-day__date span{
    border-color:rgba(255,91,91,.27);
    background:rgba(255,68,68,.10);
    color:#ff6f6f;
    box-shadow:0 0 14px rgba(255,68,68,.10);
}

.streak-history-day.is-missed em{
    color:#b58d96;
}

.streak-history-day.is-missed .streak-history-day__progress{
    background:rgba(255,86,86,.07);
}

.streak-history-day.is-missed .streak-history-day__progress i{
    width:100%!important;
    opacity:.5;
    background:linear-gradient(90deg,rgba(255,79,79,.66),rgba(255,111,111,.22));
    box-shadow:none;
}

.streak-history-day.is-untracked{
    opacity:.62;
    border-style:dashed;
    border-color:rgba(132,151,181,.13);
    background:rgba(255,255,255,.012);
}

.streak-history-day.is-untracked:hover{
    transform:none;
    border-color:rgba(132,151,181,.18);
    box-shadow:none;
}

.streak-history-day.is-untracked .streak-history-day__head u{
    border-color:rgba(132,151,181,.12);
    background:rgba(132,151,181,.04);
    color:#77859a;
}

.streak-history-day.is-untracked .streak-history-day__date span{
    border-color:rgba(132,151,181,.12);
    background:rgba(132,151,181,.035);
    color:#708096;
}

.streak-history-day.is-untracked em{
    color:#748297;
}

.streak-history-day.is-untracked .streak-history-day__progress{
    background:rgba(255,255,255,.025);
}

.streak-history-day.is-untracked .streak-history-day__progress i{
    width:0!important;
}

.streak-history-day.is-today .streak-history-day__date span{
    box-shadow:0 0 14px rgba(105,158,255,.13);
}

.streak-history-day.is-played .streak-history-day__date span{
    box-shadow:0 0 14px rgba(72,218,145,.10);
}

.streak-history-day.is-frozen .streak-history-day__date span{
    box-shadow:0 0 14px rgba(94,168,255,.12);
}

@media(max-width:760px){
    .streak-history-panel .streak-legend{
        gap:8px;
        padding:7px 9px;
        font-size:11px;
    }
    .streak-history-day{
        min-height:136px;
    }
}

/* v1.5 level-card alignment */
.streak-level-card{
    display:flex;
    flex-direction:column;
    min-height:286px;
}

.streak-level-card__visual,
.streak-level-card__meta,
.streak-level-card__range,
.streak-level-card p,
.streak-level-card em{
    flex:0 0 auto;
}

.streak-level-card p{
    flex:1 1 auto;
    min-height:0;
    margin-bottom:0;
}

.streak-level-card em{
    position:static;
    left:auto;
    bottom:auto;
    align-self:flex-start;
    margin-top:14px;
}

@media(max-width:1380px){
    .streak-level-card{min-height:270px}
}

@media(max-width:860px){
    .streak-level-card{min-height:250px}
}

@media(max-width:560px){
    .streak-level-card{min-height:0}
}

/* v1.8.2 calendar weeks */
.streak-legend .is-future{
    background:#6b7d99;
    opacity:.65;
}

.streak-history-day.is-future{
    opacity:.48;
    border-style:dashed;
    border-color:rgba(129,149,181,.14);
    background:linear-gradient(180deg,rgba(255,255,255,.014),rgba(255,255,255,.008));
}

.streak-history-day.is-future:hover{
    transform:none;
    border-color:rgba(129,149,181,.18);
    box-shadow:none;
}

.streak-history-day.is-future .streak-history-day__head u{
    border-color:rgba(129,149,181,.12);
    background:rgba(129,149,181,.04);
    color:#76859b;
}

.streak-history-day.is-future .streak-history-day__date span{
    border-color:rgba(129,149,181,.12);
    background:rgba(129,149,181,.035);
    color:#728096;
}

.streak-history-day.is-future em{
    color:#748297;
}

.streak-history-day.is-future .streak-history-day__progress{
    background:rgba(255,255,255,.025);
}

.streak-history-day.is-future .streak-history-day__progress i{
    width:0!important;
}

/* v2.0.5 public streak page */
.streak-guest-cta{
    display:grid;
    grid-template-columns:52px minmax(0,1fr) auto;
    gap:14px;
    align-items:center;
    margin-top:22px;
    padding:15px 16px;
    border:1px solid rgba(105,160,255,.18);
    border-radius:18px;
    background:linear-gradient(135deg,rgba(52,111,226,.10),rgba(255,255,255,.025));
}

.streak-guest-cta__icon{
    width:52px;
    height:52px;
    display:grid;
    place-items:center;
    border:1px solid rgba(105,160,255,.22);
    border-radius:15px;
    background:rgba(63,119,229,.10);
}

.streak-guest-cta__icon svg{
    width:23px;
    height:23px;
    fill:none;
    stroke:#91c6ff;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.streak-guest-cta__copy strong{
    display:block;
    color:#f3f7ff;
    font-size:16px;
    line-height:1.25;
}

.streak-guest-cta__copy p{
    margin:5px 0 0;
    color:#92a1b7;
    font-size:12px;
    line-height:1.5;
}

.streak-auth-button{
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:0 17px;
    border:1px solid rgba(107,165,255,.32);
    border-radius:13px;
    background:linear-gradient(135deg,rgba(55,124,248,.28),rgba(62,101,215,.16));
    color:#eef6ff;
    text-decoration:none;
    font-size:13px;
    font-weight:900;
    white-space:nowrap;
    transition:.18s ease;
}

.streak-auth-button:hover{
    transform:translateY(-1px);
    border-color:rgba(112,177,255,.48);
    background:linear-gradient(135deg,rgba(55,124,248,.36),rgba(62,101,215,.22));
    color:#fff;
}

.streak-auth-button svg{
    width:18px;
    height:18px;
    fill:currentColor;
}

.streak-hero__card--guest{
    justify-content:center;
    min-height:100%;
}

.streak-hero__guest-title{
    margin-top:7px;
    color:#f4f8ff;
    font-size:24px;
    line-height:1.15;
    font-weight:950;
    text-align:center;
}

.streak-hero__guest-text{
    max-width:330px;
    margin:11px auto 0;
    color:#8f9eb4;
    font-size:12px;
    line-height:1.55;
    text-align:center;
}

.streak-guest-preview{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    width:100%;
    margin-top:18px;
}

.streak-guest-preview span{
    min-width:0;
    padding:11px 8px;
    border:1px solid rgba(255,255,255,.05);
    border-radius:13px;
    background:rgba(255,255,255,.025);
    text-align:center;
}

.streak-guest-preview small{
    display:block;
    color:#7f8fa8;
    font-size:10px;
    line-height:1.25;
}

.streak-guest-preview b{
    display:block;
    margin-top:5px;
    color:#c7d5e9;
    font-size:14px;
}

.streak-freeze-slot.is-special-preview{
    border-style:dashed;
    border-color:rgba(255,195,88,.28);
    background:linear-gradient(145deg,rgba(255,183,69,.07),rgba(255,255,255,.012));
}

.streak-freeze-slot.is-special-preview svg{
    stroke:#d6ad68;
    opacity:.75;
}

.streak-guest-inline-note{
    max-width:340px;
    margin:0!important;
    padding:9px 12px;
    border:1px solid rgba(255,255,255,.05);
    border-radius:12px;
    background:rgba(255,255,255,.022);
    color:#93a2b8!important;
    font-size:11px!important;
    line-height:1.45;
    text-align:right;
}

.streak-guest-history{
    display:grid;
    grid-template-columns:56px minmax(0,1fr) auto;
    gap:15px;
    align-items:center;
    min-height:106px;
    padding:18px;
    border:1px dashed rgba(111,156,230,.16);
    border-radius:18px;
    background:linear-gradient(135deg,rgba(65,112,204,.055),rgba(255,255,255,.015));
}

.streak-guest-history__icon{
    width:56px;
    height:56px;
    display:grid;
    place-items:center;
    border:1px solid rgba(105,160,255,.18);
    border-radius:15px;
    background:rgba(58,116,223,.08);
}

.streak-guest-history__icon svg{
    width:23px;
    height:23px;
    fill:none;
    stroke:#8fc3ff;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.streak-guest-history strong{
    display:block;
    color:#edf4ff;
    font-size:15px;
}

.streak-guest-history p{
    margin:6px 0 0;
    color:#8c9bb1;
    font-size:12px;
    line-height:1.5;
}

.streak-guest-history>span{
    padding:7px 11px;
    border:1px solid rgba(106,158,255,.14);
    border-radius:999px;
    color:#9dc9ff;
    background:rgba(58,111,219,.07);
    font-size:11px;
    font-weight:900;
    white-space:nowrap;
}

@media(max-width:860px){
    .streak-guest-cta{grid-template-columns:48px minmax(0,1fr)}
    .streak-auth-button{grid-column:1/-1;width:100%}
    .streak-guest-inline-note{max-width:none;text-align:left}
    .streak-guest-history{grid-template-columns:48px minmax(0,1fr)}
    .streak-guest-history__icon{width:48px;height:48px}
    .streak-guest-history>span{grid-column:2;justify-self:start}
}

@media(max-width:560px){
    .streak-guest-cta{grid-template-columns:1fr;padding:14px}
    .streak-guest-cta__icon{display:none}
    .streak-auth-button{grid-column:auto}
    .streak-guest-preview{grid-template-columns:1fr}
    .streak-hero__guest-title{font-size:21px}
    .streak-guest-history{grid-template-columns:1fr;padding:15px}
    .streak-guest-history__icon{display:none}
    .streak-guest-history>span{grid-column:auto;justify-self:start}
}
