:root {
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#252629;
  background:#f6f5f2;
  font-synthesis:none;
  --accent:#eb6d24;
  --line:#deddd7;
  --muted:#767873;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
button,input,select {
  font:inherit;
}
button,a,input,select {
  -webkit-tap-highlight-color:transparent;
}
button,a {
  touch-action:manipulation;
}
button {
  cursor:pointer;
}
button:disabled {
  cursor:default;
  opacity:.45;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline:3px solid #eb6d2470;
  outline-offset:3px;
}
a {
  color:inherit;
  text-decoration:none;
}
.workspace {
  max-width:1440px;
  margin:auto;
  padding:0 6% 40px;
}
.masthead {
  height:104px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
}
.brand {
  display:flex;
  align-items:center;
  font-size:19px;
  font-weight:850;
  letter-spacing:-.6px;
}
.brand-logo {
  width:200px;
  height:auto;
  display:block;
}
.brand-divider {
  width:1px;
  height:23px;
  margin:0 19px;
  background:#c9c9c3;
}
.product-name {
  font-size:15px;
  font-weight:450;
  letter-spacing:0;
}
.header-note,.eyebrow {
  font-size:10px;
  font-weight:650;
  letter-spacing:1.65px;
}
.header-note {
  color:#92938e;
}
.intro {
  padding:28px 0;
}
.intro .eyebrow {
  color:var(--accent);
}
h1 {
  font-size:28px;
  font-weight:550;
  line-height:1.15;
  letter-spacing:-.6px;
  margin:0;
}
.intro p {
  font-size:15px;
  color:var(--muted);
  margin:0;
  line-height:1.6;
}
.editor {
  display:grid;
  grid-template-columns:340px minmax(0,1fr);
  gap:52px;
}
.settings {
  border:1px solid var(--line);
  border-radius:12px;
  padding:27px;
  background:#fbfbf9;
}
.section-heading {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:24px;
}
.step {
  display:grid;
  place-items:center;
  font-size:10px;
  color:#92938c;
  border:1px solid var(--line);
  border-radius:50%;
  width:25px;
  height:25px;
}
h2 {
  font-size:15px;
  font-weight:600;
  margin:0;
}
.appearance-heading {
  padding-top:24px;
  border-top:1px solid var(--line);
  margin-top:23px;
}
label {
  display:block;
  font-size:12px;
  font-weight:550;
  margin:18px 0 9px;
}
input,select {
  min-width:0;
  width:100%;
  border:1px solid #d7d8d1;
  background:#fff;
  border-radius:6px;
  padding:12px;
  font-size:13px;
  color:#30322e;
}
select {
  height:43px;
  padding-right:26px;
}
.event-field {
  display:flex;
  gap:8px;
}
.event-field input {
  width:0;
  flex:1;
}
.event-field button {
  background:#292d2b;
  border:0;
  color:white;
  border-radius:6px;
  padding:0 14px;
  font-size:12px;
  white-space:nowrap;
}
.event-field button span {
  margin-left:9px;
  font-size:16px;
}
.field-hint {
  font-size:10px;
  line-height:1.6;
  margin:8px 0;
  color:#8a8c86;
}
.connection-message {
  font-size:11px;
  line-height:1.5;
  margin:10px 0 0;
  color:#697766;
  min-height:17px;
}
.connection-message.error {
  color:#b84628;
}
.color-fields {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.color-fields label {
  margin-top:0;
}
.color-control {
  display:flex;
  gap:9px;
  align-items:center;
  padding:7px;
  border:1px solid #d7d8d1;
  border-radius:6px;
  background:white;
}
.color-control input {
  width:27px;
  height:27px;
  border:0;
  padding:0;
  cursor:pointer;
  flex:none;
  border-radius:3px;
}
.color-control input::-webkit-color-swatch-wrapper {
  padding:0;
}
.color-control input::-webkit-color-swatch {
  border:1px solid #0002;
  border-radius:3px;
}
.color-control span {
  font-size:10px;
  color:#61645e;
  font-family:monospace;
}
.primary-button {
  width:100%;
  border:0;
  border-radius:6px;
  padding:14px 16px;
  background:var(--accent);
  color:white;
  font-size:13px;
  font-weight:600;
  margin-top:23px;
  display:flex;
  justify-content:space-between;
}
.preview-heading {
  height:34px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
}
.preview-heading .eyebrow {
  color:#72766f;
  font-size:10px;
}
.status {
  display:flex;
  align-items:center;
  gap:6px;
  color:#747a72;
  font-size:10px;
}
.status i {
  height:6px;
  width:6px;
  background:#a5aaa2;
  border-radius:50%;
}
.status.running i {
  background:#598a4b;
}
.clock-stage {
  background:#00ff00;
  color:#000000;
  min-height:250px;
  height:clamp(220px,24vw,330px);
  width:100%;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.clock {
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
  font-weight:500;
  line-height:1.2;
  display:flex;
  align-items:center;
  justify-content:center;
}
.clock .digit {
  display:inline-block;
  width:.68em;
  text-align:center;
}
.clock .separator {
  display:inline-block;
  width:.35em;
  text-align:center;
}
.race-summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:24px 0 20px;
}
.race-summary div {
  display:flex;
  flex-direction:column;
  gap:7px;
  min-width:0;
}
.race-summary span {
  color:#858880;
  font-size:11px;
  line-height:1.6;
}
.race-summary strong {
  font-size:17px;
  font-weight:500;
  line-height:1.4;
}
.race-summary .live-icon {
  font-size:27px;
  color:#a0a397;
  margin-left:15px;
}
.timing-details {
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  padding:17px 0 21px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.timing-details>span {
  display:flex;
  flex-direction:column;
  gap:7px;
  font-size:9px;
  letter-spacing:1px;
  color:#8b8d85;
}
.timing-details strong {
  font-size:11px;
  font-weight:450;
  letter-spacing:0;
  color:#50554d;
}
.share-panel {
  margin-top:24px;
}
.share-panel h2 {
  font-size:14px;
}
.share-panel p {
  font-size:11px;
  color:var(--muted);
  margin:8px 0 15px;
  line-height:1.5;
}
.share-field {
  margin-top:14px;
  display:flex;
  gap:8px;
}
.share-field input {
  flex:1;
  width:0;
  background:transparent;
  font-family:monospace;
  font-size:10px;
}
.share-field button {
  padding:0 15px;
  border:1px solid #cdcec7;
  border-radius:6px;
  background:transparent;
  font-size:11px;
  white-space:nowrap;
}
.sync-note {
  font-size:10px;
  color:#8a8c84;
  margin:19px 0 0;
  display:flex;
  align-items:center;
  gap:7px;
}
.sync-note span {
  font-size:15px;
}
footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid var(--line);
  margin:58px 0 0;
  padding:24px 0 30px;
  color:#95988e;
  font-size:10px;
}
footer span:first-child {
  font-size:10px;
  font-weight:650;
  letter-spacing:1px;
}
.display-mode {
  overflow:hidden;
}
.display-mode .workspace {
  display:none;
}
.display-mode>.clock-stage {
  position:fixed;
  inset:0;
  border-radius:0;
  height:100dvh;
  min-height:0;
}
.display-controls {
  position:fixed;
  right:20px;
  bottom:20px;
  display:flex;
  gap:8px;
  z-index:2;
  opacity:0;
  transition:opacity .2s;
}
.display-controls:hover,.display-controls:focus-within,.display-controls.is-visible {
  opacity:1;
}
.display-controls button,.display-controls a {
  font-size:12px;
  color:#fff;
  border:1px solid #ffffff40;
  background:#191919c9;
  padding:10px 14px;
  border-radius:6px;
}
.display-message {
  position:fixed;
  z-index:2;
  left:20px;
  bottom:20px;
  max-width:min(500px,calc(100vw - 40px));
  font-size:12px;
  background:#191919d9;
  color:#eee;
  border-radius:6px;
  padding:10px 14px;
  line-height:1.5;
}
.display-message:empty {
  display:none;
}
[hidden] {
  display:none!important;
}
@media(min-width:1500px) {
  .workspace {
    padding:0 80px;
  }
}
@media(max-width:1000px) {
  .workspace {
    padding:0 5%;
  }
  .editor {
    grid-template-columns:310px minmax(0,1fr);
    gap:26px;
  }
  .settings {
    padding:22px;
  }
  .header-note {
    display:none;
  }
  .clock-stage {
    min-height:220px;
  }
  .share-field {
    flex-wrap:wrap;
  }
  .share-field button {
    min-height:38px;
  }
  .timing-details {
    gap:16px;
  }
}
@media(max-width:740px) {
  .masthead {
    height:80px;
  }
  .intro {
    padding:35px 0 28px;
  }
  h1 {
    letter-spacing:-1px;
  }
  .intro p {
    font-size:13px;
  }
  .editor {
    display:flex;
    flex-direction:column;
    gap:28px;
  }
  .preview-panel {
    order:-1;
  }
  .clock-stage {
    height:230px;
  }
  .race-summary {
    margin:16px 0;
  }
  .timing-details {
    padding:13px 0;
  }
  .share-panel {
    margin-top:20px;
  }
  .sync-note {
    margin-top:12px;
  }
  .settings {
    padding:24px;
  }
  .share-field {
    flex-wrap:nowrap;
  }
  .product-name {
    font-size:12px;
  }
  .brand-logo {
    width:165px;
  }
  .brand-divider {
    margin:0 12px;
  }
  .display-controls {
    right:12px;
    bottom:12px;
  }
  .display-message {
    bottom:64px;
  }
  .display-mode>.clock-stage {
    height:100dvh;
  }
  footer {
    margin-top:35px;
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important;
  }
}
