:root {
  --telecom-blue: #0067e9;
  --telecom-blue-2: #168cff;
  --telecom-blue-3: #004eaf;
  --notice-red: #e60012;
  --ink-blue: #00468f;
  --line: #d7d7d7;
  --paper: #fffdf8;
  --page-bg: #eef9ff;
}

* {
  box-sizing: border-box;
}

html {
  background: #dcefff;
}

body {
  margin: 0;
  color: #333;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #dcefff;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background: #dcefff;
}

.phone-page {
  width: min(100%, 430px);
  min-height: 100vh;
  background:
    linear-gradient(180deg, #0877f4 0 300px, #f3fcff 300px),
    #0877f4;
  box-shadow: 0 0 32px rgba(0, 40, 120, 0.18);
  overflow: hidden;
}

.entry-hero,
.guide-top {
  position: relative;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 16% 45%, rgba(101, 188, 255, 0.35) 0 70px, transparent 72px),
    radial-gradient(ellipse at 76% 22%, rgba(24, 158, 255, 0.45) 0 150px, transparent 154px),
    linear-gradient(180deg, #168cff 0%, #006df0 56%, #0059d0 100%);
}

.entry-hero::before,
.guide-top::before {
  content: "";
  position: absolute;
  left: -42px;
  right: -42px;
  bottom: -34px;
  height: 106px;
  background: #fbffff;
  border-radius: 50% 50% 0 0 / 44% 44% 0 0;
  box-shadow: 0 -18px 42px rgba(0, 69, 160, 0.1);
}

.entry-hero::before {
  left: -72px;
  right: -72px;
  bottom: -40px;
  height: 92px;
  border-radius: 50% 50% 0 0 / 58% 58% 0 0;
}

.entry-hero::after,
.guide-top::after {
  content: "";
  position: absolute;
  right: -70px;
  top: 54px;
  width: 245px;
  height: 195px;
  border: 36px solid rgba(255, 255, 255, 0.14);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 52% 48% 55% 45%;
  transform: rotate(-24deg);
}

.entry-hero {
  min-height: 270px;
  padding: 16px 20px 72px;
}

.brand-line,
.guide-brand {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.brand-image {
  display: block;
  height: auto;
  object-fit: contain;
}

.telecom-logo-entry {
  width: 176px;
}

.fiveg-logo-entry {
  width: 64px;
}

.telecom-logo-guide {
  width: 91px;
}

.telecom-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-shadow: 0 2px 3px rgba(0, 55, 150, 0.18);
}

.telecom-mark {
  display: inline-grid;
  width: 46px;
  height: 42px;
  place-items: center;
  font-family: Arial, sans-serif;
  font-size: 38px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  transform: skew(-9deg);
}

.telecom-text {
  display: grid;
  line-height: 1;
  transform: translateY(2px);
}

.telecom-text strong {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  -webkit-text-stroke: 0.4px #fff;
}

.telecom-text em {
  margin-top: 4px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
}

.network-logo {
  position: relative;
  display: grid;
  min-width: 86px;
  justify-items: center;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 2px rgba(0, 35, 120, 0.18);
}

.network-logo strong {
  color: #00a2ff;
  font-size: 53px;
  font-style: italic;
  font-weight: 900;
  -webkit-text-stroke: 2px #fff;
}

.network-logo span {
  position: absolute;
  right: 1px;
  top: 31px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  -webkit-text-stroke: 0;
}

.network-logo em {
  margin-top: -5px;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.network-logo em::first-letter,
.network-logo strong::first-letter {
  color: #e60012;
}

.entry-title {
  position: relative;
  z-index: 3;
  margin-top: 42px;
  text-align: center;
}

.entry-title h1 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
  text-shadow: 0 4px 8px rgba(0, 42, 132, 0.22);
}

.device-art {
  position: absolute;
  z-index: 4;
  right: 34px;
  bottom: 15px;
  width: 118px;
  height: 88px;
}

.phone-art {
  position: absolute;
  right: 2px;
  bottom: 5px;
  width: 58px;
  height: 86px;
  border: 5px solid #111827;
  border-radius: 11px;
  background:
    radial-gradient(circle at 70% 33%, rgba(255, 255, 255, 0.72) 0 20px, transparent 21px),
    linear-gradient(145deg, #043f9d 0%, #167bff 100%);
  box-shadow: 0 8px 16px rgba(0, 27, 78, 0.32);
  transform: rotate(8deg);
}

.phone-art::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 3px;
  width: 22px;
  height: 5px;
  border-radius: 0 0 5px 5px;
  background: #111827;
  transform: translateX(-50%);
}

.sim-art {
  position: absolute;
  right: 45px;
  bottom: 17px;
  width: 68px;
  height: 73px;
  border-radius: 5px;
  background: #f7fbff;
  box-shadow: 0 10px 14px rgba(0, 55, 140, 0.2);
  transform: rotate(8deg);
}

.sim-art::before {
  content: "e";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  color: var(--ink-blue);
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  text-align: center;
}

.sim-art::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 12px;
  width: 38px;
  height: 24px;
  border: 2px solid #a9bdd7;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 0 12px, #a9bdd7 12px 14px, transparent 14px 24px, #a9bdd7 24px 26px, transparent 26px),
    linear-gradient(180deg, transparent 0 10px, #a9bdd7 10px 12px, transparent 12px);
}

.chip-art {
  position: absolute;
  left: 8px;
  bottom: 7px;
  width: 44px;
  height: 54px;
  border-radius: 4px;
  background: rgba(218, 239, 255, 0.92);
  transform: skew(-8deg) rotate(-4deg);
}

.entry-card {
  position: relative;
  z-index: 5;
  margin: -28px 24px 0;
  padding: 54px 25px 56px;
  border-radius: 12px;
  background: rgba(255, 254, 248, 0.98);
  box-shadow: 0 18px 34px rgba(0, 83, 178, 0.13);
}

.entry-card::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: 0;
  height: 8px;
  border-radius: 12px 12px 0 0;
  background: rgba(255, 254, 248, 0.98);
}

