:root {
  color-scheme: dark;
  --page: #0c0f14;
  --surface: #12161d;
  --border: #272d36;
  --muted: #909aa9;
  --text: #edf0f5;
  --accent: #b8efcf;
  --clock-color: #e8ede7;
  --clock-scale: 1;
  --photo-shade: 0.4;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
label,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
button {
  touch-action: manipulation;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.site-header {
  max-width: 1600px;
  margin: auto;
  height: 101px;
  padding: 0 4.2%;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #222730;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 33px;
  font-weight: 700;
  letter-spacing: -1.7px;
  line-height: 1;
}
.brand svg {
  width: 29px;
  height: 29px;
  color: var(--accent);
  stroke-width: 1.6;
}
.brand-point {
  color: var(--accent);
  margin-left: -11px;
}
.brand-caption {
  color: var(--muted);
  font-size: 14px;
  border-left: 1px solid var(--border);
  padding-left: 27px;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.local-badge {
  color: #98a69e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.7px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--muted);
  border-radius: 8px;
}
.icon-button:hover {
  background: #252c35;
  color: var(--text);
}
.workspace {
  max-width: 1600px;
  margin: 0 auto;
  padding: 43px 4.2% 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 322px;
  gap: 38px;
  align-items: start;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  margin-bottom: 25px;
  gap: 16px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.2px;
  color: var(--muted);
  margin: 0 0 10px;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -1.1px;
  margin: 0;
}
h1 > span {
  color: var(--accent);
}
.preview-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  padding-top: 25px;
  white-space: nowrap;
}
.preview-label > span {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.clock-stage {
  container-type: inline-size;
  isolation: isolate;
  position: relative;
  min-height: 400px;
  aspect-ratio: 1.96;
  display: flex;
  flex-direction: column;
  border: 1px solid #2a3338;
  border-radius: 16px;
  overflow: hidden;
  color: var(--clock-color);
  background-color: #11171a;
  background-image: radial-gradient(#ffffff09 0.8px, transparent 0.8px);
  background-size: 18px 18px;
  transition:
    background-color 0.3s,
    color 0.25s;
}
.clock-stage[data-background="aurora"],
.bg-aurora,
.preset-aurora {
  background:
    radial-gradient(ellipse at 5% 100%, #1b6961 0, transparent 65%),
    radial-gradient(ellipse at 100% 0%, #40375f 0, transparent 65%), #142733;
}
.clock-stage[data-background="dusk"],
.bg-dusk {
  background:
    radial-gradient(ellipse at 85% 100%, #935e47, transparent 70%),
    radial-gradient(ellipse at 0% 0%, #292c61, transparent 80%), #362b42;
}
.clock-stage[data-background="solid"] {
  background-image: none;
}
.photo-layer,
.stage-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.photo-layer {
  background-size: cover;
  background-position: center;
}
.stage-shade {
  background: rgb(0 0 0 / var(--photo-shade));
  z-index: -1;
  display: none;
}
.clock-stage[data-background="photo"] .stage-shade {
  display: block;
}
.clock-stage:not([data-background="photo"]) .photo-layer {
  display: none;
}
.stage-top,
.stage-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 28px;
  font-size: 12px;
  gap: 12px;
  opacity: 0.65;
}
.stage-top > span:last-child {
  font-size: 11px;
  letter-spacing: 0.3px;
}
.stage-location {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stage-location svg {
  width: 15px;
  height: 15px;
}
.clock-center {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-width: 0;
  padding: 16px 18px 22px;
}
.clock-overline {
  font-size: 10px;
  letter-spacing: 3.5px;
  margin: 0 0 16px;
  opacity: 0.55;
}
.time-wrap {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 100%;
  gap: 10px;
}
.digital-time {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.055em;
  font-size: calc(16.5cqw * var(--clock-scale));
  font-weight: 400;
  line-height: 1.16;
  white-space: nowrap;
  font-family: Arial, Helvetica, sans-serif;
}
.colon {
  padding: 0 0.045em;
  opacity: 0.5;
  position: relative;
  top: -0.05em;
}
.seconds-group {
  display: flex;
  align-items: baseline;
}
.day-period {
  font-size: clamp(12px, 2cqw, 24px);
  opacity: 0.7;
  margin-left: 2px;
}
.clock-date {
  font-size: 14px;
  margin: 20px 0 0;
  letter-spacing: 1px;
  opacity: 0.65;
  text-align: center;
}
.stage-signature {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -1.5px;
  opacity: 0.6;
}
.stage-signature > span {
  color: var(--accent);
}
.stage-bottom {
  margin-top: 0;
  margin-bottom: 19px;
}
.stage-fullscreen {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  font-size: 11px;
}
.stage-fullscreen svg {
  width: 15px;
  height: 15px;
}
kbd {
  font-family: inherit;
  font-size: 10px;
  border: 1px solid currentColor;
  opacity: 0.55;
  border-radius: 4px;
  min-width: 20px;
  display: inline-block;
  padding: 1px 4px;
  text-align: center;
}
.day-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #ffffff08;
}
.day-progress > span {
  display: block;
  height: 100%;
  background: var(--clock-color);
  opacity: 0.45;
  width: 0;
  transition: width 1s linear;
}
.clock-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  padding: 16px 2px 0;
  font-size: 11px;
  gap: 12px;
}
.sync-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  padding: 2px 0;
  text-align: left;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cbb792;
}
.sync-status[data-synced="true"] .status-dot {
  background: var(--accent);
}
.sync-status svg {
  width: 13px;
  height: 13px;
  opacity: 0.5;
}
.presets-section {
  margin-top: 36px;
}
.presets-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  gap: 15px;
}
.presets-heading h2 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}
.presets-heading > span {
  font-size: 11px;
  color: var(--muted);
}
.preset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.preset {
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 5px;
  text-align: left;
  transition:
    border-color 0.2s,
    transform 0.2s;
  min-width: 0;
}
.preset:hover {
  border-color: #67796f;
  transform: translateY(-2px);
}
.preset.selected {
  border-color: #819d8d;
}
.preset-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 86px;
  border-radius: 6px;
  font-size: 29px;
  letter-spacing: -1.3px;
  font-variant-numeric: tabular-nums;
}
.preset-preview > span:not(.terminal-cursor) {
  opacity: 0.45;
}
.preset-essential {
  color: #e8ede7;
  background: #161e20;
}
.preset-aurora {
  color: #e7ecff;
}
.preset-paper {
  font-family: Georgia, serif;
  color: #49473f;
  background: #e7e4da;
}
.preset-terminal {
  font-family: Consolas, monospace;
  color: #b8efcf;
  background: #101b16;
  font-size: 24px;
}
.terminal-cursor {
  font-size: 20px;
  opacity: 0.6;
}
.preset-name {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 7px 5px;
  color: #b7c0cc;
}
.preset-name svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  visibility: hidden;
}
.preset.selected .preset-name svg {
  visibility: visible;
}
.customizer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-top: 6px;
  overflow: hidden;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 20px;
  gap: 12px;
}
.panel-heading > div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.panel-heading svg {
  color: #aab6c3;
  width: 17px;
  height: 17px;
}
.panel-heading h2 {
  font-size: 15px;
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.2px;
}
.saved-label {
  font-size: 10px;
  color: #81998b;
  display: flex;
  gap: 5px;
  align-items: center;
}
.saved-label svg {
  width: 12px;
  height: 12px;
  color: inherit;
}
.panel-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 22px;
  gap: 28px;
}
.panel-tabs button {
  font-size: 13px;
  color: var(--muted);
  padding: 0 0 13px;
  position: relative;
}
.panel-tabs button[aria-selected="true"] {
  color: var(--accent);
}
.panel-tabs button[aria-selected="true"]:after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--accent);
  bottom: -1px;
  left: 0;
  right: 0;
}
.panel-content {
  padding: 23px 22px 20px;
  min-height: 483px;
}
.control-group {
  border: 0;
  padding: 0;
  margin: 0 0 25px;
  min-width: 0;
}
.control-group legend,
.control-group > label,
.range-group > label {
  font-size: 12px;
  padding: 0;
  margin-bottom: 11px;
  color: #c1c9d4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.control-group legend > span,
.range-group > label > span {
  font-size: 10px;
  color: #85919e;
}
.font-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.font-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 3px 8px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 9px;
  color: var(--muted);
  min-width: 0;
}
.font-option > span {
  font-size: 25px;
  line-height: 1.2;
  color: #d4dce4;
}
.font-option.selected {
  background: #b8efcf0b;
  border-color: #8da997;
  color: var(--accent);
}
.font-option.selected > span {
  color: var(--accent);
}
.font-sans {
  font-family: Arial, sans-serif;
}
.font-mono {
  font-family: Consolas, monospace;
}
.font-serif {
  font-family: Georgia, serif;
}
.font-rounded {
  font-family: "Trebuchet MS", sans-serif;
  font-weight: 700;
}
.color-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.color-swatch {
  background: var(--swatch);
  height: 26px;
  width: 26px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.color-swatch.selected:after {
  position: absolute;
  inset: -4px;
  content: "";
  border: 1px solid var(--swatch);
  border-radius: 50%;
}
.custom-color {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border: 1px dashed #64707b;
  border-radius: 50%;
  font-size: 18px;
  overflow: hidden;
  cursor: pointer;
}
.custom-color input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.background-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.background-tile {
  height: 67px;
  border: 1px solid #ffffff20;
  border-radius: 7px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 8px;
  font-size: 10px;
  color: #e2e7ed;
}
.background-tile.selected {
  outline: 1px solid #92b6a0;
  outline-offset: 2px;
}
.background-tile svg {
  width: 12px;
  height: 12px;
  visibility: hidden;
}
.background-tile.selected svg {
  visibility: visible;
}
.bg-midnight {
  background: #182125;
}
.background-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  gap: 9px;
}
.background-color-label,
.upload-button {
  font-size: 11px;
  color: #a7b1be;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}
.background-color-label input {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid #56616b;
  border-radius: 4px;
  background: none;
  overflow: hidden;
  cursor: pointer;
}
input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 2px;
}
.upload-button svg {
  width: 15px;
  height: 15px;
}
.upload-button:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.remove-photo,
.text-button {
  color: var(--accent);
  font-size: 11px;
  padding: 9px 0 0;
  text-align: left;
}
.size-range {
  display: flex;
  align-items: center;
  gap: 14px;
}
.size-range > span:first-child {
  font-size: 11px;
  color: var(--muted);
}
.size-range > span:last-child {
  font-size: 19px;
  color: var(--muted);
}
input[type="range"] {
  appearance: none;
  width: 100%;
  background: transparent;
  height: 20px;
  margin: 0;
  cursor: pointer;
  accent-color: var(--accent);
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  background: #485a52;
  border-radius: 10px;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: -4.5px;
}
input[type="range"]::-moz-range-track {
  height: 3px;
  background: #485a52;
}
input[type="range"]::-moz-range-thumb {
  height: 12px;
  width: 12px;
  border: 0;
  background: var(--accent);
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  font-size: 12px;
  color: #c1c9d4;
  gap: 14px;
  cursor: pointer;
  padding: 13px 0;
  border-top: 1px solid #232a33;
}
.control-hint {
  display: block;
  font-size: 10px;
  color: #84919f;
  line-height: 1.5;
  margin-top: 4px;
}
.toggle-row input {
  position: absolute;
  right: 0;
  width: 33px;
  height: 22px;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.switch {
  width: 31px;
  height: 18px;
  border-radius: 20px;
  background: #333d49;
  position: relative;
  flex-shrink: 0;
  pointer-events: none;
}
.switch:after {
  content: "";
  width: 12px;
  height: 12px;
  position: absolute;
  left: 3px;
  top: 3px;
  background: #a4aeba;
  border-radius: 50%;
  transition: transform 0.2s;
}
.toggle-row input:checked + .switch {
  background: var(--accent);
}
.toggle-row input:checked + .switch:after {
  background: #183b2b;
  transform: translateX(13px);
}
.toggle-row input:focus-visible + .switch {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.panel-footer {
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 17px 10px 22px;
  color: #809189;
  font-size: 10px;
}
.panel-footer > svg {
  width: 12px;
  height: 12px;
}
.panel-footer > button {
  margin-left: auto;
  width: 28px;
  height: 28px;
}
.panel-footer > button svg {
  width: 14px;
  height: 14px;
}
.segmented {
  display: flex;
  background: #0c1016;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 3px;
  gap: 3px;
}
.segmented button {
  flex: 1;
  min-width: 0;
  padding: 7px 3px;
  font-size: 11px;
  color: var(--muted);
  border-radius: 4px;
}
.segmented button.selected {
  background: #293730;
  color: var(--accent);
}
select {
  display: block;
  width: 100%;
  background: #0e131a;
  border: 1px solid var(--border);
  color: #d2dae3;
  border-radius: 7px;
  padding: 10px 9px;
  font-size: 12px;
  min-width: 0;
}
.site-footer {
  max-width: 1600px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  padding: 25px 4.2% 29px;
  gap: 20px;
  border-top: 1px solid #222730;
  font-size: 11px;
  color: #74808f;
}
.site-footer > button {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: inherit;
}
.site-footer svg {
  width: 15px;
  height: 15px;
}
.footer-note {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-note > span {
  font-size: 20px;
  color: #9bb9a5;
}
.quiet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 12px;
  color: #cbd4de;
  background: #171e26;
}
.quiet-button svg {
  width: 16px;
  height: 16px;
}
.mobile-customize {
  display: none;
}
.exit-focus {
  display: none;
}
.clock-stage[data-font="mono"] .digital-time {
  font-family: Consolas, "Courier New", monospace;
  letter-spacing: -0.07em;
  font-size: calc(15.7cqw * var(--clock-scale));
}
.clock-stage[data-font="serif"] .digital-time {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.045em;
}
.clock-stage[data-font="rounded"] .digital-time {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
}
.clock-stage.glow .digital-time,
.clock-stage.glow .analog-clock {
  filter: drop-shadow(
    0 0 16px color-mix(in srgb, var(--clock-color), transparent 60%)
  );
}
.clock-stage.blink .colon {
  animation: pulse 1s steps(1, end) infinite;
}
@keyframes pulse {
  0%,
  49% {
    opacity: 0.5;
  }
  50%,
  100% {
    opacity: 0.1;
  }
}
.led-digit {
  height: 1em;
  width: 0.58em;
  stroke: none;
  fill: currentColor;
  margin: 0 0.025em;
}
.led-digit .off {
  opacity: 0.07;
}
.clock-stage[data-style="led"] .digital-time {
  font-size: calc(14cqw * var(--clock-scale));
  gap: 0.045em;
  letter-spacing: 0;
}
.clock-stage[data-style="led"] #hours,
.clock-stage[data-style="led"] #minutes,
.clock-stage[data-style="led"] #seconds {
  display: flex;
  gap: 0.07em;
}
.analog-clock {
  width: calc(210px * var(--clock-scale));
  max-width: 65%;
  height: auto;
  overflow: visible;
  color: var(--clock-color);
}
.analog-clock text {
  fill: currentColor;
  stroke: none;
  text-anchor: middle;
  font: 13px Arial;
}
.dial-edge {
  stroke: currentColor;
  opacity: 0.2;
  stroke-width: 0.8;
}
.dial-tick {
  stroke: currentColor;
  opacity: 0.4;
}
.hour-hand,
.minute-hand {
  stroke-width: 4;
  stroke: currentColor;
}
.minute-hand {
  stroke-width: 2.5;
}
.second-hand {
  stroke-width: 1;
  stroke: currentColor;
  opacity: 0.5;
}
.dial-pin {
  fill: currentColor;
  stroke: none;
}
.clock-stage[data-style="analog"] .clock-center {
  padding: 0 18px 8px;
}
.clock-stage[data-style="analog"] .clock-overline {
  display: none;
}
.clock-stage[data-style="analog"] .clock-date {
  margin-top: 10px;
  font-size: 12px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  border: 1px solid #607a6b;
  border-radius: 10px;
  background: #1c2b23;
  color: #d7f2e3;
  font-size: 14px;
  z-index: 100;
  max-width: calc(100% - 32px);
  box-shadow: 0 12px 40px #0006;
}
.toast.error {
  background: #352528;
  color: #ffd9d9;
  border-color: #8e5960;
}
dialog {
  background: #151c24;
  color: var(--text);
  border: 1px solid #39434d;
  border-radius: 16px;
  padding: 27px;
  width: 460px;
  max-width: calc(100% - 32px);
  box-shadow: 0 30px 100px #0008;
}
dialog::backdrop {
  background: #020609bb;
  backdrop-filter: blur(6px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.dialog-heading h2 {
  font-size: 23px;
  font-weight: 500;
  margin: 0;
}
dialog p {
  font-size: 14px;
  color: #aebac8;
  line-height: 1.7;
}
dialog h3 {
  font-size: 14px;
  font-weight: 500;
  margin-top: 24px;
}
.sync-detail {
  padding: 1px 0 22px;
  border-bottom: 1px solid var(--border);
}
.shortcuts {
  font-size: 13px;
}
.shortcuts > div {
  display: flex;
  align-items: center;
  margin: 12px 0;
  gap: 15px;
}
.shortcuts dt {
  width: 30px;
}
.shortcuts dd {
  margin: 0;
  color: #aebac8;
}
.shortcuts kbd {
  font-size: 12px;
  opacity: 0.8;
}
dialog .dialog-note {
  font-size: 12px;
  color: #84919e;
}
.focus-mode {
  overflow: hidden;
}
.focus-mode .clock-stage {
  position: fixed;
  inset: 0;
  z-index: 50;
  width: 100vw;
  height: 100dvh;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
  min-height: 0;
}
.focus-mode .digital-time {
  font-size: calc(16.5cqw * var(--clock-scale));
}
.focus-mode .clock-stage[data-font="mono"] .digital-time {
  font-size: calc(15.7cqw * var(--clock-scale));
}
.focus-mode .clock-stage[data-style="led"] .digital-time {
  font-size: calc(14cqw * var(--clock-scale));
}
.focus-mode .analog-clock {
  width: min(calc(48vh * var(--clock-scale)), 65vw);
}
.focus-mode .stage-top {
  margin: 35px 40px;
}
.focus-mode .stage-bottom {
  margin: 20px 40px 30px;
}
.focus-mode .clock-overline {
  font-size: 12px;
}
.focus-mode .clock-date {
  font-size: clamp(14px, 1.5vw, 24px);
}
.focus-mode .stage-fullscreen {
  display: none;
}
.focus-mode .exit-focus {
  display: flex;
  position: absolute;
  bottom: 28px;
  right: 35px;
  align-items: center;
  gap: 10px;
  color: inherit;
  opacity: 0.65;
  font-size: 12px;
  padding: 8px;
}
.focus-mode .exit-focus svg {
  width: 15px;
  height: 15px;
}
@media (min-width: 1500px) {
  .clock-stage {
    min-height: 470px;
  }
  .workspace {
    gap: 45px;
    grid-template-columns: minmax(0, 1fr) 345px;
  }
  .panel-content {
    min-height: 529px;
  }
  .control-group {
    margin-bottom: 30px;
  }
  .preset-preview {
    height: 100px;
  }
}
@media (max-width: 1150px) {
  .workspace {
    gap: 24px;
    padding-left: 3%;
    padding-right: 3%;
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .site-header {
    padding: 0 3%;
  }
  .clock-stage {
    min-height: 365px;
  }
  .stage-top,
  .stage-bottom {
    margin-left: 20px;
    margin-right: 20px;
  }
  .presets-heading > span {
    display: none;
  }
  .preset-grid {
    gap: 8px;
  }
  .preset-preview {
    height: 75px;
    font-size: 24px;
  }
  .preset-terminal {
    font-size: 20px;
  }
  .panel-content {
    padding-left: 18px;
    padding-right: 18px;
  }
  .panel-heading {
    padding-left: 18px;
    padding-right: 18px;
  }
  .clock-date {
    font-size: 12px;
    letter-spacing: 0.5px;
  }
  .preview-label {
    font-size: 10px;
  }
  .stage-top > span:last-child {
    font-size: 10px;
  }
}
@media (max-width: 920px) {
  .workspace {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px 5%;
  }
  .site-header {
    padding: 0 5%;
    height: 85px;
  }
  .local-badge {
    display: none;
  }
  .section-heading {
    margin-bottom: 20px;
  }
  .clock-stage {
    min-height: 360px;
    aspect-ratio: 1.8;
  }
  .mobile-customize {
    display: flex;
    margin-left: auto;
  }
  .preview-label {
    display: none;
  }
  .presets-section {
    margin-top: 27px;
  }
  .customizer {
    margin-top: 0;
  }
  .panel-content {
    min-height: 0;
    padding: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 32px;
  }
  .control-group {
    margin: 0;
  }
  .toggle-row {
    align-self: center;
  }
  .panel-heading {
    padding: 20px 25px;
  }
  .panel-tabs {
    padding: 0 25px;
  }
  .panel-footer {
    padding-left: 25px;
  }
  .font-option {
    font-size: 11px;
  }
  .font-option > span {
    font-size: 29px;
  }
  .background-tile {
    height: 80px;
  }
  .site-footer {
    padding: 22px 5%;
  }
  .footer-note {
    display: none;
  }
  .preset-preview {
    height: 90px;
    font-size: 32px;
  }
  .preset-terminal {
    font-size: 26px;
  }
  .customizer {
    scroll-margin-top: 20px;
  }
  .panel-content .toggle-row {
    min-height: 50px;
  }
  .control-group legend,
  .control-group > label,
  .toggle-row {
    font-size: 14px;
  }
  .control-hint,
  .text-button,
  .background-tools label {
    font-size: 12px;
  }
  .segmented button,
  select {
    font-size: 13px;
  }
  .clock-meta,
  .sync-status {
    font-size: 12px;
  }
  .preset-name {
    font-size: 13px;
  }
  .stage-top,
  .stage-top > span:last-child {
    font-size: 12px;
  }
}
@media (max-width: 560px) {
  .site-header {
    height: 76px;
    gap: 16px;
  }
  .brand {
    font-size: 30px;
  }
  .brand svg {
    width: 26px;
    height: 26px;
  }
  .brand-caption {
    border: 0;
    padding: 0;
    font-size: 11px;
  }
  .header-actions {
    gap: 0;
  }
  .site-header .icon-button {
    width: 30px;
  }
  .workspace {
    padding: 24px 18px 28px;
  }
  .section-heading {
    min-height: 65px;
    gap: 10px;
  }
  h1 {
    font-size: 27px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .mobile-customize {
    font-size: 0;
    width: 38px;
    height: 38px;
    padding: 8px;
  }
  .mobile-customize svg {
    width: 18px;
    height: 18px;
  }
  .clock-stage {
    min-height: 320px;
    aspect-ratio: auto;
    border-radius: 12px;
  }
  .stage-top {
    margin: 18px 16px;
    gap: 6px;
  }
  .stage-top,
  .stage-top > span:last-child {
    font-size: 10px;
  }
  .stage-top > span:last-child {
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .stage-location svg {
    width: 12px;
    height: 12px;
  }
  .clock-center {
    padding: 12px 8px;
  }
  .clock-overline {
    font-size: 9px;
    letter-spacing: 2.5px;
    margin-bottom: 22px;
  }
  .digital-time {
    font-size: calc(17.5cqw * var(--clock-scale));
  }
  .clock-date {
    font-size: 11px;
    margin-top: 23px;
  }
  .stage-bottom {
    margin: 15px 16px;
  }
  .stage-fullscreen {
    font-size: 10px;
  }
  .stage-fullscreen kbd {
    display: none;
  }
  .clock-meta {
    font-size: 10px;
    align-items: center;
  }
  .sync-status {
    font-size: 10px;
    gap: 5px;
  }
  .presets-heading h2 {
    font-size: 13px;
  }
  .preset-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .preset-preview {
    height: 90px;
    font-size: 35px;
  }
  .preset-terminal {
    font-size: 28px;
  }
  .panel-content {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 22px;
  }
  .control-group legend,
  .control-group > label {
    font-size: 14px;
  }
  .font-option {
    font-size: 12px;
    padding: 14px 5px 10px;
  }
  .font-option > span {
    font-size: 32px;
  }
  .color-swatch {
    height: 30px;
    width: 30px;
  }
  .custom-color {
    height: 30px;
    width: 30px;
  }
  .background-tile {
    height: 85px;
    font-size: 12px;
  }
  .background-tools label {
    font-size: 12px;
  }
  .toggle-row {
    font-size: 14px;
  }
  .control-hint {
    font-size: 12px;
  }
  .panel-footer {
    font-size: 11px;
    padding-left: 22px;
  }
  .panel-heading h2 {
    font-size: 17px;
  }
  .panel-tabs button {
    font-size: 14px;
  }
  .saved-label {
    font-size: 11px;
  }
  .site-footer {
    font-size: 10px;
    gap: 12px;
    padding: 20px 18px;
  }
  .site-footer button {
    font-size: 10px;
  }
  .focus-mode .stage-top {
    margin: 25px 18px;
  }
  .focus-mode .stage-bottom {
    margin: 20px;
  }
  .focus-mode .exit-focus {
    right: 14px;
    bottom: 20px;
  }
  .focus-mode .clock-date {
    font-size: 14px;
    letter-spacing: 0.3px;
  }
  .focus-mode .clock-overline {
    font-size: 10px;
  }
  .analog-clock {
    width: 190px;
  }
  .clock-stage[data-style="analog"] {
    min-height: 370px;
  }
}
.studio {
  min-width: 0;
}
.clock-stage {
  width: 100%;
  min-width: 0;
}
.local-badge,
.eyebrow,
.clock-overline,
.preview-label,
.stage-top,
.stage-top > span:last-child,
.stage-fullscreen,
.clock-meta,
.sync-status,
.presets-heading > span,
.saved-label,
.control-group legend > span,
.range-group > label > span,
.control-hint,
.panel-footer,
.site-footer,
.site-footer > button {
  font-size: 12px;
}
.panel-heading h2 {
  font-size: 16px;
}
.panel-tabs button,
.control-group legend,
.control-group > label,
.range-group > label,
.toggle-row,
.presets-heading h2,
.preset-name,
.segmented button,
select {
  font-size: 14px;
}
.font-option,
.background-tile,
.background-color-label,
.upload-button,
.remove-photo,
.text-button {
  font-size: 12px;
}
.font-options {
  grid-template-columns: repeat(2, 1fr);
}
.font-option {
  flex-direction: row;
  justify-content: center;
  gap: 9px;
  padding: 10px 4px;
}
.font-option > span {
  font-size: 23px;
}
.panel-content {
  min-height: 510px;
}
.background-tools {
  flex-wrap: wrap;
}
.color-swatch {
  width: 28px;
  height: 28px;
}
.stage-top > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 45%;
}
.stage-location {
  min-width: 0;
}
.stage-location > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 1150px) {
  .preview-label {
    display: none;
  }
  .stage-top,
  .stage-top > span:last-child,
  .stage-fullscreen {
    font-size: 12px;
  }
  .preset-preview {
    font-size: 26px;
  }
  .preset-terminal {
    font-size: 20px;
  }
}
@media (max-width: 920px) {
  .panel-content {
    min-height: 0;
  }
  .font-options {
    grid-template-columns: repeat(4, 1fr);
  }
  .font-option {
    flex-direction: column;
  }
  .clock-stage {
    min-height: 350px;
  }
  .local-badge {
    display: none;
  }
}
@media (max-width: 560px) {
  .eyebrow {
    font-size: 10px;
  }
  .brand-caption {
    font-size: 12px;
  }
  .clock-meta,
  .sync-status {
    font-size: 11px;
  }
  .stage-top,
  .stage-top > span:last-child {
    font-size: 11px;
  }
  .clock-stage {
    min-height: 320px;
  }
  .clock-date {
    font-size: 12px;
  }
  .font-options {
    gap: 6px;
  }
  .font-option {
    font-size: 12px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .preset-preview {
    font-size: 32px;
  }
  .preset-terminal {
    font-size: 26px;
  }
  .clock-overline {
    font-size: 11px;
  }
  .panel-footer {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
