/* YOME CSS source: styles.css */
:root{--ink:#17372e;--green:#184c3d;--lime:#d9ef9c;--cream:#f5f1e8;--paper:#fffdfa;--muted:#6f7d77;--line:#dde4df;--gold:#e9bd63;--coral:#ef9378;--shadow:0 18px 48px rgba(23,55,46,.09)}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',sans-serif}.app{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:var(--green);color:white;padding:32px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;color:white;text-decoration:none;font-size:21px;font-weight:700;margin:0 10px 48px}.brand b{color:var(--lime)}.brand-mark{width:38px;height:38px;border:1px solid rgba(255,255,255,.35);border-radius:50%;display:grid;place-items:center;font-family:'Playfair Display';font-style:italic}.sidebar nav{display:grid;gap:7px}.nav{border:0;background:transparent;color:#c4d4ce;padding:13px 14px;border-radius:10px;text-align:left;font:600 14px inherit;display:flex;align-items:center;gap:13px;cursor:pointer}.nav span{font-size:18px}.nav:hover,.nav.active{background:rgba(255,255,255,.11);color:white}.member-card{margin-top:auto;border-top:1px solid rgba(255,255,255,.16);padding:22px 4px 0;display:flex;gap:11px;align-items:center}.member-card small{display:block;color:#a9beb6;margin-top:3px}.mini-avatar,.avatar{width:40px;height:40px;border-radius:50%;background:var(--lime);color:var(--ink);display:grid;place-items:center;font-weight:700;font-size:13px}main{margin-left:230px;min-height:100vh}header{height:94px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;background:rgba(245,241,232,.88);backdrop-filter:blur(12px);position:sticky;top:0;z-index:10;border-bottom:1px solid rgba(23,55,46,.06)}header small,.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:700;color:#7c8c85}header h1{font:700 25px 'Playfair Display';margin:5px 0 0}.header-actions{display:flex;gap:14px;align-items:center}.points-pill{border:1px solid #d5ddd8;background:var(--paper);border-radius:99px;padding:10px 16px;color:var(--ink);cursor:pointer}.points-pill span{color:#c19031}.menu{display:none}.view{display:none;padding:36px 5% 70px;max-width:1500px;margin:auto}.view.active{display:block}.hero{min-height:330px;border-radius:24px;background:var(--green);color:white;display:grid;grid-template-columns:1.45fr .75fr;gap:35px;padding:48px 5%;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(255,255,255,.1);border-radius:50%;right:-150px;top:-180px;box-shadow:0 0 0 45px rgba(255,255,255,.025),0 0 0 90px rgba(255,255,255,.02)}.hero-copy{position:relative;z-index:1}.hero .eyebrow{color:var(--lime)}.hero h2,.section-intro h2{font:700 45px/1.08 'Playfair Display';margin:16px 0}.hero h2 em{color:var(--lime)}.hero p{color:#c4d5cf;max-width:520px}.hero-actions{display:flex;gap:11px;margin-top:28px}.primary,.secondary,.wide{border:0;border-radius:9px;padding:13px 20px;font:700 13px inherit;cursor:pointer}.primary{background:var(--lime);color:var(--ink)}.secondary{background:transparent;border:1px solid rgba(255,255,255,.35);color:white}.hero-balance{align-self:center;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);padding:28px;border-radius:18px;position:relative;z-index:1}.hero-balance>span{font-size:12px;color:#cbd9d4}.hero-balance>strong{font:700 50px 'Playfair Display';display:block;margin:7px 0}.hero-balance>small{color:#cbd9d4}.level-line{height:5px;background:rgba(255,255,255,.18);border-radius:9px;margin:25px 0 9px}.level-line i{height:100%;display:block;background:var(--lime);border-radius:9px}.hero-balance>div:last-child{display:flex;justify-content:space-between;font-size:11px}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:22px 0}.quick,.panel{background:var(--paper);border:1px solid rgba(23,55,46,.08);border-radius:17px;box-shadow:var(--shadow)}.quick{padding:22px;display:flex;gap:17px;align-items:center}.quick-icon{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;font-size:21px}.mint{background:#dceee7}.gold{background:#f7e7bd}.coral{background:#f8ded6}.quick small{font-size:9px;letter-spacing:.1em;color:var(--muted)}.quick strong{font:700 27px 'Playfair Display';display:block;margin:4px 0}.quick p{margin:0;color:var(--muted);font-size:12px}.two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.panel{padding:28px}.panel-head{display:flex;justify-content:space-between;align-items:flex-start}.panel h3{font:700 23px 'Playfair Display';margin:8px 0}.eyebrow.dark{color:#82908a}.level-badge{background:var(--lime);font-size:10px;padding:7px 11px;border-radius:99px;font-weight:700}.steps{margin:18px 0}.step{display:flex;gap:13px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.step>b{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);font-size:11px}.step.done>b{background:var(--green);color:white}.step.current>b{border-color:#b4ca71;background:#eff7d8}.step span{display:flex;flex-direction:column}.step small{color:var(--muted);margin-top:3px}.wide{width:100%;border:1px solid var(--line);background:white;color:var(--ink)}.wheel-card{display:grid;grid-template-columns:1fr 170px;align-items:center;background:#eff1d5;overflow:hidden}.wheel-card p,.section-intro p{color:var(--muted)}.mini-wheel{width:160px;height:160px;border-radius:50%;background:conic-gradient(var(--gold) 0 17%,#f8ddd0 17% 34%,var(--green) 34% 51%,var(--lime) 51% 68%,#e6d8f3 68% 84%,#f2c3aa 84%);display:grid;place-items:center;border:10px solid white;transform:rotate(9deg)}.mini-wheel span{width:58px;height:58px;background:white;border-radius:50%;display:grid;place-items:center;font-size:24px}.section-intro{max-width:720px;margin-bottom:28px}.section-intro.centered{text-align:center;margin:0 auto 30px}.invoice-layout,.spin-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px}.dropzone{min-height:280px;border:2px dashed #bdcbc5;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;text-align:center;background:#fafbf8}.dropzone input{display:none}.dropzone span,.result-empty span{font-size:35px;color:#6f9688}.dropzone strong{margin:12px}.dropzone small{color:var(--muted)}#previewArea{text-align:center;margin-bottom:14px}#invoicePreview{max-height:270px;max-width:100%;border-radius:10px}.text-button{display:block;margin:7px auto;border:0;background:none;text-decoration:underline;color:var(--ink);cursor:pointer}.status{text-align:center;min-height:20px;color:var(--muted);font-size:13px}.result-empty{height:310px;display:grid;place-content:center;text-align:center;color:var(--muted)}dl{margin:30px 0}dl div{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:16px 0}dt{color:var(--muted)}dd{font-weight:700}.points-earned{background:var(--green);color:white;border-radius:13px;padding:22px;display:flex;justify-content:space-between;align-items:center;margin:22px 0}.points-earned strong{font:700 30px 'Playfair Display';color:var(--lime)}.tier-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.tier{padding:24px;background:var(--paper);border:1px solid var(--line);border-radius:15px}.tier>span{font-size:9px;letter-spacing:.15em;color:var(--muted)}.tier h3{font:700 23px 'Playfair Display';margin:10px 0}.tier strong{color:#6e8d3c}.tier p{color:var(--muted);font-size:13px}.active-tier{background:var(--green);color:white}.active-tier p,.active-tier>span{color:#bbcec7}.active-tier strong{color:var(--lime)}.invite-panel{margin:20px 0;display:flex;align-items:center;justify-content:space-between}.invite-panel p{color:var(--muted)}.invite-box{display:flex;background:#f1f4ef;padding:7px;border-radius:9px}.invite-box code{padding:10px}.invite-box button{border:0;background:var(--green);color:white;border-radius:6px;padding:0 16px;cursor:pointer}.network-table .panel-head{border-bottom:1px solid var(--line);padding-bottom:15px}.person-row{display:flex;align-items:center;gap:13px;padding:16px 0;border-bottom:1px solid var(--line)}.person-row div:nth-child(2){flex:1}.person-row small{display:block;color:var(--muted)}.person-row>b{font-size:11px;color:#4d8245;background:#e4f2df;padding:7px 10px;border-radius:99px}.lilac{background:#e8ddf2}.orange{background:#f6ddca}.spin-layout{align-items:center;max-width:900px;margin:auto}.wheel-wrap{position:relative;padding:20px}.wheel{width:390px;height:390px;max-width:100%;aspect-ratio:1;border-radius:50%;margin:auto;background:conic-gradient(#efba59 0 60deg,#f4d7c8 60deg 120deg,#1d5948 120deg 180deg,#d9ef9c 180deg 240deg,#d5c2e5 240deg 300deg,#ed8e70 300deg);border:13px solid white;box-shadow:0 12px 40px rgba(23,55,46,.18);position:relative;transition:transform 4.5s cubic-bezier(.12,.6,.08,1)}.wheel-center{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:86px;height:86px;border-radius:50%;background:white;display:grid;place-items:center;font:italic 700 40px 'Playfair Display';box-shadow:0 3px 12px #0002}.wheel-labels span{position:absolute;font-size:12px;font-weight:700}.wheel-labels span:nth-child(1){top:13%;left:45%}.wheel-labels span:nth-child(2){top:28%;right:9%;transform:rotate(60deg)}.wheel-labels span:nth-child(3){bottom:26%;right:5%;transform:rotate(120deg)}.wheel-labels span:nth-child(4){bottom:11%;left:45%;transform:rotate(180deg)}.wheel-labels span:nth-child(5){bottom:27%;left:9%;transform:rotate(240deg)}.wheel-labels span:nth-child(6){top:27%;left:8%;transform:rotate(300deg)}.pointer{position:absolute;z-index:2;top:1px;left:50%;transform:translateX(-50%);width:0;height:0;border-left:14px solid transparent;border-right:14px solid transparent;border-top:32px solid var(--ink)}.spin-card p{color:var(--muted);line-height:1.6}.spin-card>small{display:block;margin-top:14px;color:var(--muted);font-size:10px}.reward-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:35px auto;max-width:900px}.reward-strip article{background:var(--paper);border:1px solid var(--line);padding:18px;border-radius:12px;display:grid;text-align:center;gap:5px}.reward-strip article>span{font-size:25px}.reward-strip small{color:var(--muted)}.benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.benefit{min-height:220px;background:var(--paper);padding:28px;border-radius:16px;border:1px solid var(--line);position:relative}.benefit>span{font:700 35px 'Playfair Display';color:#d7ded9}.benefit h3{font:700 23px 'Playfair Display'}.benefit p{color:var(--muted);line-height:1.6}.benefit b{position:absolute;bottom:24px;font-size:10px;letter-spacing:.12em;color:#6b8c3d}.benefit.featured{background:var(--green);color:white}.benefit.featured p{color:#bed0c9}.benefit.featured b{color:var(--lime)}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#122e26;color:white;padding:13px 20px;border-radius:9px;opacity:0;pointer-events:none;transition:.25s;z-index:50;box-shadow:var(--shadow)}.toast.show{opacity:1;transform:translate(-50%,0)}button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:950px){.sidebar{transform:translateX(-100%);transition:.25s}.sidebar.open{transform:none}main{margin-left:0}.menu{display:block;border:0;background:none;font-size:22px}.hero,.two-col,.invoice-layout,.spin-layout{grid-template-columns:1fr}.quick-grid,.tier-grid,.benefit-grid{grid-template-columns:repeat(2,1fr)}.wheel-card{grid-template-columns:1fr 130px}.mini-wheel{width:125px;height:125px}.invite-panel{align-items:flex-start;gap:20px;flex-direction:column}}@media(max-width:620px){header{padding:0 18px}.view{padding:24px 18px 55px}.points-pill{font-size:0}.points-pill b,.points-pill span{font-size:13px}.hero{padding:34px 25px}.hero h2,.section-intro h2{font-size:37px}.hero-balance>strong{font-size:42px}.quick-grid,.tier-grid,.benefit-grid,.reward-strip{grid-template-columns:1fr}.two-col{grid-template-columns:1fr}.wheel-card{grid-template-columns:1fr}.mini-wheel{display:none}.invite-box{width:100%;overflow:hidden}.invite-box code{font-size:11px}.wheel{width:315px}.spin-card{text-align:center}}


/* YOME CSS source: yome.css */
:root {
  --ink: #071f50;
  --green: #082867;
  --lime: #fff;
  --cream: #f4f6fb;
  --paper: #fff;
  --muted: #6c7892;
  --line: #dce2ee;
  --gold: #9ebcf7;
  --coral: #5f88da;
  --shadow: 0 18px 48px rgba(7, 31, 80, 0.1);
}

/* Referral details shown below the Mi YOME card. */
.team-empty-state{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 0}.team-empty-state small{color:#7a8799}.team-member-list{display:grid;gap:8px;width:100%}.team-member-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(125px,1fr) minmax(105px,.7fr);gap:12px;align-items:center;padding:10px 12px;border:1px solid #e0e8f2;border-radius:8px;background:#fbfdff}.team-member-person{display:flex;align-items:center;gap:9px;min-width:0}.team-member-person>b{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#0b8c7a;color:#fff;font-size:11px}.team-member-person div{min-width:0}.team-member-person strong,.team-member-person small,.team-member-status small,.team-member-earned small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-member-person strong{color:#18345f;font-size:13px}.team-member-person small,.team-member-status small,.team-member-earned small{margin-top:2px;color:#7a8799;font-size:10px}.team-member-status{min-width:0}.team-status-badge{display:inline-block;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:700}.team-status-badge.is-active{color:#0b6b4d;background:#e4f6ee}.team-status-badge.is-registered{color:#6b5a17;background:#fff5d7}.team-member-earned{text-align:right}.team-member-earned strong{display:block;color:#0b418d;font-size:16px}.team-list-limit{display:block;margin-top:6px;color:#7a8799;font-size:10px}.my-yome-team-stats{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:650px){.team-empty-state{align-items:flex-start;flex-direction:column}.team-member-row{grid-template-columns:1fr 1fr;gap:8px}.team-member-earned{text-align:left}.team-member-earned strong{font-size:14px}.my-yome-team-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.sidebar {
  background: linear-gradient(155deg, #051b49, #0a347c);
}
.brand {
  margin-left: 4px;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  border: 2px solid white;
  object-fit: cover;
}
.brand b {
  color: #aecaff;
}
.nav:hover,
.nav.active {
  background: #fff;
  color: #082867;
}
.mini-avatar,
.avatar {
  background: white;
  color: #082867;
  border: 2px solid #c9d8f4;
}
.hero {
  background: linear-gradient(135deg, #061d4d, #0b367e);
  border: 5px double rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(4, 28, 72, 0.18);
}
.hero .eyebrow,
.hero h2 em,
.points-earned strong {
  color: white;
}
.primary {
  background: #0b367e;
  color: white;
}
.secondary {
  border: 2px solid white;
}
.level-badge,
.level-line i {
  background: #8db1f2;
}
.quick-icon.mint,
.quick-icon.gold,
.quick-icon.coral {
  background: #e7eefc;
  color: #082867;
}
.wheel-card {
  background: #eaf0fb;
}
.active-tier,
.points-earned,
.benefit.featured {
  background: #082867;
}
.active-tier strong,
.benefit.featured b {
  color: #b9cff7;
}
.invite-box button {
  background: #082867;
}
.register-link {
  border: 0;
  background: transparent;
  color: #082867;
  font: 700 12px inherit;
  text-decoration: underline;
  cursor: pointer;
}
.member-logout {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #c4d1e5;
  border-radius: 9px;
  padding: 8px 11px;
  background: #fff;
  color: #6b7890;
  font: 700 11px inherit;
  cursor: pointer;
}
.member-logout:hover {
  border-color: #082867;
  color: #082867;
}
.guest-mode .member-logout {
  display: none;
}
.wide:hover,
.primary:hover {
  filter: brightness(1.08);
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 18, 50, 0.82);
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-backdrop[hidden] {
  display: none;
}
.register-modal {
  width: min(500px, 100%);
  max-height: 94vh;
  overflow: auto;
  background: white;
  border: 5px double #0a3278;
  border-radius: 22px;
  padding: 34px;
  position: relative;
  box-shadow: 0 30px 90px #00102c99;
}
.modal-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 9px;
  float: right;
  margin-right: 12px;
}
.register-modal h2 {
  font: 700 32px "Playfair Display";
  margin: 10px 0;
}
.register-modal > p {
  color: var(--muted);
  line-height: 1.5;
  clear: both;
}
.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  background: #e9eef8;
  color: #082867;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 19px;
  cursor: pointer;
}
.register-modal form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.register-modal label {
  font-size: 12px;
  font-weight: 700;
}
.register-modal input {
  width: 100%;
  border: 1px solid #ccd5e7;
  padding: 13px;
  border-radius: 8px;
  margin-top: 6px;
  font: 14px inherit;
  outline: none;
}
.register-modal input:focus {
  border-color: #3869bd;
  box-shadow: 0 0 0 3px #dce8fb;
}
.phone-field,
.code-field {
  display: flex;
  align-items: center;
  border: 1px solid #ccd5e7;
  border-radius: 8px;
}
.phone-field > span {
  padding: 0 13px;
  border-right: 1px solid var(--line);
  font-weight: 700;
}
.phone-field input,
.code-field input {
  border: 0;
  margin: 0;
  box-shadow: none;
}
.code-field button {
  border: 0;
  background: #e5ecf9;
  color: #082867;
  font: 700 11px inherit;
  padding: 13px;
  border-radius: 6px;
  margin-right: 4px;
  white-space: nowrap;
  cursor: pointer;
}
.terms {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 500 !important;
}
.terms input {
  width: auto;
  margin: 2px 0;
}
.form-status {
  min-height: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.toast {
  z-index: 70;
  background: #061d4d;
}
@media (max-width: 620px) {
  .register-link {
    display: none;
  }
  .register-modal {
    padding: 28px 22px;
  }
  .brand img {
    width: 43px;
    height: 43px;
  }
  .member-logout {
    width: 34px;
    height: 34px;
    justify-content: center;
    padding: 0;
    font-size: 0;
  }
  .member-logout span {
    font-size: 16px;
  }
}
.wallet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
}
.reward-ticket {
  background: linear-gradient(145deg, #082867, #0c3e8e);
  color: white;
  border: 5px double white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.ticket-top,
.ticket-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ticket-top span {
  font-size: 10px;
  letter-spacing: 0.16em;
}
.ticket-top b {
  font-size: 10px;
  background: white;
  color: #082867;
  padding: 6px 9px;
  border-radius: 99px;
}
.reward-ticket h3 {
  font-size: 28px;
  margin: 30px 0 8px;
}
.reward-ticket p {
  color: #d5e1f7;
}
.ticket-meta {
  margin: 25px 0;
  font-size: 12px;
}
.wallet-info ol {
  padding-left: 20px;
  color: var(--muted);
  line-height: 2;
}
.redeem-modal {
  width: min(420px, 100%);
  background: white;
  border: 5px double #082867;
  border-radius: 22px;
  padding: 30px;
  text-align: center;
  position: relative;
}
.redeem-modal > img {
  width: 62px;
  height: 62px;
  border-radius: 9px;
}
.redeem-modal h2 {
  font-size: 28px;
  margin: 10px;
}
.redeem-modal p,
.redeem-modal small {
  color: var(--muted);
}
.redeem-modal small {
  display: block;
  margin-top: 14px;
}
.barcode {
  height: 100px;
  margin: 25px 10px 10px;
  background: repeating-linear-gradient(
    90deg,
    #071f50 0 3px,
    transparent 3px 6px,
    #071f50 6px 8px,
    transparent 8px 12px,
    #071f50 12px 17px,
    transparent 17px 20px
  );
}
.redeem-number {
  display: block;
  font: 700 20px monospace;
  letter-spacing: 0.12em;
  margin: 15px;
}
.redeem-state {
  display: inline-block;
  background: #e3f1e9;
  color: #28724a;
  border-radius: 99px;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 700;
}
.reward-ticket.used {
  filter: grayscale(1);
  opacity: 0.65;
}
.reward-ticket.used .ticket-top b {
  background: #dbe0e9;
}
@media (max-width: 700px) {
  .wallet-grid {
    grid-template-columns: 1fr;
  }
}


/* YOME CSS source: whatsapp.css */
.share-actions{display:grid;gap:10px}.whatsapp-btn{border:0;background:#25d366;color:white;border-radius:9px;padding:12px 16px;font:700 12px inherit;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:8px}.whatsapp-btn b,.home-share b{width:24px;height:24px;border:2px solid white;border-radius:50%;display:grid;place-items:center;font-size:9px}.whatsapp-btn:hover{background:#1fbd59}.home-share{display:inline-flex;align-items:center;gap:8px;background:#25d366;border-color:#25d366}.home-share:hover{background:#1fbd59}@media(max-width:700px){.share-actions,.invite-box{width:100%}}
.today-benefit{display:grid;grid-template-columns:.65fr 1.5fr auto;align-items:center;gap:24px;background:linear-gradient(100deg,#e8effd,#fff);border:1px solid #c8d6ef;border-left:6px solid #0a347c;border-radius:17px;padding:22px 25px;margin:0 0 22px;box-shadow:0 12px 35px rgba(7,31,80,.08)}.today-label span{display:inline-block;background:#082867;color:white;border-radius:99px;padding:6px 10px;font-size:9px;font-weight:700;letter-spacing:.12em}.today-label small{display:block;color:#6c7892;font-size:9px;letter-spacing:.1em;margin-top:8px}.today-copy{display:flex;gap:14px;align-items:center}.today-copy h3{margin:0 0 5px;font-size:19px}.today-copy p{margin:0;color:#6c7892;font-size:12px}.today-icon{width:44px;height:44px;border-radius:50%;background:#082867;color:white;display:grid;place-items:center;font-size:20px}.today-benefit>button{border:0;background:#082867;color:white;border-radius:9px;padding:12px 17px;font:700 11px inherit;cursor:pointer}.today-benefit.claimed{opacity:.72}.today-benefit.claimed>button{background:#6c7892}@media(max-width:760px){.today-benefit{grid-template-columns:1fr;gap:15px}.today-benefit>button{width:100%}}


/* YOME CSS source: product.css */
.product-of-day{display:grid;grid-template-columns:150px 1fr auto;gap:28px;align-items:center;background:white;border:1px solid #d6deed;border-radius:20px;padding:18px 24px;margin-bottom:22px;box-shadow:0 12px 35px rgba(7,31,80,.07);position:relative;overflow:hidden}.product-of-day:after{content:"";position:absolute;right:-50px;top:-80px;width:180px;height:180px;border-radius:50%;background:#edf2fc;z-index:0}.product-visual{height:120px;border-radius:15px;background:linear-gradient(145deg,#061d4d,#0b3c89);color:white;display:grid;place-items:center;position:relative;border:4px double white}.product-visual>span{font:900 34px/.75 'DM Sans';letter-spacing:-.08em}.product-visual i{position:absolute;bottom:8px;font-size:8px;letter-spacing:.08em}.product-details{position:relative;z-index:1}.product-details h2{font:700 25px 'Playfair Display';margin:7px 0}.product-details p{color:#6c7892;font-size:12px;margin:0 0 12px;max-width:570px}.product-price{display:flex;align-items:baseline;gap:12px}.product-price small{font-size:8px;letter-spacing:.12em}.product-price strong{font-size:24px;color:#082867}.product-price strong em{font-size:11px;font-style:normal}.product-price del{color:#8a94a8;font-size:12px}.product-action{display:grid;gap:8px;text-align:center;position:relative;z-index:1}.product-action>span{justify-self:end;background:#082867;color:white;border-radius:99px;padding:5px 9px;font-size:10px;font-weight:700}.product-action button{border:0;background:#082867;color:white;border-radius:9px;padding:12px 20px;font:700 11px inherit;cursor:pointer}.product-action small{color:#6c7892;font-size:9px}@media(max-width:760px){.product-of-day{grid-template-columns:90px 1fr}.product-visual{height:100px}.product-action{grid-column:1/-1}.product-action>span{position:absolute;right:0;top:-130px}}


/* YOME CSS source: new-products.css */
.new-products{margin:0 0 16px}
.new-products-head{display:flex;align-items:end;justify-content:space-between;margin:6px 0 10px}
.new-products-head h2{font:700 24px 'Playfair Display';margin:4px 0}
.new-products-head>button{border:0;background:none;color:#082867;font:700 10px inherit;cursor:pointer}
.new-product-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.new-product{min-width:0;background:white;border:1px solid #dbe2ef;border-radius:14px;padding:10px;box-shadow:0 7px 20px rgba(7,31,80,.05);text-align:center}
.new-product-photo{position:relative;width:100%;height:160px;border-radius:10px;overflow:hidden;background:#f7f8fa}
.new-product-photo img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;display:block}
.new-product>strong{display:block;margin-top:8px;color:#082867;font-size:14px}
@media(max-width:700px){.new-product-track{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.new-product{padding:5px}.new-product-photo{height:72px}.new-product>strong{font-size:9px;margin-top:5px}}


/* YOME CSS source: product-detail.css */
.product-modal{width:min(760px,100%);background:white;border:5px double #082867;border-radius:22px;padding:28px;position:relative;display:grid;grid-template-columns:260px 1fr;gap:30px}.product-modal-visual{min-height:340px;border-radius:17px;background:linear-gradient(145deg,#061d4d,#0b438f);color:white;display:grid;place-items:center;border:5px double white}.product-modal-visual span{font:900 74px/.72 'DM Sans';letter-spacing:-.09em}.product-modal-copy h2{font:700 31px 'Playfair Display';margin:10px 0}.product-modal-copy>p{color:#6c7892;line-height:1.6}.detail-price{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:20px 0}.detail-price small{width:100%;font-size:9px;letter-spacing:.12em}.detail-price strong{font-size:26px;color:#082867}.detail-price del{color:#8792a7;font-size:12px}.product-points{background:#eaf0fb;padding:13px;border-radius:9px;display:flex;justify-content:space-between}.product-modal-copy ul{padding-left:18px;color:#6c7892;font-size:12px;line-height:1.9}.elite-tier{background:linear-gradient(145deg,#071f50,#2459a9);color:white;border-color:#8eace0}.elite-tier>span,.elite-tier p{color:#c8d8f3}.elite-tier strong{color:white}@media(max-width:650px){.product-modal{grid-template-columns:1fr;max-height:94vh;overflow:auto}.product-modal-visual{min-height:180px}.product-modal-visual span{font-size:54px}}


/* YOME CSS source: country-phone.css */
.phone-field select {
  border: 0;
  border-right: 1px solid #dce2ee;
  background: #f5f7fb;
  color: #082867;
  padding: 13px 9px;
  border-radius: 8px 0 0 8px;
  font:
    600 11px Arial,
    sans-serif;
  max-width: 190px;
  outline: none;
}
.phone-field select:focus {
  background: #eaf0fb;
}
@media (max-width: 520px) {
  .phone-field {
    align-items: stretch;
    flex-direction: row;
  }
  .phone-field select {
    width: 43%;
    max-width: 150px;
    min-width: 128px;
    padding: 9px 6px;
    border-right: 1px solid #dce2ee;
    border-bottom: 0;
    border-radius: 8px 0 0 8px;
    font-size: 9px;
  }
  .phone-field input {
    min-width: 0;
    border-radius: 0 8px 8px 0 !important;
  }
}


/* YOME CSS source: member-camera.css */
.invoice-symbol {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 19px;
  height: 23px;
  border: 2px solid currentColor;
  border-radius: 3px 3px 5px 5px;
  background:
    linear-gradient(currentColor, currentColor) 4px 6px/8px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 4px 11px/8px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 4px 16px/5px 2px no-repeat;
  color: inherit;
  filter: drop-shadow(0 2px 2px rgba(3, 24, 64, 0.12));
}
.invoice-symbol:after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -5px;
  height: 6px;
  background: currentColor;
  clip-path: polygon(
    0 0,
    17% 55%,
    34% 0,
    51% 55%,
    68% 0,
    84% 55%,
    100% 0,
    100% 100%,
    0 100%
  );
}
.quick-icon .invoice-symbol {
  width: 22px;
  height: 27px;
  color: #082867;
}
.capture-zone {
  min-height: 325px;
  border: 2px dashed #9eb4d7;
  border-radius: 20px;
  background: radial-gradient(
    circle at 50% 30%,
    #fff 0,
    #f3f7ff 55%,
    #edf3fc 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.74);
}
.invoice-symbol-large {
  width: 68px;
  height: 82px;
  margin-bottom: 22px;
  border-width: 5px;
  border-radius: 9px;
  color: #0a3478;
  background:
    linear-gradient(currentColor, currentColor) 15px 21px/33px 5px no-repeat,
    linear-gradient(currentColor, currentColor) 15px 36px/33px 5px no-repeat,
    linear-gradient(currentColor, currentColor) 15px 51px/22px 5px no-repeat;
  filter: drop-shadow(0 10px 13px rgba(8, 40, 103, 0.2));
}
.invoice-symbol-large:before {
  content: "+";
  position: absolute;
  right: -18px;
  top: -18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #0d4598, #061d4d);
  color: #fff;
  font: 800 22px/1 sans-serif;
  box-shadow: 0 6px 15px rgba(7, 31, 80, 0.3);
}
.invoice-symbol-large:after {
  left: 5px;
  right: 5px;
  bottom: -12px;
  height: 13px;
}
.capture-zone > strong {
  font:
    700 24px Georgia,
    serif;
  color: #071f50;
}
.capture-zone > small {
  color: #6c7892;
  margin: 7px 0;
  line-height: 1.45;
}
.capture-actions {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}
.capture-actions label {
  border-radius: 11px;
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.capture-actions label:hover {
  transform: translateY(-2px);
}
.capture-actions input {
  display: none;
}
.capture-primary {
  background: linear-gradient(145deg, #0d4598, #061d4d);
  color: white;
  box-shadow: 0 8px 18px rgba(7, 31, 80, 0.24);
}
.capture-secondary {
  background: white;
  color: #082867;
  border: 1px solid #b9c8e0;
}
@media (max-width: 520px) {
  .capture-zone {
    min-height: 300px;
    padding: 28px 18px;
  }
  .invoice-symbol-large {
    width: 58px;
    height: 70px;
    background:
      linear-gradient(currentColor, currentColor) 12px 18px/29px 4px no-repeat,
      linear-gradient(currentColor, currentColor) 12px 31px/29px 4px no-repeat,
      linear-gradient(currentColor, currentColor) 12px 44px/19px 4px no-repeat;
  }
  .capture-zone > strong {
    font-size: 22px;
  }
  .capture-actions {
    width: 100%;
    flex-direction: column;
  }
  .capture-actions label {
    width: 100%;
    padding: 15px;
  }
}


/* YOME CSS source: member-crowns.css */
.header-member-badge{position:relative;display:flex;align-items:center}.header-member-badge>.crown{position:absolute;z-index:2;top:-14px;left:50%;transform:translateX(-50%);font-size:22px;filter:drop-shadow(0 2px 2px #071f5030)}.header-member-badge>i{position:absolute;right:-7px;bottom:-5px;background:#b88718;color:white;border:2px solid white;border-radius:99px;min-width:22px;height:22px;display:grid;place-items:center;font-size:8px;font-style:normal;font-weight:800}.member-level-label{display:flex!important;align-items:center;gap:6px;color:#d9e4f6!important}.crown{font-family:Georgia,serif;line-height:1}.crown-gold{color:#f1c34b;text-shadow:0 1px #8c6110}.crown-platinum{color:#dce3ee;text-shadow:0 1px #768399}.crown-diamond{color:#8be5ff;text-shadow:0 0 5px #4eaacb}.tier-crown-row{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:0 0 22px}.tier-crown-card{background:white;border:1px solid #dce3ef;border-radius:15px;padding:18px;text-align:center}.tier-crown-card .crown{display:block;font-size:45px;margin-bottom:8px}.tier-crown-card strong{display:block}.tier-crown-card small{color:#718096}.tier-crown-card.current{background:#082867;color:white;border:4px double white;box-shadow:0 10px 30px #071f5022}.tier-crown-card.current small{color:#cbd9ee}@media(max-width:620px){.tier-crown-row{grid-template-columns:1fr}.header-member-badge>.crown{font-size:18px;top:-11px}}
.crown-basic{color:#b9c4d1!important;text-shadow:0 1px #47586d!important}.tier-crown-row{grid-template-columns:repeat(4,minmax(0,1fr))}.tier-crown-card[data-tier="basic"]{background:#f2f5f8;color:#3b5069}.tier-crown-card[data-tier="gold"]{background:linear-gradient(145deg,#fff8db,#fff0ae);border-color:#d6a52e}.tier-crown-card[data-tier="platinum"]{background:linear-gradient(145deg,#f7fbff,#dbe4ed);border-color:#9eacbc}.tier-crown-card[data-tier="diamond"]{background:linear-gradient(145deg,#edfdff,#b8f0f7);border-color:#36a8bb}@media(max-width:620px){.tier-crown-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tier-crown-card{padding:12px 8px}.tier-crown-card .crown{font-size:38px}.tier-crown-card strong{font-size:12px}.tier-crown-card small{font-size:10px}}


/* YOME CSS source: referral-rewards.css */
.referral-reward-summary{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:18px 0}.referral-reward-summary article{background:white;border:1px solid #dce3ef;border-radius:15px;padding:22px}.referral-reward-summary article:first-child{background:linear-gradient(135deg,#eaf0fb,#fff);border-left:5px solid #082867}.referral-reward-summary span{font-size:9px;letter-spacing:.13em;color:#758299}.referral-reward-summary strong{display:block;font:700 31px Georgia;margin:8px 0;color:#082867}.referral-reward-summary p{color:#6c7892;font-size:12px}.referral-reward-summary b{color:#347653;font-size:12px}.network-progress{height:7px;background:#e3e8f1;border-radius:99px;margin-top:15px;overflow:hidden}.network-progress i{height:100%;display:block;background:#0b418d;border-radius:99px}@media(max-width:650px){.referral-reward-summary{grid-template-columns:1fr}}

.my-yome-team-panel{border:1px solid #dce3ef;background:#fff}.my-yome-team-panel .panel-head{align-items:flex-start}.team-count-pill{color:#0b418d;background:#eef5ff;border:1px solid #c9daf4}.my-yome-team-overview{display:grid;grid-template-columns:145px 1fr;gap:22px;align-items:center;padding:18px 0;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6}.my-yome-team-art{position:relative;min-height:124px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#eef6ff,#f9fbff);border-radius:10px;overflow:hidden}.my-yome-team-art img{width:82px;height:82px;object-fit:cover;border-radius:22px;box-shadow:0 8px 18px rgba(8,40,103,.18)}.team-avatar{position:absolute;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#0b418d;color:#fff;font-size:10px;font-weight:800;border:3px solid #fff;box-shadow:0 3px 8px rgba(8,40,103,.18)}.team-avatar-left{left:10px;top:18px}.team-avatar-right{right:10px;bottom:18px;background:#d6a52e;color:#fff}.my-yome-team-copy>strong{display:block;color:#082867;font-size:17px}.my-yome-team-copy p{margin:7px 0 14px;color:#66738a;font-size:13px;line-height:1.55}.my-yome-team-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.my-yome-team-stats span{padding:9px 10px;background:#f7faff;border:1px solid #e0e8f2;border-radius:6px}.my-yome-team-stats strong{display:block;color:#082867;font-size:17px}.my-yome-team-stats small{display:block;margin-top:2px;color:#7b8799;font-size:10px}.my-yome-team-list{display:flex;flex-wrap:wrap;gap:8px;padding:15px 0 4px}.team-member-chip{display:grid;grid-template-columns:20px 1fr;column-gap:7px;align-items:center;min-width:145px;padding:8px 10px;border:1px solid #e0e8f2;border-radius:6px;background:#fbfdff}.team-member-chip>b{grid-row:span 2;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e9f1fc;color:#0b418d;font-size:10px}.team-member-chip strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#18345f;font-size:12px}.team-member-chip small{color:#7a8799;font-size:10px}.my-yome-team-note{margin:10px 0 0;color:#7b8799;font-size:11px;line-height:1.5}@media(max-width:650px){.my-yome-team-overview{grid-template-columns:1fr;gap:14px}.my-yome-team-art{min-height:92px}.my-yome-team-art img{width:64px;height:64px;border-radius:18px}.team-avatar-left{left:calc(50% - 68px);top:10px}.team-avatar-right{right:calc(50% - 68px);bottom:10px}.my-yome-team-copy p{font-size:12px}.my-yome-team-stats{gap:6px}.my-yome-team-stats span{padding:8px}.my-yome-team-stats strong{font-size:15px}.team-member-chip{min-width:calc(50% - 4px);flex:1}}


/* YOME CSS source: crown-upgrade.css */
.header-member-badge{padding-top:13px;margin-left:9px}.header-member-badge>.crown{top:-24px!important;font-size:40px!important;transform:translateX(-50%) scaleX(1.2)!important;filter:drop-shadow(0 3px 3px #071f5066)!important}.member-level-label{gap:8px!important}.member-level-label .crown{font-size:27px!important}.crown{font-family:Georgia,serif!important;display:inline-block}.crown-gold{color:#ffd541!important;background:linear-gradient(180deg,#fff8b5 4%,#ffd43d 36%,#e59a05 68%,#8b5000 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;filter:drop-shadow(0 2px 1px #704100)!important}.crown-platinum{color:#eff4fb!important;background:linear-gradient(180deg,#fff 3%,#eef2f8 35%,#b9c3d1 67%,#707d90 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;filter:drop-shadow(0 2px 1px #697587)!important}.crown-diamond{color:#a8efff!important;background:linear-gradient(180deg,#fff 1%,#c5f5ff 32%,#58cbed 65%,#147ba9 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;filter:drop-shadow(0 0 6px #52cdec)!important}.tier-crown-card .crown{font-size:82px!important;margin:3px 0 15px!important;transform:scaleX(1.16)}.tier-crown-card.current{box-shadow:0 12px 34px #071f5033, inset 0 0 30px #ffffff12}@media(max-width:620px){.header-member-badge{padding-top:9px}.header-member-badge>.crown{font-size:32px!important;top:-18px!important}.tier-crown-card .crown{font-size:70px!important}}


/* YOME CSS source: points-wheel.css */
.wheel.points-wheel{background:conic-gradient(#f2c64f 0 60deg,#d8e7ff 60deg 120deg,#16488f 120deg 180deg,#a7c6f1 180deg 240deg,#7187aa 240deg 300deg,#e7eef9 300deg);color:#071f50}.points-wheel .wheel-labels span:nth-child(3){color:white}.point-prizes article:first-child{border:2px solid #e8b62f;background:linear-gradient(145deg,#fff9df,#fff)}.point-prizes article:first-child>span{color:#d89b00}.point-prizes article:last-child{background:#eef2f8}
@media(max-width:700px){.wheel-wrap{padding:15px 8px}.wheel.points-wheel{width:300px;height:300px;border:9px solid white;outline:4px solid #e6b94f;box-shadow:0 12px 30px #08286730,0 0 0 7px #f8e9b2}.wheel-center{width:70px;height:70px;border:4px solid #f0c95f;font-size:33px;box-shadow:0 4px 14px #08286755}.pointer{top:-2px;border-left-width:16px;border-right-width:16px;border-top:35px solid #d7a126;filter:drop-shadow(0 4px 3px #08286755)}.wheel-labels span{font-size:10px;font-weight:900}.spin-card{border-top:4px solid #e3b84b;background:linear-gradient(160deg,#fffdf5,#fff);box-shadow:0 10px 24px #08286716}.spin-card #spinBtn{background:linear-gradient(135deg,#f1c859,#e1a92a);color:#071f50;box-shadow:0 7px 16px #d6a52c44}.point-prizes{gap:6px;margin:18px auto}.point-prizes article{padding:11px 5px}.point-prizes article>span{font-size:20px}.point-prizes b{font-size:10px}.point-prizes small{font-size:7px}}


/* YOME CSS source: lottery-effects.css */
.daily-lottery-teaser{width:100%;border:0;background:linear-gradient(105deg,#061d4d,#0d4598);color:white;border-radius:14px;padding:12px 18px;margin:0 0 14px;display:grid;grid-template-columns:50px 1fr auto;gap:13px;align-items:center;text-align:left;cursor:pointer;box-shadow:0 8px 24px rgba(7,31,80,.18);position:relative;overflow:hidden}.daily-lottery-teaser:after{content:"";position:absolute;width:140px;height:140px;border:1px solid #ffffff24;border-radius:50%;right:70px;top:-80px}.teaser-orbit{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#f0c33f,#9bbbed,#fff,#f0c33f);position:relative;box-shadow:0 0 0 4px #ffffff1c}.teaser-orbit b{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#082867;color:#ffd748;font-size:17px}.teaser-orbit i{position:absolute;inset:-4px;border:1px solid #ffffff88;border-radius:50%;animation:teaserPulse 2s ease-out infinite}.teaser-copy{display:grid;gap:2px;position:relative;z-index:1}.teaser-copy small{font-size:8px;letter-spacing:.16em;color:#bcd2f3}.teaser-copy strong{font-size:14px}.teaser-copy em{font-size:10px;font-style:normal;color:#d6e2f5}.teaser-action{background:white;color:#082867;border-radius:8px;padding:9px 13px;font-size:10px;font-weight:800;position:relative;z-index:1}.daily-lottery-teaser:hover{transform:translateY(-1px);filter:brightness(1.06)}
.wheel.spinning{animation:wheelGlow .55s ease-in-out infinite alternate}.wheel-wrap.spinning:before,.wheel-wrap.spinning:after{content:"";position:absolute;inset:8%;border-radius:50%;border:3px solid #f6d25d;animation:ringBurst 1s ease-out infinite;pointer-events:none}.wheel-wrap.spinning:after{animation-delay:.45s}.lottery-flash{position:fixed;inset:0;z-index:80;pointer-events:none;background:radial-gradient(circle at center,#fff7b988,transparent 45%);animation:flashOut .8s forwards}.confetti-piece{position:fixed;z-index:81;width:10px;height:18px;top:-25px;pointer-events:none;animation:confettiFall 2.4s cubic-bezier(.12,.55,.35,1) forwards}.spin-card.win-pop{animation:winPop .65s ease-out}.spin-card.win-pop h3{color:#b47c00;font-size:29px}
@keyframes teaserPulse{0%{transform:scale(.85);opacity:.9}100%{transform:scale(1.4);opacity:0}}@keyframes wheelGlow{from{filter:drop-shadow(0 0 8px #f2c64f)}to{filter:drop-shadow(0 0 25px #f2c64f) brightness(1.12)}}@keyframes ringBurst{0%{transform:scale(.8);opacity:.9}100%{transform:scale(1.25);opacity:0}}@keyframes flashOut{0%{opacity:1}100%{opacity:0}}@keyframes confettiFall{0%{transform:translateY(-20px) rotate(0)}100%{transform:translateY(105vh) rotate(780deg)}}@keyframes winPop{0%{transform:scale(.92)}55%{transform:scale(1.04)}100%{transform:scale(1)}}
@media(max-width:620px){.daily-lottery-teaser{grid-template-columns:44px 1fr;padding:11px 13px}.teaser-action{grid-column:1/-1;text-align:center;padding:8px}.teaser-copy strong{font-size:12px}}


/* YOME CSS source: pwa.css */
.mobile-bottom-nav {
  display: none;
}
.app-install-card {
  display: none;
}
.modal-backdrop[hidden],
.app-install-card[hidden],
[hidden] {
  display: none !important;
  pointer-events: none !important;
}
.install-guide {
  width: min(390px, 100%);
  background: white;
  border: 5px double #082867;
  border-radius: 22px;
  padding: 28px;
  position: relative;
  text-align: center;
}
.install-guide > img {
  width: 70px;
  height: 70px;
  border-radius: 14px;
}
.install-guide h2 {
  font: 700 28px "Playfair Display";
  margin: 10px;
}
.install-guide p {
  color: #6c7892;
  line-height: 1.55;
}
.install-guide ol {
  text-align: left;
  background: #f2f5fb;
  border-radius: 12px;
  padding: 15px 15px 15px 35px;
  color: #53627c;
  line-height: 1.8;
  font-size: 12px;
}
@media (max-width: 700px) {
  html {
    background: #edf1f8;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }
  body {
    background: #f5f7fb;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-tap-highlight-color: transparent;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
    touch-action: pan-y;
  }
  button,
  a,
  label {
    touch-action: manipulation;
  }
  .sidebar {
    display: none !important;
  }
  main {
    margin-left: 0;
  }
  header {
    height: 64px;
    padding: 0 10px;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid #dce4f0;
    box-shadow: 0 3px 14px #071f500d;
  }
  header .menu {
    display: none;
  }
  header small {
    font-size: 7px;
  }
  header h1 {
    font-size: 17px;
    margin-top: 2px;
  }
  .header-actions {
    gap: 5px;
  }
  .header-actions .register-link {
    display: inline-flex;
    border: 1px solid #b9c9e5;
    border-radius: 8px;
    padding: 7px 6px;
    font-size: 8px;
    text-decoration: none;
    white-space: nowrap;
  }
  .points-pill {
    padding: 8px 8px;
  }
  .header-member-badge {
    margin-left: 1px !important;
  }
  .header-member-badge > .crown {
    font-size: 25px !important;
  }
  .header-member-badge .avatar {
    width: 32px;
    height: 32px;
    font-size: 10px;
  }
  .view {
    padding: 12px 12px 24px;
  }
  .view:not(.active) {
    display: none;
  }
  .daily-lottery-teaser {
    grid-template-columns: 40px 1fr auto;
    gap: 10px;
    min-height: 58px;
    padding: 8px 10px;
    margin-bottom: 8px;
    border: 1px solid #e8bf65;
    border-radius: 15px;
    box-shadow:
      0 8px 22px #08286728,
      0 0 0 2px #fff inset;
  }
  .daily-lottery-teaser:after {
    width: 110px;
    height: 110px;
    right: 55px;
    top: -64px;
    border-color: #f4d98f55;
  }
  .teaser-orbit {
    width: 38px;
    height: 38px;
    background: conic-gradient(#ffd86a, #fff4bf, #d99d22, #fff, #ffd86a);
    box-shadow:
      0 0 0 3px #ffffff2b,
      0 4px 12px #0004;
  }
  .teaser-orbit b {
    width: 28px;
    height: 28px;
    font-size: 15px;
    background: linear-gradient(145deg, #061d4d, #0d4598);
    color: #ffd75e;
  }
  .teaser-copy {
    gap: 1px;
  }
  .teaser-copy small {
    font-size: 7px;
    color: #f5d47b;
  }
  .teaser-copy strong {
    font-size: 12px;
    white-space: nowrap;
  }
  .teaser-copy em {
    display: none;
  }
  .teaser-action {
    grid-column: auto;
    padding: 8px 10px;
    font-size: 0;
    border: 1px solid #f0d485;
    box-shadow: 0 3px 8px #0002;
  }
  .teaser-action:after {
    content: "Jugar ✦";
    font-size: 9px;
  }
  .product-of-day {
    grid-template-columns: 66px 1fr 68px;
    gap: 9px;
    padding: 9px 10px;
    margin-bottom: 8px;
    border-radius: 15px;
    min-height: 104px;
  }
  .product-visual {
    width: 66px;
    height: 76px;
    border-radius: 11px;
  }
  .product-visual > span {
    font-size: 25px;
  }
  .product-visual i {
    display: none;
  }
  .product-details .eyebrow {
    font-size: 6px;
    letter-spacing: 0.08em;
  }
  .product-details h2 {
    font-size: 15px;
    margin: 4px 0;
  }
  .product-details p,
  .product-price small,
  .product-price del {
    display: none;
  }
  .product-price strong {
    font-size: 17px;
  }
  .product-price strong em {
    font-size: 8px;
  }
  .product-action {
    grid-column: auto !important;
    align-self: end;
    gap: 4px;
  }
  .product-action > span {
    position: absolute !important;
    right: 8px !important;
    top: 7px !important;
    font-size: 8px;
  }
  .product-action button {
    padding: 9px 7px;
    font-size: 9px;
  }
  .product-action small {
    display: none;
  }
  .new-products {
    margin: 7px 0 9px;
  }
  .new-products-head {
    margin: 0 0 5px;
    align-items: center;
  }
  .new-products-head .eyebrow {
    display: none;
  }
  .new-products-head h2 {
    font-size: 14px;
    margin: 0;
  }
  .new-products-head > button {
    font-size: 8px;
  }
  .new-product-track {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    padding-bottom: 0;
    overflow: visible !important;
  }
  .new-product {
    min-width: 0 !important;
    width: auto;
    border-radius: 9px;
    padding: 5px;
    box-shadow: none;
  }
  .new-product-photo {
    position: relative;
    width: 100%;
    height: 72px;
    aspect-ratio: auto;
    border-radius: 7px;
  }
  .new-product-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    border-radius: 0;
  }
  .new-product > strong {
    font-size: 9px;
    margin-top: 5px;
  }
  .hero {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 8px;
    min-height: auto;
    padding: 10px;
    border-radius: 14px;
  }
  .hero .eyebrow {
    font-size: 6px;
    letter-spacing: 0.09em;
  }
  .hero h2 {
    font-size: 18px;
    margin: 4px 0;
    line-height: 1;
  }
  .hero h2 br {
    display: none;
  }
  .hero .hero-copy > p {
    display: none;
  }
  .hero-actions {
    flex-direction: row;
    margin-top: 7px;
    gap: 4px;
  }
  .hero-actions .primary,
  .hero-actions .secondary {
    flex: 1;
    padding: 7px 3px;
    font-size: 7px;
  }
  .hero-balance {
    padding: 9px;
    margin-top: 0;
    border-radius: 10px;
  }
  .hero-balance > span {
    font-size: 7px;
  }
  .hero-balance > strong {
    font-size: 22px;
    margin: 2px 0;
  }
  .hero-balance > small {
    display: none;
  }
  .level-line {
    margin: 6px 0 4px;
  }
  .hero-balance > div:last-child {
    font-size: 6px;
  }
  .hero-balance > div:last-child span {
    display: none;
  }
  .quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin: 7px 0;
  }
  .quick {
    padding: 6px 4px;
    gap: 4px;
    border-radius: 10px;
    box-shadow: none;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
  }
  .quick-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-size: 10px;
  }
  .quick small {
    font-size: 5px;
    letter-spacing: 0;
  }
  .quick strong {
    font-size: 14px;
    margin: 1px 0;
  }
  .quick p {
    display: none;
  }
  .panel {
    padding: 20px;
  }
  .section-intro {
    margin-bottom: 18px;
  }
  .section-intro h2 {
    font-size: 31px;
  }
  .capture-zone {
    min-height: 330px;
  }
  .mobile-bottom-nav {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    inset: auto 0 0;
    z-index: 45;
    background: #fff;
    border-top: 1px solid #d7dfec;
    box-shadow: 0 -7px 22px rgba(7, 31, 80, 0.12);
    min-height: calc(72px + env(safe-area-inset-bottom));
    padding: 7px 4px max(7px, env(safe-area-inset-bottom));
    align-items: end;
  }
  .mobile-tab {
    min-height: 58px;
    border: 0;
    background: transparent;
    color: #748198;
    border-radius: 13px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    cursor: pointer;
  }
  .mobile-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #d8e2f1;
    border-radius: 12px;
    background: linear-gradient(145deg, #f8faff, #e9f0fb);
    color: #557096;
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 3px 9px rgba(7, 31, 80, 0.1);
  }
  .mobile-tab small {
    font-size: 8.5px;
    line-height: 1;
  }
  .mobile-tab.active {
    color: #082867;
    background: transparent;
    font-weight: 800;
    box-shadow: none;
  }
  .mobile-tab.active .mobile-icon,
  .mobile-tab.camera-tab .mobile-icon {
    border-color: #0b3a84;
    background: linear-gradient(145deg, #0d4598, #061d4d);
    color: white;
    box-shadow: 0 5px 13px rgba(8, 40, 103, 0.34);
  }
  .mobile-tab.camera-tab .invoice-symbol {
    width: 19px;
    height: 23px;
    border-width: 2px;
    border-radius: 4px;
    color: white;
    background:
      linear-gradient(white, white) 4px 6px/8px 2px no-repeat,
      linear-gradient(white, white) 4px 11px/8px 2px no-repeat,
      linear-gradient(white, white) 4px 16px/5px 2px no-repeat;
    filter: none;
  }
  .mobile-tab.camera-tab .invoice-symbol:after {
    left: 3px;
    right: 3px;
    bottom: -5px;
    height: 6px;
  }
  .app-install-card:not([hidden]) {
    position: fixed;
    display: grid;
    grid-template-columns: 40px 1fr auto 22px;
    align-items: center;
    gap: 8px;
    left: 10px;
    right: 10px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    z-index: 44;
    background: #061d4d;
    color: white;
    border: 2px solid white;
    border-radius: 14px;
    padding: 9px 8px;
    box-shadow: 0 12px 35px #00102c55;
  }
  .guest-mode .app-install-card:not([hidden]) {
    bottom: max(8px, env(safe-area-inset-bottom));
  }
  .app-install-card img {
    width: 40px;
    height: 40px;
    border-radius: 9px;
  }
  .app-install-card span {
    display: grid;
  }
  .app-install-card strong {
    font-size: 11px;
  }
  .app-install-card small {
    font-size: 8px;
    color: #c5d5ef;
    margin-top: 2px;
  }
  .app-install-card > button {
    border: 0;
    border-radius: 8px;
    background: white;
    color: #082867;
    padding: 8px 9px;
    font-size: 9px;
    font-weight: 800;
  }
  .app-install-card.is-installing {
    grid-template-columns: 40px 1fr auto;
  }
  .app-install-card.is-installing .install-close {
    display: none;
  }
  .app-install-card > button:disabled {
    opacity: 0.78;
    cursor: wait;
  }
  .app-install-card .install-close {
    background: transparent;
    color: white;
    padding: 4px;
    font-size: 18px;
  }
}
@media (display-mode: standalone) {
  .app-install-card {
    display: none !important;
  }
  header {
    padding-top: env(safe-area-inset-top);
    height: calc(64px + env(safe-area-inset-top));
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
  .teaser-orbit i {
    animation: none !important;
  }
}
.app header {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
@media (max-width: 700px) {
  .teaser-orbit i {
    animation: none !important;
  }
}


/* YOME CSS source: points-payment.css */
.points-pay-card{background:linear-gradient(145deg,#061d4d,#0c408f);color:white;border:5px double white;border-radius:18px;padding:24px;margin-top:20px}.points-pay-card h3{font:700 24px Georgia;margin:8px 0}.points-pay-card p{color:#ccdaef}.points-pay-row{display:flex;gap:10px}.points-pay-row select{flex:1;padding:12px;border:0;border-radius:8px;background:white;color:#082867;font-weight:700}.points-pay-row button{border:0;background:white;color:#082867;border-radius:8px;padding:12px 16px;font-weight:700;cursor:pointer}.monthly-exchange-note{display:block;color:#afc5e8;margin-top:12px}.pay-modal{width:min(700px,calc(100% - 24px));background:white;border:5px double #082867;border-radius:22px;padding:30px;text-align:center;position:relative}.pay-modal img{width:62px;height:62px;border-radius:8px}.pay-modal h2{margin:10px}.pay-code{font:900 31px monospace;letter-spacing:0;display:block;margin:14px;overflow-wrap:anywhere}.pay-barcode{width:100%;height:190px;background:white;image-rendering:crisp-edges}.pay-summary{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.pay-summary div{background:#f0f4fa;border-radius:8px;padding:11px}.pay-summary small{display:block;color:#718096}.pay-summary b{font-size:18px}.pay-expiry{color:#b05b49;font-size:12px}.pay-status{display:inline-block;background:#e2f1e7;color:#286c48;border-radius:99px;padding:8px 13px;font-size:11px;font-weight:800}@media(max-width:560px){.points-pay-row{flex-direction:column}.points-pay-row button,.points-pay-row select{width:100%}.pay-modal{padding:22px 16px}.pay-code{font-size:24px}.pay-barcode{height:155px}}


/* YOME CSS source: activity-points.css */
.activity-points{background:white;border:1px solid #dbe3ef;border-radius:16px;padding:22px;margin:18px 0}.activity-head{display:flex;justify-content:space-between;align-items:center}.activity-head h3{margin:0;font:700 22px Georgia}.active-pill{background:#e1f1e7;color:#287049;border-radius:99px;padding:7px 11px;font-size:10px;font-weight:700}.active-pill.locked{background:#fce8df;color:#a04c36}.point-balance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.point-balance-grid div{background:#f4f7fc;border-radius:10px;padding:14px}.point-balance-grid small{display:block;color:#748198;font-size:9px}.point-balance-grid b{display:block;font-size:22px;margin-top:6px}.activity-reminder{background:#fff2dc;color:#855815;border-left:4px solid #e3a33a;border-radius:8px;padding:13px;font-size:12px}.activity-reminder.ok{background:#eaf4ee;color:#2d704d;border-left-color:#4b9a70}@media(max-width:600px){.point-balance-grid{grid-template-columns:1fr}}


/* YOME CSS source: member-auth.css */
.member-auth-modal {
  width: min(920px, 100%);
  padding: 0 !important;
  display: grid;
  grid-template-columns: 320px 1fr;
  overflow: hidden !important;
  border: 0 !important;
  background: #fff !important;
}
.member-auth-story {
  padding: 42px 32px;
  background:
    radial-gradient(circle at 20% 0, #174f9d 0, transparent 38%),
    linear-gradient(155deg, #041641, #0a3377);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.member-auth-story img {
  width: 64px;
  height: 64px;
  border: 2px solid #fff;
  border-radius: 14px;
  margin-bottom: 28px;
}
.member-auth-story small {
  letter-spacing: 0.22em;
  color: #bcd1f3;
  font-weight: 800;
}
.member-auth-story h2 {
  font: 700 38px Georgia;
  margin: 18px 0 2px;
}
.member-auth-story strong {
  font: italic 700 25px Georgia;
  color: #dce8ff;
  margin-bottom: 18px;
}
.member-auth-story p {
  color: #c2d2ec;
  line-height: 1.65;
  margin: 0 0 30px;
}
.member-auth-story div {
  padding: 10px 0;
  border-top: 1px solid #ffffff24;
  width: 100%;
  font-size: 12px;
}
.member-auth-story div span {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #ffffff17;
  margin-right: 8px;
}
.member-auth-content {
  padding: 34px 38px;
  max-height: 94vh;
  overflow: auto;
}
.auth-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: #edf2fa;
  border-radius: 12px;
  margin-bottom: 28px;
}
.auth-tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  color: #60708a;
  border-radius: 8px;
  padding: 10px 7px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.auth-tabs button.active {
  background: #fff;
  color: #082867;
  box-shadow: 0 4px 14px #071f5014;
}
.auth-panel > h2 {
  font: 700 30px Georgia;
  margin: 8px 0;
}
.auth-panel > p {
  color: #6d7990;
  line-height: 1.5;
  margin: 0 0 18px;
}
.auth-panel[hidden] {
  display: none !important;
}
.auth-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.auth-submit {
  margin-top: 3px;
  min-height: 48px;
}
.member-auth-modal .modal-close {
  z-index: 3;
  background: #fff;
  color: #082867;
  box-shadow: 0 4px 14px #001a4540;
}
.member-auth-modal .form-status {
  font-weight: 700;
}
.member-auth-modal small {
  font-weight: 500;
}
@media (max-width: 760px) {
  #registerModal {
    place-items: stretch;
    padding: 0;
    overflow: hidden;
    background: #fff;
  }
  .member-auth-modal {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border-radius: 0 !important;
    box-shadow: none;
  }
  .member-auth-story {
    min-height: 76px;
    padding: max(12px, env(safe-area-inset-top)) 58px 12px 70px;
    justify-content: center;
  }
  .member-auth-story img {
    position: absolute;
    left: 16px;
    top: max(14px, env(safe-area-inset-top));
    width: 42px;
    height: 42px;
    margin: 0;
  }
  .member-auth-story small,
  .member-auth-story div,
  .member-auth-story p {
    display: none;
  }
  .member-auth-story h2 {
    font-size: 20px;
    margin: 0;
  }
  .member-auth-story strong {
    font-size: 14px;
    margin: 2px 0 0;
  }
  .member-auth-content {
    width: 100%;
    min-height: 0;
    max-height: none;
    padding: 10px 16px calc(20px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .auth-tabs {
    position: sticky;
    top: -10px;
    z-index: 2;
    margin: 0 -3px 12px;
    padding: 4px;
    background: rgba(237, 242, 250, 0.96);
    backdrop-filter: blur(8px);
  }
  .auth-tabs button {
    min-height: 36px;
    font-size: 9px;
    padding: 7px 3px;
  }
  .auth-two-columns {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .auth-panel > h2 {
    margin: 4px 0;
    font-size: 22px;
  }
  .auth-panel > p {
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1.35;
  }
  .member-auth-modal form {
    gap: 7px !important;
    margin-top: 10px;
  }
  .member-auth-modal form > label,
  .auth-two-columns label {
    font-size: 10px;
  }
  .member-auth-modal input {
    min-height: 40px;
    padding: 9px 10px;
    margin-top: 4px;
    font-size: 13px;
  }
  .code-field button {
    min-height: 34px;
    padding: 9px;
    font-size: 9px;
  }
  .terms {
    align-items: center;
    font-size: 9px !important;
    line-height: 1.3;
  }
  .terms input {
    min-height: 18px;
    width: 18px;
    margin: 0;
  }
  .auth-submit {
    position: sticky;
    bottom: 0;
    z-index: 1;
    min-height: 46px;
    box-shadow: 0 -8px 18px rgba(255, 255, 255, 0.92);
  }
  .member-auth-modal .modal-close {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    right: 14px;
    width: 38px;
    height: 38px;
    font-size: 22px;
  }
}
@media (max-width: 350px) {
  .auth-two-columns {
    grid-template-columns: 1fr;
  }
}


/* YOME CSS source: member-id.css */
.member-id-modal {
  width: min(720px, calc(100% - 28px));
  padding: 0;
  overflow: hidden;
  border: 1px solid #d3ddea;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 75px rgba(5, 25, 65, .28);
  text-align: center;
}
.member-id-card-head {
  position: relative;
  padding: 28px 28px 22px;
  background: radial-gradient(circle at 85% 0, #1c54a0, transparent 42%), linear-gradient(145deg, #061a48, #0a3478);
  color: white;
}
.member-id-card-head img { width: 70px; height: 70px; border: 2px solid rgba(255,255,255,.8); border-radius: 15px; }
.member-id-card-head small { display: block; margin-top: 9px; color: #e9c96f; font-size: 10px; font-weight: 900; letter-spacing: .2em; }
.member-id-card-head h2 { margin: 6px 0 3px; font: 700 31px/1.1 Georgia, serif; }
.member-id-card-head p { margin: 0; color: #c8d6eb; font-size: 14px; }
.member-id-card-head .modal-close { color: white; }
.member-id-card-body { padding: 25px 30px 30px; }
.member-id-number-label { display: block; color: #7a879a; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.member-id-number { display: block; margin: 8px 0 17px; color: #071f50; font: 900 34px/1.1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0; }
.member-id-barcode-wrap { padding: 20px 22px 12px; border: 1px solid #e0e6ef; border-radius: 13px; background: white; box-shadow: inset 0 0 0 10px #fff; }
.member-id-barcode { display: block; width: 100%; height: 180px; image-rendering: crisp-edges; }
.member-id-barcode-wrap small { color: #7c8798; font-size: 12px; }
.member-id-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 16px; }
.member-id-actions button { min-height: 50px; border: 1px solid #cbd6e5; border-radius: 10px; background: white; color: #0a3b83; font-size: 13px; font-weight: 900; }
.member-id-actions .member-id-primary { border-color: #082e70; background: #082e70; color: white; }
.member-id-note { margin: 14px 0 0; color: #7c8798; font-size: 12px; line-height: 1.5; }
@media (max-width: 480px) {
  .member-id-modal { width: calc(100% - 20px); border-radius: 20px; }
  .member-id-card-head { padding: 20px 18px 17px; }
  .member-id-card-head img { width: 55px; height: 55px; }
  .member-id-card-body { padding: 17px 15px 19px; }
  .member-id-number { font-size: 24px; }
  .member-id-barcode { height: 150px; }
}

.member-id-modal[data-tier="basic"] .member-id-card-head {
  background: linear-gradient(145deg, #43566e, #8d9bab);
}
.member-id-modal[data-tier="gold"] .member-id-card-head {
  background: radial-gradient(circle at 85% 0, #ffe89a, transparent 42%), linear-gradient(145deg, #754c0d, #d6a52e 58%, #fff0a2);
}
.member-id-modal[data-tier="platinum"] .member-id-card-head {
  background: linear-gradient(145deg, #4f5d70, #aebdce 58%, #f7fbff);
}
.member-id-modal[data-tier="diamond"] .member-id-card-head {
  background: radial-gradient(circle at 85% 0, #aef5ff, transparent 42%), linear-gradient(145deg, #07516d, #20a8c1 58%, #c8f8ff);
}
.member-id-modal[data-tier="gold"] .member-id-number { color: #a66b08; }
.member-id-modal[data-tier="platinum"] .member-id-number { color: #5a6c82; }
.member-id-modal[data-tier="diamond"] .member-id-number { color: #087d98; }


/* YOME CSS source: guest-home.css */
.guest-only {
  display: none;
}
.guest-mode .guest-only {
  display: grid;
}
.guest-welcome {
  position: relative;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
  gap: 28px;
  align-items: center;
  min-height: 360px;
  margin-bottom: 22px;
  padding: 48px 5%;
  overflow: hidden;
  border: 5px double rgba(255, 255, 255, 0.94);
  border-radius: 25px;
  background:
    radial-gradient(circle at 15% 0, #1d57a5 0, transparent 36%),
    linear-gradient(135deg, #061d4d, #0b367e);
  box-shadow: 0 18px 45px rgba(4, 28, 72, 0.2);
  color: #fff;
}
.guest-welcome:after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  right: -200px;
  top: -210px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(255, 255, 255, 0.03),
    0 0 0 90px rgba(255, 255, 255, 0.02);
}
.guest-welcome-copy,
.guest-prize-card {
  position: relative;
  z-index: 1;
}
.guest-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #ffd879;
}
.guest-welcome h2 {
  margin: 14px 0;
  font:
    700 48px/1.05 Georgia,
    serif;
}
.guest-welcome h2 em {
  color: #fff0b6;
}
.guest-welcome-copy > p {
  max-width: 610px;
  margin: 0;
  color: #cbd8ed;
  line-height: 1.65;
}
.guest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 27px 0 13px;
}
.guest-actions button {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 11px;
  font: 800 13px inherit;
  cursor: pointer;
}
.guest-primary {
  border: 1px solid #ffe29b;
  background: linear-gradient(135deg, #fff5cc, #f4c85c);
  color: #071f50;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.guest-secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.guest-welcome-copy > small {
  color: #9eb3d4;
}
.guest-prize-card {
  justify-self: end;
  width: min(100%, 330px);
  padding: 25px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}
.guest-wheel-preview {
  width: 104px;
  height: 104px;
  margin: 0 auto 17px;
  display: grid;
  place-items: center;
  border: 8px solid #fff;
  border-radius: 50%;
  background: conic-gradient(
    #ffd669 0 25%,
    #fff0b3 25% 50%,
    #2d69b7 50% 75%,
    #8eb8ef 75%
  );
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  animation: guestWheelFloat 2.6s ease-in-out infinite;
}
.guest-wheel-preview span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #0a3275;
  font-size: 23px;
}
.guest-prize-card > small {
  display: block;
  letter-spacing: 0.16em;
  color: #bdd1ef;
}
.guest-prize-card > strong {
  display: block;
  margin: 7px 0 14px;
  font:
    700 28px Georgia,
    serif;
}
.guest-prize-card > div:not(.guest-wheel-preview) {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.guest-prize-card b {
  padding: 6px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 11px;
}
.guest-prize-card p {
  margin: 13px 0 0;
  color: #bdd1ef;
  font-size: 11px;
}
@keyframes guestWheelFloat {
  50% {
    transform: translateY(-6px) rotate(7deg);
  }
}
.guest-mode .points-pill,
.guest-mode .header-member-badge,
.guest-mode .member-logout {
  display: none !important;
}
.guest-mode .sidebar,
.guest-mode .mobile-bottom-nav {
  display: none !important;
}
.guest-mode main {
  margin-left: 0;
}
.guest-mode header .menu {
  display: none;
}
.guest-mode .view:not(#inicioView) {
  display: none !important;
}
.guest-mode #inicioView {
  display: block !important;
  min-height: calc(100vh - 94px);
}
.guest-mode #inicioView > :not(.guest-welcome) {
  display: none;
}
@media (max-width: 760px) {
  .guest-mode {
    padding-bottom: 0;
  }
  .guest-mode #inicioView {
    min-height: calc(100dvh - 64px);
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
  .guest-welcome {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 16px;
    margin-bottom: 8px;
    padding: 22px 18px;
    border-width: 3px;
    border-radius: 20px;
  }
  .guest-welcome h2 {
    margin: 10px 0;
    font-size: clamp(30px, 9.5vw, 36px);
    line-height: 1.02;
  }
  .guest-welcome-copy > p {
    font-size: 13px;
    line-height: 1.5;
  }
  .guest-actions {
    gap: 8px;
    margin: 17px 0 10px;
  }
  .guest-actions button {
    min-height: 44px;
  }
  .guest-prize-card {
    justify-self: stretch;
    width: 100%;
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 11px;
    text-align: left;
    align-items: center;
    padding: 12px;
    border-radius: 15px;
  }
  .guest-wheel-preview {
    grid-row: 1/5;
    width: 56px;
    height: 56px;
    border-width: 4px;
    margin: 0;
  }
  .guest-wheel-preview span {
    width: 25px;
    height: 25px;
    font-size: 14px;
  }
  .guest-prize-card > strong {
    font-size: 20px;
    margin: 2px 0;
  }
  .guest-prize-card > div:not(.guest-wheel-preview) {
    justify-content: flex-start;
  }
  .guest-prize-card p {
    margin-top: 4px;
  }
  .guest-actions {
    display: grid;
  }
  .guest-actions button {
    width: 100%;
  }
}


/* YOME CSS source: dual-auth.css */
.auth-method-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  margin: 12px 0 16px;
  border: 1px solid rgba(7, 31, 80, 0.14);
  border-radius: 14px;
  background: rgba(7, 31, 80, 0.05);
}

.language-toggle {
  min-height: 38px;
  border: 1px solid rgba(7, 31, 80, 0.16);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: #071f50;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.register-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.register-brand .language-toggle {
  min-width: 74px;
}

.referral-summary-box {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(8, 40, 103, 0.14);
  border-radius: 8px;
  background: rgba(8, 40, 103, 0.05);
}

.referral-summary-box strong,
.referral-summary-box small {
  display: block;
}

.referral-summary-box small {
  margin-top: 5px;
  color: #66738c;
  line-height: 1.45;
}

.auth-method-switch button {
  border: 0;
  border-radius: 10px;
  padding: 11px 10px;
  background: transparent;
  color: #58657a;
  font-weight: 800;
  cursor: pointer;
}

.auth-method-switch button.active {
  background: #071f50;
  color: #fff;
  box-shadow: 0 10px 24px rgba(7, 31, 80, 0.16);
}

.email-auth-field {
  display: grid;
  gap: 7px;
}

.email-code-field {
  display: grid;
  gap: 7px;
}

.email-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.email-code-row input {
  min-width: 0;
}

.email-code-row button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  padding: 0 14px;
  background: #071f50;
  color: #fff;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

.email-code-row button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.email-auth-field[hidden],
.email-code-field[hidden],
.phone-auth-group[hidden],
.code-auth-group[hidden],
.phone-row[hidden],
.code-row[hidden] {
  display: none !important;
}

.auth-helper-note {
  display: block;
  margin: -4px 0 12px;
  color: #6d7789;
  font-size: 0.88rem;
  line-height: 1.4;
}

.referral-applied {
  background: #f4f8ff !important;
  color: #071f50 !important;
  font-weight: 850;
}

.referral-auto-note {
  display: block;
  margin-top: 6px;
  color: #176b4d;
  font-size: 0.82rem;
  font-weight: 750;
}

.google-auth-slot {
  width: 100%;
  min-height: 44px;
  margin-bottom: 12px;
}

/* Membership tier colors keep the card and its compact header badge in sync. */
.my-yome-card[data-tier="basic"] {
  background: linear-gradient(135deg, #536b88, #8b9cb0), #536b88;
}
.my-yome-card[data-tier="gold"] {
  background: radial-gradient(circle at 86% 8%, rgba(255, 242, 168, .38), transparent 30%), linear-gradient(135deg, #754c0d, #d7a62e 54%, #fff0a2), #b98018;
  color: #fffdf2;
}
.my-yome-card[data-tier="platinum"] {
  background: linear-gradient(135deg, #4f5d70, #c8d2df 54%, #f7fbff), #8795a8;
}
.my-yome-card[data-tier="diamond"] {
  background: radial-gradient(circle at 82% 10%, rgba(177, 247, 255, .48), transparent 30%), linear-gradient(135deg, #07516d, #27a9c1 54%, #c8f8ff), #087a95;
}
.header-member-badge[data-tier="basic"] > .crown,
.crown-basic { color: #b9c4d1 !important; text-shadow: 0 1px #47586d !important; }
.header-member-badge[data-tier="gold"] > i { background: #a66b08; }
.header-member-badge[data-tier="platinum"] > i { background: #68788d; }
.header-member-badge[data-tier="diamond"] > i { background: #087d98; }
.my-yome-card[data-tier="gold"] .my-yome-card-top b,
.my-yome-card[data-tier="platinum"] .my-yome-card-top b,
.my-yome-card[data-tier="diamond"] .my-yome-card-top b { background: rgba(255, 255, 255, .2); }

.google-auth-slot > div {
  width: 100% !important;
}

.google-auth-slot iframe {
  max-width: 100% !important;
}

.google-auth-slot.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.google-auth-help-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(12, 48, 105, 0.18);
  border-radius: 8px;
  background: #f5f8fd;
  color: #06245a;
  font-size: 13px;
  line-height: 1.35;
}

.google-auth-help-card span {
  color: #55657f;
}

.google-auth-open-browser {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: #06245a;
  color: #fff;
  font-weight: 800;
}

.google-auth-button {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 14px;
  border: 1px solid rgba(7, 31, 80, 0.16);
  border-radius: 12px;
  background: #fff;
  color: #18233d;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(7, 31, 80, 0.08);
}

.google-auth-button b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3f6fb;
  color: #4285f4;
  font-family: Arial, sans-serif;
  font-size: 17px;
}

.google-auth-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.apple-auth-slot {
  width: 100%;
  margin-bottom: 12px;
}

.apple-auth-button {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 14px;
  border: 1px solid #111;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(7, 31, 80, 0.08);
}

.apple-auth-button b {
  font-family: Arial, sans-serif;
  font-size: 21px;
  line-height: 1;
}

.apple-auth-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.my-yome-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.my-yome-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 270px;
  padding: 22px;
  border-radius: 8px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(5, 24, 63, 0.96), rgba(10, 79, 146, 0.92)),
    #071f50;
  box-shadow: 0 20px 40px rgba(7, 31, 80, 0.2);
}

.my-yome-card::after {
  content: "YOME";
  position: absolute;
  right: 16px;
  bottom: 8px;
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(48px, 9vw, 92px);
  font-weight: 950;
  letter-spacing: 0;
}

.my-yome-card-top,
.my-yome-code-row,
.my-yome-phone-row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.my-yome-card-top span,
.my-yome-code-row span,
.my-yome-phone-row span {
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.my-yome-card-top b {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
}

.my-yome-card > strong {
  position: relative;
  z-index: 1;
  align-self: end;
  font-size: clamp(1.45rem, 4vw, 2.15rem);
  letter-spacing: 0;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.my-yome-barcode {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 13px 14px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #071f50;
  cursor: pointer;
}

.my-yome-barcode svg {
  width: 100%;
  height: 96px;
  display: block;
}

.my-yome-barcode small {
  color: #071f50;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
}

.my-yome-scan-button {
  position: relative;
  z-index: 1;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  background: #fff;
  color: #071f50;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.my-yome-card p,
.my-yome-card small {
  position: relative;
  z-index: 1;
  margin: 0;
}

.my-yome-card p {
  font-weight: 850;
}

.my-yome-card small {
  color: rgba(255, 255, 255, 0.72);
  overflow-wrap: anywhere;
}

.my-yome-code-row {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.my-yome-phone-row {
  padding-top: 10px;
  color: rgba(255, 255, 255, 0.86);
}

.my-yome-phone-row b {
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.my-yome-code-row button {
  border: 0;
  border-radius: 8px;
  padding: 9px 11px;
  background: #fff;
  color: #071f50;
  font-weight: 900;
  cursor: pointer;
}

.my-yome-code-row code {
  font-family: inherit;
  font-weight: 900;
}

.my-yome-summary {
  display: grid;
  gap: 18px;
}

.my-yome-status,
.my-yome-points,
.phone-bind-panel,
.points-exchange-panel {
  border-radius: 8px;
}

.phone-bind-panel {
  margin-top: 18px;
}

.phone-bind-panel .panel-head {
  align-items: start;
}

.phone-bind-panel .panel-head > span {
  padding: 8px 11px;
  border-radius: 999px;
  background: #eef6ff;
  color: #071f50;
  font-weight: 850;
  white-space: nowrap;
}

.phone-bind-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 14px;
}

.phone-bind-form input {
  min-width: 0;
  border: 1px solid #d8e2f0;
  border-radius: 8px;
  padding: 12px 13px;
  color: #071f50;
  font: inherit;
  outline: none;
}

.phone-bind-form input:focus {
  border-color: #1657b8;
  box-shadow: 0 0 0 3px rgba(22, 87, 184, 0.12);
}

#bindPhoneStatus {
  display: block;
  margin-top: 10px;
  color: #667085;
}

.flash-product-card {
  display: grid;
  grid-template-columns: minmax(320px, 1.25fr) minmax(260px, 0.8fr);
  gap: 0;
  align-items: stretch;
  border: 1px solid #d9e2f2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(7, 31, 80, 0.1);
  overflow: hidden;
}

.product-of-day.flash-product-card::before,
.product-of-day.flash-product-card::after {
  content: none !important;
  display: none !important;
}

.flash-product-card .product-visual {
  display: grid;
  place-items: center;
  gap: 10px;
  grid-row: 1 / span 2;
  width: 100% !important;
  max-width: none !important;
  min-height: 318px;
  padding: 0;
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(7, 31, 80, 0.96), rgba(16, 75, 98, 0.95)),
    #071f50;
  color: #fff;
  overflow: hidden;
}

.flash-product-card .product-visual img {
  width: 100% !important;
  height: 100% !important;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  display: block;
}

.flash-product-card .product-visual span {
  display: block;
  font-size: 4.2rem;
  line-height: 0.88;
  text-align: center;
}

.flash-product-card .product-visual i {
  color: #f4d35e;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.flash-product-card .product-details {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px 22px 12px;
}

.flash-product-card .product-details h2 {
  margin: 0;
  color: #071f50;
  font-size: 2.35rem;
  line-height: 1.02;
}

.flash-product-card .product-details p {
  margin: 0;
  color: #536179;
}

.flash-product-card .product-price {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
}

.flash-product-card .product-price small {
  width: 100%;
  color: #0d6b57;
  font-weight: 900;
}

.flash-product-card .product-price strong {
  color: #071f50;
  font-size: 3rem;
  line-height: 1;
}

.flash-product-card .product-price em {
  font-size: 0.44em;
  font-style: normal;
}

.flash-product-card .product-price del {
  color: #8a3a36;
  font-weight: 800;
}

.product-action {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-content: start;
  padding: 0 22px 22px;
  background: #fff;
  border-left: 0;
}

#flashDiscountBadge,
.flash-stock,
.flash-validity,
#flashClaimStatus,
.flash-claim-feed {
  display: none !important;
}

#flashDiscountBadge {
  justify-self: start;
  border-radius: 999px;
  background: #b3261e;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 950;
  padding: 7px 12px;
}

.flash-stock,
.flash-validity {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid #d9e2f2;
  border-radius: 8px;
  background: #fff;
  color: #071f50;
}

.flash-stock b,
.flash-validity b {
  font-size: 1.7rem;
  line-height: 1;
}

.flash-validity b {
  color: #0d6b57;
}

.flash-stock small,
.flash-validity small,
.flash-claim-feed span {
  color: #667085;
}

#claimFlashOffer {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  padding: 14px 16px;
  background: #071f50;
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(7, 31, 80, 0.18);
}

#claimFlashOffer:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

#flashClaimStatus {
  color: #536179;
  font-weight: 800;
  line-height: 1.35;
}

.flash-claim-feed {
  display: grid;
  gap: 5px;
  max-height: 86px;
  overflow: auto;
  font-size: 0.86rem;
}

.flash-claim-feed b {
  color: #071f50;
}

.my-yome-progress {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.my-yome-progress span,
.my-yome-progress small {
  color: #667085;
  font-size: 0.9rem;
}

.my-yome-progress div {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9eef6;
}

.my-yome-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0d6b57, #1f8f74);
}

.my-yome-points strong {
  display: block;
  margin: 10px 0 4px;
  color: #071f50;
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  line-height: 1;
}

.points-exchange-panel {
  margin-top: 18px;
}

.member-invoice-panel {
  margin-top: 18px;
}

.invoice-first-panel {
  margin-top: 0;
  border: 2px solid #d8b34c;
  box-shadow: 0 14px 34px rgba(120, 80, 9, .12);
}

.invoice-first-panel .panel-head h3 {
  margin-top: 6px;
}

.member-invoice-badge {
  border: 1px solid #c6d9d0;
  border-radius: 999px;
  color: #0b7056;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 7px 11px;
}

.member-invoice-upload {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 14px;
  padding: 18px;
  border: 2px dashed #b9d2c8;
  border-radius: 12px;
  background: #f7fbf8;
  color: #17372e;
  cursor: pointer;
  text-align: center;
}

.member-invoice-upload:hover,
.member-invoice-upload:focus-within {
  border-color: #0b7056;
  background: #eef8f2;
}

.member-invoice-upload input {
  display: none;
}

.member-invoice-upload strong {
  font-size: 0.95rem;
}

.member-invoice-upload small,
.member-invoice-status {
  color: #6d7f77;
}

.member-invoice-upload .invoice-symbol-large {
  width: 38px;
  height: 38px;
  transform: scale(0.72);
}

.member-invoice-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  color: #526960;
  font-size: 0.8rem;
}

.member-invoice-preview img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  border: 1px solid #d4e2db;
  object-fit: cover;
}

.member-invoice-status {
  display: block;
  margin-top: 9px;
  line-height: 1.45;
}

.member-invoice-status.success {
  color: #147a50;
  font-weight: 800;
}

.points-upload-symbol {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #f6c64d, #c88716);
  font-size: 34px;
  line-height: 1;
  box-shadow: 0 10px 18px rgba(157, 103, 11, .24);
}

.member-invoice-v2-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 10px;
  border: 1px solid #d8b34c;
  border-radius: 10px;
  color: #785009;
  background: #fff8df;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.member-invoice-v2-link:hover,
.member-invoice-v2-link:focus-visible {
  color: #fff;
  background: #9c6b10;
}

.member-invoice-v2-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: #c58b18;
}

.points-exchange-panel .panel-head {
  align-items: start;
}

.points-exchange-panel .panel-head > span {
  padding: 8px 11px;
  border-radius: 999px;
  background: #eef6ff;
  color: #071f50;
  font-weight: 850;
  white-space: nowrap;
}

.exchange-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.exchange-option {
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(7, 31, 80, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #1d2a44;
  text-align: left;
  cursor: pointer;
}

.exchange-option span,
.exchange-option small {
  color: #6b7484;
}

.exchange-option strong {
  color: #071f50;
  font-size: 1.2rem;
}

.exchange-option:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  background: #f6f8fb;
}

.exchange-note {
  margin: 14px 0 0;
  color: #667085;
  font-size: 0.92rem;
}

.wallet-dynamic-ticket {
  display: grid;
  gap: 12px;
}

.wallet-dynamic-ticket .ticket-code {
  display: grid;
  gap: 9px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(7, 31, 80, 0.06);
  color: #071f50;
}

.wallet-ticket-barcode {
  display: block;
  width: 100%;
  height: 104px;
  border: 1px solid #d9e2f2;
  border-radius: 6px;
  background: #fff;
}

.wallet-dynamic-ticket .ticket-code span {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wallet-dynamic-ticket .ticket-code strong {
  font-size: 1.35rem;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.wallet-dynamic-ticket .ticket-note {
  margin: 0;
  color: #667085;
  font-size: 0.9rem;
}

.wallet-dynamic-ticket.expired {
  opacity: 0.68;
}

.reward-ticket.shopping-voucher {
  position: relative;
  overflow: hidden;
  border: 1px solid #c9d6ea;
  background:
    radial-gradient(circle at 0 50%, transparent 0 12px, #fff 13px),
    radial-gradient(circle at 100% 50%, transparent 0 12px, #fff 13px),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: #071f50;
  box-shadow: 0 10px 28px rgba(7, 31, 80, 0.12);
}

.reward-ticket.shopping-voucher::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 54%;
  border-top: 1px dashed #c2cde0;
  pointer-events: none;
}

.reward-ticket.shopping-voucher .ticket-top {
  border-bottom: 0;
}

.reward-ticket.shopping-voucher .ticket-top span {
  color: #0b5a8f;
  letter-spacing: 0;
}

.reward-ticket.shopping-voucher h3 {
  margin-bottom: 0;
  color: #071f50;
}

.voucher-amount {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #071f50;
  color: #fff;
}

.voucher-amount span {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #b9d5ff;
}

.voucher-amount strong {
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1;
}

.reward-ticket.shopping-voucher .ticket-code {
  border: 1px solid #d7e0ee;
  background: #fff;
}

.sample-voucher-code::before {
  content: "";
  display: block;
  height: 58px;
  border-radius: 6px;
  border: 1px solid #d9e2f2;
  background: repeating-linear-gradient(
    90deg,
    #071f50 0 2px,
    #fff 2px 4px,
    #071f50 4px 5px,
    #fff 5px 9px
  );
}

.wallet-empty-state {
  display: grid;
  gap: 6px;
  align-content: center;
  border-style: dashed;
  background: #f8fbff;
}

.wallet-empty-state h3,
.wallet-empty-state p {
  margin: 0;
}

.wallet-empty-state p {
  color: #667085;
}

.new-product small {
  display: block;
  margin-top: 4px;
  color: #536179;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.new-product-photo.no-image,
.all-product-photo.no-image {
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(7, 31, 80, 0.94), rgba(13, 107, 87, 0.88)),
    #071f50;
  color: #fff;
}

.new-product-photo.no-image span,
.all-product-photo.no-image span {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 0.9;
  text-align: center;
}

.products-page-head {
  display: grid;
  gap: 12px;
}

.products-page-head button {
  justify-self: start;
}

.all-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.all-product-card,
.product-list-empty {
  overflow: hidden;
  border: 1px solid #d9e2f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 31, 80, 0.08);
}

.all-product-photo {
  aspect-ratio: 1;
  background: #f5f8ff;
}

.all-product-photo img,
.new-product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Product photos load directly now; keep a clean YOME mark when an old URL is unavailable. */
.new-product-photo img.is-fallback,
.all-product-photo img.is-fallback,
.realtime-special-photo img.is-fallback {
  object-fit: contain;
  padding: 22px;
  box-sizing: border-box;
  background: #f7f8fa;
}

.all-product-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.all-product-body span {
  color: #0d6b57;
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.all-product-body h3,
.all-product-body p {
  margin: 0;
}

.all-product-body h3 {
  color: #071f50;
  font-size: 1.02rem;
  line-height: 1.15;
}

.all-product-body p {
  min-height: 42px;
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.35;
}

.all-product-body strong {
  color: #071f50;
  font-size: 1.1rem;
}

.product-list-empty {
  grid-column: 1 / -1;
  padding: 22px;
  color: #536179;
}

.nav-ai-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: #061d4d;
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 4px 12px rgba(8, 40, 103, 0.18);
  vertical-align: middle;
}

button.nav .nav-ai-icon {
  margin-right: 8px;
}

.mobile-icon .nav-ai-icon {
  width: 26px;
  height: 26px;
  margin: 0 auto;
  display: block;
}

.ai-assistant-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.ai-chat-card,
.ai-suggestions-card {
  min-width: 0;
}

.ai-chat-card {
  display: grid;
  grid-template-rows: auto minmax(260px, 1fr) auto auto auto;
  gap: 14px;
}

.ai-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d8e1ef;
}

.ai-badge {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #062259, #0d7a68);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}

.ai-mascot {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 14px;
  object-fit: cover;
  background: #1687ef;
  border: 2px solid #fff;
  box-shadow: 0 10px 22px rgba(8, 40, 103, 0.18);
}

.ai-chat-head strong,
.ai-suggestions-card h3 {
  display: block;
  color: #071f50;
  font-size: 1.2rem;
  line-height: 1.1;
}

.ai-chat-head small {
  color: #667085;
  font-weight: 700;
}

.ai-chat-messages {
  min-height: 360px;
  max-height: 560px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d8e1ef;
  border-radius: 14px;
  background: #e9f1eb;
}

.ai-message {
  max-width: min(82%, 680px);
  border-radius: 14px;
  padding: 11px 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(7, 31, 80, 0.08);
}

.ai-message.bot {
  align-self: flex-start;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  color: #10264f;
  border: 1px solid #d9e3f3;
  border-bottom-left-radius: 5px;
}

.ai-message-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 9px;
  object-fit: cover;
  background: #1687ef;
  border: 1px solid #d8e1ef;
}

.ai-message-text {
  min-width: 0;
}

.ai-message.user {
  align-self: flex-end;
  background: #d9fdd3;
  color: #10264f;
  border-bottom-right-radius: 5px;
}

.ai-message-text a,
.ai-message.user a {
  color: #075e54;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 800;
}

.ai-quick-actions,
.ai-chat-composer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-quick-actions button,
.ai-product-suggestions button {
  border: 1px solid #cdd9ec;
  border-radius: 8px;
  background: #fff;
  color: #082867;
  padding: 10px 12px;
  font-weight: 900;
  cursor: pointer;
}

.ai-chat-composer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.ai-upload-button,
#aiSendMessage {
  border: 0;
  border-radius: 8px;
  min-height: 46px;
  display: inline-grid;
  place-items: center;
  padding: 0 15px;
  font-weight: 900;
  cursor: pointer;
}

.ai-upload-button {
  background: #e8f3ef;
  color: #08664f;
}

.ai-upload-symbol {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 50%;
  color: #fff;
  background: #b07812;
}

.ai-upload-button input {
  display: none;
}

.ai-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ai-attachment-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ai-invoice-submit {
  border: 0;
  border-radius: 8px;
  min-height: 38px;
  padding: 0 13px;
  color: #fff;
  background: #b07812;
  font-weight: 900;
  cursor: pointer;
}

.ai-invoice-submit:disabled {
  opacity: .65;
  cursor: wait;
}

#aiChatInput {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cdd9ec;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 800;
  box-sizing: border-box;
}

#aiSendMessage {
  background: #082867;
  color: #fff;
}

#aiSendMessage:disabled {
  opacity: 0.62;
  cursor: wait;
}

.ai-attachment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px dashed #9bb0ce;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.ai-attachment img {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #d8e1ef;
}

.ai-product-suggestions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.ai-product-suggestions button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.ai-product-suggestions span {
  white-space: nowrap;
  color: #0b7a5b;
}

#aiChatStatus.ok {
  color: #0b7a5b;
}

#facturaView .section-intro {
  max-width: 1060px;
  margin: 26px auto 14px;
}

#facturaView .section-intro p {
  max-width: 760px;
}

#facturaView .ai-assistant-layout {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1060px;
  margin: 0 auto;
  gap: 12px;
}

#facturaView .ai-chat-card.panel {
  min-height: min(760px, calc(100vh - 190px));
  padding: 0;
  overflow: hidden;
  border-color: #b8c8df;
  background: #fff;
}

#facturaView .ai-chat-card {
  grid-template-rows: auto minmax(430px, 1fr) auto auto auto;
  gap: 0;
}

#facturaView .ai-chat-head {
  padding: 14px 18px;
  border: 0;
  background: linear-gradient(135deg, #06285f, #0b735f);
  color: #fff;
}

#facturaView .ai-chat-head strong {
  color: #fff;
}

#facturaView .ai-chat-head small {
  color: rgba(255, 255, 255, 0.82);
}

#facturaView .ai-chat-messages {
  min-height: 430px;
  max-height: none;
  border: 0;
  border-radius: 0;
  padding: 18px;
  background: #e9f1eb;
}

#facturaView .ai-message {
  max-width: min(82%, 720px);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(8, 40, 103, 0.08);
}

#facturaView .ai-message.bot {
  border-radius: 16px 16px 16px 5px;
}

#facturaView .ai-message.user {
  border-radius: 16px 16px 5px 16px;
  background: #d9fdd3;
  color: #10264f;
}

#facturaView .ai-quick-actions {
  padding: 12px 16px 8px;
  border-top: 1px solid #d8e1ef;
  background: #fff;
}

#facturaView .ai-quick-actions button {
  border-radius: 999px;
  background: #eef7f2;
}

#facturaView .ai-attachment {
  margin: 8px 16px 0;
}

#facturaView .ai-chat-composer {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px 16px 16px;
  border-top: 1px solid #d8e1ef;
  background: #fff;
}

#facturaView #aiChatInput {
  border-radius: 999px;
  background: #f7f9fd;
  padding: 0 16px;
}

#facturaView .ai-upload-button,
#facturaView #aiSendMessage {
  border-radius: 999px;
}

#facturaView #aiChatStatus {
  min-height: 18px;
  margin: 0;
  padding: 0 16px 14px;
}

#facturaView .ai-suggestions-card.panel {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 14px 16px;
}

#facturaView .ai-product-suggestions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .auth-method-switch {
    border-radius: 12px;
  }

  .email-code-row {
    grid-template-columns: 1fr;
  }

  .email-code-row button {
    width: 100%;
  }

  .my-yome-layout,
  .phone-bind-form,
  .exchange-options {
    grid-template-columns: 1fr;
  }

  .my-yome-card {
    min-height: 245px;
    padding: 18px;
  }

  .my-yome-card-top,
  .my-yome-code-row,
  .my-yome-phone-row,
  .phone-bind-panel .panel-head,
  .points-exchange-panel .panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .my-yome-code-row button,
  .phone-bind-form button,
  .phone-bind-panel .panel-head > span,
  .points-exchange-panel .panel-head > span {
    width: 100%;
    text-align: center;
  }

  .flash-product-card {
    display: block !important;
    gap: 0;
    margin: 0;
    align-items: stretch;
  }

  .flash-product-card .product-visual {
    width: 100% !important;
    max-width: none !important;
    min-height: 190px;
    height: 190px;
    aspect-ratio: auto;
    padding: 0;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
  }

  .flash-product-card .product-visual img {
    width: 100% !important;
    height: 100% !important;
    min-height: 190px;
    object-fit: cover;
    object-position: center;
  }

  .flash-product-card .product-details {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 7px;
    padding: 13px 15px 8px;
  }

  .flash-product-card .product-details h2 {
    font-size: 1.28rem;
    line-height: 1.06;
    max-width: none;
  }

  .flash-product-card .product-price strong {
    font-size: 2rem;
    line-height: 1;
  }

  .flash-product-card .product-visual span {
    font-size: 1.72rem;
  }

  .flash-product-card .product-visual i,
  .flash-product-card .product-details p {
    font-size: 0.64rem;
  }

  .flash-product-card .product-details .eyebrow {
    grid-column: 1 / -1;
  }

  .flash-product-card .product-details p {
    display: none;
  }

  .flash-product-card .product-price {
    justify-content: start;
    gap: 3px 8px;
    text-align: left;
  }

  .flash-product-card .product-price small {
    display: none;
  }

  .flash-product-card .product-price del {
    display: none;
  }

  .flash-product-card .product-action {
    grid-template-columns: 1fr;
    border-left: 0;
    border-top: 0;
    gap: 0;
    padding: 0 15px 15px;
    background: #fff;
  }

  #flashDiscountBadge {
    grid-column: auto;
    justify-self: stretch;
    align-self: stretch;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-size: 1rem;
    padding: 6px 8px;
    position: static !important;
    transform: none !important;
  }

  #claimFlashOffer {
    grid-column: 1 / -1;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.98rem;
  }

  .flash-stock,
  .flash-validity {
    min-height: 38px;
    padding: 5px 3px;
  }

  .flash-stock b,
  .flash-validity b {
    font-size: 1rem;
  }

  .flash-stock small,
  .flash-validity small {
    font-size: 0.54rem;
  }

  #flashClaimStatus {
    font-size: 0.66rem;
    line-height: 1.15;
  }

  .flash-claim-feed {
    max-height: 24px;
    font-size: 0.68rem;
  }

  .flash-claim-feed span:nth-child(n + 2) {
    display: none;
  }

  .new-product-track {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    overflow: visible !important;
  }

  .new-product-track .new-product:nth-child(n+4) {
    display: none !important;
  }

  .new-product {
    min-width: 0 !important;
    width: auto !important;
    padding: 5px;
    border-radius: 8px;
  }

  .new-product-photo {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1.45 / 0.92;
    border-radius: 7px;
  }

  .new-product-photo.no-image span {
    font-size: 1.16rem;
  }

  .new-product strong {
    display: block;
    margin-top: 5px;
    font-size: 0.58rem;
    line-height: 1.1;
  }

  .new-product small {
    margin-top: 3px;
    font-size: 0.72rem;
    line-height: 1.13;
  }

  .all-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .all-product-body {
    padding: 11px;
  }

  .all-product-body p {
    min-height: 0;
    font-size: 0.84rem;
  }

  .products-page-head button {
    width: 100%;
  }

  .ai-assistant-layout,
  .ai-chat-composer {
    grid-template-columns: 1fr;
  }

  .ai-chat-card {
    grid-template-rows: auto minmax(260px, auto) auto auto auto;
  }

  .ai-message {
    max-width: 92%;
  }

  .ai-upload-button,
  #aiSendMessage {
    width: 100%;
  }
}

@media (max-width: 640px) {
  #facturaView .section-intro {
    margin-bottom: 10px;
  }

  #facturaView .ai-chat-card.panel {
    min-height: calc(100vh - 168px);
  }

  #facturaView .ai-chat-card {
    grid-template-rows: auto minmax(360px, 1fr) auto auto auto;
  }

  #facturaView .ai-chat-head {
    padding: 12px;
  }

  #facturaView .ai-mascot {
    width: 48px;
    height: 48px;
  }

  #facturaView .ai-chat-messages {
    min-height: 360px;
    padding: 12px;
  }

  #facturaView .ai-message {
    max-width: 94%;
    font-size: 0.92rem;
  }

  #facturaView .ai-message-avatar {
    width: 28px;
    height: 28px;
  }

  #facturaView .ai-quick-actions {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  #facturaView .ai-quick-actions button {
    white-space: nowrap;
  }

  #facturaView .ai-chat-composer,
  #facturaView .ai-product-suggestions {
    grid-template-columns: 1fr;
  }
}

/* Stable front fallback: keeps /club usable even when older CSS files load slowly. */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #f4f7fc;
  color: #071f50;
  font-family: Arial, Helvetica, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app {
  min-height: 100vh;
  background: #f4f7fc;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: 230px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 20px;
  background: #071f50;
  color: #fff;
}

.sidebar .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.sidebar nav {
  display: grid;
  gap: 10px;
}

.nav {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.nav.active,
.nav:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.nav-ai-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.member-card {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mini-avatar,
.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 900;
}

main {
  min-width: 0;
  padding: 26px 40px 88px;
}

main > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

main > header h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.05;
}

main > header small,
.eyebrow {
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 850;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.view:not(.active) {
  display: none !important;
}

.view.active {
  display: block;
}

body.guest-mode:not(.club-view-inicio) #inicioView {
  display: none !important;
}

body.guest-mode.club-view-factura #facturaView,
body.guest-mode.club-view-red #redView,
body.guest-mode.club-view-premios #premiosView,
body.guest-mode.club-view-beneficios #beneficiosView,
body.guest-mode.club-view-cartera #carteraView,
body.guest-mode.club-view-productos #productosView {
  display: block !important;
}

body.guest-mode main {
  margin-left: 0 !important;
}

.header-actions .language-toggle {
  display: none !important;
}

.member-mode .register-link {
  display: none !important;
}

@media (min-width: 951px) {
  body:not(.guest-mode) main {
    margin-left: 230px !important;
  }

  body.guest-mode main {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.daily-lottery-teaser,
.hero,
.metric,
.benefit-card,
.points-exchange-panel,
.wallet-card,
.product-of-day,
.new-product,
.all-product-card {
  border: 1px solid #d9e2f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(7, 31, 80, 0.08);
}

.daily-lottery-teaser {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-color: #f2c94c;
  background: #071f50;
  color: #fff;
}

.daily-lottery-teaser small,
.daily-lottery-teaser strong,
.daily-lottery-teaser em {
  display: block;
}

.daily-lottery-teaser em {
  font-style: normal;
  opacity: 0.85;
}

.teaser-action,
.guest-primary,
.primary,
.product-action button,
#claimFlashOffer {
  border: 0;
  border-radius: 8px;
  min-height: 46px;
  padding: 0 18px;
  background: #071f50;
  color: #fff;
  font-weight: 900;
}

.product-of-day {
  overflow: hidden;
}

.flash-product-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1fr);
}

.flash-product-card .product-visual {
  min-height: 260px;
  background: #edf3fb;
}

.flash-product-card .product-visual img {
  width: 100% !important;
  height: 100% !important;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

.flash-product-card .product-details,
.flash-product-card .product-action {
  padding: 18px 20px;
}

.flash-product-card .product-details h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.05;
}

.flash-product-card .product-price strong {
  font-size: 2.55rem;
  line-height: 1;
}

.flash-product-card .product-action {
  display: grid;
  gap: 10px;
  align-content: center;
}

.new-products {
  margin-top: 16px;
}

.new-products-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.new-product-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.new-product {
  overflow: hidden;
  padding: 8px;
}

.new-product-photo {
  aspect-ratio: 1.45 / 0.92;
  border-radius: 7px;
  overflow: hidden;
  background: #eef3fb;
}

.new-product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.new-product strong,
.new-product small {
  display: block;
  margin-top: 7px;
  text-align: center;
}

.hero {
  margin-top: 16px;
  padding: 22px;
  background: linear-gradient(135deg, #071f50, #0d6b57);
  color: #fff;
}

#registerModal[hidden] {
  display: none !important;
}

#registerModal.modal-backdrop,
#registerModal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: grid !important;
  place-items: center !important;
  padding: 16px !important;
  overflow: auto !important;
  background: rgba(3, 18, 50, 0.72) !important;
}

#registerModal .member-auth-modal {
  width: min(920px, calc(100vw - 32px)) !important;
  max-height: calc(100vh - 32px) !important;
  display: grid !important;
  grid-template-columns: minmax(260px, 320px) minmax(360px, 1fr) !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  background: #fff !important;
}

#registerModal .member-auth-story,
#registerModal .member-auth-content {
  min-width: 0 !important;
}

#registerModal .member-auth-content {
  display: block !important;
  overflow: auto !important;
  background: #fff !important;
}

#registerModal .auth-panel.active {
  display: block !important;
}

#registerModal .auth-panel[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  .sidebar {
    inset: auto 0 0 0;
    width: 100%;
    min-height: 0;
    height: 72px;
    padding: 7px 10px;
    border-top: 1px solid #d9e2f2;
    background: #fff;
    color: #071f50;
  }

  .sidebar .brand,
  .sidebar .member-card {
    display: none !important;
  }

  .sidebar nav {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
  }

  .nav {
    min-height: 56px;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    padding: 4px 2px;
    color: #64708a;
    font-size: 0.72rem;
  }

  .nav.active {
    background: #071f50;
    color: #fff;
  }

  main {
    padding: 8px 12px 92px;
  }

  main > header {
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 8px;
  }

  main > header h1 {
    font-size: 1.55rem;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 5px;
  }

  .language-toggle,
  .register-link,
  .member-logout,
  .points-pill,
  .header-member-badge {
    min-height: 38px;
  }

  .member-logout {
    width: 38px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }

  .member-logout span {
    display: none;
    font-size: 16px;
  }

  .member-logout::before {
    content: "↪";
    font-size: 16px;
  }

  .flash-product-card {
    display: block !important;
  }

  .flash-product-card .product-visual {
    min-height: 190px;
    height: 190px;
  }

  .flash-product-card .product-details,
  .flash-product-card .product-action {
    padding: 12px 14px;
  }

  .flash-product-card .product-details h2 {
    font-size: 1.28rem;
  }

  .flash-product-card .product-price strong {
    font-size: 2rem;
  }

  .new-product-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .new-product {
    padding: 5px;
  }

  .new-product strong,
  .new-product small {
    font-size: 0.74rem;
  }

  #registerModal.modal-backdrop,
  #registerModal {
    align-items: start !important;
    padding: 10px !important;
  }

  #registerModal .member-auth-modal {
    display: block !important;
    width: min(100%, 460px) !important;
    max-height: none !important;
  }

  #registerModal .member-auth-story {
    display: none !important;
  }
}

#registerModal.modal-backdrop[hidden],
#registerModal[hidden] {
  display: none !important;
}

