/* Rewards Odyssey 3.0: one living heart constellation, not a separate product shell.
   Token surfaces follow the host app's dark and light themes. */
.rewards-odyssey{
 --od-bg:#18121f;--od-surface:#241b2c;--od-raised:#2c2235;--od-ink:#faf4ff;
 --od-muted:#b7a9bf;--od-border:rgba(255,211,238,.15);--od-pink:#ff75b2;
 --od-glow:rgba(255,104,176,.32);--od-violet:#a98dff;--od-active:#48213f;
 color:var(--od-ink);min-width:0
}
html[data-theme="light"] .rewards-odyssey{
 --od-bg:#f7f2fa;--od-surface:#ffffff;--od-raised:#f7edf7;--od-ink:#241c2c;
 --od-muted:#70647a;--od-border:rgba(73,43,82,.15);--od-pink:#b82c75;
 --od-glow:rgba(230,67,145,.12);--od-violet:#6d44ce;--od-active:#fbe2f1;
}
.rewards-odyssey .odyssey-heading{display:grid;gap:7px;margin:8px 0 16px}
.rewards-odyssey .odyssey-heading h2{margin:0;color:var(--od-ink);font-size:clamp(21px,2.6vw,30px);line-height:1.2;letter-spacing:-.035em}
.rewards-odyssey .odyssey-heading p{margin:0;max-width:780px;color:var(--od-muted);font-size:13px;line-height:1.6}
.rewards-odyssey .odyssey-nav{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;max-width:100%;
 padding:7px;border-radius:16px;border:1px solid var(--od-border);background:var(--od-bg);margin-bottom:16px}
.rewards-odyssey .odyssey-nav-tab{border:1px solid transparent;border-radius:11px;background:transparent;color:var(--od-muted);
 font-family:inherit;font-size:12px;font-weight:700;line-height:1.2;min-height:42px;padding:10px 15px;cursor:pointer;white-space:nowrap;flex:0 0 auto}
.rewards-odyssey .odyssey-nav-tab:hover{color:var(--od-ink);background:var(--od-raised)}
.rewards-odyssey .odyssey-nav-tab.active{color:var(--od-ink);background:var(--od-active);border-color:var(--od-border);box-shadow:inset 0 -2px 0 var(--od-pink)}
.rewards-odyssey .odyssey-nav-tab:focus-visible,.rewards-odyssey .odyssey-button:focus-visible,
.rewards-odyssey .odyssey-node:focus-visible{outline:3px solid var(--od-pink);outline-offset:3px}
.rewards-odyssey .odyssey-body{min-width:0;display:grid;gap:18px}
.rewards-odyssey .odyssey-notice{padding:10px 14px;border:1px solid var(--od-border);border-radius:12px;color:var(--od-muted)}
.rewards-odyssey .odyssey-hero{border:1px solid var(--od-border);border-radius:26px;position:relative;overflow:hidden;
 display:grid;grid-template-columns:minmax(250px,.85fr) 1.1fr;align-items:center;min-height:305px;
 background:radial-gradient(ellipse at 23% 52%,var(--od-glow),transparent 45%),var(--od-bg)}
.rewards-odyssey .odyssey-hero-copy{padding:27px 34px;position:relative;z-index:1;display:grid;gap:12px}
.rewards-odyssey .odyssey-hero-copy h3{font-size:clamp(38px,5vw,72px);line-height:1;margin:0;letter-spacing:-.07em;color:var(--od-ink)}
.rewards-odyssey .odyssey-hero-copy p{margin:0;line-height:1.5;color:var(--od-muted);font-size:14px}
.rewards-odyssey .odyssey-hero-copy small{color:var(--od-muted);font-weight:650}
.rewards-odyssey .odyssey-eyebrow{font-family:inherit;font-size:11px;font-weight:800;line-height:1.4;letter-spacing:.13em;color:var(--od-pink)}
.rewards-odyssey .odyssey-companion{width:min(100%,295px);aspect-ratio:1;position:relative;display:grid;place-items:center;
 margin:auto;filter:drop-shadow(0 5px 32px var(--od-glow));isolation:isolate}
.rewards-odyssey .odyssey-companion::before{content:"";position:absolute;inset:10%;border-radius:50%;
 background:radial-gradient(circle,rgba(255,119,176,.16),transparent 70%)}
.rewards-odyssey .odyssey-heart{font:900 clamp(105px,13vw,155px)/1 system-ui,sans-serif;color:var(--od-pink);
 text-shadow:0 0 14px var(--od-glow),0 0 46px var(--od-glow);z-index:2;animation:odyssey-breathe 4.6s ease-in-out infinite}
