:root {
  --teal-900: #075f69;
  --teal-800: #087985;
  --teal-700: #07979d;
  --teal-600: #0aaeb1;
  --teal-500: #24c4c5;
  --sky-100: #e7f8ff;
  --ink: #173844;
  --muted: #63818b;
  --yellow: #ffd840;
  --yellow-deep: #f2a800;
  --card: rgba(255, 255, 255, 0.92);
  --line: rgba(72, 164, 180, 0.22);
  --shadow: 0 18px 44px rgba(42, 113, 134, 0.15);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 768px;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  background-color: #dff5ff;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(211, 242, 253, 0.38)),
    url("/game-center/seashell-ui/backgrounds/background-01.png");
  background-position: center;
  background-size: cover;
}

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

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 4px solid rgba(255, 188, 30, 0.72);
  outline-offset: 3px;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.page-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-scene img {
  position: absolute;
  object-fit: contain;
  user-select: none;
}

.scene-cloud {
  top: -78px;
  left: -82px;
  width: 350px;
  opacity: 0.72;
}

.scene-grass {
  left: -44px;
  bottom: -68px;
  width: 330px;
}

.scene-flowers {
  right: -74px;
  bottom: -74px;
  width: 470px;
}

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  width: min(100%, 1660px);
  height: 100dvh;
  margin: 0 auto;
  padding: max(12px, env(safe-area-inset-top)) max(46px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(46px, env(safe-area-inset-left));
}

.page-view {
  min-height: 0;
}

.home-view {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 176px;
  gap: 18px;
}

.dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(390px, 1fr);
  gap: 22px;
  min-height: 0;
}

.hero-card,
.training-card,
.shortcut-card,
.library-cta {
  border: 6px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 38px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 25%, rgba(120, 255, 247, 0.3), transparent 33%),
    linear-gradient(135deg, #0a9fa6 0%, #007b87 67%, #075e73 100%);
}

.hero-card::after {
  position: absolute;
  right: -7%;
  bottom: -44%;
  width: 78%;
  height: 54%;
  border-radius: 50%;
  background: rgba(235, 251, 255, 0.96);
  content: "";
  transform: rotate(-3deg);
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 55%;
  height: 100%;
  padding: clamp(36px, 4.2vh, 58px) 0 34px clamp(34px, 4vw, 66px);
}

.hero-copy .eyebrow {
  margin-bottom: 8px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.11);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 3.65vw, 60px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 2px;
  white-space: nowrap;
  text-shadow: 0 4px 4px rgba(0, 70, 76, 0.22);
}

.hero-copy p {
  margin: 20px 0 0;
  font-size: clamp(27px, 2.4vw, 39px);
  font-weight: 700;
  text-shadow: 0 3px 3px rgba(0, 64, 72, 0.2);
}

.start-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  margin-top: auto;
  padding: 9px 34px 9px 16px;
  border: 5px solid #fff3aa;
  border-radius: 50px;
  color: #7a5000;
  background: linear-gradient(180deg, #ffe65b, #ffc51e);
  box-shadow: 0 9px 0 #e9a907, 0 18px 28px rgba(41, 60, 37, 0.22);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.start-button:hover,
.library-cta:hover,
.top-action:hover {
  transform: translateY(-2px);
}

.start-button:active,
.library-cta:active,
.top-action:active {
  transform: translateY(2px);
}

.start-button > span:last-child {
  font-size: clamp(26px, 2.3vw, 36px);
  font-weight: 900;
  white-space: nowrap;
}

.play-disc {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #ffc51d;
  background: #fff;
  box-shadow: 0 4px 10px rgba(138, 92, 0, 0.15);
}

.play-disc svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
  stroke: currentColor;
  stroke-linejoin: round;
}

.training-hero {
  position: absolute;
  z-index: 2;
  top: -1%;
  right: -9%;
  width: 105%;
  height: 111%;
  object-fit: contain;
  object-position: right center;
  filter: drop-shadow(0 18px 20px rgba(0, 74, 84, 0.2));
  pointer-events: none;
}

