.rx-locket [hidden] { display: none !important; }
.rx-locket-studio {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr);
  border: 1px solid var(--rx-line);
  background: #15181d;
  color: #edf0f6;
}
.rx-locket-studio button {
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid #444c58;
  background: #191e26;
  color: #edf0f6;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 560;
  line-height: 1.3;
  cursor: pointer;
  transition: color .18s, background-color .18s, border-color .18s;
}
.rx-locket-studio button:is(:hover, [aria-pressed="true"]):not(:disabled) {
  border-color: #769bff;
  background: #254a9d;
  color: white;
}
.rx-locket-studio :is(button, a, input):focus-visible { outline: 2px solid #b9cdff; outline-offset: 2px; }
.rx-locket-studio button:disabled { opacity: .55; cursor: default; }
.rx-locket-modes, .rx-locket-apps { display: grid; gap: 6px; }
.rx-locket-modes { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 8px; }
.rx-locket-figure { margin: 0; }
.rx-locket-stage {
  height: clamp(290px, 38vw, 535px);
  background-color: #11151a;
  background-image: radial-gradient(ellipse at 50% 44%, #303945 0%, #11151a 73%);
}
.rx-locket-stage img { object-fit: cover; }
.rx-locket-stage [data-locket-launch] {
  position: absolute;
  inset: auto auto 12px 12px;
  border-color: #97a8bd;
  background: #f2f4fa;
  color: #172135;
}
.rx-locket-figure figcaption { min-height: 52px; padding: 12px 14px; color: #c9d3e5; font-size: .8rem; }
.rx-locket-mechanics { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border-top: 1px solid #444c58; }
.rx-locket-console { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: clamp(14px, 2.4vw, 28px); border-left: 1px solid #444c58; background: #212834; }
.rx-locket-console h3 { margin: 0; color: #f3f6ff; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.rx-locket-shell {
  width: min(100%, 245px);
  padding: 8px;
  border: 1px solid #727f93;
  border-radius: 38px;
  background: linear-gradient(137deg, #aeb9c9, #454e60 31%, #263042 76%, #92a2bd);
  box-shadow: 0 14px 28px #0609108c;
}
.rx-locket-display {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 268px;
  border: 1px solid #080b12;
  border-radius: 30px;
  background: #0d1422;
  color: #f5f8ff;
}
.rx-locket-system { display: flex; justify-content: space-between; gap: 8px; padding: 12px 13px 0; color: #a7bddf; font: 560 .62rem/1.2 ui-monospace, monospace; }
.rx-locket-face { display: grid; flex: 1; align-content: center; gap: 7px; padding: 9px 14px 16px; }
.rx-locket-screen-label { margin: 0; color: #b5ccfa; font-size: .72rem; line-height: 1.24; }
.rx-locket-clock { color: #f5f8ff; font-size: clamp(2rem, 5vw, 3.4rem); line-height: .98; font-weight: 550; font-variant-numeric: tabular-nums; letter-spacing: -.07em; }
.rx-locket-headline { color: #f5f8ff; font-size: 1.18rem; line-height: 1.16; }
.rx-locket-screen-note { margin: 0; color: #d6dfed; font-size: .8rem; line-height: 1.25; }
.rx-locket-face :is(button, a) { display: grid; place-content: center; min-height: 44px; border-radius: 8px; padding-inline: 7px; text-align: center; text-decoration: none; }
.rx-locket-face a { border: 1px solid #769bff; background: #254a9d; color: #fff; font-size: .82rem; }
.rx-locket-face form { display: grid; gap: 8px; }
.rx-locket-face input { width: 3.4em; min-height: 44px; margin-left: .3em; border: 1px solid #7f96bd; border-radius: 5px; background: #181f2c; color: inherit; font: inherit; }
.rx-locket-face progress { width: 100%; accent-color: #90afff; }
.rx-locket-lid { display: grid; flex: 1; place-items: center; align-content: center; gap: 13px; border-radius: inherit; background: linear-gradient(160deg, #b0b8c3, #e4ebf4 45%, #8e99a8 100%); color: #162135; }
.rx-locket-lid span { display: block; width: 31px; height: 5px; border-radius: 4px; background: #3059a7; }
.rx-locket-lid p { margin: 0; font-size: .8rem; font-weight: 650; }
.rx-locket-apps { width: min(100%, 360px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rx-locket-note { min-height: 2.6em; margin: 0; color: #dce6fb; font-size: .82rem; line-height: 1.35; }
.rx-locket-hardware .rx-locket-note { padding: 10px 14px; }
.rx-locket-display.ringing { animation: locket-ring .55s ease-in-out alternate 5; }
.rx-locket-display.alarm-active { box-shadow: inset 0 0 0 3px #d49a6b; }
.rx-locket-downloads { margin-top: 18px; }
.rx-glasses-notes { align-items: stretch; justify-content: center; }
.rx-glasses-notes dl { margin: 0; }
.rx-glasses-notes dl > div { padding: 10px 0 13px; border-bottom: 1px solid #516077; }
.rx-glasses-notes dt { font-weight: 650; }
.rx-glasses-notes dd { margin: 6px 0 0; color: #d3def0; font-size: .85rem; line-height: 1.45; }
.rx-glasses-comparison { margin-top: 25px; }
.rx-glasses-comparison caption { text-align: left; font-weight: 600; padding-block: 11px; }
.rx-signal-poster { width: 100%; height: auto; aspect-ratio: 900 / 690; object-fit: contain; }
.rx-signal-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 9px; }
.rx-signal-form label { display: grid; gap: 5px; font-size: .8rem; }
.rx-signal-form select { min-height: 44px; width: 100%; padding: 6px; background: #131a26; color: #edf2ff; border: 1px solid #69758c; }
.rx-signal-form details { grid-column: 1 / -1; padding: 5px 0; font-size: .8rem; }
.rx-signal-form input { max-width: 100%; min-height: 44px; }
.rx-signal-form summary { cursor: pointer; }
.rx-signal-studio canvas { width: 100%; height: auto; }
@keyframes locket-ring { to { box-shadow: inset 0 0 0 4px #96b4ff; } }
@media (max-width: 760px) {
  .rx-locket-studio { grid-template-columns: minmax(0, 1fr); }
  .rx-locket-console { border-left: 0; border-top: 1px solid #444c58; }
  .rx-locket-stage { height: clamp(252px, 66vw, 470px); }
  .rx-locket-stage img { object-fit: contain; }
  .rx-locket-modes button { padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .rx-locket-studio button { transition: none; }
  .rx-locket-display.ringing { animation: none; box-shadow: inset 0 0 0 4px #96b4ff; }
}
.motion-paused .rx-locket-display.ringing { animation: none; box-shadow: inset 0 0 0 4px #96b4ff; }
