/* 3–8月：荷塘；9月–次年2月：石窟。实际选择由 index.html 中的本地日期决定。 */
[hidden]{display:none!important}
:root[data-season="mural"] {
  --season-ink:#42312c;
  --season-sub:#806d62;
  --season-page:#eee7d9;
  --season-app:#f5f0e5;
  --season-card:#fffaf1;
  --season-line:#e1d3bd;
  --season-accent:#8d4738;
  --season-accent-hover:#773a2e;
  --season-accent-text:#fffaf3;
  --season-secondary:#608078;
  --season-soft:#ead8b9;
  --season-soft-card:#f4ead9;
  --season-hero:url('/mural-theme.jpg');
  --season-hero-overlay:linear-gradient(90deg,#422c20e8,#543b2fa8 58%,#543b2f30);
  --work:#e8bda8;
  --life:#b9d1c7;
  --personal:#e6d3a0;
}
:root[data-season="lotus"] {
  --season-ink:#173b31;
  --season-sub:#5a7468;
  --season-page:#e4eee1;
  --season-app:#edf3e9;
  --season-card:#fffefa;
  --season-line:#d6e1d2;
  --season-accent:#c34373;
  --season-accent-hover:#a92f60;
  --season-accent-text:#fff;
  --season-secondary:#28735a;
  --season-soft:#f7dbe5;
  --season-soft-card:#f1f6ed;
  --season-hero:url('/lotus-theme.jpg');
  --season-hero-overlay:linear-gradient(90deg,#173d31e9,#244b399f 58%,#244b3920);
  --work:#f7c7da;
  --life:#b6d9c3;
  --personal:#f6dd93;
}
:root[data-season] {
  --green:var(--season-secondary);
  --muted:var(--season-sub);
  --line:var(--season-line);
  --warm-page:var(--season-page);
  --warm-app:var(--season-app);
  --warm-card:var(--season-card);
  --warm-line:var(--season-line);
  --button-warm:var(--season-accent);
  --button-warm-hover:var(--season-accent-hover);
  --button-warm-text:var(--season-accent-text);
  background:var(--season-page);
  color:var(--season-ink);
}
body{background:var(--season-page);color:var(--season-ink)}
.app,.conversation-dialog{background:var(--season-app);color:var(--season-ink)}
.auth-card,.profile-head,.panel,.bottom-nav,.calendar,.time-grid-holder,.time-slot,.conversation-dialog header,.message-compose,input,textarea,select,.outline-button,.icon-button,.goal-column,.review-card,.year-month{background:var(--season-card);border-color:var(--season-line);color:var(--season-ink)}
input,textarea,select{border-color:var(--season-line)}
label,.helper,.empty-note,.review-card small,.goal small,.latest-diary small,.diary-head small,.entry-row small,.profile-copy input,.period-picker strong{color:var(--season-sub)}
.profile-copy input{color:var(--season-ink)}
.primary,.add-shortcut,.segmented button.active,.brand-mark,.solar.today,.year-days button.today{background:var(--season-accent);border-color:var(--season-accent);color:var(--season-accent-text)}
.primary:hover,.primary:active,.add-shortcut:hover,.add-shortcut:active{background:var(--season-accent-hover);border-color:var(--season-accent-hover);color:var(--season-accent-text)}
.avatar{background:var(--season-accent);border-color:var(--season-accent);color:var(--season-accent-text)}
.avatar.has-image{background:none}
.link-button,.voice-button,.calendar-tools .icon-button{color:var(--season-accent)}
.bottom-nav button{color:var(--season-sub)}
.bottom-nav button.active{color:var(--season-accent);font-weight:700}
.bottom-nav button.active::after{content:"";display:block;width:16px;height:2px;margin:3px auto 0;border-radius:2px;background:var(--season-accent)}
.segmented button{background:var(--season-card);border-color:var(--season-line);color:var(--season-ink)}
.solar.today{color:var(--season-accent-text)}
.dow,.time-corner,.time-day-head,.all-day-label,.all-day-cell,.money-summary div,.home-money span,.weekly-context article,.diary-card blockquote{background:var(--season-soft-card);border-color:var(--season-line)}
.time-day-head.today{background:var(--season-soft);color:var(--season-ink)}
.day-cell,.time-label,.time-slot{border-color:var(--season-line)}
.time-slot:hover{background:var(--season-soft-card)}
.event.work,.stack i.work{background:var(--work)}
.event.life,.stack i.life{background:var(--life)}
.event.personal,.stack i.personal{background:var(--personal)}
.goal-column.work{border-top-color:var(--work)}
.goal-column.life{border-top-color:var(--life)}
.goal-column.personal{border-top-color:var(--personal)}
.progress i,.chart-row i{background:var(--season-accent)}
.income{color:var(--season-secondary)}
.expense{color:var(--season-accent)}
.home-money strong,.chart-row b{color:var(--season-ink)}
.hero-card{position:relative;overflow:hidden;min-height:150px;display:flex;flex-direction:column;justify-content:center;padding:25px 24px;border:1px solid var(--season-line);background-color:var(--season-app);background-image:var(--season-hero-overlay),var(--season-hero);background-size:cover;background-position:center 42%;background-repeat:no-repeat;color:#fff}
/* Keep the artwork on the card itself: no negative stacking layers on iOS. */
.hero-card::before,.hero-card::after{content:none}
:root[data-season="mural"] .hero-card{background-position:center 34%}
:root[data-season="lotus"] .hero-card{background-position:center 52%}
.hero-card small,.hero-card p{color:#fff;opacity:.92}
.hero-card h2{font-family:Georgia,"Songti SC","STSong",serif;font-weight:500;letter-spacing:.04em}
.diary-card blockquote{border-left-color:var(--season-accent)}
.conversation-dialog::-webkit-scrollbar-thumb,.messages::-webkit-scrollbar-thumb{background:var(--season-accent)}
.year-days button em{background:var(--season-accent)}
.account-panel p{margin:9px 0 0;overflow-wrap:anywhere}.account-panel #accountEmail{font-size:15px;font-weight:600;color:var(--season-accent)}
.diary-head{gap:7px}.diary-head .edit-diary{flex:none;padding:5px 10px;font-size:12px}.diary-head .delete-diary{flex:none}
@media(max-width:720px){.diary-form .form-actions{display:grid;grid-template-columns:1fr 1fr}.diary-form .form-actions span{display:none}.diary-form .form-actions button[data-naval]{grid-column:1/-1}}
input:focus,textarea:focus,select:focus{border-color:var(--season-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--season-accent) 18%,transparent)}
@media(max-width:720px){.hero-card{min-height:138px;padding:21px 18px}}
