:root {
  color-scheme: light;
  --background: #f7f8f2;
  --ink: #263f34;
  --muted: #697268;
  --green: #356349;
  --line: #dfe4d8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 5%;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 650; letter-spacing: -.5px; }
.brand svg { width: 27px; height: 27px; }
.header-note { color: var(--muted); font-size: 13px; }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 65px 24px 72px;
  text-align: center;
}

.ticket-art { position: relative; width: 216px; height: 144px; margin: 0 0 43px; }
.ticket { position: absolute; inset: 9px 0; border-radius: 13px; }
.ticket-back { background: #dce5d2; transform: rotate(-13deg); }
.ticket-front { display: flex; background: var(--green); color: #f0f5e7; transform: rotate(7deg); box-shadow: 0 12px 24px #263f3414; }
.ticket-main { flex: 1; display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 13px; }
.ticket-label { font-size: 9px; letter-spacing: 3px; }
.ticket-caption { font-size: 8px; letter-spacing: 2px; color: #d9e5ce; }
.pause { display: flex; gap: 8px; }
.pause span { width: 9px; height: 29px; background: #e3edbc; border-radius: 2px; }
.ticket-stub { position: relative; width: 49px; display: grid; place-items: center; border-left: 1px dashed #a5b897; }
.ticket-stub span { writing-mode: vertical-rl; font-size: 8px; letter-spacing: 2px; color: #d9e5ce; }
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; left: -7px; width: 13px; height: 13px; border-radius: 50%; background: var(--background); }
.ticket-stub::before { top: -6px; }
.ticket-stub::after { bottom: -6px; }

.domain-art { position: relative; width: 164px; height: 164px; margin: 0 0 43px; display: grid; place-items: center; }
.domain-globe { position: relative; z-index: 1; width: 102px; height: 102px; border: 2px solid var(--green); border-radius: 50%; background: #edf2e4; box-shadow: 0 12px 24px #263f3414; overflow: hidden; }
.globe-line { position: absolute; display: block; border: 1.5px solid #789263; border-radius: 50%; }
.globe-line-horizontal { top: 34px; left: -3px; width: 104px; height: 29px; }
.globe-line-vertical { top: -3px; left: 31px; width: 36px; height: 104px; }
.domain-orbit { position: absolute; border: 1px solid #bccbb0; border-radius: 50%; transform: rotate(-28deg); }
.domain-orbit-one { width: 148px; height: 57px; }
.domain-orbit-two { width: 154px; height: 64px; transform: rotate(54deg); border-color: #d0dac6; }

.status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 7px 12px; border: 1px solid #e4dfce; border-radius: 6px; background: #f2efe5; color: #75603a; font-size: 12px; font-weight: 500; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #a17b37; }
h1 { margin: 0; font-size: clamp(32px, 5.5vw, 54px); line-height: 1.14; font-weight: 650; letter-spacing: -2px; text-wrap: balance; }
.accent { color: #759256; }
.message { margin: 17px 0 0; font-size: clamp(17px, 2.5vw, 21px); font-weight: 500; }
.description { margin: 17px 0 29px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.refresh { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px 20px; border: 1px solid #cbd4c4; border-radius: 7px; background: #fcfdf8; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; transition: background 150ms, border-color 150ms; }
.refresh svg { width: 17px; height: 17px; }
.refresh:hover { background: #eaf0e2; border-color: #8b9e80; }
.refresh:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
footer { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 0 24px 30px; color: var(--muted); font-size: 12px; text-align: center; }
.footer-line { height: 1px; width: 32px; background: var(--line); }

@media (max-width: 480px) {
  .header { padding: 22px 0; margin-inline: 24px; }
  .header-note { font-size: 11px; }
  main { padding-block: 52px; }
  h1 { letter-spacing: -1.2px; }
  .desktop-break { display: none; }
  .description { max-width: 290px; }
  .domain-art { transform: scale(.9); margin-bottom: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .refresh { transition: none; }
}
