/* Egg opening and stored shells share a compact hub; daily goals live in notifications. */
.eggs-hub{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;max-width:1160px;margin-inline:auto}
.eggs-hub-main,.eggs-hub-support{min-width:0}
.eggs-hub-main{display:grid;gap:22px}
.eggs-hub-support{display:block}
.eggs-hub .egg-sanctuary.hatch-page{width:100%;max-width:none;margin:0;padding:20px 20px 0;text-align:start;border:1px solid #31506a;border-radius:20px;background:radial-gradient(ellipse at 20% 45%,#1d53714d,transparent 64%),linear-gradient(145deg,#132c42,#0d2033)}
.eggs-hub .hatch-page-heading{padding:0 0 15px;gap:12px;border-bottom:1px solid #a4d8f014}
.eggs-hub .hatch-page-heading h1{font-size:clamp(27px,3vw,35px);letter-spacing:-.04em}
.eggs-hub .hatch-page-heading .egg-status{padding:6px 11px;margin:0;border-color:#6ab9da38;background:#1d435a6b;font-size:14px;line-height:1.25;flex-shrink:0}
.eggs-hub .hatch-page-stage{padding:10px 0 0;border-radius:0}
.eggs-hub .hatch-page .hatch-cinematic-grid{gap:12px}
.eggs-hub .hatch-page .hatch-cinematic-grid .hatch-card-stage{aspect-ratio:auto;--hatch-copy-space:72px}
.eggs-hub .hatch-page .hatch-card-stage::after{content:'';display:block;aspect-ratio:1;margin-bottom:var(--hatch-copy-space)}
.eggs-hub .hatch-page .hatch-card-front>.art{flex:none;aspect-ratio:1;width:100%}
.eggs-hub .hatch-page .hatch-card-copy{flex:1}
.eggs-hub .hatch-page .hatch-cinematic-grid.is-single .hatch-card-stage{--hatch-copy-space:92px}
.eggs-hub .hatch-page .hatch-batch-summary{min-height:54px;padding:12px 0 10px;justify-content:center;gap:9px}
.eggs-hub .hatch-page .hatch-batch-summary.is-ready{min-height:70px}
.eggs-hub .hatch-batch-summary .hatch-result-actions{margin:0}
.eggs-hub .hatch-open-all{min-height:44px;padding:10px 22px}
.eggs-hub .hatch-page-footer{justify-content:flex-end;gap:5px 14px;border-top:1px solid #a4d8f014;padding:9px 0;margin:0;text-align:start}
.eggs-hub .hatch-page-footer .egg-time{margin:0;font-size:11px;line-height:1.6;flex:1 1 220px}
.eggs-hub .hatch-page-footer .text-button{font-size:11px;min-height:36px;padding:6px 0;flex-shrink:0}
.eggs-hub .hatch-empty{display:grid;grid-template-columns:170px minmax(0,1fr);gap:14px;min-height:195px;padding:16px 0 20px;align-items:center;text-align:start}
.eggs-hub .hatch-empty-art{width:170px;min-width:0}
.eggs-hub .hatch-empty-art .hatch-scene{--egg-size:175px;width:100%;height:165px}
.eggs-hub .hatch-empty-art .hatch-orbit,.eggs-hub .hatch-empty-art .hatch-platform{opacity:.6}
.eggs-hub .hatch-empty-copy{min-width:0}
.eggs-hub .hatch-empty-copy h2{font-size:clamp(19px,2.3vw,23px);line-height:1.35;letter-spacing:-.025em;color:#e8f4ff;text-wrap:balance}
.eggs-hub .hatch-empty-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}
.eggs-hub .hatch-empty-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 16px;font-size:12px}
.eggs-hub .hatch-empty-actions .btn svg{width:16px;height:16px}

.eggs-hub .stored-eggs{max-width:none;margin:0}
.eggs-hub .stored-eggs .section-title{margin:0 0 7px;gap:10px;align-items:center}
.eggs-hub .stored-eggs h2{font-size:17px;letter-spacing:-.025em}
.eggs-hub .stored-eggs>.section-title .text-button{min-height:36px;font-size:12px}
.eggs-hub .stored-eggs>p{font-size:11px;line-height:1.6;margin:0 0 13px;color:#9fb8ca}
.eggs-hub .stored-eggs-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.eggs-hub .stored-egg{--egg-accent:#edc580;display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;gap:10px;padding:15px 12px;border:1px solid color-mix(in srgb,var(--egg-accent) 32%,#233c52);border-radius:16px;background:radial-gradient(ellipse at 2% 50%,color-mix(in srgb,var(--egg-accent) 12%,transparent),transparent 75%),#11293d}
.eggs-hub .stored-egg[data-egg-kind=egg-unusual]{--egg-accent:#65c9ac}
.eggs-hub .stored-egg[data-egg-kind=egg-rare]{--egg-accent:#67bfff}
.eggs-hub .stored-egg[data-egg-kind=egg-epic]{--egg-accent:#c296ff}
.eggs-hub .stored-egg[data-egg-kind=egg-legendary]{--egg-accent:#f1bd62}
.eggs-hub .stored-egg>img{display:block;width:82px;height:95px;object-fit:contain;filter:drop-shadow(0 7px 8px #020c194d)}
.eggs-hub .stored-egg-copy{min-width:0}
.eggs-hub .stored-egg-copy>header{display:flex;align-items:flex-start;gap:7px;justify-content:space-between}
.eggs-hub .stored-egg h3{margin:0;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.eggs-hub .stored-egg b{font-size:12px;line-height:1.5;color:var(--egg-accent);flex-shrink:0;font-variant-numeric:tabular-nums}
.eggs-hub .stored-egg p{font-size:10px;line-height:1.55;margin:6px 0 9px;color:#a8c0d2}
.eggs-hub .stored-egg .btn{min-height:40px;padding:8px 14px;font-size:11px;gap:7px}
.eggs-hub .stored-egg .btn svg{width:13px;height:13px}

.eggs-hub .nursery-panel,.eggs-hub .daily-panel{width:100%;max-width:none;margin:0;padding:17px;border-radius:16px;background:#12273a;border:1px solid #2d485d}
.eggs-hub .nursery-panel{border-color:#3c70656b;background:linear-gradient(145deg,#153238,#12273a 80%)}
.eggs-hub .nursery-panel h2{display:flex;align-items:center;gap:8px;font-size:15px;letter-spacing:-.02em;margin:0}
.eggs-hub .nursery-panel h2 svg{width:18px;height:18px;color:#8edbc4}
.eggs-hub .nursery-panel>p{font-size:12px;line-height:1.65;color:#adc6d4;margin:11px 0}
.eggs-hub .nursery-panel>.text-button{font-size:12px;min-height:38px;padding:5px 0;color:#9de1cf}
.eggs-hub .nursery-status{display:grid;grid-template-columns:68px minmax(0,1fr);gap:8px;align-items:center;margin:9px 0}
.eggs-hub .nursery-egg-art{width:68px;min-width:0}
.eggs-hub .nursery-egg-art .hatch-scene{--egg-size:78px;width:68px;height:78px}
.eggs-hub .nursery-egg-art .hatch-orbit,.eggs-hub .nursery-egg-art .hatch-platform{display:none}
.eggs-hub .nursery-status p{font-size:11px;line-height:1.6;margin:0;color:#d4e8ed}
.eggs-hub .nursery-status [data-nursery-countdown]{color:#91d8c3;font-variant-numeric:tabular-nums;margin-top:3px}
.eggs-hub .nursery-panel>.btn{width:100%;min-height:42px;margin-top:3px;padding:10px 12px;font-size:12px}
.eggs-hub .egg-quests{padding:0;overflow:hidden}
.eggs-hub .egg-quests summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;padding:17px;min-height:58px}
.eggs-hub .egg-quests summary::-webkit-details-marker{display:none}
.eggs-hub .egg-quests summary:focus-visible{outline:2px solid var(--gold);outline-offset:-3px;border-radius:15px}
.eggs-hub .egg-quests h2{margin:0;flex:1;font-size:14px;line-height:1.4;letter-spacing:-.02em}
.eggs-hub .egg-quest-progress{display:inline-flex;align-items:center;gap:5px;color:#8edbc4;font-size:11px;font-weight:700;white-space:nowrap}
.eggs-hub .egg-quest-progress svg{width:14px;height:14px}
.eggs-hub .egg-quest-chevron{display:flex;color:#8caabf}
.eggs-hub .egg-quest-chevron svg{width:13px;height:13px;transform:rotate(90deg)}
.eggs-hub .egg-quests details[open] .egg-quest-chevron svg{transform:rotate(-90deg)}
.eggs-hub .egg-quest-list{padding:0 17px 5px}
.eggs-hub .daily-panel .quest{gap:8px;padding:12px 0;align-items:center;border-top:1px solid #d1eaff12}
.eggs-hub .daily-panel .quest>div{min-width:0;flex:1}
.eggs-hub .daily-panel .quest-check{width:21px;height:21px;font-size:10px}
.eggs-hub .daily-panel .quest b{font-size:11px;line-height:1.5}
.eggs-hub .daily-panel .quest small{display:block;font-size:10px;line-height:1.5;color:#96b2c6}
.eggs-hub .daily-panel .quest button{flex:0 0 auto;min-height:38px;max-width:96px;padding:7px 8px;font-size:10px;border-radius:8px;line-height:1.4;white-space:normal}
.eggs-hub .daily-panel .reward{font-size:10px;white-space:normal;max-width:83px;text-align:end;line-height:1.4}

@media(max-width:1000px){
 .eggs-hub{grid-template-columns:minmax(0,1fr);max-width:820px;gap:18px}
 .eggs-hub-support{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 .eggs-hub-support:has(>.egg-quests:only-child){grid-template-columns:minmax(0,1fr)}
 .eggs-hub .stored-egg{grid-template-columns:94px minmax(0,1fr);padding:16px}
 .eggs-hub .stored-egg>img{width:94px;height:105px}
}
@media(max-width:620px){
 .eggs-hub{gap:16px}
 .eggs-hub-main{gap:18px}
 .eggs-hub-support{grid-template-columns:minmax(0,1fr);gap:12px}
 .eggs-hub .egg-sanctuary.hatch-page{padding:16px 14px 0;border-radius:17px}
 .eggs-hub .hatch-page-heading{padding-bottom:13px}
 .eggs-hub .hatch-page-heading h1{font-size:27px}
 .eggs-hub .hatch-page-heading .egg-status{font-size:12px;padding:5px 9px}
 .eggs-hub .hatch-page-stage{padding-top:7px}
 .eggs-hub .hatch-empty{grid-template-columns:103px minmax(0,1fr);min-height:169px;gap:9px;padding:17px 0}
 .eggs-hub .hatch-empty-art{width:103px}
 .eggs-hub .hatch-empty-art .hatch-scene{--egg-size:125px;height:130px}
 .eggs-hub .hatch-empty-copy h2{font-size:17px;line-height:1.4;text-wrap:pretty}
 .eggs-hub .hatch-empty-actions{gap:6px;margin-top:12px}
 .eggs-hub .hatch-empty-actions .btn{min-height:40px;padding:8px 11px;font-size:11px;gap:5px}
 .eggs-hub .hatch-empty-actions .btn svg{width:13px;height:13px}
 .eggs-hub .hatch-page-footer{padding:8px 0;gap:0 10px}
 .eggs-hub .hatch-page-footer .egg-time{font-size:10px;flex-basis:145px}
 .eggs-hub .hatch-page-footer .text-button{font-size:10px}
 .eggs-hub .hatch-page .hatch-batch-summary{min-height:48px;padding:9px 0}
 .eggs-hub .hatch-page .hatch-cinematic-grid{gap:9px}
 .eggs-hub .hatch-page .hatch-cinematic-grid .hatch-card-stage{--hatch-copy-space:64px}
 .eggs-hub .hatch-page .hatch-card-stage{aspect-ratio:1.04/1}
 .eggs-hub .hatch-page .hatch-cinematic-grid.is-single{grid-template-columns:minmax(0,250px)}
 .eggs-hub .hatch-page .hatch-egg-touch>.hatch-scene,.eggs-hub .hatch-page .hatch-card-egg .hatch-scene{--egg-size:145px}
 .eggs-hub .hatch-page .is-single .hatch-egg-touch>.hatch-scene,.eggs-hub .hatch-page .is-single .hatch-card-egg .hatch-scene{--egg-size:245px}
 .eggs-hub .stored-eggs-grid{grid-template-columns:minmax(0,1fr)}
 .eggs-hub .stored-eggs h2{font-size:16px}
 .eggs-hub .stored-egg{grid-template-columns:83px minmax(0,1fr);padding:13px;gap:12px}
 .eggs-hub .stored-egg>img{width:83px;height:96px}
 .eggs-hub .stored-egg h3{font-size:14px}
 .eggs-hub .stored-egg p{font-size:11px}
 .eggs-hub .stored-egg .btn{font-size:12px;min-height:42px}
 .eggs-hub .nursery-panel,.eggs-hub .daily-panel{border-radius:15px}
}
@media(max-width:359px){
 .eggs-hub .egg-sanctuary.hatch-page{padding-inline:11px}
 .eggs-hub .hatch-empty{grid-template-columns:83px minmax(0,1fr);gap:8px;min-height:164px}
 .eggs-hub .hatch-empty-art{width:83px}
 .eggs-hub .hatch-empty-art .hatch-scene{--egg-size:105px;height:116px}
 .eggs-hub .hatch-empty-copy h2{font-size:16px}
 .eggs-hub .hatch-empty-actions .btn{padding:7px 9px;font-size:10px}
 .eggs-hub .hatch-page .hatch-egg-touch>.hatch-scene,.eggs-hub .hatch-page .hatch-card-egg .hatch-scene{--egg-size:122px}
 .eggs-hub .hatch-page .is-single .hatch-egg-touch>.hatch-scene,.eggs-hub .hatch-page .is-single .hatch-card-egg .hatch-scene{--egg-size:230px}
}
