@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bevietnam-400-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bevietnam-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: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/bevietnam-600-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/bevietnam-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: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/bevietnam-700-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/bevietnam-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: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/bevietnam-800-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/bevietnam-800-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 {
  --bg: #09070f;
  --card: rgba(16, 12, 24, 0.9);
  --gold: #f0c14b;
  --gold-deep: #c8962e;
  --gold-soft: #ffe7a3;
  --red: #e31b2e;
  --purple: #7a3ea8;
  --purple-deep: #3c165c;
  --ink: #f6f0e6;
  --muted: #cbbfaa;
  --line: rgba(240, 193, 75, 0.28);
  --header: 92px;
  --font: "Be Vietnam Pro", "DejaVu Sans", "Segoe UI", sans-serif;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

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

html { scroll-behavior: smooth; }

#top { height: 0; scroll-margin: 0; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  background:
    radial-gradient(1100px 520px at 50% -8%, rgba(122, 62, 168, 0.45), transparent 62%),
    radial-gradient(700px 420px at 100% 8%, rgba(227, 27, 46, 0.18), transparent 55%),
    radial-gradient(680px 380px at 0% 90%, rgba(240, 193, 75, 0.12), transparent 50%),
    var(--bg);
}

img { max-width: 100%; height: auto; }

a { color: var(--gold-soft); }

