* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, sans-serif;
  color: #222;
  background: #f2f2f2;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

button,
textarea {
  font: inherit;
}

input,
textarea,
[contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

button {
  cursor: pointer;
}

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

img {
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
}

.page {
  width: 100%;
  max-width: 1320px;
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
  background: #f5f5f5;
}

.view-panel[hidden] {
  display: none;
}

.notice {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  margin: 0 8px 10px;
  padding: 0 12px;
  background: linear-gradient(180deg, #fff 0%, #fff8f3 100%);
  border: 1px solid rgba(255, 111, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.notice img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.notice-track {
  position: relative;
  flex: 1;
  height: 24px;
  min-width: 0;
  overflow: hidden;
}

.notice-track span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #f05a1a;
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
  opacity: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 8px rgba(255, 142, 44, 0.18);
  text-overflow: ellipsis;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  white-space: nowrap;
}

.notice-track span.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-slider {
  --hero-image: none;
  --glass-r: 255;
  --glass-g: 128;
  --glass-b: 48;
  --glass-r2: 64;
  --glass-g2: 156;
  --glass-b2: 255;
  position: relative;
  margin: 10px 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 16px;
  background:
    radial-gradient(circle at 82% 28%, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0.12) 27%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.12) 36%, rgba(255, 255, 255, 0.03) 100%),
    linear-gradient(
      135deg,
      rgba(var(--glass-r), var(--glass-g), var(--glass-b), 0.96) 0%,
      rgba(var(--glass-r), var(--glass-g), var(--glass-b), 0.78) 46%,
      rgba(var(--glass-r2), var(--glass-g2), var(--glass-b2), 0.76) 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -26px 48px rgba(0, 0, 0, 0.1),
    0 12px 28px rgba(var(--glass-r), var(--glass-g), var(--glass-b), 0.28);
  isolation: isolate;
  transition: background 0.65s ease, box-shadow 0.65s ease;
}

.hero-slider::before,
.hero-slider::after {
  position: absolute;
  inset: -45%;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.hero-slider::before {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.34) 35%, rgba(255, 255, 255, 0.04) 53%),
    linear-gradient(
      245deg,
      rgba(var(--glass-r2), var(--glass-g2), var(--glass-b2), 0.54),
      rgba(var(--glass-r), var(--glass-g), var(--glass-b), 0.48),
      rgba(var(--glass-r2), var(--glass-g2), var(--glass-b2), 0.54)
    ),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  filter: blur(24px) saturate(1.45) contrast(1.08);
  opacity: 0.82;
  animation: glass-flow 9s ease-in-out infinite alternate;
  transition: background 0.65s ease;
}

.hero-slider::after {
  background:
    repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.11) 0 1px, rgba(255, 255, 255, 0) 1px 13px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 45%);
  mix-blend-mode: screen;
  opacity: 0.52;
  transform: translate3d(-8%, -3%, 0) rotate(2deg);
  animation: glass-shine 6s ease-in-out infinite alternate;
}

@keyframes glass-flow {
  from {
    transform: translate3d(-5%, -2%, 0) rotate(0deg) scale(1);
  }

  to {
    transform: translate3d(6%, 3%, 0) rotate(6deg) scale(1.08);
  }
}

@keyframes glass-shine {
  from {
    transform: translate3d(-10%, -5%, 0) rotate(1deg);
  }

  to {
    transform: translate3d(7%, 4%, 0) rotate(5deg);
  }
}