.field {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
}

.field input {
  min-width: 0;
  width: 100%;
  height: 48px;
  border: 0;
  outline: 0;
  color: #303846;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
}

.field input::placeholder {
  color: #555;
  opacity: 1;
}

.field-icon {
  position: relative;
  display: inline-grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--ink-blue);
  border-radius: 50%;
}

.phone-icon::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 3px solid var(--ink-blue);
  border-right-color: transparent;
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(-38deg);
}

.user-icon::before {
  content: "";
  position: absolute;
  top: 4px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--ink-blue);
  border-radius: 50%;
}

.user-icon::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 15px;
  height: 8px;
  border: 2px solid var(--ink-blue);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.name-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  gap: 18px;
  align-items: center;
  margin-top: 27px;
}

.card-art {
  display: grid;
  width: 92px;
  height: 53px;
  place-items: center;
  border-radius: 5px;
  background:
    radial-gradient(circle at 78% 25%, rgba(67, 154, 255, 0.5) 0 18px, transparent 19px),
    linear-gradient(135deg, #2497ff, #0069e7);
  box-shadow: 0 8px 18px rgba(0, 94, 210, 0.22);
}

.card-art span {
  position: relative;
  width: 68px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 5px;
}

.card-art span::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 10px;
  width: 18px;
  height: 12px;
  background: #2497ff;
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
}

