/* Calendar-and-sunrise borders for earned daily challenge frames. */
.gp-frame-daily_first_light{--rim:#c99e65;--glow:#fae8c3;--accent:#e6a85f;--ink:#a86437;--emblem:'☀'}
.gp-frame-daily_morning_glow{--rim:#b97d42;--glow:#ffe2a4;--accent:#e3a14b;--ink:#925526;--emblem:'☀'}
.gp-frame-daily_golden_hour{--rim:#9f672e;--glow:#ffe4a0;--accent:#dda848;--ink:#8e5720;--emblem:'☼'}
.gp-frame-daily_new_horizon{--rim:#709c85;--glow:#d3e8cd;--accent:#d69a64;--ink:#4b7255;--emblem:'☀'}
.gp-frame-daily_daybreak{--rim:#527f72;--glow:#d2e2c9;--accent:#efa970;--ink:#406757;--emblem:'☼'}
.gp-frame-daily_world_sunrise{--rim:#416f65;--glow:#f9d99a;--accent:#dda85a;--ink:#365e4a;--emblem:'✺'}
/* Keep a sunrise glint on small portraits, where general frame emblems hide. */
.geo-frame.gp-avatar-sm:is(.gp-frame-daily_first_light,.gp-frame-daily_morning_glow,.gp-frame-daily_golden_hour,.gp-frame-daily_new_horizon,.gp-frame-daily_daybreak,.gp-frame-daily_world_sunrise){box-shadow:0 0 0 1px #fff,0 0 0 3px var(--rim),0 0 0 4px var(--glow)}
/* Base milestones use earthy green and diamond accents; percentile awards use
   the warmer sunrise-gold palette. The date tab sits outside the portrait. */
.gp-frame-daily_first_light{--rim:#628976;--glow:#d5e8c7;--accent:#83ad79;--ink:#396b51;--emblem:'◆'}
.gp-frame-daily_morning_glow{--rim:#42816b;--glow:#c7e4d0;--accent:#68ad88;--ink:#2b6850;--emblem:'◆'}
.gp-frame-daily_golden_hour{--rim:#256951;--glow:#b7dbc7;--accent:#d49b5c;--ink:#20583f;--emblem:'◇'}
.gp-frame-daily_new_horizon{--rim:#c79a61;--glow:#fae8c3;--accent:#e6a85f;--ink:#a86437;--emblem:'☀'}
.gp-frame-daily_daybreak{--rim:#b97d42;--glow:#ffe2a4;--accent:#e3a14b;--ink:#925526;--emblem:'☼'}
.gp-frame-daily_world_sunrise{--rim:#9f672e;--glow:#ffe4a0;--accent:#dda848;--ink:#8e5720;--emblem:'✺'}
.geo-frame[class*="gp-frame-daily_"]::before{content:'7'!important;display:block!important;position:absolute;inset:auto auto -9px 50%!important;transform:translateX(-50%);width:18px;height:17px;border:1px solid var(--rim);border-radius:4px;background:linear-gradient(to bottom,var(--rim) 0 4px,#fffdf5 4px 100%)!important;-webkit-mask:none!important;mask:none!important;opacity:1!important;z-index:4;color:var(--ink);font:800 9px/19px Arial,sans-serif;text-align:center;box-shadow:0 1px 3px #183a2d55;pointer-events:none}
.geo-frame.gp-avatar-sm[class*="gp-frame-daily_"]::before{width:12px;height:12px;bottom:-7px!important;font:800 7px/15px Arial,sans-serif;background:linear-gradient(to bottom,var(--rim) 0 3px,#fffdf5 3px 100%)!important}

/* Daily milestones grow in detail without covering the player's avatar.
   Base awards use field-green diamonds; percentile awards use sunrise gold. */
.geo-frame.gp-frame-daily_first_light{box-shadow:0 0 0 2px #fffdf7,0 0 0 4px #628976,0 0 0 6px #d5e8c7}
.geo-frame.gp-frame-daily_morning_glow{box-shadow:0 0 0 2px #fffdf7,0 0 0 4px #42816b,0 0 0 7px #c7e4d0,0 0 0 8px #68ad88}
.geo-frame.gp-frame-daily_golden_hour{box-shadow:0 0 0 2px #fffdf7,0 0 0 4px #256951,0 0 0 7px #b7dbc7,0 0 0 9px #d49b5c,0 0 0 11px #e9f3df,0 0 12px 5px #b7dbc7;outline:2px dotted #629f76!important;outline-offset:10px!important}
.geo-frame.gp-frame-daily_new_horizon{box-shadow:0 0 0 2px #fffdf7,0 0 0 4px #c79a61,0 0 0 6px #fae8c3}
.geo-frame.gp-frame-daily_daybreak{box-shadow:0 0 0 2px #fffdf7,0 0 0 4px #b97d42,0 0 0 7px #ffe2a4,0 0 0 8px #e3a14b}
.geo-frame.gp-frame-daily_world_sunrise{box-shadow:0 0 0 2px #fffdf7,0 0 0 4px #9f672e,0 0 0 7px #ffe4a0,0 0 0 9px #dda848,0 0 0 11px #fff2cf,0 0 14px 5px #ffe4a0;outline:2px dotted #dca64e!important;outline-offset:10px!important}
.geo-frame.gp-frame-daily_golden_hour::before,.geo-frame.gp-frame-daily_world_sunrise::before{border-width:2px;box-shadow:0 0 0 2px #fff7e7,0 2px 4px #183a2d55}
/* Compact portraits keep the same layered colors without crowding nearby text. */
.geo-frame.gp-avatar-sm[class*="gp-frame-daily_"]{outline:0!important;box-shadow:0 0 0 1px #fff,0 0 0 3px var(--rim),0 0 0 4px var(--glow)}