.slides {
  position: relative;
  height: 155px;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 28px;
  color: #fff;
  opacity: 0;
  transform: translateX(18px);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.slide-copy {
  min-width: 0;
}

.slide-copy strong {
  display: block;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
}

.slide-copy em {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-style: normal;
}

.slide img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 12px 28px rgba(68, 31, 0, 0.2);
  flex: 0 0 auto;
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.slider-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.slider-dots button.active {
  width: 19px;
  background: #fff;
}

.single-banner {
  background: #fff;
  border: 1px solid rgba(255, 118, 35, 0.18);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(61, 36, 19, 0.12);
}

.single-banner::before,
.single-banner::after {
  display: none;
}

.single-banner .slides {
  height: auto;
  aspect-ratio: 1280 / 710;
}

.single-banner .banner-slide {
  display: block;
  padding: 0;
  text-shadow: none;
}

.single-banner .banner-slide > a {
  display: block;
  width: 100%;
  height: 100%;
}

.single-banner .banner-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.single-banner .banner-slide img {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  background: #fff;
  box-shadow: none;
}

.brand-list {
  width: calc(100% - 16px);
  margin: 0 auto 10px;
  padding: 0 12px 12px;
  border-radius: 8px;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.brand-list h1 {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 -12px;
  padding: 16px 12px;
  color: #fff;
  text-align: center;
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 34%),
    linear-gradient(160deg, #ff9600 16%, #ff5a00 58%, #f04420 100%);
  text-shadow: 0 2px 8px rgba(145, 43, 0, 0.28);
}

.brand-list h1 span {
  display: inline-block;
  padding: 0 9px 2px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 10px;
  color: #fff6c8;
  background: rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 4px 12px rgba(138, 39, 0, 0.2);
  font-weight: 900;
  text-shadow: 0 2px 6px rgba(108, 32, 0, 0.32);
}

.brand-list.brand-header {
  margin-bottom: 0;
  padding: 0;
  border-radius: 8px 8px 0 0;
}

.brand-list.brand-header h1 {
  margin: 0;
}

.brand-card {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  min-width: 0;
  min-height: 158px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid #f1e7df;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #fffaf7 100%);
  box-shadow: 0 6px 18px rgba(88, 45, 16, 0.07);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.brand-card:hover {
  border-color: rgba(255, 105, 20, 0.36);
  box-shadow: 0 10px 24px rgba(255, 85, 0, 0.13);
  transform: translateY(-2px);
}

.brand-card:active {
  background: #fff8f3;
  transform: translateY(0);
}

.brand-logo {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 10px;
  flex: 0 0 auto;
}

.brand-info {
  display: block;
  min-width: 0;
  padding-left: 10px;
}

.brand-info strong {
  display: block;
  overflow: hidden;
  color: #f16522;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-info > span:not(.brand-meta) {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: #111;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.brand-meta em {
  color: #d93222;
  font-style: normal;
}

.brand-meta i {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 5px;
  border: 1px solid #d93222;
  border-radius: 7px;
  color: #d93222;
  font-size: 10px;
  font-style: normal;
  line-height: 18px;
}

.brand-action {
  position: relative;
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 32px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a1f, #ff4e00 58%, #ff2f1f);
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(255, 85, 0, 0.28);
  animation: action-pulse 1.8s ease-in-out infinite;
}

.brand-action::before {
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -70%;
  width: 44%;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  transform: rotate(20deg);
  animation: action-shine 2.4s ease-in-out infinite;
}

.recommend-platforms {
  position: relative;
  width: calc(100% - 16px);
  margin: 0 auto 10px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid #f1e7e0;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 132, 44, 0.09), transparent 28%),
    #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 7px 20px rgba(85, 49, 27, 0.05);
}

.directory-search {
  --search-accent: #ff6817;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  width: calc(100% - 16px);
  max-width: 620px;
  min-height: 44px;
  margin: 0 auto 12px;
  padding: 0 10px 0 13px;
  border: 1px solid rgba(255, 104, 23, 0.18);
  border-radius: 12px;
  color: var(--search-accent);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 18px rgba(90, 45, 18, 0.07);
}

.directory-search:focus-within {
  border-color: rgba(255, 104, 23, 0.48);
  box-shadow: 0 0 0 3px rgba(255, 104, 23, 0.1);
}

.directory-search > span {
  font-size: 23px;
  line-height: 1;
}

.directory-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #3c302b;
  background: transparent;
  font: inherit;
}

.directory-search input::-webkit-search-cancel-button {
  display: none;
}

.directory-search button {
  padding: 4px 8px;
  border: 0;
  border-radius: 7px;
  color: var(--search-accent);
  background: rgba(255, 104, 23, 0.09);
  font-size: 12px;
}

.directory-empty {
  position: relative;
  z-index: 3;
  margin: 8px 0 18px;
  padding: 28px 12px;
  border: 1px dashed #ead9ce;
  border-radius: 12px;
  color: #9a877b;
  text-align: center;
  background: #fffaf7;
}

.directory-empty[hidden],
.recommend-card[hidden],
.simulator-card[hidden] {
  display: none;
}

.recommend-search {
  width: 100%;
}

.recommend-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 -12px 12px;
  padding: 14px 12px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 76% 14%, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(135deg, #ff9626, #ff5a00 58%, #e83c28);
}

.recommend-heading > span {
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  color: #fff5cd;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 700;
}

.recommend-heading h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

.recommend-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
}

.recommend-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.recommend-card {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  min-height: 142px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #f0dfd4;
  border-radius: 12px;
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 113, 24, 0.1), transparent 40%),
    linear-gradient(155deg, #fff 38%, #fff8f3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 7px 18px rgba(111, 54, 17, 0.09);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.recommend-card:hover {
  border-color: rgba(255, 105, 20, 0.46);
  box-shadow: 0 11px 26px rgba(255, 85, 0, 0.15);
  transform: translateY(-2px);
}