/* Mobile polish: keep routed pages compact, centered, and free of horizontal overflow. */
@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  body.guest-mode:not(.club-view-inicio) {
    padding-bottom: max(16px, env(safe-area-inset-bottom)) !important;
  }

  body.guest-mode:not(.club-view-inicio) .app-install-card:not([hidden]) {
    display: none !important;
  }

  main {
    margin-left: 0 !important;
    width: 100%;
    max-width: 100%;
    padding: 0 10px 24px;
    overflow-x: hidden;
  }

  main > header {
    height: auto;
    min-height: 62px;
    margin: 0 -10px 10px;
    padding: 10px 14px;
    border-radius: 0 0 16px 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(7, 31, 80, 0.08);
  }

  main > header small {
    font-size: 0.66rem;
    line-height: 1.1;
  }

  main > header h1 {
    font-size: 1.55rem;
    line-height: 1.1;
    margin-top: 3px;
  }

  .header-actions {
    gap: 6px;
  }

  .language-toggle,
  .register-link {
    min-height: 34px;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .view {
    width: 100%;
    max-width: 100%;
    padding: 14px 0 30px;
    overflow-x: hidden;
  }

  .section-intro,
  .section-intro.centered {
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px;
    padding: 0 14px;
    text-align: left;
  }

  .section-intro .eyebrow {
    font-size: 0.68rem;
  }

  .section-intro h2 {
    margin: 8px 0;
    font-size: 1.95rem;
    line-height: 1.1;
  }

  .section-intro p {
    max-width: 100%;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.45;
    overflow-wrap: normal;
    word-break: normal;
  }

  #premiosView {
    padding-left: 0;
    padding-right: 0;
  }

  #premiosView .spin-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px;
    max-width: 100%;
    margin: 0;
    padding: 0 10px;
    overflow: hidden;
  }

  #premiosView .section-intro p,
  #premiosView .spin-card p,
  #premiosView .spin-card > small {
    max-width: 34ch;
  }

  #premiosView .wheel-wrap {
    width: 100%;
    display: grid;
    place-items: center;
    padding: 8px 0 0;
    overflow: hidden;
  }

  #premiosView .wheel,
  #premiosView .wheel.points-wheel {
    width: 250px !important;
    height: 250px !important;
    max-width: calc(100vw - 92px) !important;
    max-height: calc(100vw - 92px) !important;
    margin: 0 auto !important;
    border-width: 8px !important;
    outline: 3px solid #e6b94f;
    box-shadow:
      0 12px 26px rgba(7, 31, 80, 0.2),
      0 0 0 6px #f8e9b2;
  }

  #premiosView .wheel-center {
    width: 56px;
    height: 56px;
    border-width: 3px;
    font-size: 1.7rem;
  }

  #premiosView .pointer {
    top: 2px;
    border-left-width: 12px;
    border-right-width: 12px;
    border-top-width: 26px;
  }

  #premiosView .wheel-labels span {
    font-size: 0.58rem;
  }

  #premiosView .spin-card.panel {
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 16px;
    border-radius: 14px;
    text-align: left;
  }

  #premiosView .spin-card h3 {
    margin: 6px 0;
    font-size: 1.35rem;
    line-height: 1.15;
  }

  #premiosView .spin-card p {
    margin: 0 0 12px;
    font-size: 0.92rem;
    line-height: 1.42;
    overflow-wrap: normal;
    word-break: normal;
  }

  #premiosView #spinBtn {
    min-height: 46px;
    border-radius: 10px;
    font-size: 1rem;
  }

  #premiosView .spin-card > small {
    display: block;
    margin-top: 10px;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  #premiosView .point-prizes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 100%;
    margin: 14px auto 0;
  }

  #premiosView .point-prizes article {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 10px;
    text-align: left;
  }

  #premiosView .point-prizes article > span {
    font-size: 1.2rem;
  }

  #premiosView .point-prizes b {
    font-size: 0.88rem;
  }

  #premiosView .point-prizes small {
    margin-left: auto;
    font-size: 0.75rem;
    text-align: right;
  }

  body.guest-mode.club-view-inicio #inicioView {
    padding-left: 0;
    padding-right: 0;
  }

  body.guest-mode.club-view-inicio .guest-welcome {
    width: auto;
    max-width: calc(100vw - 20px);
    margin: 0 auto 10px;
    padding: 20px 18px;
    overflow: hidden;
  }

  body.guest-mode.club-view-inicio .guest-welcome h2 {
    font-size: 2rem;
    line-height: 1.08;
  }

  body.guest-mode.club-view-inicio .guest-welcome-copy > p,
  body.guest-mode.club-view-inicio .guest-welcome-copy > small {
    display: block;
    max-width: 32ch;
    line-height: 1.45;
  }

  body.guest-mode.club-view-inicio .guest-prize-card {
    max-width: 100%;
  }
}

