:root {
  --brand-gold: #f4b81a;
  --brand-gold-strong: #dc9500;
  --brand-gold-soft: #fff7da;
  --navy: #10263f;
  --navy-2: #1b3e61;
  --blue: #1769e0;
  --blue-hover: #1257bd;
  --ink: #182230;
  --muted: #667085;
  --surface: #ffffff;
  --surface-soft: #f5f7fa;
  --border: #dfe5ec;
  --danger: #b42318;
  --danger-soft: #fff3f2;
  --success: #167647;
  --radius-control: 12px;
  --radius-card: 18px;
  --shadow-sm: 0 2px 8px rgba(16, 38, 63, 0.08);
  --shadow-card: 0 12px 32px rgba(16, 38, 63, 0.09);
  --page-width: 1120px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -8%, rgba(244, 184, 26, 0.15), transparent 28rem),
    linear-gradient(180deg, #fbfcfe 0, #f4f7fa 100%);
  font-family: Inter, "Noto Sans Devanagari", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-hover);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(23, 105, 224, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  color: white;
  background: var(--navy);
  font-weight: 750;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(16, 38, 63, 0.1);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(160%);
}

.header-inner {
  width: min(calc(100% - 32px), var(--page-width));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}

.brand img {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.025em;
}

.brand-subtitle {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #edf1f5;
}

.language-switch button {
  min-height: 38px;
  padding: 7px 12px;
  border: 0;
  border-radius: 9px;
  color: #475467;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.language-switch button.active {
  color: var(--navy);
  background: white;
  box-shadow: 0 1px 4px rgba(16, 38, 63, 0.13);
}

.page-shell {
  width: min(calc(100% - 32px), var(--page-width));
  margin-inline: auto;
}

.safety-banner {
  margin: 24px auto 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid #efd276;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff9e5, #fff4ca);
  box-shadow: 0 6px 20px rgba(129, 91, 0, 0.08);
}

.safety-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #5d4100;
  background: var(--brand-gold);
  font-size: 20px;
  font-weight: 900;
}

.safety-banner strong {
  color: #5d4100;
}

.safety-banner p {
  margin: 1px 0 0;
  color: #684f17;
  font-size: 14px;
}

.rolling-announcement {
  min-height: 38px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  padding: 5px 10px;
  border: 1px solid #efd276;
  border-radius: 12px;
  color: #5d4100;
  background: rgba(255, 247, 218, 0.92);
  box-shadow: 0 3px 10px rgba(129, 91, 0, 0.06);
}

.announcement-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffe39a;
  font-size: 13px;
}

.announcement-window {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 18px, black calc(100% - 18px), transparent);
  mask-image: linear-gradient(90deg, transparent, black 18px, black calc(100% - 18px), transparent);
}

.announcement-message {
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding-left: 100%;
  white-space: nowrap;
  color: #684f17;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
  animation: announcement-roll 28s linear infinite;
}

@media (hover: hover) and (pointer: fine) {
  .rolling-announcement:hover .announcement-message {
    animation-play-state: paused;
  }
}

@keyframes announcement-roll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.primary-tabs,
.secondary-tabs {
  display: grid;
  gap: 10px;
}

.primary-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 12px;
}

.primary-tabs > button,
.secondary-tabs > button {
  position: relative;
  min-width: 0;
  min-height: 54px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  color: #344054;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 10px rgba(16, 38, 63, 0.04);
  cursor: pointer;
  font-weight: 760;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.primary-tabs > button:hover,
.secondary-tabs > button:hover {
  transform: translateY(-1px);
  border-color: #b6c5d4;
  box-shadow: 0 7px 16px rgba(16, 38, 63, 0.08);
}

.primary-tabs > button[aria-selected="true"],
.secondary-tabs > button.active {
  border-color: var(--blue);
  color: white;
  background: linear-gradient(135deg, var(--blue), #3387f4);
  box-shadow: 0 8px 18px rgba(23, 105, 224, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.nav-badge {
  display: block;
  width: fit-content;
  margin: 3px auto 0;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.045em;
}

.badge-warm {
  color: #5b3600;
  background: #ffd166;
  box-shadow: 0 4px 10px rgba(220, 149, 0, 0.24);
  animation: bonus-float 2.2s ease-in-out infinite, bonus-glow 2.2s ease-in-out infinite;
}

.badge-green {
  color: #075b36;
  background: #9ce5c2;
}

.secondary-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 24px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(237, 241, 245, 0.78);
}

.secondary-tabs > button {
  min-height: 48px;
  padding-inline: 38px;
  font-size: 14px;
}

.secondary-tabs small {
  position: absolute;
  top: 7px;
  right: 8px;
  padding: 1px 6px;
  border-radius: 999px;
  color: #8d1a11;
  background: #ffdbd7;
  font-size: 9px;
  font-weight: 850;
  box-shadow: 0 3px 10px rgba(217, 45, 32, 0.14);
  animation: hot-float 1.8s ease-in-out infinite, hot-glow 1.8s ease-in-out infinite;
}

.secondary-tabs > button:nth-child(2) small {
  animation-delay: 180ms;
}

.secondary-tabs > button:nth-child(3) small {
  animation-delay: 360ms;
}

@keyframes bonus-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-3px) rotate(1deg); }
}