.recommend-card > img {
  grid-row: 1 / 4;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 11px;
  border: 2px solid rgba(255, 126, 47, 0.38);
  background: #fff;
  box-shadow:
    0 0 0 3px rgba(255, 226, 207, 0.62),
    0 7px 15px rgba(135, 61, 15, 0.14);
}

.recommend-card > strong {
  min-width: 0;
  overflow: hidden;
  color: #e95a18;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommend-desc {
  min-width: 0;
  overflow: hidden;
  color: #79695f;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommend-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 6px;
}

.recommend-footer em {
  color: #f0a000;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.recommend-footer i {
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: #ff640f;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(255, 85, 0, 0.2);
}

.recommend-badge {
  position: absolute;
  top: 0;
  left: 0;
  padding: 2px 9px;
  border-radius: 0 0 9px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: linear-gradient(
    135deg,
    rgb(var(--badge-r, 255), var(--badge-g, 90), var(--badge-b, 32)),
    rgb(var(--badge-r2, 204), var(--badge-g2, 61), var(--badge-b2, 20))
  );
  font-size: 10px;
  font-weight: 800;
  line-height: 1.45;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
  box-shadow: 0 4px 10px rgba(var(--badge-r, 255), var(--badge-g, 90), var(--badge-b, 32), 0.24);
  z-index: 3;
}

@keyframes action-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 6px 14px rgba(255, 85, 0, 0.26);
  }

  50% {
    transform: scale(1.06);
    box-shadow: 0 8px 20px rgba(255, 85, 0, 0.42);
  }
}

@keyframes action-shine {
  0% {
    left: -75%;
  }

  42%,
  100% {
    left: 128%;
  }
}

.bottom-gif {
  width: calc(100% - 16px);
  margin: 0 auto 24px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(255, 85, 0, 0.08);
}

.bottom-gif img {
  width: 100%;
  height: auto;
  display: block;
}

.section-heading {
  margin: 10px 8px 14px;
  padding: 26px 24px;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 255, 255, 0.3), transparent 30%),
    linear-gradient(135deg, #ff9c2a, #ff5a00 58%, #ed3828);
  box-shadow: 0 12px 28px rgba(255, 85, 0, 0.2);
}

.section-heading > span,
.coming-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #fff7d9;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 700;
}

.section-heading h1 {
  margin: 10px 0 2px;
  font-size: 30px;
  line-height: 1.2;
}

.section-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.tool-grid {
  display: grid;
  width: calc(100% - 16px);
  margin: 0 auto 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 280px;
  padding: 20px;
  border: 1px solid #f0e4dc;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #fffaf7);
  box-shadow: 0 8px 22px rgba(76, 38, 12, 0.08);
}

.tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #ff952a, #ff4c0b);
  font-size: 19px;
  font-weight: 900;
  box-shadow: 0 7px 16px rgba(255, 85, 0, 0.22);
}

.tool-card h2 {
  margin: 14px 0 3px;
  color: #322117;
  font-size: 19px;
}

.tool-card p {
  margin: 0 0 14px;
  color: #88756a;
  font-size: 13px;
}

.tool-result {
  display: flex;
  align-items: center;
  min-height: 52px;
  margin-top: auto;
  color: #f05a1a;
  font-size: 28px;
  line-height: 1.2;
}

.tool-result.tool-time {
  font-size: 17px;
}

.tool-card button {
  width: 100%;
  min-height: 38px;
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a1f, #ff4e00);
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(255, 85, 0, 0.2);
}

.tool-card textarea {
  width: 100%;
  min-height: 78px;
  margin-top: auto;
  padding: 10px;
  resize: vertical;
  border: 1px solid #eadbd1;
  border-radius: 9px;
  outline: none;
  color: #322117;
  background: #fff;
}

.tool-card textarea:focus {
  border-color: #ff7b2e;
  box-shadow: 0 0 0 3px rgba(255, 105, 20, 0.12);
}

