#dailyJourney{padding:22px;border:1px solid #54685c;border-radius:22px;background:linear-gradient(135deg,#263d36f5,#10252ded);color:#ede3c7;box-shadow:0 12px 32px #0003}
#dailyJourney h2{font-family:Georgia,serif;font-size:clamp(24px,5vw,32px);margin:10px 0}#dailyJourney p{color:#b8c8c5;line-height:1.5;margin:8px 0 16px}#dailyJourney button{cursor:pointer;font:inherit}
.daily-primary{width:100%;min-height:48px;padding:12px 16px;border:0;border-radius:12px;background:#c5a776;color:#101c20;font-weight:700!important}
.daily-week{display:grid;gap:8px;padding:18px 0;color:#dce2d6}.daily-week small{color:#b8c8c5}
.daily-week progress,.character-card progress{width:100%;height:8px;appearance:none;border:0;border-radius:20px;overflow:hidden;background:#ffffff16}.daily-week progress::-webkit-progress-bar,.character-card progress::-webkit-progress-bar{background:#ffffff16}.daily-week progress::-webkit-progress-value,.character-card progress::-webkit-progress-value{background:#c5a776;border-radius:20px}.daily-week progress::-moz-progress-bar,.character-card progress::-moz-progress-bar{background:#c5a776}
.daily-reward{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:14px 0 0;border:0;border-top:1px solid #c5a77640;color:#e9dfbf;background:none}.daily-reward>span:nth-child(2){display:grid;gap:5px;flex:1}.daily-reward small{font-size:11px;color:#bac9c6}.daily-reward .achievement-medal{flex:0 0 36px;width:36px;height:42px}
#dailyXpToast{position:fixed;z-index:2000;left:50%;bottom:calc(100px + env(safe-area-inset-bottom));transform:translateX(-50%);width:max-content;max-width:85vw;padding:14px 20px;border:1px solid #cfba83;border-radius:14px;color:#f0e7cb;background:#1b342e;box-shadow:0 8px 24px #0006;animation:journey-arrive .22s ease-out}@keyframes journey-arrive{from{opacity:0;translate:0 7px}to{opacity:1;translate:0 0}}
.day-coverage,.storage-summary,.cook-checkpoint{padding:14px;border:1px solid #bca87655;border-radius:14px;background:#233d353f;margin:12px 0}.day-coverage p,.storage-summary p{font-size:13px;color:#b5c6c5;margin:6px 0 12px}.day-coverage button{min-height:44px}
.cook-steps{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 18px}.cook-steps span{padding:7px 10px;border:1px solid #bca87655;border-radius:20px;font-size:12px;color:#d9d3b8}
.nutrition-feature .jobrow{padding:16px;margin:12px 0;border-radius:16px;border:1px solid #b5ad8055;background:linear-gradient(120deg,#243c36,#132930)}.nutrition-feature .jobamount,.nutrition-feature .nutrition-grid{gap:12px}.nutrition-feature .jobfield{margin-bottom:10px}.nutrition-feature .jobstep{padding:12px;border-bottom:1px solid #bcc5ba22}.nutrition-feature .jobstep input{accent-color:#c5ad78;min-width:20px;min-height:20px}
.nutrition-feature .batch-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.nutrition-feature .batch-actions .btn{min-height:44px;margin:0}.nutrition-feature .diary-entry{border-radius:16px}.nutrition-feature .storage-summary strong{display:block;margin-bottom:8px}
.personal-dialog .personal-section-body label{min-width:0}.personal-dialog select{max-width:100%}.social-own-position{padding:14px 18px;border:1px solid #c5a776;border-radius:14px;background:#223c36;color:#e8e0c7}
@media(max-width:420px){.personal-grid{grid-template-columns:1fr!important}#dailyJourney{padding:18px}.nutrition-feature .jobamount{grid-template-columns:1fr 1fr}}@media(prefers-reduced-motion:reduce){#dailyXpToast{animation:none}}
.training-feature .settings-fields[hidden]{display:none!important}.training-feature .settings-exercises article{padding:14px;border:1px solid #8e9d7955;border-radius:16px;margin:10px 0;background:linear-gradient(130deg,#263c35,#152a30)}.training-feature .settings-exercises strong{font-size:15px}.training-feature .settings-exercises small{font-size:12px;line-height:1.5}.training-feature .plan-edit-button{min-height:44px;padding:10px 14px;border-radius:10px;border:1px solid #bca87670;background:#bca87615;color:#e4d6b4;margin:4px 0 10px}.training-feature .settings-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.training-feature .settings-fields label{font-size:12px}.training-feature .settings-fields input{font-size:16px;height:44px}.training-feature .delete-exercise-button{width:44px;height:44px}.recipe-image-surface[data-serving=drink]::before{background-image:none;background:radial-gradient(ellipse at 75% 40%,#b39d6955,transparent 60%),linear-gradient(125deg,#233d36,#0e232a)}
.nutrition-feature #batchList .diary-entry{display:block;padding:16px;border:1px solid #bca87644;margin:12px 0;background:#1d34354d}.nutrition-feature #batchList .batch-actions{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}.nutrition-feature #batchList .batch-actions .btn{min-width:0;white-space:normal;overflow-wrap:anywhere}
/* The start screen is a compact game menu; detail lives in the character card. */
body[data-screen=home] #home{height:100%;min-height:0;padding:0;overflow:visible}
body[data-screen=home] .landscape{flex:1 1 0;height:auto;min-height:230px}
body[data-screen=home] .hero-copy{bottom:16px}
body[data-screen=home] .hero-copy h1{font-size:clamp(34px,5.3svh,48px)}
body[data-screen=home] #personalHome{margin-bottom:10px}
body[data-screen=home] .home-content{display:flex;flex-direction:column;gap:8px;padding:0 24px 12px}
body[data-screen=home] #dailyJourney{padding:14px;border-radius:18px}
body[data-screen=home] #dailyJourney>.eyebrow{font-size:9px}
body[data-screen=home] #dailyJourney h2{font-size:22px;line-height:1.12;margin:7px 0 10px}
body[data-screen=home] #dailyJourney>p{display:none}
body[data-screen=home] .daily-primary{min-height:44px;padding:10px 12px;font-size:14px!important}
body[data-screen=home] .daily-week{gap:6px;padding:10px 0;font-size:12px}
body[data-screen=home] .daily-week>small{display:none}
body[data-screen=home] .daily-week progress{height:5px}
body[data-screen=home] .daily-reward{padding-top:8px;min-height:48px;gap:10px}
body[data-screen=home] .daily-reward strong{font-size:13px}
body[data-screen=home] .daily-reward small{font-size:9px}
body[data-screen=home] .daily-reward .achievement-medal{width:28px;height:34px;flex-basis:28px}
body[data-screen=home] .daily-reward>span:nth-child(2){gap:3px}
body[data-screen=home] .start-worlds{margin:0;padding:5px 0;min-height:44px}
body[data-screen=home] #worldNext{display:none}
body[data-screen=home] .start-worlds>span:first-child{display:flex;align-items:baseline;gap:10px}
body[data-screen=home] .start-destinations{margin:0;gap:8px}
body[data-screen=home] .start-destination{min-height:58px;padding:10px 12px}
body[data-screen=home] .start-destination small{display:none}
@media(max-height:740px){body[data-screen=home] .start-worlds{display:none}body[data-screen=home] .landscape{min-height:205px}body[data-screen=home] .hero-copy h1{font-size:36px}}
@media(max-height:620px){body[data-screen=home] .landscape{min-height:170px}body[data-screen=home] #home #personalHome{display:none}body[data-screen=home] .hero-copy h1{font-size:32px}body[data-screen=home] .home-content{padding:0 16px 8px}body[data-screen=home] #dailyJourney{padding:10px}body[data-screen=home] #dailyJourney h2{font-size:20px}body[data-screen=home] .daily-reward>span:nth-child(2)>small:last-child{display:none}}
@media(max-height:450px) and (min-width:600px){body[data-screen=home] #home{flex-direction:row;align-items:stretch;padding-top:115px}body[data-screen=home] .landscape{min-height:0;flex:1}body[data-screen=home] .hero-copy{bottom:24px}body[data-screen=home] .home-content{width:55%;align-self:center}body[data-screen=home] .start-destinations,body[data-screen=home] .daily-reward,body[data-screen=home] #dailyJourney>.eyebrow{display:none}}
/* A low, closed expedition card; the detail sheet opens upward over the scene. */
body[data-screen=home] #dailyJourney{padding:6px 14px;border-radius:18px}
#dailyToggle{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:74px;width:100%;padding:10px 0;border:0;background:none;color:#eee3c7;text-align:left}
#dailyToggle>span:first-child{display:grid;gap:6px;min-width:0}#dailyToggle small{font:9px system-ui;letter-spacing:.15em;color:#cdb98a}#dailyToggle strong{font:22px/1.15 Georgia,serif}.daily-toggle-mark{font:24px system-ui;color:#d8c18d}
#dailyJourney .daily-reward-compact{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;border:0;border-top:1px solid #c5a77635;padding:8px 0;color:#d5c49e;background:none;text-align:left;font:12px system-ui}
.daily-reward-compact>span:nth-child(2){flex:1;min-width:0}.daily-reward-compact small{white-space:nowrap;color:#b6c7c0;font-size:11px}
#dailyJourneyDetails{position:fixed;inset:auto 0 calc(82px + var(--dock-gesture-inset));margin:0 auto;width:min(520px,calc(100% - 28px));max-height:calc(var(--app-viewport-height,100dvh) - 110px - var(--app-safe-top) - var(--dock-gesture-inset));overflow:auto;box-sizing:border-box;padding:12px 22px 22px;border:1px solid #8c997366;border-radius:24px;background:linear-gradient(135deg,#263d36,#10252d);color:#ede3c7;box-shadow:0 -12px 60px #0007}
#dailyJourneyDetails::backdrop{background:#06151b80;backdrop-filter:blur(3px)}
#dailyJourneyDetails .daily-details-close{display:block;width:100%;height:36px;border:0;background:none;color:#d5bd8b;font-size:26px;margin-bottom:8px;cursor:pointer}
#dailyJourneyDetails h2{font:28px/1.15 Georgia,serif;margin:12px 0}#dailyJourneyDetails p{font:14px/1.5 system-ui;color:#bdcbc5;margin:0 0 18px}
#dailyJourneyDetails .daily-week{font:14px system-ui}#dailyJourneyDetails .daily-week small{font-size:12px;line-height:1.5}#dailyJourneyDetails .daily-reward{min-height:48px;font:14px system-ui}#dailyJourneyDetails .daily-reward .achievement-medal{width:26px;height:32px;flex-basis:26px}
#dailyToggle:focus-visible,.daily-reward-compact:focus-visible,#dailyJourneyDetails button:focus-visible{outline:2px solid #ecd096;outline-offset:3px}
@media(max-height:620px){#dailyToggle strong{font-size:20px}#dailyToggle{min-height:68px}body[data-screen=home] #dailyJourney{padding:4px 12px}}

/* Day overview stays in the expanded sheet, never in the fixed home layout. */
#dailyJourneyDetails .daily-week>small{display:block}
.daily-stages{margin:4px 0 18px}.daily-stages h3{font:22px Georgia,serif;margin:12px 0}
.daily-stage{border:1px solid #a7b49a40;border-radius:14px;padding:14px;margin:10px 0;background:#ffffff04}
.daily-stage>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.daily-stage>div>span{color:#d4ba82}.daily-stage small{margin-left:auto;color:#bbcbc2;font-size:11px}
#dailyJourneyDetails .daily-stage p{font-size:13px;margin:10px 0}.daily-stage button{min-height:44px;width:100%;padding:10px;border:1px solid #c5a77666;border-radius:10px;color:#e8d6b1;background:#c5a77612;text-align:left;font:14px system-ui}
.daily-stage[data-complete=true]{border-color:#8aaf8866}.daily-stages>small{display:block;font:12px/1.5 system-ui;color:#bac8c1}
