/* CLIIP V3 — 최소 리셋 */

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

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

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

ol, ul { list-style: none; }

img, picture, video, canvas, svg { display: block; max-width: 100%; }

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

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

table { border-collapse: collapse; }

a { color: inherit; text-decoration: none; }

/*
  [hidden]을 !important 없이 지키는 규약.
  display를 지정하는 컴포넌트는 반드시 :not([hidden])으로 좁혀 쓴다.
    ✅ .global-player:not([hidden]) { display: flex }
    ❌ .global-player { display: flex }
  이 규약 덕분에 프로젝트 전체 !important 개수를 0으로 유지한다.
*/
[hidden] { display: none; }

:focus-visible {
  outline: 2px solid var(--accent-red);
  outline-offset: 3px;
  border-radius: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
