:root {
  --dq-blue: #0c91ed;
  --dq-blue-dark: #0077cf;
  --dq-blue-pale: #edf8ff;
  --ink: #0f2131;
  --muted: #697a89;
  --line: #bdccd8;
  --paper: #f7f9fb;
  --white: #fff;
}

.payment-result {
  width: min(680px, calc(100% - 40px));
  margin: 96px auto;
  padding: 52px;
  border: 1px solid #b8c9dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 34, 55, 0.08);
  color: #0f2237;
  font-family: "Microsoft JhengHei", sans-serif;
}

.payment-result-eyebrow {
  margin-bottom: 12px;
  color: #128cec;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
}

.payment-result h1 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.payment-result h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.25;
}

.support-panel.payment-result {
  margin: 0;
}

.payment-result-note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #d8e1eb;
  color: #6b7f96;
  font-size: 0.9rem;
}

.payment-result-link {
  display: inline-flex;
  margin-top: 22px;
  padding: 12px 24px;
  border-radius: 5px;
  background: #128cec;
  color: #fff;
  text-decoration: none;
}

.payment-result-link:hover {
  background: #0878ce;
  color: #fff;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #fafbfc;
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.coordinate-rail {
  position: fixed;
  z-index: 3;
  inset: 0 auto 0 0;
  width: 92px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 0;
  color: #4e6981;
  background: rgba(247, 249, 251, .9);
  font: 11px/1.2 Consolas, monospace;
}

.rail-cross {
  width: 48px;
  height: 50px;
  display: block;
}

.rail-coordinate {
  position: absolute;
  top: 19%;
  writing-mode: vertical-rl;
  letter-spacing: .05em;
}

.rail-coordinate--east {
  top: 31%;
}

.rail-arrow {
  position: absolute;
  top: 42%;
  font-size: 11px;
}

.rail-dq {
  position: absolute;
  top: 56%;
  display: grid;
  font-size: 13px;
}

.rail-dq::before {
  width: 28px;
  height: 1px;
  margin-bottom: 6px;
  content: "";
  background: var(--ink);
}

.rail-dq small {
  margin-top: 2px;
  color: #5f7890;
  font-size: 8px;
}

.rail-bars {
  position: absolute;
  bottom: 17%;
  width: 24px;
  height: 144px;
  display: block;
}

.site-header {
  min-height: 88px;
  margin-left: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(28px, 5vw, 76px) 14px 48px;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-weight: 800;
}

.brand-dq {
  font-size: 31px;
}

.brand-name {
  font-size: 25px;
  letter-spacing: .06em;
}

.brand small {
  position: absolute;
  bottom: -4px;
  left: 1px;
  color: var(--dq-blue);
  font: 8px/1 Consolas, monospace;
}

.history-link {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, .82);
  font-size: 13px;
}

.history-link:hover {
  border-color: var(--dq-blue);
  color: var(--dq-blue-dark);
}

.member-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.member-profile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
}

.member-profile-link:hover .member-name,
.member-profile-link:focus-visible .member-name {
  color: var(--dq-blue-dark);
}

.member-profile-link:focus-visible {
  outline: 3px solid rgba(12, 145, 237, .25);
  outline-offset: 4px;
}