/* Front polish: quieter lottery entry and a smaller prizes page. */
.daily-lottery-teaser {
  min-height: 54px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 10px;
}

.daily-lottery-teaser:after {
  width: 112px;
  height: 112px;
  right: 78px;
  top: -64px;
}

.teaser-orbit {
  width: 36px;
  height: 36px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.teaser-orbit b {
  width: 24px;
  height: 24px;
  font-size: 13px;
}

.teaser-copy {
  gap: 1px;
}

.teaser-copy small {
  font-size: 7px;
}

.teaser-copy strong {
  font-size: 12px;
}

.teaser-copy em {
  font-size: 9px;
}

.teaser-action {
  min-height: 32px;
  padding: 0 11px;
  font-size: 9px;
}

.guest-prize-card {
  width: min(100%, 300px);
  padding: 20px;
}

.guest-wheel-preview {
  width: 86px;
  height: 86px;
  margin-bottom: 12px;
}

.guest-prize-card > strong {
  font-size: 24px;
}

#premiosView .section-intro.centered {
  max-width: 620px;
  margin-bottom: 16px;
}

#premiosView .section-intro h2 {
  margin: 6px 0;
  font-size: 2.35rem;
}

#premiosView .section-intro p {
  font-size: 0.95rem;
}

#premiosView .spin-layout {
  max-width: 760px;
  gap: 16px;
}

