.discord-timestamp-page {
  --gt-bg: #f5f8fc;
  --gt-bg-soft: #eef4fb;
  --gt-panel: #ffffff;
  --gt-panel-strong: #f1f6fc;
  --gt-line: #d9e3f0;
  --gt-line-strong: #b7c8dd;
  --gt-text: #122044;
  --gt-muted: #54698f;
  --gt-subtle: #7083a2;
  --gt-accent: #315ff4;
  --gt-accent-strong: #2048dc;
  --gt-accent-soft: #edf2ff;
  --gt-success: #0797b7;
  --gt-success-soft: #e8faff;
  --gt-shadow: 0 20px 55px rgba(55, 83, 125, 0.1);
  color: var(--gt-text);
  background: radial-gradient(circle at 12% -10%, #edf6ff 0, transparent 34rem), var(--gt-bg);
}

.discord-timestamp-page .gt-header {
  border-bottom-color: #e3eaf3;
  background: rgba(255, 255, 255, 0.88);
}

.discord-timestamp-page .gt-brand,
.discord-timestamp-page .gt-brand-name,
.discord-timestamp-page .gt-nav a {
  color: var(--gt-text);
}

.discord-timestamp-page .gt-brand-mark {
  border-color: #cbd9ff;
  color: #1d4ed8;
  background: #eff3ff;
  box-shadow: none;
}

.discord-timestamp-page .gt-brand-kicker,
.discord-timestamp-page .gt-nav {
  color: var(--gt-muted);
}

.discord-timestamp-page .gt-language-link,
.discord-timestamp-page .gt-pill {
  border-color: var(--gt-line);
  color: var(--gt-muted);
  background: #fff;
}

.discord-timestamp-page .gt-title {
  max-width: 860px;
  color: var(--gt-text);
}

.discord-timestamp-page .gt-lead,
.discord-timestamp-page .gt-card-subtitle {
  color: var(--gt-muted);
}

.discord-timestamp-page .gt-lead strong,
.discord-timestamp-page .gt-card-title,
.discord-timestamp-page .gt-side-title,
.discord-timestamp-page .gt-section-title {
  color: var(--gt-text);
}

.discord-timestamp-page .gt-eyebrow {
  color: var(--gt-accent);
}

.discord-timestamp-page .gt-tool-card,
.discord-timestamp-page .gt-side-card {
  border-color: var(--gt-line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--gt-shadow);
}

.discord-timestamp-page .gt-side-card {
  box-shadow: 0 14px 36px rgba(55, 83, 125, 0.08);
}

.discord-timestamp-page .gt-field > span,
.discord-styles legend,
.discord-output h3,
.discord-privacy strong {
  color: var(--gt-text);
  font-size: 0.84rem;
  font-weight: 760;
}

.discord-timestamp-page .gt-field input,
.discord-timestamp-page .gt-field select {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 13px;
  border: 1px solid var(--gt-line-strong);
  border-radius: 10px;
  color: var(--gt-text);
  outline: none;
  background: #fff;
  font-size: 0.95rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.discord-timestamp-page .gt-field input:focus,
.discord-timestamp-page .gt-field select:focus {
  border-color: var(--gt-accent);
  box-shadow: 0 0 0 4px rgba(49, 95, 244, 0.14);
}

.discord-input-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 0.55fr) minmax(0, 1.4fr);
  gap: 14px;
}

.discord-styles {
  min-width: 0;
  margin: 27px 0 0;
  padding: 0;
  border: 0;
}

.discord-styles legend {
  margin-bottom: 11px;
  padding: 0;
}

.discord-style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.discord-style-option {
  display: block;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--gt-line);
  border-radius: 12px;
  color: var(--gt-text);
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.discord-style-option:hover {
  border-color: #9db3e5;
}

.discord-style-option:has(input:checked) {
  border-color: var(--gt-accent);
  background: #f4f7ff;
  box-shadow: 0 0 0 2px rgba(49, 95, 244, 0.12);
}

.discord-style-option input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.discord-style-top {
  display: flex;
  align-items: center;
  gap: 9px;
}

.discord-style-radio {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 2px solid #91a7ca;
  border-radius: 50%;
}

.discord-style-option:has(input:checked) .discord-style-radio {
  border-color: var(--gt-accent);
}

.discord-style-option:has(input:checked) .discord-style-radio::after {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gt-accent);
  content: "";
}

.discord-style-code {
  color: var(--gt-accent-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 800;
}

.discord-style-name {
  overflow: hidden;
  color: var(--gt-text);
  font-size: 0.81rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-style-description {
  display: block;
  margin-top: 7px;
  color: var(--gt-muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.discord-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--gt-muted);
  font-size: 0.82rem;
}

.discord-status[data-tone="error"] {
  color: #b4233c;
}

.discord-status[data-tone="success"] {
  color: #087e8f;
}

.discord-output {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #cfdef3;
  border-radius: 14px;
  background: #f5f8ff;
}

.discord-output-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.discord-output h3 {
  margin: 0;
}

.discord-output-heading p,
.discord-preview p,
.discord-privacy p {
  margin: 3px 0 0;
  color: var(--gt-muted);
  font-size: 0.78rem;
}

.discord-code {
  display: block;
  margin-top: 14px;
  padding: 13px 14px;
  overflow-x: auto;
  border: 1px solid var(--gt-line-strong);
  border-radius: 9px;
  color: #132651;
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.93rem;
  white-space: nowrap;
}

.discord-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #c5dcff;
  border-radius: 10px;
  background: #eaf3ff;
}

.discord-preview-label {
  flex: 0 0 auto;
  color: #4d6c9d;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: right;
}

.discord-privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #c8edf4;
  border-radius: 12px;
  background: #ecfbff;
}

.discord-privacy-icon {
  display: grid;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #0ba8c5;
  font-weight: 900;
}

.discord-disclaimer {
  margin: 14px 2px 0;
  color: var(--gt-subtle);
  font-size: 0.72rem;
  line-height: 1.5;
}

.discord-timestamp-page .gt-button-primary {
  border-color: var(--gt-accent);
  color: #fff;
  background: var(--gt-accent);
  box-shadow: 0 9px 18px rgba(49, 95, 244, 0.2);
}

.discord-timestamp-page .gt-button-primary:hover,
.discord-timestamp-page .gt-button-primary:focus-visible {
  border-color: var(--gt-accent-strong);
  background: var(--gt-accent-strong);
}

@media (max-width: 820px) {
  .discord-input-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discord-timezone-field {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .discord-style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .discord-input-grid,
  .discord-style-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .discord-timezone-field {
    grid-column: auto;
  }

  .discord-output-heading,
  .discord-preview {
    align-items: stretch;
    flex-direction: column;
  }

  .discord-output-heading .gt-button,
  .discord-preview-label {
    width: 100%;
    text-align: left;
  }
}
