/* 手机领奖页：320～430px 竖屏，自适应原生表单，不复用电视端画布。 */
html,
body {
  margin: 0;
  padding: 0;
  min-width: 320px;
  min-height: 100%;
  background: #071538;
  color: #f8f4e8;
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

body {
  overflow-x: hidden;
}

button,
input,
textarea {
  box-sizing: border-box;
  font: inherit;
}

.claim-app {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #071538 url("../img/bg.png?v=20260908b") center top / auto 100% no-repeat;
}

.claim-app::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(4, 13, 47, 0.34), rgba(5, 16, 54, 0.9));
  content: "";
}

.claim-header,
.claim-main,
.claim-footer {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 430px;
  margin-right: auto;
  margin-left: auto;
}

.claim-header {
  padding: 22px 20px 8px;
}

.claim-brand {
  color: #ffd36f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.claim-mark {
  margin-top: 18px;
  color: #d7e4ff;
  font-size: 15px;
  letter-spacing: 3px;
}

.claim-main {
  padding: 12px 16px 80px;
}

.claim-card {
  box-sizing: border-box;
  width: 100%;
  padding: 28px 20px 30px;
  border: 1px solid rgba(183, 210, 255, 0.28);
  border-radius: 20px;
  background: rgba(5, 18, 57, 0.87);
  box-shadow: 0 20px 50px rgba(0, 5, 24, 0.3);
}

.claim-card.hidden {
  display: none;
}

.claim-button.hidden {
  display: none;
}

.claim-kicker {
  color: #ffd36f;
  font-size: 11px;
  letter-spacing: 3px;
}

.claim-card h1 {
  margin: 15px 0 12px;
  color: #fff8e2;
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: 1px;
}

.claim-card p {
  margin: 0;
  color: #aebfe6;
  font-size: 14px;
  line-height: 1.75;
}

.claim-message {
  margin-top: 14px;
  text-align: center;
}

.claim-message .claim-button {
  margin-top: 25px;
}

.prize-strip {
  box-sizing: border-box;
  margin: 20px 0 0;
  padding: 14px 15px;
  border-left: 3px solid #ffd36f;
  background: rgba(15, 42, 102, 0.68);
}

.prize-strip span {
  display: block;
  color: #8fa9db;
  font-size: 12px;
  letter-spacing: 1px;
}

.prize-strip strong {
  display: block;
  margin-top: 6px;
  color: #fff8e2;
  font-size: 18px;
  line-height: 1.45;
  word-break: break-all;
}

.deadline-line {
  margin-top: 14px;
  color: #aebfe6;
  font-size: 13px;
}

.deadline-line strong {
  color: #ffd36f;
}

.privacy-note {
  margin-top: 18px !important;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 211, 111, 0.08);
  color: #d2ddf4 !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
}

.field-group {
  margin-top: 18px;
}

.field-group label {
  display: block;
  margin-bottom: 8px;
  color: #eaf0ff;
  font-size: 14px;
}

.field-group input,
.field-group textarea,
.field-group select {
  display: block;
  width: 100%;
  border: 1px solid rgba(170, 198, 248, 0.42);
  border-radius: 10px;
  outline: none;
  background: rgba(7, 24, 69, 0.92);
  color: #fff8e2;
  font-size: 16px;
  line-height: 1.45;
}

.field-group select {
  height: 46px;
  min-width: 0;
  padding: 0 8px;
  appearance: none;
  -webkit-appearance: none;
  background-color: rgba(7, 24, 69, 0.92);
  background-image: linear-gradient(45deg, transparent 50%, #aebfe6 50%), linear-gradient(135deg, #aebfe6 50%, transparent 50%);
  background-position: calc(100% - 14px) 19px, calc(100% - 9px) 19px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  color: #fff8e2;
  font-size: 14px;
}

.field-group input {
  height: 46px;
  padding: 0 13px;
}

.field-group textarea {
  min-height: 96px;
  padding: 11px 13px;
  resize: vertical;
}

.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
  border-color: #ffd36f;
  box-shadow: 0 0 0 3px rgba(255, 211, 111, 0.14);
}

.field-group input::placeholder,
.field-group textarea::placeholder,
.field-group select:disabled {
  color: #738abd;
}

.address-picker {
  margin-top: 2px;
}

.address-picker .hidden {
  display: none;
}

.address-picker-hint,
.address-picker-status {
  color: #8fa9db;
  font-size: 12px;
  line-height: 1.55;
}