.bubble {
  position: absolute;
  z-index: 1;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.bubble-one {
  top: 14%;
  left: 62%;
  width: 26px;
  height: 26px;
}

.bubble-two {
  top: 34%;
  left: 58%;
  width: 16px;
  height: 16px;
}

.training-card {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: 26px 26px 24px;
  border-radius: 38px;
  background: var(--card);
  backdrop-filter: blur(12px);
}

.training-card > header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin: 0 10px 18px;
}

.training-card h2 {
  margin: 0;
  color: var(--teal-700);
  font-size: clamp(35px, 3vw, 48px);
  font-weight: 900;
  letter-spacing: 1px;
}

.training-card header strong {
  color: #1f3943;
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 900;
}

.training-list {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 11px;
  min-height: 0;
  flex: 1;
}

.training-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 18px;
  min-height: 0;
  padding: 8px 17px;
  border: 2px solid rgba(48, 112, 130, 0.1);
  border-radius: 24px;
  color: #33484f;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 6px 16px rgba(30, 93, 111, 0.1);
}

.training-item.current {
  border-color: rgba(7, 179, 181, 0.78);
  background: rgba(245, 255, 255, 0.96);
  box-shadow: 0 7px 18px rgba(5, 162, 166, 0.13);
}

.training-item[disabled] {
  cursor: default;
}

