:root {
  --phone-width: min(100vw, 480px);
  --pink: #e74378;
  --hot-pink: #df2f85;
  --orange: #f6a43e;
  --ink: #151a22;
  --soft: #8f969f;
  --bg: #f6f7fb;
  --line: #e9ebef;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
  font-family: var(--font);
  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, #f7f8fb, #e9edf5);
  color: var(--ink);
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(231, 67, 120, .14);
}

.app {
  width: var(--phone-width);
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  box-shadow: 0 24px 70px rgba(24, 29, 43, .18);
}

.screen {
  display: none;
  min-height: 100vh;
  position: relative;
}

.screen.active { display: block; }

.pink-bg,
.warm-bg {
  position: absolute;
  inset: 0 0 auto;
  height: 430px;
  pointer-events: none;
}

.pink-bg {
  background:
    radial-gradient(circle at 28% 14%, rgba(255,255,255,.16) 0 58px, transparent 59px),
    repeating-linear-gradient(120deg, rgba(255,255,255,.07) 0 2px, transparent 2px 18px),
    linear-gradient(165deg, #e73991 0%, #f26086 55%, #f6f7fb 100%);
}

.warm-bg {
  height: 360px;
  background: linear-gradient(180deg, #f3a16c 0%, #f4c39e 60%, #f6f7fb 100%);
}

.showtime-countdown {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 122px;
  padding: 8px 8px 18px;
  color: rgba(255, 255, 255, .92);
  text-align: center;
}

.showtime-countdown strong {
  display: block;
  margin-bottom: 18px;
  font-size: 25px;
  line-height: 1.1;
  font-weight: 700;
}

.showtime-countdown span {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: 1.35;
}

.home-screen,
.tickets-screen,
.pickup-screen {
  padding: 18px 16px 110px;
}

.hero-card,
.vip-panel,
.movie-section,
.stub-banner,
.ticket-item,
.pickup-summary,
.code-card,
.benefits,
.debug-form,
.debug-ticket {
  background: #fff;
  border-radius: 16px;
}

.hero-card {
  position: relative;
  z-index: 1;
  min-height: 215px;
  padding: 24px 22px;
  overflow: hidden;
  background: linear-gradient(105deg, #fff4e8, #fff8ef 58%, #ffe6d1);
}

.hero-card h1 {
  max-width: 360px;
  margin: 0 0 12px;
  color: #dd6849;
  font-size: 25px;
  line-height: 1.18;
  font-weight: 800;
}

.hero-card p {
  margin: 0;
  color: #b65f45;
  font-size: 22px;
  font-weight: 700;
}

.hero-card span {
  display: inline-flex;
  align-items: center;
  height: 32px;
  margin-top: 14px;
  padding: 0 22px;
  border-radius: 999px;
  background: #df6449;
  color: #fff;
  font-weight: 700;
}

.mascot {
  position: absolute;
  right: 26px;
  top: 60px;
  display: grid;
  place-items: center;
  width: 82px;
  height: 76px;
  border-radius: 22px;
  background: #f4842b;
  color: #ffe34f;
  font-size: 34px;
  font-weight: 900;
  transform: rotate(-8deg);
}

.mascot::before,
.mascot::after {
  content: "";
  position: absolute;
  top: -23px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 8px 0 #10131a;
}

.mascot::before { left: 10px; }
.mascot::after { right: 10px; }

.vip-panel {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 16px;
}

.vip-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.vip-title b {
  padding: 4px 7px;
  border-radius: 5px;
  background: #e96c5e;
  color: #fff;
  font-size: 14px;
}

.vip-title strong { font-size: 23px; }
.vip-title span { color: var(--soft); font-size: 16px; }

.coupon-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.coupon-row article {
  position: relative;
  min-height: 108px;
  padding: 16px 14px 14px;
  border-radius: 9px;
  overflow: hidden;
}

.coupon-row article:first-child { background: #fff1f6; }
.coupon-row article:last-child { background: #fff3d2; }

.coupon-row h2 {
  margin: 0;
  max-width: 82px;
  font-size: 18px;
  line-height: 1.18;
  white-space: nowrap;
}

.coupon-row strong {
  position: absolute;
  right: 10px;
  top: 16px;
  color: #df3f75;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
}

.coupon-row p {
  margin: 18px 0 0;
  max-width: 88px;
  color: var(--soft);
  font-size: 13px;
  white-space: nowrap;
}

.coupon-row button {
  position: absolute;
  right: 10px;
  bottom: 14px;
  height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #de1f93, #f04769);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.deal-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 12px 0 14px;
}

.deal-strip article {
  position: relative;
  height: 64px;
  padding: 11px 50px 10px 12px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.deal-strip span,
.deal-strip small {
  display: block;
  position: relative;
  z-index: 1;
}

.deal-strip span {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.16;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deal-strip small {
  color: var(--soft);
  font-size: 13px;
  white-space: nowrap;
}

.deal-strip img {
  position: absolute;
  right: 0;
  top: 0;
  width: 48px;
  height: 64px;
  object-fit: cover;
}

.movie-section {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 18px 0 22px 16px;
  overflow: hidden;
}

.movie-section header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 16px;
  margin-bottom: 18px;
}

.movie-section h2 {
  margin: 0;
  font-size: 24px;
}

.movie-section header span {
  color: var(--soft);
  font-size: 22px;
  font-weight: 700;
}

.movie-section header button {
  margin-left: auto;
  background: transparent;
  color: var(--soft);
  font-size: 16px;
}

.movie-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 2px 0;
  scrollbar-width: none;
}

.movie-rail::-webkit-scrollbar { display: none; }

.movie-card-real {
  flex: 0 0 94px;
}

.movie-card-real img {
  width: 94px;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
  background: #dfe4ea;
}

.movie-card-real h3 {
  margin: 9px 0 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 17px;
  font-weight: 500;
}

.movie-card-real button {
  width: 70px;
  height: 34px;
  border-radius: 999px;
  background: var(--hot-pink);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.coming .movie-card-real button {
  background: #f5a43d;
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: var(--phone-width);
  height: 76px;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  transform: translateX(-50%);
}

.tabbar button {
  display: grid;
  place-items: center;
  gap: 2px;
  background: transparent;
  color: #8d929c;
  font-size: 14px;
}

.tabbar i {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  font-style: normal;
  font-size: 0;
  line-height: 1;
}

.tabbar i::before,
.tabbar i::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.tabbar button:nth-child(1) i::before {
  left: 5px;
  top: 5px;
  width: 18px;
  height: 18px;
  border: 3px solid currentColor;
  border-right: 0;
  border-bottom: 0;
  border-radius: 3px;
  transform: rotate(45deg);
}

.tabbar button:nth-child(1) i::after {
  left: 7px;
  bottom: 3px;
  width: 14px;
  height: 13px;
  border: 3px solid currentColor;
  border-top: 0;
  border-radius: 0 0 4px 4px;
}

.tabbar button:nth-child(2) i::before {
  left: 3px;
  top: 5px;
  width: 22px;
  height: 17px;
  border: 3px solid currentColor;
  border-radius: 4px;
}

.tabbar button:nth-child(2) i::after {
  left: 8px;
  bottom: 2px;
  width: 12px;
  height: 7px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  border-radius: 0 0 3px 3px;
}

.tabbar button:nth-child(3) i::before {
  left: 4px;
  top: 3px;
  width: 20px;
  height: 20px;
  border: 3px solid currentColor;
  border-radius: 6px;
  transform: rotate(45deg);
}

.tabbar button:nth-child(3) i::after {
  left: 9px;
  top: 8px;
  width: 10px;
  height: 8px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg);
}

.tabbar button:nth-child(4) i::before {
  left: 9px;
  top: 4px;
  width: 10px;
  height: 10px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.tabbar button:nth-child(4) i::after {
  left: 5px;
  bottom: 3px;
  width: 18px;
  height: 11px;
  border: 3px solid currentColor;
  border-radius: 12px 12px 5px 5px;
}

.tabbar .active {
  color: var(--pink);
}

.profile-screen {
  padding-bottom: 92px;
  background: #fff;
}

.profile-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 255px;
  padding: 54px 54px 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #ef6578, #eb5870);
  color: #fff;
}

.profile-hero::after {
  content: "";
  position: absolute;
  right: 80px;
  top: 36px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  opacity: .15;
  background: repeating-linear-gradient(115deg, #fff 0 4px, transparent 4px 14px);
}

.profile-hero img {
  width: 126px;
  height: 126px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-hero strong {
  font-size: 30px;
}

.profile-list {
  padding: 28px 22px 0;
}

.profile-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 73px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: #111;
  text-align: left;
}

.profile-list span {
  font-size: 24px;
}

.profile-list em {
  color: #989ca3;
  font-size: 20px;
  font-style: normal;
}

.tickets-screen {
  background: var(--bg);
}

.stub-banner {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  padding: 0 18px 0 0;
  border-radius: 16px;
  background: linear-gradient(90deg, #fff2de, #fff7ec);
  color: #3b2519;
  text-align: left;
}

.stub-banner .wheat {
  align-self: stretch;
  display: grid;
  place-items: center;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(135deg, #e59a72, #f8d7b4);
  color: #fff9ec;
  font-size: 36px;
}

.stub-banner strong {
  font-size: 22px;
}

.stub-banner em {
  color: #3c2d28;
  font-size: 19px;
  font-style: normal;
}

.ticket-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.ticket-list.empty {
  place-items: center;
  min-height: 240px;
  border-radius: 16px;
  background: #fff;
  color: var(--soft);
  font-size: 18px;
}

.ticket-item {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  min-height: 272px;
  padding: 20px 18px 18px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, .03);
}

.ticket-item::after {
  content: "已放映";
  position: absolute;
  top: 20px;
  right: 18px;
  color: #d94a75;
  font-size: 17px;
  font-weight: 700;
}

.cinema-line {
  grid-column: 1 / -1;
  max-width: 70%;
  color: #858c95;
  font-size: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-poster {
  width: 84px;
  height: 116px;
  border-radius: 7px;
  object-fit: cover;
}

.movie-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.ticket-meta {
  color: #868d96;
  font-size: 19px;
  line-height: 1.42;
}

.stub-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, #fffaf0, #fff);
  color: #4a3629;
  font-size: 17px;
}

.stub-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 7px;
  border: 1px solid #e7c488;
  border-radius: 4px;
  color: #d49133;
  font-weight: 700;
}

.ticket-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: #8e949c;
  font-size: 18px;
}

.ticket-price {
  color: #0e1320;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .2px;
}

.cinema-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px 32px;
  column-gap: 12px;
  align-items: center;
  height: 64px;
  padding: 0 18px;
  border-radius: 15px 15px 0 0;
  background: rgba(255,255,255,.9);
}

.cinema-header button {
  background: transparent;
  text-align: left;
  color: var(--ink);
  font-size: 24px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.header-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #070c18;
}

.phone-mark::before {
  content: "☎";
  font-size: 26px;
  line-height: 1;
}

.pin-mark::before {
  content: "";
  width: 23px;
  height: 23px;
  border-radius: 50% 50% 50% 0;
  background: #070c18;
  transform: rotate(-45deg);
}

.pin-mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.pickup-summary {
  position: relative;
  z-index: 1;
  min-height: 196px;
  padding: 26px 126px 28px 18px;
  border-radius: 0 0 15px 15px;
}

.pickup-summary h2 {
  margin: 0 0 9px;
  font-size: 24px;
  font-weight: 500;
}

.pickup-summary p {
  margin: 0 0 22px;
  color: #525963;
  font-size: 20px;
}

.pickup-summary .rows {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 9px;
  max-width: 100%;
  font-size: 21px;
  line-height: 1.25;
  align-items: start;
}

.pickup-summary .rows span {
  min-width: 0;
  height: 28px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pickup-summary .rows span:nth-child(2n) {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pickup-summary .rows span b {
  display: inline-block;
  min-width: 100%;
  font-weight: 400;
}

.pickup-summary .rows span.scrolling b {
  min-width: max-content;
  padding-right: 28px;
  animation: marqueeText 9s linear 1.2s infinite;
}

.pickup-summary .rows span.scrolling:hover b {
  animation-play-state: paused;
}

.pickup-summary img {
  position: absolute;
  right: 20px;
  top: 38px;
  width: 88px;
  height: 126px;
  border-radius: 9px;
  object-fit: cover;
}

@keyframes marqueeText {
  0%, 24% {
    transform: translateX(0);
  }
  82%, 100% {
    transform: translateX(calc(-1 * var(--marquee-distance, 0px)));
  }
}

.code-card {
  margin-top: 14px;
  padding: 24px 18px 30px;
}

.code-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  align-items: start;
  margin-bottom: 24px;
}

.code-tabs strong,
.code-tabs span {
  font-size: 24px;
}

.code-tabs span {
  color: #9096a0;
}

.code-tabs strong::after {
  content: "";
  display: block;
  width: 42px;
  height: 5px;
  margin: 10px auto 0 14px;
  border-radius: 99px;
  background: var(--pink);
}

.qr {
  width: 230px;
  height: 230px;
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(var(--qr-modules, 33), 1fr);
  border-radius: 2px;
  background: #fff;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.qr i {
  display: block;
  aspect-ratio: 1;
}

.qr i.dark {
  background: #000;
}

.code-card p {
  margin: 0 0 16px;
  color: #9298a2;
  text-align: center;
  font-size: 18px;
}

.ticket-code {
  width: fit-content;
  margin: 0 auto;
  padding: 12px 26px;
  border: 1px solid #e1e4e8;
  border-radius: 10px;
  color: #9ba1aa;
  font-size: 21px;
}

.ticket-code strong {
  margin-left: 10px;
  color: var(--ink);
}

.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
  padding: 22px 16px;
  gap: 20px 12px;
}

.benefits h2 {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  font-size: 24px;
}

.benefits div {
  display: grid;
  grid-template-columns: 1fr 54px;
  align-items: center;
}

.benefits b,
.benefits em {
  display: block;
}

.benefits b { font-size: 19px; }
.benefits em {
  color: #9aa0a8;
  font-size: 16px;
  font-style: normal;
}

.benefits i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #191a1d;
  color: #ffd9b6;
  font-style: normal;
  font-weight: 800;
}

.snack-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 70px;
  margin-top: 14px;
  padding: 0 22px;
  border-radius: 12px;
  background: linear-gradient(90deg, #f87554, #ef4f58);
  color: #fff;
  box-shadow: 0 14px 28px rgba(238, 81, 75, .32);
  font-size: 19px;
  font-weight: 800;
}

.debug-screen {
  padding: 0 18px 28px;
}

.debug-header {
  position: sticky;
  top: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: 44px 1fr 60px;
  align-items: center;
  height: 70px;
  margin: 0 -18px 14px;
  padding: 8px 16px;
  background: rgba(246,247,251,.94);
  backdrop-filter: blur(16px);
}

.debug-header h1 {
  margin: 0;
  text-align: center;
  font-size: 20px;
}

.icon-button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: #111827;
  font-size: 30px;
  line-height: 1;
}

.text-button {
  background: transparent;
  color: var(--pink);
  font-weight: 700;
}

.debug-form {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.debug-form label {
  display: grid;
  gap: 7px;
  color: #69717c;
  font-size: 13px;
}

.debug-form input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fbfcfd;
  color: #111827;
}

.poster-picker input[type="file"] {
  padding: 9px 12px;
  height: auto;
}

.movie-pick-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #edf0f4;
  border-radius: 12px;
  background: #fbfcfd;
}

.movie-pick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.movie-pick-head span {
  color: #374151;
  font-size: 13px;
  font-weight: 700;
}

.movie-pick-head .small-button {
  width: 82px;
  height: 32px;
  font-size: 12px;
}

.movie-pick-panel p {
  margin: 0;
  color: #8b929c;
  font-size: 12px;
  line-height: 1.45;
}

.movie-pick-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.movie-pick-list::-webkit-scrollbar {
  display: none;
}

.movie-pick-card {
  flex: 0 0 82px;
  display: grid;
  gap: 6px;
  padding: 0;
  background: transparent;
  color: #111827;
  text-align: left;
}

.movie-pick-card img {
  width: 82px;
  height: 116px;
  border: 2px solid transparent;
  border-radius: 8px;
  object-fit: cover;
  background: #e5e7eb;
}

.movie-pick-card.selected img {
  border-color: var(--pink);
}

.movie-pick-card span,
.movie-pick-card em {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.movie-pick-card span {
  font-size: 12px;
  font-weight: 700;
}

.movie-pick-card em {
  color: #8b929c;
  font-size: 11px;
  font-style: normal;
}

.poster-match {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #edf0f4;
  border-radius: 12px;
  background: #fbfcfd;
}

.poster-match p {
  margin: 0;
  color: #8b929c;
  font-size: 12px;
  line-height: 1.45;
}

.poster-match .ghost-button {
  width: 120px;
}

.poster-match .wide-button {
  width: 150px;
}

.quota-panel {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
}

.quota-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
}

.quota-head label {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
}

.quota-head input {
  width: 78px;
  height: 30px;
  padding: 0 8px;
}

.quota-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef1f5;
}

