:root {
  color-scheme: dark;
  --page-bg: #17100d;
  --shell-bg: #231310;
  --surface: #35221a;
  --gold: #e6bd65;
  --gold-strong: #ffe7a0;
  --red: #ed4129;
  --text: #f7eddf;
  --muted: #b8a7aa;
  --line: rgba(235, 191, 100, .35);
  --danger: #ff9c9c;
  --shell-width: 540px;
  --shadow: 0 18px 60px #08040766;
}
* { box-sizing: border-box; }
html {
  min-height: 100%;
  background: var(--page-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body {
  min-width: 0;
  margin: 0;
  color: var(--text);
  background: radial-gradient(ellipse at 50% 0, #48202b55, transparent 65%), var(--page-bg);
}
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button, input, [role="button"] { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, [role="button"]:focus-visible { outline: 2px solid var(--gold-strong); outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .6; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.app-shell {
  position: relative;
  width: min(100%, var(--shell-width));
  min-height: 100dvh;
  margin: 0 auto;
  background: #241310 url("../images/页面背景.png") center top / 100% auto repeat-y;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.site-header { position: sticky; top: 0; z-index: 30; background: #29170f url("../images/顶栏背景.png") center / cover; border-bottom: 1px solid #b18b51; box-shadow: 0 4px 15px #0004; }
.brand-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) 39px; align-items: center; gap: 10px; min-height: 60px; padding: 4px 14px; }
.brand-logo { width: 160px; height: 50px; object-fit: contain; }
.session-flag { color: #e6c994; font-size: 11px; line-height: 1.45; text-align: right; overflow-wrap: anywhere; }
.message-orb { display: grid; place-items: center; width: 39px; height: 39px; padding: 0; border: 0; border-radius: 50%; background: transparent; }

.language-switcher { display: flex; justify-content: flex-end; gap: 4px; padding: 6px 14px; }
.language-switcher button { min-height: 28px; padding: 4px 10px; border: 1px solid transparent; border-radius: 999px; color: #e2ccb0; background: transparent; font-size: 10px; }
.language-switcher button.is-active { color: #3f210c; border-color: #fce4a1; background: linear-gradient(#ffedb6, #c8953c); box-shadow: 0 2px 7px #0004; }
main { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
.hero { position: relative; min-height: 168px; margin: 0 12px; overflow: hidden; border: 1px solid #ffcf6c; border-radius: 12px; background: #5b160b; box-shadow: inset 0 0 18px #ffd6674d, 0 5px 20px #0004; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; }
.hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, #2d080bc9 0%, #5d0a0f33 60%, transparent); content: ""; pointer-events: none; }
.hero-copy { position: relative; z-index: 1; width: 65%; padding: 16px 0 16px 16px; }
.eyebrow { display: block; color: #ffe3a0; font-size: 10px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; }
.hero h1 { margin: 6px 0; color: #ffe7a2; font-size: clamp(26px, 6.4vw, 34px); font-weight: 900; line-height: 1.15; text-wrap: balance; text-shadow: 0 2px 0 #9e370c, 0 4px 8px #3b070c; }
.hero p { max-width: 230px; margin: 0; color: #fff1d7; font-size: 11px; line-height: 1.5; text-wrap: pretty; }
.hero-button { display: inline-flex; gap: 15px; align-items: center; min-height: 30px; margin-top: 10px; padding: 6px 12px; border: 1px solid #ffe9ae; border-radius: 999px; color: #fff9d9; background: linear-gradient(#ff6539, #b91516); box-shadow: 0 2px 0 #b98326; font-size: 11px; font-weight: 700; }
.quick-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 12px; padding: 0 10px; }
.quick-item { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 5px; padding: 0; border: 0; background: transparent; }
.quick-icon { display: grid; place-items: center; width: clamp(34px, 10vw, 48px); height: clamp(34px, 10vw, 48px); border: 0; border-radius: 50%; background: url("../images/快捷底座.png?v=3") center / contain no-repeat; filter: drop-shadow(0 3px 4px #0006); }
.quick-icon img { width: 57%; height: 57%; object-fit: contain; }
.quick-item span { min-height: 28px; color: #f5e2c5; font-size: clamp(9px, 2.4vw, 12px); line-height: 1.4; white-space: normal; overflow-wrap: anywhere; text-align: center; }
.shop-nav-row { display: grid; grid-template-columns: 94px minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 12px 0; }
.auth-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.auth-cta button { min-height: 32px; padding: 6px 3px; border: 1px solid #e6c878; border-radius: 5px; font-size: 10px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.auth-cta .primary { background: linear-gradient(#ff734a, #d32421); box-shadow: 0 2px 0 #b88437; }
.auth-cta .secondary { background: linear-gradient(#71542d, #33221b); color: #ffeab7; }
.content-filter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 3px; border: 1px solid #bfa069; border-radius: 999px; background: linear-gradient(#69461f66, #201008, #69461f99); box-shadow: inset 0 1px 8px #f6c56555; }
.content-filter button { min-height: 35px; padding: 5px 2px; border: 1px solid transparent; border-radius: 999px; color: #f8e4b7; background: transparent; font-size: clamp(10px, 3vw, 15px); line-height: 1.2; font-weight: 700; overflow-wrap: anywhere; }
.content-filter .is-active { color: #fff2c5; border-color: #ffeab1; background: linear-gradient(#ff6836, #e32013 65%, #ff8e5d); box-shadow: 0 2px 0 #d7a94a; }
.section-kicker { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 12px 12px; }
.section-kicker h2 { margin: 0; color: #ffe6b5; font-size: 18px; font-weight: 800; }
.section-kicker > span { color: var(--muted); font-size: 10px; }
.section-kicker .eyebrow { margin-bottom: 7px; }
.catalog-layout { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 10px; padding: 0 12px; margin-top: 14px; align-items: start; }
.category-rail { display: grid; position: sticky; top: 73px; gap: 11px; }
.category-item { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 6px; min-height: 49px; padding: 7px 5px; border: 1px solid #aa8c594d; border-radius: 5px; color: #f3dfbf; background: linear-gradient(135deg, #75603766, #35201655, #73542d55); box-shadow: inset 0 0 14px #ffe0a41a; font-size: clamp(11px, 3vw, 16px); line-height: 1.25; font-weight: 600; text-align: left; overflow-wrap: anywhere; cursor: pointer; }
.category-item img { flex: none; width: 31px; height: 31px; object-fit: contain; filter: drop-shadow(0 2px 3px #0007); }
.category-item.is-active { color: #fff4cb; border-color: #ffe1a0; background: linear-gradient(#ff714b, #e83223 65%, #ff9e6b); box-shadow: 0 2px 0 #c69435; font-weight: 800; }
.game-box-right { min-width: 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px 9px; }
.product-card { min-width: 0; cursor: pointer; }
.product-image-wrap { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid #f6cd6b40; border-radius: 12px; background: var(--surface); box-shadow: 0 4px 9px #0004; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card:hover img { transform: scale(1.04); }
.product-badge { position: absolute; z-index: 1; top: 2px; right: 3px; color: white; font-size: 25px; line-height: 1; text-shadow: 0 1px 3px #0008; }
.product-badge::before { content: "☆"; }
.product-info { padding: 7px 0 0; }
.product-info h3 { margin: 0; min-height: 32px; color: #fff7e9; font-size: clamp(10px, 2.8vw, 14px); line-height: 1.35; font-weight: 700; overflow-wrap: anywhere; }
.game-count { margin: 20px 0 4px; color: var(--muted); font-size: 10px; text-align: center; }
.load-more { width: 100%; min-height: 36px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--gold); background: #2d1b22; font-size: 11px; }
.platforms { margin-top: 30px; padding-top: 1px; border-top: 1px solid var(--line); }
.platform-groups { display: grid; gap: 22px; padding: 0 16px; }
.platform-title { margin: 0 0 10px; color: #cbb4b7; font-size: 12px; font-weight: 500; }
.platform-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.platform-card { position: relative; min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #21171d; cursor: pointer; }
.platform-card img { width: 100%; height: auto; aspect-ratio: 800 / 313; object-fit: cover; }
.platform-card span { display: block; padding: 8px 10px; color: #d9c5c5; background: var(--surface); font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.site-footer { margin-top: 34px; padding: 24px 20px 10px; border-top: 1px solid var(--line); background: #100a0e66; color: var(--muted); }
.footer-logo { width: 140px; height: 47px; margin: 0 0 22px; object-fit: contain; }
.footer-menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.footer-column strong { display: block; margin-bottom: 12px; color: #e2c7bb; font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
.footer-column button { display: block; width: 100%; min-height: 32px; padding: 5px 0; border: 0; color: var(--muted); background: transparent; font-size: 10px; text-align: left; line-height: 1.5; overflow-wrap: anywhere; }
.footer-copy { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.8; }
.footer-copy p { margin: 0 0 8px; }
.footer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 18px; color: #947e84; font-size: 10px; }
.floating-service { position: fixed; z-index: 35; right: max(calc((100vw - var(--shell-width)) / 2 + 10px), 10px); bottom: calc(91px + env(safe-area-inset-bottom)); width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: transparent; filter: drop-shadow(0 4px 7px #0008); }

.bottom-nav { position: fixed; z-index: 40; bottom: 0; left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: min(100%, var(--shell-width)); min-height: 68px; padding: 4px 5px calc(4px + env(safe-area-inset-bottom)); border-top: 2px solid #c5ab70; background: #24160e url("../images/底栏背景.png?v=2") center / cover; }
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; min-height: 54px; padding: 3px 2px; border: 0; border-radius: 0 0 9px 9px; color: #ead5b0; background: transparent; font-size: 12px; line-height: 1.4; text-align: center; }

.nav-item.is-active { color: #ffe198; background: linear-gradient(#f4d1910d, #f4d1913d); }
/* Account and utility dialogs share the same visual system. */
dialog { max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 0; overflow-y: auto; border: 0; color: var(--text); background: transparent; }
dialog::backdrop { background: #090409c9; backdrop-filter: blur(5px); }
.auth-card { width: min(400px, calc(100vw - 24px)); min-height: 470px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(ellipse at 100% 0, #60283870, transparent 70%), var(--shell-bg); box-shadow: var(--shadow); }
.dialog-titlebar { display: flex; align-items: center; justify-content: space-between; min-height: 54px; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: #47242e; }
.dialog-titlebar strong { font-size: 14px; font-weight: 500; }
.dialog-close { display: grid; place-items: center; flex: none; width: 30px; height: 30px; padding: 0; border: 1px solid #d9ba8566; border-radius: 50%; color: var(--gold-strong); background: transparent; font-size: 20px; line-height: 1; }
.auth-body { padding: 12px 22px 28px; }
.auth-logo { width: 200px; height: 67px; margin: 0 auto 18px; object-fit: contain; }
.auth-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 9px; background: #120c1155; }
.auth-tab { min-height: 35px; padding: 7px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; font-size: 11px; }
.auth-tab.is-active { color: var(--gold-strong); background: #542a36; }
.field + .field { margin-top: 14px; }
.field label { display: block; margin-bottom: 7px; color: #cbb5ba; font-size: 11px; }
.field input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #9a66634d; border-radius: 8px; color: var(--text); background: #110b10aa; font-size: 13px; }
.field input::placeholder { color: #9a858c; }
.login-options { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 16px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.option-check, .agreement-option { display: flex; align-items: center; gap: 7px; }
.option-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--red); }
.agreement-option { flex-wrap: wrap; }
.agreement-open { padding: 0; border: 0; color: var(--gold); background: transparent; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-status { margin: 10px 0 0; color: var(--danger); font-size: 11px; line-height: 1.6; }
.form-status:empty { display: none; }
.submit-button, .maintenance-body button { width: 100%; min-height: 42px; padding: 10px 14px; border: 1px solid #d9ba8559; border-radius: 9px; color: #fff0dc; background: linear-gradient(120deg, #a94250, #87333f); font-size: 13px; }
.auth-form .submit-button { margin-top: 22px; }
.maintenance-card { width: min(360px, calc(100vw - 28px)); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-align: center; }
.maintenance-body { padding: 28px 24px; }
.maintenance-emblem { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 16px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 24px; }
.maintenance-body h2 { margin: 0; font-size: 19px; font-weight: 500; }
.maintenance-body p { margin: 12px 0 22px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.toast { position: fixed; z-index: 80; top: 22px; left: 50%; max-width: min(360px, calc(100vw - 28px)); padding: 10px 15px; transform: translate(-50%, -18px); border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: #38212bf5; box-shadow: var(--shadow); font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.registration-success {
  padding: 34px 16px 0;
  text-align: center;
}

.registration-success-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 17px;
  place-items: center;
  border: 2px solid #f3d28a;
  border-radius: 50%;
  color: #3d1918;
  background: linear-gradient(145deg, #ffe3a0, #dcaa4f);
  box-shadow: 0 8px 24px rgba(212, 137, 44, 0.28);
  font-size: 31px;
  font-weight: 800;
}

.registration-success h2 {
  margin: 0;
  color: #fff0d5;
  font-size: 21px;
}

.registration-success p {
  max-width: 285px;
  margin: 12px auto 22px;
  color: #cbb9aa;
  font-size: 13px;
  line-height: 1.75;
}

.registration-success .submit-button {
  width: 100%;
}

.agreement-card,
.roulette-card {
  width: min(374px, calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid rgba(239, 207, 140, 0.48);
  border-radius: 15px;
  background: radial-gradient(ellipse at top right, #60283870, transparent 70%), var(--shell-bg);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.7);
}

.agreement-body {
  max-height: min(520px, calc(100vh - 120px));
  padding: 20px 19px 18px;
  overflow-y: auto;
  color: #cdbeb2;
  font-size: 12px;
  line-height: 1.75;
}

.agreement-body h3 {
  margin: 0 0 10px;
  color: #ffe9be;
  font-size: 16px;
}

.agreement-body p,
.agreement-body ol {
  margin: 0 0 12px;
}

.agreement-body ol {
  padding-left: 20px;
}

.agreement-body .submit-button {
  position: sticky;
  bottom: 0;
  margin-top: 6px;
}

.roulette-body {
  padding: 14px 14px 19px;
  text-align: center;
}

.wheel-stage {
  position: relative;
  width: 282px;
  height: 282px;
  margin: 2px auto 8px;
}

.wheel-pointer {
  position: absolute;
  z-index: 5;
  top: -2px;
  left: 50%;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-right: 13px solid transparent;
  border-left: 13px solid transparent;
  border-top: 28px solid #fff0bd;
  filter: drop-shadow(0 3px 2px rgba(72, 20, 17, 0.6));
}

.prize-wheel {
  position: absolute;
  inset: 11px;
  border: 7px solid #d9ba85;
  border-radius: 50%;
  background: conic-gradient(
    from -22.5deg,
    #81333f 0deg 45deg,
    #caa66b 45deg 90deg,
    #632634 90deg 135deg,
    #dfc48c 135deg 180deg,
    #81333f 180deg 225deg,
    #caa66b 225deg 270deg,
    #632634 270deg 315deg,
    #dfc48c 315deg 360deg
    );
  box-shadow: inset 0 0 0 4px #532430, inset 0 0 24px rgba(40, 10, 8, 0.35), 0 8px 24px rgba(0, 0, 0, 0.38);
  transition: transform 10s cubic-bezier(0.08, 0.72, 0.06, 1);
}

.prize-label {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  margin: -9px 0 0 -32px;
  transform: rotate(var(--angle)) translateY(-93px) rotate(var(--counter-angle));
  color: #fff7df;
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  text-shadow: 0 1px 3px rgba(50, 12, 10, 0.75);
}

.spin-button {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: 76px;
  height: 76px;
  padding: 0;
  transform: translate(-50%, -50%);
  place-items: center;
  border: 5px solid #ffe4a2;
  border-radius: 50%;
  color: #fff8e7;
  background: linear-gradient(180deg, #bd5e6b, #83313f);
  box-shadow: 0 5px 14px rgba(73, 16, 13, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.3);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.spin-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.65);
  opacity: 0.72;
}

.roulette-status {
  min-height: 22px;
  margin: 4px 0 0;
  color: #f3d18a;
  font-size: 13px;
  line-height: 22px;
}

.roulette-status.is-winner {
  color: #ffdf72;
  font-size: 16px;
  font-weight: 800;
}

body.safari-guide-open {
  overflow: hidden;
}

.safari-guide {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff7e7;
  background:
    radial-gradient(circle at 82% 5%, rgba(255, 208, 110, 0.2), transparent 25%),
    linear-gradient(180deg, rgba(18, 10, 11, 0.97), rgba(35, 17, 18, 0.99));
  backdrop-filter: blur(12px);
}

.safari-guide[hidden] {
  display: none;
}

.safari-guide-shell {
  position: relative;
  width: min(100%, 432px);
  min-height: 100dvh;
  padding: max(112px, env(safe-area-inset-top)) 22px max(26px, env(safe-area-inset-bottom));
  overflow-y: auto;
  background:
    repeating-linear-gradient(135deg, rgba(154, 62, 48, 0.08) 0 58px, transparent 58px 116px),
    rgba(25, 15, 16, 0.46);
  box-shadow: 0 0 46px rgba(0, 0, 0, 0.5);
}

.safari-corner-target {
  position: absolute;
  top: max(13px, env(safe-area-inset-top));
  right: 17px;
  display: grid;
  width: 58px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 227, 163, 0.8);
  border-radius: 999px;
  color: #3b1717;
  background: linear-gradient(180deg, #ffe4a4, #dba744);
  box-shadow: 0 0 0 8px rgba(244, 193, 90, 0.09), 0 7px 20px rgba(0, 0, 0, 0.35);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  animation: safari-target-pulse 1.7s ease-in-out infinite;
}

.safari-corner-hint {
  position: absolute;
  top: max(58px, calc(env(safe-area-inset-top) + 45px));
  right: 20px;
  color: #f2d08d;
  font-size: 11px;
  font-weight: 700;
}

.safari-guide-arrow {
  position: absolute;
  top: max(56px, calc(env(safe-area-inset-top) + 43px));
  right: 76px;
  width: 74px;
  height: 48px;
  border-top: 2px solid #f3ce82;
  border-right: 2px solid #f3ce82;
  border-radius: 0 46px 0 0;
  transform: rotate(-12deg);
  opacity: 0.86;
}

.safari-guide-arrow::after {
  position: absolute;
  top: -7px;
  right: -5px;
  width: 11px;
  height: 11px;
  transform: rotate(45deg);
  border-top: 2px solid #f3ce82;
  border-right: 2px solid #f3ce82;
  content: "";
}

.safari-guide-card {
  padding: 24px 20px 20px;
  border: 1px solid rgba(239, 207, 140, 0.4);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(87, 39, 35, 0.92), rgba(35, 21, 21, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 65px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.safari-compass {
  position: relative;
  width: 82px;
  height: 82px;
  margin: 0 auto 17px;
  border: 5px solid #f7f3e8;
  border-radius: 50%;
  background: conic-gradient(from 25deg, #53baf4, #1c75d8, #66c9f7, #2079db, #53baf4);
  box-shadow: 0 7px 22px rgba(18, 86, 151, 0.35), inset 0 0 0 2px rgba(12, 62, 118, 0.32);
}

.safari-compass::before,
.safari-compass::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 54px;
  transform-origin: 50% 50%;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  content: "";
}

.safari-compass::before {
  transform: translate(-50%, -50%) rotate(35deg);
  background: linear-gradient(180deg, #f04d47 0 50%, #f8f3dd 50% 100%);
}

.safari-compass::after {
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #f8f3dd;
  clip-path: none;
  box-shadow: 0 0 0 2px rgba(25, 61, 101, 0.4);
}

.safari-guide-card h2 {
  margin: 0;
  color: #fff0cf;
  font-size: 22px;
  line-height: 1.35;
}

.safari-guide-subtitle {
  margin: 9px 0 18px;
  color: #cbb9aa;
  font-size: 13px;
  line-height: 1.65;
}

.safari-guide-steps {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.safari-guide-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  min-height: 50px;
  padding: 8px 11px;
  gap: 10px;
  border: 1px solid rgba(239, 207, 140, 0.2);
  border-radius: 12px;
  color: #f0dfca;
  background: rgba(17, 10, 10, 0.28);
  font-size: 13px;
  line-height: 1.45;
}

.safari-step-number {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #3b1717;
  background: linear-gradient(180deg, #ffe5a8, #d9a346);
  font-weight: 800;
}

.safari-guide-actions {
  display: grid;
  gap: 9px;
}

.safari-open-button,
.safari-copy-button,
.safari-continue-button {
  width: 100%;
  min-height: 43px;
  border-radius: 10px;
  cursor: pointer;
}

.safari-open-button {
  border: 1px solid #f5d38c;
  color: #fff8e9;
  background: linear-gradient(180deg, #f1664e, #bd342b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  font-weight: 700;
}

.safari-copy-button {
  border: 1px solid rgba(239, 207, 140, 0.56);
  color: #f3d8ad;
  background: rgba(72, 37, 34, 0.72);
  font-size: 12px;
}

.safari-continue-button {
  border: 1px solid rgba(239, 207, 140, 0.34);
  color: #c8b6a8;
  background: rgba(23, 14, 14, 0.38);
  font-size: 12px;
}

@keyframes safari-target-pulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

@media (max-width: 360px) {
  .brand-row { grid-template-columns: 136px minmax(0, 1fr) 32px; gap: 8px; padding-inline: 14px; }
  .brand-logo { width: 136px; }
  .hero-copy { padding-left: 16px; }
  .hero h1 { font-size: 25px; }
  .catalog-layout, .shop-nav-row { grid-template-columns: 64px minmax(0, 1fr); gap: 7px; padding-inline: 8px; }
  .category-item { gap: 3px; padding-inline: 3px; font-size: 10px; }
  .category-item img { width: 23px; height: 23px; }
  .auth-cta { grid-template-columns: 1fr; }
  .auth-cta button { min-height: 23px; padding: 3px; }
  .product-grid { gap: 14px 6px; }
  .wheel-stage { margin-left: -7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.message-orb img, .floating-service img { width: 100%; height: 100%; object-fit: contain; }
.nav-item img { width: 28px; height: 28px; object-fit: contain; }
section[aria-labelledby="catalogTitle"] > .section-kicker { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lobby-ticker { display: flex; align-items: center; gap: 8px; margin: 8px 12px 0; padding: 6px 9px; overflow: hidden; border: 1px solid #d9b26333; border-radius: 5px; color: #ebc987; background: #1b0c08aa; }
.lobby-ticker > span { flex: none; font-size: 17px; }
.lobby-ticker p { margin: 0; font-size: 10px; line-height: 1.5; }
@media (min-width: 361px) and (max-width: 430px) {
  .catalog-layout, .shop-nav-row { grid-template-columns: 80px minmax(0, 1fr); gap: 8px; }
  .category-item { gap: 4px; font-size: 11px; }
  .category-item img { width: 26px; height: 26px; }
}