.counter-result {
  margin-top: 8px;
  color: #f05a1a;
  font-size: 13px;
}

.business-grid {
  display: grid;
  width: calc(100% - 16px);
  margin: 0 auto 24px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(76, 38, 12, 0.08);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.business-card {
  display: grid;
  align-content: start;
  justify-items: center;
  min-width: 0;
  min-height: 180px;
  padding: 14px 10px 11px;
  overflow: hidden;
  border: 1px solid #f1e5dc;
  border-radius: 13px;
  text-align: center;
  background: linear-gradient(180deg, #fff, #fffaf7);
  box-shadow: 0 6px 16px rgba(95, 49, 18, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.business-card:hover {
  border-color: rgba(255, 105, 20, 0.34);
  box-shadow: 0 10px 24px rgba(255, 85, 0, 0.15);
  transform: translateY(-2px);
}

.business-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 14px;
  background: #f8eee7;
  box-shadow: 0 7px 16px rgba(115, 54, 16, 0.14);
}

.business-card strong {
  width: 100%;
  margin-top: 9px;
  overflow: hidden;
  color: #3b271b;
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.business-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin-top: 7px;
  padding: 2px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a1f, #ff4e00);
  font-size: 11px;
  font-weight: 700;
}

.simulator-heading {
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 255, 255, 0.3), transparent 30%),
    linear-gradient(135deg, #6f49db, #8c3fd0 54%, #e4478a);
  box-shadow: 0 12px 28px rgba(116, 57, 196, 0.22);
}

.simulator-grid {
  display: grid;
  width: calc(100% - 16px);
  margin: 0 auto 24px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(71, 43, 99, 0.08);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.simulator-search {
  --search-accent: #7d49c7;
  margin-top: 12px;
  border-color: rgba(125, 73, 199, 0.2);
  box-shadow: 0 6px 18px rgba(77, 36, 120, 0.08);
}

.simulator-search:focus-within {
  border-color: rgba(125, 73, 199, 0.48);
  box-shadow: 0 0 0 3px rgba(125, 73, 199, 0.1);
}

.simulator-search button {
  background: rgba(125, 73, 199, 0.09);
}

.simulator-empty {
  width: calc(100% - 16px);
  margin: 0 auto 24px;
  border-color: #dfd2ed;
  color: #837091;
  background: #fcf9ff;
}

.simulator-card {
  display: grid;
  align-content: start;
  justify-items: center;
  min-width: 0;
  min-height: 180px;
  padding: 14px 10px 11px;
  overflow: hidden;
  border: 1px solid #eee5f5;
  border-radius: 13px;
  text-align: center;
  background: linear-gradient(180deg, #fff, #fcf9ff);
  box-shadow: 0 6px 16px rgba(83, 45, 116, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.simulator-card:hover {
  border-color: rgba(132, 69, 205, 0.34);
  box-shadow: 0 10px 24px rgba(105, 52, 163, 0.16);
  transform: translateY(-2px);
}

.simulator-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 14px;
  background: #f1e9f7;
  box-shadow: 0 7px 16px rgba(81, 37, 119, 0.16);
}

.simulator-card strong {
  width: 100%;
  margin-top: 9px;
  overflow: hidden;
  color: #3a244b;
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.simulator-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin-top: 7px;
  padding: 2px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #7650d8, #d64291);
  font-size: 11px;
  font-weight: 700;
}

.bottom-menu {
  position: fixed;
  bottom: max(10px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 100;
  display: grid;
  width: calc(100% - 24px);
  max-width: 480px;
  min-height: 72px;
  padding: 7px 9px;
  border: 1px solid rgba(47, 38, 32, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 3px 10px rgba(56, 38, 26, 0.06),
    0 18px 42px rgba(56, 38, 26, 0.13);
  grid-template-columns: repeat(3, 1fr);
  transform: translateX(-50%);
  -webkit-backdrop-filter: saturate(145%) blur(20px);
  backdrop-filter: saturate(145%) blur(20px);
}

.bottom-menu button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  min-height: 56px;
  padding: 3px 8px 5px;
  border: 0;
  border-radius: 17px;
  color: #8a817b;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.bottom-menu button.active {
  color: #2f2925;
}

.bottom-menu button.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 18px;
  height: 3px;
  margin: auto;
  border-radius: 999px;
  content: "";
  background: #ec641f;
  box-shadow: 0 2px 6px rgba(236, 100, 31, 0.24);
}

.bottom-menu button:active {
  transform: scale(0.97);
}

.bottom-menu button:focus-visible {
  outline: 2px solid rgba(236, 100, 31, 0.45);
  outline-offset: -2px;
}

.menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 31px;
  border-radius: 11px;
  color: #756d67;
  background: #f5f3f1;
  font-size: 19px;
  line-height: 1;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bottom-menu button.active .menu-icon {
  color: #e95d1b;
  background: #fff2e9;
  box-shadow:
    inset 0 0 0 1px rgba(233, 93, 27, 0.1),
    0 5px 12px rgba(233, 93, 27, 0.12);
  transform: translateY(-1px);
}

@media (hover: hover) {
  .bottom-menu button:not(.active):hover {
    color: #514943;
  }

  .bottom-menu button:not(.active):hover .menu-icon {
    color: #514943;
    background: #efedeb;
  }
}

@media (max-width: 980px) {
  .brand-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand-list {
    padding: 0 6px 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .brand-list h1 {
    margin: 0 -6px;
    padding: 13px 8px;
    font-size: 20px;
  }

  .brand-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-content: start;
    justify-items: center;
    min-height: 142px;
    padding: 9px 4px 8px;
    border-radius: 9px;
    text-align: center;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
  }

  .brand-info {
    width: 100%;
    padding: 0;
  }

  .brand-info strong {
    margin-top: 7px;
    font-size: 13px;
  }

  .brand-info > span:not(.brand-meta),
  .brand-meta {
    display: none;
  }

  .brand-action {
    grid-column: 1;
    width: 100%;
    height: 25px;
    margin-top: 8px;
    padding: 0 2px;
    font-size: 11px;
    white-space: nowrap;
    animation: none;
  }

  .recommend-platforms {
    padding: 8px 6px;
  }

  .recommend-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .recommend-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-content: center;
    justify-items: center;
    min-height: 108px;
    padding: 7px 3px 6px;
    text-align: center;
  }

  .recommend-card > img {
    grid-row: auto;
    width: 44px;
    height: 44px;
    border-radius: 8px;
  }

  .recommend-card > strong {
    width: 100%;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .recommend-desc {
    display: none;
  }

  .recommend-footer {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
  }

  .recommend-footer em {
    display: none;
  }

  .recommend-footer i {
    max-width: 100%;
    padding: 2px 5px;
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
  }

  .recommend-badge {
    padding: 1px 5px;
    font-size: 8px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tool-card {
    min-height: 244px;
  }

  .business-grid {
    padding: 6px;
    gap: 6px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .business-card {
    min-height: 123px;
    padding: 7px 3px 6px;
    border-radius: 9px;
  }

  .business-card img {
    width: 52px;
    height: 52px;
    border-radius: 9px;
  }

  .business-card strong {
    margin-top: 6px;
    font-size: 11px;
  }

  .business-card span {
    min-height: 21px;
    margin-top: 5px;
    padding: 1px 5px;
    font-size: 10px;
  }

  .simulator-grid {
    padding: 6px;
    gap: 6px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .simulator-card {
    min-height: 123px;
    padding: 7px 3px 6px;
    border-radius: 9px;
  }

  .simulator-card img {
    width: 52px;
    height: 52px;
    border-radius: 9px;
  }

  .simulator-card strong {
    margin-top: 6px;
    font-size: 11px;
  }

  .simulator-card span {
    min-height: 21px;
    margin-top: 5px;
    padding: 1px 5px;
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  .bottom-menu {
    bottom: max(8px, env(safe-area-inset-bottom));
    width: calc(100% - 18px);
    min-height: 68px;
    padding: 5px 7px;
    border-radius: 21px;
  }

  .bottom-menu button {
    min-height: 56px;
  }

  .notice {
    height: 44px;
    padding: 0 10px;
  }

  .notice-track span {
    font-size: 15px;
  }

  .hero-slider {
    margin: 10px 8px;
  }

  .slides {
    height: 146px;
  }

  .slide {
    gap: 12px;
    padding: 19px 16px 25px;
  }

  .slide-copy strong {
    font-size: 25px;
  }

  .slide-copy em {
    font-size: 13px;
  }

  .slide img {
    width: 78px;
    height: 78px;
    border-radius: 15px;
  }

  .brand-list h1 {
    gap: 6px;
    padding: 13px 10px;
    font-size: 19px;
  }

  .brand-list h1 span {
    padding: 0 6px 1px;
    border-radius: 8px;
  }
}
