/* Decorative Jiang Zhiyan stickers sit on existing edges; controls retain their labels and hit areas. */
.jiang-sticker {display:block;width:88px;aspect-ratio:1;background:url('/panel-assets/jiang-companion-v1.png') var(--jiang-pos,0% 0%)/400% 200% no-repeat;pointer-events:none;flex:none;}
.page .themed-heading {min-height:100px;padding:12px 0 17px;border:0;border-radius:0;background:none;margin:2px 0 4px;isolation:isolate;}
.page .themed-heading .page-title,.page .themed-heading h1 {font-family:"Noto Sans SC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:24px;font-weight:600;letter-spacing:.025em;line-height:1.4;color:#795f7d;margin:0;}
.page .themed-heading .page-note {font-size:12px;line-height:1.8;margin-top:7px;color:#a08a9e;}
.page .themed-heading>div:first-of-type {padding-right:76px;}
.page .themed-heading>.chapter-art {position:absolute;right:2px;bottom:-2px;top:auto;width:83px;height:83px;border:0;border-radius:0;background:none;box-shadow:none;transform:none;margin:0;pointer-events:none;}
.page .themed-heading>.chapter-art>.icon {opacity:0;}
.page .themed-heading>.chapter-art:after {content:"";inset:0;position:absolute;width:100%;height:100%;opacity:1;border-radius:0;background:url('/panel-assets/jiang-companion-v1.png') var(--jiang-pos)/400% 200% no-repeat;box-shadow:none;}
#page-life {--jiang-pos:33.333333% 0%;}
#page-memory {--jiang-pos:66.666667% 0%;}
#page-schedule {--jiang-pos:100% 0%;}
#page-calendar {--jiang-pos:0% 100%;}
#page-tools,#page-providers {--jiang-pos:33.333333% 100%;}
#page-details {--jiang-pos:66.666667% 100%;}
#page-rest {--jiang-pos:100% 100%;}
.page .themed-heading:before {content:none;}
.page .themed-heading>.chapter-art:before {content:"";position:absolute;bottom:1.5%;left:9%;right:5%;height:1px;background:linear-gradient(90deg,transparent,#ddc0d78c 30%,#ddc0d78c 75%,transparent);pointer-events:none;}
#page-tools .themed-heading>.chapter-art:before,#page-providers .themed-heading>.chapter-art:before {height:auto;left:auto;right:11%;top:34%;bottom:0;width:1px;background:linear-gradient(transparent,#ddc0d78c 25%,#ddc0d78c 80%,transparent);}
.page .themed-heading>.chapter-art {--jiang-pos:inherit;}
#page-providers .themed-heading {padding-top:20px;}
#page-providers .themed-heading>div:first-of-type {padding-right:15px;}
#page-providers .themed-heading>.chapter-art {display:none;}
.calendar-page .cal-heading-tools {display:block;width:84px;align-self:stretch;}
.calendar-page .cal-heading-tools .jiang-sticker {position:absolute;right:13px;bottom:-2px;width:78px;height:78px;margin:0;}
.calendar-page .cal-heading-tools .jiang-sticker:before {content:"";position:absolute;bottom:3%;left:12%;right:4%;height:1px;background:linear-gradient(90deg,transparent,#ddc0d78c 30%,#ddc0d78c 75%,transparent);pointer-events:none;}
.calendar-page .cal-drawer-inner>.cal-item-head {position:relative;}
.calendar-page .cal-drawer-inner>.cal-item-head h2 {padding-right:59px;}
.calendar-page .cal-drawer-inner>.cal-item-head:after {content:"";position:absolute;right:41px;bottom:-16px;width:48px;height:55px;background:url('/panel-assets/jiang-companion-v1.png') 0% 100%/400% 200% no-repeat;pointer-events:none;}
.calendar-page .cal-drawer .cal-drawer-handle {margin-bottom:35px;}
.calendar-page .cal-cycle-card {position:relative;}
.calendar-page .cal-cycle-card:before {content:"";position:absolute;top:-57px;right:12px;width:76px;height:78px;background:url('/panel-assets/jiang-companion-v1.png') 100% 100%/400% 200% no-repeat;pointer-events:none;}
.calendar-page #calPeriodView {padding-top:42px;}
.love-intro h1 {font-family:"Noto Sans SC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:26px;font-weight:600;color:#795f7d;letter-spacing:.02em;}
.love-intro p {font-family:inherit;font-size:12px;letter-spacing:0;}
.calendar-page .cal-mood-choices button,.calendar-page .cal-weather-choices button {border-color:transparent;}
.calendar-page .cal-mood-choices button[aria-pressed=true],.calendar-page .cal-weather-choices button[aria-pressed=true] {border-color:transparent;background:#eedcee99;}
.calendar-page .cal-cycle-title,.calendar-page .cal-period-number,.calendar-page .cal-cycle-reference strong {font-family:"Noto Sans SC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.calendar-page .cal-round-grid .cal-date strong {font-family:inherit;}
.auth-mark {position:relative;height:104px;margin-bottom:10px;}
.auth-mark .icon {opacity:0;}
.auth-mark:after {content:"";position:absolute;top:0;left:calc(50% - 58px);width:116px;height:110px;background:url('/panel-assets/jiang-companion-v1.png') 0% 0%/400% 200% no-repeat;pointer-events:none;}
#page-life .empty:before,#page-memory .empty:before,#calDayCards>.cal-subtitle:before {content:"";display:block;margin:0 auto 10px;width:78px;height:86px;background:url('/panel-assets/jiang-companion-v1.png') var(--jiang-pos)/400% 200% no-repeat;pointer-events:none;}
.page .empty {line-height:1.8;}
html.night .page .themed-heading {background:none;border:0;}
html.night .page .themed-heading h1,html.night .love-intro h1 {color:#e5cbe2;}
html.night .page .themed-heading .page-note {color:#b69cb6;}
html.night .page .themed-heading>.chapter-art:before,html.night .calendar-page .cal-heading-tools .jiang-sticker:before {background:linear-gradient(90deg,transparent,#78536f8c 30%,#78536f8c 75%,transparent);}
html.night .page .themed-heading>.chapter-art {background:none;border:0;box-shadow:none;}
@media(max-width:359px) {.page .themed-heading h1{font-size:21px;}.page .themed-heading>div:first-of-type{padding-right:62px;}.page .themed-heading>.chapter-art{width:68px;height:68px;right:2px;}.calendar-page .cal-heading-tools .jiang-sticker{width:63px;height:63px;right:9px;}.calendar-page .cal-mood-art{width:48px;height:48px;}.calendar-page .cal-mood-art.cal-date-mood{width:30px;height:30px;}}

/* Only decorative characters are adjustable; labels, borders, mood and weather remain unchanged. */
.jiang-sticker,.page .themed-heading>.chapter-art:after,.calendar-page .cal-drawer-inner>.cal-item-head:after,.calendar-page .cal-cycle-card:before,.auth-mark:after,#page-life .empty:before,#page-memory .empty:before,#calDayCards>.cal-subtitle:before {opacity:var(--jiang-sticker-opacity,1);filter:var(--jiang-sticker-filter,none);}
.sticker-filter-defs {position:absolute;width:0;height:0;pointer-events:none;}
#page-tools .sticker-settings {margin:2px 0 4px;border:0;padding:0;}
#page-tools .sticker-settings>summary {font-size:12px;color:#a08a9e;cursor:pointer;padding:6px 0;}
.sticker-settings .sticker-controls {display:grid;gap:18px;padding:6px 0 0;}
.sticker-settings .sticker-preview {display:flex;gap:12px;align-items:center;font-size:12px;color:#a08a9e;}
.sticker-settings .sticker-preview .jiang-sticker {width:68px;--jiang-pos:66.666667% 0%;}
.sticker-settings label {display:grid;gap:8px;font-size:13px;color:#886d90;}
.sticker-settings .sticker-range-title {display:flex;justify-content:space-between;gap:12px;}
.sticker-settings input[type=range] {width:100%;min-width:0;min-height:28px;padding:0;border:0;background:none;box-shadow:none;accent-color:#b485ac;cursor:pointer;}
.sticker-settings .sticker-tones {display:flex;gap:9px;flex-wrap:wrap;}
.sticker-settings .sticker-tones button,.sticker-settings .sticker-reset {font:inherit;font-size:12px;min-height:38px;padding:7px 15px;border-radius:99px;border:1px solid #e8d7e5;color:#886d90;background:transparent;box-shadow:none;}
.sticker-settings .sticker-tones button[aria-pressed=true] {border-color:#b485ac;background:#f1e3f0;}
.sticker-settings button:focus-visible,.sticker-settings input:focus-visible {outline:2px solid #ae82ac;outline-offset:3px;}
.sticker-settings .sticker-actions {display:flex;align-items:center;gap:14px;}
.sticker-settings .sticker-status {font-size:12px;color:#9c829b;line-height:1.7;margin:0;}
html.night .sticker-settings>summary,html.night .sticker-settings label,html.night .sticker-settings button {color:#d6b9d9;}
html.night #page-tools .sticker-settings {border-color:#59405c60;}
html.night .sticker-settings .sticker-tones button,html.night .sticker-settings .sticker-reset {border-color:#664765;}
html.night .sticker-settings .sticker-tones button[aria-pressed=true] {background:#49324c;border-color:#b485ac;}
html.night #page-tools .themed-heading>.chapter-art:before,html.night #page-providers .themed-heading>.chapter-art:before {background:linear-gradient(transparent,#78536f8c 25%,#78536f8c 80%,transparent);}