.member-name {
  max-width: 160px;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-avatar {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: cover;
  border: 1px solid #d7e0e7;
  border-radius: 50%;
  background: #f2f6f9;
}

.member-link {
  color: var(--dq-blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.member-link:hover {
  text-decoration: underline;
}

.member-center > h2 {
  margin: 0 0 28px;
  font-size: 23px;
  letter-spacing: .04em;
}

.member-center {
  display: grid;
  gap: 22px;
}

.member-center > h2 {
  margin-bottom: 6px;
}

.member-center-message {
  margin: -4px 0 0;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
}

.member-center-message--success {
  color: #17643a;
  background: #eaf8f0;
}

.member-center-message--error {
  color: #a12f3f;
  background: #fff0f2;
}

.member-center-section {
  padding: 24px;
  border: 1px solid #d4e0e9;
  border-radius: 8px;
  background: #f8fbfd;
}

.member-center-section h3 {
  margin: 0 0 20px;
  color: var(--dq-blue-dark);
  font-size: 17px;
}

.member-profile-list {
  margin: 0;
}

.member-profile-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid #dce5ec;
}

.member-profile-row:first-child {
  padding-top: 0;
}

.member-profile-row dt {
  color: var(--muted);
  font-size: 13px;
}

.member-profile-row dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.member-account-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-account-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid var(--dq-blue);
  border-radius: 6px;
  color: var(--white);
  background: var(--dq-blue);
  font-size: 14px;
  font-weight: 800;
}

.member-account-button:hover {
  background: var(--dq-blue-dark);
}

.member-account-button--secondary {
  color: var(--dq-blue-dark);
  background: var(--white);
}

.member-account-button--secondary:hover {
  color: var(--white);
}

.donation-history {
  display: grid;
  gap: 28px;
}

.donation-history-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.donation-history-heading h2,
.donation-history-details h3 {
  margin: 0;
  color: var(--ink);
}

.donation-history-eyebrow {
  margin: 0 0 5px;
  color: var(--dq-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.donation-history-back {
  flex: 0 0 auto;
  color: var(--dq-blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.donation-history-tabs {
  display: flex;
  gap: 7px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line);
}

.donation-history-tab {
  min-width: 78px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  color: var(--muted);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.donation-history-tab:hover {
  color: var(--dq-blue-dark);
  background: #f2f7fb;
}

.donation-history-tab.is-active {
  margin-bottom: -1px;
  border-color: var(--line);
  border-bottom: 1px solid var(--white);
  color: var(--dq-blue);
  background: var(--white);
}

.donation-history-total {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 7px;
  padding: 28px 30px;
  border-radius: 9px;
  color: var(--white);
  background: linear-gradient(125deg, var(--dq-blue-dark), var(--dq-blue));
}

.donation-history-total::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  translate: 0 -52%;
  color: rgba(255, 255, 255, .15);
  font-size: 112px;
  font-weight: 200;
  line-height: 1;
}

.donation-history-total p,
.donation-history-total small {
  position: relative;
  z-index: 1;
  margin: 0;
}

.donation-history-total p {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}

.donation-history-total strong {
  position: relative;
  z-index: 1;
  font-size: clamp(38px, 7vw, 62px);
  line-height: 1.1;
}

.donation-history-total strong span,
.donation-history-amount span {
  font-size: .42em;
  letter-spacing: .04em;
}

.donation-history-total small {
  color: rgba(255, 255, 255, .75);
  font-size: 12px;
}

.donation-history-details {
  display: grid;
  gap: 16px;
}

.donation-history-list {
  display: grid;
  gap: 14px;
}

.donation-history-card {
  display: grid;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.donation-history-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.donation-history-amount {
  color: var(--dq-blue-dark);
  font-size: 30px;
  line-height: 1;
}

.donation-history-status {
  padding: 5px 10px;
  border-radius: 999px;
  color: #687b8f;
  background: #edf2f6;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.donation-history-status--paid {
  color: #087255;
  background: #e4f6ef;
}

.donation-history-status--refunding {
  color: #986300;
  background: #fff3d8;
}

.donation-history-status--refunded,
.donation-history-status--canceled {
  color: #68717c;
  background: #eef0f2;
}

.donation-history-status--failed {
  color: #a44050;
  background: #fff0f2;
}

.donation-history-product {
  display: grid;
  gap: 4px;
  margin: 0;
}

.donation-history-product span,
.donation-history-meta dt {
  color: var(--muted);
  font-size: 12px;
}

.donation-history-product strong,
.donation-history-product a {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.donation-history-product a:hover {
  color: var(--dq-blue);
}

.donation-history-product a span {
  display: inline;
  color: currentColor;
  font-size: .8em;
}

.donation-history-meta {
  display: grid;
  grid-template-columns: minmax(140px, .7fr) minmax(220px, 1.3fr);
  gap: 14px 28px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.donation-history-meta div {
  display: grid;
  gap: 4px;
}

.donation-history-meta dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.donation-history-more {
  border-top: 1px solid var(--line);
}

.donation-history-more > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 2px 0;
  cursor: pointer;
  color: var(--dq-blue-dark);
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.donation-history-more > summary::-webkit-details-marker {
  display: none;
}

.donation-history-more > summary::after {
  content: "+";
  width: 22px;
  height: 22px;
  display: grid;
  flex: 0 0 22px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.donation-history-more[open] > summary::after {
  content: "−";
}

.donation-history-more-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 14px;
}

.donation-history-more-content section {
  min-width: 0;
  padding: 16px;
  border-radius: 6px;
  background: #f6f9fb;
}

.donation-history-more-content h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
}

.donation-history-more-content dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.donation-history-more-content dl div {
  display: grid;
  gap: 3px;
}

.donation-history-more-content dt {
  color: var(--muted);
  font-size: 11px;
}

.donation-history-more-content dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.donation-history-invoice-empty {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.donation-history-empty {
  padding: 32px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.donation-history-empty p {
  margin: 0;
}

.recurring-donation-empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.recurring-donation-list {
  display: grid;
  gap: 14px;
}

.recurring-donation-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  padding: 18px;
  border: 1px solid #d9e3ea;
  border-radius: 7px;
  background: var(--white);
}

.recurring-donation-summary > strong {
  display: block;
  margin-bottom: 13px;
  color: var(--ink);
  font-size: 16px;
}

.recurring-donation-summary dl {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
}

.recurring-donation-summary dl > div {
  display: grid;
  gap: 4px;
}

.recurring-donation-summary dt {
  color: var(--muted);
  font-size: 11px;
}

.recurring-donation-summary dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.recurring-donation-actions {
  display: flex;
  align-items: start;
  gap: 8px;
}

.recurring-amount-editor {
  position: relative;
}

.recurring-amount-editor summary,
.recurring-cancel-button {
  min-width: 68px;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  border: 1px solid var(--dq-blue);
  border-radius: 5px;
  cursor: pointer;
  color: var(--dq-blue-dark);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.recurring-amount-editor summary::-webkit-details-marker {
  display: none;
}

.recurring-amount-editor[open] summary {
  color: var(--white);
  background: var(--dq-blue);
}

.recurring-amount-editor form {
  position: absolute;
  z-index: 5;
  top: 46px;
  right: 0;
  width: 240px;
  display: grid;
  gap: 9px;
  padding: 16px;
  border: 1px solid #c7d6e1;
  border-radius: 7px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(15, 34, 55, .14);
}

.recurring-amount-editor form label {
  color: var(--muted);
  font-size: 12px;
}

.recurring-amount-editor form input {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font: inherit;
}

.recurring-amount-editor form button {
  min-height: 42px;
  border: 1px solid var(--dq-blue);
  border-radius: 5px;
  cursor: pointer;
  color: var(--white);
  background: var(--dq-blue);
  font-weight: 700;
}

.recurring-cancel-button {
  border-color: #d8e0e7;
  color: #74869a;
  background: #f7f9fb;
  font-weight: 500;
}

.recurring-cancel-button:hover {
  border-color: #c8aeb3;
  color: #9a4b58;
  background: #fbf5f6;
}

.support-layout {
  min-height: calc(100vh - 88px);
  margin-left: 92px;
  display: grid;
  grid-template-columns: minmax(460px, 1.05fr) minmax(540px, .95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 110px);
  padding: 30px clamp(28px, 7vw, 120px) 70px 10%;
}

.support-intro {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 50px 0;
}

.support-intro::before {
  position: absolute;
  z-index: -1;
  top: -30px;
  left: -25px;
  width: min(430px, 74%);
  aspect-ratio: 1;
  content: "";
  background: url("../images/globe.DHSyluzR.webp") center / contain no-repeat;
}

.support-intro::after {
  content: none;
}

.intro-code {
  margin: 0 0 15px;
  color: var(--dq-blue-dark);
  font: 600 11px/1.4 Consolas, monospace;
  letter-spacing: .2em;
}

.support-intro h1 {
  margin: 0;
  font-size: clamp(50px, 5.4vw, 82px);
  line-height: 1.1;
  letter-spacing: -.055em;
}

.support-intro h1 span {
  white-space: nowrap;
}

@media (min-width: 901px) and (min-height: 680px) {
  .support-layout {
    align-items: start;
  }

  .support-intro {
    position: sticky;
    top: 50vh;
    align-self: start;
    transform: translateY(-50%);
  }
}

.intro-tagline {
  width: fit-content;
  margin: 26px 0 0;
  padding: 13px 18px;
  color: var(--ink);
  background: var(--dq-blue);
  font-size: clamp(13px, 1.25vw, 19px);
  letter-spacing: .28em;
}

.intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: #708291;
  font: 10px/1.5 Consolas, monospace;
  letter-spacing: .12em;
}

.intro-meta strong {
  flex-basis: 100%;
  color: var(--ink);
}

.support-panel {
  width: 100%;
  max-width: 650px;
  justify-self: end;
  padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 14px 34px rgba(27, 52, 70, .10);
}

.support-form #support-panel-title {
  margin: 0 0 28px;
  font-size: 23px;
  letter-spacing: .04em;
}

.support-subject {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
}

.support-subject a {
  color: var(--dq-blue);
  font-weight: 600;
  text-decoration: none;
}

.support-subject a:hover {
  text-decoration: underline;
}

.support-subject strong {
  color: var(--dq-blue);
  font-weight: 600;
}

.choice-field {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.choice-field legend {
  margin-bottom: 8px;
  color: var(--dq-blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.choice-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.option-grid {
  display: grid;
  gap: 10px;
}

.option-grid--type {
  grid-template-columns: repeat(2, 1fr);
}

.option-grid--amount {
  grid-template-columns: repeat(5, 1fr);
}

.option-grid label {
  position: relative;
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
  background: var(--white);
  font-size: 15px;
  text-align: center;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.option-grid--type label > span:not(.selected-check) {
  display: grid;
  gap: 4px;
}

.option-grid--type label small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.option-grid--type input:checked + label small {
  color: #527b96;
}

.option-grid label:hover {
  border-color: var(--dq-blue);
}

.selected-check {
  position: absolute;
  top: -8px;
  right: -7px;
  width: 20px;
  height: 20px;
  display: none;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--dq-blue);
  font-size: 11px;
  box-shadow: 0 0 0 1px var(--dq-blue);
}

.option-grid input:checked + label {
  border: 2px solid var(--dq-blue);
  color: var(--dq-blue-dark);
  background: var(--dq-blue-pale);
}

.option-grid input:checked + label .selected-check {
  display: grid;
}

.option-grid input:focus-visible + label {
  outline: 3px solid rgba(12, 145, 237, .25);
  outline-offset: 3px;
}

.option-grid input:disabled + label {
  cursor: not-allowed;
  color: #98a6b1;
  background: #f3f6f8;
  opacity: .68;
}

.amount-notice {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.custom-amount-field {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.custom-amount-field[hidden] {
  display: none;
}

.custom-amount-field > label {
  color: var(--dq-blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.custom-amount-control {
  display: flex;
  align-items: center;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.custom-amount-control:focus-within {
  border-color: var(--dq-blue);
  box-shadow: 0 0 0 3px rgba(12, 145, 237, .12);
}

.custom-amount-control span {
  padding-left: 16px;
  color: var(--muted);
  font-size: 14px;
}

.custom-amount-control input {
  position: static;
  width: 100%;
  height: 48px;
  opacity: 1;
  padding: 0 16px 0 9px;
  border: 0;
  outline: 0;
  color: var(--ink);
  font: inherit;
  background: transparent;
}

.amount-plan[hidden] {
  display: none;
}

.plan-recommendation {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 11px;
}

.guest-contact-fields {
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid #cfe0eb;
  border-radius: 8px;
  background: #f7fbfe;
}

.guest-contact-fields[hidden] {
  display: none;
}

.guest-contact-fields legend {
  padding: 0 6px;
  color: var(--dq-blue-dark);
  font-size: 15px;
  font-weight: 800;
}

.guest-contact-note {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.guest-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.guest-contact-field {
  display: grid;
  gap: 7px;
}

.guest-contact-field--wide {
  grid-column: 1 / -1;
}

.guest-contact-field label {
  color: var(--dq-blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.guest-contact-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 7px;
  outline: 0;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.guest-contact-field input:focus {
  border-color: var(--dq-blue);
  box-shadow: 0 0 0 3px rgba(12, 145, 237, .12);
}

.guest-checkout-button {
  width: 100%;
  margin-top: 16px;
}

.support-actions {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid #dce4ea;
}

.support-actions--member-only {
    grid-template-columns: 1fr;
}

.support-button {
  min-height: 56px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.support-button--secondary {
  border: 1px solid var(--dq-blue);
  color: var(--dq-blue-dark);
  background: var(--white);
}

.support-button--secondary.is-active {
  color: var(--white);
  background: var(--dq-blue-dark);
}

.support-button--primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--dq-blue);
  color: var(--white);
  background: var(--dq-blue);
}

.secure-note {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid #dce4ea;
  color: #788a99;
  font-size: 12px;
}

.secure-note span {
  margin-right: 8px;
  color: var(--dq-blue);
  font-size: 18px;
}

@media (max-width: 1350px) {
  .support-layout {
    grid-template-columns: minmax(380px, .85fr) minmax(500px, 1.15fr);
    gap: 30px;
    padding-right: 3%;
    padding-left: 3%;
  }

  .support-intro h1 {
    font-size: clamp(45px, 5vw, 64px);
  }

  .option-grid--amount {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .coordinate-rail {
    display: none;
  }

  .site-header,
  .support-layout {
    margin-left: 0;
  }

  .site-header {
    min-height: 72px;
    padding: 12px 22px;
  }

  .brand-dq {
    font-size: 25px;
  }

  .brand-name {
    font-size: 20px;
  }

  .support-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 35px 22px 60px;
  }

  .support-intro {
    max-width: 620px;
    padding: 45px 0 25px;
  }

  .support-intro::before {
    width: 330px;
  }

  .support-intro h1 {
    font-size: clamp(46px, 9vw, 68px);
  }

  .support-panel {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 10px 16px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand small {
    display: none;
  }

  .history-link {
    padding: 8px 9px;
    font-size: 11px;
  }

  .support-layout {
    padding: 20px 14px 42px;
  }

  .support-intro {
    padding: 40px 8px 15px;
  }

  .support-intro::before {
    top: -10px;
    left: -15px;
    width: 270px;
  }

  .support-intro h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .support-intro h1 span {
    white-space: normal;
  }

  .intro-tagline {
    padding: 10px 12px;
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: .18em;
  }

  .support-panel {
    padding: 24px 16px;
  }

  .support-form #support-panel-title {
    font-size: 20px;
  }

  .option-grid--type {
    grid-template-columns: 1fr;
  }

  .option-grid--amount {
    grid-template-columns: repeat(2, 1fr);
  }

  .option-grid label {
    min-height: 50px;
    font-size: 14px;
  }

  .guest-contact-grid {
    grid-template-columns: 1fr;
  }

  .guest-contact-field--wide {
    grid-column: auto;
  }

  .member-profile-row,
  .recurring-donation-card {
    grid-template-columns: 1fr;
  }

  .member-profile-row {
    gap: 5px;
  }

  .donation-history-heading {
    align-items: start;
    flex-direction: column;
  }

  .donation-history-total {
    padding: 24px 20px;
  }

  .donation-history-card {
    padding: 19px 17px;
  }

  .donation-history-meta {
    grid-template-columns: 1fr;
  }

  .donation-history-more-content {
    grid-template-columns: 1fr;
  }

  .recurring-donation-actions {
    justify-content: stretch;
  }

  .recurring-donation-actions > * {
    flex: 1;
  }

  .recurring-amount-editor summary,
  .recurring-cancel-button {
    width: 100%;
  }

  .recurring-amount-editor form {
    right: auto;
    left: 0;
    width: min(240px, calc(100vw - 76px));
  }

  .support-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

.not-found-page {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  color: #071728;
  background: #fafbfc;
}

.not-found-backdrop {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.not-found-lights {
  position: absolute;
  inset: -10px;
  background-image:
    repeating-linear-gradient(100deg, #fff 0%, #fff 7%, transparent 10%, transparent 12%, #fff 16%),
    repeating-linear-gradient(100deg, #098bf2 10%, #93ccf9 15%, #bfe1fc 20%, #d3e0ed 25%, #53aef6 30%);
  background-position: 50% center, 50% center;
  background-size: 300% 200%, 300% 200%;
  filter: blur(10px);
  opacity: .5;
  animation: not-found-aurora 60s linear infinite;
  will-change: background-position;
}

.not-found-lights::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, .92), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(251, 226, 203, .65), transparent 36%);
  content: "";
  mix-blend-mode: screen;
}

@keyframes not-found-aurora {
  0% {
    background-position: 50% 50%, 50% 50%;
  }

  50% {
    background-position: 350% 50%, 350% 50%;
  }

  100% {
    background-position: 650% 50%, 650% 50%;
  }
}

.not-found-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 64px 24px;
  place-items: center;
  text-align: center;
}

.not-found-graphic {
  position: absolute;
  z-index: 0;
  bottom: -18%;
  left: 50%;
  width: min(768px, 120vw);
  max-width: none;
  transform: translateX(-50%);
  opacity: .16;
  pointer-events: none;
  user-select: none;
}

.not-found-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(672px, 100%);
  align-items: center;
  flex-direction: column;
  gap: 24px;
}

.not-found-code {
  display: inline-flex;
  align-items: center;
  margin: 0;
  gap: 8px;
  color: #098bf2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}

.not-found-crosshair {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border: 1px solid #098bf2;
  border-radius: 50%;
}

.not-found-crosshair::before,
.not-found-crosshair::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #098bf2;
  content: "";
}

.not-found-crosshair::before {
  width: 20px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.not-found-crosshair::after {
  width: 1px;
  height: 20px;
  transform: translate(-50%, -50%);
}

.not-found-number {
  margin: 0;
  color: #071626;
  font-size: clamp(80px, 18vw, 144px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.02em;
}

.not-found-content h1 {
  position: relative;
  margin: 0;
  padding-bottom: 16px;
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 800;
  line-height: 1.15;
}

.not-found-content h1::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(96px, 24vw);
  height: 2px;
  background: #098bf2;
  content: "";
  transform: translateX(-50%);
}

.not-found-message {
  max-width: 544px;
  margin: 0;
  color: #64748b;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

.not-found-home {
  display: inline-flex;
  min-width: 180px;
  min-height: 56px;
  box-sizing: border-box;
  align-items: center;
  border: 1px solid #098bf2;
  border-radius: 8px;
  justify-content: center;
  gap: 12px;
  color: #fff;
  background: #098bf2;
  box-shadow: none;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease;
}

.not-found-home:hover,
.not-found-home:focus-visible {
  color: #fff;
  background: #087dca;
  transform: translateY(-2px);
}

@media (max-width: 560px) {
  .not-found-shell {
    padding: 36px 18px;
  }

  .not-found-graphic {
    bottom: -8%;
    width: 150vw;
    opacity: .12;
  }

  .not-found-message br {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .not-found-lights {
    animation: none;
  }
}
