.aikakone {
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px clamp(16px, 4vw, 40px) 48px;
}
.aikakone .header { text-align: left; padding-left: 0; padding-right: 0; }
.aikakone h1 { color: var(--cyan); }
.aikakone .sub { max-width: 42rem; color: var(--muted); }
.aikakone-search { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; }
.aikakone-search .field { flex: 1 1 240px; margin: 0; }
.aikakone-suggest {
  list-style: none;
  margin: 8px 0 0;
  padding: 6px;
  background: var(--dark);
  border: 1px solid rgba(242,242,242,0.12);
  border-radius: 14px;
}
.aikakone-suggest button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--text);
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  cursor: pointer;
}
.aikakone-suggest button:hover,
.aikakone-suggest button:focus-visible { background: rgba(242,242,242,0.06); }
.aikakone-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.aikakone-chips button {
  background: rgba(0,180,255,0.1);
  color: var(--text);
  border: 1px solid rgba(0,180,255,0.28);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.aikakone-chips button:hover,
.aikakone-chips button:focus-visible { border-color: var(--orange); }
.aikakone-empty { margin: 18px 0; color: var(--muted); }
.aikakone-stage { margin-top: 8px; }
.aikakone-frame {
  position: relative;
  width: min(960px, 100%);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  border-radius: 18px;
  background: #07080b;
  border: 1px solid rgba(242,242,242,0.08);
}
.aikakone-map {
  position: absolute;
  inset: 0;
}
.aikakone-clip {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.aikakone-map-old {
  top: 0;
  left: 0;
  right: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
}
.aikakone-frame .maplibregl-map { width: 100%; height: 100%; }
.aikakone-frame .maplibregl-ctrl-logo { z-index: 4; }
.aikakone-attrib {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  max-width: calc(100% - 16px);
}
.aikakone-attrib-btn {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 4px;
  padding: 0;
  background: rgba(7, 8, 12, 0.88);
  color: rgba(242, 242, 242, 0.9);
  font: 700 13px/22px Georgia, "Times New Roman", serif;
  cursor: pointer;
}
.aikakone-attrib-text {
  margin: 0;
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(7, 8, 12, 0.88);
  color: rgba(242, 242, 242, 0.86);
  font-size: 11px;
  line-height: 1.35;
}
.aikakone-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  margin-left: -22px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: ew-resize;
  touch-action: none;
  z-index: 3;
}
.aikakone-handle::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #fff;
}
.aikakone-handle::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
.aikakone-handle:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.aikakone-time { margin-top: 16px; width: min(960px, 100%); }
.aikakone-time-labels {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  margin-bottom: 8px;
  min-height: 1.2em;
}
.aikakone-time-track {
  position: relative;
  height: 36px;
  border-radius: 999px;
  background: rgba(242,242,242,0.08);
}
.aikakone-time-range {
  position: absolute;
  top: 14px;
  height: 8px;
  border-radius: 999px;
  background: rgba(254,80,0,0.85);
}
.aikakone-time-ticks {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.aikakone-time-ticks.is-single { justify-content: center; }
.aikakone-tick {
  width: 2px;
  height: 10px;
  background: rgba(242,242,242,0.7);
}
.aikakone-thumb {
  position: absolute;
  top: 4px;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  border-radius: 50%;
  border: 2px solid #0A0A0C;
  background: #fff;
  padding: 0;
  cursor: grab;
  touch-action: none;
  z-index: 2;
}
.aikakone-thumb-b { background: var(--orange); }
.aikakone-thumb:focus-visible { outline: 2px solid var(--cyan); }
.aikakone .status { min-height: 1.4em; margin: 8px 0 12px; color: var(--muted); }
