@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/NotoSans-400-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: "Noto Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/NotoSans-400-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: "Noto Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/NotoSans-600-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: "Noto Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/NotoSans-600-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: "Noto Serif";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/NotoSerif-600-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: "Noto Serif";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/NotoSerif-600-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: "Noto Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/NotoSerif-700-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: "Noto Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/NotoSerif-700-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: "Noto Sans Telugu";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/NotoSansTelugu-telugu.woff2") format("woff2");
  unicode-range: U+0951-0952, U+0964-0965, U+0C00-0C7F, U+1CDA, U+1CF2, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Noto Sans Telugu";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/NotoSansTelugu-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: "Noto Sans Telugu";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/NotoSansTelugu-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;
}

:root {
  --red: #e31e24;
  --red-2: #c11810;
  --navy: #0072bc;
  --maroon: #6b1408;
  --maroon-2: #4a0c06;
  --maroon-3: #2e0805;
  --orange: #f47920;
  --green: #39b54a;
  --green-deep: #118241;
  --gold: #a07520;
  --gold-2: #8a5a18;
  --gold-soft: #e8d09a;
  --terracotta: #c23a1a;
  --paper: #fff0dd;
  --stage: #e6d3b4;
  --paper-2: #f3e6cc;
  --paper-line: #d7c19a;
  --text: #1c120b;
  --text-soft: #3f2a18;
  --panel: rgba(255, 247, 234, 0.92);
  --panel-line: rgba(92, 48, 18, 0.22);
  --serif: "Noto Serif", "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans", "Segoe UI", "Noto Sans Telugu", Inter, system-ui, -apple-system, Roboto, Arial, sans-serif;
  --telugu: "Noto Sans Telugu", "Noto Sans", "Nirmala UI", Gautami, "Telugu Sangam MN", var(--sans);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

.viewer.theme-dark {
  --panel: rgba(46, 8, 5, 0.62);
  --panel-line: rgba(212, 175, 90, 0.38);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  height: 100%;
  height: -webkit-fill-available;
}
html, body {
  width: 100%;
  min-width: 0;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100%;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  font-family: var(--sans);
  background: var(--stage);
  color: var(--text);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  overflow: hidden;
}

.viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  height: -webkit-fill-available;
  display: flex;
  flex-direction: column;
  transition: background .4s ease, color .4s ease;
  color: var(--text);
  background: var(--stage);
  padding:
    env(safe-area-inset-top, 0px)
    env(safe-area-inset-right, 0px)
    env(safe-area-inset-bottom, 0px)
    env(safe-area-inset-left, 0px);
}
.viewer.theme-dark {
  color: #f8f0e4;
  background:
    linear-gradient(180deg, rgba(46, 8, 5, 0.78), rgba(30, 5, 4, 0.88)),
    var(--maroon-3);
}

.fourbar {
  display: flex;
  height: 5px;
  width: 54px;
  border-radius: 3px;
  overflow: hidden;
  flex: 0 0 auto;
}
.fourbar i { flex: 1; }
.fourbar .c1 { background: var(--red); }
.fourbar .c2 { background: var(--orange); }
.fourbar .c3 { background: var(--green); }
.fourbar .c4 { background: var(--navy); }