#premiosView .wheel-wrap {
  padding: 10px;
}

#premiosView .wheel,
#premiosView .wheel.points-wheel {
  width: 310px;
  height: 310px;
  border-width: 10px;
}

#premiosView .wheel-center {
  width: 68px;
  height: 68px;
  font-size: 2rem;
}

#premiosView .pointer {
  border-left-width: 12px;
  border-right-width: 12px;
  border-top-width: 28px;
}

#premiosView .spin-card.panel {
  padding: 20px;
  border-radius: 12px;
}

#premiosView .spin-card h3 {
  margin: 5px 0 8px;
  font-size: 1.55rem;
}

#premiosView .spin-card p {
  margin-bottom: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
}

#premiosView #spinBtn {
  min-height: 44px;
}

#premiosView .point-prizes {
  max-width: 760px;
  margin-top: 18px;
  gap: 10px;
}

#premiosView .point-prizes article {
  padding: 13px;
}

@media (max-width: 760px) {
  .daily-lottery-teaser {
    min-height: 46px;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 7px 10px;
  }

  body:not(.club-view-inicio) .app-install-card:not([hidden]) {
    display: none !important;
  }

  .header-actions {
    margin-top: 3px;
  }

  .header-member-badge > .crown {
    top: -8px !important;
    font-size: 24px !important;
  }

  .daily-lottery-teaser:after {
    width: 86px;
    height: 86px;
    right: 28px;
    top: -52px;
  }

  .teaser-orbit {
    width: 30px;
    height: 30px;
  }

  .teaser-orbit b {
    width: 21px;
    height: 21px;
    font-size: 11px;
  }

  .teaser-copy strong {
    font-size: 11px;
  }

  .teaser-copy em {
    display: none;
  }

  .teaser-action {
    grid-column: auto;
    min-height: 30px;
    padding: 0 9px;
  }

  body.guest-mode.club-view-inicio .guest-prize-card {
    grid-template-columns: 48px 1fr;
    column-gap: 9px;
    padding: 10px;
  }

  body.guest-mode.club-view-inicio .guest-wheel-preview {
    width: 46px;
    height: 46px;
  }

  body.guest-mode.club-view-inicio .guest-prize-card > strong {
    font-size: 18px;
  }

  #premiosView .section-intro {
    margin-bottom: 12px;
  }

  #premiosView .section-intro h2 {
    font-size: 1.75rem;
  }

  #premiosView .wheel,
  #premiosView .wheel.points-wheel {
    width: 218px !important;
    height: 218px !important;
    max-width: calc(100vw - 116px) !important;
    max-height: calc(100vw - 116px) !important;
    border-width: 7px !important;
  }

  #premiosView .wheel-center {
    width: 48px;
    height: 48px;
    font-size: 1.45rem;
  }

  #premiosView .pointer {
    border-left-width: 10px;
    border-right-width: 10px;
    border-top-width: 22px;
  }

  #premiosView .spin-card.panel {
    padding: 14px;
  }

  #premiosView .spin-card h3 {
    font-size: 1.22rem;
  }

  #premiosView #spinBtn {
    min-height: 42px;
  }
}