.training-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(145deg, #30c9c5, #0192a1);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

.training-item.done .training-icon {
  background: linear-gradient(145deg, #78d26a, #3bb64b);
}

.training-item.locked .training-icon {
  background: linear-gradient(145deg, #b177e1, #7f4eb5);
}

.training-item:nth-child(4) .training-icon {
  background: linear-gradient(145deg, #ffb04e, #e98020);
}

.training-icon svg {
  width: 37px;
  height: 37px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.training-title {
  overflow: hidden;
  font-size: clamp(20px, 1.65vw, 28px);
  font-weight: 800;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.training-state {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border-radius: 50%;
  color: #fff;
  background: var(--teal-600);
}

.training-item.done .training-state {
  background: #4cc35a;
}

.training-item.locked .training-state {
  color: #99a5a8;
  background: transparent;
}

.training-state svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-shortcuts {
  display: grid;
  grid-template-columns: minmax(250px, 0.83fr) minmax(250px, 0.83fr) minmax(420px, 1.45fr);
  gap: 20px;
  min-height: 0;
}

.shortcut-card,
.library-cta {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 34px;
  cursor: pointer;
}

.shortcut-card {
  padding: 0;
  text-align: left;
  background: #fff;
}

.shortcut-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.shortcut-card:hover > img {
  transform: scale(1.035);
}

.shortcut-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.68) 27%, rgba(2, 41, 51, 0.04) 58%, rgba(1, 37, 48, 0.56) 100%);
  content: "";
}

.shortcut-heading {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 17px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--teal-800);
  font-size: clamp(19px, 1.7vw, 27px);
  font-weight: 900;
}

.shortcut-heading.blue {
  color: #147bc4;
}

.shortcut-heading svg {
  width: 36px;
  height: 36px;
  padding: 7px;
  border-radius: 50%;
  color: #fff;
  fill: currentColor;
  stroke: #fff;
  stroke-width: 1.6;
  background: var(--teal-600);
}

.shortcut-heading.blue svg {
  background: #238fd1;
}

.shortcut-overlay {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 15px;
  left: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 31, 42, 0.52);
}

.shortcut-overlay strong {
  font-size: clamp(19px, 1.6vw, 26px);
  font-weight: 900;
}

.shortcut-overlay small {
  font-size: 14px;
  font-weight: 700;
}

.library-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 19px;
  padding: 0 34px;
  color: #fff;
  background:
    radial-gradient(circle at 22% 20%, rgba(86, 244, 233, 0.35), transparent 28%),
    linear-gradient(145deg, #0bbab9, #00838f);
  box-shadow: 0 9px 0 rgba(0, 99, 109, 0.35), var(--shadow);
}

.library-cta > span:nth-child(2) {
  overflow: hidden;
  font-size: clamp(27px, 2.55vw, 42px);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gamepad-disc {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  color: var(--teal-600);
  background: #fff;
  box-shadow: 0 5px 14px rgba(0, 84, 91, 0.2);
}

.gamepad-disc svg {
  width: 49px;
  height: 49px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-arrow {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.library-view {
  display: grid;
  grid-template-rows: 88px 72px minmax(0, 1fr);
  gap: 16px;
  min-height: 0;
}

.library-view[hidden],
.home-view[hidden] {
  display: none;
}

.library-heading {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 0 12px;
}

.round-back {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 4px solid #fff;
  border-radius: 21px;
  color: #fff;
  background: var(--teal-700);
  box-shadow: 0 8px 18px rgba(16, 103, 121, 0.18);
  cursor: pointer;
}

.round-back svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.library-heading span {
  color: var(--teal-700);
  font-size: 15px;
  font-weight: 800;
}

.library-heading h1 {
  margin: 0;
  color: var(--teal-900);
  font-size: 42px;
  line-height: 1.1;
}

.library-heading > strong {
  padding: 12px 20px;
  border: 3px solid #fff;
  border-radius: 999px;
  color: var(--teal-800);
  font-size: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.category-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.category-tab {
  min-width: 0;
  border: 3px solid #fff;
  border-radius: 23px;
  color: var(--teal-800);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 7px 16px rgba(23, 103, 125, 0.09);
  cursor: pointer;
}

.category-tab.active {
  border-color: #fff3b0;
  color: #7b5400;
  background: linear-gradient(180deg, #ffe77a, #ffd24c);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  min-height: 0;
  overflow: auto;
  padding: 2px 8px 20px;
  scrollbar-color: rgba(7, 151, 157, 0.5) transparent;
}

.game-card {
  display: grid;
  grid-template-rows: minmax(135px, 1fr) auto;
  min-width: 0;
  min-height: 250px;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 30px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(26, 102, 125, 0.2);
}

.game-cover {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #dff5ff;
}

.game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 12px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  color: var(--teal-900);
  font-size: 13px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
}

.game-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  align-items: center;
  gap: 12px;
  padding: 15px 16px 16px;
}

.game-copy h2 {
  overflow: hidden;
  margin: 0 0 3px;
  font-size: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-copy p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-enter {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: #fff;
  background: var(--teal-700);
}

.game-enter svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 52, 64, 0.36);
  backdrop-filter: blur(9px);
}

.dialog-backdrop[hidden] {
  display: none;
}

.dialog {
  width: min(500px, 86vw);
  padding: 34px;
  border: 6px solid #fff;
  border-radius: 36px;
  text-align: center;
  background: #f8fdff;
  box-shadow: 0 28px 70px rgba(0, 48, 59, 0.28);
}

.dialog-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 25px;
  color: #fff;
  background: var(--teal-600);
}

.dialog-icon svg {
  width: 47px;
  height: 47px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dialog h2 {
  margin: 0 0 10px;
  font-size: 32px;
}

.dialog p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
}

.dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.dialog-actions button {
  min-height: 58px;
  border: 0;
  border-radius: 20px;
  color: var(--teal-900);
  font-size: 20px;
  font-weight: 900;
  background: #e7f2f5;
  cursor: pointer;
}

.dialog-actions .primary {
  color: #fff;
  background: var(--teal-700);
}

.toast {
  position: fixed;
  z-index: 120;
  right: 50%;
  bottom: 28px;
  max-width: min(560px, 80vw);
  padding: 14px 24px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  text-align: center;
  background: rgba(5, 91, 102, 0.92);
  box-shadow: 0 12px 28px rgba(0, 52, 63, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 18px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(50%, 0);
}

.native-game-open,
.native-game-open body {
  overflow: hidden;
}

.native-game-layer {
  position: fixed;
  z-index: 500;
  inset: 0;
  background: #fff;
}

.native-game-layer[hidden] {
  display: none;
}

.native-game-layer iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.native-game-loading {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  color: var(--teal-900);
  text-align: center;
  background:
    linear-gradient(rgba(225, 246, 255, 0.9), rgba(225, 246, 255, 0.9)),
    var(--scene-background, #dff5ff);
}

.native-game-loading[hidden] {
  display: none;
}

.native-game-loading img {
  width: clamp(74px, 8vw, 112px);
  height: clamp(74px, 8vw, 112px);
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(15, 116, 132, 0.2));
}

.native-game-loading strong {
  font-size: clamp(26px, 3vw, 42px);
}

.native-game-loading span {
  color: var(--ink-600);
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 700;
}

.native-game-loading button {
  min-width: 180px;
  min-height: 56px;
  margin-top: 12px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-weight: 900;
  background: var(--teal-700);
  box-shadow: 0 12px 24px rgba(16, 126, 135, 0.25);
  cursor: pointer;
}

.native-game-loading.is-error {
  background: #eff8fb;
}

@media (max-width: 1260px) {
  .app-shell {
    padding-right: 28px;
    padding-left: 28px;
  }

  .dashboard {
    grid-template-columns: minmax(0, 1.45fr) minmax(350px, 1fr);
  }

  .hero-copy {
    width: 56%;
    padding-left: 38px;
  }

  .home-shortcuts {
    grid-template-columns: 0.78fr 0.78fr 1.45fr;
  }
}

@media (max-height: 780px) {
  .app-shell {
    grid-template-rows: minmax(0, 1fr);
    padding-top: max(8px, env(safe-area-inset-top));
    padding-bottom: 18px;
  }

  .home-view {
    grid-template-rows: minmax(0, 1fr) 142px;
  }

  .hero-copy {
    padding-top: 26px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .start-button {
    min-height: 70px;
  }

  .play-disc {
    width: 50px;
    height: 50px;
  }

  .training-card {
    padding: 18px;
  }

  .training-card > header {
    margin-bottom: 10px;
  }

  .training-icon {
    width: 48px;
    height: 48px;
  }

  .training-item {
    grid-template-columns: 54px minmax(0, 1fr) 42px;
    border-radius: 18px;
  }
}

/* Account and child context are intentionally outside the 34 game runtimes.
   The game layer uses z-index 500, so these controls never cover game input. */
.account-bar {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  right: max(30px, env(safe-area-inset-right));
  z-index: 40;
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 16px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 12px 30px rgba(43, 113, 132, 0.17);
  backdrop-filter: blur(14px);
}

.account-bar[hidden] {
  display: none !important;
}

.account-identity {
  display: grid;
  min-width: 112px;
  gap: 1px;
  line-height: 1.15;
}

.account-identity small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.account-identity strong {
  color: #9b7430;
  font-size: 12px;
  font-weight: 800;
}

.account-identity strong.is-bound {
  color: var(--teal-800);
}

.account-child-select {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e9f8f8;
}

.account-child-select span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.account-child-select select {
  max-width: 128px;
  border: 0;
  color: var(--teal-900);
  font-weight: 900;
  background: transparent;
}

.account-bar button {
  min-height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  color: var(--teal-900);
  font-size: 13px;
  font-weight: 800;
  background: #e7f5f5;
  cursor: pointer;
}

.account-bar button:last-child {
  color: #8b493f;
  background: #fff0eb;
}

body:not(.auth-pending) .app-shell {
  padding-top: max(68px, calc(env(safe-area-inset-top) + 58px));
}

.auth-pending .app-shell,
.auth-pending .account-bar {
  visibility: hidden;
}

.account-loading-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  gap: 10px;
  place-content: center;
  justify-items: center;
  color: var(--teal-900);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(219, 246, 255, 0.72)),
    url("/game-center/seashell-ui/backgrounds/background-01.png") center / cover;
}

.account-loading-gate[hidden] {
  display: none !important;
}

.account-loading-gate img {
  width: 86px;
  margin-bottom: 8px;
  filter: drop-shadow(0 10px 18px rgba(23, 128, 144, 0.2));
}

.account-loading-gate strong {
  font-size: 22px;
}

.account-loading-gate span {
  color: var(--muted);
  font-size: 14px;
}

.account-loading-gate button {
  min-height: 44px;
  margin-top: 10px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: var(--teal-700);
}

.account-loading-gate.is-error strong {
  color: #a2473b;
}

@media (max-width: 980px) {
  .account-identity {
    display: none;
  }

  .account-bar {
    right: 14px;
  }
}