@keyframes bonus-glow {
  0%, 100% { box-shadow: 0 4px 10px rgba(220, 149, 0, 0.2); }
  50% { box-shadow: 0 5px 14px rgba(220, 149, 0, 0.48), 0 0 0 3px rgba(255, 209, 102, 0.2); }
}

@keyframes hot-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.05); }
}

@keyframes hot-glow {
  0%, 100% { box-shadow: 0 3px 10px rgba(217, 45, 32, 0.12); }
  50% { box-shadow: 0 4px 13px rgba(217, 45, 32, 0.34), 0 0 0 2px rgba(255, 219, 215, 0.45); }
}

main {
  min-height: 50vh;
  padding-bottom: 12px;
}

.content-tab {
  width: 100%;
  animation: content-in 180ms ease-out;
}

@keyframes content-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.content-tab > .lang-content,
.buy-sub,
.zong,
.main,
.kuang2,
.mleft,
.mright,
.mcen {
  width: 100%;
}

.mleft,
.mright,
.header:empty {
  display: none;
}

.section-banner {
  width: min(100%, 920px);
  margin: 0 auto 12px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(220, 149, 0, 0.28);
  border-radius: var(--radius-card);
  color: var(--navy);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.76), rgba(255, 247, 218, 0.8)),
    var(--brand-gold-soft);
  box-shadow: var(--shadow-card);
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  text-align: center;
}

.article-block,
.kuang2,
.intro-card,
.qa-card,
.callout,
.media-frame {
  width: min(100%, 920px);
  margin-inline: auto;
}

.article-block {
  color: #344054;
}

.intro-card {
  margin: 0 auto 16px;
  padding: clamp(17px, 3vw, 24px);
  border: 1px solid #efdc98;
  border-radius: var(--radius-card);
  background: var(--brand-gold-soft);
  box-shadow: var(--shadow-sm);
}

.qa-card {
  margin: 0 auto 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.qa-question {
  margin: 0;
  padding: 17px clamp(18px, 3vw, 26px);
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.42;
  letter-spacing: -0.012em;
}

.qa-answer {
  padding: clamp(18px, 3vw, 28px);
  border-top: 4px solid var(--brand-gold);
  color: #344054;
  background: var(--surface);
}

.qa-answer > :first-child,
.intro-card > :first-child,
.callout > :first-child {
  margin-top: 0;
}

.qa-answer > :last-child,
.intro-card > :last-child,
.callout > :last-child {
  margin-bottom: 0;
}

.content-tab li {
  margin: 0.52rem 0;
  padding-left: 0.2rem;
}

.content-tab strong {
  color: var(--ink);
}

.content-tab p,
.content-tab ol,
.content-tab ul {
  margin-block: 0.75rem;
}

.section-banner + br,
.kuang2 > br,
.qa-card + br,
.intro-card + br,
.article-block > br,
.article-block + br,
.media-frame > br,
.media-frame + br,
.callout + br {
  display: none;
}

.content-tab ol,
.content-tab ul {
  padding-left: 1.25rem;
}

.media-frame {
  margin-block: 16px;
  padding: 9px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #eef2f6;
  box-shadow: 0 8px 26px rgba(16, 38, 63, 0.09);
  text-align: center;
}

.media-frame img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  background: white;
  cursor: zoom-in;
}

.callout {
  margin-block: 16px;
  padding: 17px 19px;
  border: 1px solid #f3b4ad;
  border-left: 5px solid #d92d20;
  border-radius: 14px;
  color: #7a271a;
  background: var(--danger-soft);
}

.callout strong {
  color: var(--danger);
}

.inline-tab-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(23, 105, 224, 0.24);
  border-radius: 9px;
  color: var(--blue);
  background: rgba(23, 105, 224, 0.07);
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.inline-tab-link::after {
  content: "→";
  margin-left: 7px;
  font-size: 18px;
  line-height: 1;
}

