/* 极光之夜：冰蓝、奶油白、雾蓝与浅青。 */
:root{--aurora-ice:#D4F1F7;--aurora-blue:#A1D2E8;--aurora-cream:#FFFBEF;--aurora-mid:#8EB9D4;--aurora-aqua:#C2E8F0;--ink:#294F62;--muted:#587887;--line:#8EB9D466;--blue:#477F9A;--paper:#FFFBEF}
body,body[data-route="journey"][data-chapter]{--phase-top:#D4F1F7e8;--phase-bottom:#FFFBEFef;--ink:#294F62;--muted:#587887;--blue:#477F9A;--line:#8EB9D466;background-color:var(--aurora-ice)}
body:before{background:linear-gradient(var(--phase-top),var(--phase-bottom))}
.ocean-wash,body[data-route="journey"] .ocean-wash{opacity:.22;filter:saturate(.35);background-image:url('assets/ocean-wide-v2.webp');background-size:cover;background-position:center}
body[data-route="journey"][data-chapter="1"]{--phase-top:#A1D2E8b8;--phase-bottom:#D4F1F7eb}
body[data-route="journey"][data-chapter="2"]{--phase-top:#8EB9D460;--phase-bottom:#FFFBEFef}
body[data-route="journey"][data-chapter="3"]{--phase-top:#C2E8F0dc;--phase-bottom:#D4F1F7ed}
body[data-route="journey"][data-chapter="4"]{--phase-top:#FFFBEFf2;--phase-bottom:#FFFBEFfa;--ink:#455F65;--muted:#687D7C;--blue:#608C9C;--line:#8EB9D466;background-color:var(--aurora-cream)}
.nav,body[data-route="journey"][data-chapter="4"] .nav{background:#D4F1F7d9;border-color:#8EB9D440}
.nav a[aria-current="page"]{color:#285E76}.motion-button{color:var(--muted)}
.journey-cover{position:relative;width:100%;background:#38646A;overflow:hidden}
.journey-cover-art img{display:block;width:100%;height:auto}
.journey-cover:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:28px;background:linear-gradient(transparent,#D4F1F733);pointer-events:none}
.journey-cover-mobile{display:none}
.journey .section-heading{margin-bottom:26px}
.chapter-tab{color:#587887}.chapter-tab.active,body[data-route="journey"][data-chapter="4"] .chapter-tab.active{color:#285E76;border-color:var(--aurora-mid)}
.chapter-intro span,body[data-route="journey"][data-chapter="4"] .chapter-intro span{color:#587887}
.year-heading span,body[data-route="journey"][data-chapter="4"] .year-heading span{color:#477A93}
.wave-segment path,body[data-route="journey"][data-chapter="4"] .wave-segment path{stroke:#79AAC5}
.event-node:after,body[data-route="journey"][data-chapter="4"] .event-node:after{background:#6898B1;box-shadow:0 0 0 4px #FFFBEF99}
.event-node:before,body[data-route="journey"][data-chapter="4"] .event-node:before{border-color:#8EB9D488}
.event-node .node-button,body[data-route="journey"][data-chapter="4"] .node-button,body[data-route="journey"][data-chapter="4"] .leaf{color:var(--ink)}
.month-badge,body[data-route="journey"][data-chapter="4"] .month-badge{color:#587887}
.event-node .branch-toggle,body[data-route="journey"][data-chapter="4"] .event-node .branch-toggle{color:#527787;border-bottom-color:#8EB9D4}
.event-node .branch-leaves{border-left-color:#8EB9D480}.event-node .leaf small{color:#587887}
.filters button.active{color:#285E76;border-color:#8EB9D4}.branch-vlog{color:#376C85}
.song-chapter{color:#5B8093}.song-chapter-number{color:#668DA2}.song-chapter.active,.song-chapter:hover{color:#285E76}.song-chapter-line{background:#8EB9D466}.song-chapter-line:after{background:#628EA7}
.record p,.vlog-meta,.vlog-card p,.result-count{color:#587887}.search{border-color:#8EB9D477}.search input{color:var(--ink)}
.story-card,.story-card:nth-child(2),.story-card:nth-child(3){background:#FFFBEFbd;border-color:#8EB9D466;color:var(--ink);box-shadow:0 6px 25px #8EB9D418}
.stage-visual,.video-preview{background:var(--aurora-aqua)}.vlog-platform{background:linear-gradient(135deg,#D4F1F7,#C2E8F0);color:#527B92}
.album-art{background:var(--aurora-blue)}.album-art.cover1{background:var(--aurora-cream)}.album-art.cover2{background:var(--aurora-mid)}.album-art.cover3{background:var(--aurora-aqua)}
dialog,dialog.media-dialog{background:#FFFBEFf7;color:var(--ink);border-color:#8EB9D466}.egg-bubble{background:#FFFBEFf2;border-color:#8EB9D477}.button.primary{background:#8EB9D4;color:#203F50}.toast{background:#294F62}
body[data-route="journey"][data-chapter="4"] .ocean-wash{opacity:.12}
body[data-route="journey"][data-chapter="4"] .jelly-companion img{filter:saturate(.65) drop-shadow(0 0 8px #FFFBEF)}
@media(max-width:700px){
 .ocean-wash,body[data-route="journey"] .ocean-wash{background-image:url('assets/sea-reference.webp');opacity:.17}
 .journey-cover{background:#D4F1F7}.journey-cover-art{aspect-ratio:5/4;overflow:hidden}.journey-cover-art img{height:100%;width:100%;object-fit:cover;object-position:left center}
 .journey-cover-mobile{display:block;padding:23px 6% 26px;background:#D4F1F7;color:#294F62;text-align:center}
 .journey-cover-mobile>span{font:12px var(--serif);letter-spacing:3px}.journey-cover-mobile i{font:italic 14px Georgia,serif}.journey-cover-mobile p{font:28px/1.6 var(--serif);letter-spacing:4px;margin:9px 0 3px}.journey-cover-mobile small{font-size:11px;letter-spacing:3px;color:#587887}.journey-cover:after{display:none}
 .section.journey{padding-top:30px}.event-node:before,.event-node:nth-child(even):before,.event-node:nth-child(odd):before{border-color:#8EB9D488}
}

/* Preserve the complete original banner at every screen width. */
@media(max-width:700px){.journey-cover-art{aspect-ratio:auto;overflow:visible}.journey-cover-art img{display:block;width:100%;height:auto;object-fit:contain}.journey-cover-mobile{display:none}}

/* Shared submission invitation at the end of every route. */
.contribution{max-width:1130px;margin:0 auto;padding:38px 0 56px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:30px;color:var(--ink)}
.contribution h2{font-size:23px;letter-spacing:3px}.contribution p{font-size:12px;color:var(--muted);margin:10px 0 0;line-height:2}.contribution-link{display:flex;align-items:center;gap:36px;padding:10px 0;border-bottom:1px solid #8EB9D4;font-size:13px;white-space:nowrap}.contribution-link:hover{color:#285E76;border-color:#477F9A}.contribution-link span{font-size:19px;transition:transform .2s}.contribution-link:hover span{transform:translate(2px,-2px)}
@media(max-width:1240px){.contribution{margin-left:6%;margin-right:6%}}
@media(max-width:700px){.contribution{flex-direction:column;align-items:flex-start;gap:18px;padding:28px 0 50px}.contribution h2{font-size:21px}.contribution p{font-size:11px}.contribution-link{font-size:12px;gap:40px}}

.node-description{font-size:12px;line-height:2.15;color:var(--muted);margin:12px 0 0;max-width:34em;letter-spacing:.2px}.node-sources{font-size:10px;color:#587887;margin-top:13px}.node-sources summary{cursor:pointer;width:fit-content;list-style:none;border-bottom:1px dotted #8EB9D4}.node-sources summary:before{content:'＋ ';font-size:10px}.node-sources[open] summary:before{content:'− '}.node-sources summary::-webkit-details-marker{display:none}.node-sources ul{list-style:none;padding:0;margin:9px 0 0}.node-sources li{margin:6px 0}.node-sources a:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:700px){.node-description{font-size:11px;line-height:2.05;margin-top:10px}.node-sources{font-size:9px}}
.year-group[aria-label="初高中"] .year-heading span{font-size:20px;letter-spacing:2px}
@media(max-width:700px){.year-group[aria-label="初高中"] .year-heading span{width:auto;text-align:left;font-size:16px;letter-spacing:1px}.year-group[aria-label="初高中"] .year-heading{margin-bottom:20px}}

/* Submission lives in the document flow at the page bottom. */
.submission-bottom{max-width:1130px;margin:0 auto;padding:20px 0 38px;display:flex;justify-content:flex-end;border-top:1px solid var(--line)}
.submission-link{display:inline-flex;align-items:center;gap:25px;padding:9px 0;border-bottom:1px solid #8EB9D4;color:#376C85;font-size:12px;letter-spacing:1px}.submission-link:hover{color:#294F62;border-color:#477F9A}
.year-group[aria-label="早期团队"] .year-heading span{font-size:20px;letter-spacing:2px}
@media(max-width:1240px){.submission-bottom{margin-left:6%;margin-right:6%}}
@media(max-width:700px){.submission-bottom{padding:18px 48px 32px 0}.submission-link{font-size:11px;gap:20px}.year-group[aria-label="早期团队"] .year-heading span{width:auto;text-align:left;font-size:16px;letter-spacing:1px}}

/* Label → releases → tracks, without breaking the ocean timeline. */
.label-works{margin:22px 0 0 4px;padding-left:20px;border-left:1px solid #8EB9D477}.work-branch{position:relative;margin:0 0 27px}.work-branch:last-child{margin-bottom:0}.work-branch:before{content:'';position:absolute;left:-20px;top:11px;width:12px;border-top:1px solid #8EB9D477}.work-heading{display:flex;flex-direction:column;gap:4px}.work-heading>small{font-size:10px;color:var(--muted);letter-spacing:1px}.work-title{font:17px/1.8 var(--serif);letter-spacing:1px}.work-title:hover{text-decoration:underline;text-underline-offset:4px}.work-branch .node-description{font-size:11px;margin-top:5px}.event-node .work-branch .branch-leaves{margin-top:8px}.event-node .work-branch .leaf{font-size:11px}.event-node .work-branch .branch-toggle{margin-top:6px}
@media(max-width:700px){.label-works{padding-left:14px;margin-left:0}.work-branch:before{left:-14px;width:8px}.work-title{font-size:15px}.work-heading>small{font-size:9px}.work-branch .node-description{font-size:10px}.event-node .work-branch .leaf{font-size:10px}}
/* Small discoveries, opened like paper notes. */
.tmi-heading{align-items:center}.tmi-intro{font-size:12px;color:var(--muted);margin:12px 0 0;letter-spacing:1px}.tmi-random{font-size:12px;border-bottom:1px solid #8EB9D4;padding:7px 0;white-space:nowrap}.tmi-counter{text-align:right;font-size:10px;letter-spacing:1px;color:var(--muted);margin:10px 0 22px}.tmi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;align-items:start;padding-top:6px}
.tmi-card{position:relative;min-width:0;background:#FFFBEFe6;box-shadow:0 8px 26px #5B809312;transform:rotate(-1deg);transition:transform .25s,box-shadow .25s;border-top:3px solid #8EB9D4}.tmi-card:nth-child(2){transform:rotate(1.2deg);background:#D4F1F7ed;border-color:#A1D2E8;margin-top:28px}.tmi-card:nth-child(3){transform:rotate(-.6deg);background:#C2E8F0df;border-color:#8EB9D4;margin-top:7px}.tmi-card:before{content:'';position:absolute;top:-13px;left:calc(50% - 28px);width:56px;height:24px;background:#FFFBEF77;transform:rotate(8deg);pointer-events:none}.tmi-card:hover,.tmi-card[open]{transform:rotate(0);box-shadow:0 12px 30px #5B809320}.tmi-card>summary{display:block;list-style:none;cursor:pointer;padding:28px 26px 24px}.tmi-card>summary::-webkit-details-marker{display:none}.tmi-card>summary:focus-visible{outline:2px solid #477F9A;outline-offset:5px}.tmi-card-top{display:flex;align-items:center;justify-content:space-between;color:#587887;font-size:10px;letter-spacing:1px}.tmi-card-top b{font:italic 29px Georgia,serif;color:#668DA2;font-weight:400}.tmi-card h3{font:22px/1.65 var(--serif);margin:30px 0 28px;min-height:73px;letter-spacing:1px}.tmi-reveal{display:flex;align-items:center;gap:8px;color:#587887;font-size:11px}.tmi-reveal i{font-style:normal;font-size:18px;transition:transform .2s}.tmi-open-label{display:none}.tmi-card[open] .tmi-open-label{display:inline}.tmi-card[open] .tmi-closed-label{display:none}.tmi-card[open] .tmi-reveal i{transform:rotate(45deg)}.tmi-answer{margin:0 26px;padding:0 0 24px;border-top:1px dashed #8EB9D477}.tmi-answer>p{font-size:13px;line-height:2.2;margin:18px 0;color:var(--ink)}.tmi-source{display:flex;flex-direction:column;gap:7px;margin-top:20px;color:var(--muted)}.tmi-source small{font-size:10px;line-height:1.9}.tmi-source a{font-size:10px;width:fit-content;border-bottom:1px solid #8EB9D466}.tmi-source a:hover{color:#294F62;border-color:#477F9A}
.song-note{margin:3px 0 10px;color:var(--muted);font-size:10px;max-width:36em}.song-note summary{cursor:pointer;width:fit-content;border-bottom:1px dotted #8EB9D4;list-style:none}.song-note summary:before{content:'＋ '}.song-note[open] summary:before{content:'− '}.song-note summary::-webkit-details-marker{display:none}.song-note p{line-height:2.1;font-size:11px;margin:8px 0}.song-note>small{font-size:9px;opacity:.85}.record>.song-note{margin-left:66px}.track-entry{min-width:0}
@media(max-width:900px){.tmi-grid{gap:18px}.tmi-card>summary{padding:24px 19px 21px}.tmi-answer{margin:0 19px}.tmi-card h3{font-size:20px}}
@media(max-width:700px){.tmi-heading{flex-direction:row;align-items:center;gap:15px}.tmi-intro{font-size:10px;letter-spacing:0;margin-top:8px}.tmi-random{font-size:10px}.tmi-grid{grid-template-columns:1fr;gap:28px;padding:6px 6px 0}.tmi-card:nth-child(2),.tmi-card:nth-child(3){margin-top:0}.tmi-card h3{font-size:23px;min-height:0;margin:23px 0}.tmi-card>summary{padding:23px 23px 22px}.tmi-answer{margin:0 23px}.tmi-card-top b{font-size:26px}.tmi-answer>p{font-size:12px}.tmi-counter{font-size:9px}.song-note{font-size:9px}.song-note p{font-size:10px}.record>.song-note{margin-left:59px}.nav nav{gap:18px}}
