/* ============================================================
   Koliko je ura? — game specific styles
   ============================================================ */
:root { --chrome: 330px; --clock-cap: 360px; }

#precisions .chip.on { background: var(--sun); color: var(--ink); box-shadow: 0 5px 0 var(--sun-d); }
#notations .chip.on  { background: var(--grape); box-shadow: 0 5px 0 var(--grape-d); }
#notations .chip { line-height: 1.15; font-size: 1.05rem; }

.clock-holder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 6px 0 14px;
}

.clock {
  width: 100%;
  max-width: min(100%, calc(100vh  - var(--chrome)), var(--clock-cap));
  max-width: min(100%, calc(100dvh - var(--chrome)), var(--clock-cap));
  height: auto;
  filter: drop-shadow(0 8px 0 rgba(35,48,74,.10));
}
.clock .face { fill: #fff; stroke: var(--sky); stroke-width: 7; }
.clock .tick { stroke: var(--ink-soft); stroke-width: 3; stroke-linecap: round; }
.clock .tick.big { stroke: var(--ink); stroke-width: 5; }
.clock .num { fill: var(--ink); font-family: var(--font); font-weight: 700; font-size: 17px; text-anchor: middle; dominant-baseline: central; }
.clock .hand { stroke-linecap: round; transform-origin: 100px 100px; transition: transform .45s cubic-bezier(.3,.9,.4,1.2); }
.clock .hand.hour { stroke: var(--ink); stroke-width: 9; }
.clock .hand.minute { stroke: var(--coral); stroke-width: 6; }
.clock .pin { fill: var(--ink); }

.answer {
  font-family: var(--font);
  font-size: clamp(1.6rem, min(6vw, 7vh), 2.5rem);
  font-weight: 700;
  color: #fff;
  background: var(--sky);
  border: none;
  border-radius: 26px;
  padding: clamp(12px, 3vh, 26px) 6px;
  cursor: pointer;
  box-shadow: 0 8px 0 var(--sky-d);
  transition: transform .1s ease, box-shadow .1s ease, background .2s ease;
}
.answer:nth-child(2) { background: var(--grape); box-shadow: 0 8px 0 var(--grape-d); }
.answer:nth-child(3) { background: var(--coral); box-shadow: 0 8px 0 var(--coral-d); }
.answer:active { transform: translateY(6px); box-shadow: 0 2px 0 rgba(0,0,0,.2); }
.answer.correct { background: var(--mint) !important; box-shadow: 0 8px 0 var(--mint-d) !important; animation: pop .45s ease; }
.answer.wrong   { background: #C6CEDD !important; box-shadow: 0 8px 0 #A6B0C2 !important; }

.feedback {
  text-align: center;
  margin-top: 16px;
  min-height: 2.2em;
  font-size: clamp(1.1rem, 3.2vh, 1.6rem);
  font-weight: 600;
  color: var(--ink-soft);
}

@media (orientation: landscape) and (max-height: 560px) {
  :root { --chrome: 200px; --clock-cap: 230px; }
  .feedback { margin-top: 8px; min-height: 1.8em; }
}
@media (max-width: 480px) {
  :root { --chrome: 280px; --clock-cap: 300px; }
}
@media (orientation: landscape) and (max-height: 380px) {
  :root { --chrome: 150px; --clock-cap: 150px; }
  .answer { font-size: clamp(1rem, 5vh, 1.4rem); padding: 6px 4px; border-radius: 16px; }
  .feedback { margin-top: 6px; min-height: 1.3em; font-size: .9rem; }
  .clock-holder { padding: 2px 0 6px; }
}