.rewards-odyssey .odyssey-ring{width:76%;height:29%;border:2px solid var(--od-violet);border-radius:50%;
 position:absolute;transform:rotate(-30deg);box-shadow:0 0 22px var(--od-glow);opacity:.65;animation:odyssey-orbit 14s linear infinite}
.rewards-odyssey .odyssey-ring.secondary{height:64%;width:57%;border-color:var(--od-pink);
 transform:rotate(46deg);animation-duration:19s;animation-direction:reverse}
.rewards-odyssey .odyssey-wing{position:absolute;width:35px;height:100px;opacity:0;
 background:linear-gradient(135deg,transparent,var(--od-violet),transparent);filter:blur(1px);
 clip-path:polygon(30% 0,100% 75%,0 100%);transition:opacity .3s ease}
.rewards-odyssey .odyssey-wing.left{left:19%;transform:rotate(-37deg)}
.rewards-odyssey .odyssey-wing.right{right:19%;transform:rotate(37deg) scaleX(-1)}
.rewards-odyssey .odyssey-companion[data-stage="3"] .odyssey-wing,
.rewards-odyssey .odyssey-companion[data-stage="4"] .odyssey-wing,
.rewards-odyssey .odyssey-companion[data-stage="5"] .odyssey-wing,
.rewards-odyssey .odyssey-companion[data-stage="6"] .odyssey-wing{opacity:.7}
.rewards-odyssey .odyssey-companion[data-cosmetic="halo"] .odyssey-ring,
.rewards-odyssey .odyssey-companion[data-cosmetic="crown"] .odyssey-ring{border-color:#ffc968}
.rewards-odyssey .odyssey-companion[data-cosmetic="petal"] .odyssey-heart{color:#ff99d6}
.rewards-odyssey .odyssey-companion[data-cosmetic="comet"] .odyssey-heart{color:#a39bff}
.rewards-odyssey .odyssey-meter{height:8px;border-radius:999px;overflow:hidden;background:var(--od-raised);
 border:1px solid var(--od-border);width:100%}
.rewards-odyssey .odyssey-meter-fill{display:block;height:100%;border-radius:inherit;
 background:linear-gradient(90deg,var(--od-pink),var(--od-violet))}
.rewards-odyssey .odyssey-chapters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rewards-odyssey .odyssey-chapter{background:var(--od-surface);border:1px solid var(--od-border);border-radius:18px;padding:16px;min-width:0}
.rewards-odyssey .odyssey-chapter.unlocked{border-color:color-mix(in srgb,var(--od-pink) 36%,var(--od-border))}
.rewards-odyssey .odyssey-chapter-heading{display:flex;align-items:center;gap:10px;margin-bottom:13px}
.rewards-odyssey .odyssey-chapter-heading strong{flex:1;color:var(--od-ink);font-size:14px}
.rewards-odyssey .odyssey-chapter-heading small{color:var(--od-muted);font-size:11px}
.rewards-odyssey .odyssey-chapter-star{color:var(--od-pink);font-size:26px}
.rewards-odyssey .odyssey-nodes{display:flex;flex-wrap:wrap;gap:6px}
.rewards-odyssey .odyssey-node{min-width:34px;height:34px;padding:3px;border:1px solid var(--od-border);border-radius:10px;
 background:var(--od-bg);color:var(--od-muted);font-family:inherit;font-size:11px;font-weight:750;cursor:pointer}
.rewards-odyssey .odyssey-node.reached{background:var(--od-active);color:var(--od-ink);border-color:var(--od-pink)}
.rewards-odyssey .odyssey-node.selected{outline:2px solid var(--od-violet);outline-offset:1px}
.rewards-odyssey .odyssey-detail{padding:12px 18px;border-radius:12px;background:var(--od-surface);color:var(--od-muted);margin:0}
.rewards-odyssey .odyssey-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.rewards-odyssey .odyssey-tile,.rewards-odyssey .odyssey-trophy,.rewards-odyssey .odyssey-stamp{
 background:var(--od-surface);border:1px solid var(--od-border);border-radius:17px;padding:20px;
 display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0}
.rewards-odyssey .odyssey-tile h3{font-size:17px;letter-spacing:-.025em;color:var(--od-ink);margin:0}
.rewards-odyssey .odyssey-tile p{font-size:12px;line-height:1.55;color:var(--od-muted);margin:0}
.rewards-odyssey .odyssey-tile small,.rewards-odyssey .odyssey-trophy small,.rewards-odyssey .odyssey-stamp small{font-size:11px;color:var(--od-muted)}
.rewards-odyssey .odyssey-tile .odyssey-button{margin-top:auto}
.rewards-odyssey .odyssey-button{font-family:inherit;font-size:12px;font-weight:750;line-height:1.25;min-height:40px;border-radius:11px;
 border:1px solid var(--od-border);padding:10px 14px;cursor:pointer;
 background:var(--od-active);color:var(--od-ink)}
.rewards-odyssey .odyssey-button:hover:not(:disabled){border-color:var(--od-pink);transform:translateY(-1px)}
.rewards-odyssey .odyssey-button:disabled{opacity:.55;cursor:default}
.rewards-odyssey .odyssey-vault-icon{font-size:42px;line-height:1;color:var(--od-pink)}
.rewards-odyssey .odyssey-tile.collected{background:linear-gradient(155deg,var(--od-active),var(--od-surface))}
.rewards-odyssey .odyssey-trophy{min-height:115px;padding:15px}
.rewards-odyssey .odyssey-trophy.unlocked{border-color:var(--od-pink)}
.rewards-odyssey .odyssey-trophy-icon{color:var(--od-pink);font-size:25px}
.rewards-odyssey .odyssey-trophy strong{font-size:12px;overflow-wrap:anywhere}
.rewards-odyssey .odyssey-daily{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px;
 border:1px solid var(--od-border);border-radius:20px;
 background:radial-gradient(circle at 88% 30%,var(--od-glow),transparent 42%),var(--od-bg)}
.rewards-odyssey .odyssey-daily h3{font-size:22px;color:var(--od-ink);margin:8px 0}
.rewards-odyssey .odyssey-daily p{color:var(--od-muted);font-size:13px;margin:0}
.rewards-odyssey .odyssey-daily-actions{display:grid;justify-items:center;gap:12px;flex-shrink:0}
.rewards-odyssey .odyssey-daily-actions strong{color:var(--od-pink);font-size:27px}
.rewards-odyssey .odyssey-shield{display:flex;gap:16px;align-items:center;padding:18px;border-radius:15px;background:var(--od-surface);border:1px solid var(--od-border)}
.rewards-odyssey .odyssey-shield-icon{color:var(--od-violet);font-size:38px}
.rewards-odyssey .odyssey-shield div{flex:1;min-width:0}
.rewards-odyssey .odyssey-shield strong{color:var(--od-ink)}
.rewards-odyssey .odyssey-shield p{color:var(--od-muted);font-size:12px;margin:4px 0 0}
.rewards-odyssey .odyssey-shield-status{font-size:11px;color:var(--od-pink);font-weight:800;white-space:nowrap}
.rewards-odyssey .odyssey-passport{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.rewards-odyssey .odyssey-stamp{align-items:center;text-align:center;padding:16px 7px;min-height:118px}
.rewards-odyssey .odyssey-stamp.stamped{border-color:var(--od-pink);background:var(--od-active)}
.rewards-odyssey .odyssey-stamp-mark{font-size:28px;color:var(--od-violet)}
.rewards-odyssey .odyssey-wallet{padding:20px 23px;background:var(--od-active);border:1px solid var(--od-border);
 border-radius:18px;color:var(--od-ink);font-weight:800;font-size:17px}
.rewards-odyssey .odyssey-swatch{width:78px;height:78px;display:grid;place-items:center;font-size:49px;
 border-radius:22px;background:radial-gradient(circle,var(--od-glow),var(--od-active));color:var(--od-pink)}
.rewards-odyssey .odyssey-swatch[data-cosmetic="comet"]{color:var(--od-violet)}
.rewards-odyssey .odyssey-swatch[data-cosmetic="halo"],
.rewards-odyssey .odyssey-swatch[data-cosmetic="crown"]{color:#efb956}
.rewards-odyssey .odyssey-tile.equipped{border-color:var(--od-pink)}
.rewards-odyssey .odyssey-share{max-width:650px;min-height:350px;display:flex;flex-direction:column;gap:19px;justify-content:center;
 padding:40px;border-radius:20px;border:1px solid var(--od-border);
 background:radial-gradient(circle at 90% 15%,rgba(215,97,162,.26),transparent 41%),linear-gradient(135deg,#150c23,#421846);color:#fff}
.rewards-odyssey .odyssey-share-brand{font-weight:900;color:#ffb8d9;letter-spacing:.12em}
.rewards-odyssey .odyssey-share strong{font-size:clamp(42px,6vw,74px);line-height:1;letter-spacing:-.06em}
.rewards-odyssey .odyssey-share p{font-size:25px;color:#ffd1e7;margin:0}
.rewards-odyssey .odyssey-share-foot{margin-top:auto;color:#d1bad3}

/* Companion evolution conveys actual rank progress: one signature object,
   six recognizable visual stages, cosmetic palette independent of paid Hearts. */
.rewards-odyssey .odyssey-companion[data-stage="1"] .odyssey-ring{opacity:.14}
.rewards-odyssey .odyssey-companion[data-stage="2"] .odyssey-ring{opacity:.48}
.rewards-odyssey .odyssey-companion[data-stage="3"] .odyssey-ring{opacity:.68}
.rewards-odyssey .odyssey-companion[data-stage="4"] .odyssey-ring{border-width:3px;box-shadow:0 0 26px var(--od-glow)}
.rewards-odyssey .odyssey-companion[data-stage="5"] .odyssey-ring{border-style:dashed;filter:drop-shadow(0 0 10px var(--od-violet))}
.rewards-odyssey .odyssey-companion[data-stage="6"] .odyssey-ring{border-width:3px;border-color:#e8b96d;box-shadow:0 0 35px rgba(245,196,109,.45)}
.rewards-odyssey .odyssey-companion::after{
 content:"";position:absolute;z-index:3;top:7%;left:50%;translate:-50% 0;
 width:94px;height:38px;opacity:0;pointer-events:none;
 border-top:3px solid var(--od-violet);border-radius:50%;
 transition:opacity .4s ease;filter:drop-shadow(0 0 12px var(--od-glow));
}
.rewards-odyssey .odyssey-companion[data-stage="4"]::after,
.rewards-odyssey .odyssey-companion[data-stage="5"]::after{opacity:.72}
.rewards-odyssey .odyssey-companion[data-stage="5"]::after{border-top-style:dashed;animation:odyssey-trail 3.7s ease-in-out infinite}
.rewards-odyssey .odyssey-companion[data-stage="6"]::after{
 content:"✦  ✦  ✦";font-size:27px;letter-spacing:.22em;text-align:center;line-height:1.1;
 width:150px;height:60px;border:0;color:#efc576;top:2%;opacity:1;
 filter:drop-shadow(0 0 17px rgba(255,201,101,.5))
}
@keyframes odyssey-trail{0%,100%{transform:rotate(-10deg)}50%{transform:rotate(10deg)}}
@media (prefers-reduced-motion:reduce){
 .rewards-odyssey .odyssey-companion[data-stage="5"]::after{animation:none!important}
}

@keyframes odyssey-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.07)}}
@keyframes odyssey-orbit{from{rotate:0deg}to{rotate:360deg}}
@media(max-width:850px){
 .rewards-odyssey .odyssey-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rewards-odyssey .odyssey-passport{grid-template-columns:repeat(3,minmax(0,1fr))}
 .rewards-odyssey .odyssey-hero{grid-template-columns:minmax(175px,.7fr) minmax(0,1fr)}
}
@media(max-width:590px){
 .rewards-odyssey .odyssey-hero{grid-template-columns:1fr}
 .rewards-odyssey .odyssey-companion{max-width:205px}
 .rewards-odyssey .odyssey-hero-copy{padding:15px 20px 23px}
 .rewards-odyssey .odyssey-chapters,.rewards-odyssey .odyssey-grid{grid-template-columns:1fr}
 .rewards-odyssey .odyssey-grid.trophies{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rewards-odyssey .odyssey-passport{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rewards-odyssey .odyssey-daily{flex-direction:column;align-items:stretch;padding:20px}
 .rewards-odyssey .odyssey-daily-actions{justify-items:stretch}
 .rewards-odyssey .odyssey-shield{align-items:flex-start;flex-wrap:wrap}
 .rewards-odyssey .odyssey-share{padding:26px;min-height:280px}
}
@media(prefers-reduced-motion:reduce){
 .rewards-odyssey .odyssey-heart,.rewards-odyssey .odyssey-ring{animation:none!important}
 .rewards-odyssey .odyssey-button{transition:none!important;transform:none!important}
}

/* M5: one choreographed level-up reveal; the existing modal remains the sole focus. */
.rewards-celebration{position:relative;isolation:isolate;animation:odyssey-celebrate-enter .65s cubic-bezier(.16,1,.3,1) both}
.rewards-celebration::before{content:"✦  ✧  ✦";position:absolute;inset:8px 10px auto;
 text-align:center;letter-spacing:1.8em;font-size:18px;color:#ffb6d9;pointer-events:none;
 animation:odyssey-celebrate-stars 1.3s ease-out both}
.rewards-celebration .rewards-core-orbit--preview{animation:odyssey-celebrate-heart 1.15s cubic-bezier(.16,1,.3,1) both}
html[data-theme="light"] .rewards-celebration{background:radial-gradient(circle at 50% 35%,rgba(240,68,145,.11),transparent 48%),#fff8fd;
 border-color:rgba(139,53,105,.22);box-shadow:0 24px 100px rgba(49,18,49,.22)}
html[data-theme="light"] .rewards-celebration h2{color:#25192a}
html[data-theme="light"] .rewards-celebration p{color:#67536c}
html[data-theme="light"] .rewards-celebration-close{color:#4e2143}
@keyframes odyssey-celebrate-enter{from{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:none}}
@keyframes odyssey-celebrate-stars{from{opacity:0;transform:scale(.8) translateY(12px)}45%{opacity:1}to{opacity:.65;transform:scale(1) translateY(0)}}
@keyframes odyssey-celebrate-heart{from{opacity:.4;scale:.68;filter:blur(5px)}65%{opacity:1;scale:1.08;filter:none}to{scale:1;filter:none}}
@media(prefers-reduced-motion:reduce){
 .rewards-celebration,.rewards-celebration::before,.rewards-celebration .rewards-core-orbit--preview{animation:none!important}
}


/* Rebirth heart gallery: eleven unmistakable stages, one permanent silhouette.
   Each tier adds distinct material, geometry and an expanding cosmic signature. */
.rewards-odyssey .odyssey-companion{--evo-1:#ff87b9;--evo-2:#d84788;--evo-3:#ffc1e8}
.rewards-odyssey .odyssey-companion .odyssey-heart{
 color:var(--evo-1);
 background:linear-gradient(150deg,var(--evo-3),var(--evo-1) 45%,var(--evo-2));
 -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
 filter:drop-shadow(0 0 14px var(--od-glow))
}
.rewards-odyssey .odyssey-companion[data-stage="2"]{--evo-1:#ff91ab;--evo-2:#f05c86;--evo-3:#fff0c2}
.rewards-odyssey .odyssey-companion[data-stage="3"]{--evo-1:#a8a7ff;--evo-2:#6950d7;--evo-3:#e9cbff}
.rewards-odyssey .odyssey-companion[data-stage="4"]{--evo-1:#6ad9fa;--evo-2:#3275bf;--evo-3:#d1ffff}
.rewards-odyssey .odyssey-companion[data-stage="5"]{--evo-1:#ffe09c;--evo-2:#d18049;--evo-3:#fff6dc}
.rewards-odyssey .odyssey-companion[data-stage="6"]{--evo-1:#70ead9;--evo-2:#278b99;--evo-3:#d0fff6}
.rewards-odyssey .odyssey-companion[data-stage="7"]{--evo-1:#ff91d3;--evo-2:#982eac;--evo-3:#fce0ff}
.rewards-odyssey .odyssey-companion[data-stage="8"]{--evo-1:#8af5e0;--evo-2:#5064b8;--evo-3:#ffffff}
.rewards-odyssey .odyssey-companion[data-stage="9"]{--evo-1:#eac6ff;--evo-2:#9952e4;--evo-3:#ffdca6}
.rewards-odyssey .odyssey-companion[data-stage="10"]{--evo-1:#fbdeb1;--evo-2:#e06f9f;--evo-3:#ffffff}
.rewards-odyssey .odyssey-companion[data-stage="11"]{--evo-1:#fff7c4;--evo-2:#edb54f;--evo-3:#ffffff}
.rewards-odyssey .odyssey-companion .odyssey-corona{
 position:absolute;inset:7%;border:2px dotted var(--evo-1);
 border-radius:50%;opacity:0;transform:scale(.96);
 pointer-events:none
}
.rewards-odyssey .odyssey-companion .odyssey-gem{
 position:absolute;top:8%;height:18%;width:22%;
 border:2px solid var(--evo-1);clip-path:polygon(50% 0%,90% 28%,75% 100%,25% 100%,10% 28%);
 opacity:0;pointer-events:none;filter:drop-shadow(0 0 13px var(--evo-2))
}
.rewards-odyssey .odyssey-companion[data-stage="3"] .odyssey-wing,
.rewards-odyssey .odyssey-companion[data-stage="4"] .odyssey-wing,
.rewards-odyssey .odyssey-companion[data-stage="5"] .odyssey-wing,
.rewards-odyssey .odyssey-companion[data-stage="6"] .odyssey-wing,
.rewards-odyssey .odyssey-companion[data-stage="7"] .odyssey-wing,
.rewards-odyssey .odyssey-companion[data-stage="8"] .odyssey-wing,
.rewards-odyssey .odyssey-companion[data-stage="9"] .odyssey-wing,
.rewards-odyssey .odyssey-companion[data-stage="10"] .odyssey-wing,
.rewards-odyssey .odyssey-companion[data-stage="11"] .odyssey-wing{opacity:.8;background:linear-gradient(135deg,transparent,var(--evo-1),transparent)}
.rewards-odyssey .odyssey-companion:is([data-stage="5"],[data-stage="6"],[data-stage="7"],[data-stage="8"],[data-stage="9"],[data-stage="10"],[data-stage="11"]) .odyssey-corona{opacity:.68}
.rewards-odyssey .odyssey-companion:is([data-stage="6"],[data-stage="7"],[data-stage="8"],[data-stage="9"],[data-stage="10"],[data-stage="11"]) .odyssey-gem{opacity:.85}
.rewards-odyssey .odyssey-companion:is([data-stage="7"],[data-stage="8"],[data-stage="9"],[data-stage="10"],[data-stage="11"]) .odyssey-ring{border-width:3px;border-color:var(--evo-1)}
.rewards-odyssey .odyssey-companion:is([data-stage="8"],[data-stage="9"],[data-stage="10"],[data-stage="11"]) .odyssey-corona{
 border-style:dashed;box-shadow:0 0 24px var(--od-glow),inset 0 0 15px var(--od-glow)
}
.rewards-odyssey .odyssey-companion:is([data-stage="9"],[data-stage="10"],[data-stage="11"])::after{
 content:"✦  ✧  ✦";font-size:27px;text-align:center;letter-spacing:.2em;
 color:var(--evo-1);border:0;opacity:1;width:165px;top:-2%
}
.rewards-odyssey .odyssey-companion[data-stage="10"] .odyssey-corona{
 outline:2px solid var(--evo-3);outline-offset:9px
}
.rewards-odyssey .odyssey-companion[data-stage="11"]{
 filter:drop-shadow(0 0 33px rgba(250,206,106,.5))
}
.rewards-odyssey .odyssey-companion[data-stage="11"] .odyssey-corona{
 border:4px double #ffe7a7;outline:2px solid #f7cd83;outline-offset:13px
}
/* Eternal Heart: one permanent, readable prestige seal riding inside every
   journey-specific Heart form. The numeral always means completed Rebirths. */
.rewards-odyssey .odyssey-companion[data-rebirth]{
 --eternal-metal:#eecf8b;--eternal-shine:#fff9d9;
 filter:drop-shadow(0 0 25px rgba(241,199,115,.38));
}
.rewards-odyssey .odyssey-companion[data-rebirth] .odyssey-heart{
 filter:drop-shadow(0 0 17px rgba(255,216,143,.62));
}
.rewards-odyssey .odyssey-companion[data-rebirth] .odyssey-ring{
 border-color:var(--eternal-metal);
 box-shadow:0 0 16px rgba(250,206,123,.32),inset 0 0 8px rgba(255,228,166,.3);
}
.rewards-odyssey .odyssey-eternal-halo{
 position:absolute;inset:8%;z-index:1;pointer-events:none;border-radius:50%;
 border:2px double var(--eternal-metal);
 background:conic-gradient(from 0deg,transparent 0 12%,rgba(255,231,162,.25) 14%,transparent 16% 48%,rgba(255,231,162,.28) 50%,transparent 52% 82%,rgba(255,231,162,.2) 84%,transparent 86%);
 box-shadow:0 0 34px rgba(246,195,107,.18),inset 0 0 24px rgba(246,195,107,.10);
 animation:eternal-halo-turn 28s linear infinite;
}
.rewards-odyssey .odyssey-eternal-sigil{
 position:absolute;left:50%;top:54%;translate:-50% -50%;z-index:5;
 display:grid;place-items:center;width:25%;aspect-ratio:1;min-width:36px;
 border:2px solid rgba(255,249,215,.86);border-radius:40%;
 background:radial-gradient(circle at 35% 22%,#fffce6,#fff0b8 21%,#ac6e3e 65%,#6b3140 100%);
 box-shadow:0 0 0 4px rgba(91,44,63,.47),0 0 19px rgba(255,210,128,.77),inset 0 0 12px rgba(255,255,255,.38);
}
.rewards-odyssey .odyssey-eternal-number{
 font:900 clamp(16px,3.2vw,36px)/1 system-ui,sans-serif;
 color:#3d2232;font-variant-numeric:tabular-nums;letter-spacing:-.05em;
 text-shadow:0 1px 0 rgba(255,255,255,.7);
}
.rewards-odyssey .odyssey-eternal-arc{
 position:absolute;z-index:4;inset:3%;border-radius:50%;pointer-events:none;
 border:2px dotted var(--eternal-metal);opacity:.8;
 box-shadow:inset 0 0 13px rgba(255,224,161,.16);
 animation:eternal-halo-turn 36s linear infinite reverse;
}
.rewards-odyssey .odyssey-companion[data-eternal-tier="2"]{--eternal-metal:#ead3fc;--eternal-shine:#fff3fb}
.rewards-odyssey .odyssey-companion[data-eternal-tier="3"]{--eternal-metal:#a1f6ef;--eternal-shine:#e9ffff}
.rewards-odyssey .odyssey-companion[data-eternal-tier="4"]{--eternal-metal:#ffdc9b;--eternal-shine:#fff8d9}
.rewards-odyssey .odyssey-companion[data-eternal-tier="5"]{--eternal-metal:#ffffff;--eternal-shine:#fff8df}
.rewards-odyssey .odyssey-companion[data-eternal-tier="5"] .odyssey-eternal-halo{
 box-shadow:0 0 40px rgba(255,231,180,.42),inset 0 0 20px rgba(255,231,180,.25);
}
.rewards-odyssey .odyssey-evolution-tile .odyssey-eternal-number{font-size:17px}
.rewards-odyssey .identity-rebirth-reward{
 display:grid;gap:6px;padding:13px 16px;border-radius:14px;
 border:1px solid color-mix(in srgb,var(--od-pink) 38%,var(--od-border));
 background:color-mix(in srgb,var(--od-pink) 8%,var(--od-surface));
}
.rewards-odyssey .identity-rebirth-reward strong{font-size:15px;color:var(--od-ink)}
.rewards-odyssey .identity-rebirth-reward small{font-size:12px;line-height:1.5;color:var(--od-muted)}
.rewards-odyssey .identity-rebirth-caption{color:var(--od-muted);font-size:12px}
@keyframes eternal-halo-turn{to{rotate:360deg}}
@media(prefers-reduced-motion:reduce){
 .rewards-odyssey .odyssey-eternal-halo,
 .rewards-odyssey .odyssey-eternal-arc{animation:none!important}
}
html[data-theme="light"] .rewards-odyssey .odyssey-eternal-sigil{
 box-shadow:0 0 0 4px rgba(255,255,255,.45),0 0 12px rgba(170,105,40,.42),inset 0 0 8px rgba(255,255,255,.5)
}
.rewards-odyssey .odyssey-evolution-row{
 display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px
}
.rewards-odyssey .odyssey-evolution-tile{
 min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px;
 padding:12px 5px;background:var(--od-surface);border:1px solid var(--od-border);
 border-radius:15px;text-align:center;color:var(--od-ink)
}
.rewards-odyssey .odyssey-evolution-tile.active{
 border-color:var(--od-pink);background:var(--od-active)
}
.rewards-odyssey .odyssey-evolution-tile .odyssey-companion{width:88px;max-width:100%}
.rewards-odyssey .odyssey-evolution-tile .odyssey-heart{font-size:44px}
.rewards-odyssey .odyssey-evolution-tile .odyssey-wing{width:14px;height:31px}
.rewards-odyssey .odyssey-evolution-tile .odyssey-gem{border-width:1px}
.rewards-odyssey .odyssey-evolution-tile .odyssey-ring{border-width:1px}
.rewards-odyssey .odyssey-evolution-tile .odyssey-companion::after{font-size:11px;width:70px}
.rewards-odyssey .odyssey-evolution-tile strong{font-size:12px}
.rewards-odyssey .odyssey-evolution-tile small{font-size:11px;color:var(--od-muted)}
@media(max-width:860px){.rewards-odyssey .odyssey-evolution-row{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:520px){.rewards-odyssey .odyssey-evolution-row{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* Creator identity is a genuine Rewards destination, not an account-switch modal. */
.rewards-odyssey.identity-page{display:grid;gap:18px;min-width:0}
.rewards-odyssey.identity-page[hidden]{display:none}
.rewards-odyssey .identity-banner{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,330px);
 align-items:center;min-height:280px;overflow:hidden;isolation:isolate;
 border-radius:24px;border:1px solid var(--od-border);padding:26px clamp(20px,4vw,50px);
 background:radial-gradient(circle at 75% 45%,var(--od-glow),transparent 42%),var(--od-bg)
}
.rewards-odyssey .identity-intro{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0}
.rewards-odyssey .identity-eyebrow{font-size:11px;letter-spacing:.15em;font-weight:850;color:var(--od-pink)}
.rewards-odyssey .identity-name{font-size:clamp(35px,5vw,63px);letter-spacing:-.055em;line-height:1.07;margin:0;overflow-wrap:anywhere;color:var(--od-ink)}
.rewards-odyssey .identity-rank{font-weight:600;color:var(--od-muted);font-size:15px;margin:0}
.rewards-odyssey .identity-legacy-badge{padding:9px 15px;border-radius:99px;border:1px solid var(--od-pink);
 background:var(--od-active);color:var(--od-ink);font-size:12px;font-weight:850}
.rewards-odyssey .identity-eternal-label{
 display:inline-flex;align-items:center;gap:7px;color:var(--od-ink);
 padding:6px 12px;font-weight:800;font-size:12px;letter-spacing:.04em;
 border:1px solid #d9b575;border-radius:999px;
 background:linear-gradient(110deg,rgba(230,177,109,.15),rgba(175,107,203,.13));
 box-shadow:inset 0 0 12px rgba(249,214,152,.1);
}
.rewards-odyssey .identity-banner .odyssey-companion{width:min(100%,260px)}
.rewards-odyssey .identity-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.rewards-odyssey .identity-stat{background:var(--od-surface);border:1px solid var(--od-border);padding:17px 13px;border-radius:15px;min-width:0}
.rewards-odyssey .identity-stat span{display:block;color:var(--od-muted);font-size:12px;line-height:1.35}
.rewards-odyssey .identity-stat strong{display:block;font-size:clamp(22px,3vw,35px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.2;margin-top:9px;color:var(--od-ink)}
.rewards-odyssey .identity-journey,.rewards-odyssey .identity-history,.rewards-odyssey .identity-rebirth,.rewards-odyssey .identity-trophies{
 display:grid;gap:15px;border:1px solid var(--od-border);padding:25px;border-radius:20px;background:var(--od-surface)
}
.rewards-odyssey .identity-section-title{display:grid;gap:6px}
.rewards-odyssey .identity-section-title h2{font-size:clamp(19px,2vw,25px);margin:0;letter-spacing:-.03em;color:var(--od-ink)}
.rewards-odyssey .identity-section-title p{color:var(--od-muted);margin:0;font-size:13px;line-height:1.65;max-width:690px}
.rewards-odyssey .identity-meter{height:10px;border:1px solid var(--od-border);border-radius:99px;background:var(--od-raised);overflow:hidden}
.rewards-odyssey .identity-meter-fill{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--od-pink),var(--od-violet))}
.rewards-odyssey .identity-progress-caption,.rewards-odyssey .identity-rebirth-status{margin:0;color:var(--od-muted);font-size:13px}
.rewards-odyssey .identity-medals,.rewards-odyssey .identity-achievement-grid{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.rewards-odyssey .identity-medal,.rewards-odyssey .identity-achievement{
 display:inline-flex;gap:9px;align-items:center;padding:12px 15px;border-radius:12px;
 background:var(--od-active);border:1px solid var(--od-border);color:var(--od-ink);font-weight:750;font-size:12px
}
.rewards-odyssey .identity-achievement span{font-size:20px;color:var(--od-violet)}
.rewards-odyssey .identity-rebirth-date{color:var(--od-muted)}
.rewards-odyssey .identity-action{min-height:43px;padding:11px 18px;border-radius:12px;
 color:var(--od-ink);background:var(--od-active);border:1px solid var(--od-pink);
 font-weight:750;font-family:inherit;cursor:pointer;justify-self:start}
.rewards-odyssey .identity-action:hover:not(:disabled){box-shadow:0 0 20px var(--od-glow)}
.rewards-odyssey .identity-action:focus-visible{outline:3px solid var(--od-pink);outline-offset:3px}
.rewards-odyssey .identity-action:disabled{opacity:.45;cursor:not-allowed}
.rewards-odyssey .identity-confirm{
 position:fixed;inset:0;margin:auto;width:min(94vw,510px);max-height:85vh;
 border-radius:25px;padding:0;border:1px solid var(--od-pink);
 color:var(--od-ink);background:var(--od-bg);box-shadow:0 35px 140px rgba(0,0,0,.6)
}
.rewards-odyssey .identity-confirm::backdrop{background:rgba(10,6,16,.82);backdrop-filter:blur(9px)}
.rewards-odyssey .identity-confirm-inner{display:grid;gap:18px;padding:32px}
.rewards-odyssey .identity-confirm-inner h2{margin:0;font-size:clamp(25px,4vw,35px);line-height:1.12}
.rewards-odyssey .identity-confirm-inner p{margin:0;color:var(--od-muted);line-height:1.65}
.rewards-odyssey .identity-confirm-star{font-size:38px;color:var(--od-pink)}
.rewards-odyssey .identity-confirm-actions{display:flex;gap:10px;flex-wrap:wrap}
.rewards-odyssey .identity-footer{display:flex;justify-content:flex-start}
@media(max-width:930px){.rewards-odyssey .identity-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){
 .rewards-odyssey .identity-banner{grid-template-columns:1fr;padding:21px;gap:2px}
 .rewards-odyssey .identity-banner .odyssey-companion{width:175px;order:-1}
 .rewards-odyssey .identity-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rewards-odyssey .identity-journey,.rewards-odyssey .identity-history,.rewards-odyssey .identity-rebirth,.rewards-odyssey .identity-trophies{padding:18px}
 .rewards-odyssey .identity-confirm-inner{padding:22px}
}
