/* HHpoker club guide — independently designed compositions for keyword 18. */
* {
  box-sizing: border-box;
}
:root {
  color-scheme: light;
  --base: #f3eee3;
  --sheet: #fffdf7;
  --ink: #382c32;
  --muted: #7a6e70;
  --edge: #d6cbd0;
  --brand: #6f2943;
  --accent: #b9dde0;
  --wash: #e8dfd8;
  --button-text: #fff8ef;
  --curve: 2px;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
html.modal-open {
  overflow: hidden;
}
body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font:
    16px/1.85 "Microsoft YaHei",
    "PingFang SC",
    system-ui,
    sans-serif;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a,
button,
summary {
  outline-offset: 5px;
  touch-action: manipulation;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p {
  margin: 0 0 1em;
}
h1,
h2,
h3 {
  line-height: 1.4;
  margin-top: 0;
  overflow-wrap: anywhere;
}
h1 {
  text-wrap: balance;
  font-size: clamp(34px, 4.3vw, 62px);
  font-weight: 600;
  letter-spacing: -0.055em;
  margin-bottom: 25px;
}
h2 {
  text-wrap: balance;
  font-size: clamp(25px, 2.3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.frame {
  width: min(1220px, calc(100% - 80px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 100;
  background: var(--sheet);
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.identity-line {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding-block: 11px;
  border-bottom: 1px solid var(--edge);
}
.identity-line .frame {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.site-nav {
  border-bottom: 1px solid var(--edge);
}
.nav-row {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: center;
  min-height: 98px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.wordmark img {
  width: 43px;
  height: 43px;
}
.wordmark strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.045em;
}
.wordmark small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.13em;
  color: var(--muted);
  margin-top: 6px;
}
.desktop-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 13px;
}
.desktop-links a {
  text-decoration: none;
  padding-block: 12px;
}
.desktop-links a[aria-current] {
  color: var(--brand);
  font-weight: 700;
  border-bottom: 2px solid var(--brand);
}
.nav-menu {
  display: none;
  position: relative;
}
.nav-menu summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 14px;
  border: 1px solid var(--edge);
  font-size: 12px;
}
.nav-menu nav {
  position: absolute;
  z-index: 45;
  right: 0;
  top: 52px;
  min-width: 220px;
  padding: 14px;
  border: 1px solid var(--edge);
  background: var(--sheet);
  box-shadow: 0 12px 30px #20172b19;
}
.nav-menu a {
  display: block;
  text-decoration: none;
  padding: 9px 13px;
}
.overline {
  display: block;
  color: var(--brand);
  font-size: 11px;
  letter-spacing: 0.13em;
  font-weight: 700;
  margin-bottom: 20px;
}
.btn {
  display: inline-flex;
  gap: 17px;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: var(--button-text);
  border: 1px solid var(--brand);
  padding: 13px 22px;
  border-radius: var(--curve);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  min-height: 47px;
}
.btn:hover {
  filter: brightness(0.94);
}
.btn.outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--edge);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}
.small-version {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 23px;
}
.hero {
  padding-block: 48px 24px;
}
.hero-body {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 75px;
  align-items: center;
}
.hero-copy .lead {
  color: var(--muted);
  font-size: 16px;
  max-width: 620px;
}
.title-brand {
  display: block;
  font-size: 0.72em;
  margin-bottom: 6px;
  letter-spacing: -0.04em;
}
.title-word {
  white-space: nowrap;
}
.device-composition {
  position: relative;
  min-height: 455px;
  padding: 24px;
  background: var(--wash);
  border-radius: 45% 45% 2px 2px;
  isolation: isolate;
}
.device-composition::before {
  content: "";
  position: absolute;
  inset: 24px 28px;
  border: 1px solid #6f29432b;
  border-radius: 46% 46% 0 0;
  z-index: -1;
}
.device-composition .first-phone {
  position: absolute;
  width: 190px;
  height: 380px;
  object-fit: contain;
  left: 45px;
  top: 35px;
  transform: rotate(-8deg);
}
.device-composition .second-phone {
  position: absolute;
  width: 170px;
  height: 340px;
  object-fit: contain;
  right: 22px;
  bottom: 20px;
  transform: rotate(10deg);
}
.device-caption {
  position: absolute;
  top: 27px;
  right: 14px;
  padding: 12px 16px;
  background: var(--accent);
  color: #273b3e;
  font-size: 12px;
  max-width: 155px;
  border: 1px solid #00000008;
}
.device-caption small {
  font-size: 10px;
  display: block;
}
.hero-note {
  border-top: 1px solid var(--edge);
  margin-top: 35px;
  padding-top: 19px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: 12px;
}
.hero-note a {
  color: var(--brand);
}
.entry-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border: 1px solid var(--edge);
}
.entry-paths a {
  padding: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-right: 1px solid var(--edge);
  text-decoration: none;
  font-size: 14px;
}
.entry-paths a:last-child {
  border: 0;
}
.entry-paths a small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px;
  letter-spacing: 0.08em;
}
.content-section {
  padding-block: 54px;
  border-bottom: 1px solid var(--edge);
}
.content-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 65px;
}
.section-mark {
  display: block;
  font:
    14px/1.4 Georgia,
    serif;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 17px;
}
.content-main {
  min-width: 0;
}
.content-main > p {
  color: var(--muted);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-block: 25px;
}
.content-card {
  border: 1px solid var(--edge);
  padding: 23px;
  background: var(--sheet);
  border-radius: var(--curve);
}
.content-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.step-list {
  counter-reset: step;
  list-style: none;
  margin: 25px 0;
  padding: 0;
}
.step-list li {
  counter-increment: step;
  padding: 23px 0;
  border-top: 1px solid var(--edge);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 15px;
}
.step-list li::before {
  content: counter(step, decimal-leading-zero);
  font:
    18px/1.5 Georgia,
    serif;
  color: var(--brand);
}
.step-list p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.faq-row {
  border-bottom: 1px solid var(--edge);
  padding-block: 20px;
}
.faq-row summary {
  cursor: pointer;
  font-weight: 700;
  padding-right: 10px;
}
.faq-row p {
  font-size: 14px;
  color: var(--muted);
  padding-top: 17px;
  margin: 0;
}
.read-links {
  display: flex;
  gap: 12px 25px;
  flex-wrap: wrap;
  font-size: 13px;
  margin-top: 24px;
  color: var(--brand);
}
.interface-section {
  padding-block: 58px;
  border-bottom: 1px solid var(--edge);
}
.interface-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.interface-head p {
  color: var(--muted);
  font-size: 13px;
  max-width: 450px;
  justify-self: end;
}
.interface-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin-top: 28px;
}
.interface-grid figure {
  margin: 0;
  background: var(--wash);
  padding: 26px;
  border-radius: var(--curve);
}
.interface-grid figure:nth-child(2) {
  background: var(--accent);
}
.interface-grid img {
  width: 100%;
  max-height: 455px;
  object-fit: contain;
}
.interface-grid figcaption {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 13px;
  margin-top: 22px;
}
.interface-grid figcaption small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.closing {
  padding-block: 43px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.closing h2 {
  font-size: 26px;
  margin: 0 0 10px;
  max-width: 790px;
}
.closing p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.site-footer {
  background: var(--brand);
  color: var(--button-text);
  padding-block: 35px;
  font-size: 12px;
}
.footer-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
}
.footer-row strong {
  font-size: 16px;
  display: block;
  margin-bottom: 7px;
}
.footer-row p {
  margin: 0;
  opacity: 0.75;
}
.footer-row nav {
  display: flex;
  gap: 17px 26px;
  flex-wrap: wrap;
}
.footer-row a {
  text-decoration: none;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  padding-block: 25px;
}
.breadcrumb a {
  text-decoration: none;
}
.page-hero {
  max-width: 1000px;
  padding: 20px 0 40px;
}
.page-hero h1 {
  font-size: clamp(31px, 3.7vw, 49px);
}
.page-hero .lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 850px;
}
.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 65px;
}
.page-menu {
  position: sticky;
  top: 25px;
  border-top: 3px solid var(--brand);
  padding-top: 20px;
}
.page-menu strong {
  font-size: 12px;
  display: block;
  margin-bottom: 14px;
  color: var(--brand);
}
.page-menu a {
  display: block;
  font-size: 13px;
  padding-block: 9px;
  text-decoration: none;
}
.page-menu .btn {
  margin-top: 20px;
  width: 100%;
  font-size: 12px;
  padding-inline: 13px;
}
.article-content {
  min-width: 0;
}
.article-content .content-layout {
  display: block;
}
.article-content .content-section {
  padding-block: 35px;
}
.article-content .content-section:first-child {
  padding-top: 0;
}
.article-content h2 {
  font-size: 27px;
}
.mobile-bar {
  display: none;
}
dialog {
  border: 0;
  background: var(--sheet);
  color: var(--ink);
  border-radius: 14px;
  padding: 30px;
  width: min(480px, calc(100% - 30px));
  max-height: calc(100dvh - 30px);
  overflow: auto;
  box-shadow: 0 20px 80px #0005;
}
dialog::backdrop {
  background: #201b2cad;
  backdrop-filter: blur(5px);
}
.dialog-head {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.dialog-head h2 {
  font-size: 23px;
  margin: 0;
}
.close {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--edge);
  color: var(--ink);
  background: transparent;
  border-radius: 50%;
}
.dialog-description {
  color: var(--muted);
  font-size: 14px;
}
.copy-line {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--edge);
  padding: 18px;
  margin-top: 15px;
  border-radius: 8px;
  background: var(--base);
}
.copy-line span {
  display: block;
  font-size: 12px;
}
.copy-line b {
  display: block;
  font:
    700 25px/1.5 "Segoe UI",
    sans-serif;
}
.copy-line .btn {
  padding: 10px 14px;
  min-height: 40px;
  font-size: 12px;
  flex-shrink: 0;
}
.reminder {
  margin-top: 22px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
#copy-status {
  font-size: 13px;
  min-height: 25px;
  margin: 12px 0 0;
}
.copy-buffer {
  position: fixed;
  opacity: 0;
  width: 1px;
  height: 1px;
  left: 0;
  top: 0;
}
/* 2 — warm pine club directory, decision panel and full-width numbered rows. */
.theme-2 {
  --base: #eeeede;
  --sheet: #f9faf0;
  --ink: #263b34;
  --muted: #687a6b;
  --edge: #c6d0bd;
  --brand: #315847;
  --accent: #eab375;
  --wash: #d6dec9;
  --button-text: #fffaf0;
  --curve: 18px;
}
.theme-2 .identity-line {
  background: var(--brand);
  color: var(--button-text);
  border: 0;
}
.theme-2 .site-nav {
  border-bottom: 0;
}
.theme-2 .nav-row {
  min-height: 104px;
}
.theme-2 .desktop-links a[aria-current] {
  border: 0;
  text-decoration: underline;
}
.directory-opening {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 55px;
  align-items: start;
}
.directory-panel {
  background: var(--brand);
  color: var(--button-text);
  border-radius: 26px;
  padding: 32px;
}
.directory-panel .overline {
  color: var(--accent);
}
.directory-panel h2 {
  font-size: 26px;
}
.directory-panel p {
  font-size: 14px;
  opacity: 0.8;
}
.directory-panel a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #ffffff30;
  padding: 16px 0;
  text-decoration: none;
  font-size: 14px;
}
.directory-panel a:last-child {
  padding-bottom: 0;
}
.directory-panel a small {
  display: block;
  opacity: 0.65;
  font-size: 10px;
  margin-top: 4px;
}
.theme-2 .entry-paths {
  border: 0;
  gap: 16px;
}
.theme-2 .entry-paths a {
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: var(--sheet);
}
.theme-2 .hero-note {
  margin-top: 28px;
}
.theme-2 .content-layout {
  grid-template-columns: 250px 1fr;
  gap: 55px;
}
.theme-2 .section-mark {
  font-size: 35px;
  color: var(--brand);
}
.theme-2 .card-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}
.theme-2 .content-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 25px;
  padding: 25px;
}
.theme-2 .content-card h3 {
  margin: 0;
}
.theme-2 .interface-grid {
  gap: 20px;
}
.theme-2 .interface-grid figure {
  background: var(--sheet);
  padding: 30px;
  border-radius: 95px 95px 18px 18px;
}
.theme-2 .interface-grid figure:nth-child(2) {
  background: #e4c6a2;
  transform: translateY(20px);
}
.theme-2 .article-layout {
  grid-template-columns: minmax(0, 1fr) 205px;
  gap: 50px;
}
.theme-2 .page-menu {
  grid-column: 2;
  grid-row: 1;
  background: var(--wash);
  border: 0;
  border-radius: 18px;
  padding: 23px;
}
.theme-2 .article-content {
  grid-column: 1;
  grid-row: 1;
}
.theme-2 .article-content .content-card {
  display: block;
}
.theme-2 .article-content .content-card h3 {
  margin-bottom: 12px;
}
/* 3 — midnight reading room, centered title and horizontal signposts. */
.theme-3 {
  color-scheme: dark;
  --base: #171d37;
  --sheet: #232d4c;
  --ink: #edf0fc;
  --muted: #acb9d3;
  --edge: #394866;
  --brand: #bcdce6;
  --accent: #8599b7;
  --wash: #202a47;
  --button-text: #17213a;
  --curve: 4px;
}
.theme-3 .identity-line {
  display: none;
}
.theme-3 .nav-row {
  min-height: 104px;
}
.reading-opening {
  text-align: center;
  max-width: 1050px;
  margin-inline: auto;
  padding-top: 15px;
}
.reading-opening h1 {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(34px, 4.6vw, 64px);
}
.reading-opening .lead {
  max-width: 780px;
  margin-inline: auto;
}
.reading-opening .cta-row {
  justify-content: center;
}
.reading-signs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  text-align: left;
}
.reading-signs a {
  display: block;
  padding: 24px 28px;
  border-right: 1px solid var(--edge);
  text-decoration: none;
}
.reading-signs a:last-child {
  border: 0;
}
.reading-signs span {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: block;
  margin-bottom: 7px;
}
.reading-signs strong {
  font-size: 17px;
}
.reading-signs p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}
.theme-3 .hero-note {
  text-align: center;
  justify-content: center;
  flex-wrap: wrap;
  border: 0;
  padding-top: 0;
}
.theme-3 .entry-paths {
  display: none;
}
.theme-3 .content-layout {
  grid-template-columns: 1fr;
  gap: 8px;
}
.theme-3 .section-title {
  display: flex;
  gap: 25px;
  align-items: baseline;
}
.theme-3 .section-mark {
  width: 40px;
  font-size: 13px;
}
.theme-3 .card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.theme-3 .content-card {
  border: 0;
  border-top: 3px solid #8eaac2;
}
.theme-3 .step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}
.theme-3 .interface-grid figure {
  background: #263452;
  border: 1px solid var(--edge);
}
.theme-3 .interface-grid figure:nth-child(2) {
  background: #34405a;
}
.theme-3 .page-hero {
  text-align: center;
  margin-inline: auto;
  max-width: 1020px;
}
.theme-3 .page-hero .lead {
  margin-inline: auto;
}
.theme-3 .page-hero .cta-row {
  justify-content: center;
}
.theme-3 .article-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.theme-3 .page-menu {
  position: static;
  width: 100%;
  display: flex;
  gap: 12px 24px;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 22px;
  border: 1px solid var(--edge);
}
.theme-3 .page-menu strong {
  margin: 0 10px 0 0;
}
.theme-3 .page-menu a {
  padding: 5px 0;
}
.theme-3 .page-menu .btn {
  width: auto;
  margin: 0;
}
.theme-3 .article-content {
  width: 100%;
}
.theme-3 .article-content .content-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 45px;
}
.theme-3 .article-content .section-title {
  display: block;
}
.theme-3 .article-content .card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.theme-3 .site-footer {
  background: #10172c;
  color: var(--ink);
}
/* 4 — ochre folio, strict ruled typography and narrow side index. */
.theme-4 {
  --base: #f5f0df;
  --sheet: #fffdf4;
  --ink: #342e22;
  --muted: #817563;
  --edge: #d6cab3;
  --brand: #895329;
  --accent: #d1b782;
  --wash: #e6dbc0;
  --button-text: #fff9ed;
  --curve: 0;
}
.theme-4 .identity-line {
  border-top: 5px solid var(--brand);
}
.theme-4 .site-nav {
  border-bottom: 3px double var(--edge);
}
.theme-4 .wordmark strong {
  font-family: Georgia, serif;
  font-size: 28px;
}
.folio-opening {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr) 300px;
  gap: 40px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 35px;
}
.folio-label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--edge);
  padding-right: 20px;
  font-size: 12px;
  color: var(--muted);
}
.folio-label b {
  font:
    70px/1 Georgia,
    serif;
  color: var(--brand);
  letter-spacing: -0.06em;
}
.folio-opening h1 {
  font-family: Georgia, "SimSun", serif;
  font-weight: 600;
  font-size: clamp(34px, 3.4vw, 50px);
}
.folio-opening .device-composition {
  background: transparent;
  border: 1px solid var(--edge);
  border-radius: 0;
  min-height: 420px;
  padding: 0;
}
.folio-opening .device-composition::before {
  display: none;
}
.folio-opening .first-phone {
  left: 20px;
  top: 20px;
  transform: none;
  width: 175px;
  height: 350px;
}
.folio-opening .second-phone {
  right: 0;
  bottom: 10px;
  transform: rotate(6deg);
  width: 145px;
  height: 290px;
}
.folio-opening .device-caption {
  top: auto;
  bottom: 10px;
  left: 10px;
  right: auto;
  font-size: 11px;
  padding: 9px;
}
.theme-4 .entry-paths {
  border: 0;
  border-bottom: 1px solid var(--edge);
  margin-top: 0;
}
.theme-4 .entry-paths a {
  padding-block: 20px;
}
.theme-4 .hero-note {
  border: 0;
  margin-top: 22px;
  padding-top: 0;
}
.theme-4 .content-layout {
  grid-template-columns: 350px 1fr;
  gap: 55px;
}
.theme-4 .section-mark {
  font-size: 44px;
  line-height: 1;
  color: var(--brand);
}
.theme-4 .card-grid {
  display: block;
}
.theme-4 .content-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 25px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--edge);
  padding: 22px 0;
}
.theme-4 .content-card h3 {
  font-size: 17px;
}
.theme-4 .interface-grid {
  border: 1px solid var(--edge);
  gap: 0;
}
.theme-4 .interface-grid figure {
  background: transparent;
  border-right: 1px solid var(--edge);
}
.theme-4 .interface-grid figure:last-child {
  border: 0;
}
.theme-4 .interface-grid figure:nth-child(2) {
  background: var(--wash);
}
.theme-4 .page-menu {
  border-top: 3px double var(--brand);
}
.theme-4 .page-hero {
  border-bottom: 1px solid var(--ink);
  margin-bottom: 40px;
  max-width: 100%;
}
.theme-4 .article-layout {
  grid-template-columns: 175px 1fr;
}
.theme-4 .article-content .content-card {
  grid-template-columns: 180px 1fr;
}
/* 5 — ice blue club atlas, desktop rail and asymmetric modular reading. */
.theme-5 {
  --base: #edf4f5;
  --sheet: #fcffff;
  --ink: #253b4c;
  --muted: #647b88;
  --edge: #c8dbde;
  --brand: #295c7e;
  --accent: #e6b5a3;
  --wash: #dcebef;
  --button-text: #fff;
  --curve: 26px;
}
.theme-5 .site-shell {
  padding-left: 88px;
}
.theme-5 .side-rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 88px;
  border-right: 1px solid var(--edge);
  padding: 30px 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 35px;
}
.side-rail {
  display: none;
}
.theme-5 .side-rail img {
  width: 45px;
}
.theme-5 .side-rail span {
  writing-mode: vertical-rl;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.18em;
}
.theme-5 .identity-line {
  display: none;
}
.theme-5 .site-nav {
  border: 0;
}
.theme-5 .desktop-links {
  background: var(--sheet);
  border: 1px solid var(--edge);
  border-radius: 35px;
  padding: 5px 20px;
  gap: 17px;
}
.theme-5 .desktop-links a[aria-current] {
  border: 0;
  text-decoration: underline;
}
.atlas-opening {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
}
.atlas-opening .hero-copy {
  background: var(--wash);
  padding: 36px;
  border-radius: 30px;
}
.atlas-opening h1 {
  font-size: clamp(34px, 3.8vw, 53px);
}
.atlas-opening .device-composition {
  border-radius: 30px;
  background: #e6b5a3;
}
.atlas-opening .device-composition::before {
  border: 0;
  border-radius: 50%;
  background: #c1938b25;
  inset: 50px 10px;
}
.atlas-opening .first-phone {
  left: 12px;
  top: 32px;
  width: 180px;
  height: 360px;
}
.atlas-opening .second-phone {
  right: 6px;
  bottom: 18px;
  width: 160px;
  height: 320px;
}
.atlas-opening .device-caption {
  background: var(--sheet);
  color: var(--ink);
  border-radius: 15px;
  top: 22px;
  right: 15px;
}
.theme-5 .entry-paths {
  border: 0;
  gap: 18px;
  margin-top: 18px;
}
.theme-5 .entry-paths a {
  background: var(--sheet);
  border: 1px solid var(--edge);
  border-radius: 20px;
  padding: 22px;
}
.theme-5 .hero-note {
  border: 0;
  margin-top: 20px;
  padding-top: 0;
}
.theme-5 .content-section {
  border: 0;
  padding-block: 37px;
}
.theme-5 .content-layout {
  grid-template-columns: 1fr;
  gap: 8px;
}
.theme-5 .section-title {
  display: flex;
  gap: 20px;
  align-items: baseline;
}
.theme-5 .section-mark {
  font-size: 12px;
  background: var(--accent);
  color: #503c3b;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.theme-5 .card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.theme-5 .content-card {
  border: 0;
  padding: 27px;
}
.theme-5 .content-card:nth-child(2n) {
  background: var(--wash);
}
.theme-5 .step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.theme-5 .step-list li {
  border: 1px solid var(--edge);
  background: var(--sheet);
  border-radius: 23px;
  padding: 25px;
}
.theme-5 .interface-section {
  border: 0;
}
.theme-5 .interface-grid figure {
  background: var(--sheet);
  padding: 28px;
  border-radius: 30px;
}
.theme-5 .interface-grid figure:nth-child(2) {
  background: var(--accent);
}
.theme-5 .interface-grid figure:nth-child(3) {
  background: var(--wash);
}
.theme-5 .closing {
  background: var(--wash);
  border-radius: 26px;
  padding: 30px;
  margin-block: 30px;
}
.theme-5 .page-hero {
  max-width: 100%;
  border-radius: 30px;
  padding: 32px;
  background: var(--sheet);
  margin-bottom: 38px;
}
.theme-5 .article-layout {
  grid-template-columns: 190px 1fr;
  gap: 40px;
}
.theme-5 .page-menu {
  border: 0;
  background: var(--wash);
  padding: 24px;
  border-radius: 23px;
}
.theme-5 .article-content .card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 1150px) {
  .frame {
    width: calc(100% - 56px);
  }
  .desktop-links {
    gap: 15px;
    font-size: 12px;
  }
  .hero-body {
    gap: 45px;
  }
  .content-layout,
  .theme-4 .content-layout {
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 35px;
  }
  .directory-opening {
    gap: 35px;
  }
  .folio-opening {
    grid-template-columns: 75px 1fr 240px;
    gap: 27px;
  }
  .folio-label b {
    font-size: 52px;
  }
  .folio-opening .first-phone {
    width: 160px;
    height: 320px;
    left: 5px;
  }
  .folio-opening .second-phone {
    width: 135px;
    height: 270px;
  }
  .theme-5 .site-shell {
    padding-left: 65px;
  }
  .theme-5 .side-rail {
    width: 65px;
  }
  .theme-5 .desktop-links {
    gap: 12px;
    padding-inline: 15px;
  }
  .atlas-opening .hero-copy {
    padding: 28px;
  }
  .atlas-opening .first-phone {
    left: 5px;
    width: 165px;
    height: 330px;
  }
  .atlas-opening .second-phone {
    right: 0;
    width: 150px;
    height: 300px;
  }
  .theme-2 .content-card {
    grid-template-columns: 160px 1fr;
    gap: 20px;
  }
  .interface-grid {
    gap: 20px;
  }
  .interface-grid figure {
    padding: 20px;
  }
}
@media (max-width: 960px) {
  .desktop-links {
    display: none;
  }
  .nav-menu {
    display: block;
  }
  .hero-body {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .device-composition .first-phone {
    left: 12px;
    top: 40px;
    width: 175px;
    height: 350px;
  }
  .device-composition .second-phone {
    right: 5px;
    width: 155px;
    height: 310px;
  }
  .device-composition {
    min-height: 430px;
  }
  .device-caption {
    padding: 10px;
    right: 5px;
  }
  .directory-opening {
    grid-template-columns: 1fr 1fr;
  }
  .theme-2 .content-layout {
    grid-template-columns: 220px 1fr;
    gap: 30px;
  }
  .folio-opening {
    grid-template-columns: 1fr 260px;
  }
  .folio-label {
    display: none;
  }
  .theme-5 .card-grid,
  .theme-3 .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .atlas-opening {
    gap: 20px;
  }
  .atlas-opening .first-phone {
    width: 150px;
    height: 300px;
    top: 50px;
  }
  .atlas-opening .second-phone {
    width: 135px;
    height: 270px;
    bottom: 25px;
  }
  .interface-grid figcaption {
    display: block;
  }
  .interface-grid figcaption small {
    margin-top: 7px;
  }
  .article-layout,
  .theme-4 .article-layout {
    grid-template-columns: 180px 1fr;
    gap: 35px;
  }
  .theme-2 .article-layout {
    grid-template-columns: 1fr 180px;
    gap: 30px;
  }
  .theme-3 .article-content .content-layout {
    grid-template-columns: 220px 1fr;
    gap: 30px;
  }
  .theme-5 .article-layout {
    grid-template-columns: 170px 1fr;
    gap: 27px;
  }
}
@media (max-width: 760px) {
  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
    font-size: 15px;
  }
  .frame {
    width: calc(100% - 36px);
  }
  .identity-line {
    font-size: 9px;
    padding-block: 8px;
  }
  .identity-line .frame span:last-child {
    display: none;
  }
  .nav-row {
    min-height: 80px;
    gap: 15px;
  }
  .wordmark {
    gap: 10px;
  }
  .wordmark img {
    width: 36px;
    height: 36px;
  }
  .wordmark strong {
    font-size: 22px;
  }
  .wordmark small {
    font-size: 9px;
    letter-spacing: 0.08em;
  }
  .hero {
    padding-top: 28px;
  }
  h1 {
    font-size: 34px;
    letter-spacing: -0.045em;
  }
  h2 {
    font-size: 26px;
  }
  .overline {
    margin-bottom: 17px;
  }
  .hero-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-copy .lead {
    font-size: 15px;
  }
  .cta-row {
    gap: 10px;
    margin-top: 24px;
  }
  .btn {
    font-size: 13px;
    padding: 13px 18px;
    gap: 15px;
  }
  .small-version {
    margin-top: 20px;
  }
  .device-composition {
    min-height: 405px;
    margin-top: 3px;
  }
  .device-composition .first-phone {
    left: 20px;
    width: 170px;
    height: 340px;
    top: 35px;
  }
  .device-composition .second-phone {
    right: 9px;
    bottom: 18px;
    width: 145px;
    height: 290px;
  }
  .device-caption {
    right: 9px;
    top: 22px;
    max-width: 145px;
    font-size: 11px;
  }
  .hero-note {
    display: block;
    margin-top: 24px;
    padding-top: 15px;
    font-size: 11px;
  }
  .hero-note > span {
    display: block;
  }
  .hero-note a {
    display: inline-block;
    margin-top: 8px;
  }
  .entry-paths {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
  .entry-paths a {
    border: 0;
    border-bottom: 1px solid var(--edge);
    padding: 18px 20px;
  }
  .content-section {
    padding-block: 35px;
  }
  .content-layout,
  .theme-2 .content-layout,
  .theme-4 .content-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .section-mark {
    margin-bottom: 11px;
    font-size: 13px;
  }
  .section-title h2 {
    font-size: 25px;
  }
  .card-grid,
  .theme-3 .card-grid,
  .theme-5 .card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .content-card {
    padding: 21px;
  }
  .step-list li {
    padding-block: 21px;
    grid-template-columns: 28px 1fr;
    gap: 15px;
  }
  .interface-section {
    padding-block: 37px;
  }
  .interface-head {
    display: block;
  }
  .interface-head p {
    justify-self: start;
  }
  .interface-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 23px;
  }
  .interface-grid figure {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 20px;
    align-items: center;
    padding: 24px;
  }
  .interface-grid img {
    max-height: 350px;
  }
  .interface-grid figcaption {
    margin: 0;
    line-height: 1.6;
  }
  .interface-grid figcaption small {
    margin-top: 14px;
  }
  .closing {
    padding-block: 30px;
    display: block;
  }
  .closing h2 {
    font-size: 24px;
  }
  .closing .btn {
    margin-top: 22px;
  }
  .site-footer {
    padding-block: 28px;
  }
  .footer-row {
    display: block;
  }
  .footer-row nav {
    margin-top: 23px;
    gap: 13px 20px;
  }
  .mobile-bar {
    display: flex;
    position: fixed;
    z-index: 40;
    bottom: 0;
    left: 0;
    right: 0;
    gap: 13px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--edge);
    background: var(--sheet);
    color: var(--ink);
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 24px #00000008;
  }
  .mobile-bar strong {
    font-size: 17px;
    line-height: 1.35;
    display: block;
  }
  .mobile-bar small {
    color: var(--muted);
    font-size: 10px;
    display: block;
  }
  .mobile-bar .btn {
    min-height: 44px;
    font-size: 13px;
    padding: 12px 18px;
    flex-shrink: 0;
  }
  .breadcrumb {
    padding-block: 20px 12px;
  }
  .page-hero {
    padding-block: 18px 30px;
  }
  .page-hero h1 {
    font-size: 31px;
  }
  .page-hero .lead {
    font-size: 15px;
  }
  .article-layout,
  .theme-2 .article-layout,
  .theme-4 .article-layout,
  .theme-5 .article-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .page-menu {
    width: 100%;
    position: static;
    padding: 17px;
    border: 1px solid var(--edge);
  }
  .page-menu strong {
    margin-bottom: 10px;
  }
  .page-menu a {
    display: inline-block;
    margin-right: 16px;
  }
  .page-menu .btn {
    width: auto;
    display: inline-flex;
    margin-top: 10px;
  }
  .article-content {
    width: 100%;
  }
  .article-content .content-section {
    padding-block: 28px;
  }
  .article-content h2 {
    font-size: 25px;
  }
  .directory-opening {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .directory-panel {
    padding: 26px;
  }
  .directory-panel h2 {
    font-size: 24px;
  }
  .theme-2 .nav-row {
    min-height: 82px;
  }
  .theme-2 .entry-paths {
    gap: 11px;
  }
  .theme-2 .entry-paths a {
    padding: 19px;
  }
  .theme-2 .section-mark {
    font-size: 28px;
  }
  .theme-2 .content-card {
    display: block;
    padding: 23px;
  }
  .theme-2 .content-card h3 {
    margin-bottom: 12px;
  }
  .theme-2 .interface-grid figure {
    border-radius: 24px;
    padding: 24px;
  }
  .theme-2 .interface-grid figure:nth-child(2) {
    transform: none;
  }
  .theme-2 .mobile-bar {
    border-top: 3px solid var(--brand);
  }
  .reading-opening {
    text-align: left;
    padding-top: 0;
  }
  .reading-opening h1 {
    font-size: 34px;
  }
  .reading-opening .cta-row {
    justify-content: start;
  }
  .reading-signs {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }
  .reading-signs a {
    padding: 20px 0;
    border: 0;
    border-bottom: 1px solid var(--edge);
  }
  .reading-signs a:last-child {
    padding-bottom: 20px;
  }
  .theme-3 .nav-row {
    min-height: 82px;
  }
  .theme-3 .hero-note {
    text-align: left;
  }
  .theme-3 .section-title {
    gap: 16px;
  }
  .theme-3 .section-mark {
    width: auto;
  }
  .theme-3 .step-list {
    display: block;
  }
  .theme-3 .page-hero {
    text-align: left;
  }
  .theme-3 .page-hero .cta-row {
    justify-content: start;
  }
  .theme-3 .page-menu {
    display: block;
    padding: 17px;
  }
  .theme-3 .page-menu .btn {
    margin-top: 10px;
  }
  .theme-3 .article-content .content-layout {
    display: block;
  }
  .theme-3 .article-content .card-grid {
    grid-template-columns: 1fr;
  }
  .theme-3 .mobile-bar {
    background: #232d4c;
  }
  .folio-opening {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .folio-opening h1 {
    font-size: 36px;
  }
  .folio-opening .device-composition {
    min-height: 390px;
  }
  .folio-opening .first-phone {
    left: 28px;
    width: 175px;
    height: 350px;
    top: 20px;
  }
  .folio-opening .second-phone {
    right: 15px;
    width: 145px;
    height: 290px;
  }
  .theme-4 .entry-paths a {
    border-bottom: 1px solid var(--edge);
    padding-inline: 0;
  }
  .theme-4 .section-mark {
    font-size: 34px;
  }
  .theme-4 .content-card,
  .theme-4 .article-content .content-card {
    display: block;
  }
  .theme-4 .interface-grid {
    gap: 0;
  }
  .theme-4 .interface-grid figure {
    border: 0;
    border-bottom: 1px solid var(--edge);
  }
  .theme-4 .page-hero {
    margin-bottom: 30px;
  }
  .theme-5 .site-shell {
    padding-left: 0;
  }
  .theme-5 .side-rail {
    display: none;
  }
  .atlas-opening {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .atlas-opening .hero-copy {
    padding: 27px;
    border-radius: 23px;
  }
  .atlas-opening h1 {
    font-size: 33px;
  }
  .atlas-opening .device-composition {
    border-radius: 23px;
    min-height: 395px;
  }
  .atlas-opening .first-phone {
    left: 25px;
    top: 32px;
    width: 170px;
    height: 340px;
  }
  .atlas-opening .second-phone {
    right: 15px;
    bottom: 20px;
    width: 145px;
    height: 290px;
  }
  .theme-5 .entry-paths {
    gap: 11px;
    margin-top: 17px;
  }
  .theme-5 .entry-paths a {
    border-radius: 17px;
    padding: 19px;
  }
  .theme-5 .content-section {
    padding-block: 30px;
  }
  .theme-5 .section-title {
    align-items: start;
    gap: 16px;
  }
  .theme-5 .section-mark {
    padding: 5px 10px;
    font-size: 10px;
    margin-top: 4px;
  }
  .theme-5 .content-card {
    padding: 25px;
  }
  .theme-5 .step-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .theme-5 .interface-grid figure {
    border-radius: 23px;
    padding: 24px;
  }
  .theme-5 .page-hero {
    padding: 26px;
    margin-bottom: 30px;
    border-radius: 23px;
  }
  .theme-5 .article-content .card-grid {
    grid-template-columns: 1fr;
  }
  .theme-5 .closing {
    padding: 26px;
    border-radius: 23px;
  }
  .theme-5 .mobile-bar {
    border-radius: 20px 20px 0 0;
  }
}
@media (max-width: 360px) {
  .frame {
    width: calc(100% - 28px);
  }
  .wordmark small {
    font-size: 8px;
  }
  .wordmark img {
    width: 33px;
    height: 33px;
  }
  .nav-menu summary {
    padding: 7px 10px;
  }
  .device-composition {
    min-height: 370px;
  }
  .device-composition .first-phone {
    width: 150px;
    height: 300px;
    left: 12px;
    top: 32px;
  }
  .device-composition .second-phone {
    width: 135px;
    height: 270px;
    right: 12px;
  }
  .device-caption {
    font-size: 10px;
    right: 3px;
    padding: 9px;
  }
  .interface-grid figure {
    padding: 20px;
    gap: 17px;
  }
  .folio-opening .first-phone {
    left: 10px;
  }
  .atlas-opening .hero-copy {
    padding: 23px;
  }
  .atlas-opening .first-phone {
    left: 17px;
  }
  .atlas-opening .second-phone {
    right: 8px;
  }
  .mobile-bar {
    padding-inline: 14px;
    gap: 10px;
  }
  .mobile-bar .btn {
    padding-inline: 14px;
  }
  dialog {
    padding: 22px;
  }
  .copy-line {
    padding: 13px;
    gap: 10px;
  }
  .copy-line b {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
