/* Shared by the player site, account, admin and developer guide. */
@font-face {
  font-family: "Inter";
  src: url("./inter-variable-4.1.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("./inter-variable-italic-4.1.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ui-corner: 4px;
  --ui-corner-small: 2px;
  --sans: "Inter", sans-serif;
  --text-weight: 400;
  --title-weight: 600;
  --label-weight: 500;
  --emphasis-weight: 600;
}

/* Cap width at 16:9 and leave document height to content. In responsive rules,
   a max-width breakpoint also applies at its equivalent viewport height (width × 9/16). */
:root { --page-frame: min(100vw, calc(100vh * 16 / 9)); }
@supports (height: 100dvh) {
  :root { --page-frame: min(100vw, calc(100dvh * 16 / 9)); }
}
#root, html[data-system-theme] body {
  max-width: var(--page-frame);
  margin-inline: auto;
}

body {font-family:var(--sans);font-size:16px;font-weight:var(--text-weight);line-height:1.5}
h1,h2 {font-weight:var(--title-weight)}
h3,h4,h5,h6,th {font-weight:var(--label-weight)}
strong,b {font-weight:var(--emphasis-weight)}

:root{--cenaca-primary:#00FF88}
:root[data-theme=light]{--cenaca-primary:#0055FF}
.cenaca-brand,.cenaca-mark{
  display:inline-block;
  flex:none;
  vertical-align:middle;
  background-color:var(--cenaca-primary);
  forced-color-adjust:none;
}
/* VI 1.2: at 0.15px per design unit, the 64-unit gap between visible edges is 9.6px. */
.cenaca-brand{
  font-size:0;
  line-height:0;
  width:173px;
  height:34px;
  mask:url("./cenaca-lockup.svg") left top / auto 33.6px no-repeat;
}
.cenaca-mark{width:32px;height:32px;mask:url("./cenaca.svg") center / contain no-repeat}
@media(max-width:680px), (max-height:382.5px){
  .cenaca-brand{width:143px;height:30px;mask-position:left center;mask-size:contain}
}
