/* Gramy – wspólne style TV i telefonu. Bez nowości CSS (gap we flexie, inset, :is),
   żeby działało też w starszych przeglądarkach telewizorów. */

@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/static/fonts/unbounded-latin-ext-600-normal.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: "Unbounded"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/static/fonts/unbounded-latin-600-normal.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: "Unbounded"; font-style: normal; font-weight: 800; font-display: swap;
  src: url(/static/fonts/unbounded-latin-ext-800-normal.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: "Unbounded"; font-style: normal; font-weight: 800; font-display: swap;
  src: url(/static/fonts/unbounded-latin-800-normal.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: "Bricolage Grotesque"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/static/fonts/bricolage-grotesque-latin-ext-500-normal.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: "Bricolage Grotesque"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/static/fonts/bricolage-grotesque-latin-500-normal.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: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/static/fonts/bricolage-grotesque-latin-ext-700-normal.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: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/static/fonts/bricolage-grotesque-latin-700-normal.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: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap;
  src: url(/static/fonts/bricolage-grotesque-latin-ext-800-normal.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: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap;
  src: url(/static/fonts/bricolage-grotesque-latin-800-normal.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 {
  --noc: #17133D;
  --noc2: #221C55;
  --noc3: #2F2873;
  --papier: #FFF5E4;
  --papier2: #F1E3C8;
  --atrament: #1B1430;
  --fuksja: #F0287A;
  --szmaragd: #17B27C;
  --szafran: #FFC31F;
  --kobalt: #4C6FFF;
  --cynober: #FF5B35;
  --fiolet: #9254FF;
  --mgla: #B8B1E3;
  --f-disp: "Unbounded", "Arial Black", Arial, sans-serif;
  --f-text: "Bricolage Grotesque", "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--noc);
  color: var(--papier);
  font-family: var(--f-text);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
button { font-family: inherit; }
.hidden { display: none !important; }

/* Awatar w rozecie z wycinanki: kolorowa rozeta + emoji */
.badge {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 64px;
  flex: none;
  vertical-align: middle;
}
.badge::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: var(--c, #F0287A);
  -webkit-mask: url(/static/img/rozeta.svg) center / contain no-repeat;
  mask: url(/static/img/rozeta.svg) center / contain no-repeat;
}
.badge img {
  position: absolute;
  left: 19%; top: 19%;
  width: 62%; height: 62%;
}
.badge.off::before { background: #5D5790; }
.badge.off img { opacity: .45; }

/* Pieczątka (np. „Kłamstwo”, „Prawda!”) */
.stamp {
  display: inline-block;
  font-family: var(--f-disp);
  font-weight: 800;
  padding: .18em .55em .22em;
  border-radius: .35em;
  color: var(--papier);
  background: var(--cynober);
  -webkit-transform: rotate(-4deg);
  transform: rotate(-4deg);
  white-space: nowrap;
}
.stamp.prawda { background: var(--szmaragd); }
.stamp.gra { background: var(--fiolet); }
.stamp.zloto { background: var(--szafran); color: var(--atrament); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { -webkit-animation-duration: .01ms !important; animation-duration: .01ms !important;
    -webkit-transition-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Rysunki: SVG z kreskami (wspólne dla TV i telefonu) */
.dwg-svg { display: block; width: 100%; height: 100%; border-radius: 18px; }
.dwg-svg path { fill: none; stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
@-webkit-keyframes gdraw { to { stroke-dashoffset: 0; } }
@keyframes gdraw { to { stroke-dashoffset: 0; } }