/* Keep the member header visible without pushing the first product below the fold. */
@media (max-width: 760px) {
  main > header {
    position: sticky;
    top: 0;
    z-index: 32;
    min-height: 56px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin: 0 -10px 8px;
    padding: 6px 10px;
    border-radius: 0 0 12px 12px;
  }

  main > header > div:first-of-type {
    min-width: 0;
    flex: 1 1 auto;
  }

  main > header small {
    font-size: 0.58rem;
  }

  main > header h1 {
    max-width: 100%;
    margin-top: 2px;
    font-size: 1.18rem;
    line-height: 1.08;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  main > header .header-actions {
    width: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 3px;
    margin-top: 0;
  }

  main > header .header-actions > * {
    min-height: 30px !important;
    height: 30px;
    padding: 0 7px !important;
  }

  main > header .register-link {
    font-size: 0.7rem;
  }

  main > header .points-pill {
    min-width: 42px;
    font-size: 0;
  }

  main > header .points-pill span,
  main > header .points-pill b {
    font-size: 0.72rem;
  }

  main > header .header-member-badge {
    min-width: 38px;
    margin-left: -7px;
    transform: scale(0.78);
    transform-origin: right center;
  }

  #inicioView {
    padding-top: 6px;
  }

  #inicioView .flash-product-card .product-visual {
    min-height: 154px;
    height: 154px;
  }
}

