/* Student learning option B: task screens with readable diagrams and working exercises. */
.home-tools{position:absolute;z-index:7;right:17px;top:100px;display:grid;gap:8px;width:104px}.home-tools button{border:1px solid #d9b47b;background:#fff7e7e8;color:#244b44;border-radius:9px;min-height:85px;padding:4px 5px;font-weight:800;box-shadow:0 5px 14px #183e4260;backdrop-filter:blur(3px)}.home-tools button:hover{transform:translateX(-4px);background:#fffdf4}.home-tools img{display:block;width:49px;height:49px;object-fit:contain;margin:0 auto 2px}.home-tools img.coach-icon{width:47px;height:47px;object-fit:cover;object-position:center 16%;border-radius:50%;border:2px solid #cd965f}.home-tools span:last-child{display:block;font-size:11px;white-space:nowrap}.tool-icon{display:grid;place-items:center;width:45px;height:45px;margin:1px auto 4px;border-radius:7px;background:#e3e7d4;color:#a35438;font:800 25px 'SimSun',serif}.scene-race{left:68%;top:39%}.scene-skill{left:40%;top:52%}.scene-culture{left:8%;top:66%}.home-vignette{background:linear-gradient(0deg,#17465073,transparent 28%),linear-gradient(90deg,#1746505e,transparent 32%)}
.learn-page{background:#f2f0e8}.learn-wrap{max-width:1450px;margin:auto;padding:27px 32px 45px}.module-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px}.module-heading small{display:block;color:#a25439;font-size:12px;font-weight:800;letter-spacing:.05em}.module-heading h1{font:800 35px 'SimSun',serif;margin:6px 0 6px;color:#224744}.module-heading p{margin:0;color:#65766b;font-size:14px}.module-progress{flex:none;border:1px solid #d7c7a9;background:#fff8e9;border-radius:7px;padding:8px 13px;color:#6c6b5b;font-size:12px}.module-progress b{color:#a55137;font-size:17px;margin-left:7px}.subnav{display:flex;border-bottom:1px solid #c8d4c9;gap:5px;margin-bottom:19px}.subnav button{border:0;border-radius:6px 6px 0 0;background:transparent;color:#60766b;padding:10px 22px;font-weight:800;font-size:15px}.subnav button.active{background:#235c5b;color:#fff6e4}.subnav button:hover{background:#dcebe1}.subnav button.active:hover{background:#235c5b}
.study-surface{border:1px solid #d4d5c7;background:#fffdf5;border-radius:11px;box-shadow:0 10px 25px #556b5420;padding:20px}.source-state{display:flex;align-items:center;gap:7px;color:#8a694f;font-size:12px}.source-state:before{content:'';width:7px;height:7px;border-radius:50%;background:#c08656}.micro-label{font-size:12px;font-weight:800;color:#a65a3e;letter-spacing:.05em}.section-head{font:800 23px 'SimSun',serif;color:#234844;margin:6px 0 10px}.help-text{font-size:13px;color:#6d7c70;line-height:1.5}
.ritual-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-bottom:17px}.ritual-steps button{border:1px solid #d4c6a8;background:#f4ead6;border-radius:7px;padding:10px 6px;color:#5b5240;font-weight:800;font-size:15px}.ritual-steps button.active{background:#245d59;border-color:#245d59;color:#fff}.ritual-steps button span{display:block;font-size:11px;font-weight:400;opacity:.85;margin-top:3px}.ritual-grid{display:grid;grid-template-columns:42% 1fr;gap:19px}.ritual-visual{height:355px;position:relative;overflow:hidden;border-radius:8px;border:1px solid #c7ad82;background:url('assets/illustrated-shed.png') 34% center/cover}.ritual-visual:after{content:'观察图 · 船体、桨具与参与位置';position:absolute;left:11px;bottom:11px;background:#fff8e6e8;padding:6px 9px;border-radius:4px;color:#4b5546;font-size:12px}.ritual-visual button{position:absolute;border:2px solid #fff2d3;background:#a54f35;color:#fff9e9;border-radius:50%;width:31px;height:31px;font-size:13px;font-weight:800;box-shadow:0 0 0 5px #ffd48a70}.ritual-visual button:nth-child(1){left:27%;top:44%}.ritual-visual button:nth-child(2){left:50%;top:31%}.ritual-visual button:nth-child(3){left:72%;top:62%}.ritual-visual button.chosen{background:#236b63}.ritual-content{min-width:0}.ritual-content h2{font:800 30px 'SimSun',serif;margin:4px 0 12px}.detail-row{display:grid;grid-template-columns:56px 1fr;gap:9px;padding:9px 0;border-bottom:1px solid #e6dfce;font-size:14px;line-height:1.55}.detail-row b{color:#a35437}.detail-row span{color:#4e6155}.observation-line{font-size:13px;color:#37635a;background:#e7f0e7;border-left:3px solid #5c9a89;margin:11px 0;padding:8px 10px}.lesson-actions{display:flex;gap:9px;margin-top:13px}.lesson-actions button,.primary-button{border:1px solid #a45136;background:#aa5138;color:white;border-radius:7px;padding:10px 15px;font-weight:800;font-size:13px}.lesson-actions button.secondary{background:#f5ead7;color:#7a553e;border-color:#cfab80}.mini-task{margin-top:17px;border-top:1px dashed #cfbea3;padding-top:13px}.mini-task b{display:block;font-size:15px;margin-bottom:8px}.mini-task button{border:1px solid #c8d8c9;background:#e9f2e8;border-radius:6px;padding:8px 13px;margin-right:7px;font-size:13px}.mini-task button.selected{background:#245d59;color:#fff}.mini-task p{font-size:13px;margin:9px 0 0;color:#5e705f}.alt-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px}.topic-list{display:grid;gap:8px}.topic-list button{display:block;width:100%;text-align:left;border:1px solid #d9d2bc;background:#f9f4e8;border-radius:7px;padding:13px 15px;color:#2e4d44}.topic-list button.active{border-color:#2e746c;background:#e6f0e8}.topic-list button b,.topic-list button small{display:block}.topic-list button small{font-size:12px;color:#7e7d6d;margin-top:4px}.topic-detail{background:#f2f4eb;border-radius:8px;padding:18px}.topic-detail h2{font:800 25px 'SimSun',serif;margin:5px 0 13px}.topic-detail p{font-size:14px;line-height:1.6}.topic-detail dl{display:grid;grid-template-columns:75px 1fr;gap:9px;font-size:13px}.topic-detail dt{font-weight:800;color:#9a573d}.topic-detail dd{margin:0}
.action-grid{display:grid;grid-template-columns:130px minmax(0,1fr) 365px;gap:16px}.phase-list{display:grid;align-content:start;gap:8px}.phase-list button{border:1px solid #cdd6c6;background:#f2f4ea;border-radius:7px;padding:12px;color:#28564c;text-align:left;font-weight:800}.phase-list button.active{background:#255d5a;color:#fff}.phase-list button small{display:block;font-size:11px;opacity:.75;margin-top:3px}.frame-display{height:442px;border:1px solid #c8ac83;border-radius:8px;background:#f0e1c6;overflow:hidden;position:relative}.frame-image{height:100%;background:url('assets/illustrated-paddle.png') no-repeat;background-size:300% auto;background-position-y:center}.frame-display[data-phase='0'] .frame-image{background-position-x:0}.frame-display[data-phase='1'] .frame-image{background-position-x:50%}.frame-display[data-phase='2'] .frame-image{background-position-x:100%}.frame-caption{position:absolute;bottom:11px;left:11px;background:#fff8e8ec;color:#31574b;padding:7px 10px;border-radius:4px;font-size:13px}.action-info h2{font:800 27px 'SimSun',serif;margin:5px 0 12px}.action-info .detail-row{grid-template-columns:54px 1fr;padding:8px 0}.self-check{margin-top:14px;background:#eaf0e7;border-radius:8px;padding:12px}.self-check b{font-size:14px}.self-check label{display:block;font-size:13px;margin-top:9px;color:#425f53}.self-check input{margin-right:5px}.self-check button{margin-top:12px;border:1px solid #a65539;background:#fff7e9;color:#995038;border-radius:6px;padding:8px 10px;font-size:12px;font-weight:800}.self-check button.saved{background:#245d59;color:#fff}.action-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:15px;color:#6b7b70;font-size:13px}.action-bottom button{border:1px solid #b9cdbd;background:#e7efe6;border-radius:6px;color:#2c5e51;padding:9px 14px;font-weight:800}
.rhythm-grid{display:grid;grid-template-columns:1fr 330px;gap:17px}.rhythm-deck{min-height:400px;background:linear-gradient(180deg,#f8f0dc 0 50%,#b3d8d1 50% 100%);border:1px solid #d1c3a4;border-radius:9px;padding:23px;position:relative}.rhythm-deck h2{font:800 29px 'SimSun',serif;margin:5px 0}.beat-track{display:flex;justify-content:space-around;gap:8px;margin:80px 0 46px}.beat-track span{width:42px;height:42px;border-radius:50%;background:#d4b47f;border:4px solid #fff7e5;box-shadow:0 5px 10px #335a5670}.beat-track span.on{background:#b24c33;transform:scale(1.12)}.beat-track span.hit{background:#278d75}.beat-track span.missed{background:#8a9da1}.tap-button{display:block;width:210px;height:85px;margin:auto;border:4px solid #fff0cd;border-radius:50px;background:#a94d35;color:white;font-size:21px;font-weight:800;box-shadow:0 8px 0 #803b2e}.tap-button:active{transform:translateY(5px);box-shadow:0 3px 0 #803b2e}.rhythm-control{padding:20px;background:#f3f4e9;border-radius:9px}.rhythm-control label{display:block;font-size:13px;color:#566c60}.rhythm-control select{display:block;width:100%;padding:10px;margin:7px 0 17px;border:1px solid #b9cbbc;background:white;border-radius:6px}.rhythm-control button{width:100%;border:0;background:#255d59;color:white;padding:11px;border-radius:7px;font-weight:800}.rhythm-result{margin-top:16px;border-top:1px solid #ced8cb;padding-top:14px;font-size:14px;line-height:1.7}.rhythm-result b{color:#a65338}.injury-grid{display:grid;grid-template-columns:210px 1fr;gap:18px}.injury-list{display:grid;align-content:start;gap:8px}.injury-list button{border:1px solid #ced8c9;background:#eef3e9;padding:12px;text-align:left;border-radius:7px;color:#31574d}.injury-list button.active{background:#255d59;color:white}.injury-detail{padding:19px;background:#f5f4e9;border-radius:8px}.injury-detail h2{font:800 27px 'SimSun',serif}.injury-detail .detail-row{grid-template-columns:90px 1fr}.report-coach{display:inline-block;margin-top:18px;background:#a54f38;color:white;padding:10px 14px;border-radius:6px;font-size:13px;font-weight:800}
.race-layout-b{display:grid;grid-template-columns:39% 1fr;gap:17px}.lane-board{border:1px solid #c1d5cf;border-radius:9px;background:#e5f1eb;padding:20px}.lane-board h2{font:800 25px 'SimSun',serif;margin:5px 0 10px}.lane{height:64px;background:repeating-linear-gradient(90deg,#8fc6c4 0 35px,#a6d4d0 36px 70px);border-top:3px dashed #f6f6d9;display:flex;align-items:center;padding:0 15px;gap:15px;color:#194e53;font-weight:800}.lane b{width:60px}.lane.focus{background:repeating-linear-gradient(90deg,#4b9fa1 0 35px,#6eb3b3 36px 70px);color:#fff}.lane-event{display:inline-block;background:#b24e35;color:white;border-radius:5px;padding:6px 10px;font-size:12px}.judge-card{padding:22px;border:1px solid #d7cbb1;background:#fff9ed;border-radius:9px}.judge-card h2{font:800 26px 'SimSun',serif;margin:8px 0 13px}.judge-card p{font-size:15px;line-height:1.6}.judge-meta{display:flex;gap:12px;color:#8f603f;font-size:12px}.judge-posts{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin:14px 0}.judge-posts button,.judge-options button{border:1px solid #c6d4c6;background:#eaf0e8;color:#315b50;border-radius:6px;padding:9px;font-size:13px;font-weight:800}.judge-posts button.active,.judge-options button.active{background:#255d59;color:#fff}.judge-start{width:100%;margin-top:8px}.judge-task{border-top:1px solid #e1d7c5;margin-top:17px;padding-top:14px}.judge-timer{display:flex;justify-content:space-between;color:#a95237;font-weight:800;font-size:14px}.judge-options{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:13px 0}.judge-options button:disabled{opacity:.62;cursor:default}.judge-feedback{padding:12px;background:#e9f2e7;border-left:4px solid #2f8271;font-size:13px;line-height:1.65}.judge-feedback.bad{background:#fae9e0;border-color:#b05b42}.judge-feedback b{display:block}.judge-feedback small{color:#7c6b5d}.judge-next{margin-top:12px}.race-summary{margin-top:14px;background:#f2f3e9;padding:13px;border-radius:8px;font-size:13px;color:#526b5b}
@media(max-width:1100px){.home-tools{width:80px;right:8px}.home-tools button{min-height:70px}.home-tools img{width:38px;height:38px}.home-tools img.coach-icon{width:38px;height:38px}.home-tools span:last-child{font-size:10px}.scene-race{left:61%}.action-grid{grid-template-columns:105px minmax(0,1fr) 300px}.frame-display{height:405px}.ritual-grid{grid-template-columns:40% 1fr}}
@media(max-width:680px){.home-tools{top:auto;left:0;right:0;bottom:0;width:auto;display:grid;grid-template-columns:repeat(5,1fr);gap:0;background:#533a2beb;border-top:3px solid #cfa46e;padding:5px}.home-tools button{min-height:50px;background:none;border:0;border-right:1px solid #e6c79570;border-radius:0;box-shadow:none;color:#fff5df}.home-tools button:last-child{border-right:0}.home-tools img,.home-tools img.coach-icon{width:25px;height:25px}.tool-icon{width:25px;height:25px;font-size:17px;margin:0 auto;background:none;color:#f1c789}.home-tools span:last-child{font-size:9px}.scene-race{left:55%;top:37%}.learn-wrap{padding:18px 10px}.module-heading{display:block}.module-heading h1{font-size:27px}.module-progress{display:inline-block;margin-top:10px}.subnav{overflow:auto}.subnav button{white-space:nowrap;padding:9px 12px;font-size:13px}.study-surface{padding:12px}.ritual-steps{gap:3px}.ritual-steps button{font-size:11px;padding:6px 2px}.ritual-steps button span{font-size:9px}.ritual-grid,.alt-layout,.rhythm-grid,.injury-grid,.race-layout-b{grid-template-columns:1fr}.ritual-visual{height:230px}.action-grid{grid-template-columns:1fr}.phase-list{grid-template-columns:repeat(3,1fr)}.phase-list button{font-size:12px;padding:8px}.frame-display{height:330px}.frame-image{background-size:300% auto}.beat-track{margin:50px 0 30px}.beat-track span{width:28px;height:28px}.rhythm-deck{min-height:310px}.judge-posts{grid-template-columns:repeat(2,1fr)}.judge-options{grid-template-columns:repeat(2,1fr)}}

.study-frame{width:100%;height:100%;object-fit:contain;background:#eef1e8}
.frame-display{height:auto;aspect-ratio:16/9}
.evidence-row{border-top:1px solid #b8cec3;padding:20px 0;display:grid;grid-template-columns:55px 1fr;gap:12px;line-height:1.65}
.evidence-row b{font-variant-numeric:tabular-nums;color:#365f58}
.judge-posts[hidden]{display:none}
.practice-links,.recent-cases{display:grid;gap:10px;line-height:1.6}
.practice-links button,.recent-cases button{width:100%;text-align:left}
.recent-cases .referee-record-link{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px;padding:12px 14px}
.referee-record-link span{grid-column:1;font-size:15px}
.referee-record-link small{grid-column:2;grid-row:1 / 3;font-size:13px;color:#49665c}
.recent-cases details summary{cursor:pointer;padding:8px 0}
@media(max-width:620px){.referee-record-link small{grid-column:1;grid-row:auto}}
.detail-row,.self-check label,.mini-task p,.help-text,.lesson-actions button{font-size:15px}
.home-tools span:last-child{font-size:13px}
.ritual-visual button:focus-visible,.home button:focus-visible{outline:3px solid white;outline-offset:2px}
@media(max-width:680px){
.home-tools{inset:65px 7px auto auto;width:67px;display:flex;flex-direction:column;gap:7px;background:none;border:0;padding:0}
.home-tools button,.home-tools button:last-child{border:1px solid #8f8769;background:#fff5deef;color:#254942;border-radius:8px;min-height:48px;padding:3px}
.home-tools span:last-child{font-size:12px}
.home-tools .tool-icon{color:#875239}
.scene-race{left:37%;top:46%}.scene-skill{left:26%;top:59%}.scene-culture{left:8%;top:72%}
.ritual-steps button{font-size:14px}.ritual-steps button span{font-size:11px}}

.ritual-visual:after{content:'船棚器材 · 点击编号观察'} .ritual-visual button:nth-child(1){left:39%;top:43%}.ritual-visual button:nth-child(2){left:60%;top:54%}.ritual-visual button:nth-child(3){left:92%;top:61%}
.observation-sheet{background:#e7eee3;padding:24px;border-radius:8px}.observation-sheet h2{font-size:28px;margin:8px 0}.observation-sheet p,.observation-sheet label{font-size:15px;line-height:1.65}.observation-sheet button{background:#fff9e9;border:1px solid #bac7b4;border-radius:5px;padding:8px 12px;margin:3px}.observation-sheet button.chosen{background:#275c55;color:white}.observation-sheet label{display:grid;margin-top:20px;gap:6px}.observation-sheet textarea{resize:vertical;padding:10px;border:1px solid #bac7b4;border-radius:5px;font:inherit}

/* Align the three course entrances with the boathouse, dock and drum tower. */
.home-art{background-image:url('assets/harbor-watercolor.png')}
.home-vignette{background:radial-gradient(ellipse 28% 20% at top left,#294d4266,transparent)}
@media(min-aspect-ratio:1/1){
  .scene-culture{left:9%;top:57%}
  .scene-skill{left:42%;top:75%}
  .scene-race{left:68%;top:44%}
}

