:root {
  --blue: #17aef2;
  --deep-blue: #055ab8;
  --cyan: #9ff4ff;
  --yellow: #f5f440;
  --green: #44cf52;
  --ink: #08234a;
  --paper: #f3fbff;
  --shadow: rgba(4, 56, 118, 0.28);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background:
    radial-gradient(circle at 18px 18px, rgba(21, 151, 220, 0.16) 0 3px, transparent 4px) 0 0 / 34px 34px,
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(158, 222, 255, 0.68)),
    #bdeaff;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.26) 2px, transparent 2px) 0 0 / 120px 58px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 2px, transparent 2px) 0 0 / 120px 58px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 70%);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 28px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 0 32px;
  display: grid;
  align-items: center;
  gap: 18px;
}

.hero,
.result-panel {
  border: 4px solid #fff;
  border-radius: 8px;
  background: rgba(239, 251, 255, 0.82);
  box-shadow: 0 18px 36px var(--shadow), inset 0 -8px 0 rgba(23, 174, 242, 0.1);
}

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 86px -60px auto -60px;
  height: 240px;
  background:
    linear-gradient(100deg, transparent 0 16%, rgba(255, 255, 255, 0.88) 16% 18%, transparent 18% 100%),
    linear-gradient(120deg, rgba(21, 174, 242, 0.3), rgba(78, 229, 255, 0.05));
  transform: rotate(-3deg);
}

.hero::after {
  left: -8%;
  right: -8%;
  bottom: -80px;
  height: 220px;
  background: linear-gradient(172deg, transparent 0 30%, #0ec2ee 31% 100%);
}

.brand-bar {
  position: relative;
  z-index: 2;
  height: 92px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 26px;
  background: rgba(217, 243, 255, 0.78);
  border-bottom: 3px solid rgba(23, 174, 242, 0.32);
}

.brand-logo {
  width: 196px;
  max-height: 58px;
  object-fit: contain;
}

.brand-tag {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 0 20px;
  border: 3px solid #fff;
  border-radius: 6px;
  color: #fff;
  font-weight: 900;
  text-shadow: 0 2px 0 #0a53a5;
  background: linear-gradient(#25baf6, #0879d5);
  box-shadow: 0 6px 0 #0758a4;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  min-height: 468px;
  padding: 44px 28px 28px;
}

.hero-copy {
  max-width: 560px;
  align-self: center;
  padding-left: 16px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 7px 14px;
  border: 3px solid var(--ink);
  border-radius: 5px;
  color: var(--ink);
  font-weight: 900;
  background: var(--yellow);
  transform: rotate(-2deg);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.12);
}

h1 {
  margin: 0;
  max-width: 540px;
  color: #fff;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow:
    0 4px 0 var(--deep-blue),
    4px 0 0 var(--deep-blue),
    -4px 0 0 var(--deep-blue),
    0 -4px 0 var(--deep-blue),
    0 10px 18px rgba(0, 55, 123, 0.3);
}

.subtitle {
  max-width: 440px;
  margin: 20px 0 26px;
  color: #11507d;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 700;
}

.action-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

button {
  font: inherit;
  cursor: pointer;
}

.batch-control {
  width: min(360px, 100%);
  margin: -8px 0 22px;
  display: grid;
  grid-template-columns: 1fr 96px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 14px;
  border: 3px solid #fff;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 -4px 0 rgba(23, 174, 242, 0.12);
}

.batch-control span {
  color: #11507d;
  font-weight: 900;
}

.batch-control input {
  width: 100%;
  min-height: 42px;
  border: 3px solid rgba(17, 80, 125, 0.16);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-align: center;
  background: #fff;
  outline: none;
}

.batch-control input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 174, 242, 0.18);
}

.platform-switch {
  width: min(360px, 100%);
  margin: 0 0 22px;
  padding: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  border: 3px solid #fff;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 -4px 0 rgba(23, 174, 242, 0.12);
}

.platform-option {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  color: #11507d;
  font-weight: 900;
  background: transparent;
}