.inline-tab-link:hover {
  color: white;
  background: var(--blue);
}

#withdraw .qa-card > .callout:last-child,
#withdraw .qa-answer > .callout:last-child,
#withdraw .article-block > .qa-card:last-child {
  margin-bottom: 0;
}

.chip-row {
  margin-block: 16px;
  text-align: center;
}

.process-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #83c7a5;
  border-radius: 999px;
  color: #075b36;
  background: #e9f8f0;
  font-size: 14px;
  font-weight: 800;
}

.text-success {
  color: var(--success) !important;
}

.text-danger {
  color: var(--danger) !important;
}

.site-footer {
  padding: 24px 16px 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.site-footer p {
  margin: 3px 0;
}

.site-footer strong {
  color: var(--navy);
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 24px;
  right: calc(18px + var(--visual-viewport-right, 0px));
  bottom: calc(24px + var(--visual-viewport-bottom, 0px) + var(--footer-push, 0px));
  right: calc(18px + env(safe-area-inset-right, 0px) + var(--visual-viewport-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px) + var(--visual-viewport-bottom, 0px) + var(--footer-push, 0px));
  z-index: 100;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
  transition: bottom 140ms ease-out;
}

.floating-action {
  position: relative;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 5px;
  border: 1px solid rgba(16, 38, 63, 0.12);
  border-radius: 50%;
  background: white;
  box-shadow: 0 10px 28px rgba(16, 38, 63, 0.2);
  cursor: pointer;
}

.floating-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(16, 38, 63, 0.26);
}

.floating-action > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.notice-fab {
  width: 58px;
  height: 58px;
  border: 3px solid white;
  box-shadow: 0 0 0 5px rgba(24, 179, 185, 0.14), 0 12px 30px rgba(16, 38, 63, 0.28);
  animation: notice-pulse 2.6s ease-in-out infinite;
}

@keyframes notice-pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(24, 179, 185, 0.12), 0 12px 30px rgba(16, 38, 63, 0.24); }
  50% { box-shadow: 0 0 0 8px rgba(24, 179, 185, 0.2), 0 14px 34px rgba(16, 38, 63, 0.34); }
}

.fab-label {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  width: max-content;
  max-width: 180px;
  padding: 7px 10px;
  transform: translate(6px, -50%);
  border-radius: 8px;
  color: white;
  background: var(--navy);
  box-shadow: 0 8px 20px rgba(16, 38, 63, 0.2);
  opacity: 0;
  pointer-events: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  transition: opacity 160ms ease, transform 160ms ease;
}

.notice-fab:hover .fab-label,
.notice-fab:focus-visible .fab-label {
  transform: translate(0, -50%);
  opacity: 1;
}

.to-top {
  display: none;
  padding: 0;
  overflow: hidden;
}

.to-top.visible {
  display: grid;
}

dialog {
  padding: 0;
  border: 0;
}

dialog::backdrop {
  background: rgba(6, 16, 28, 0.72);
  backdrop-filter: blur(4px);
}

.notice-dialog {
  width: calc(100vw - 20px);
  width: calc(var(--app-viewport-width) - 20px);
  max-width: 480px;
  height: calc(100vh - 20px);
  height: calc(100svh - 20px);
  height: calc(100dvh - 20px);
  height: calc(var(--app-viewport-height) - 20px);
  max-height: 820px;
  overflow: hidden;
  overscroll-behavior: contain;
  border: 1px solid rgba(244, 184, 26, 0.45);
  border-radius: 18px;
  background: #f7f9fc;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
}

.notice-dialog[open] {
  display: block;
}

.notice-panel {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dialog-header {
  flex: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  border-bottom: 3px solid var(--brand-gold);
  color: var(--navy);
  background: linear-gradient(135deg, #ffffff, #fff8df);
}

.dialog-header small {
  display: block;
  color: #946200;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dialog-header h2 {
  margin: 2px 0 0;
  font-size: 18px;
}

.dialog-header button,
.image-dialog-close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: var(--navy);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.notice-poster-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  padding: 8px;
  background: #e9eef4;
}

.notice-poster-wrap img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  background: white;
}

