:root{--navy:#1c4560;--ink:#17384c;--coral:#df8268;--teal:#689c98;--cream:#f7f4ed;--muted:#75828a;--line:#e0e3dd}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.58;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #689c98;outline-offset:4px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.site-header{max-width:1450px;margin:auto;padding:25px 5%;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:17px}.brand img{width:76px;height:76px;object-fit:contain}.brand small{display:block;font-size:14px;letter-spacing:2px;margin-bottom:6px;color:var(--muted)}.brand strong{font-size:23px;font-weight:650;letter-spacing:1px}.header-actions{display:flex;align-items:center;gap:25px}.event-tag{font-size:14px;color:var(--muted)}.text-button{border:0;background:none;color:var(--navy);font-size:15px;padding:10px 0}.hero{max-width:1340px;margin:auto;padding:62px 4% 66px;display:grid;grid-template-columns:1fr 1.12fr;gap:8%;align-items:center}.eyebrow{font-size:14px;letter-spacing:2px;color:var(--teal);margin:0 0 21px;display:flex;align-items:center;gap:9px}.eyebrow span{width:8px;height:8px;border-radius:50%;background:var(--coral)}h1{font-size:clamp(39px,4.3vw,62px);line-height:1.43;letter-spacing:-1.7px;margin:0 0 21px;font-weight:750}.coral{color:var(--coral)}.intro{font-size:19px;line-height:1.9;color:#627782;margin:0 0 29px}.capabilities{display:flex;gap:9px;flex-wrap:wrap}.capabilities span{font-size:13px;padding:6px 10px;background:#efe9e3;border-radius:5px;color:#ad7966}.capabilities span:nth-child(2){color:#a47e87;background:#eee6e8}.capabilities span:nth-child(3){color:#608c89;background:#e3edeb}.capabilities span:nth-child(4){color:#718563;background:#e9ede2}.capabilities span:nth-child(5){color:#978454;background:#f0ebdf}.progress-block{max-width:390px;margin-top:36px}.progress-label{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px;font-size:13px;color:var(--muted)}.progress-label strong{font-size:31px;font-weight:500;color:var(--navy)}.progress-label small{font-size:14px;font-weight:400}progress{display:block;width:100%;height:6px;appearance:none;border:0;border-radius:4px;background:#e2e6df}progress::-webkit-progress-bar{background:#e2e6df;border-radius:4px}progress::-webkit-progress-value{background:var(--teal);border-radius:4px;transition:width .4s}progress::-moz-progress-bar{background:var(--teal)}.howto{font-size:13px;letter-spacing:1px;color:#829087;margin:22px 0 0}.draw-panel{position:relative;border:1px solid #dce3dd;background:#fffdf7;border-radius:18px;box-shadow:0 18px 48px #284b5610;padding:29px 34px 19px;min-height:540px;display:flex;flex-direction:column}.panel-top{display:flex;align-items:center;justify-content:space-between;font-size:13px;letter-spacing:1px;color:#7a8b88;border-bottom:1px solid #e4e6de;padding-bottom:17px}.panel-top span:last-child{font-size:11px;letter-spacing:2px}.waiting-view{padding:24px 0 22px;text-align:center;flex:1}.waiting-view img{height:83px;width:83px;object-fit:contain;opacity:.95}.waiting-kicker{font-size:13px!important;letter-spacing:2px;color:var(--teal)!important;margin:12px 0 10px!important}.waiting-view h2{font-size:42px;line-height:1.45;margin:0 0 13px;letter-spacing:2px}.waiting-view>p:last-child{color:#84918c;font-size:13px;margin:0}.primary-button{border:0;border-radius:9px;background:var(--navy);color:white;min-height:58px;padding:14px 23px;font-size:19px;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:15px;transition:background .2s,transform .2s}.primary-button:hover:enabled{background:#2a5a76}.primary-button:active:enabled{transform:translateY(1px)}.panel-note{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#939d93;margin-top:20px}.five-dots{display:flex;gap:5px}.five-dots i{width:5px;height:5px;border-radius:50%;background:var(--coral)}.five-dots i:nth-child(2){background:#ad8590}.five-dots i:nth-child(3){background:var(--teal)}.five-dots i:nth-child(4){background:#80986f}.five-dots i:nth-child(5){background:#b09c68}.course-view{padding:32px 0 25px;flex:1}.course-meta{display:flex;gap:9px;flex-wrap:wrap;font-size:14px;color:var(--teal);margin-bottom:17px}.course-meta span{border:1px solid #dce4dd;border-radius:100px;padding:5px 13px}.course-view h2{font-size:clamp(34px,3.9vw,52px);font-weight:750;line-height:1.38;margin:0 0 20px;letter-spacing:-1px;overflow-wrap:anywhere}.course-desc{font-size:20px;line-height:1.75;color:#5c737d;margin:0;max-width:26em}.age-note{font-size:13px;color:#8b978e;margin:15px 0 0}form label{font-size:14px;display:block;margin:0 0 9px}form input{background:white;border:1px solid #ced8d0;border-radius:9px;font-size:21px;min-height:58px;padding:12px 14px;min-width:0;flex:1;width:100%;color:var(--ink)}.name-row{display:flex;gap:10px}.name-row .primary-button{font-size:16px;white-space:nowrap;padding:14px 18px}.form-hint{font-size:11px;color:#94a095;margin:11px 0 0}.saved-view p{font-size:18px;margin:0 0 16px}.check{display:inline-grid;place-items:center;width:27px;height:27px;background:#e8f0e6;border-radius:50%;color:#71936b;margin-right:10px}.saved-actions{display:flex;align-items:center;gap:20px}.saved-actions .primary-button{flex:1;font-size:17px}.message{font-size:13px;line-height:1.6;color:#b4614c;margin:12px 0 0;min-height:0}.message:empty{display:none}.records{max-width:1340px;margin:auto;padding:0 4% 65px}.section-heading{border-top:1px solid var(--line);padding-top:35px;display:flex;align-items:center;justify-content:space-between;gap:20px}.section-heading .eyebrow{font-size:12px;margin-bottom:10px}.section-heading h2{font-size:29px;letter-spacing:1px;margin:0}.export-button{padding:11px 16px;border:1px solid #cdd8d1;border-radius:8px;font-size:14px;background:#fffdf8;white-space:nowrap}.export-button:hover{background:#e6ece6}.filter-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:25px 0 21px}.filter{font-size:13px;padding:8px 15px;border:1px solid transparent;background:none;color:#7c8b88;border-radius:100px}.filter.active{border-color:#cdd9d0;color:var(--navy);background:#fffdf8}.sync-label{margin-left:auto;font-size:11px;color:#94a08f}.course-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.record-card{border:1px solid #dfe4dc;border-radius:10px;background:#fffdf7;padding:19px 18px 16px;min-height:191px;display:flex;flex-direction:column}.record-top{display:flex;justify-content:space-between;font-size:12px;color:#82918b}.record-card h3{font-size:20px;line-height:1.55;margin:14px 0 10px;font-weight:650;flex:1}.record-ability{font-size:12px;color:var(--teal);margin:0 0 17px}.record-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid #edf0e8;padding-top:12px;font-size:12px;color:#9da699}.record-bottom strong{font-size:15px;color:var(--navy);font-weight:600;word-break:break-all}.record-card.claimed{border-color:#bed0c2;background:#f4f8f0}.record-card.claimed .record-bottom>span{color:#71936b}.record-card.reserved .record-bottom>span{color:#b38a62}footer{border-top:1px solid var(--line);padding:23px 5%;font-size:11px;color:#91a096;display:flex;justify-content:space-between;gap:18px}.drawing .waiting-view img{animation:pulse 1s ease-in-out infinite}.drawing #rolling-title{font-size:34px;min-height:123px;display:flex;align-items:center;justify-content:center}.drawing .draw-panel{border-color:#9dbdb5}@keyframes pulse{50%{transform:scale(1.06);opacity:.6}}@media(min-width:1650px){.hero{max-width:1570px}.records{max-width:1570px}.draw-panel{min-height:600px}.course-view h2{font-size:60px}h1{font-size:68px}.course-desc{font-size:24px}.waiting-view h2{font-size:52px}.waiting-view img{height:110px;width:110px}}@media(max-width:1000px){.hero{gap:5%;padding-top:40px}.draw-panel{padding:23px;min-height:525px}h1{font-size:43px}.intro{font-size:17px}.course-grid{grid-template-columns:repeat(3,1fr)}.brand strong{font-size:20px}.brand img{height:65px;width:65px}.event-tag{display:none}.name-row{flex-wrap:wrap}.name-row .primary-button{width:100%;justify-content:center}.waiting-view h2{font-size:35px}.course-view h2{font-size:38px}.course-desc{font-size:18px}}@media(max-width:700px){.site-header{padding:16px 5%;gap:12px}.brand{gap:10px}.brand img{width:52px;height:52px}.brand small{font-size:10px;margin-bottom:4px;letter-spacing:1px}.brand strong{font-size:15px;letter-spacing:0}.header-actions .text-button{font-size:11px;white-space:nowrap}.hero{display:block;padding:30px 5% 35px}.eyebrow{font-size:12px;margin-bottom:14px}h1{font-size:39px;margin-bottom:15px}.intro{font-size:15px;margin-bottom:20px}.capabilities{gap:7px}.capabilities span{font-size:11px;padding:5px 8px}.hero-copy .progress-block{margin-top:22px;max-width:none}.progress-label strong{font-size:25px}.howto{margin:15px 0 23px}.draw-panel{min-height:485px;padding:22px}.waiting-view h2{font-size:37px}.course-view h2{font-size:40px}.course-view{padding-top:24px}.course-desc{font-size:19px}.name-row{flex-wrap:nowrap}.name-row .primary-button{width:auto;padding:13px;font-size:14px}.name-row input{font-size:18px}.records{padding:0 5% 40px}.section-heading{padding-top:27px}.section-heading h2{font-size:23px}.export-button{font-size:12px;padding:9px 12px}.sync-label{width:100%;margin:5px 0 0}.filter-row{gap:4px;margin-top:19px}.filter{padding:7px 12px;font-size:12px}.course-grid{grid-template-columns:repeat(2,1fr);gap:11px}.record-card{padding:15px 13px;min-height:200px}.record-card h3{font-size:18px}.record-top{font-size:11px}.record-bottom{font-size:11px}footer{flex-direction:column;gap:7px;padding:20px 5%}.drawing #rolling-title{font-size:30px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.waiting-view .seedling{width:154px;height:110px;object-fit:contain;opacity:1}@media(min-width:1650px){.waiting-view .seedling{width:180px;height:128px}}@media(max-width:700px){.waiting-view .seedling{width:140px;height:105px}}

.music-controls{display:flex;align-items:center;gap:12px}.sound-toggle{white-space:nowrap;border:1px solid #cdd8d1;background:#fffdf8;color:var(--navy);border-radius:20px;padding:8px 12px;font-size:13px;min-width:100px}.sound-toggle[aria-pressed=false]{color:var(--muted);background:transparent}.music-controls .text-button{white-space:nowrap;font-size:13px}@media(max-width:700px){.site-header{flex-wrap:wrap}.header-actions{width:100%;justify-content:space-between;gap:14px}.music-controls{gap:14px}.sound-toggle{font-size:12px;padding:6px 11px;min-width:94px}.music-controls .text-button{font-size:12px}}

.music-style-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:22px;font-size:12px;color:#75828a}.music-style-row label{white-space:nowrap}.music-style-row select{max-width:100%;font:inherit;color:var(--navy);border:1px solid #cdd8d1;border-radius:7px;background:#fffdf8;padding:8px 24px 8px 10px}.music-style-row select:focus-visible{outline:3px solid #689c98;outline-offset:3px}.music-style-row #music-track{flex-basis:100%;font-size:12px;color:#689c98}.music-style-row select:disabled{opacity:.7}@media(max-width:700px){.music-style-row{margin-top:16px;gap:8px}.music-style-row select{font-size:12px}}
button,select{font:inherit}select{color:var(--ink)}select:focus-visible{outline:3px solid #689c98;outline-offset:4px}.name-row select{flex:1;min-width:0;width:100%;min-height:58px;padding:12px 10px;border:1px solid #bdcfc2;border-radius:9px;background:#fff;font-size:20px}.team-progress{font-size:12px;color:var(--teal);margin:0 0 8px}.fairness-note{font-size:12px;line-height:1.9;color:#73847c;margin:12px 0 0}.team-note{font-size:13px;line-height:1.9;color:#6b8179;margin:15px 0 0}.saved-view .together-note{font-size:13px;color:#718a7a;margin-top:-6px}.reservation-hint{font-size:11px;color:#89958c;line-height:1.7;margin:7px 0 0}.draw-panel .form-hint{line-height:1.7;color:#718578}.draw-panel .panel-note{line-height:1.7;color:#758378}.record-bottom .member-label{display:block;font-size:10px;font-weight:400;color:#7b8f81;margin-bottom:2px}.record-bottom strong{text-align:right}.saved-view strong{color:var(--navy)}@media(max-width:700px){.name-row{flex-wrap:wrap}.name-row select{flex-basis:100%;font-size:20px}.name-row .primary-button{width:100%;justify-content:center}.fairness-note{margin-bottom:22px}.hero .howto{margin-bottom:10px}.team-note{font-size:12px}.saved-view p{line-height:1.7}}
.message{color:#547a70}.message[data-kind=error]{color:#b4614c}
.photo-intro{font-size:13px;line-height:1.9;color:#6b8179;max-width:65em;margin:18px 0 0}.portrait-block{margin-top:15px}.portrait-add,.portrait-view{width:100%;border:1px dashed #b8cdc2;background:#edf3ec;border-radius:9px;color:var(--navy);padding:13px;text-align:left}.portrait-add{display:flex;flex-direction:column;gap:5px}.portrait-add strong{font-size:14px;font-weight:600}.portrait-add span{font-size:11px;color:#718779}.portrait-add:hover{background:#e3ede2;border-color:#87a997}.portrait-view{padding:0;overflow:hidden;border-style:solid;background:#f8faf5;text-align:center}.portrait-view img{display:block;width:100%;height:165px;object-fit:contain;background:#e9ede6}.portrait-view>span{display:block;padding:9px;font-size:11px;color:#5e8071}.portrait-large{margin:18px 0 20px}.portrait-large .portrait-add{padding:18px 20px;border-style:solid}.portrait-large .portrait-add strong{font-size:18px}.portrait-large .portrait-add span{font-size:13px;line-height:1.6}.portrait-large .portrait-view img{height:220px}.photo-dialog{border:1px solid #d7e2d7;border-radius:18px;background:#fffdf7;color:var(--ink);padding:26px;width:min(570px,calc(100vw - 32px));max-height:calc(100dvh - 36px);overflow:auto;box-shadow:0 24px 100px #17384c30}.photo-dialog::backdrop{background:#17384c99}.photo-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.photo-dialog-heading .eyebrow{font-size:11px;letter-spacing:1px;margin:0 0 7px}.photo-dialog h2{font-size:26px;margin:0;letter-spacing:1px}.photo-close{border:1px solid #d4dfd4;border-radius:50%;width:38px;height:38px;background:transparent;font-size:26px;color:var(--navy);flex-shrink:0}.photo-person{font-size:25px;font-weight:650;margin:23px 0 5px;color:var(--navy)}.photo-course{font-size:15px;line-height:1.7;margin:0 0 16px;color:#687e78}.photo-frame{background:#edf0e9;border:1px solid #dfe5d9;border-radius:11px;min-height:210px;display:flex;align-items:center;justify-content:center;overflow:hidden}.photo-frame img{display:block;width:100%;max-height:42dvh;object-fit:contain}.photo-frame #photo-placeholder{text-align:center;color:#739082;padding:35px 20px}.photo-frame #photo-placeholder>span{font-size:35px}.photo-frame #photo-placeholder p{font-size:14px;margin:12px 0 0}.photo-guidance{font-size:13px;line-height:1.8;color:#687e78;margin:14px 0}.photo-source-row{display:flex;gap:12px}.photo-camera,.photo-choose{border:1px solid #bcd0c1;border-radius:8px;min-height:48px;padding:10px 12px;font-size:15px;flex:1;color:var(--navy);background:#e8f0e6}.photo-choose{background:transparent}.photo-device-note,.photo-fixed-note{font-size:11px;color:#7a8d80;line-height:1.8;margin:11px 0}.photo-save{width:100%;justify-content:center;font-size:17px;min-height:52px;margin-top:16px}.photo-download-row{display:flex;align-items:center;gap:15px;margin:20px 0 5px}.photo-download-row>span{font-size:12px;color:#6e8877}.photo-status{font-size:13px;line-height:1.7;color:#547a70;margin:13px 0 0}.photo-status:empty{display:none}.photo-status[data-kind=error]{color:#b4614c}@media(max-width:700px){.photo-dialog{padding:20px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.photo-dialog h2{font-size:24px}.photo-person{font-size:24px;margin-top:18px}.photo-course{font-size:14px}.photo-frame{min-height:180px}.photo-frame img{max-height:36dvh}.photo-source-row{gap:9px}.photo-camera,.photo-choose{font-size:14px;padding:10px 7px}.portrait-view img{height:135px}.portrait-large .portrait-view img{height:210px}.portrait-add{padding:10px}.portrait-add strong{font-size:13px}.portrait-add span{font-size:10px;line-height:1.6}.photo-intro{font-size:12px}.photo-download-row{flex-wrap:wrap}}
.photo-nav{font-size:14px;white-space:nowrap;color:var(--navy);border-bottom:1px solid #a9c0b2;padding:6px 0}.records{scroll-margin-top:20px}.portrait-reupload,.photo-replace{border:1px solid #b8cdc2;background:#edf3ec;border-radius:8px;color:var(--navy);padding:11px 15px;min-height:43px;font-size:13px}.portrait-reupload{width:100%;margin-top:8px}.portrait-large .portrait-add{padding:12px 15px;background:transparent;border-style:dashed}.portrait-large .portrait-add strong{font-size:14px}.portrait-large .portrait-add span{font-size:11px}.portrait-large .portrait-reupload{font-size:14px}.photo-replace{width:100%;margin-top:18px;font-size:16px;min-height:49px}.photo-cancel-replace{display:block;margin:10px auto 0;font-size:13px}.saved-view .together-note{margin-bottom:17px}.saved-actions .text-button{white-space:nowrap}@media(max-width:700px){.header-actions{flex-wrap:wrap}.photo-nav{font-size:12px}.portrait-reupload{font-size:12px;padding:9px;min-height:40px}.photo-replace{font-size:15px}}

/* 展示版补充：留影卡片、封面留影、底部信息 */
.record-photo { margin: 12px 0 0; border-radius: 10px; overflow: hidden; background: #f2efe7; }
.record-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.record-desc { margin: 6px 0 0; font-size: 13px; line-height: 1.7; color: #5d6b63; }
.garden-feature { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.garden-feature-photo { width: 100%; border-radius: 14px; display: block; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 12px 30px rgba(35, 66, 51, .16); }
.garden-feature-caption { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: #3f5347; }
.garden-feature-caption strong { font-size: 18px; color: #1f3a2c; }
.garden-feature-caption span { opacity: .8; }
#draw-panel .primary-button { width: 100%; margin-top: 14px; justify-content: space-between; text-decoration: none; }
.site-footer { max-width: 1180px; margin: 40px auto 24px; padding: 0 24px; color: #6b7d70; font-size: 12px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .site-footer { flex-direction: column; } }