.card-art span::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  width: 21px;
  height: 16px;
  border: 2px solid #d7e8ff;
  border-radius: 3px;
  background:
    linear-gradient(90deg, transparent 0 6px, #d7e8ff 6px 8px, transparent 8px 13px, #d7e8ff 13px 15px, transparent 15px),
    linear-gradient(180deg, transparent 0 6px, #d7e8ff 6px 8px, transparent 8px);
}

.primary-btn {
  width: 100%;
  min-height: 48px;
  margin-top: 40px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #238fff 0%, #0067ed 100%);
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 12px 18px rgba(0, 103, 233, 0.28);
}

.primary-btn:disabled {
  opacity: 0.72;
}

.message {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.55;
}

.message.error {
  border: 1px solid #ffc5c0;
  background: #fff2f1;
  color: #bd271e;
}

.notice-copy {
  margin: 38px 20px 30px;
  color: #4c4c4c;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.notice-copy p {
  margin: 0;
}

.notice-copy strong {
  color: var(--notice-red);
  font-weight: 900;
}

.guide-page {
  min-height: 100vh;
  padding-bottom: 18px;
  background:
    linear-gradient(180deg, transparent 0 315px, #effbff 315px),
    #0877f4;
}

.guide-top {
  min-height: 322px;
  padding: 16px 20px 74px;
}

.guide-brand {
  align-items: center;
}

.guide-brand .telecom-logo {
  transform: scale(0.82);
  transform-origin: left top;
}

.guide-top button {
  position: relative;
  z-index: 4;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
}

.guide-top h1 {
  position: relative;
  z-index: 4;
  margin: 48px 0 0;
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
  text-shadow: 0 4px 8px rgba(0, 42, 132, 0.22);
}

.title-mark {
  position: relative;
  z-index: 4;
  width: 52px;
  height: 6px;
  margin: 24px auto 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 22px 0 0 rgba(255, 255, 255, 0.4);
}

.telecom-watermark {
  position: absolute;
  z-index: 2;
  right: 12px;
  top: 26px;
  color: rgba(255, 255, 255, 0.16);
  font-family: Arial, sans-serif;
  font-size: 235px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  transform: skew(-10deg);
}

.guide-card {
  position: relative;
  z-index: 5;
  margin: 0 19px 20px;
  border-radius: 10px;
  background: rgba(255, 254, 248, 0.99);
  box-shadow: 0 10px 22px rgba(0, 73, 160, 0.12);
}

.first-guide-card {
  margin-top: -78px;
  padding: 26px 10px 26px;
}

.warning-title {
  margin: 0 0 26px;
  color: var(--notice-red);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.guide-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  gap: 14px;
  align-items: center;
}

.region-box {
  min-width: 0;
  padding-left: 4px;
  color: #000;
  text-align: center;
}

.region-box span {
  display: inline-block;
  padding: 3px 11px 4px;
  border: 2px solid #006bde;
  border-radius: 12px;
  color: var(--ink-blue);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.05;
}

.region-box strong {
  display: block;
  margin: 22px 0 6px;
  color: #000;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.24;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.region-box em {
  display: block;
  color: #000;
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
}

.tutorial-stack {
  display: grid;
  gap: 22px;
}

.tutorial-stack a {
  display: grid;
  min-height: 48px;
  place-items: center;
  padding: 0 9px;
  border-radius: 18px;
  background: linear-gradient(180deg, #168cff 0%, #0068e8 100%);
  box-shadow: 0 9px 16px rgba(0, 94, 205, 0.24);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.tutorial-stack .disabled {
  color: #7b8794;
  background: #eef2f6;
  box-shadow: none;
}

.qr-section {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 8px;
  align-items: center;
  padding: 22px 19px 18px;
}

.qr-wrap {
  display: grid;
  justify-items: center;
}

.qr-box {
  display: grid;
  width: 124px;
  height: 124px;
  place-items: center;
  border: 2px solid #1262bd;
  background: #fff;
  overflow: hidden;
}

.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-empty {
  padding: 12px;
  color: #8b95a1;
  font-size: 13px;
  text-align: center;
  line-height: 1.45;
}

.qr-caption {
  margin-top: 8px;
  color: var(--ink-blue);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.gesture-pair {
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: 30px;
  min-height: 82px;
  align-items: flex-end;
}

.gesture-left,
.gesture-up {
  position: relative;
  display: block;
}

.gesture-left {
  width: 88px;
  height: 36px;
  border: 5px solid #006dda;
  border-right: 0;
  border-radius: 18px 0 0 18px;
}

.gesture-left::before {
  content: "";
  position: absolute;
  right: -18px;
  top: 7px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 22px solid #006dda;
}

.gesture-left::after,
.gesture-up::after {
  content: "1";
  position: absolute;
  right: -28px;
  bottom: -17px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 3px solid var(--notice-red);
  border-radius: 50%;
  color: var(--notice-red);
  background: #fff;
  font-size: 18px;
  font-weight: 900;
}

.gesture-up {
  width: 52px;
  height: 80px;
  border: 5px solid #006dda;
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
}

.gesture-up::before {
  content: "";
  position: absolute;
  left: -16px;
  bottom: 0;
  width: 82px;
  height: 34px;
  border: 5px solid #006dda;
  border-top: 0;
  border-radius: 0 0 24px 24px;
}

.gesture-up::after {
  content: "2";
  right: -24px;
  bottom: -5px;
}

.step-copy {
  grid-column: 2;
  margin: 0;
  color: var(--notice-red);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
}

.step-copy::first-line {
  letter-spacing: 0;
}

.guide-notice {
  padding: 20px 14px 19px;
  color: var(--ink-blue);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.55;
}

.guide-notice strong {
  display: block;
  margin-bottom: 12px;
  color: var(--notice-red);
  font-size: 25px;
}

.guide-notice p {
  margin: 0 0 12px;
}

.guide-notice p:last-child {
  margin-bottom: 0;
}

.service-bar {
  margin: 0 28px;
  padding: 12px 10px 14px;
  border-radius: 5px;
  background: #0067d8;
  color: #fff;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.16;
  text-align: center;
}

.hidden {
  display: none !important;
}

@media (max-width: 390px) {
  .entry-title h1 {
    font-size: 28px;
  }

  .guide-top h1 {
    font-size: 33px;
  }

  .entry-card {
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .field input {
    font-size: 16px;
  }

  .notice-copy {
    font-size: 14px;
  }

  .warning-title {
    font-size: 22px;
  }

  .guide-actions {
    grid-template-columns: minmax(0, 1fr) 158px;
  }

  .tutorial-stack a {
    font-size: 16px;
  }

  .qr-section {
    grid-template-columns: 136px minmax(0, 1fr);
    column-gap: 12px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .step-copy,
  .guide-notice {
    font-size: 18px;
  }

  .gesture-pair {
    gap: 20px;
    transform: scale(0.88);
  }

  .service-bar {
    font-size: 24px;
  }
}

@media (max-width: 340px) {
  .brand-line {
    transform: scale(0.88);
    transform-origin: left top;
    width: 114%;
  }

  .entry-card {
    padding-top: 64px;
  }

  .name-row {
    grid-template-columns: 1fr;
  }

  .card-art {
    display: none;
  }

  .guide-actions,
  .qr-section {
    grid-template-columns: 1fr;
  }

  .gesture-pair,
  .step-copy {
    grid-column: 1;
  }

  .qr-box {
    width: 140px;
    height: 140px;
  }
}

/* Query result page: match the provided activation-flow poster screenshots. */
.guide-page {
  min-height: 100vh;
  padding: 0 18px 13px;
  background:
    linear-gradient(180deg, #087cff 0 184px, #f2fbff 184px 100%);
}

.guide-top {
  min-height: 156px;
  margin: 0 -18px;
  padding: 15px 20px 26px;
}

.guide-top::before {
  left: -8%;
  right: -8%;
  bottom: -62px;
  height: 86px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: rotate(0deg);
  transform-origin: center bottom;
}

.guide-top::after {
  right: -55px;
  top: 12px;
  width: 170px;
  height: 130px;
  border-width: 23px;
}

.guide-brand {
  align-items: flex-start;
}

.guide-brand .telecom-logo {
  transform: scale(0.58);
  transform-origin: left top;
}

.guide-top button {
  min-height: 26px;
  padding: 0 9px;
  font-size: 12px;
}

.guide-top h1 {
  margin: 28px 0 0;
  font-size: 27px;
  line-height: 1.18;
}

.title-mark {
  width: 31px;
  height: 5px;
  margin: 15px auto 0;
  box-shadow: 22px 0 0 rgba(255, 255, 255, 0.4);
}

.telecom-watermark {
  right: -20px;
  top: 10px;
  font-size: 155px;
}

.guide-card {
  margin: 0 0 14px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 73, 160, 0.12);
}

.first-guide-card {
  margin-top: -10px;
  padding: 14px 11px 18px;
}

.warning-title {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.35;
}

.guide-actions {
  grid-template-columns: minmax(0, 1fr) 182px;
  gap: 10px;
}

.region-box {
  padding-left: 2px;
}

.region-box span {
  padding: 2px 9px 3px;
  font-size: 17px;
}

.region-box strong {
  margin: 18px 0 6px;
  font-size: 16px;
}

.region-box em {
  font-size: 12px;
}

.tutorial-stack {
  gap: 20px;
}

.tutorial-stack a {
  min-height: 42px;
  padding: 0 6px;
  font-size: 15px;
  white-space: nowrap;
}

.qr-section {
  grid-template-columns: 136px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 0;
  min-height: 154px;
  padding: 16px 16px 14px;
}

.qr-box {
  width: 120px;
  height: 120px;
}

.qr-caption {
  margin-top: 7px;
  font-size: 14px;
  white-space: nowrap;
}

.step-panel {
  display: grid;
  gap: 7px;
  min-width: 0;
  justify-items: center;
}

.gesture-guide {
  display: block;
  width: min(178px, 100%);
  height: auto;
  mix-blend-mode: multiply;
}

.gesture-pair {
  grid-column: auto;
  gap: 25px;
  min-height: 57px;
}

.gesture-left {
  width: 56px;
  height: 28px;
  border-width: 4px;
}

.gesture-left::before {
  right: -15px;
  top: 5px;
  border-top-width: 9px;
  border-bottom-width: 9px;
  border-left-width: 18px;
}

.gesture-left::after,
.gesture-up::after {
  right: -25px;
  bottom: -14px;
  width: 25px;
  height: 25px;
  border-width: 3px;
  font-size: 17px;
}

.gesture-up {
  width: 34px;
  height: 56px;
  border-width: 4px;
}

.gesture-up::before {
  left: -13px;
  width: 58px;
  height: 24px;
  border-width: 4px;
}

.gesture-up::after {
  right: -22px;
  bottom: -4px;
}

.step-copy {
  grid-column: auto;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  white-space: nowrap;
}

.step-copy span {
  display: block;
}

.guide-notice {
  padding: 14px 11px 13px;
  font-size: 14px;
  line-height: 1.55;
}

.guide-notice strong {
  margin-bottom: 9px;
  font-size: 18px;
}

.guide-notice p {
  margin-bottom: 8px;
}

.service-bar {
  margin: 0 10px;
  padding: 11px 9px 12px;
  font-size: 20px;
  line-height: 1.24;
}

@media (max-width: 390px) {
  .guide-page {
    padding-left: 16px;
    padding-right: 16px;
    background:
      linear-gradient(180deg, #087cff 0 174px, #f2fbff 174px 100%);
  }

  .guide-top {
    min-height: 148px;
    margin-left: -16px;
    margin-right: -16px;
  }

  .guide-top h1 {
    font-size: 25px;
  }

  .warning-title {
    font-size: 17px;
  }

  .guide-actions {
    grid-template-columns: minmax(0, 1fr) 166px;
  }

  .region-box span {
    font-size: 16px;
  }

  .region-box strong {
    font-size: 15px;
  }

  .region-box em {
    font-size: 12px;
  }

  .tutorial-stack a {
    min-height: 40px;
    font-size: 14px;
  }

  .qr-section {
    grid-template-columns: 132px minmax(0, 1fr);
    column-gap: 8px;
    padding-left: 13px;
    padding-right: 13px;
  }

  .qr-box {
    width: 112px;
    height: 112px;
  }

  .qr-caption {
    font-size: 14px;
  }

  .gesture-pair {
    gap: 20px;
    transform: none;
  }

  .gesture-guide {
    width: min(170px, 100%);
  }

  .step-copy,
  .guide-notice {
    font-size: 12px;
  }

  .guide-notice strong {
    font-size: 16px;
  }

  .service-bar {
    font-size: 18px;
  }
}

@media (max-width: 340px) {
  .guide-actions,
  .qr-section {
    grid-template-columns: 1fr;
  }

  .tutorial-stack {
    margin-top: 14px;
  }

  .qr-box {
    width: 126px;
    height: 126px;
  }

  .step-panel {
    justify-items: center;
  }

  .step-copy {
    white-space: normal;
  }
}
