.clocks-board{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px;background:radial-gradient(circle,#273b4a,#101d29);touch-action:manipulation}.clock-card{width:calc((100% - 16px)/3);min-width:0;min-height:44px;padding:12px 5px;display:flex;flex-direction:column;gap:12px;align-items:center;background:#233341;border-color:#6d7f8f;border-radius:18px;color:#fff}.clock-name{font-size:clamp(10px,3cqw,16px);white-space:nowrap}.clock-face{display:grid;place-items:center;position:relative;width:100%;aspect-ratio:1;border:2px solid #95a5b2;border-radius:50%;background:repeating-conic-gradient(from -2deg,#91a8ba 0deg 4deg,transparent 4deg calc(360deg / var(--marks)))}.clock-face::before{content:'';position:absolute;inset:7px;border-radius:50%;background:#172734}.clock-hand{position:absolute;left:calc(50% - 2px);bottom:50%;width:4px;height:36%;background:#f3cf87;transform-origin:50% 100%;transform:rotate(var(--angle));border-radius:3px}.clock-value{z-index:1;font-size:clamp(19px,7cqw,38px);line-height:1;background:#172734d9;border-radius:50%;padding:4px;color:#fff}.clock-target{font-size:clamp(10px,3cqw,15px);color:#ffd598;border:1px dashed #bf9c61;border-radius:8px;padding:3px 8px;white-space:nowrap}.clock-card.matched{border-color:#9ceacb;background:#284939}.clock-card.is-hint,.clocks-controls .is-hint{outline:3px solid #ffd598;outline-offset:2px}.clock-card:disabled{opacity:1}.clocks-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.clocks-controls button{font-size:13px;padding:5px}.clocks-help{width:min(680px,calc(100vw - 24px));max-height:calc(100svh - 32px);padding:0;border:1px solid #8196aa;border-radius:20px;background:#172831;color:#ecf5f2;overflow:hidden}.clocks-help[open]{display:flex;flex-direction:column}.clocks-help::backdrop{background:#050d17bd;backdrop-filter:blur(5px)}@media(min-width:640px) and (max-height:600px){.clock-card{gap:6px;padding:8px 4px}}@media(max-height:500px) and (max-width:639px){.clock-card{gap:3px;padding:3px}.clock-name{font-size:10px}.clock-target{padding:1px 3px;font-size:10px}}

.clock-effect{font-size:clamp(10px,2.5cqw,13px);color:#b7d5e6;line-height:1.2}.clocks-board .clock-card{gap:8px}@media(max-height:500px) and (max-width:639px){.clocks-board .clock-card{gap:3px}}
.clocks-head-actions{display:flex;gap:4px}.clocks-page .echo-app{grid-template-rows:44px minmax(0,1fr)}.clocks-page .echo-header button{min-height:44px;padding:5px 7px;font-size:11px}.clocks-page .echo-header{gap:6px}.clocks-page .echo-header h1{font-size:15px}.clocks-game{grid-template-rows:40px 32px 20px minmax(0,1fr) 70px 44px 46px 44px}.clocks-preview{display:grid;grid-template-columns:1fr auto;grid-template-rows:18px 1fr;gap:4px 8px;overflow:hidden}.clocks-preview>small{font-size:10px;grid-column:1/-1;color:#a7bbc2}.clocks-preview>span{font-size:11px;line-height:1.3;align-self:center;overflow-wrap:anywhere}.clocks-preview>div{display:flex;gap:5px}.clocks-preview button{min-height:44px;padding:5px 8px;font-size:11px}.clock-card.is-selected{outline:3px solid #9ceacb;outline-offset:1px}.clock-card.is-affected{border:2px dashed #ffd598}.clocks-controls [aria-pressed=true]{background:#3e6054;border-color:#9ceacb}.clocks-page .echo-status{font-size:12px;line-height:1.35}.clocks-lesson{max-width:600px}.lesson-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:20px 0}.lesson-board button{min-height:90px;padding:10px 5px;font-size:14px;line-height:1.8}.lesson-board [aria-pressed=true]{outline:3px solid #ffd598}.lesson-actions{display:flex;gap:10px;margin:18px 0}.lesson-actions button{min-height:44px;flex:1}.clocks-lesson p{font-size:14px;line-height:1.7}.clocks-lesson h2{font-size:18px}@media(min-width:640px) and (max-height:600px){.clocks-game{grid-template-rows:34px 26px 18px 70px minmax(0,1fr) 44px 44px}.clocks-preview{grid-column:2;grid-row:4}}@media(max-width:380px){.clocks-preview button{padding:5px;font-size:10px}.clocks-head-actions{gap:3px}.clocks-page .echo-header>a{font-size:10px}.clocks-page .echo-header h1{font-size:14px}}@media(max-height:600px) and (max-width:639px){.clock-face{display:none}.clock-card{gap:4px!important;padding:5px;min-height:44px}.clock-value{font-size:22px}.clock-name{font-size:10px}.clock-target{font-size:10px}.clock-effect{font-size:10px}.clocks-game{gap:4px;padding:8px;grid-template-rows:32px 28px 18px minmax(0,1fr) 66px 38px 44px 44px}.clock-card::before{content:attr(data-value);font-size:22px;line-height:1}.clocks-lesson .lesson-board button{min-height:60px}}