.notice-actions {
  flex: 0 0 auto;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(96px, 0.8fr);
  gap: 9px;
  padding: 10px;
  padding-bottom: max(10px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  background: white;
}

.notice-actions form {
  margin: 0;
}

.official-site-link,
.dialog-dismiss {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.official-site-link {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e6b21e;
  color: #3f2a00;
  background: #ffd85c;
  cursor: pointer;
}

.official-site-link:hover {
  color: #241800;
  background: #ffcc28;
}

.dialog-dismiss {
  width: 100%;
  border: 0;
  color: white;
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(23, 105, 224, 0.22);
  cursor: pointer;
  font-weight: 800;
}

.image-dialog {
  width: min(1180px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border-radius: 18px;
  background: #071421;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.image-dialog-inner {
  position: relative;
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 56px 12px 14px;
}

.image-dialog img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 110px);
  border-radius: 10px;
  background: white;
}

.image-dialog-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 68px;
    gap: 10px;
  }

  .brand {
    gap: 7px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand-subtitle {
    display: none !important;
  }

  .language-switch button {
    min-height: 36px;
    padding-inline: 9px;
    font-size: 12px;
  }

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

  .primary-tabs > button {
    min-height: 58px;
    padding: 8px 5px;
    font-size: 14px;
  }

  .secondary-tabs {
    padding: 8px;
  }

  .secondary-tabs > button {
    min-height: 48px;
    padding: 8px 38px 8px 10px;
    font-size: 13px;
  }

  .section-banner {
    margin-bottom: 10px;
    padding: 16px 14px;
    border-radius: 15px;
    font-size: clamp(22px, 7vw, 29px);
  }

  .qa-card,
  .intro-card,
  .media-frame {
    border-radius: 14px;
  }

  .qa-card {
    margin: 0 auto 12px;
  }

  .qa-question {
    padding: 15px 17px;
  }

  .qa-answer,
  .intro-card {
    padding: 17px;
  }
}

@media (max-width: 430px) {
  .site-footer {
    padding: 22px 16px 24px;
  }

  .notice-dialog {
    position: fixed;
    top: calc(var(--visual-viewport-top, 0px) + 8px);
    left: 50%;
    right: auto;
    bottom: auto;
    width: calc(100vw - 16px);
    width: calc(var(--app-viewport-width) - 16px);
    max-width: none;
    height: calc(100vh - 16px);
    height: calc(100svh - 16px);
    height: calc(100dvh - 16px);
    height: calc(var(--app-viewport-height) - 16px);
    max-height: none;
    margin: 0;
    transform: translateX(-50%);
    border-radius: 15px;
  }

  .dialog-header {
    padding: 10px 11px;
  }

  .dialog-header h2 {
    font-size: 16px;
  }

  .dialog-header button {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .notice-actions {
    grid-template-columns: minmax(0, 1.65fr) minmax(82px, 0.75fr);
    gap: 7px;
    padding: 8px;
    padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
  }

  .official-site-link,
  .dialog-dismiss {
    min-height: 43px;
    font-size: 13px;
  }

  .header-inner,
  .page-shell {
    width: min(calc(100% - 24px), var(--page-width));
  }

  .brand-copy {
    display: none;
  }

  .safety-banner {
    align-items: flex-start;
    margin-top: 16px;
    padding: 13px 14px;
  }

  .safety-banner p {
    font-size: 13px;
    line-height: 1.45;
  }

  .rolling-announcement {
    min-height: 36px;
    margin-bottom: 8px;
    padding: 4px 9px;
  }

  .announcement-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    font-size: 12px;
  }

  .announcement-message {
    font-size: 12px;
    animation-duration: 26s;
  }

  .content-tab {
    font-size: 15px;
  }

  main {
    padding-bottom: 8px;
  }

  .inline-tab-link {
    width: 100%;
    justify-content: space-between;
    padding: 9px 11px;
  }

  .media-frame {
    margin-block: 14px;
    margin-inline: -3px;
    width: calc(100% + 6px);
    padding: 6px;
  }

  .callout {
    margin-block: 14px;
  }

  .floating-actions {
    right: 12px;
    bottom: 18px;
    right: calc(12px + var(--visual-viewport-right, 0px));
    bottom: calc(18px + var(--visual-viewport-bottom, 0px) + var(--footer-push, 0px));
    right: calc(12px + env(safe-area-inset-right, 0px) + var(--visual-viewport-right, 0px));
    bottom: calc(18px + env(safe-area-inset-bottom, 0px) + var(--visual-viewport-bottom, 0px) + var(--footer-push, 0px));
    gap: 8px;
  }

  .floating-action {
    width: 52px;
    height: 52px;
  }

  .notice-fab {
    width: 56px;
    height: 56px;
  }

  .fab-label {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .announcement-window {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .announcement-message {
    width: auto;
    min-width: 0;
    padding-left: 0;
    white-space: normal;
    animation: none !important;
  }
}