.quota-track i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #36c5a5, #f4b642);
  transition: width .2s ease, background .2s ease;
}

.quota-track i.danger {
  background: linear-gradient(90deg, #f97316, #ef4444);
}

.poster-results {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.poster-results::-webkit-scrollbar {
  display: none;
}

.poster-choice {
  flex: 0 0 82px;
  display: grid;
  gap: 6px;
  padding: 0;
  background: transparent;
  color: #111827;
  text-align: left;
}

.poster-choice img {
  width: 82px;
  height: 120px;
  border: 2px solid transparent;
  border-radius: 8px;
  object-fit: cover;
  background: #e5e7eb;
}

.poster-choice.selected img {
  border-color: var(--pink);
}

.poster-choice span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
}

.field-grid,
.form-actions,
.debug-ticket-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.primary-button,
.ghost-button,
.danger-button,
.small-button {
  height: 42px;
  border-radius: 999px;
  font-weight: 700;
}

.primary-button {
  background: var(--pink);
  color: #fff;
}

.ghost-button,
.small-button {
  background: #f1f3f6;
  color: #374151;
}

.danger-button {
  background: #fff0f3;
  color: #d7355f;
}

.debug-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.qa-agent-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.qa-agent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.qa-agent-head span {
  font-size: 16px;
  font-weight: 800;
}

.qa-agent-panel p {
  margin: 0;
  color: #8b929c;
  font-size: 12px;
  line-height: 1.45;
}

.qa-agent-panel ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qa-agent-panel li {
  padding: 8px 10px;
  border-radius: 9px;
  background: #f6f7fb;
  color: #374151;
  font-size: 12px;
}

.qa-agent-panel li.pass {
  background: #ecfdf5;
  color: #047857;
}

.qa-agent-panel li.fail {
  background: #fff1f2;
  color: #be123c;
}

.debug-ticket {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 14px;
}

.debug-ticket img {
  width: 64px;
  height: 88px;
  border-radius: 8px;
  object-fit: cover;
}

.debug-ticket h2 {
  margin: 0 0 6px;
  font-size: 16px;
}

.debug-ticket p {
  margin: 0 0 8px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
}

.debug-ticket-actions {
  grid-column: 1 / -1;
}

@media (min-width: 481px) {
  body {
    align-items: flex-start;
    padding: 24px 0;
  }

  .app {
    min-height: auto;
    border-radius: 28px;
    overflow: hidden;
  }
}

@media (max-width: 390px) {
  .pickup-summary {
    min-height: 260px;
    padding-right: 18px;
  }

  .pickup-summary .rows {
    margin-top: 70px;
    grid-template-columns: 124px minmax(0, 1fr);
    column-gap: 8px;
    font-size: 19px;
  }

  .pickup-summary .rows span:nth-child(2n) {
    height: 28px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pickup-summary img {
    right: 16px;
    width: 78px;
    height: 112px;
  }

  .vip-title strong {
    font-size: 21px;
  }

  .vip-title span {
    font-size: 14px;
  }

  .movie-section h2 {
    font-size: 22px;
  }

  .movie-section header span {
    font-size: 20px;
  }

  .movie-card-real h3 {
    font-size: 15px;
  }
}