/* The compact bottom bar stays visible; this opens the full navigation from the header. */
@media (max-width: 760px) {
  main > header .menu {
    display: inline-grid !important;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0 !important;
    border: 1px solid #b9c9e5;
    border-radius: 8px;
    background: #fff;
    color: #071f50;
    line-height: 1;
    z-index: 34;
    pointer-events: auto;
  }

  #sidebar.open {
    display: flex !important;
    position: fixed !important;
    inset: 58px auto auto 10px !important;
    z-index: 100 !important;
    width: min(280px, calc(100vw - 20px)) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 78px);
    padding: 12px !important;
    gap: 8px !important;
    transform: none !important;
    overflow: auto;
    border: 1px solid #d5dfef;
    border-radius: 14px;
    background: #071f50;
    box-shadow: 0 16px 38px rgba(7, 31, 80, 0.28);
  }

  #sidebar.open .brand,
  #sidebar.open .member-card {
    display: flex !important;
  }

  #sidebar.open .brand {
    margin: 0 4px 4px;
  }

  #sidebar.open nav {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 4px;
  }

  #sidebar.open .nav {
    min-height: 42px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0 12px;
    color: rgba(255, 255, 255, 0.82);
  }

  #sidebar.open .nav.active,
  #sidebar.open .nav:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
  }

  #sidebar.open .member-card {
    margin-top: 4px;
    padding: 10px 4px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}