.address-picker-hint {
  margin-bottom: 9px;
}

.address-picker-status {
  min-height: 19px;
  margin-top: 6px;
}

.address-picker-status:empty {
  min-height: 0;
}

.address-picker-row {
  display: flex;
  width: 100%;
  gap: 8px;
}

.address-picker-row select {
  flex: 1 1 0;
  width: 0;
}

.address-picker-row select:disabled {
  cursor: default;
  opacity: 0.66;
}

.address-detail-label,
.address-picker-fallback label {
  display: block;
  margin-bottom: 8px;
  color: #eaf0ff;
  font-size: 13px;
}

.address-detail-label {
  margin-top: 12px;
}

.address-manual-toggle {
  display: block;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffd36f;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

.address-manual-toggle { -webkit-tap-highlight-color: transparent; }
.address-manual-toggle:focus { outline: none; }
.address-manual-toggle:focus-visible {
  outline: 1px solid #ffd36f;
  outline-offset: 3px;
}

.address-picker-fallback {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px dashed rgba(183, 210, 255, 0.2);
}

.address-picker-fallback label {
  color: #aebfe6;
  font-size: 12px;
}

.field-error {
  min-height: 19px;
  margin-top: 5px;
  color: #ffbd8e;
  font-size: 12px;
  line-height: 1.5;
}

.claim-button {
  display: block;
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(183, 210, 255, 0.38);
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.claim-button.primary {
  border-color: #ffd36f;
  background: #ffd36f;
  color: #18275a;
}

.claim-button.secondary {
  background: rgba(12, 35, 89, 0.82);
  color: #f8f4e8;
}

.claim-button:disabled {
  cursor: default;
  opacity: 0.58;
}

#claim_review_button {
  margin-top: 11px;
}

.review-hint {
  margin-top: 5px !important;
}

.review-list,
.result-list {
  margin-top: 23px;
  border-top: 1px solid rgba(183, 210, 255, 0.2);
}

.review-list > div,
.result-list > div {
  padding: 13px 0;
  border-bottom: 1px solid rgba(183, 210, 255, 0.13);
}

.review-list span,
.result-list span {
  display: block;
  color: #8fa9db;
  font-size: 12px;
}

.review-list strong,
.result-list strong {
  display: block;
  margin-top: 5px;
  color: #fff8e2;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  word-break: break-all;
}

.review-actions {
  display: flex;
  width: 100%;
  gap: 12px;
  margin-top: 24px;
}

.review-actions .claim-button {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  white-space: nowrap;
}

.submit-status {
  min-height: 23px;
  margin-top: 14px;
  color: #ffcf77;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.result-badge {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid rgba(255, 211, 111, 0.48);
  border-radius: 14px;
  color: #ffd36f;
  font-size: 12px;
}

.result-note {
  margin-top: 19px !important;
  color: #aebfe6 !important;
  font-size: 12px !important;
}

#claim_edit_button {
  margin-top: 25px;
}

.claim-footer {
  padding: 0 20px 24px;
  color: #7189bb;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

@media (min-width: 400px) {
  .claim-header {
    padding-right: 24px;
    padding-left: 24px;
  }

  .claim-main {
    padding-right: 24px;
    padding-left: 24px;
  }

  .claim-card {
    padding-right: 24px;
    padding-left: 24px;
  }
}

.address-map-trigger{display:block;width:100%;margin:12px 0 8px;padding:12px 16px;border:1px solid #8099c2;border-radius:10px;background:#173563;color:#fff2c4;font-size:16px;text-align:center;-webkit-tap-highlight-color:transparent}
.address-map-overlay{position:fixed;inset:0;z-index:1000;background:rgba(0,8,30,.75);display:flex;align-items:center;justify-content:center;padding:12px}
.address-map-panel{width:100%;max-width:520px;max-height:95vh;overflow:auto;background:#fff;color:#173052;border-radius:16px;padding:16px;box-sizing:border-box}
.address-map-heading{font-size:18px;font-weight:bold;display:flex;align-items:center;justify-content:space-between;gap:12px}
.address-map-close{border:0;background:#edf1f7;color:#173052;padding:9px 14px;border-radius:8px;font-size:14px}
.address-map-hint,.address-map-preview{font-size:13px;line-height:1.6;margin:12px 0;overflow-wrap:anywhere}
.address-map-panel iframe{display:block;width:100%;height:52vh;min-height:240px;border:0;background:#edf1f7}
.address-map-panel>.claim-button{width:100%}
