/* status.curiogames.io and status.teachcurio.com. One sheet, two themes: .t-games is the curiogames.io home page's
   night palette, .t-teach is teachcurio.com's cream one. Fonts are the products' own (Fredoka, Nunito; SIL OFL,
   fonts/LICENSE.txt), served from this site: nothing on this page loads from anywhere else.
   Status colours are fixed across both themes and never carry meaning alone: each sits beside an icon and a word. */
@font-face{font-family:'Fredoka';font-style:normal;font-weight:300 700;font-display:swap;src:url(fonts/fredoka-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Fredoka';font-style:normal;font-weight:300 700;font-display:swap;src:url(fonts/fredoka-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-weight:200 1000;font-display:swap;src:url(fonts/nunito-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Nunito';font-style:normal;font-weight:200 1000;font-display:swap;src:url(fonts/nunito-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{--good:#0aac23;--warn:#fbb315;--crit:#dc3c3d;--fd:'Fredoka',ui-rounded,system-ui,sans-serif;--fb:'Nunito',ui-rounded,system-ui,sans-serif}
.t-games .tag{color:#FFD36A}
.t-games{--bg:#24164A;--hd:rgba(30,18,64,.92);--hdline:rgba(255,255,255,.07);--card:#2E1D5C;--line:rgba(217,204,255,.14);
  --ink:#F6F1FF;--ink2:#D9CCFF;--ink3:#b7a9e6;--link:#FFD36A;--none:rgba(217,204,255,.2);--crit:#ef5a5b;
  --shadow:0 24px 48px -30px rgba(8,4,24,.9);--pill:#3A2670;--tipbg:#F6F1FF;--tipink:#24164A}
.t-teach{--bg:#FFF8F1;--hd:#FFF8F1;--hdline:#F0DECB;--card:#fff;--line:#F0DECB;
  --ink:#2E1B10;--ink2:#5E4636;--ink3:#715845;--link:#C8431A;--none:#EADBCB;
  --shadow:0 10px 0 #FFE6D2,0 30px 60px -34px rgba(122,40,12,.4);--pill:#FFF1E6;--tipbg:#2E1B10;--tipink:#fff}

*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font:500 16px/1.5 var(--fb);-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column}
h1,h2,h3,p{margin:0}
a{color:var(--link);font-weight:700}
a:hover{color:var(--ink)}
a:focus-visible,summary:focus-visible{outline:3px solid var(--link);outline-offset:3px;border-radius:6px}
.w{width:100%;max-width:880px;margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-9999px}.skip:focus{left:12px;top:12px;z-index:9;padding:8px 14px;background:var(--card);border-radius:10px}

/* header */
.hd{background:var(--hd);box-shadow:0 1px 0 var(--hdline)}
.hd .w{display:flex;align-items:center;gap:14px;height:68px}
.logo img{display:block;height:34px;width:auto}
.tag{font:600 15px var(--fd);letter-spacing:.02em;padding:3px 12px;border-radius:999px;background:var(--pill);color:var(--ink2)}
.home{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font-size:15px;text-decoration:none}
.home svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

main.w{flex:1;padding-top:22px;padding-bottom:12px}
.card,.banner,.live{background:var(--card);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}

/* status icon: a colored disc with a glyph; the word beside it carries the meaning */
.ic{flex:none;display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--none)}
.ic svg{width:60%;height:60%;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.ic.ok{background:var(--good)}.ic.deg{background:var(--warn)}.ic.deg svg{stroke:#2E1B10}.ic.down{background:var(--crit)}
.ic.unknown svg{stroke:var(--ink2)}
.ic.sm{width:20px;height:20px}.ic.sm svg{stroke-width:3.6}

/* banner */
.banner{display:flex;align-items:center;gap:16px;padding:18px 22px}
.banner .bt{flex:1;min-width:0}
.banner h1{font:600 clamp(22px,3.2vw,28px)/1.15 var(--fd);letter-spacing:-.005em}
.banner .bt p{margin-top:2px;color:var(--ink2);font-weight:600}
.checked{flex:none;color:var(--ink3);font-size:14px;font-weight:600;text-align:right}

/* an ongoing incident, posted by staff */
.live{margin-top:14px;padding:16px 22px;border-left:6px solid var(--warn)}
.live h2{font:600 19px/1.25 var(--fd)}
.live p{margin-top:4px}

/* components */
.comps{margin-top:14px;padding:6px 22px 12px}
.comp{padding:14px 0 12px;border-bottom:1px solid var(--line)}
.row{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.row h2{flex:1;font:600 18px/1.25 var(--fd)}
.st{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--ink2);font-size:15px}
.bars{display:flex;gap:2px;height:34px}
.bars i{flex:1;min-width:0;border-radius:2px;background:var(--none)}
.bars i.ok,.key i.ok{background:var(--good)}
.bars i.deg,.key i.deg{background:var(--warn)}
.bars i.down,.key i.down{background:var(--crit)}
.bars i:hover,.bars i.on{opacity:.7}
.axis{display:flex;justify-content:space-between;gap:8px;margin-top:6px;font-size:13px;font-weight:600;color:var(--ink3)}
.axis .up{color:var(--ink2);font-weight:700}
.d30{display:none}
.key{display:flex;flex-wrap:wrap;gap:6px 16px;padding-top:12px;font-size:13px;font-weight:600;color:var(--ink3)}
.key span{display:inline-flex;align-items:center;gap:6px}
.key i{display:inline-block;width:10px;height:10px;border-radius:2px;background:var(--none)}

/* incidents */
.inc{margin-top:14px;padding:16px 22px}
.inc>h2{font:600 18px/1.25 var(--fd);margin-bottom:6px}
.inc ul{list-style:none;margin:0;padding:0}
.inc li{padding:10px 0;border-top:1px solid var(--line)}
.inc li:first-child{border-top:none}
.ih{display:flex;align-items:center;gap:10px}
.ih h3{flex:1;font:600 16px/1.3 var(--fd)}
.inc li p{color:var(--ink2);margin-top:2px}
.when{font-size:13px;font-weight:600;color:var(--ink3)!important}
.pill{flex:none;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:2px 10px;border-radius:999px;background:var(--warn);color:#2E1B10}
.pill.done{background:var(--pill);color:var(--ink2)}
.inc .none{color:var(--ink2)}
details{margin-top:6px}
summary{cursor:pointer;font-weight:700;color:var(--link)}

/* footer */
.ft{padding:14px 0 22px}
.ft .w{display:flex;justify-content:space-between;align-items:baseline;gap:16px;font-size:13px;font-weight:600;color:var(--ink3)}

/* day tooltip (status.js) */
.tip{position:fixed;z-index:10;pointer-events:none;padding:6px 10px;border-radius:10px;background:var(--tipbg);color:var(--tipink);font:700 13px/1.3 var(--fb);white-space:nowrap;box-shadow:0 6px 18px rgba(0,0,0,.25)}

/* phones: thirty days of bars instead of ninety, everything in one column */
@media (max-width:640px){
  .w{padding:0 16px}
  .hd .w{height:60px}
  .logo img{height:28px}
  .home{font-size:14px}
  main.w{padding-top:14px}
  .home .go{display:none}
  .banner .checked{padding-left:50px}
  .banner{flex-wrap:wrap;padding:16px;gap:12px}
  .banner .ic{width:38px;height:38px}
  .checked{width:100%;text-align:left}
  .comps,.inc,.live{padding-left:16px;padding-right:16px}
  .bars{gap:2px;height:30px}
  .bars i:nth-child(-n+60){display:none}
  .d90{display:none}.d30{display:inline}
  .ft .w{flex-direction:column;gap:6px}
}
@media (max-width:380px){.tag{display:none}}
@media (forced-colors:active){.bars i,.key i,.ic{forced-color-adjust:none}}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