a:hover { color: #fff; }

h1, h2, h3, h4 { line-height: 1.28; scroll-margin-top: 120px; }

.shell {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 20;
  background: var(--gold);
  color: #2a1603;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(9, 7, 15, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  justify-content: center;
  padding: 6px 0 8px;
}

.brand { display: inline-flex; justify-content: center; }

.brand__logo,
.header-inner .brand img {
  height: 76px;
  width: auto;
  display: block;
}

.hero {
  position: relative;
  width: min(920px, calc(100% - 32px));
  height: calc(100vh - var(--header));
  height: calc(100svh - var(--header));
  margin: 0 auto;
  padding: 36px 0 8px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.side-banner { display: none; }

.hero__girl {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero__girl img {
  width: auto;
  height: auto;
  max-width: min(360px, 70vw);
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.hero__actions {
  flex: 0 0 auto;
  width: min(540px, 94%);
  margin: 12px auto 0;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(240, 193, 75, 0.38);
  background: rgba(18, 10, 6, 0.72);
  color: #f8edd4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dff7a;
  box-shadow: 0 0 8px #3dff7a;
}

.hero__btn {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #2a1603;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #ffe56a 0%, #f5c03a 48%, #e39a12 100%);
  border: 1px solid rgba(255, 244, 196, 0.85);
  box-shadow:
    0 0 14px rgba(255, 196, 48, 0.32),
    0 6px 12px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.hero__btn:hover { transform: translateY(-2px); filter: brightness(1.06); color: #2a1603; }
.hero__btn:focus-visible { outline: 2px solid #fff6d4; outline-offset: 3px; }

.hero__ico {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #2a1603;
  filter: none;
}
.hero__ico svg { width: 22px; height: 22px; }

.hero__label { display: grid; min-width: 0; text-align: left; line-height: 1.12; }
.hero__label strong {
  color: #2a1603;
  font-size: 1.02rem;
  font-weight: 800;
  text-shadow: none;
}
.hero__label small {
  margin-top: 1px;
  color: #3d2410;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero__badge {
  margin-left: auto;
  flex: 0 0 58px;
  width: 58px;
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1.5px solid #2a1603;
  background: transparent;
  color: #2a1603;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.hero__note {
  flex: 0 0 auto;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.footer-links {
  display: grid;
  justify-content: start;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-block;
  padding: 4px 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.btn:hover { transform: translateY(-2px); filter: brightness(1.05); color: inherit; }

.btn-gold {
  color: #2a1603;
  background: linear-gradient(180deg, #ffe7a3 0%, #f0c14b 45%, #d7a12e 100%);
  box-shadow: 0 10px 24px rgba(240, 193, 75, 0.25);
}

.btn-red {
  color: #fff;
  background: linear-gradient(180deg, #ff5460 0%, #e31b2e 50%, #a80f20 100%);
  box-shadow: 0 10px 24px rgba(227, 27, 46, 0.3);
}

.btn-red:hover { color: #fff; }

.btn-ghost {
  color: var(--gold-soft);
  background: transparent;
  border-color: var(--line);
}

.page-shell {
  width: min(920px, calc(100% - 32px));
  padding: 8px 0 64px;
}

.crumbs { margin-bottom: 16px; font-size: 0.92rem; color: var(--muted); }
.crumbs a { color: var(--gold-soft); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.rank-math-breadcrumb p { margin: 0; }

.article-photo { margin: 0 0 18px; }
.article-photo img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.entry-content { padding-top: 6px; }

.entry-content--scroll {
  max-height: min(68vh, 720px);
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-top: 8px;
  padding: 18px 16px 22px;
  border: 1px solid rgba(240, 193, 75, 0.85);
  border-radius: 18px;
  background: rgba(18, 10, 8, 0.72);
  scrollbar-width: thin;
  scrollbar-color: #f0c14b rgba(255, 255, 255, 0.08);
}

.entry-content--scroll::-webkit-scrollbar { width: 8px; }
.entry-content--scroll::-webkit-scrollbar-track { background: transparent; }
.entry-content--scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(#ffe7a3, #c8962e);
  border-radius: 999px;
}

.entry-content--scroll h1,
.entry-content--scroll h2,
.entry-content--scroll h3,
.entry-content--scroll h4 { scroll-margin-top: 12px; }

.entry-content h1 {
  margin: 0.4rem 0 1rem;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  color: var(--gold);
  font-weight: 800;
  text-align: center;
}

.entry-content h2 {
  margin: 2rem 0 0.75rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--gold);
  color: var(--gold);
  font-size: clamp(1.28rem, 2vw, 1.65rem);
}

.entry-content h3 {
  margin: 1.35rem 0 0.45rem;
  color: #fff;
  font-size: 1.12rem;
}

.entry-content p { margin: 0 0 1rem; }
.entry-content strong { color: #fff; }

.entry-content a { text-underline-offset: 3px; }

.entry-content p.step {
  background: rgba(240, 193, 75, 0.08);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 1rem;
}

.content-figure {
  margin: 1.3rem 0 1.5rem;
  padding: 10px 10px 12px;
  background: #140f1e;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.content-figure img { width: 100%; max-width: 800px; margin-inline: auto; border-radius: 14px; display: block; }
.content-figure figcaption {
  margin-top: 8px;
  text-align: center;
  color: var(--muted);
  font-size: 0.94rem;
}

.table-scroll {
  overflow-x: auto;
  margin: 1rem 0 1.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.entry-content table { width: 100%; border-collapse: collapse; min-width: 560px; }
.entry-content th,
.entry-content td { padding: 0.8rem 0.95rem; text-align: left; vertical-align: top; }
.entry-content th {
  background: linear-gradient(90deg, var(--purple-deep), var(--purple));
  color: #fff;
  font-weight: 700;
}
.entry-content td { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.entry-content tr:nth-child(even) td { background: rgba(255, 255, 255, 0.03); }

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

.official-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 1.15rem 0 1rem;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(240, 193, 75, 0.62);
  background:
    linear-gradient(100deg, rgba(240, 193, 75, 0.2), rgba(227, 27, 46, 0.1) 46%, rgba(0, 0, 0, 0.15));
  box-shadow: 0 0 22px rgba(240, 193, 75, 0.12);
}

.official-note__mark {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe56a, #e39a12);
  color: #3a1608;
  font-weight: 800;
  line-height: 1;
}

.official-note p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
}

.official-note a {
  display: inline-block;
  margin-left: 2px;
  padding: 1px 9px 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe56a, #e39a12);
  color: #3a1608;
  font-weight: 800;
  text-decoration: none;
}

.official-note a:hover { filter: brightness(1.06); color: #3a1608; }

.sunwin-toc {
  display: table;
  width: auto;
  max-width: 100%;
  margin: 1.35rem 0 1.75rem;
  padding: 12px 18px 10px 16px;
  background: #07060c;
  border: 1px solid rgba(240, 193, 75, 0.42);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.sunwin-toc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 240px;
}

.sunwin-toc__title {
  margin: 0;
  color: var(--gold);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sunwin-toc__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 30px;
  margin-left: 12px;
  border: 1px solid rgba(240, 193, 75, 0.55);
  border-radius: 6px;
  color: var(--gold);
  background: rgba(240, 193, 75, 0.06);
  cursor: pointer;
}

.sunwin-toc__toggle:hover { background: rgba(240, 193, 75, 0.16); }

.sunwin-toc__switch {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.sunwin-toc__list,
.sunwin-toc__list ol {
  margin: 8px 0 4px;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.sunwin-toc__list ol { margin: 2px 0 4px 1.35rem; }

.sunwin-toc li {
  margin: 0;
  line-height: 1.7;
  counter-increment: toc;
}

.sunwin-toc li > a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.sunwin-toc li > a::before {
  content: counters(toc, ".") ". ";
  color: var(--gold);
  font-weight: 700;
}

.sunwin-toc li > a:hover,
.sunwin-toc li > a:focus-visible {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sunwin-toc__switch:not(:checked) ~ .sunwin-toc__list { display: none; }

@media (max-width: 640px) {
  .sunwin-toc { display: block; width: 100%; }
}

.related { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.related h2 { margin: 0 0 10px; color: var(--gold); font-size: 1.2rem; border: 0; padding: 0; }
.related ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
@media (min-width: 700px) {
  .related ul { grid-template-columns: 1fr 1fr; }
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0.4rem 0 1.4rem;
}
.guide-card {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(240, 193, 75, 0.45);
  background: rgba(60, 22, 92, 0.38);
  text-decoration: none;
  color: inherit;
}
.guide-card span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.guide-card strong { color: #fff; font-size: 1.05rem; }
.guide-card p { margin: 0; font-size: 0.92rem; }
.guide-card:hover { border-color: var(--gold); }
.related a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.related a:hover { border-color: var(--line); }

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  margin-bottom: 22px;
}

.contact-panel__info,
.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
}

.contact-panel h2,
.contact-form h2 { margin: 0 0 12px; color: var(--gold-soft); font-size: 1.3rem; }

.contact-list,
.contact-list--panel { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list span { display: block; color: var(--gold); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.contact-list a { color: var(--ink); }

.contact-form { display: grid; gap: 10px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; color: var(--gold-soft); font-size: 0.92rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(240, 193, 75, 0.25);
  background: #0c0a12;
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.form-note { margin: 0; padding: 10px 12px; border-radius: 12px; }
.form-note.is-ok { background: rgba(122, 180, 90, 0.16); }
.form-note.is-bad { background: rgba(227, 27, 46, 0.16); }
.hp { display: none !important; }

.site-footer {
  margin-top: 10px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}

.license-bar,
.license-certs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
}

.license-bar { padding: 22px 0 6px; }
.license-bar img,
.license-bar a { display: block; line-height: 0; }
.license-bar img { height: 40px; width: auto; }
.license-bar img.is-mark { height: 52px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr 1.05fr;
  gap: 28px 22px;
  padding: 28px 0 22px;
}

.footer-brand img { height: 84px; width: auto; }
.footer-brand p { margin: 10px 0 0; font-size: 0.92rem; }

.footer-title {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.footer-links { display: grid; justify-content: start; gap: 2px; margin: 0; padding: 0; list-style: none; }
.footer-links a { padding: 3px 0 3px 14px; border-radius: 0; position: relative; }
.footer-links a::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}
.footer-links a:hover { color: var(--gold-soft); background: none; }

.footer-cert { display: block; height: 52px; width: auto; max-width: 100%; margin: 14px 0 0; }
.footer-cert--wide { height: 46px; }
.footer-keywords,
.footer-tags { margin: 12px 0 0; font-size: 0.86rem; line-height: 1.55; color: #fff; }
.footer-keywords span,
.footer-tags strong { color: #fff; }
.footer-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-facts li { font-size: 0.92rem; }
.footer-facts a { color: var(--gold); font-weight: 700; text-decoration: none; }
.footer-facts a:hover { color: #fff; }

.social-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; }
.social-list a {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold-soft);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 16px 0 28px; text-align: center; color: var(--muted); }
#API_SEO_SEOTRAFFIC { margin: 10px 0 4px; }
.hashtags { color: var(--gold); font-weight: 700; letter-spacing: 0.02em; }
.fine-print, .copyright { margin: 6px 0; font-size: 0.92rem; }

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #2a1603;
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.to-top.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.archive-head h1 { color: var(--gold-soft); }
.archive-list { display: grid; gap: 8px; padding: 0; list-style: none; }
.archive-list a { color: var(--ink); }
.not-found h1 { color: var(--gold-soft); }
.not-found .site-nav__list { justify-content: flex-start; margin-top: 18px; }

@media (max-width: 980px) {
  :root { --header: clamp(56px, 14vw, 74px); }
  .contact-panel, .footer-grid { grid-template-columns: 1fr; }
  .header-inner .brand img,
  .brand__logo { height: clamp(46px, 12vw, 64px); }
  .shell,
  .page-shell { width: min(720px, calc(100% - clamp(16px, 4vw, 28px))); }
  .hero {
    width: min(560px, calc(100% - clamp(16px, 4vw, 28px)));
    height: auto;
    padding: clamp(6px, 1.5vw, 16px) 0 clamp(10px, 2vw, 18px);
    justify-content: flex-start;
    overflow: visible;
  }
  .hero__girl { flex: 0 0 auto; }
  .hero__girl img {
    width: auto;
    height: auto;
    max-width: clamp(150px, 42vw, 280px);
    max-height: clamp(190px, 34svh, 360px);
  }
  .hero__actions,
  .hero__note { flex: 0 0 auto; }
  .hero__actions {
    width: 100%;
    gap: clamp(8px, 2.2vw, 14px);
    margin-top: clamp(6px, 1.6vw, 12px);
    justify-items: stretch;
  }
  .hero__status {
    font-size: clamp(10px, 2.6vw, 12px);
    letter-spacing: 0.02em;
    padding: 6px 12px;
  }
  .hero__btn {
    min-height: clamp(48px, 12vw, 56px);
    padding: 8px clamp(10px, 3vw, 16px);
  }
  .hero__btn:active { transform: scale(0.98); filter: brightness(0.97); }
  .hero__label { flex: 1 1 auto; align-content: center; }
  .hero__label strong { font-size: clamp(0.92rem, 3.6vw, 1.05rem); }
  .hero__label small { font-size: clamp(0.66rem, 2.7vw, 0.78rem); }
  .hero__badge {
    flex-basis: clamp(44px, 12vw, 56px);
    width: clamp(44px, 12vw, 56px);
    min-height: 32px;
    font-size: clamp(8px, 2.2vw, 10px);
  }
  .hero__note { font-size: clamp(11px, 2.8vw, 13px); margin-top: 8px; }
  .footer-links a,
  .related a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .guide-grid { grid-template-columns: 1fr; }
}

@media (min-width: 1360px) {
  .side-banner {
    display: block;
    position: absolute;
    top: 50%;
    width: min(230px, calc((100vw - 1000px) / 2 - 16px));
    transform: translateY(-52%);
    text-decoration: none;
  }
  .side-banner--left { right: calc(100% + 20px); }
  .side-banner--right { left: calc(100% + 20px); }
  .side-banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  }
  .side-banner:hover img { filter: brightness(1.06); }
}

.promos { margin-top: 34px; }
.promos h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  color: var(--gold);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}
.promos h2::before,
.promos h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(240, 193, 75, 0.55);
}
.promos__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.promo-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  min-height: 148px;
  overflow: hidden;
  border: 1px solid #e4c36a;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7f8fa 0%, #d5dae1 100%);
  color: #24180c;
  text-decoration: none;
}
.promo-card:hover { filter: brightness(1.03); }
.promo-card__copy {
  display: grid;
  align-content: center;
  padding: 16px 10px 16px 16px;
}
.promo-card__copy strong {
  font-size: clamp(0.92rem, 1.5vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-transform: uppercase;
}
.promo-card__copy em {
  margin-top: 4px;
  color: #c8962e;
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.promo-card__art { position: relative; min-height: 132px; }
.promo-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-card__pill {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffe7a3, #c8962e);
  color: #2a1603;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.mark {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.5;
  vertical-align: 1px;
}
.mark--hot { background: #e31b2e; }
.mark--new { background: #3d6fbe; }
@media (max-width: 700px) {
  .promos__list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* 04/12/2026: footer traffic như cụm sunwin68 (chép từ theme mattroi custom.css) */
.footer-widgets{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:48px;width:100%;margin:6px 0 14px}
.sitetop-slot,.qq-slot{display:flex;flex:0 0 auto;justify-content:center;align-items:center;width:auto;margin:0;text-align:center}
.sitetop-slot{gap:64px}
.sitetop-slot>*{flex:0 0 auto}
.sitetop-slot #tn-w,.sitetop-slot #tno-w{width:auto!important;margin-left:0!important;margin-right:0!important}
#qq-countdown{text-align:center}
.footer-widgets :is(button,.button,input[type="button"]){min-height:0;margin-right:0;max-width:none}
.footer-widgets img,.footer-widgets svg{max-width:none;flex-shrink:0;align-self:center}
