/* One header, one overview panel and a vertical collection rail. */
.daily-platforms{display:grid;gap:10px;margin:18px 0}
.daily-platform{--channel:#477cb0;display:grid;grid-template-columns:42px minmax(0,1fr);gap:13px;align-items:center;min-height:78px;padding:14px 16px;border:1px solid #bfddeb;border-radius:22px;background:#f5fbff;text-decoration:none;color:#355f79;box-sizing:border-box;transition:background .15s,transform .15s}
.daily-platform:hover{background:#fff;transform:translateY(-1px)}
.daily-platform:focus-visible{outline:3px solid #68accc;outline-offset:3px}
.daily-platform-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:15px;background:var(--channel);color:#fff;font-size:23px;font-weight:800}
.daily-platform b{display:block;font-size:17px;line-height:1.5;overflow-wrap:anywhere}
.daily-platform small{display:block;margin-top:4px;font-size:13px;line-height:1.7;color:#68889c;overflow-wrap:anywhere}
.daily-youtube{--channel:#d65462}.daily-facebook{--channel:#5386c0}.daily-instagram{--channel:#b76caa}
.daily-hub-hero{width:min(100%,190px);margin:20px auto 16px}.daily-hub-hero svg{display:block;width:100%;height:auto}
#mapViewport .game-hud{display:grid;grid-template-columns:auto minmax(180px,236px) auto;align-items:center;justify-content:space-between;column-gap:14px;row-gap:6px}
#mapViewport .hud-actions{grid-column:3;justify-self:end}
#mapViewport .adventure-hud{position:static;grid-column:2;grid-row:1;transform:none;width:100%;max-width:236px;justify-self:center;min-width:0;height:32px;min-height:32px;padding:5px 9px;gap:6px;margin:0;border-radius:14px}
#mapViewport .adventure-hud>span{font-size:13px;line-height:18px}
#mapViewport .adventure-hud>div{grid-template-columns:minmax(0,1fr) auto}
#mapViewport .adventure-hud small{font-size:10px;line-height:14px}
#mapViewport .map-overview{top:calc(96px + env(safe-area-inset-top));left:calc(20px + env(safe-area-inset-left));width:196px;padding:8px;max-height:max(104px,calc(100% - 264px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));border-radius:19px;overflow:auto;transform:scale(.7);transform-origin:top left}
#mapViewport .overview-heading{margin:0 0 6px;gap:8px;min-height:32px}
#mapViewport .overview-heading b{font-size:13px;line-height:20px}
#mapViewport #overviewToggle{width:32px;height:32px;min-width:32px;min-height:32px}
#mapViewport .map-overview .map-tools{position:static;top:auto;right:auto;bottom:auto;display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;min-height:44px;margin:0;padding:0;gap:3px;border:0;border-radius:0;background:none;box-shadow:none}
#mapViewport .map-overview .map-tools button{width:44px;height:44px;min-height:44px;flex:0 0 44px;font-size:23px;margin:0}
#mapViewport .map-overview .map-tools #zoomLevel{min-width:30px;flex:1;font-size:11px;line-height:18px}
#mapViewport .map-overview #overviewMap{width:100%;height:208px;max-height:32vh;margin:8px 0 0;pointer-events:none;cursor:default}
#mapViewport .game-quick-actions{top:50%;bottom:auto;right:max(20px,env(safe-area-inset-right));display:flex;flex-direction:column;gap:6px;transform:translateY(-50%)}
#mapViewport .game-quick-actions>button{width:70px;min-width:70px;min-height:58px;padding:6px 4px;flex-direction:column;gap:2px;border-radius:17px}
#mapViewport .game-quick-actions>button>span{font-size:20px;line-height:22px}
#mapViewport .game-quick-actions b{font-size:12px;line-height:16px;display:block}
#mapViewport .game-quick-actions small{display:none}
#detailDialog .quick-start-steps{list-style:none;margin:18px 0;padding:0;display:grid;gap:10px}
#detailDialog .quick-start-steps li{display:flex;align-items:flex-start;gap:12px;padding:13px;border:1px solid #bedeee;border-radius:18px;background:#e3f3fc}
#detailDialog .quick-start-steps li>span{flex:0 0 28px;font-size:23px;line-height:30px;text-align:center;color:#5c94b6}
#detailDialog .quick-start-steps li>div{min-width:0}
#detailDialog .quick-start-steps b{font-size:16px;line-height:1.6;color:#3d6c87}
#detailDialog .quick-start-steps p{margin:5px 0 0;font-size:14px;line-height:1.8;color:#64869b}
@media(max-width:1050px){
  #mapViewport .game-hud{grid-template-columns:auto minmax(0,1fr) auto}
  #mapViewport .game-brand{grid-column:1;grid-row:1;justify-self:start}
  #mapViewport .hud-actions{grid-column:3;grid-row:1}
  #mapViewport .game-weather{display:none}
  #mapViewport .adventure-hud{grid-column:2;grid-row:1}
  #mapViewport .map-overview{top:calc(96px + env(safe-area-inset-top))}
}
@media(max-width:650px){
  #mapViewport .game-hud{top:calc(10px + env(safe-area-inset-top));left:calc(12px + env(safe-area-inset-left));right:calc(12px + env(safe-area-inset-right));column-gap:6px;row-gap:0}
  #mapViewport .game-brand{height:40px;min-height:40px;padding:5px 8px;gap:5px}
  #mapViewport .game-brand .brand-creature{width:26px;height:26px}
  #mapViewport .game-brand>span:last-child{font-size:14px;line-height:20px;letter-spacing:0}
  #mapViewport .game-brand small,#mapViewport .game-account{display:none}
  #mapViewport .menu-button{height:40px;min-height:40px;padding:5px 8px;gap:5px}
  #mapViewport .menu-button b{font-size:12px;letter-spacing:0}
  #mapViewport .adventure-hud{height:40px;min-height:40px;padding:4px 6px;gap:4px}
  #mapViewport .adventure-hud>span{font-size:11px;max-width:38px}
  #mapViewport .adventure-hud>div{grid-template-columns:minmax(0,1fr);gap:3px}
  #mapViewport .adventure-hud small{font-size:9px;line-height:11px;text-align:center}
  #mapViewport .adventure-hud>strong{display:none}
  #mapViewport .map-overview{top:calc(64px + env(safe-area-inset-top));left:calc(12px + env(safe-area-inset-left));width:196px}
  #mapViewport .game-quick-actions{right:max(12px,env(safe-area-inset-right))}
  #mapViewport .game-quick-actions>button{width:58px;min-width:58px;min-height:52px;padding:4px;gap:2px}
  #mapViewport .game-quick-actions>button>span{font-size:18px;line-height:20px}
  #mapViewport .game-quick-actions b{font-size:12px;line-height:16px}
  #mapViewport .walking-toast{bottom:170px}
}
@media(max-height:600px) and (min-width:600px){
  #mapViewport .game-hud{top:calc(8px + env(safe-area-inset-top));grid-template-columns:auto minmax(120px,192px) auto;column-gap:10px}
  #mapViewport .hud-actions{grid-column:3;grid-row:1}
  #mapViewport .adventure-hud{grid-column:2;grid-row:1;height:28px;min-height:28px;padding:3px 8px}
  #mapViewport .map-overview{top:calc(64px + env(safe-area-inset-top));left:calc(12px + env(safe-area-inset-left));max-height:max(104px,calc(100% - 214px - env(safe-area-inset-top) - env(safe-area-inset-bottom)))}
  #mapViewport .map-overview #overviewMap{max-height:120px}
  #mapViewport .game-quick-actions{top:calc(64px + env(safe-area-inset-top));bottom:auto;right:max(12px,env(safe-area-inset-right));gap:4px;transform:none}
  #mapViewport .game-quick-actions>button{width:58px;min-width:58px;min-height:44px;padding:2px;gap:1px}
  #mapViewport .game-quick-actions>button>span{font-size:16px;line-height:18px}
  #mapViewport .game-quick-actions b{font-size:11px;line-height:14px;display:block}
}
@media(max-height:360px){
  #mapViewport .collect-controls{width:116px;bottom:max(12px,env(safe-area-inset-bottom))}
  #mapViewport .collect-controls p{display:none}
  #mapViewport .collect-button{width:72px;height:72px;padding:5px;gap:1px}
  #mapViewport .collect-button>span{font-size:18px;line-height:18px}
  #mapViewport .collect-button>b{font-size:15px;line-height:19px}
  #mapViewport .collect-button>small{font-size:10px;line-height:12px}
  #mapViewport .joystick{width:84px;height:84px}
  #mapViewport .joystick-caption{display:none}
}
@media(max-height:360px) and (max-width:599px){
  #mapViewport .game-quick-actions{top:94px;bottom:auto;transform:none;gap:4px}
  #mapViewport .game-quick-actions>button{min-height:44px;padding:2px}
  #mapViewport .game-quick-actions>button>span{font-size:16px;line-height:18px}
  #mapViewport .game-quick-actions b{font-size:11px;line-height:14px}
  #mapViewport .collect-controls{right:calc(50% - 58px)}
}

/* The creator biography uses selectable, naturally wrapping story cards. */
#detailDialog .yara-profile-hero{display:flex;align-items:center;gap:18px;padding:17px;border:1px solid #b4d9ed;border-radius:22px;background:#dfedff}
#detailDialog .yara-profile-portrait{display:block;flex:0 0 78px;width:78px;height:88px}
#detailDialog .yara-profile-portrait svg{display:block;width:100%;height:100%}
#detailDialog .yara-profile-hero>div{min-width:0}
#detailDialog .yara-profile-hero .dialog-eyebrow{font-size:10px;line-height:1.6;letter-spacing:1.2px;margin:0 0 6px}
#detailDialog .yara-profile-hero h2{font-size:25px;line-height:1.5;margin:0}
#detailDialog .yara-profile-hero p:last-child{font-size:14px;line-height:1.8;margin:5px 0 0;color:#64869b}
#detailDialog .yara-profile-quote{margin:20px 0;padding:16px 18px;border-left:4px solid #6da5cd;border-radius:16px;background:#e4f2ff;color:#426c8a;font-size:18px;font-weight:700;line-height:1.8;overflow-wrap:anywhere}
#detailDialog .yara-profile-stories{display:grid;gap:13px;margin:20px 0}
#detailDialog .yara-profile-story{min-width:0;padding:17px;border:1px solid #bedeee;border-radius:19px;background:#f7fcff}
#detailDialog .yara-profile-story h3{display:flex;align-items:baseline;gap:10px;font-size:18px;line-height:1.7;margin:0 0 8px;color:#426c87}
#detailDialog .yara-profile-story h3>span{flex:0 0 23px;color:#699ec2;font-size:22px;line-height:1.3;text-align:center}
#detailDialog .yara-profile-story p{font-size:15px;line-height:1.95;margin:0;color:#56798e;overflow-wrap:anywhere}
@media(max-width:400px){
  #detailDialog .yara-profile-hero{gap:12px;padding:13px}
  #detailDialog .yara-profile-portrait{width:60px;flex-basis:60px;height:74px}
  #detailDialog .yara-profile-hero h2{font-size:23px}
  #detailDialog .yara-profile-hero .dialog-eyebrow{font-size:9px;letter-spacing:.6px}
  #detailDialog .yara-profile-story{padding:14px}
}

.december-agenda{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:8px}
.december-agenda li{display:grid;grid-template-columns:minmax(104px,34%) 1fr;gap:10px;align-items:baseline;padding:10px 12px;border:1px solid #bcdbe9;border-radius:14px;background:#eef9ff;color:#355e75;font-size:15px;line-height:1.5}
.december-agenda b{font-size:13px;color:#467a99;overflow-wrap:anywhere}
@media(max-width:380px){.december-agenda li{grid-template-columns:1fr;gap:2px}}
