/* ── Header ── */
.site-header {
  position: relative;
  background: linear-gradient(180deg, #ece8f5 0%, #f4f2f8 28%, #fafafa 55%, #f0f0f0 100%);
  border-bottom: 1px solid #d8d8d8;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
  overflow: visible;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(186, 160, 230, 0.22), transparent 60%),
    radial-gradient(ellipse at 75% 0%, rgba(200, 170, 240, 0.14), transparent 55%);
  pointer-events: none;
}

.header-inner {
  --bar-h: 58px;
  --logo-hang: 36px;
  --logo-scale: 1.28;
  --logo-width-factor: 0.66;
  --logo-slot-w: calc((var(--bar-h) + var(--logo-hang)) * var(--logo-width-factor) * var(--logo-scale));
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px 0 calc(10px + var(--logo-slot-w));
  height: var(--bar-h);
  min-height: var(--bar-h);
  max-height: var(--bar-h);
  overflow: visible;
  position: relative;
  z-index: 1;
}

/*
  คำนวณโลโก้:
  - transform-origin: top center → โลโก้อยู่กึ่งกลางช่องซ้าย
  - ขยายด้วย hang (ยื่นลงล่าง) + scale (หัก padding ในไฟล์ PNG)
  - ความสูงภาพ = bar + hang แล้วค่อย scale ลงล่างอย่างเดียว
*/
.header-logo-link {
  position: absolute;
  left: 10px;
  top: -10px;
  z-index: 5;
}

/* Logo sizing/centering → css/header-logo.css (loads after this file) */

/* Navigation */
.header-nav {
  display: none;
  flex-shrink: 0;
  margin-left: 6px;
  overflow: visible;
}

.header-nav-list {
  display: flex;
  align-items: center;
  gap: 0 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible;
}

.header-nav-list li {
  overflow: visible;
}

.header-nav-list a {
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking-thai);
  line-height: 1.3;
  color: #8b2fc9;
  white-space: nowrap;
  transition: color 0.2s;
}

.header-nav-list a:hover {
  color: #6a1b9a;
}

.header-spacer {
  flex: 1;
  min-width: 8px;
}

/* Action buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 0;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 0 16px;
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-thai);
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.18),
    0 1px 2px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 48%);
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.btn:active {
  transform: translateY(1px);
  filter: brightness(0.98);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 2px 4px rgba(0, 0, 0, 0.12);
}

.btn-icon {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-icon-img {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  object-fit: contain;
}

.btn-line .btn-icon-img {
  filter: brightness(0) invert(1);
}

.btn-line {
  display: none;
  background:
    linear-gradient(180deg, #62e070 0%, #36c04a 42%, #22a836 100%);
  box-shadow:
    0 4px 12px rgba(34, 168, 54, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.btn-register {
  background:
    linear-gradient(180deg, #ff5b6a 0%, #e82438 42%, #c41024 100%);
  box-shadow:
    0 4px 12px rgba(220, 36, 54, 0.38),
    0 1px 2px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.btn-login {
  background:
    linear-gradient(180deg, #a78bfa 0%, #7c3aed 42%, #5b21b6 100%);
  box-shadow:
    0 4px 12px rgba(124, 58, 237, 0.38),
    0 1px 2px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

/* Hamburger menu button — สูงเท่าปุ่ม pill */
.btn-menu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  background: linear-gradient(180deg, #6bb4f0 0%, #3d8fd9 42%, #2b74c4 100%);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 4px 12px rgba(61, 143, 217, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 48%);
  pointer-events: none;
}

.btn-menu:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-menu:active {
  transform: translateY(1px);
  filter: brightness(0.98);
}

.btn-menu svg {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
}

.btn-menu.is-open {
  background: linear-gradient(180deg, #5ba3e8 0%, #3570b0 42%, #245a96 100%);
}

/* Mobile nav drawer */
.nav-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(15, 6, 36, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.nav-drawer-overlay.is-open {
  display: block;
  opacity: 1;
  animation: drawerFadeIn 0.28s ease;
}

@keyframes drawerFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 410;
  display: flex;
  flex-direction: column;
  width: min(320px, 88vw);
  height: 100%;
  height: 100dvh;
  padding: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(167, 139, 250, 0.18), transparent 55%),
    linear-gradient(180deg, #faf8ff 0%, #f3f0fa 40%, #ffffff 100%);
  box-shadow: -12px 0 40px rgba(46, 16, 101, 0.28);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.nav-drawer-overlay.is-open .nav-drawer {
  transform: translateX(0);
}

.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px 16px;
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 45%, #9333ea 100%);
  box-shadow: 0 8px 24px rgba(91, 33, 182, 0.28);
}

.nav-drawer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.nav-drawer__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

.nav-drawer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: #fff;
  line-height: 1.25;
}

