/* 小猪的像素乐园 · 奶油白 / 薄荷绿 / 蜜桃粉 */
:root {
  --paper:#f7f5ed;
  --white:#fffef9;
  --ink:#33483e;
  --muted:#859087;
  --mint:#7baa8b;
  --green:#42765b;
  --line:#e8e9dd;
  --peach:#ef9a86;
  --font:"Segoe UI","PingFang SC","Microsoft YaHei",system-ui,sans-serif}

* {
  box-sizing:border-box;
  -webkit-tap-highlight-color:transparent}
html,body {
  margin:0;
  width:100%;
  height:100%;
  overflow:hidden}
body {
  font-family:var(--font);
  color:var(--ink);
  background:radial-gradient(ellipse at 20% 15%,#e1e8d9,transparent 55%),radial-gradient(ellipse at 85% 80%,#eedbd1,transparent 50%),#eae9df}
button,a {
  touch-action:manipulation}
button {
  font:inherit;
  color:inherit;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none}
button {
  transition:background .18s,transform .18s,box-shadow .18s}
button:active {
  transform:translateY(2px)}
button:disabled {
  cursor:default;
  opacity:.45}
button:focus-visible,a:focus-visible,summary:focus-visible {
  outline:3px solid #d38a53;
  outline-offset:3px}
button svg {
  pointer-events:none}
button,canvas,img {
  user-select:none}
button {
  border:0}
a {
  color:inherit;
  text-decoration:none}
[hidden] {
  display:none!important}
.icon-library {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden}
.ui-icon {
  width:23px;
  height:23px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0}
.app-frame {
  position:relative;
  width:100%;
  max-width:480px;
  height:100dvh;
  margin:0 auto;
  overflow:hidden;
  background:var(--paper);
  isolation:isolate}
.eyebrow {
  font-size:10px;
  font-weight:800;
  letter-spacing:2px;
  color:#829783}
.home-view {
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  background:var(--paper);
  z-index:25}
.home-top-bar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:19px 22px 13px;
  flex-shrink:0}
.home-user-row,.res-pills {
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0}
.avatar-box {
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:#e9eedf;
  border:1px solid #dce5d4;
  font-size:25px;
  flex-shrink:0}
.brand-lockup {
  display:flex;
  flex-direction:column;
  gap:4px;
  white-space:nowrap}
.brand-lockup b {
  font-size:12px;
  letter-spacing:.5px;
  font-weight:600}
.res-pills {
  gap:6px}
.res-pill {
  display:flex;
  align-items:center;
  gap:7px;
  background:#fffdf6;
  border:1px solid #e8e5d4;
  border-radius:30px;
  padding:5px;
  font-size:12px;
  min-height:34px}
.coin-badge {
  height:22px;
  width:22px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#edc86b;
  border:2px solid #f5d98a;
  color:#8a672e;
  font-weight:900;
  font-size:11px}
.plus-circle {
  display:grid;
  place-items:center;
  width:19px;
  height:19px;
  background:#e7efdf;
  color:#618667;
  border-radius:50%;
  font-size:15px}
.language-btn {
  font-size:10px;
  font-weight:700;
  letter-spacing:.4px;
  background:transparent;
  min-height:36px;
  padding:5px;
  color:#7b877b}
.home-tab-body {
  position:relative;
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column}
.tab-panel {
  display:flex;
  flex:1;
  flex-direction:column;
  min-height:0;
  gap:14px;
  padding:10px 22px 22px;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#cdd6c8 transparent}
.tab-panel:not(.active) {
  display:none}
#tabHomePanel {
  gap:13px;
  padding-top:0;
  padding-bottom:16px}
.home-hero {
  position:relative;
  flex:1 1 240px;
  min-height:184px;
  max-height:310px;
  overflow:hidden;
  border-radius:26px;
  background:#e4ebdc;
  border:1px solid #dce5d3}
.hero-copy {
  position:absolute;
  left:23px;
  top:20px;
  z-index:2}
.hero-kicker {
  font-size:10px;
  letter-spacing:2px;
  color:#6c856e}
.hero-copy h1 {
  margin:8px 0 5px;
  font-size:31px;
  letter-spacing:-1.5px;
  line-height:1.18;
  font-weight:900;
  color:#3c5a45}
.hero-copy h1 span {
  color:#db876f}
.hero-copy h1 i {
  font-size:19px;
  color:#e2b65b;
  display:inline-block;
  vertical-align:top;
  margin:0 0 0 7px;
  font-style:normal}
.hero-copy p {
  margin:0;
  font-size:11px;
  letter-spacing:1px;
  color:#79907a}
.hero-art {
  position:absolute;
  width:90%;
  height:80%;
  right:-5%;
  bottom:6px;
  object-fit:contain;
  object-position:bottom right}
.hero-tags {
  position:absolute;
  bottom:13px;
  left:18px;
  display:flex;
  gap:6px;
  z-index:2}
.hero-tags span {
  font-size:10px;
  border:1px solid #f6f8ed;
  background:#f7f9efc9;
  border-radius:20px;
  padding:4px 8px;
  color:#6c836c;
  white-space:nowrap}
.home-tower-area {
  position:relative;
  flex-shrink:0;
  padding:1px 4px 0}
.journey-heading {
  display:flex;
  align-items:center;
  justify-content:space-between}
.section-eyebrow {
  font-size:12px;
  font-weight:800;
  letter-spacing:1px}
.chapter-count {
  font-size:10px;
  letter-spacing:1px;
  color:#8b9989;
  font-variant-numeric:tabular-nums}
.chapter-banner-pill {
  font-size:10px;
  color:#8b9789;
  margin-top:5px}
.route-wrap {
  position:relative;
  margin:16px 2px 4px}
.tower-pipe {
  position:absolute;
  left:12%;
  right:12%;
  top:22px;
  border-top:2px dashed #cbd8c1}
.hex-nodes-col {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-around;
  padding-bottom:12px}
.hex-node {
  position:relative;
  width:43px;
  height:43px;
  border:4px solid var(--paper);
  border-radius:15px;
  background:#e6eadf;
  color:#9ba593;
  font-size:16px;
  font-weight:800;
  box-shadow:0 2px 0 #d6decf}
.hex-node.current {
  background:#7fa98a;
  color:#fff;
  border-color:#dce7d3;
  box-shadow:0 3px 0 #668b70}
.hex-node.current:after {
  content:"正在挑战";
  position:absolute;
  left:50%;
  top:42px;
  transform:translateX(-50%);
  font-size:10px;
  font-weight:600;
  white-space:nowrap;
  color:#60846a}
.hex-node.cleared {
  background:#c4dcc0;
  color:#537d5a}
.tower-pager-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:8px}
.pager-mini-btn {
  padding:4px 2px;
  background:transparent;
  color:#74816b;
  font-size:10px;
  min-height:25px}
.demo-btn {
  font-size:10px;
  border-bottom:1px dotted #c7d3bd}
.welfare-float-btn {
  display:flex;
  align-items:center;
  gap:11px;
  background:#f5ece0;
  border:1px solid #eddfca;
  border-radius:17px;
  padding:10px 12px;
  text-align:left;
  flex-shrink:0;
  min-height:60px}
.gift-tile {
  display:grid;
  place-items:center;
  width:35px;
  height:35px;
  background:#eac995;
  color:#927044;
  border-radius:12px;
  transform:rotate(-5deg)}
.gift-tile .ui-icon {
  width:23px;
  height:23px}
.gift-copy {
  flex:1;
  display:flex;
  flex-direction:column;
  gap:4px}
.gift-copy b {
  font-size:11px;
  font-weight:700;
  letter-spacing:.5px}
.gift-copy small {
  font-size:10px;
  color:#a58f73}
.gift-claim {
  display:flex;
  align-items:center;
  gap:3px;
  font-size:10px;
  color:#a08258}
.gift-claim .ui-icon {
  width:16px;
  height:16px}
.start-area {
  flex-shrink:0;
  margin-top:auto}
.green-start-btn {
  position:relative;
  width:100%;
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  border:1px solid #739b7c;
  border-radius:17px;
  background:#6b9275;
  color:#fffdf3;
  box-shadow:0 4px 0 #62886d;
  font-size:17px;
  font-weight:800;
  letter-spacing:2px;
  padding:12px 20px}
.green-start-btn:hover {
  background:#719f7e}
.green-start-btn:active {
  box-shadow:0 1px 0 #62886d}
.green-start-btn .ui-icon {
  width:20px;
  height:20px}
.home-footnote {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding-top:12px;
  color:#7d866f;
  font-size:10px;
  white-space:nowrap}
.home-footnote button {
  padding:0;
  background:transparent;
  font-size:10px;
  color:#81977d}
.back-hub-pill {
  font-size:10px;
  color:#7e8872}
html.is-embedded .back-hub-pill {
  display:none}
.home-bottom-nav {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  flex-shrink:0;
  padding:9px 14px calc(11px + env(safe-area-inset-bottom,0px));
  border-top:1px solid #e6e7dc;
  background:#fffef8;
  gap:5px}
.nav-tab-btn {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  height:48px;
  border-radius:14px;
  background:transparent;
  color:#7d8972;
  font-size:10px;
  font-weight:600;
  letter-spacing:1px}
.nav-tab-btn .ui-icon {
  width:22px;
  height:22px}
.nav-tab-btn.active {
  color:#577e5e;
  background:#edf2e5}
.nav-tab-btn.active .ui-icon {
  fill:#e0ead9}
.page-heading {
  padding:4px 2px 6px;
  flex-shrink:0}
.page-heading h2 {
  font-size:25px;
  letter-spacing:1px;
  margin:8px 0 0;
  font-weight:800}
.page-heading h2 span {
  display:block;
  font-size:11px;
  letter-spacing:1px;
  font-weight:400;
  color:#8c9787;
  margin-top:8px}
.panel-card {
  display:flex;
  flex-direction:column;
  gap:14px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:21px;
  padding:16px;
  flex-shrink:0;
  box-shadow:0 4px 12px #4a5c3610}
.panel-title-bar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  flex-wrap:wrap}
.panel-title-bar h3 {
  font-size:12px;
  margin:0;
  font-weight:700}
.muted {
  font-size:10px;
  color:#8e9a87}
.shop-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px}
.shop-item-card {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  background:#f7f5ed;
  border:1px solid #e7e8dc;
  border-radius:17px;
  padding:14px 8px;
  text-align:center;
  min-width:0}
.shop-item-card.equipped {
  background:#ecf2e5;
  border-color:#abc2a2}
.shop-item-card h4 {
  font-size:12px;
  margin:0}
.shop-item-card p {
  font-size:10px;
  line-height:1.7;
  color:#78846b;
  margin:0;
  min-height:30px}
.shop-item-card>div:first-child {
  filter:drop-shadow(0 4px 1px #40563515)}
.buy-btn {
  width:100%;
  border-radius:10px;
  padding:8px 5px;
  font-size:10px;
  min-height:31px;
  font-weight:700;
  background:#557d5c;
  color:white;
  box-shadow:0 2px 0 #678b6f}
.buy-btn.equipped {
  background:#e0e9d6;
  color:#68865d;
  box-shadow:none}
.secondary-btn,.purple-5x-btn {
  background:#edeae0;
  color:#7f8a74;
  border:1px solid #e0e0d3;
  border-radius:12px;
  padding:10px 12px;
  font-size:11px;
  min-height:38px}
.supply-card {
  gap:12px}
.segmented {
  display:flex;
  gap:3px;
  background:#efefe5;
  padding:3px;
  border-radius:12px}
.chapter-chip {
  flex-shrink:0;
  border:1px solid #e4e7d9;
  background:#f2f3e9;
  color:#85907d;
  font-size:10px;
  border-radius:10px;
  padding:7px 9px;
  min-height:32px;
  white-space:nowrap}
.chapter-chip.active {
  background:#7fa88a;
  color:#fff;
  border-color:#7fa88a}
.segmented .chapter-chip {
  min-height:27px;
  padding:4px 11px;
  border:0}
.chapter-tabs-scroll {
  display:flex;
  overflow-x:auto;
  gap:6px;
  padding-bottom:10px;
  margin:0 0 6px;
  scrollbar-width:thin;
  scrollbar-color:#d6dfcc transparent}
.levels-grid-box {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:7px}
.lvl-btn-item {
  border:1px solid #e4e8d9;
  border-radius:12px;
  padding:11px 2px;
  min-height:56px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  background:#f5f5ec;
  color:#74846a;
  font-size:16px;
  font-weight:800}
.lvl-btn-item.current {
  background:#88ae8c;
  color:#fff;
  border-color:#739e79;
  box-shadow:0 2px 0 #729879}
.lvl-btn-item.cleared {
  background:#e4eddb;
  color:#66805b}
.lvl-btn-item.locked {
  background:#efefe6;
  color:#a9ae9f;
  border-color:#e7e8de}
.lvl-star-dot {
  font-size:10px;
  font-weight:400;
  opacity:.8}
.collection-tip {
  font-size:10px;
  line-height:1.8;
  color:#8a957f;
  margin:0 0 12px}
.collection-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px}
.collection-card {
  border:1px solid #e4e8d9;
  background:#f6f5ed;
  color:#687b60;
  border-radius:14px;
  padding:12px 4px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  font-size:10px;
  cursor:pointer}
.collection-card span {
  font-size:10px;
  color:#99a18e}
.stats-summary-row {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px}
.stat-pill-box {
  padding:15px 3px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  border-radius:14px;
  background:#f0f3e7}
.stat-pill-box:nth-child(2) {
  background:#f8eddb}
.stat-pill-box:nth-child(3) {
  background:#f6e8e1}
.stat-pill-box b {
  font-size:23px;
  font-weight:700;
  color:#7d9772}
.stat-pill-box:nth-child(2) b {
  color:#bd995c}
.stat-pill-box:nth-child(3) b {
  color:#c28c77}
.stat-pill-box span {
  font-size:10px;
  color:#8f9983}
.rank-list {
  display:flex;
  flex-direction:column;
  gap:6px}
.rank-row {
  display:flex;
  align-items:center;
  border-bottom:1px solid #eeeee2;
  padding:10px 5px;
  font-size:11px}
.rank-row.me {
  background:#edf2e5;
  border:1px solid #dce6cf;
  border-radius:12px}
.rank-badge {
  display:grid;
  place-items:center;
  width:23px;
  height:23px;
  border-radius:8px;
  background:#f0eedf;
  color:#a08d69;
  font-size:10px}
.rank-name {
  flex:1;
  margin:0 9px}
.rank-score {
  font-size:10px;
  color:#8a997c}
.guide-list-box {
  display:flex;
  flex-direction:column;
  gap:10px}
.guide-item-card {
  background:#f8f7ef;
  padding:13px;
  border-radius:13px}
.guide-item-card h4 {
  font-size:11px;
  margin:0 0 6px;
  color:#718466}
.guide-item-card p {
  font-size:10px;
  line-height:1.9;
  color:#909b85;
  margin:0}
.advanced-tools {
  font-size:10px;
  color:#969e8e;
  padding:2px 10px;
  flex-shrink:0}
.advanced-tools summary {
  cursor:pointer;
  padding:8px}
.advanced-tools>div {
  display:flex;
  gap:8px;
  padding:8px 0;
  flex-wrap:wrap}
#selfTestReportBox {
  font-size:10px;
  line-height:1.8;
  overflow-wrap:anywhere}
.danger-btn {
  color:#bc8776}

/* 局内：轻量薄荷轨道与清晰的道具区 */
.game-view {
  height:100%;
  display:flex;
  flex-direction:column;
  background:var(--paper)}
.game-top-bar {
  display:flex;
  align-items:center;
  gap:8px;
  padding:17px 18px 9px;
  flex-shrink:0}
.pause-circle-btn,.mini-tool-btn {
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fffdf5;
  border:1px solid #e3e7d7;
  border-radius:12px;
  min-width:35px;
  height:35px;
  padding:7px;
  font-size:12px;
  color:#789073;
  gap:5px;
  flex-shrink:0}
.pause-circle-btn {
  width:38px;
  height:38px}
.mini-tool-btn .ui-icon {
  width:18px;
  height:18px}
.level-header-stack {
  flex:1;
  min-width:0;
  padding-left:3px}
.level-header-pill {
  font-size:18px;
  font-weight:800;
  color:#4c6b50;
  letter-spacing:1px}
.level-sub-badge {
  font-size:10px;
  color:#7e8c6d;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:230px;
  margin-top:5px}
.game-status-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:3px 23px 8px;
  color:#7d896e;
  font-size:10px;
  flex-shrink:0}
.game-status-row span:last-child {
  color:#74916a;
  font-weight:700}
.game-progress-track {
  margin:0 23px 5px;
  background:#e5e9d9;
  height:4px;
  border-radius:5px;
  overflow:hidden;
  flex-shrink:0}
.game-progress-track span {
  display:block;
  height:100%;
  width:0;
  background:#95b68c;
  border-radius:5px;
  transition:width .25s}
.canvas-stage {
  position:relative;
  flex:1;
  min-height:0;
  width:100%;
  overflow:hidden}
#gameCanvas {
  display:block;
  width:100%;
  height:100%;
  touch-action:manipulation;
  cursor:pointer}
.game-assist-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:5px;
  padding:5px 19px 8px;
  flex-shrink:0}
.game-assist-row>span {
  display:flex;
  align-items:center;
  gap:4px;
  color:#7d8a6f;
  font-size:10px}
.game-assist-row>span .ui-icon {
  width:12px;
  height:12px}
.game-assist-row>div {
  display:flex;
  gap:5px}
.game-assist-row .mini-tool-btn {
  height:29px;
  min-width:31px;
  font-size:10px;
  border-radius:10px}
.game-assist-row .ui-icon {
  width:15px;
  height:15px}
.bottom-locks-bar {
  flex-shrink:0;
  display:flex;
  justify-content:space-around;
  background:#fffdf6;
  border-top:1px solid #e6e8db;
  padding:12px 10px calc(13px + env(safe-area-inset-bottom,0px))}
.lock-skill-btn {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  width:23%;
  padding:0;
  background:transparent}
.lock-disc {
  position:relative;
  width:46px;
  height:44px;
  border-radius:15px;
  display:grid;
  place-items:center;
  background:#e7eede;
  color:#82a172;
  border:1px solid #dbe4ce;
  box-shadow:0 3px 0 #cfdcc3}
.skill-2 {
  background:#e6ebf0;
  color:#859aaa;
  border-color:#d9e1e6;
  box-shadow:0 3px 0 #cbd6df}
.skill-3 {
  background:#f8edd5;
  color:#c7aa6a;
  border-color:#eee0c2;
  box-shadow:0 3px 0 #e9d8b3}
.skill-4 {
  background:#f4e3dc;
  color:#c79382;
  border-color:#ead6ca;
  box-shadow:0 3px 0 #e5cdc0}
.skill-badge-count {
  position:absolute;
  right:-8px;
  top:-5px;
  padding:1px 4px;
  min-width:22px;
  text-align:center;
  background:#fffdf7;
  border:1px solid #e4e5d4;
  border-radius:6px;
  font-size:10px;
  line-height:1.5;
  color:#8d9a7d}
.lock-ribbon {
  font-size:10px;
  color:#7f8b71;
  white-space:nowrap}
.game-toast {
  position:absolute;
  left:50%;
  top:85px;
  max-width:90%;
  width:max-content;
  transform:translate(-50%,-7px);
  border:1px solid #e3ead8;
  border-radius:14px;
  background:#405b49f2;
  color:#fffff5;
  font-size:11px;
  line-height:1.6;
  text-align:center;
  padding:10px 16px;
  opacity:0;
  pointer-events:none;
  z-index:60;
  transition:transform .2s,opacity .2s;
  box-shadow:0 6px 20px #29452d22}
.game-toast.visible {
  opacity:1;
  transform:translate(-50%,0)}

/* 弹窗与选择状态 */
.modal-mask {
  position:absolute;
  inset:0;
  background:#394b3f66;
  backdrop-filter:blur(8px);
  z-index:40;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:25px 21px}
.wx-dialog {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  width:100%;
  max-width:370px;
  max-height:100%;
  overflow-y:auto;
  overscroll-behavior:contain;
  border:1px solid #fffef6;
  border-radius:28px;
  background:#fffdf4;
  padding:28px 23px 23px;
  box-shadow:0 20px 60px #24352933;
  color:var(--ink);
  text-align:center}
.dialog-eyebrow {
  font-size:10px;
  font-weight:700;
  letter-spacing:2px;
  color:#82906f}
.wx-ribbon {
  font-size:26px;
  letter-spacing:1px;
  font-weight:800;
  color:#5c7d59;
  line-height:1.25}
.wx-close-btn {
  position:absolute;
  right:12px;
  top:12px;
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  padding:5px;
  border:1px solid #e6e8d9;
  border-radius:10px;
  background:#f4f4e9;
  color:#97a18b}
.wx-close-btn .ui-icon {
  width:16px;
  height:16px}
.dialog-meta {
  font-size:10px;
  color:#7c876e;
  line-height:1.6}
.dialog-illustration {
  font-size:61px;
  line-height:1.2;
  width:100%;
  padding:8px;
  background:radial-gradient(ellipse,#eaf0de,transparent 65%);
  filter:drop-shadow(0 5px 1px #3f62320a)}
.dialog-heading {
  font-size:14px;
  font-weight:700;
  margin:0;
  letter-spacing:.5px}
.dialog-description {
  font-size:10px;
  line-height:1.9;
  color:#7a866c;
  margin:0}
.wx-inner-card {
  width:100%}
.booster-select-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px}
.booster-card {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  border:1px solid #e2e7d4;
  border-radius:17px;
  background:#f4f4e9;
  padding:15px 5px;
  color:#86967a}
.booster-card b {
  font-size:11px}
.booster-card small {
  font-size:10px;
  color:#7c876e}
.booster-icon {
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:14px;
  background:#e4eacf;
  color:#90a46c}
.booster-card:nth-child(2) .booster-icon {
  background:#e8e5f0;
  color:#a297b3}
.booster-card.selected {
  background:#e9f0df;
  border:2px solid #87a578;
  padding:14px 4px}
.booster-card.selected:after {
  content:"✓";
  position:absolute;
  right:6px;
  top:5px;
  background:#89a77b;
  color:white;
  width:16px;
  height:16px;
  border-radius:50%;
  font-size:10px}
.booster-tag {
  font-size:10px;
  color:#7c876e;
  line-height:1.5}
.wx-dialog .green-start-btn {
  min-height:48px;
  font-size:14px;
  letter-spacing:1px;
  margin-top:3px}
.dialog-footnote {
  font-size:10px;
  color:#849076}
.result-card {
  background:radial-gradient(ellipse,#f7edcc,transparent 70%);
  padding:23px 7px;
  display:flex;
  flex-direction:column;
  gap:15px;
  align-items:center}
#resultIconBox {
  font-size:56px;
  line-height:1.2}
#txtResultReward {
  font-size:29px;
  font-weight:800;
  letter-spacing:1px;
  color:#c3a164}
#txtResultSub {
  font-size:11px;
  line-height:1.8;
  color:#919c84}
.purple-5x-btn {
  width:100%;
  border-color:#e3dfed;
  background:#eeeaf4;
  color:#9a8cac}
.welfare-art {
  width:120px;
  height:110px;
  display:grid;
  place-items:center;
  background:#f6ecd3;
  border-radius:40px;
  transform:rotate(-6deg);
  margin:15px 0}
.welfare-art .ui-icon {
  width:63px;
  height:63px;
  color:#c5a26a;
  stroke-width:1.3}

@media(min-width:520px) and (min-height:600px) {
  body {
  display:flex;
  align-items:center;
  justify-content:center}
.app-frame {
  height:min(95dvh,940px);
  border:1px solid #fffef7;
  border-radius:32px;
  box-shadow:0 28px 70px #394a3221,0 4px 10px #394a3212}
html.is-embedded .app-frame {
  height:100dvh;
  border:0;
  border-radius:0;
  box-shadow:none}
}

@media(max-height:750px) {
  .home-top-bar {
  padding-top:13px;
  padding-bottom:11px}
.tab-panel {
  gap:10px}
#tabHomePanel {
  gap:10px;
  padding-bottom:13px}
.home-hero {
  min-height:157px}
.hero-copy {
  top:15px;
  left:20px}
.hero-copy h1 {
  font-size:28px}
.hero-art {
  width:78%;
  height:78%;
  right:-3%;
  bottom:3px}
.hero-tags {
  bottom:11px;
  left:15px}
.home-tower-area {
  padding-top:0}
.route-wrap {
  margin-top:11px}
.hex-node {
  width:38px;
  height:38px;
  border-radius:13px;
  font-size:14px}
.hex-node.current:after {
  top:36px}
.tower-pipe {
  top:19px}
.tower-pager-row {
  margin-top:5px}
.welfare-float-btn {
  min-height:52px;
  padding-top:7px;
  padding-bottom:7px}
.gift-tile {
  width:32px;
  height:32px}
.green-start-btn {
  min-height:47px;
  padding:10px 16px;
  font-size:15px}
.home-footnote {
  padding-top:10px;
  font-size:10px}
.home-bottom-nav {
  padding-top:7px;
  padding-bottom:9px}
.nav-tab-btn {
  height:43px}
.game-top-bar {
  padding-top:12px}
.bottom-locks-bar {
  padding-top:10px;
  padding-bottom:10px}
.game-assist-row {
  padding-top:2px}
.wx-dialog {
  gap:11px;
  padding-top:23px}
.dialog-illustration {
  font-size:48px;
  padding:4px}
}

@media(max-width:370px) {
  .home-top-bar {
  padding-left:16px;
  padding-right:16px}
.tab-panel {
  padding-left:16px;
  padding-right:16px}
.brand-lockup .eyebrow {
  font-size:10px;
  letter-spacing:1.5px}
.brand-lockup b {
  font-size:11px}
.home-user-row {
  gap:7px}
.language-btn {
  font-size:10px;
  padding:4px 0}
.res-pills {
  gap:3px}
.hero-copy h1 {
  font-size:27px}
.hero-tags span {
  font-size:10px}
.game-assist-row>span {
  font-size:10px}
.game-assist-row {
  padding-left:12px;
  padding-right:12px}
.panel-card {
  padding:13px}
.game-top-bar {
  padding-left:13px;
  padding-right:13px}
.home-footnote {
  gap:6px}
.home-footnote>span {
  font-size:10px}
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
  animation:none!important;
  transition:none!important}
}


.home-footnote {
  flex-wrap:wrap;
  row-gap:4px}
.home-footnote>span {
  font-size:9px}
.gift-copy small {
  font-size:10px}
.nav-tab-btn {
  font-size:11px}
.green-start-btn {
  font-size:18px}
.hex-node.current:after {
  font-size:9px}
.hero-kicker {
  font-size:11px}
.hero-copy p {
  font-size:12px}
.dialog-description {
  font-size:12px}
.booster-card small {
  font-size:10px}
.booster-tag {
  font-size:10px}
.dialog-meta {
  font-size:11px}
.dialog-footnote {
  font-size:10px}
.shop-item-card p {
  font-size:10px}
.guide-item-card p {
  font-size:11px}
.game-assist-row>span {
  font-size:10px}
.brand-lockup .eyebrow {
  font-size:9px}
.language-btn {
  font-size:10px}
.lock-ribbon {
  font-size:10px}
.skill-badge-count {
  font-size:9px}

@media(max-width:370px) {
  .home-footnote {
  gap:6px;
  font-size:9px}
.home-footnote>span {
  font-size:9px}
.game-assist-row>span {
  font-size:9px}
.brand-lockup .eyebrow {
  font-size:8px}
.language-btn {
  font-size:9px}
.lock-ribbon {
  font-size:9px}
}

