:root {
  color-scheme: light;
  --accent: light-dark(oklch(0.45 0.075 260), oklch(0.8 0.075 260));
}
:root {
  --background: light-dark(oklch(0.985 0.022 93), oklch(0.19 0 0));
  --surface: light-dark(oklch(0.975 0.014 78), oklch(0.22 0 0));
  --ink: light-dark(oklch(0.225 0.011 73), oklch(0.94 0 0));
  --muted: light-dark(oklch(0.47 0.025 74), oklch(0.76 0 0));
  --border: light-dark(rgb(31 27 22 / 0.2), oklch(0.36 0 0));
}
:root { --radius-inner: 6px; --radius-control: 10px; --radius-card: 18px; --radius-surface: 22px; }
:root { --font-ui: var(--font-rounded); }
/* The rimai website's look: a pale sky stage with a fine dither, ink-blue type, white panels in sky-blue frames and pink and violet accents. */
html, body {
  --background: #bfe2fb;
  --surface: #eef7ff;
  --elevated: #ffffff;
  --ink: #1c2550;
  --muted: #47588a;
  --border: #9cc6ea;
  --border-strong: #7fb2e0;
  --accent: #7448ee;
  --hover: #f4faff;
  --status-success: #2fa866;
  --status-info: #7448ee;
  --radius-card: 18px;
  --radius-control: 12px;
  --radius-inner: 10px;
}
body {
  min-block-size: 100vh;
  /* Front to back: the fine dither, a near and a far skyline along the foot, the playfield's rings
     hanging from the top, and the sky. Everything is drawn with gradients, as this page may not
     load pictures from another site. */
  background:
    conic-gradient(rgb(255 255 255 / 0.2) 25%, transparent 0 50%, rgb(255 255 255 / 0.2) 0 75%, transparent 0) 0 0 / 4px 4px,
    linear-gradient(90deg, #86b4e6 0 78%, transparent 78%) 14px 100% / 96px 86px repeat-x,
    linear-gradient(90deg, transparent 0 20%, #86b4e6 20% 62%, transparent 62%) 40px 100% / 150px 128px repeat-x,
    linear-gradient(90deg, #86b4e6 0 55%, transparent 55%) 70px 100% / 212px 104px repeat-x,
    linear-gradient(90deg, #9cc6ea 0 70%, transparent 70%) 0 100% / 64px 150px repeat-x,
    linear-gradient(90deg, transparent 0 30%, #9cc6ea 30% 58%, transparent 58%) 22px 100% / 118px 206px repeat-x,
    linear-gradient(90deg, #9cc6ea 0 46%, transparent 46%) 90px 100% / 178px 176px repeat-x,
    radial-gradient(circle at 50% -40px, transparent 0 447px, rgb(255 255 255 / 0.9) 448px 453px, transparent 454px) no-repeat,
    radial-gradient(circle at 50% -40px, transparent 0 619px, rgb(255 255 255 / 0.55) 620px 623px, transparent 624px) no-repeat,
    radial-gradient(circle at 50% -40px, transparent 0 799px, rgb(255 255 255 / 0.3) 800px 803px, transparent 804px) no-repeat,
    radial-gradient(120% 60% at 50% 0%, #eef7ff 0%, #bfe2fb 70%) no-repeat,
    #bfe2fb;
  font-weight: 500;
}
/* Room for the skyline under the last line of the page. */
.column {
  padding-block-end: 260px;
}
/* The wordmark, as the site sets it. */
.site-brand {
  color: #1c2550;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.site-links a {
  padding-inline: 12px;
  border-radius: 30px;
  color: #1c2550;
  font-weight: 600;
}
.site-links a:hover,
.site-links a[aria-current='page'] {
  background: #ffffff;
}
/* The site's yellow alpha notice. */
.page-announcement {
  padding: 10px 16px;
  border: 0;
  border-block-start: 6px solid #26182d;
  border-image: repeating-linear-gradient(-45deg, #26182d 0 8px, #ffd84d 8px 16px) 6;
  border-radius: 0;
  background: #ffd84d;
  color: #26182d;
  font-weight: 600;
}
.page-announcement p {
  margin: 0;
}
/* Panels: white paper in a sky-blue frame, as the site's tables and cards. */
.banner,
.incident,
.component {
  border: 3px solid #9cc6ea;
  border-radius: 18px;
  background: #eef7ff;
}
.component {
  padding: 16px 20px;
}
.banner {
  font-weight: 700;
}
.banner-warn {
  border-color: #e0a800;
  background: #fff4cc;
}
.incident-open {
  border-color: #ff4f9a;
}
h1, h2, .component-name {
  color: #1c2550;
  font-weight: 700;
  letter-spacing: -0.01em;
}
/* Uptime bars in the game's grade colours: green for a good day, gold and pink for trouble. */
.day {
  border-radius: 3px;
}
.day-ok {
  background: #7cde9b;
}
.day-none {
  background: #d6e6f5;
}
.state-ok {
  color: #1f8a52;
  font-weight: 700;
}
.chip {
  border: 2px solid #26182d;
  background: #ffffff;
  color: #26182d;
  font-weight: 700;
}
.page-foot {
  color: #47588a;
}
a {
  text-decoration-color: #7448ee;
}