.nav-drawer__brand-text strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-drawer__brand-text span {
  font-size: 12px;
  opacity: 0.85;
}

.nav-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.15s;
}

.nav-drawer__close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.nav-drawer__close:active {
  transform: scale(0.94);
}

.nav-drawer__close svg {
  width: 18px;
  height: 18px;
}

.nav-drawer__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 14px 8px;
}

.nav-drawer__label {
  margin: 0 4px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9b87c7;
}

.nav-drawer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-drawer-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(124, 58, 237, 0.1);
  box-shadow: 0 2px 8px rgba(91, 33, 182, 0.05);
  font-size: 15px;
  font-weight: 600;
  color: #4c1d95;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.nav-drawer-overlay.is-open .nav-drawer-list li {
  animation: drawerItemIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nav-drawer-overlay.is-open .nav-drawer-list li:nth-child(1) { animation-delay: 0.04s; }
.nav-drawer-overlay.is-open .nav-drawer-list li:nth-child(2) { animation-delay: 0.08s; }
.nav-drawer-overlay.is-open .nav-drawer-list li:nth-child(3) { animation-delay: 0.12s; }
.nav-drawer-overlay.is-open .nav-drawer-list li:nth-child(4) { animation-delay: 0.16s; }
.nav-drawer-overlay.is-open .nav-drawer-list li:nth-child(5) { animation-delay: 0.2s; }
.nav-drawer-overlay.is-open .nav-drawer-list li:nth-child(6) { animation-delay: 0.24s; }

@keyframes drawerItemIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-drawer-list a:hover,
.nav-drawer-list a:active {
  background: linear-gradient(135deg, #f5f0ff 0%, #efe8ff 100%);
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.12);
  transform: translateX(-2px);
  color: #5b21b6;
}

.nav-drawer__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ede9fe, #ddd6fe);
  color: #7c3aed;
  flex-shrink: 0;
}

.nav-drawer__ico svg {
  width: 18px;
  height: 18px;
}

.nav-drawer__txt {
  flex: 1;
  min-width: 0;
}

.nav-drawer__badge {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.35);
}

