/* Telling Time online (assets/play/clock.js) */
.ck { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 6px 0 4px; }
.ck-prompt { display: flex; align-items: center; justify-content: center; min-height: 120px; transition: transform .2s; }
.ck-prompt.ok { transform: scale(1.03); }
.ck-clock { width: 300px; height: 300px; touch-action: none; user-select: none; -webkit-user-select: none; }
.ck-set ~ .ck-help, .ck-prompt.ck-set .ck-clock { cursor: grab; }
.ck-face { fill: #fff; stroke: var(--navy); stroke-width: 8; filter: drop-shadow(0 6px 0 var(--navy)); }
.ck-ht { stroke: var(--navy); stroke-width: 4; stroke-linecap: round; }
.ck-mt { stroke: #9aa8bb; stroke-width: 2; stroke-linecap: round; }
.ck-num { font: 800 34px var(--display); fill: var(--navy); text-anchor: middle; }
.ck-hh { stroke: var(--red); stroke-width: 13; stroke-linecap: round; }
.ck-mh { stroke: var(--blue); stroke-width: 8; stroke-linecap: round; }
.ck-hub { fill: var(--navy); }
.ck-knob { fill: var(--blue); stroke: #fff; stroke-width: 4; filter: drop-shadow(0 0 0 var(--navy)); cursor: grab; }
.ck-sweep { fill: #ffd23f; fill-opacity: .55; }
.ck-ghost { stroke: var(--blue); stroke-opacity: .35; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 10 9; }
.ck-prompt { flex-direction: column; gap: 10px; }
.ck-task { font: 800 1.5rem/1.2 var(--display); color: var(--navy); background: #fff3d6; border-radius: 14px; padding: 6px 16px 4px;
  box-shadow: 0 0 0 2px var(--navy); }
.ck-task b { color: var(--red); }
.ck-choice small { display: block; font-size: .45em; margin-top: 2px; }
.ck-choice b { display: block; }
.ck-big { font: 800 3rem/1.1 var(--display); color: var(--red); background: #fff; border-radius: 22px; padding: 18px 28px 12px; text-align: center;
  box-shadow: 0 0 0 3px var(--navy), 0 6px 0 var(--navy); max-width: 90vw; }
.ck-big.digital { font-size: 4.6rem; letter-spacing: 2px; }
.ck-area { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.ck-choices { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ck-choice { min-width: 120px; height: 84px; padding: 0 16px; border: 0; border-radius: 20px; background: #fff8e7; color: var(--navy);
  font: 800 2.6rem/1 var(--display); cursor: pointer; box-shadow: 0 0 0 3px var(--navy), 0 6px 0 var(--navy);
  transition: transform .1s, background .2s; touch-action: manipulation; position: relative; }
.ck-choice:nth-child(2) { background: #e7f4ff; }
.ck-choice:nth-child(3) { background: #ffe7ec; }
.ck-choice:active { transform: translateY(4px); box-shadow: 0 0 0 3px var(--navy), 0 2px 0 var(--navy); }
.ck-choices.clocks .ck-choice { width: 150px; height: 150px; min-width: 0; padding: 8px; background: #fff; }
.ck-mini { width: 100%; height: 100%; pointer-events: none; }
.ck-mini .ck-face { stroke-width: 10; filter: none; }
.ck-mini .ck-num { font-size: 36px; }
.ck-mini .ck-hh { stroke-width: 18; }
.ck-mini .ck-mh { stroke-width: 12; }
.ck-mini .ck-ht { stroke-width: 6; }
.ck-choice.ok { background: var(--green, #22b573) !important; color: #fff; animation: pop .35s ease-out; }
.ck-choice.no { background: #eef0f3 !important; color: #b6bcc6; box-shadow: 0 0 0 3px #c9ced6; cursor: default; }
.ck-choice.no::after { content: ""; position: absolute; left: 14%; right: 14%; top: 50%; height: 5px; border-radius: 3px; background: var(--red);
  transform: rotate(-20deg); }
.ck-choice.no svg { opacity: .35; }
.ck-set { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.ck-hr { font-weight: 800; }
.ck-help { margin: 0; font: 700 .95rem var(--body); color: var(--muted); text-align: center; }
.ck-help .blue { color: var(--blue); }
.ck-help .red { color: var(--red); }
.g-bubble mark.ck-key { background: #ffe58a; color: var(--navy); border-radius: 6px; padding: 0 4px; font-weight: 800; white-space: nowrap; }
@media (max-width: 600px) {
  .ck-clock { width: 260px; height: 260px; }
  .ck-big { font-size: 2.3rem; padding: 14px 18px 10px; }
  .ck-big.digital { font-size: 3.4rem; }
  .ck-task { font-size: 1.25rem; }
  .ck-choices { gap: 8px; }
  .ck-choice { min-width: 0; flex: 1 1 0; max-width: 112px; height: 72px; padding: 0 6px; font-size: 2rem; border-radius: 16px; }
  .ck-choices { width: 100%; max-width: 360px; flex-wrap: nowrap; }
  .ck-choices.clocks .ck-choice { width: auto; height: auto; aspect-ratio: 1; max-width: 108px; padding: 5px; }
  .ck-set { gap: 6px; }
  .ck-set .g-btn { padding: 8px 12px; font-size: .95rem; }
}
