@property --translate-x { syntax: "<length-percentage>"; inherits: false; initial-value: 0px; }
@property --translate-y { syntax: "<length-percentage>"; inherits: false; initial-value: 0px; }
@property --skew-x { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --skew-y { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --scale-x { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --scale-y { syntax: "<number>"; inherits: false; initial-value: 1; }

:root {
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #232124;
  background: #eae8f1;
  --purple: #7854fc;
  --mint: #3cfde0;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
p, h1, h2, h3, dl, dd { margin: 0; }
img { vertical-align: middle; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, [role="button"]:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #7854fc;
  outline-offset: 2px;
}
.app-shell {
  position: relative;
  width: min(100%, 420px);
  height: 100vh;
  height: 100dvh;
  margin-inline: auto;
  isolation: isolate;
  background: #f6f6f6;
  overflow: hidden;
}
#viewport { width: 100%; height: 100%; overflow: hidden auto; scrollbar-width: none; }
#viewport::-webkit-scrollbar, .home-poster-strip::-webkit-scrollbar { display: none; }
#screen { width: 375px; zoom: var(--app-scale, 1); }
#screen > div { width: 375px; height: var(--screen-height, 812px); position: relative; overflow: hidden; }
#fixed-controls {
  pointer-events: none;
  position: absolute;
  width: 375px;
  height: 812px;
  bottom: 0;
  left: 0;
  zoom: var(--app-scale, 1);
}
#fixed-controls > * { pointer-events: none; }
#fixed-controls [role="button"], #fixed-controls button { pointer-events: auto; }
.device-indicator {
  width: 134px;
  height: 5px;
  border-radius: 5px;
  position: absolute;
  left: 50%;
  bottom: 1px;
  translate: -50%;
  background: #111;
  pointer-events: none;
}
[data-name="原点指示器"] { display: none !important; }
[role="button"] { cursor: pointer; }
[role="button"][aria-pressed="true"] { filter: saturate(1.35); }
#notice {
  position: fixed;
  z-index: 10;
  left: 50%;
  bottom: 105px;
  translate: -50%;
  width: max-content;
  max-width: 86vw;
  background: #232124;
  color: white;
  padding: 10px 15px;
  border-radius: 9px;
  font-size: 13px;
}
.figma-part { position: absolute; }
.frame { background: #f6f6f6; }
.figma-title { font-size: 18px; font-weight: 700; text-align: center; }
.flat, .home-header button, .home-content button, .profile-tabs button, .profile-cards button {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}
.purple, .home-content button.purple {
  border: 0;
  border-radius: 20px;
  background: var(--purple);
  color: white;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
}
.home-header {
  position: absolute;
  top: 49px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.home-header h1 { font-size: 27px; font-weight: 900; }
.home-header form { display: flex; gap: 5px; border: 1.5px solid #232124; border-radius: 7px; background: white; padding: 3px; width: 230px; }
.home-header input, .search-field { border: 0; padding: 0 5px; min-width: 0; background: transparent; font-size: 12px; }
.home-header input { flex: 1; }
.search-field::placeholder, .home-header input::placeholder { color: #b7b7b7; opacity: 1; }
.home-header button { border-radius: 5px; background: var(--purple); color: white; padding: 2px 9px; font-weight: 800; }
.home-content { position: absolute; top: 95px; left: 12px; right: 12px; display: grid; gap: 12px; }
.merch-banner { height: 69px; overflow: hidden; display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; border-radius: 8px; background: #dfd7f7; color: #8b61ff; }
.merch-banner strong { font-weight: 900; font-size: 26px; line-height: 1; }
.merch-banner p { font-weight: 800; font-size: 13px; }
.merch-banner button.purple { padding: 2px 5px; font-size: 8px; }
.merch-posters { display: flex; gap: 7px; align-items: center; }
.merch-posters img { width: 50px; height: 52px; border-radius: 10px; object-fit: cover; }
.merch-posters img:first-child { rotate: -12deg; }
.merch-posters img:last-child { rotate: 11deg; }
.home-shortcuts { height: 97px; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; padding: 7px 0 14px; border-radius: 9px; background: white; }
.home-shortcuts button { display: grid; justify-items: center; align-content: center; gap: 8px; font-size: 10px; font-weight: 700; }
.home-shortcuts span { width: 45px; height: 42px; display: grid; place-items: center; rotate: -10deg; border-radius: 13px; font-size: 29px; line-height: 1; background: #ede6ff; color: #4423a5; text-shadow: 2px 2px #3cfde0; }
.home-shortcuts i { position: absolute; width: 38px; height: 3px; bottom: 5px; left: calc(50% - 19px); border-radius: 3px; background: linear-gradient(90deg, var(--purple) 35%, #e9e9e9 35%); }
.home-panel { border-radius: 12px; background: white; padding: 10px 9px; overflow: hidden; }
.home-panel header { display: flex; align-items: baseline; gap: 13px; margin-bottom: 10px; white-space: nowrap; }
.home-panel h2 { font-size: 17px; font-weight: 900; }
.home-panel header button { font-size: 12px; color: #939196; }
.home-panel button.end { margin-left: auto; color: #b5b5b5; }
.home-poster-strip { display: flex; gap: 7px; overflow: auto hidden; scrollbar-width: none; }
.home-poster { flex: 0 0 69px; width: 69px; font-size: 11px; }
.home-poster > button:first-child { position: relative; display: block; }
.home-poster img { display: block; width: 69px; height: 91px; border-radius: 7px; object-fit: cover; }
.home-poster b { position: absolute; bottom: 2px; left: 4px; color: white; text-shadow: 0 1px 4px black; }
.home-poster small { font-size: 7px; }
.home-poster p { min-height: 30px; margin-bottom: 3px; }
.home-tickets { display: grid; grid-template-columns: 1.75fr 1fr 1fr; gap: 10px; height: 118px; }
.home-tickets article { position: relative; padding: 8px; overflow: hidden; border-radius: 8px; background: linear-gradient(#efe9ff, white); box-shadow: inset 0 0 0 2px white; }
.home-tickets article:nth-child(2) { background: linear-gradient(#d0f5eb, white); text-align: center; }
.home-tickets article:nth-child(3) { text-align: center; }
.home-tickets h3 { font-size: 13px; margin-bottom: 4px; }
.home-tickets img { width: 48px; height: 65px; object-fit: cover; border-radius: 6px; }
.home-tickets article:first-child img { float: left; margin-right: 7px; }
.home-tickets article p { font-size: 12px; }
.home-tickets article small { color: var(--purple); font-size: 9px; }
.home-tickets article button { font-size: 10px; margin-top: 4px; }
.home-chart > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.home-chart img { width: 100%; height: 105px; object-fit: cover; border-radius: 7px; }
.profile-gradient { position: absolute; inset: 0 0 auto; height: 300px; background: radial-gradient(circle at 8px 8px, #bbaaef55 3px, transparent 4px) 0 0 / 14px 14px, linear-gradient(#c8b7fc, #f6f6f6); }
.profile-top, .profile-hero, .profile-card { position: relative; margin-inline: 16px; }
.profile-top { padding-top: 48px; display: flex; justify-content: space-between; }
.profile-hero { display: flex; align-items: center; gap: 13px; margin-top: 42px; margin-bottom: 27px; }
.profile-avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: white; background: var(--purple); font-size: 26px; font-weight: 900; }
.profile-hero h1, .profile-card h2 { font-size: 16px; }
.profile-hero p, .profile-hero button { color: #68636e; font-size: 11px; }
.profile-card { padding: 12px; margin-bottom: 12px; background: white; border-radius: 9px; }
.profile-history { display: flex; gap: 10px; margin-top: 10px; align-items: center; font-size: 12px; }
.profile-history img { width: 54px; border-radius: 5px; }
.profile-history p { margin: 5px 0; }
.profile-tabs { display: flex; gap: 13px; font-size: 12px; margin: 10px 0; }
.profile-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.profile-cards img { width: 100%; border-radius: 7px; }
.profile-nav { display: contents; }
.checkout-card, .checkout-footer, .success-ticket { background: white; border-radius: 8px; }
.checkout-card { display: grid; align-content: space-evenly; height: 100%; padding: 10px 12px; font-size: 13px; }
.checkout-card small { color: #454148; }
.checkout-card p, .checkout-card div span { color: #959496; font-size: 11px; }
.checkout-card div { display: flex; justify-content: space-between; }
.checkout-card em, .checkout-card strong { color: var(--purple); }
.checkout-card em { border: 1px solid #c9baff; padding: 1px 3px; font-size: 10px; font-style: normal; }
.checkout-card input { border: 0; width: 140px; }
.ticket-promises { display: flex; justify-content: space-around; font-size: 11px; border-top: 1px solid #f6f6f6; padding-top: 8px; }
.checkout-notice { color: #959496; font-size: 11px; line-height: 1.6; }
.checkout-footer { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 22px 0 20px; border-radius: 0; font-size: 13px; }
.checkout-footer b { color: var(--purple); font-size: 23px; }
.checkout-footer button { background: var(--mint); border: 0; border-radius: 12px; padding: 12px 20px; font-weight: 700; }
.success-ticket { display: grid; grid-template-columns: 58% 42%; height: 100%; padding: 16px 14px; }
.success-ticket > div { padding-right: 20px; border-right: 4px dotted #eeeafa; }
.success-ticket img { display: block; width: 100%; height: 210px; border-radius: 8px; object-fit: cover; }
.success-ticket b { display: block; margin-top: 8px; font-size: 12px; }
.success-ticket dl { padding-left: 20px; font-size: 12px; }
.success-ticket dt { color: #a1a1a1; margin-bottom: 3px; }
.success-ticket dd { margin-bottom: 14px; }
.simple-header { position: absolute; inset: 48px 16px auto; text-align: center; }
.simple-header h1 { font-size: 18px; }
.simple-header button { position: absolute; left: 0; font-size: 20px; }
.shop-grid { position: absolute; inset: 94px 16px auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shop-grid article { border-radius: 8px; overflow: hidden; background: white; }
.shop-grid img { width: 100%; height: 190px; object-fit: cover; }
.shop-grid h2, .shop-grid p { padding: 5px; font-size: 13px; }
.assistant-content { position: absolute; inset: 96px 16px auto; }
.assistant-content p { padding: 10px 12px; background: white; border-radius: 9px; margin-bottom: 8px; }
.assistant-content form { display: flex; gap: 6px; margin-top: 12px; }
.assistant-content input { flex: 1; border: 1px solid #ddd; border-radius: 6px; padding: 8px; min-width: 0; }
.assistant-content button { border: 0; padding: 6px 12px; border-radius: 6px; background: var(--purple); color: white; }
.interactive-field { display: block; padding: 0; border: 0; color: inherit; background: transparent; resize: none; }
.selection-ring { outline: 2px solid var(--purple); outline-offset: 1px; }
.performance-tabbar { position: absolute; left: 16px; right: 16px; display: flex; gap: 3px; z-index: 1; }
.performance-tabbar button { flex: 1; padding: 5px 0; border: 0; border-radius: 5px; background: #f6f2ff; font-size: 9px; color: #48358b; }
.performance-tabbar button[aria-current] { background: var(--purple); color: white; }
.review-title { width: 100%; font-size: 17px; }
.review-body { width: 300px; height: 44px; font-size: 14px; }
.community-publish, .local-post {
  position: absolute;
  left: 0;
  top: 624px;
  border: 0;
  color: white;
  background: #232124;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 8px;
}
.local-post { top: 802px; left: 16px; border-radius: 6px; background: var(--purple); }
.local-post-body { position: absolute; top: 688px; left: 16px; right: 16px; border-radius: 8px; background: white; padding: 12px; font-size: 13px; }
.seat-button {
  position: absolute;
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.seat-button[aria-pressed="true"] { outline: 2px solid #30284a; }
.ticket-stepper { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.ticket-stepper button { border: 1px solid #ddd; border-radius: 5px; background: white; width: 24px; height: 23px; }
.profile-tabs [aria-pressed="true"] { color: var(--purple); font-weight: 700; }
.nav-hit-area, .shortcut-hit-area {
  position: absolute;
  border: 0;
  border-radius: 10px;
  background: transparent;
}
.nav-hit-area { width: 58px; height: 58px; }
.shortcut-hit-area { top: 100px; width: 71px; height: 89px; }
.community-frame [data-node-id="1:2787"],
.community-frame [data-node-id="1:2788"] { white-space: nowrap; }
.community-frame [data-node-id="1:2728"] > div,
.community-frame [data-node-id="1:2728"] > div > div { width: 100%; height: 100%; rotate: none; border-radius: 8px 8px 0 0; }
.community-frame [data-node-id="1:2728"] img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.community-frame [data-node-id="1:3002"], .community-frame [data-node-id="1:3003"] { visibility: hidden; }
.community-frame [data-node-id="1:2807"] { translate: -12px; }
.community-frame [data-node-id="1:2808"] { translate: -12px; }
.community-frame [data-node-id="1:2920"] { translate: -88px; }
.checkout-frame [data-node-id="1:8080"] { width: 170px; }
.checkout-frame [data-node-id="1:8081"] { white-space: nowrap; left: 0; top: 0; font-size: 13px; line-height: 16px; }
.checkout-frame [data-node-id="1:8082"] { display: none; }
.capitalize { text-transform: capitalize; }
.text-ellipsis { text-overflow: ellipsis; }
.font-normal { font-weight: 400; }
.font-\[510\] { font-weight: 510; }
.search-results { width: min(91vw, 360px); border: 0; border-radius: 14px; padding: 16px; }
.search-results::backdrop { background: #16102570; }
.search-results h2 { padding-right: 48px; font-size: 16px; }
.search-results button {
  display: block;
  width: 100%;
  margin-top: 9px;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  text-align: left;
  background: #f2eeff;
  color: #32246b;
}
.search-results button:first-of-type { position: absolute; right: 10px; top: 7px; width: auto; margin: 0; }
.search-results p { margin-top: 12px; font-size: 13px; }
[data-action="library-category"][aria-pressed="true"] { color: #7854fc; }