.nav-drawer__badge--orange {
  background: linear-gradient(135deg, #fb923c, #ea580c);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}

.nav-drawer__chev {
  font-size: 20px;
  font-weight: 400;
  color: #c4b5fd;
  line-height: 1;
}

.nav-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding: 14px 14px calc(16px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 28%);
  border-top: 1px solid rgba(124, 58, 237, 0.08);
}

.nav-drawer-actions .btn {
  width: 100%;
  height: 46px;
  padding: 0 18px;
  font-size: 15px;
}

.nav-drawer-actions .btn-line {
  display: inline-flex;
}

/* ── Desktop ── */
@media (min-width: 992px) {
  .header-inner {
    --bar-h: 68px;
    --logo-hang: 54px;
    --logo-scale: 1.32;
    --header-logo-slot: calc(
      clamp(12px, 1.4vw, 24px) + (var(--bar-h) + var(--logo-hang)) * var(--logo-scale) * var(--logo-width-factor) - 24px
    );
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: var(--header-logo-slot) minmax(0, 1fr) auto;
    grid-template-areas: "logo nav actions";
    align-items: center;
    padding: 0 clamp(20px, 2.2vw, 40px) 0 0;
  }

  .header-inner::before {
    content: none;
    display: none;
  }

  .header-logo-link {
    grid-area: logo;
    position: relative;
    left: auto;
    top: -12px;
    width: 100%;
    justify-self: stretch;
  }

  .header-nav {
    display: flex;
    grid-area: nav;
    justify-self: center;
    position: static;
    justify-content: center;
    align-items: center;
    margin: 0;
    min-width: 0;
    max-width: 100%;
    z-index: 4;
    overflow: visible;
  }

  .header-nav-list {
    gap: 0 clamp(18px, 1.8vw, 32px);
    flex-wrap: nowrap;
  }

  .header-spacer {
    display: none;
  }

  .header-actions {
    grid-area: actions;
    justify-self: end;
    position: relative;
    margin-left: 0;
    gap: 10px;
    z-index: 6;
  }

  .header-nav-list a {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    font-size: var(--fs-md);
  }

  .header-nav-list a:has(.header-nav__badge) {
    margin-right: 18px;
  }

  .header-nav__label {
    display: inline-block;
  }

  .header-nav__badge {
    position: absolute;
    top: -4px;
    left: 100%;
    margin-left: 1px;
    padding: 0 5px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.35;
    color: #fff;
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    box-shadow: 0 1px 4px rgba(225, 29, 72, 0.32);
    pointer-events: none;
    z-index: 2;
  }

  .header-nav__badge--orange {
    background: linear-gradient(135deg, #fb923c, #ea580c);
    box-shadow: 0 1px 4px rgba(234, 88, 12, 0.32);
  }

  .btn {
    height: 44px;
    padding: 0 20px;
    font-size: var(--fs-base);
    gap: 7px;
  }

  .btn-icon {
    width: 17px;
    height: 17px;
  }

  .btn-icon-img {
    width: 19px;
    height: 19px;
  }

  .btn-line {
    display: inline-flex;
  }

  .btn-menu {
    display: none;
  }

  .nav-drawer-overlay {
    display: none !important;
  }
}

/* ── Mobile ── */
@media (max-width: 991px) {
  .header-inner {
    --bar-h: 56px;
    --logo-hang: 42px;
    --logo-scale: 1.28;
    height: auto;
    min-height: var(--bar-h);
    max-height: none;
    align-items: center;
    padding: 5px 10px 5px calc(10px + var(--logo-slot-w));
  }

  .header-logo-link {
    left: 10px;
    top: -8px;
    width: var(--logo-slot-w);
  }

  .header-actions {
    gap: 6px;
    align-items: center;
    align-self: center;
  }

  .btn {
    height: 34px;
    padding: 0 12px;
    font-size: 12px;
    gap: 5px;
    align-self: center;
  }

  .btn-icon {
    width: 14px;
    height: 14px;
  }

  .btn-menu {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .btn-menu svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 380px) {
  .btn {
    height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }

  .btn-menu {
    width: 32px;
    height: 32px;
  }

  .btn-menu svg {
    width: 20px;
    height: 20px;
  }
}

/* ── แถบติดตั้งแอพ (ด้านบน header) ── */
.sticky-top-wrap {
  position: sticky;
  top: 0;
  z-index: 200;
  overflow: visible;
}

.sticky-top-wrap .site-header {
  position: relative;
  top: auto;
}

.app-banner {
  display: none;
  position: relative;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  color: #fff;
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 35%, #9333ea 65%, #c026d3 100%);
  box-shadow: 0 4px 16px rgba(91, 33, 182, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: visible;
  animation: bannerSlideDown 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.22), transparent 45%),
    radial-gradient(circle at 80% 120%, rgba(255, 255, 255, 0.08), transparent 40%);
  pointer-events: none;
}

.app-banner.is-visible {
  display: flex;
}

@keyframes bannerSlideDown {
  from { transform: translateY(-110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.app-banner__icon {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08));
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.app-banner__icon img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  background: #2e1065;
}

.app-banner__text {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.app-banner__text strong {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 800;
}

.app-banner__rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  margin-top: 1px;
}

.app-banner__star {
  width: 14px;
  height: 14px;
  fill: #ffd700;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.28));
}

.app-banner__rating-num {
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  color: #ffd700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.app-banner__text > span {
  display: block;
  font-size: 12px;
  opacity: 0.92;
  margin-top: 1px;
}

.app-banner__btn {
  position: relative;
  z-index: 1;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  color: #3b0764;
  background: linear-gradient(180deg, #fff7c2 0%, #ffd700 45%, #f5c400 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  -webkit-tap-highlight-color: transparent;
}

.app-banner__btn:active {
  transform: scale(0.96);
}

/* ── popup คู่มือติดตั้งแอพ ── */
.install-guide {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 6, 36, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.install-guide.is-visible {
  display: block;
  opacity: 1;
}

.install-guide__sheet {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 1000;
  padding: 22px 20px 26px;
  border-radius: 24px;
  color: #fff;
  font-family: "Kanit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(160deg, #4c1d95 0%, #6d28d9 45%, #7e22ce 100%);
  box-shadow: 0 20px 50px rgba(46, 16, 101, 0.55);
  transform: translateY(120%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.install-guide.is-visible .install-guide__sheet {
  transform: translateY(0);
}

.install-guide__sheet h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 800;
}

.install-guide__sheet ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-guide__sheet li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 15px;
  line-height: 1.4;
}

.install-guide__sheet li:last-child {
  margin-bottom: 0;
}

.install-guide__sheet .step-no {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #4c1d95;
  background: linear-gradient(180deg, #fff7c2, #ffd700);
}

.install-guide__sheet .step-txt {
  flex: 1;
  min-width: 0;
}

.install-guide__sheet .step-txt small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  opacity: 0.75;
}

.install-guide__sheet .g-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  vertical-align: middle;
  margin: 0 2px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.install-guide__sheet .g-ico svg {
  width: 18px;
  height: 18px;
}

.install-guide__ios,
.install-guide__android {
  display: none;
}

.install-guide__ios.is-active,
.install-guide__android.is-active {
  display: block;
}
