/*
Theme Name: Sidenote
Description: A single strong homepage for a random video chat site — built-in 18+ gate, dark mode, TranslatePress-ready language switcher, no blog, no dependencies.
Version: 1.6.3
Requires at least: 6.3
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sidenote
Tags: one-column, custom-menu, translation-ready, block-styles
*/

/* ---------------------------------------------------------------
   Reset. Deliberately small. Everything else lives in main.css.
   Note: no width clamp is set on inline vector graphics here —
   a shrink-to-fit icon button on iOS collapses its glyph to zero
   when one is present. Raster images are clamped, drawings are
   sized by their own rules.
   --------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body,
h1, h2, h3, h4,
p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}

ul[class],
ol[class] { padding: 0; list-style: none; }

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  overflow-x: clip;
}

img,
picture,
video,
canvas {
  display: block;
  height: auto;
}

/* The width cap is stated on img on its own, and deliberately stops there. */
img { max-width: 100%; }

picture,
video,
canvas { max-width: 100%; }

input,
button,
textarea,
select { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

a { color: inherit; }

table { border-collapse: collapse; }

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
