/* Homepage-only reward component. Existing artwork, finite CSS animation;
   no video/GIF payload, canvas loop, editor styles or global palette override. */
html body .ph8690-daily {
 --daily-gold:#926321; --daily-line:#d7bd83; --daily-glow:#be9840; --daily-ink:var(--ph8570-text);
 display:grid; grid-template-columns:minmax(0,1.2fr) minmax(210px,.85fr) minmax(200px,.75fr);
 align-items:center; gap:24px; position:relative; isolation:isolate; margin:20px 0;
 padding:26px 30px; border:1px solid var(--daily-line); border-radius:18px;
 background:radial-gradient(ellipse at 60% 20%,#e4c5711c,transparent 65%),linear-gradient(115deg,var(--ph8570-bg),#fcf8ed);
 color:var(--daily-ink); box-shadow:0 5px 18px #936c1910; overflow:hidden;
}
html.theme--dark body .ph8690-daily { --daily-gold:#edcf92; --daily-line:#75623e; --daily-glow:#d7b363; background:radial-gradient(ellipse at 60% 20%,#d2ab4717,transparent 65%),linear-gradient(115deg,var(--ph8670-surface,#1a202a),var(--ph8670-soft,#222b36)); box-shadow:0 6px 24px #0002; }
html body .ph8690-daily::before { content:""; position:absolute; inset:5px; border:1px solid color-mix(in srgb,var(--daily-line) 35%,transparent); border-radius:13px; pointer-events:none; z-index:-1; }
html body .ph8690-daily :is(h2,h3,p,form) { margin:0; }
html body .ph8690-daily-copy { min-width:0; }
html body .ph8690-eyebrow { display:flex; align-items:center; gap:7px; color:var(--daily-gold); font-size:9px; font-weight:700; letter-spacing:.07em; line-height:1.7; }
html body .ph8690-eyebrow svg { width:14px; height:14px; flex:none; }
html body .ph8690-daily h2 { margin:8px 0!important; color:var(--daily-ink)!important; font-size:21px; line-height:1.5; }
html.theme--dark body .ph8690-daily h2 { color:var(--daily-gold)!important; }
html body .ph8690-daily-copy p { color:var(--ph8570-muted); font-size:11px; line-height:1.8; }
html body .ph8690-daily-copy>small { display:block; margin-top:10px; color:var(--ph8570-muted); font-size:9px; line-height:1.8; }
html body .ph8690-reward { display:flex; align-items:center; justify-content:center; gap:18px; min-width:0; }
html body .ph8690-reward-art { position:relative; display:grid; place-items:center; width:86px; height:86px; flex:none; border:1px solid #9d7ac3; border-radius:15px; background:radial-gradient(circle,#9473c41d,transparent 75%); box-shadow:inset 0 0 0 3px #a07cc40b,0 0 20px #a07cc418; }
html body .ph8690-reward-art>img { width:76px; height:76px; object-fit:contain; position:relative; z-index:1; animation:ph8690-float 4.8s ease-in-out 3; }
html body .ph8690-reward-art>b { position:absolute; right:-7px; bottom:-7px; z-index:2; min-width:30px; padding:4px 7px; border:1px solid var(--daily-line); border-radius:8px; background:var(--ph8570-bg); color:var(--daily-gold); font-size:13px; font-variant-numeric:tabular-nums; line-height:1.3; }
html body .ph8690-orbit { position:absolute; inset:8px; border:1px dashed color-mix(in srgb,var(--daily-glow) 40%,transparent); border-radius:50%; animation:ph8690-orbit 10s linear 2; pointer-events:none; }
html body .ph8690-rarity { color:#75519b; font-size:8px; font-weight:700; letter-spacing:.06em; line-height:1.7; }
html.theme--dark body .ph8690-rarity { color:#c7a7eb; }
html body .ph8690-reward h3 { margin:6px 0!important; font-size:14px; line-height:1.6; color:var(--daily-ink)!important; }
html body .ph8690-reward small { display:block; font-size:10px; line-height:1.7; color:var(--ph8570-muted); }
html body .ph8690-daily-action { min-width:0; text-align:center; }
html body .ph8690-daily .ph8690-claim { position:relative; display:inline-flex!important; align-items:center!important; justify-content:center!important; gap:9px!important; width:100%; box-sizing:border-box; min-height:44px!important; padding:11px 14px!important; border:1px solid #9b6a28; border-radius:10px!important; background:linear-gradient(135deg,#fff0bb,#e4bc66); color:#4b3213; font:inherit; font-size:12px!important; font-weight:700!important; line-height:1.6!important; white-space:normal!important; text-decoration:none; cursor:pointer; box-shadow:inset 0 1px #fff8,0 4px 10px #9b6a2820; transition:transform .18s ease,box-shadow .18s ease; }
html body .ph8690-claim svg { width:18px; height:18px; flex:none; }
html body .ph8690-claim .ph8690-mark-done { display:none; }
html body .ph8690-daily[data-ph8690-state=claimed] .ph8690-mark-done { display:block; }
html body .ph8690-daily[data-ph8690-state=claimed] .ph8690-mark-open { display:none; }
html body .ph8690-claim:focus-visible { outline:2px solid var(--ph8570-blue); outline-offset:4px; }
html body .ph8690-daily .ph8690-claim:disabled { cursor:default; opacity:1!important; box-shadow:none; }
html body .ph8690-daily[data-ph8690-state=claimed] .ph8690-claim { border-color:#8ebaa7; background:#eef7f1; color:#226447; }
html.theme--dark body .ph8690-daily[data-ph8690-state=claimed] .ph8690-claim { border-color:#487660; background:#243b30; color:#b1e2c7; }
html body .ph8690-daily[aria-busy=true] .ph8690-claim svg { animation:ph8690-orbit 1.2s linear infinite; }
html body .ph8690-result { margin:9px 0 0!important; min-height:1.8em; font-size:9px; line-height:1.8; color:var(--ph8570-muted); overflow-wrap:anywhere; }
html body .ph8690-daily.is-error .ph8690-result { color:var(--ph8670-danger,#a93d4d); }
html body .ph8690-inventory-link { display:inline-flex; align-items:center; gap:5px; margin-top:7px; color:var(--ph8570-blue); font-size:10px; line-height:1.8; text-decoration:none; }
html body .ph8690-inventory-link svg { width:13px; height:13px; }
html body .ph8690-sparks { position:absolute; inset:0; pointer-events:none; }
html body .ph8690-sparks i { --angle:calc(var(--spark)*45deg); position:absolute; top:50%; left:50%; width:5px; height:5px; margin:-2px; border-radius:1px; background:var(--daily-glow); opacity:0; }
html body .ph8690-daily.is-celebrating .ph8690-sparks i { animation:ph8690-spark 1.5s ease-out 1; }
html body .ph8690-daily.is-celebrating .ph8690-reward-art { animation:ph8690-reveal 1.5s ease-out 1; }
@keyframes ph8690-float { 0%,100%{transform:translateY(0) rotate(-3deg)} 50%{transform:translateY(-5px) rotate(3deg)} }
@keyframes ph8690-orbit { to{transform:rotate(360deg)} }
@keyframes ph8690-spark { 0%{opacity:0;transform:rotate(var(--angle)) translateX(20px) rotate(45deg)} 20%{opacity:1} 100%{opacity:0;transform:rotate(var(--angle)) translateX(100px) rotate(150deg)} }
@keyframes ph8690-reveal { 0%,100%{box-shadow:0 0 20px #a07cc418} 35%{box-shadow:0 0 0 8px #dabb7020,0 0 60px #cba65370} }
@media(hover:hover) and (pointer:fine) { html body .ph8690-claim:not(:disabled):hover { transform:translateY(-2px); box-shadow:inset 0 1px #fff8,0 6px 18px #9b6a2835; } }
@media(max-width:980px) { html body .ph8690-daily { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:22px; padding:24px; } html body .ph8690-daily-copy { grid-column:1 / -1; } html body .ph8690-reward { justify-content:flex-start; } }
@media(max-width:540px) { html body .ph8690-daily { grid-template-columns:minmax(0,1fr); gap:22px; padding:22px; } html body .ph8690-daily h2 { font-size:20px; } html body .ph8690-reward { justify-content:center; } html body .ph8690-daily-copy { text-align:center; } html body .ph8690-eyebrow { justify-content:center; } }
@media(prefers-reduced-motion:reduce) { html body .ph8690-daily *,html body .ph8690-daily *::before { animation:none!important; transition:none!important; } }
