:root {
  color: #29251f;
  background: #2b2b2a;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  --ink: #151513;
  --ink-soft: #2b251f;
  --gold: #c6974d;
  --gold-light: #e0bd7c;
  --orange: #cf5c28;
  --paper: #f4f0e7;
  --muted: #8e847b;
  --line: #e5dbcd;
}

* { box-sizing: border-box; }
html { width: 100%; min-height: 100%; overflow-x: hidden; background: #2b2b2a; }
body { width: 100%; min-height: 100vh; margin: 0; overflow-x: hidden; background: #2b2b2a; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

.app-shell {
  position: relative;
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 60px rgba(0, 0, 0, .24);
}

.app-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  height: 56px;
  padding: env(safe-area-inset-top) 14px 0;
  color: #fffaf0;
  background: rgba(17, 17, 15, .98);
  border-bottom: 1px solid rgba(222, 187, 126, .14);
}

.app-header strong { min-width: 0; overflow: hidden; text-align: center; font-size: 16px; letter-spacing: .4px; text-overflow: ellipsis; white-space: nowrap; }
.header-mark { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #b88943; border-radius: 50%; color: #d9ad64; font-family: STSong, SimSun, serif; }
.header-service { min-width: 0; padding: 8px 0; border: 0; color: #d7b474; background: transparent; font-size: 13px; text-align: right; white-space: nowrap; }

main { width: 100%; min-width: 0; min-height: calc(100vh - 56px); overflow-x: hidden; }
.view { display: none; width: 100%; min-width: 0; min-height: calc(100vh - 56px); padding-bottom: calc(82px + env(safe-area-inset-bottom)); overflow-x: hidden; }
.view.active { display: block; }
.page-body { width: 100%; min-width: 0; padding: 22px 16px 34px; }
.home-body { position: relative; z-index: 5; margin-top: -13px; padding-top: 0; }
.surface { border: 1px solid rgba(156, 111, 54, .1); border-radius: 20px; background: #fff; box-shadow: 0 8px 25px rgba(39, 30, 23, .055); }

.hero { position: relative; height: 274px; color: #fff9ec; background: #141412; }
.hero-slide { position: absolute; inset: 0; padding: 26px 27px 38px; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity .4s ease; background: radial-gradient(circle at 88% 20%, rgba(220, 83, 21, .52), transparent 31%), linear-gradient(145deg, #10100f, #24201c); }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide:nth-child(2) { background: radial-gradient(circle at 89% 27%, rgba(199, 151, 76, .3), transparent 28%), linear-gradient(140deg, #121211, #28231e); }
.hero-slide:nth-child(3) { background: radial-gradient(circle at 84% 30%, rgba(218, 82, 24, .45), transparent 29%), linear-gradient(140deg, #10100f, #2d241f); }
.hero-copy { position: relative; z-index: 4; width: 74%; }
.eyebrow { margin: 0 0 10px; color: #d9ad66; font-size: 10px; font-weight: 700; letter-spacing: 1.6px; }
.hero-logo { display: block; width: 126px; height: 52px; object-fit: contain; object-position: left center; }
.hero h1 { margin: 9px 0 0; font-family: STSong, SimSun, serif; font-size: 27px; line-height: 1.25; }
.hero p:not(.eyebrow) { margin: 8px 0 0; color: #d9cdbb; font-size: 12px; line-height: 1.55; }
.hero-action { margin-top: 14px; padding: 8px 13px; border: 1px solid rgba(222, 180, 109, .46); border-radius: 999px; color: #efcd8f; background: rgba(200, 151, 77, .08); font-size: 12px; font-weight: 650; }
.hero-action span { margin-left: 4px; font-size: 18px; line-height: 0; }
.hero-seal { position: absolute; z-index: 2; top: 48px; right: 24px; display: flex; width: 104px; height: 104px; align-items: center; justify-content: center; flex-direction: column; border: 2px solid rgba(216, 174, 105, .56); border-radius: 50%; color: #d4a75f; transform: rotate(7deg); }
.hero-seal b { font-family: STKaiti, Kaiti SC, serif; font-size: 48px; line-height: 1; }
.hero-seal small { margin-top: 5px; font-size: 9px; letter-spacing: 2px; }
.hero-tags { display: flex; gap: 5px; margin-top: 14px; }
.hero-tags span { padding: 5px 7px; border-radius: 4px; color: #e4c184; background: rgba(200, 151, 77, .14); font-size: 10px; }
.gift-art { position: absolute; right: 23px; bottom: 48px; display: grid; width: 115px; height: 84px; place-items: center; border: 1px solid #a77938; border-radius: 5px; color: #d4a357; background: linear-gradient(145deg, #2c2925, #0e0e0d); box-shadow: 0 14px 22px rgba(0,0,0,.3); transform: rotate(-5deg); }
.gift-art::before, .gift-art::after { position: absolute; background: #bb8d47; content: ""; }
.gift-art::before { width: 14px; height: 100%; }
.gift-art::after { width: 100%; height: 11px; }
.gift-art span { z-index: 1; font-family: STSong, SimSun, serif; font-size: 15px; }
.rights { display: flex; gap: 11px; margin-top: 13px; }
.rights span { display: grid; gap: 5px; justify-items: center; color: #d8cebe; font-size: 9px; }
.rights b { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(216,174,105,.4); border-radius: 50%; color: #dfb56d; font-size: 12px; }
.shield-art { position: absolute; top: 45px; right: 27px; display: grid; width: 83px; height: 96px; place-items: center; border: 2px solid rgba(216,174,105,.48); border-radius: 48px 48px 36px 36px; color: rgba(216,174,105,.72); font-family: STKaiti, Kaiti SC, serif; font-size: 42px; transform: rotate(5deg); }
.hero-dots { position: absolute; z-index: 8; right: 0; bottom: 28px; left: 0; display: flex; align-items: center; justify-content: center; gap: 6px; }
.hero-dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.42); transition: width .2s; }
.hero-dots i.active { width: 18px; background: #d4a65c; }

.service-panel { padding: 20px 13px 12px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.section-heading h2 { margin: 0; font-size: 19px; }
.section-heading p { margin: 5px 0 0; color: #91877d; font-size: 12px; }
.section-heading button { padding: 5px 0; border: 0; color: #a36e2d; background: transparent; font-size: 12px; }
.season-tag { padding: 6px 10px; border-radius: 99px; color: #8c632c; background: #f5ead8; font-size: 11px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
.service-grid button { display: flex; align-items: center; flex-direction: column; min-width: 0; padding: 10px 3px 14px; border: 0; color: #322d27; background: transparent; }
.service-icon { display: grid; width: 47px; height: 47px; margin-bottom: 9px; place-items: center; border-radius: 15px; color: #98672c; background: #f4ead8; box-shadow: 0 5px 13px rgba(48,35,23,.07); font-family: STSong, SimSun, serif; font-size: 19px; }
.service-icon.orange { color: #b64c20; background: #fae9dd; }
.service-icon.dark { color: #e8c684; background: linear-gradient(145deg, #282622, #111); }
.service-grid b { font-size: 14px; }
.service-grid small { margin-top: 4px; color: #aaa19a; font-size: 10px; }
.service-grid .primary-service small { color: #ca501d; font-weight: 700; }

.redeem-feature { position: relative; display: block; width: 100%; min-height: 184px; margin-top: 14px; padding: 20px 19px; overflow: hidden; border: 0; border-radius: 19px; color: #fff7e9; background: radial-gradient(circle at 98% 5%, rgba(220,78,20,.36), transparent 37%), linear-gradient(135deg, #111, #2c251f); box-shadow: 0 10px 25px rgba(28,24,20,.15); text-align: left; }
.redeem-feature::after { position: absolute; right: 14px; top: 13px; color: rgba(211,160,77,.12); content: "蟹"; font-family: STKaiti, Kaiti SC, serif; font-size: 84px; }
.feature-kicker, .redeem-feature > strong, .redeem-feature > small, .feature-steps, .feature-submit { position: relative; z-index: 2; display: block; }
.feature-kicker { color: #ddb66f; font-size: 11px; }
.feature-kicker em { padding: 4px 7px; border: 1px solid rgba(218,174,98,.32); border-radius: 99px; font-style: normal; }
.redeem-feature > strong { margin-top: 9px; font-family: STSong, SimSun, serif; font-size: 24px; }
.redeem-feature > small { margin-top: 4px; color: #ddd0bc; font-size: 11px; }
.feature-steps { display: flex; width: 73%; align-items: flex-start; gap: 0; margin-top: 15px; }
.feature-steps i { display: flex; width: 56px; align-items: center; flex: 0 0 56px; flex-direction: column; color: #ddb66c; font-style: normal; }
.feature-steps i b { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid #c9994d; border-radius: 50%; font-size: 10px; font-weight: 500; }
.feature-steps i small { display: block; width: 62px; margin-top: 6px; color: #e9ddca; font-size: 9px; line-height: 1.2; text-align: center; white-space: nowrap; }
.feature-steps u { height: 1px; flex: 1; margin-top: 12px; background: rgba(208,161,84,.45); text-decoration: none; }
.feature-submit { position: absolute; right: 17px; bottom: 38px; padding: 10px 13px; border-radius: 99px; color: #1a1713; background: #dfb568; font-size: 11px; font-weight: 750; }
.standalone { margin: 25px 5px 13px; }

.product-scroll { display: flex; gap: 11px; margin-right: -16px; padding-right: 16px; overflow-x: auto; scrollbar-width: none; }
.product-scroll::-webkit-scrollbar { display: none; }
.product-scroll article { position: relative; flex: 0 0 216px; min-height: 128px; padding: 16px; overflow: hidden; border: 1px solid #eadfce; border-radius: 18px; background: linear-gradient(145deg, #fff, #f4e9d7); }
.product-scroll article > span { color: #9a6c31; font-size: 10px; }
.product-scroll article > em { float: right; padding: 3px 6px; border-radius: 99px; color: #9a6c31; background: rgba(255,255,255,.68); font-size: 9px; font-style: normal; }
.product-scroll article b, .product-scroll article small { position: relative; z-index: 2; display: block; }
.product-scroll article b { margin-top: 14px; font-size: 15px; }
.product-scroll article small { margin-top: 5px; color: #8f8175; font-size: 10px; }
.product-scroll article i { position: absolute; right: 11px; bottom: -15px; color: rgba(165,112,43,.13); font-family: STKaiti, Kaiti SC, serif; font-size: 74px; font-style: normal; }

.promise-panel { margin-top: 16px; padding: 20px; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 19px; }
.promise-grid span { display: grid; justify-items: center; gap: 6px; }
.promise-grid i { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid #dec9a8; border-radius: 50%; color: #9e6d2e; background: #fbf4e7; font-style: normal; }
.promise-grid b { font-size: 13px; }
.promise-grid small { color: #9d9188; font-size: 10px; }
.local-service { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; margin-top: 13px; padding: 15px; }
.local-service > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 14px; color: #e1b970; background: #1a1917; }
.local-service b, .local-service small { display: block; }
.local-service b { font-size: 13px; }
.local-service small { margin-top: 4px; color: #94887e; font-size: 9px; }
.local-service button { padding: 7px 10px; border: 1px solid #d7b679; border-radius: 99px; color: #94652b; background: #fffaf2; font-size: 10px; }
.brand-footer { display: grid; justify-items: center; padding: 38px 12px 3px; color: #9b8e82; }
.brand-footer img { width: 108px; height: 58px; object-fit: contain; filter: sepia(.2); }
.brand-footer b { margin-top: 3px; color: #817368; font-family: STSong, SimSun, serif; font-size: 13px; letter-spacing: 2px; }
.brand-footer small { margin-top: 8px; font-size: 9px; }

.page-title { margin: 2px 0 0; font-size: 26px; }
.page-subtitle { margin: 8px 0 21px; color: #81786f; font-size: 13px; line-height: 1.7; }
.form-card, .wizard-card { padding: 21px; }
.form-card label { display: grid; gap: 8px; margin-top: 18px; color: #4b443d; font-size: 14px; font-weight: 650; }
.form-card label:first-child { margin-top: 0; }
input, select, textarea { width: 100%; border: 1px solid #ded2c0; border-radius: 13px; outline: none; color: #2f2923; background: #fcfaf6; }
input, select { min-height: 50px; padding: 0 14px; }
textarea { min-height: 116px; padding: 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #bd8740; box-shadow: 0 0 0 3px rgba(189,135,64,.1); }
.primary-button { display: block; width: 100%; min-height: 52px; margin-top: 21px; border: 0; border-radius: 999px; color: #fffaf0; background: linear-gradient(135deg, #df6a2c, #b94519); box-shadow: 0 8px 18px rgba(181,62,20,.18); font-size: 16px; font-weight: 750; }
.primary-button:disabled { cursor: wait; opacity: .55; }
.upload-box { display: grid; justify-items: center; gap: 4px; margin-top: 10px; padding: 22px 14px; border: 1px dashed #d7c8b5; border-radius: 14px; color: #65584e; background: #fcfaf6; text-align: center; }
.upload-box b { color: #cd5521; font-size: 32px; line-height: 1; }
.upload-box span { font-size: 13px; }
.upload-box small { color: #9b9087; font-size: 10px; }
#claim-files { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.preview-grid img { width: 100%; aspect-ratio: 1; border-radius: 10px; object-fit: cover; }
.empty-state { display: grid; min-height: 240px; place-content: center; justify-items: center; gap: 9px; padding: 28px; color: #958a82; text-align: center; }
.empty-state b { color: #554b43; }
.empty-state span { font-size: 12px; }
.empty-state button { margin-top: 8px; padding: 9px 15px; border: 1px solid #c69850; border-radius: 99px; color: #906328; background: #fffaf2; }

.verify-intro { margin-bottom: 18px; }
.credential-card { padding: 21px; }
.credential-card label { display: grid; gap: 8px; margin-top: 16px; color: #4f473f; font-size: 14px; font-weight: 650; }
.credential-card label:first-child { margin-top: 0; }
.secure-note { display: flex; gap: 9px; margin-top: 17px; padding: 12px; border-radius: 12px; color: #786b5f; background: #f7f0e4; font-size: 11px; line-height: 1.55; }
.secure-note b { color: #ad792f; }
.verified-toolbar { display: flex; width: 100%; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; min-height: 35px; padding: 0 3px; color: #554b42; font-size: 12px; font-weight: 650; }
.verified-toolbar > span { display: flex; min-width: 0; align-items: center; white-space: nowrap; }
.verified-toolbar i { display: grid; width: 20px; height: 20px; margin-right: 7px; place-items: center; border-radius: 50%; color: #171614; background: #d8ae67; font-size: 12px; font-style: normal; }
.verified-toolbar b { margin-left: 4px; color: #98733e; }
.verified-toolbar button { flex: 0 0 auto; padding: 6px 0 6px 8px; border: 0; color: #92764d; background: transparent; font-size: 12px; white-space: nowrap; }
.compact-progress { display: flex; width: calc(100% - 6px); gap: 5px; margin: 7px 3px 17px; }
.compact-progress i { height: 3px; flex: 1; border-radius: 99px; background: #ded5c9; }
.compact-progress i.active { background: #b98238; }
.wizard-card { width: 100%; min-width: 0; min-height: 300px; overflow: hidden; }
.wizard-card h2 { margin: 0; font-size: 20px; }
.wizard-card > p { margin: 7px 0 0; color: #8e847b; font-size: 12px; line-height: 1.65; }
.choice-list { display: grid; gap: 10px; margin-top: 18px; }
.choice-card { display: flex; min-height: 74px; align-items: center; gap: 12px; width: 100%; padding: 12px; border: 1.5px solid #e3d8c8; border-radius: 14px; color: #312a23; background: #fcfaf6; text-align: left; }
.choice-card.selected { border-color: #c79445; background: #fff8ea; box-shadow: 0 5px 13px rgba(123,82,29,.08); }
.radio-mark { display: grid; width: 29px; height: 29px; place-items: center; flex: 0 0 29px; border: 1.5px solid #c9baa4; border-radius: 50%; background: #fff; }
.selected .radio-mark { border-color: #c79445; color: #fff; background: #171614; }
.choice-copy { flex: 1; min-width: 0; }
.choice-copy b, .choice-copy small { display: block; }
.choice-copy b { font-size: 15px; }
.choice-copy small { margin-top: 5px; overflow: hidden; color: #8d8075; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.choice-tag { flex: 0 0 auto; padding: 5px 9px; border-radius: 99px; color: #855e28; background: #f2e2c4; font-size: 10px; }
.selection-detail { margin-top: 14px; padding: 16px; border-radius: 14px; color: #eee1ca; background: radial-gradient(circle at 96% 5%, rgba(220,82,22,.28), transparent 35%), #171614; }
.detail-head { display: flex; min-width: 0; justify-content: space-between; gap: 10px; color: #d5a95e; font-size: 12px; font-weight: 750; }
.detail-head span { min-width: 0; overflow-wrap: anywhere; }
.selection-detail > p { margin: 9px 0 0; color: rgba(246,236,219,.72); font-size: 11px; line-height: 1.55; }
.detail-list { display: grid; gap: 8px; margin-top: 10px; }
.detail-list span { display: flex; align-items: flex-start; gap: 8px; color: #f6eddf; font-size: 11px; line-height: 1.55; }
.detail-list i { display: grid; width: 19px; height: 19px; place-items: center; flex: 0 0 19px; border: 1px solid rgba(207,161,84,.7); border-radius: 50%; color: #d5ad6a; font-size: 9px; font-style: normal; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 18px; }
.method-card { position: relative; display: grid; grid-template-columns: 39px 1fr 20px; align-items: center; gap: 8px; padding: 13px 10px; border: 1.5px solid #e3d8c8; border-radius: 15px; color: #302923; background: #fcfaf6; text-align: left; }
.method-card.selected { border-color: #c49348; background: linear-gradient(145deg, #fffaf0, #f8ead2); }
.method-icon { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 12px; color: #d5a55d; background: #191816; font-weight: 750; }
.selected .method-icon { color: #171512; background: linear-gradient(145deg, #e5bc77, #c28a3d); }
.method-card b, .method-card small { display: block; }
.method-card b { font-size: 14px; }
.method-card small { margin-top: 4px; color: #95897e; font-size: 9px; }
.method-radio { width: 19px; height: 19px; border: 1px solid #c5b59e; border-radius: 50%; }
.selected .method-radio { border: 5px solid #171614; background: #fff; }
.store-picker { margin-top: 18px; padding-top: 18px; border-top: 1px solid #ece3d7; }
.store-picker h3 { margin: 0; font-size: 16px; }
.store-picker > p { margin: 5px 0 0; color: #978b81; font-size: 10px; }
.store-option { display: flex; gap: 10px; width: 100%; margin-top: 10px; padding: 13px; border: 1.5px solid #e3d9cc; border-radius: 14px; color: #342d26; background: #fcfaf7; text-align: left; }
.store-option.selected { border-color: #bc8840; background: #fff8eb; }
.store-option > i { width: 21px; height: 21px; flex: 0 0 21px; border: 1.5px solid #c5b59f; border-radius: 50%; }
.store-option.selected > i { border: 6px solid #1b1916; background: #fff; }
.store-option div { min-width: 0; }
.store-option b { font-size: 13px; }
.store-option em { margin-right: 7px; padding: 3px 6px; border-radius: 5px; color: #2b241d; background: #e9c985; font-size: 9px; font-style: normal; }
.store-option span, .store-option small { display: block; margin-top: 6px; color: #6d6258; font-size: 10px; line-height: 1.45; }
.store-option small { color: #9a8d82; }
.store-empty { margin-top: 11px; padding: 13px; border-radius: 12px; color: #8f8074; background: #f7f2ea; font-size: 11px; line-height: 1.6; }
.navigation-link { display: flex; justify-content: space-between; width: 100%; margin-top: 10px; padding: 11px 13px; border: 0; border-radius: 12px; color: #e5c17d; background: #1a1917; font-size: 11px; }
.step-actions { display: grid; gap: 10px; margin-top: 17px; padding-top: 16px; border-top: 1px solid #eee4d8; }
.step-actions .primary-button { margin-top: 0; }
.text-button { min-height: 40px; border: 0; color: #866d4d; background: transparent; font-size: 12px; font-weight: 650; }
.information-head { display: flex; justify-content: space-between; gap: 12px; }
.information-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; color: #d6aa61; background: #191816; font-weight: 750; }
.wizard-form label { display: grid; gap: 7px; margin-top: 15px; color: #4e463e; font-size: 13px; font-weight: 650; }
.region-field { min-width: 0; margin: 15px 0 0; padding: 0; border: 0; }
.region-field legend { margin-bottom: 7px; padding: 0; color: #4e463e; font-size: 13px; font-weight: 650; }
.region-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.region-picker label { min-width: 0; margin-top: 0; gap: 6px; color: #8b7f75; font-size: 10px; font-weight: 500; }
.region-picker select { min-width: 0; padding: 0 8px; font-size: 12px; text-overflow: ellipsis; }
.region-picker select:disabled { color: #aaa097; background: #f3f0eb; }
.region-loading { display: grid; min-height: 50px; place-items: center; border: 1px solid #ded2c0; border-radius: 13px; color: #968a80; background: #f8f5ef; font-size: 11px; font-weight: 500; }
.readonly-field { display: flex; min-height: 50px; align-items: center; padding: 0 14px; border: 1px solid #ded2c0; border-radius: 13px; color: #2f2923; background: #fcfaf6; font-weight: 500; }
.pickup-note { display: flex; gap: 10px; margin-top: 17px; padding: 13px; border-radius: 13px; color: #6c5b49; background: #f7eedf; font-size: 11px; line-height: 1.5; }
.pickup-note > b { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border-radius: 10px; color: #181511; background: #dfba73; }
.pickup-note strong, .pickup-note small { display: block; }
.pickup-note small { margin-top: 3px; color: #8b7c6c; }
.submit-summary { display: flex; min-width: 0; justify-content: space-between; gap: 10px; margin-top: 16px; padding: 11px 13px; border-radius: 11px; color: #765426; background: #f8edd9; font-size: 11px; font-weight: 650; }
.submit-summary span { min-width: 0; overflow-wrap: anywhere; }

.profile-card { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 20px; border-radius: 20px; color: #fff9ec; background: radial-gradient(circle at 90% 10%, rgba(220,86,22,.34), transparent 30%), linear-gradient(135deg, #111, #292520); box-shadow: 0 8px 20px rgba(24,21,18,.18); }
.profile-card > span { display: grid; width: 56px; height: 56px; place-items: center; border: 1px solid rgba(216,174,105,.55); border-radius: 50%; color: #dbb36d; font-family: serif; font-size: 27px; }
.profile-card h1 { margin: 0; font-size: 22px; }
.profile-card p { margin: 5px 0 0; color: rgba(235,224,207,.82); font-size: 11px; }
.profile-logout { padding: 7px 0 7px 8px; border: 0; color: #d9b773; background: transparent; font-size: 10px; white-space: nowrap; }
.mine-heading { display: flex; justify-content: space-between; align-items: center; margin: 24px 3px 11px; }
.mine-heading h2 { margin: 0; font-size: 18px; }
.mine-heading span { color: #9a8d84; font-size: 11px; }
.gift-card-record { margin-bottom: 12px; padding: 19px; overflow: hidden; border-radius: 19px; color: #fff9ec; background: radial-gradient(circle at 94% 12%, rgba(220,86,22,.32), transparent 30%), linear-gradient(140deg, #111 0%, #1d1c1a 58%, #30251e 100%); box-shadow: 0 8px 20px rgba(24,21,18,.15); }
.record-top { display: flex; justify-content: space-between; gap: 12px; }
.gift-brand { color: #d8aa60; font-size: 10px; letter-spacing: 2px; }
.gift-card-record h3 { margin: 6px 0 0; font-size: 17px; }
.status-pill { align-self: flex-start; padding: 5px 9px; border-radius: 99px; color: #292117; background: #d9ad63; font-size: 10px; }
.gift-number { margin-top: 20px; font-family: monospace; font-size: 16px; letter-spacing: 1px; }
.gift-card-record > p { margin: 7px 0 0; color: rgba(255,246,231,.76); font-size: 11px; }
.record-actions { display: flex; gap: 7px; margin-top: 15px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); }
.record-actions button { min-height: 38px; flex: 1; padding: 0 7px; border: 1px solid rgba(255,255,255,.38); border-radius: 99px; color: #fff4df; background: transparent; font-size: 11px; }
.record-actions .gold-button { border: 0; color: #1b1712; background: #d9ad63; font-weight: 700; }
.record-card { margin-bottom: 10px; padding: 17px; border: 1px solid rgba(120,78,46,.1); border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(96,61,33,.04); }
.record-card h3 { margin: 0; font-size: 14px; }
.record-card .record-no { margin-top: 4px; color: #968a82; font-family: monospace; font-size: 10px; }
.record-card p { margin: 9px 0 0; color: #65584f; font-size: 11px; line-height: 1.55; }
.record-card .highlight { color: #8a642d; font-weight: 700; }
.record-card .result { padding: 10px; border-radius: 9px; color: #75562e; background: #f9eed9; }
.pickup-code { margin-top: 13px; padding: 14px; border: 1px solid rgba(205,158,79,.42); border-radius: 13px; color: #e5c17d; background: linear-gradient(135deg, #151412, #2d261f); text-align: center; }
.pickup-code b { display: block; margin-top: 5px; color: #f0ce8c; font-size: 29px; letter-spacing: 7px; }
.pickup-code small { display: block; margin-top: 5px; color: #9b8c7f; font-size: 9px; }
.section-empty { padding: 22px; border: 1px dashed #ded0c2; border-radius: 14px; color: #9b918a; background: rgba(255,255,255,.58); text-align: center; font-size: 12px; }
.section-empty button { margin-top: 8px; border: 0; color: #b77b31; background: transparent; font-weight: 650; }
.pending-tip { margin-top: 13px; padding: 10px; border-radius: 10px; color: #6c4b20; background: #f2ddaf; font-size: 11px; }
.device-note { display: block; margin: 27px auto 0; padding: 9px; border: 0; color: #968b82; background: transparent; font-size: 10px; text-decoration: underline; }
.loading-state { padding: 90px 10px; color: #978c83; text-align: center; font-size: 12px; }

.tabbar { position: fixed; z-index: 60; right: max(0px, calc((100vw - 520px) / 2)); bottom: 0; left: max(0px, calc((100vw - 520px) / 2)); display: grid; grid-template-columns: repeat(4, 1fr); height: calc(67px + env(safe-area-inset-bottom)); padding: 7px 5px env(safe-area-inset-bottom); border-top: 1px solid rgba(101,77,54,.09); background: rgba(255,253,249,.97); backdrop-filter: blur(14px); }
.tabbar button { display: grid; justify-items: center; align-content: center; gap: 2px; border: 0; color: #91877e; background: transparent; }
.tabbar span { display: grid; width: 28px; height: 28px; place-items: center; border: 1.5px solid currentColor; border-radius: 9px; font-family: STSong, SimSun, serif; font-size: 13px; line-height: 1; }
.tabbar b { font-size: 10px; font-weight: 500; }
.tabbar button.active { color: #b98034; }
.tabbar button.active b { font-weight: 700; }
.tabbar.festival-mode span { transform-origin: center; animation: festival-sway 2.4s ease-in-out infinite; }
.tabbar.festival-mode button:nth-child(2) span { animation-delay: -.3s; }
.tabbar.festival-mode button:nth-child(3) span { animation-delay: -.6s; }
.tabbar.festival-mode button:nth-child(4) span { animation-delay: -.9s; }

@keyframes festival-sway {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .tabbar.festival-mode span { animation: none; }
}

.toast { position: fixed; z-index: 100; left: 50%; bottom: 92px; max-width: min(78vw, 400px); padding: 10px 16px; border-radius: 99px; color: #fff; background: rgba(20,19,17,.92); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
dialog { width: min(380px, calc(100vw - 42px)); padding: 0; border: 0; border-radius: 20px; color: #302821; background: #fff; box-shadow: 0 25px 80px rgba(0,0,0,.3); }
dialog::backdrop { background: rgba(16,13,11,.6); backdrop-filter: blur(3px); }
.dialog-card { padding: 26px 24px 22px; text-align: center; }
.dialog-card h2 { margin: 0; font-family: STSong, SimSun, serif; font-size: 21px; }
.dialog-card p { margin: 13px 0 20px; color: #766a61; font-size: 13px; line-height: 1.7; white-space: pre-line; }
.dialog-card button { width: 100%; min-height: 45px; border: 0; border-radius: 99px; color: #fff8e9; background: #1b1917; font-weight: 700; }
.login-card { padding: 25px 23px 20px; }
.login-brand { display: flex; align-items: center; gap: 12px; }
.login-brand > span { display: grid; width: 46px; height: 46px; place-items: center; flex: 0 0 46px; border-radius: 15px; color: #e5bd76; background: #171614; font-family: STSong, SimSun, serif; font-size: 22px; }
.login-brand small, .login-brand b { display: block; }
.login-brand small { color: #a77b3e; font-size: 8px; letter-spacing: 1.8px; }
.login-brand b { margin-top: 3px; font-size: 19px; }
.login-card > p { margin: 17px 0 19px; color: #81766d; font-size: 12px; line-height: 1.65; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 4px; border-radius: 13px; background: #f3eee6; }
.auth-tabs button { min-height: 38px; border: 0; border-radius: 10px; color: #8a7d70; background: transparent; font-size: 13px; font-weight: 650; }
.auth-tabs button.active { color: #fff7e9; background: #1a1917; box-shadow: 0 4px 10px rgba(26,25,23,.16); }
.login-card form > label { display: grid; gap: 8px; margin-top: 14px; color: #4b433c; font-size: 13px; font-weight: 650; }
.login-card .primary-button { margin-top: 22px; }
.forgot-password { display: block; margin: 10px auto 0; padding: 5px 10px; border: 0; color: #9a7645; background: transparent; font-size: 11px; }
.login-cancel { display: block; width: 100%; min-height: 38px; margin-top: 7px; border: 0; color: #8c7b6b; background: transparent; font-size: 12px; }
.login-note { display: block; margin-top: 5px; color: #a1958a; font-size: 9px; line-height: 1.55; text-align: center; }

@media (min-width: 521px) {
  body { padding: 28px 0; }
  .app-shell { min-height: calc(100vh - 56px); border-radius: 34px; }
  .app-header { border-radius: 34px 34px 0 0; }
  .tabbar { right: calc((100vw - 520px) / 2); left: calc((100vw - 520px) / 2); bottom: 28px; border-radius: 0 0 34px 34px; }
  .view { min-height: calc(100vh - 112px); }
}

@media (max-width: 360px) {
  .page-body { padding-inline: 12px; }
  .service-grid b { font-size: 13px; }
  .method-grid { grid-template-columns: 1fr; }
  .feature-steps { width: 70%; }
}