.platform-option.active {
  color: #fff;
  text-shadow: 0 2px 0 #084b94;
  background: linear-gradient(#39bff9, #126fd7);
  box-shadow: 0 5px 0 #0a55a4;
}

.primary-btn,
.secondary-btn,
.copy-line-btn,
.copy-all-btn,
.export-btn {
  border: 3px solid #fff;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.primary-btn {
  position: relative;
  min-width: 218px;
  padding: 14px 28px 15px;
  display: grid;
  text-align: left;
  background: linear-gradient(#66dd43, #119c31);
  box-shadow: 0 8px 0 #0b7627, 0 15px 22px rgba(11, 118, 39, 0.24);
}

.primary-btn::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 24px;
  height: 24px;
  border-right: 6px solid #fff;
  border-bottom: 6px solid #fff;
  transform: translateY(-50%) rotate(-45deg);
}

.primary-btn:disabled {
  cursor: wait;
  filter: grayscale(0.25);
}

.btn-main {
  font-size: 26px;
  line-height: 1;
  text-shadow: 0 2px 0 #086723;
}

.btn-sub {
  margin-top: 4px;
  color: #eaffdb;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.secondary-btn {
  min-height: 56px;
  padding: 0 22px;
  background: linear-gradient(#39bff9, #126fd7);
  box-shadow: 0 7px 0 #0a55a4;
  text-shadow: 0 2px 0 #084b94;
}

.primary-btn:hover,
.secondary-btn:hover,
.copy-line-btn:hover,
.copy-all-btn:hover,
.export-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.poster {
  position: relative;
  min-height: 400px;
}

.poster::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 0;
  bottom: 28px;
  height: 96px;
  border-radius: 50%;
  background: rgba(0, 114, 198, 0.16);
  filter: blur(8px);
}

.rail-scene {
  position: absolute;
  right: 10%;
  bottom: 18px;
  width: min(40vw, 340px);
  height: 330px;
  transform: rotate(-4deg);
}

.rail-scene::before,
.rail-scene::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 28px;
  height: 310px;
  border-radius: 16px;
  background: linear-gradient(#41d4ff, #0282db);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.7);
  transform-origin: bottom;
}

.rail-scene::before {
  transform: translateX(-62px) skewX(-16deg);
}

.rail-scene::after {
  transform: translateX(46px) skewX(16deg);
}

.runner-head,
.runner-body,
.board {
  position: absolute;
  left: 50%;
  z-index: 2;
  filter: drop-shadow(0 14px 16px rgba(6, 67, 122, 0.25));
}

.runner-head {
  top: 48px;
  width: 116px;
  height: 116px;
  border: 6px solid #fff;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 54%, #08234a 0 7px, transparent 8px),
    radial-gradient(circle at 65% 54%, #08234a 0 7px, transparent 8px),
    radial-gradient(circle at 50% 76%, #eb5143 0 15px, transparent 16px),
    linear-gradient(160deg, #ffd3aa 0 64%, #f0a875 65% 100%);
  transform: translateX(-50%);
}

.runner-head::before {
  content: "";
  position: absolute;
  left: -15px;
  top: -24px;
  width: 142px;
  height: 58px;
  border: 5px solid #fff;
  border-radius: 42px 42px 18px 18px;
  background: linear-gradient(110deg, #ed473a 0 45%, #fff 46% 58%, #1cb9f2 59% 100%);
  transform: rotate(-5deg);
}

.runner-body {
  top: 166px;
  width: 128px;
  height: 118px;
  border: 6px solid #fff;
  border-radius: 36px 36px 26px 26px;
  background: linear-gradient(145deg, #24c6ff, #0876d9 64%, #0751b6);
  transform: translateX(-50%) rotate(5deg);
}

.runner-body::before,
.runner-body::after {
  content: "";
  position: absolute;
  top: 34px;
  width: 78px;
  height: 24px;
  border: 5px solid #fff;
  border-radius: 20px;
  background: #f5d047;
}

.runner-body::before {
  left: -66px;
  transform: rotate(25deg);
}

.runner-body::after {
  right: -66px;
  transform: rotate(-25deg);
}

.board {
  bottom: 8px;
  width: 220px;
  height: 58px;
  border: 6px solid #fff;
  border-radius: 50px;
  background: linear-gradient(90deg, #f5f440, #20d9ff 42%, #7b42ff);
  transform: translateX(-50%) rotate(-3deg);
}

.surf-card {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 174px;
  height: 104px;
  border: 5px solid #fff;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 0 rgba(7, 88, 164, 0.22), 0 16px 24px rgba(6, 67, 122, 0.18);
}

.surf-card span {
  font-size: 18px;
}

.surf-card strong {
  margin-top: -10px;
  font-size: 36px;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
}

.card-blue {
  left: 2%;
  top: 54px;
  background:
    radial-gradient(circle at 24px 76px, rgba(245, 244, 64, 0.9) 0 12px, transparent 13px),
    radial-gradient(circle at 138px 28px, rgba(255, 255, 255, 0.4) 0 18px, transparent 19px),
    linear-gradient(135deg, #0fc4fa, #0969d5);
  transform: rotate(-8deg);
}

.card-yellow {
  right: 2%;
  top: 116px;
  color: #133458;
  background:
    radial-gradient(circle at 26px 28px, rgba(255, 255, 255, 0.55) 0 14px, transparent 15px),
    linear-gradient(135deg, #fff45b, #f4b42b);
  transform: rotate(7deg);
}

.card-yellow strong {
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.6);
}

.coin {
  position: absolute;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff89a 0 8px, transparent 9px), #f3c72d;
  box-shadow: 0 6px 0 #c68b14;
}

.coin-one {
  right: 6%;
  top: 36px;
}

.coin-two {
  left: 18%;
  top: 196px;
}

.coin-three {
  right: 34%;
  top: 14px;
}

.result-panel {
  position: relative;
  z-index: 3;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(220, 249, 255, 0.93)),
    var(--paper);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.panel-kicker {
  color: var(--deep-blue);
  font-size: 12px;
  font-weight: 900;
}

h2 {
  margin: 3px 0 0;
  font-size: 28px;
  letter-spacing: 0;
}

.status-pill {
  display: inline-grid;
  place-items: center;
  min-width: 86px;
  min-height: 34px;
  padding: 0 12px;
  border: 3px solid #fff;
  border-radius: 6px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(#39bff9, #126fd7);
  box-shadow: 0 4px 0 #0a55a4;
}

.status-pill.success {
  background: linear-gradient(#66dd43, #119c31);
  box-shadow: 0 4px 0 #0b7627;
}

.status-pill.error {
  background: linear-gradient(#ff7a60, #e33827);
  box-shadow: 0 4px 0 #a72b20;
}

.empty-state {
  min-height: 180px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 20px;
  border: 3px dashed rgba(17, 80, 125, 0.24);
  border-radius: 8px;
  text-align: center;
  color: #28658f;
  font-weight: 800;
}

.empty-state img {
  width: 52px;
  height: 52px;
}

.empty-state p {
  margin: 0;
}

.account-card {
  display: grid;
  gap: 12px;
}

.result-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 3px solid rgba(17, 80, 125, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.result-toolbar span {
  color: #11507d;
  font-weight: 900;
}

.result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.copy-all-btn,
.copy-line-btn,
.export-btn {
  min-height: 38px;
  padding: 0 14px;
  color: #17304f;
  font-weight: 900;
  background: linear-gradient(#fff35b, #efb71f);
  box-shadow: 0 4px 0 #ba8510;
}

.export-btn {
  color: #fff;
  text-shadow: 0 2px 0 #084b94;
  background: linear-gradient(#39bff9, #126fd7);
  box-shadow: 0 4px 0 #0a55a4;
}

.account-list {
  max-height: 420px;
  overflow: auto;
  display: grid;
  gap: 10px;
  padding-right: 4px;
}

.failure-list {
  padding: 12px;
  border: 3px solid rgba(210, 53, 36, 0.18);
  border-radius: 8px;
  color: #a72b20;
  background: rgba(255, 236, 231, 0.9);
}

.failure-list strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 900;
}

.failure-list p {
  margin: 4px 0 0;
  font-weight: 800;
}

.account-item {
  min-width: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: 82px 1fr 1.35fr 1fr auto;
  align-items: center;
  gap: 10px;
  border: 3px solid rgba(17, 80, 125, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 -5px 0 rgba(23, 174, 242, 0.1);
}

.item-title {
  display: grid;
  gap: 4px;
  color: #11507d;
  font-weight: 900;
}

.item-title span {
  color: #317197;
  font-size: 12px;
}

.item-field {
  min-width: 0;
}

.item-field span {
  display: block;
  margin-bottom: 5px;
  color: #317197;
  font-size: 12px;
  font-weight: 900;
}

.item-field strong {
  display: block;
  min-width: 0;
  color: var(--ink);
  font-size: 16px;
  word-break: break-all;
}

.loading {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.loading span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  animation: bounce 0.8s infinite alternate;
}

.loading span:nth-child(2) {
  animation-delay: 0.12s;
  background: var(--yellow);
}

.loading span:nth-child(3) {
  animation-delay: 0.24s;
  background: var(--green);
}

.message {
  min-height: 24px;
  margin: 14px 0 0;
  color: #236487;
  font-weight: 800;
}

.message.error {
  color: #d23524;
}

@keyframes bounce {
  from {
    transform: translateY(8px);
  }
  to {
    transform: translateY(-8px);
  }
}

@media (max-width: 820px) {
  body {
    background:
      radial-gradient(circle at 12px 12px, rgba(21, 151, 220, 0.14) 0 2px, transparent 3px) 0 0 / 24px 24px,
      linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(151, 226, 255, 0.72)),
      #bdeaff;
  }

  .page-shell {
    width: min(460px, calc(100% - 18px));
    align-items: start;
    min-height: auto;
    padding: 9px 0 18px;
    gap: 12px;
  }

  .hero,
  .result-panel {
    border-width: 3px;
    box-shadow: 0 10px 22px rgba(4, 56, 118, 0.2), inset 0 -6px 0 rgba(23, 174, 242, 0.09);
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    inset: 64px -90px auto -90px;
    height: 160px;
  }

  .hero::after {
    bottom: -92px;
    height: 170px;
  }

  .brand-bar {
    height: auto;
    gap: 10px;
    padding: 8px 10px;
  }

  .brand-logo {
    width: 118px;
    max-height: 42px;
  }

  .brand-tag {
    min-height: 30px;
    padding: 0 9px;
    border-width: 2px;
    font-size: 12px;
    box-shadow: 0 4px 0 #0758a4;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 20px 14px 14px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .eyebrow {
    margin-bottom: 9px;
    padding: 5px 10px;
    border-width: 2px;
    font-size: 13px;
  }

  h1 {
    max-width: 340px;
    font-size: 38px;
    line-height: 1.02;
    text-shadow:
      0 3px 0 var(--deep-blue),
      3px 0 0 var(--deep-blue),
      -3px 0 0 var(--deep-blue),
      0 -3px 0 var(--deep-blue),
      0 8px 14px rgba(0, 55, 123, 0.24);
  }

  .subtitle {
    max-width: 340px;
    margin: 14px 0 16px;
    font-size: 14px;
    line-height: 1.55;
  }

  .platform-switch,
  .batch-control {
    width: 100%;
    margin-bottom: 12px;
    border-width: 2px;
  }

  .platform-option {
    min-height: 42px;
  }

  .batch-control {
    grid-template-columns: 1fr 90px;
    padding: 7px 8px 7px 12px;
  }

  .batch-control input {
    min-height: 40px;
    border-width: 2px;
  }

  .action-row {
    display: grid;
    grid-template-columns: 1fr 84px;
    gap: 10px;
  }

  .primary-btn {
    min-width: 0;
    min-height: 58px;
    padding: 12px 52px 12px 18px;
    box-shadow: 0 6px 0 #0b7627, 0 12px 18px rgba(11, 118, 39, 0.18);
  }

  .primary-btn::after {
    right: 17px;
    width: 18px;
    height: 18px;
    border-width: 5px;
  }

  .btn-main {
    font-size: 23px;
  }

  .secondary-btn {
    min-height: 58px;
    padding: 0 12px;
    box-shadow: 0 6px 0 #0a55a4;
  }

  .poster {
    min-height: 138px;
    margin: -2px 0 0;
    overflow: hidden;
  }

  .rail-scene {
    right: 6%;
    bottom: -88px;
    width: 210px;
    height: 226px;
    opacity: 0.9;
  }

  .surf-card {
    width: 104px;
    height: 62px;
    border-width: 3px;
    box-shadow: 0 6px 0 rgba(7, 88, 164, 0.18), 0 10px 18px rgba(6, 67, 122, 0.14);
  }

  .surf-card span {
    font-size: 12px;
  }

  .surf-card strong {
    margin-top: -8px;
    font-size: 22px;
  }

  .card-blue {
    left: 6px;
    top: 18px;
  }

  .card-yellow {
    right: 10px;
    top: 48px;
  }

  .coin {
    width: 24px;
    height: 24px;
    border-width: 3px;
  }

  .coin-one {
    right: 24%;
    top: 12px;
  }

  .coin-two {
    left: 43%;
    top: 88px;
  }

  .coin-three {
    right: 5%;
    top: 12px;
  }

  .runner-head,
  .runner-body {
    display: none;
  }

  .rail-scene::before,
  .rail-scene::after {
    width: 18px;
    height: 210px;
  }

  .rail-scene::before {
    transform: translateX(-42px) skewX(-16deg);
  }

  .rail-scene::after {
    transform: translateX(31px) skewX(16deg);
  }

  .board {
    bottom: 92px;
    width: 132px;
    height: 34px;
    border-width: 4px;
  }

  .result-panel {
    padding: 14px;
  }

  .panel-heading {
    margin-bottom: 12px;
  }

  h2 {
    font-size: 23px;
  }

  .status-pill {
    min-width: 72px;
    min-height: 30px;
    padding: 0 9px;
    border-width: 2px;
    font-size: 13px;
    box-shadow: 0 3px 0 #0a55a4;
  }

  .empty-state,
  .loading {
    min-height: 132px;
  }

  .empty-state {
    padding: 16px;
    border-width: 2px;
    font-size: 14px;
  }

  .result-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border-width: 2px;
  }

  .result-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .copy-all-btn,
  .export-btn {
    width: 100%;
    min-height: 42px;
    padding: 0 8px;
    font-size: 14px;
  }

  .account-list {
    max-height: min(52vh, 520px);
    overflow: auto;
    padding-right: 0;
    gap: 8px;
  }

  .account-item {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
    padding: 10px;
    border-width: 2px;
  }

  .item-title,
  .item-field {
    grid-column: auto;
  }

  .item-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(17, 80, 125, 0.12);
  }

  .item-field {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: baseline;
    gap: 8px;
  }

  .item-field span {
    margin-bottom: 0;
  }

  .item-field strong {
    font-size: 15px;
  }

  .copy-line-btn {
    width: 100%;
    min-height: 40px;
  }

  .failure-list {
    border-width: 2px;
    font-size: 13px;
  }

  .message {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 34px;
  }

  .page-shell {
    width: calc(100% - 14px);
    padding-top: 7px;
  }

  .brand-logo {
    width: 104px;
  }

  .brand-tag {
    font-size: 11px;
  }

  .hero-grid {
    padding: 17px 11px 12px;
  }

  .subtitle {
    font-size: 13px;
  }

  .batch-control {
    grid-template-columns: 1fr 78px;
  }

  .action-row {
    grid-template-columns: 1fr 72px;
  }

  .secondary-btn {
    font-size: 14px;
  }

  .poster {
    min-height: 118px;
  }

  .result-actions {
    grid-template-columns: 1fr;
  }

  .account-list {
    max-height: min(50vh, 460px);
  }
}

@media (max-width: 320px) {
  .brand-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .platform-switch {
    grid-template-columns: 1fr;
  }

  .batch-control {
    grid-template-columns: 1fr;
  }

  .batch-control input {
    text-align: left;
    padding-left: 12px;
  }

  .action-row {
    grid-template-columns: 1fr;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .primary-btn {
    min-height: 62px;
  }

  .poster {
    min-height: 92px;
  }

  .rail-scene,
  .coin {
    display: none;
  }

  .surf-card {
    position: relative;
    width: 100%;
    height: 52px;
    transform: none;
  }

  .poster {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .card-blue,
  .card-yellow {
    left: auto;
    right: auto;
    top: auto;
  }
}
