
/* Workbook entry is the card itself; the favorite remains a separate control. */
.book-tile14{position:relative;min-width:0;min-height:0;border:1px solid #e4e7ee;border-radius:19px;overflow:hidden;background:white;transition:box-shadow .2s,transform .2s}
.book-tile14:hover{box-shadow:0 6px 20px #34356212;transform:translateY(-2px)}
.book-link14{display:grid;grid-template-rows:minmax(83px,1fr) 65px;width:100%;height:100%;text-align:left;background:transparent;border:0;padding:0;overflow:hidden;color:inherit}
.book-link14:focus-visible{outline:3px solid #6861ec;outline-offset:-3px}
.book-art14{position:relative;min-height:0;padding:15px 54px 12px 19px;background:linear-gradient(125deg,color-mix(in srgb,var(--book-color) 80%,white),color-mix(in srgb,var(--book-color) 98%,#0b183b));color:white;overflow:hidden}
.book-art14:after{content:'';position:absolute;right:-18px;bottom:-50px;width:180px;height:150px;border:22px solid #ffffff14;border-radius:35%;transform:rotate(-25deg);pointer-events:none}
.book-art14>span{font-size:11px;display:block;opacity:.9}.book-art14 i{font-style:normal;opacity:.8}.book-art14 h2{font-size:18px;line-height:1.3;margin:8px 0 5px;font-weight:800;letter-spacing:-.65px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.book-art14>b{font-size:11px;font-weight:600;opacity:.8}.book-art14 em{position:absolute;font-size:57px;right:14px;bottom:0;opacity:.13;font-weight:900;font-style:normal;line-height:1}
.book-bottom14{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:10px 15px}.book-bottom14>div{min-width:0}.book-bottom14 strong{font-size:13px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.book-bottom14 span{font-size:11px;color:#80859a;display:block;margin-top:5px}.book-bottom14 i{font-style:normal;margin:0 4px;color:#c5c8d3}.book-bottom14 .book-arrow14{border-radius:50%;background:#f1f2fa;width:28px;height:28px;display:grid;place-items:center;font-size:18px;color:#5f5bc7;flex-shrink:0;margin:0}
.book-favorite14{position:absolute;right:11px;top:11px;width:33px;height:33px;display:grid;place-items:center;border:1px solid #ffffff5c;border-radius:12px;background:#ffffff22;color:white;padding:6px;backdrop-filter:blur(5px)}.book-favorite14 svg,.book-star11 svg{width:22px;height:22px;fill:none}.book-favorite14.active{background:#fff;color:#df9c21}.book-favorite14.active svg,.book-star11.active svg{fill:#ffc85e}.book-favorite14 small{position:absolute;top:30px;font-size:9px;white-space:nowrap}.book-star11{border-radius:12px!important;display:grid;place-items:center}
#sprintTimeFill11{width:100%!important;transform-origin:left center;transition:none!important;animation:none!important;will-change:transform}.sprint-clock11 .urgent14 i{background:#f08059}
.puzzle14{display:grid;gap:12px;width:100%;max-width:660px;margin:0 auto;padding:15px;border-radius:18px;background:#f7f8fc;border:1px solid #e7eaf4;min-width:0}.puzzle14 header{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}.puzzle14 header b{color:#6863d9}.puzzle14 .puzzle-hint14{margin:0;font-size:13px;color:#767b8e;text-align:center}.puzzle-tools14{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap}.puzzle-tools14 button{border:1px solid #dedfec;background:white;border-radius:10px;padding:8px 12px;font-size:12px}.puzzle-tools14 button:disabled{opacity:.35}.route14{display:grid;grid-template-columns:repeat(var(--n),1fr);gap:6px;width:min(100%,320px);margin:auto;aspect-ratio:1}.route14 button{border:1px solid #e2e6ef;border-radius:11px;background:white;min-width:0;min-height:0;padding:0;position:relative;color:#7271cf;font-size:19px}.route14 button.wall14{background:repeating-linear-gradient(45deg,#dfe3ee,#dfe3ee 5px,#e8ebf3 5px,#e8ebf3 10px);border-color:transparent}.route14 button.trail14{background:#e1dffd}.route14 button.robot14{background:#6c65db;color:white;border-color:#6c65db;box-shadow:0 4px 10px #6c65db30}.puzzle-path14{font-size:12px;letter-spacing:3px;min-height:16px;text-align:center;color:#8586a4;overflow-wrap:anywhere;margin:0}.parcel-pool14,.parcel-order14{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;min-height:62px;padding:10px;border-radius:13px}.parcel-order14{background:#e9e8f8;border:1px dashed #b9b4e5}.parcel14{width:53px;height:49px;border-radius:12px;background:white;border:1px solid #d9d7ed;font-weight:800;color:#665ead;font-size:20px;box-shadow:0 2px 0 #d9d7ed}.parcel14 small{font-size:10px;font-weight:500;display:block}.parcel14:disabled{opacity:.35}.parcel-rules14{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.parcel-rules14 span{background:white;border-radius:20px;padding:5px 12px;font-size:12px;color:#676784}.signal14{display:flex;justify-content:center;gap:12px;padding:10px 0}.signal14 button{width:54px;height:72px;border-radius:16px;border:1px solid #dedfec;background:white;font-size:11px;color:#7b7f93}.lamp14{width:27px;height:27px;background:#d8dce8;border:3px solid #c8cedd;border-radius:50%;margin:0 auto 7px;display:block}.lamp14.on14{background:#a49aee;border-color:#8174dc;box-shadow:0 0 15px #ac9fed55}.signal14.target14{align-items:center;padding:0}.signal14.target14 .lamp14{width:19px;height:19px;margin:0}.puzzle14+input{display:none}
.contest-value14{display:flex;gap:9px;justify-content:space-between;background:#f6f5fc;padding:11px 13px;border-radius:12px;font-size:11px;color:#797892}.contest-value14 b{display:block;font-size:17px;color:#6057b8;margin-top:4px}.contest-card8 .contest-value14{margin:10px 0}.contest-card8 h2{font-size:18px}.contest-card8 .contest-meta8{gap:5px}.contest14-rules{font-size:12px;line-height:1.7;color:#7a7d91}.contest14-tags{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.contest14-tags span{border-radius:8px;background:#f0eefb;color:#6f62ae;padding:6px 10px;font-size:12px}.contest14-toolbar{display:flex;gap:8px;align-items:center}.password14{display:grid;gap:15px}.password14 label{display:grid;gap:8px}.password14 input{padding:13px;border:1px solid #dbdeeb;border-radius:12px}.result-list14{display:grid;gap:8px;margin:20px 0;max-height:430px;overflow:auto}.result-row14{display:grid;grid-template-columns:30px 46px minmax(90px,1fr) auto;gap:10px;align-items:center;padding:11px 12px;border-radius:14px;border:1px solid #ebeaf3}.result-row14.winner14{background:#f8f6ff;border-color:#e3dcf7}.result-row14.self14{outline:1px solid #bab0ee}.result-row14>b{color:#8b83bd}.result-row14>div>strong{font-size:14px;display:block}.result-row14>div>small{font-size:11px;color:#8b8c9e;display:block;margin-top:3px}.result-score14{text-align:right}.result-score14>b{font-size:15px}.result-score14>span{display:block;font-size:11px;color:#aa812f;margin-top:4px}.result-avatar14{height:44px;width:44px;border:0;border-radius:50%;background:#e9e6f6;position:relative;overflow:hidden;padding:0;display:block}.result-avatar14 .avatar-stage{position:absolute!important;width:110px!important;height:165px!important;max-width:none!important;left:50%!important;top:-5px!important;transform:translateX(-50%)!important;margin:0!important}.contest14-editor{display:grid;gap:13px}.contest14-editor .two-col{gap:12px}.contest14-editor label{font-size:12px}.payout-grid14{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.contest-pick14{display:grid;gap:5px;max-height:230px;overflow:auto;padding:5px}.contest-pick14 label{display:flex;align-items:center;gap:10px;padding:7px 9px;border-radius:8px;background:#f8f8fc}.contest-pick14 label input{width:16px;height:16px;flex-shrink:0}.contest-pick14 label span{font-size:12px}.contest14-editor details{border:1px solid #e6e7ee;padding:12px;border-radius:12px}.contest14-editor summary{cursor:pointer;font-size:13px;font-weight:700}.contest14-editor details[open] summary{margin-bottom:12px}.contest14-error{color:#ca5868;font-size:12px;margin:0;min-height:17px}
.teacher-plan14{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 17px;border:1px solid #e4dff5;border-radius:15px;background:linear-gradient(110deg,#f6f3ff,#fcfbff);margin-bottom:12px}.teacher-plan14 b{color:#7563c8;font-size:14px}.teacher-plan14 small{color:#8b849f;font-size:11px;margin-left:10px}.teacher-plan14 button{font-size:12px}.plans-table14{width:100%;border-collapse:collapse;font-size:12px;margin:16px 0}.plans-table14 th,.plans-table14 td{padding:12px 6px;border-bottom:1px solid #eeedf4;text-align:center}.plans-table14 th:first-child,.plans-table14 td:first-child{text-align:left;color:#747084}.plans-table14 thead{color:#7867c5}.teacher-wallet14{background:#f7f4ff;border-radius:16px;padding:17px;display:flex;justify-content:space-between;align-items:center;gap:10px}.teacher-wallet14 b{font-size:22px;color:#7361c4}.teacher-wallet14 small{display:block;font-size:11px;color:#8c859c;margin-top:5px}.pay-review14{display:grid;gap:14px;padding:15px;background:#f7f6fb;border-radius:14px}.pay-review14>div{display:flex;justify-content:space-between;font-size:13px}.pay-review14>div:last-child{padding-top:13px;border-top:1px solid #e3e0ee;font-weight:700}.teacher-prices14{display:flex;gap:10px}.teacher-prices14 .btn{flex:1}.result-hero14{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0}.result-hero14 h3{font-size:23px;margin:4px 0}.result-hero14 p{font-size:12px;color:#85839b;margin:0}
@media(max-width:760px){.book-link14{grid-template-rows:minmax(76px,1fr) 58px}.book-art14{padding:12px 50px 9px 15px}.book-art14 h2{font-size:17px;margin:5px 0}.book-art14>b{display:none}.book-bottom14{padding:9px 13px}.book-bottom14 strong{font-size:12px}.book-bottom14 span{font-size:10px}.teacher-plan14 small{display:none}.puzzle14{padding:10px;gap:9px}.route14{max-width:255px}.result-row14{grid-template-columns:20px 40px minmax(65px,1fr) auto;gap:7px;padding:9px}.result-avatar14{width:38px;height:38px}.result-row14>div>strong{font-size:12px}.result-score14>b{font-size:12px}.contest14-toolbar{flex-wrap:wrap}.payout-grid14{grid-template-columns:repeat(2,1fr)}}
.result-avatar14 .cogo-avatar{position:absolute!important;width:105px!important;height:158px!important;max-width:none!important;left:50%!important;top:-5px!important;transform:translateX(-50%)!important;margin:0!important}.result-full-avatar14{text-align:center;display:grid;justify-items:center;gap:12px}.result-full-avatar14>.cogo-avatar{width:190px;height:285px;margin:0}.result-full-avatar14 h3{margin:0}.contest-card8{min-height:0}.contests9 .contest-card8{padding:17px}.contests9 .contest-card8>p{margin:6px 0;font-size:12px}.contests9 .contest-card8 h2{margin:10px 0 6px}.contests9 .contest-value14{padding:8px 11px;margin:10px 0}.contests9 .contest-meta8{margin-bottom:0}
/* Keep the board and its controls within the solving panel. */
.bebras-board7:has(.puzzle14){padding:0!important;background:transparent;border:0}.puzzle14{max-width:590px;gap:8px;padding:12px}.route14{width:var(--route-size14,240px);height:var(--route-size14,240px);grid-template-rows:repeat(var(--n),minmax(0,1fr));aspect-ratio:auto}.route14 button{height:auto!important;min-height:0!important;padding:0!important}.puzzle14 .puzzle-tools14 button{min-height:29px;padding:5px 12px}.puzzle14 .puzzle-path14{line-height:16px;max-height:32px;overflow:hidden}.result-avatar14 .cogo-avatar{inset:0!important;width:100%!important;height:100%!important;transform:none!important}.result-avatar14 .cogo-avatar>img{transform:scale(2.2)!important;transform-origin:50% 22%!important}.result-full-avatar14>.cogo-avatar{height:190px}.contests9 .contest-card8{gap:7px!important;overflow:hidden}.contests9 .contest-card8>*{flex-shrink:0}.contests9 .contest-card8 .btn{margin-top:auto}.contests9 .contest-card8 h2{margin:4px 0!important;line-height:1.25}.contests9 .contest-card8 .contest-value14{margin:5px 0!important}.result-list14{max-height:none}.result-row14{padding:8px 10px}.result-hero14{padding:9px 0}.result-hero14 h3{font-size:20px}
@media(max-width:760px){.puzzle14{padding:9px;gap:7px}.puzzle14 .puzzle-tools14 button{padding:5px 10px}.puzzle14 header{font-size:11px}.route14{gap:4px}.route14 button{border-radius:8px}.result-hero14{display:block}.result-hero14 .badge{margin-top:7px}.result-list14{gap:5px;margin:12px 0}.contest-value14 b{font-size:14px}}
@media(max-width:360px){.contests9 .contest-card8{padding:12px!important;gap:4px!important}.contests9 .contest-card8 .contest-value14{padding:7px 9px}.contests9 .contest-card8 h2{font-size:16px!important}.contests9 .contest-card8>p{line-height:1.4}.contests9 .contest-meta8{gap:3px}.contests9 .contest-meta8 span{font-size:10px;padding:5px 6px}.contest-value14{font-size:10px}.result-row14{padding:7px;gap:6px}.result-hero14 h3{font-size:17px}}
#modal a.lecture-watch14{display:flex!important;align-items:center;justify-content:center;gap:8px;background:#4054dc!important;color:#fff!important;font-size:15px!important;font-weight:750;min-height:46px;text-decoration:none!important;opacity:1!important}#modal a.lecture-watch14>span{display:inline!important;color:#fff!important;font-size:15px!important;visibility:visible!important;opacity:1!important}#modal a.lecture-watch14>.icon{width:17px;height:17px;color:white}

