:root {
  color-scheme: light;
  --ink: #28243f;
  --ink-soft: #5f5a73;
  --muted: #8f8a9f;
  --pink: #ee67a2;
  --pink-deep: #d94888;
  --blue: #67a8ed;
  --blue-deep: #4c83d1;
  --lilac: #9b81e5;
  --line: #eeeaf3;
  --surface: #ffffff;
  --shadow: 0 24px 70px rgba(72, 54, 109, .09);
  --font-display: "Outfit", "DM Sans", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
img { -webkit-user-drag: none; user-select: none; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #fffafd;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(89, 151, 226, .6);
  outline-offset: 3px;
}
.ambient { position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(80px); opacity: .31; }
.ambient--pink { width: 340px; height: 340px; top: 90px; left: -190px; background: #ffd6e9; }
.ambient--blue { width: 370px; height: 370px; top: 410px; right: -240px; background: #d8e9ff; }
.site-header {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  width: 100%; height: 82px; padding: 0 max(calc((100vw - 1160px) / 2), 5.2vw);
  background: rgba(255, 250, 253, .92); border-bottom: 1px solid rgba(240, 231, 240, .8);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  display: flex; align-items: center; justify-content: center; gap: 1px; width: 43px; height: 43px; border-radius: 15px; transform: rotate(-5deg);
  color: white; background: linear-gradient(145deg, #f27cb0, #b183e9); font: 800 14px var(--font-display);
  box-shadow: 0 8px 18px rgba(219, 104, 168, .25);
}
.brand-mark span, .brand-copy strong span { color: #ffd7eb; }
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy strong { color: #342b49; font: 700 18px var(--font-display); letter-spacing: -.5px; }
.brand-copy strong span { color: var(--pink); }
.brand-copy small { color: #9992a5; font-size: 8px; font-weight: 800; letter-spacing: 1.3px; }
.main-nav { display: flex; align-items: center; gap: 32px; margin-left: 70px; }
.nav-link { position: relative; padding: 12px 0; color: #777186; font-size: 13px; font-weight: 700; transition: color .2s ease; }
.nav-link:hover, .nav-link.is-active { color: var(--pink-deep); }
.nav-link.is-active::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; border-radius: 2px; background: var(--pink); content: ""; }
.nav-link--invite { display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border: 1px solid #efd4e4; border-radius: 12px; color: #ad3e73; background: linear-gradient(125deg, #fff5f9, #f5f8ff); box-shadow: 0 3px 10px rgba(157, 86, 130, .06); font-size: 11px; font-weight: 800; white-space: nowrap; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease; }
.nav-link--invite:hover, .nav-link--invite.is-active { color: #972e64; border-color: #e7b3ce; background: linear-gradient(125deg, #ffeff6, #eff5ff); box-shadow: 0 5px 14px rgba(157, 86, 130, .11); }
.nav-link--invite.is-active::after { display: none; }
.invite-nav-mark { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.admin-dot { display: inline-block; width: 6px; height: 6px; margin: 0 0 2px 2px; border-radius: 50%; background: #a68be9; }
.header-cta { padding: 12px 17px; border: 1px solid #f2d5e5; border-radius: 12px; color: #c34b83; background: #fff7fb; font-size: 12px; font-weight: 800; transition: .2s ease; }
.header-cta:hover { border-color: #eea8ca; background: #fff0f7; transform: translateY(-2px); }
.header-cta span { padding-left: 8px; font-size: 16px; }
.is-logged-out .main-nav, .is-logged-out .header-cta, .is-logged-out .menu-toggle { display: none !important; }
.admin-only { display: none !important; }
.is-admin .admin-nav-link { display: inline-flex !important; }
.is-admin .admin-page:not([hidden]) { display: block !important; }
.theme-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 9px 11px; border: 1px solid #eee2ef; border-radius: 11px; color: #71617d; background: rgba(255,255,255,.82); cursor: pointer; font-size: 10px; font-weight: 800; transition: .2s ease; }
.theme-toggle:hover { border-color: #d9c1e6; transform: translateY(-1px); }
.theme-toggle > span:first-child { font-size: 15px; }
.menu-toggle { display: none; }
.page[hidden] { display: none !important; }
.page { animation: page-in .45s ease both; }
.page-wrap { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }
.hero { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; min-height: 632px; padding-top: 20px; padding-bottom: 66px; }
.hero-copy { position: relative; z-index: 1; padding: 0 0 0 18px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #ac6391; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; }
.live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #73cdaa; }
.live-dot::after { position: absolute; inset: -4px; border: 1px solid #92dfbf; border-radius: 50%; content: ""; animation: ping 2s infinite; }
.hero h1, .page-intro h1 { margin: 20px 0 17px; color: #302942; font: 700 clamp(50px, 6.1vw, 77px)/.99 var(--font-display); letter-spacing: -3.7px; }
.gradient-text { color: #d9589b; background: linear-gradient(100deg, #e35c9d 5%, #ac76df 52%, #559de3 100%); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lede { max-width: 468px; margin: 0; color: #777187; font-size: 15px; line-height: 1.85; }
.hero-lede strong { color: #554769; font-weight: 800; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 31px; }
.hero-reward-note { max-width: 430px; margin: 13px 0 0; color: #8b8395; font-size: 10px; line-height: 1.6; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 21px; border: 0; border-radius: 13px; cursor: pointer; font-size: 12px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.button:hover { transform: translateY(-2px); filter: saturate(1.12); }
.button--primary { color: white; background: linear-gradient(110deg, #ec72a7, #bd76dc 57%, #76a6e8); box-shadow: 0 10px 22px rgba(202, 102, 168, .25); }
.button--primary:hover { box-shadow: 0 13px 27px rgba(202, 102, 168, .34); }
.button--primary span { font-size: 18px; line-height: 1; }
.button--full { width: 100%; margin-top: 12px; }
.text-link { color: #706b7d; font-size: 12px; font-weight: 800; }
.text-link span { padding-left: 5px; color: var(--pink); font-size: 17px; vertical-align: -1px; }
.social-proof { display: flex; align-items: center; gap: 13px; margin-top: 42px; color: #8b8499; font-size: 10px; line-height: 1.6; }
.social-proof strong { color: #51465f; font-size: 11px; }
.avatar-stack { display: flex; padding-left: 3px; }
.mini-avatar { display: grid; place-items: center; width: 29px; height: 29px; margin-left: -4px; overflow: hidden; border: 2px solid #fffafd; border-radius: 50%; color: white; font: 700 10px var(--font-display); }
.mini-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 13%; }
.mini-avatar--pink { background: linear-gradient(135deg, #f598bd, #ec659c); }
.mini-avatar--blue { background: linear-gradient(135deg, #90c5f5, #6c91e2); }
.mini-avatar--lilac { background: linear-gradient(135deg, #ceb0f3, #9879d6); }
.mini-avatar--cream { color: #9b7883; background: #f8ddc8; }
.hero-art { position: relative; min-height: 492px; animation: float-in .8s .12s both; }
.art-orbit { position: absolute; top: 52%; left: 50%; border: 1px solid rgba(222, 185, 226, .58); border-radius: 50%; transform: translate(-50%, -50%) rotate(-24deg); }
.art-orbit--one { width: 390px; height: 220px; }
.art-orbit--two { width: 315px; height: 420px; transform: translate(-50%, -50%) rotate(45deg); border-color: rgba(168, 197, 234, .45); }
.avatar-card { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; width: 174px; height: 350px; overflow: visible; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.avatar-card--gabry { top: 66px; left: calc(50% - 155px); z-index: 2; transform: rotate(-7deg); animation: bob-left 5s ease-in-out infinite; }
.avatar-card--emy { top: 103px; left: calc(50% + 4px); transform: rotate(7deg); animation: bob-right 5.3s ease-in-out infinite; }
.avatar-photo { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 14px 13px rgba(89, 64, 113, .17)); }
.character { position: relative; width: 133px; height: 183px; overflow: hidden; }
.character::before { position: absolute; bottom: 0; left: 19px; width: 95px; height: 105px; border: 3px solid rgba(255,255,255,.46); border-radius: 44px 44px 21px 21px; background: linear-gradient(135deg, #ffe1eb, #e8aad2); content: ""; }
.character--emy::before { background: linear-gradient(135deg, #fff, #9dc6ee); }
.character-hair { position: absolute; top: 19px; left: 34px; z-index: 2; width: 65px; height: 70px; border-radius: 48% 50% 39% 42%; background: #704f5f; box-shadow: -7px 8px 0 #704f5f, 7px 6px 0 #704f5f; }
.character--emy .character-hair { background: #544f78; box-shadow: -7px 8px 0 #544f78, 7px 6px 0 #544f78; }
.character-face { position: absolute; top: 35px; left: 42px; z-index: 3; display: grid; place-items: center; width: 48px; height: 54px; border-radius: 48%; color: #994f65; background: #ffe1cf; font: 800 22px var(--font-display); }
.character--emy .character-face { color: #6b6489; background: #ffdfd0; }
.character-face::before { position: absolute; top: 20px; left: 11px; width: 4px; height: 6px; border-radius: 50%; background: #594659; box-shadow: 23px 0 #594659; content: ""; }
.character-face { font-size: 0; }
.character-face::after { position: absolute; top: 32px; left: 20px; width: 10px; height: 5px; border-bottom: 2px solid #bd6477; border-radius: 0 0 10px 10px; content: ""; }
.character-body { position: absolute; bottom: 2px; left: 24px; z-index: 3; width: 87px; height: 54px; border-radius: 30px 30px 10px 10px; background: linear-gradient(130deg, #fff7fb, #efb4d2); }
.character--emy .character-body { background: linear-gradient(130deg, #fff, #a9c7ef); }
.avatar-label { position: absolute; bottom: 9px; z-index: 4; padding: 4px 9px; border: 1px solid rgba(255,255,255,.75); border-radius: 20px; color: #66516f; background: rgba(255,255,255,.75); font-size: 9px; font-weight: 800; letter-spacing: .4px; }
.avatar-label i { color: #e766a0; font-style: normal; }
.art-sticker { position: absolute; z-index: 4; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.9); border-radius: 15px; box-shadow: 0 10px 22px rgba(83, 69, 109, .11); animation: sticker-float 4s ease-in-out infinite; }
.sticker-heart { top: 55px; left: calc(50% + 112px); width: 47px; height: 47px; color: #e55e9a; background: #fff; font-size: 22px; transform: rotate(10deg); }
.sticker-star { top: 303px; left: calc(50% - 207px); width: 44px; height: 44px; color: #e2a83d; background: #fff8df; font-size: 23px; animation-delay: .8s; }
.sticker-smile { top: 354px; left: calc(50% + 115px); width: 42px; height: 42px; color: #788bdd; background: #f4f6ff; font-size: 20px; animation-delay: 1.5s; }
.art-spark { position: absolute; color: #d281c2; font-size: 25px; }
.art-spark--one { top: 55px; left: 100px; }
.art-spark--two { top: 251px; right: 23px; color: #80a6e3; font-size: 31px; }
.art-spark--three { bottom: 46px; left: 82px; color: #e8ab76; font-size: 19px; }
.floating-note { position: absolute; right: 0; bottom: 22px; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 12px 15px 12px 12px; border: 1px solid rgba(246, 233, 242, .9); border-radius: 16px; background: rgba(255,255,255,.93); box-shadow: 0 13px 35px rgba(92, 74, 111, .12); animation: bob-right 4.5s ease-in-out infinite; }
.note-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #d25e98; background: #ffedf5; font-size: 21px; }
.floating-note strong, .floating-note small { display: block; }
.floating-note strong { color: #51455f; font-size: 10px; }
.floating-note small { margin-top: 3px; color: #9991a2; font-size: 8px; }
.art-caption { position: absolute; bottom: -3px; left: 50%; color: #a68fa9; font: 700 9px var(--font-display); letter-spacing: 2px; text-transform: uppercase; transform: translateX(-50%); }
.art-caption span { color: var(--pink); }
.hero-bottom { position: absolute; bottom: 12px; left: 18px; display: flex; align-items: center; gap: 12px; color: #aaa2b1; font-size: 8px; font-weight: 800; letter-spacing: 1.5px; }
.scroll-line { width: 42px; height: 1px; background: linear-gradient(90deg, #eca9cb, transparent); }
.ticker { overflow: hidden; height: 55px; border-top: 1px solid #f4e6ee; border-bottom: 1px solid #f4e6ee; background: rgba(255,255,255,.56); }
.ticker-track { display: flex; align-items: center; justify-content: space-around; min-width: 820px; height: 100%; color: #8b8297; font-size: 9px; font-weight: 800; letter-spacing: 2px; animation: ticker 25s linear infinite; }
.ticker-track i { color: #dc79a9; font-size: 16px; font-style: normal; }
.community-section { padding-top: 99px; padding-bottom: 90px; }
.section-heading { max-width: 620px; margin: 0 auto 38px; text-align: center; }
.eyebrow--center { justify-content: center; }
.section-heading h2 { margin: 14px 0 10px; font: 700 38px var(--font-display); letter-spacing: -1.3px; }
.section-heading p { margin: 0; color: #888195; font-size: 13px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.feature-card { position: relative; min-height: 246px; padding: 25px 24px 22px; overflow: hidden; border: 1px solid transparent; border-radius: 20px; transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 17px 33px rgba(88, 69, 110, .1); }
.feature-card--pink { border-color: #f7dce9; background: linear-gradient(140deg, #fff3f8, #fffbfd); }
.feature-card--blue { border-color: #dce9fa; background: linear-gradient(140deg, #f0f7ff, #fbfdff); }
.feature-card--lilac { border-color: #eae1f8; background: linear-gradient(140deg, #f7f2ff, #fdfbff); }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 14px; background: rgba(255,255,255,.8); font-size: 19px; box-shadow: 0 5px 15px rgba(86,68,108,.06); }
.feature-icon--heart { color: #bf4d87; background: linear-gradient(145deg, #fff, #ffe9f3); }
.feature-icon--heart svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.feature-number { position: absolute; top: 27px; right: 23px; color: #c0a7b6; font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.feature-card h3 { margin: 0 0 9px; color: #41364e; font: 700 18px var(--font-display); }
.feature-card p { max-width: 310px; margin: 0 0 18px; color: #746e82; font-size: 12px; line-height: 1.65; }
.feature-card a { position: relative; z-index: 1; color: #bb5489; font-size: 10px; font-weight: 800; }
.feature-card a span { padding-left: 5px; font-size: 14px; }
.feature-card--blue a { color: #5687ca; }
.feature-card--lilac a { color: #8769c8; }
.feature-decoration { position: absolute; right: 12px; bottom: -32px; color: rgba(225, 129, 177, .12); font-size: 115px; line-height: 1; }
.feature-card--blue .feature-decoration { color: rgba(104, 156, 220, .12); }
.feature-card--lilac .feature-decoration { color: rgba(159, 130, 213, .12); }
.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 87px; border-top: 1px solid #f0e9f0; color: #a19baa; font-size: 9px; }
.brand--footer .brand-mark { width: 34px; height: 34px; border-radius: 12px; font-size: 11px; }
.brand--footer .brand-copy strong { font-size: 15px; }
.brand--footer .brand-copy small { font-size: 7px; }
.footer-heart { color: #e874a9; }

/* Shared page layouts */
.app-page { min-height: calc(100vh - 82px); }
.app-wrap { padding-top: 56px; padding-bottom: 36px; }
.page-intro { margin-bottom: 33px; }
.eyebrow-spark { color: #a77bdb; font-size: 15px; }
.page-intro h1 { max-width: 800px; margin: 13px 0 10px; font-size: clamp(39px, 5.1vw, 59px); letter-spacing: -2.7px; }
.page-intro p { max-width: 640px; margin: 0; color: #817b90; font-size: 13px; line-height: 1.7; }
.panel { border: 1px solid #f0eaf1; border-radius: 21px; background: rgba(255,255,255,.9); box-shadow: 0 14px 40px rgba(70,55,99,.055); }
.panel-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 23px; }
.panel-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; font-size: 19px; }
.panel-icon--pink { color: #d85a96; background: #fff0f7; }
.panel-icon--blue { color: #5d91d5; background: #edf5ff; }
.panel-heading h2 { margin: 0 0 3px; color: #3c344d; font: 700 18px var(--font-display); }
.panel-heading p { margin: 0; color: #9690a0; font-size: 10px; }
.required { color: #e2669d; }
.optional { margin-left: 7px; color: #aaa3b0; font-size: 8px; font-weight: 800; letter-spacing: .7px; }
.invite-layout { display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch; gap: 18px; }
.invite-form { padding: 27px 29px 22px; }
.invite-form label, .gift-form label { display: block; margin: 0 0 8px; color: #595269; font-size: 10px; font-weight: 800; }
.invite-form input, .invite-form textarea, .gift-form input {
  display: block; width: 100%; margin: 0 0 18px; padding: 12px 14px; border: 1px solid #ede8f0; border-radius: 11px;
  color: #4a4458; background: #fdfbfd; font-size: 11px; transition: border .2s, box-shadow .2s;
}
.invite-form input::placeholder, .invite-form textarea::placeholder, .gift-form input::placeholder { color: #b0aab8; }
.invite-form input:focus, .invite-form textarea:focus, .gift-form input:focus { border-color: #dba3c6; outline: none; box-shadow: 0 0 0 3px rgba(219, 163, 198, .14); }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.account-auth { max-width: 520px; margin: 0 auto; }
.account-auth-status { max-width: 520px; margin: 0 auto 12px; padding: 12px 14px; border: 1px solid #cce9db; border-radius: 12px; color: #39795b; background: #f2fbf6; font-size: 11px; line-height: 1.6; }
.account-auth-status[hidden] { display: none !important; }
.account-auth-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 12px; padding: 4px; border: 1px solid #eee8f1; border-radius: 13px; background: rgba(255,255,255,.75); }
.account-auth-option { min-height: 42px; padding: 8px 12px; border: 0; border-radius: 10px; color: #777187; background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; transition: color .2s ease, background .2s ease, box-shadow .2s ease; }
.account-auth-option:hover { color: #ad3e73; }
.account-auth-option.is-active { color: #a83770; background: #fff; box-shadow: 0 2px 9px rgba(76, 48, 87, .09); }
.account-form { padding: 25px 27px; }
.account-form[hidden] { display: none !important; }
.account-form label:not(.consent-label) { display: block; margin: 0 0 7px; color: #595269; font-size: 10px; font-weight: 800; }
.account-form input:not([type="checkbox"]) { display: block; width: 100%; margin: 0 0 17px; padding: 12px 14px; border: 1px solid #ede8f0; border-radius: 11px; color: #4a4458; background: #fdfbfd; font-size: 12px; }
.account-form input:focus { border-color: #dba3c6; outline: none; box-shadow: 0 0 0 3px rgba(219, 163, 198, .14); }
.account-verification-note { margin: 0 0 18px; padding: 14px; border: 1px solid #eadff2; border-radius: 12px; background: linear-gradient(130deg, #fff7fb, #f5f8ff); }
.account-verification-note p { margin: 0 0 10px; color: #716b80; font-size: 10px; line-height: 1.6; }
.account-verification-note p:last-child { margin: 10px 0 0; }
.account-verification-note .small-button { display: inline-flex; align-items: center; gap: 6px; }
.consent-label { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0; color: #777187; font-size: 10px; line-height: 1.6; cursor: pointer; }
.consent-label input { flex: 0 0 auto; width: 15px; height: 15px; margin: 1px 0 0; accent-color: #d95898; }
.consent-label--response { max-width: 500px; margin-top: 20px; text-align: left; }
.account-profile { padding: 24px; }
.account-profile-heading { display: flex; align-items: center; gap: 12px; }
.account-profile-heading h2 { margin: 0 0 4px; color: #3c344d; font: 700 18px var(--font-display); }
.account-profile-heading p { margin: 0; color: #9690a0; font-size: 11px; }
.account-profile-code { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; margin: 20px 0; }
.invite-code-value { display: inline-block; color: #d95898; font: 800 22px var(--font-display); letter-spacing: 2px; }
.profile-check-button { margin: 0 0 12px; }
.profile-check-result { margin: 0 0 17px; }
.profile-check-result[hidden] { display: none !important; }
.account-zepeto-profile { margin: 19px 0 11px; }
.zepeto-profile-card { display: flex; align-items: flex-start; gap: 15px; padding: 16px; border: 1px solid #ece4f1; border-radius: 15px; background: linear-gradient(135deg, #fff8fc, #f6f9ff); }
.zepeto-profile-avatar { width: 70px; height: 70px; flex: 0 0 auto; border-radius: 22px; object-fit: cover; background: #eee8f5; }
.zepeto-profile-avatar--empty { display: grid; place-items: center; color: #826bb3; font: 700 25px var(--font-display); }
.zepeto-profile-main { min-width: 0; flex: 1; }
.zepeto-profile-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.zepeto-profile-title strong, .zepeto-profile-title span { display: block; overflow-wrap: anywhere; }
.zepeto-profile-title strong { color: #51465f; font: 700 15px var(--font-display); }
.zepeto-profile-title span { margin-top: 3px; color: #9c94a4; font-size: 10px; }
.zepeto-profile-title a { flex: 0 0 auto; color: #826bb3; font-size: 9px; font-weight: 700; text-decoration: none; }
.zepeto-profile-stats { display: flex; flex-wrap: wrap; gap: 8px 21px; margin-top: 14px; }
.zepeto-profile-stats span { color: #938b9e; font-size: 9px; }
.zepeto-profile-stats strong { margin-right: 4px; color: #5b5267; font-size: 11px; }
.zepeto-profile-bio, .profile-manual-note { margin: 13px 0 0; color: #8d8598; font-size: 9px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.profile-manual-note { margin: 0 0 18px; }
.permanent-invite-panel { padding: 25px 27px; }
.permanent-invite-card > p { margin: 13px 0 0; color: #918a9e; font-size: 10px; line-height: 1.65; }
.permanent-invite-card > .button { margin-top: 9px; }
.permanent-invite-card > label { display: block; margin: 15px 0 7px; color: #595269; font-size: 10px; font-weight: 800; }
.invite-code-link { display: flex; align-items: center; gap: 9px; }
.invite-code-link input { min-width: 0; flex: 1; padding: 11px 12px; border: 1px solid #ede8f0; border-radius: 10px; color: #6b6377; background: #fdfbfd; font-size: 10px; }
.live-admin-status { color: #8d8498; font-size: 11px; line-height: 1.6; }
.invite-form textarea { resize: vertical; min-height: 76px; }
.form-footnote { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 13px 0 0; color: #aaa3af; font-size: 9px; }
.invite-aside { display: flex; flex-direction: column; gap: 15px; }
.invite-quote { position: relative; flex: 1; min-height: 213px; padding: 30px 25px; overflow: hidden; border: 1px solid #f3dded; border-radius: 21px; background: linear-gradient(145deg, #fff0f7 0%, #fff8fd 52%, #f3f1ff 100%); }
.quote-mark { color: rgba(222, 117, 169, .38); font: 800 65px/ .75 var(--font-display); }
.invite-quote p { max-width: 290px; margin: 3px 0 20px; color: #684d68; font: 600 18px/1.5 var(--font-display); }
.quote-signature { color: #ad718f; font-size: 8px; font-weight: 800; letter-spacing: 1.2px; }
.quote-signature span { color: #ea77aa; }
.quote-star { position: absolute; right: 27px; bottom: 13px; color: #dc9bbd; font-size: 48px; }
.invite-tip { display: flex; gap: 12px; padding: 17px; border: 1px solid #e5eaf7; border-radius: 17px; background: linear-gradient(120deg, #f5f8ff, #fcfaff); }
.tip-icon { font-size: 19px; }
.invite-tip strong { color: #4f4b65; font-size: 10px; }
.invite-tip p { margin: 4px 0 0; color: #898598; font-size: 9px; line-height: 1.6; }
.response-wrap { max-width: 850px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: #8c6b93; font-size: 10px; font-weight: 800; }
.back-link span { font-size: 16px; }
.response-card { display: flex; flex-direction: column; align-items: center; padding: 44px 40px 38px; text-align: center; background: radial-gradient(ellipse at 15% 0%, #fff0f7, transparent 45%), radial-gradient(ellipse at 95% 100%, #eef5ff, transparent 47%), rgba(255,255,255,.94); }
.response-icon { display: grid; place-items: center; width: 61px; height: 61px; margin-bottom: 17px; border: 1px solid #f2d4e5; border-radius: 21px; color: #d95898; background: #fff2f8; box-shadow: 0 9px 24px rgba(211,106,164,.13); font-size: 26px; animation: sticker-float 3.5s ease-in-out infinite; }
.response-icon--blue { border-color: #d9e5f7; color: #6b8fd0; background: #f1f6ff; }
.response-card > .eyebrow { justify-content: center; font-size: 8px; }
.response-card h1 { margin: 12px 0; color: #393049; font: 700 clamp(30px, 5vw, 45px)/1.08 var(--font-display); letter-spacing: -1.5px; }
.response-card > p { max-width: 500px; margin: 13px 0 0; color: #80788c; font-size: 12px; line-height: 1.75; }
.response-card > p strong { color: #5b466d; }
.response-details { display: flex; align-items: center; gap: 11px; margin-top: 19px; padding: 9px 17px 9px 9px; border: 1px solid #f0e7f0; border-radius: 15px; background: rgba(255,255,255,.86); text-align: left; }
.response-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #ed80b2, #a486dc 65%, #75a8e9); font: 700 14px var(--font-display); }
.response-details div > span, .response-details div > strong { display: block; }
.response-details div > span { margin-bottom: 3px; color: #a59baa; font-size: 7px; font-weight: 800; letter-spacing: .8px; }
.response-details div > strong { color: #55485f; font: 700 13px var(--font-display); }
.response-card blockquote { max-width: 440px; margin: 16px 0 0; padding: 10px 16px; border-left: 2px solid #e795bb; color: #826b82; background: rgba(255,248,252,.83); font: 500 12px/1.65 var(--font-display); }
.response-actions { display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.response-actions .small-button { min-height: 43px; padding: 0 19px; font-size: 10px; }
.response-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 21px; padding: 8px 12px; border-radius: 20px; color: #568e78; background: #edf8f2; font-size: 9px; font-weight: 800; }
.response-status--waiting { color: #8974ad; background: #f5f1fb; }
.response-disclaimer { max-width: 620px; margin: 14px auto 0; color: #a19aa8; font-size: 8px; line-height: 1.6; text-align: center; }
.list-section { margin-top: 44px; }
.list-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 16px; }
.list-heading .eyebrow { font-size: 9px; }
.list-heading h2 { margin: 6px 0 0; color: #393148; font: 700 26px var(--font-display); letter-spacing: -.7px; }
.muted-heading { color: #9892a3; font-weight: 500; }
.count-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; padding: 0 10px; border: 1px solid #f0e5ef; border-radius: 20px; color: #9a6889; background: #fff7fc; font-size: 9px; font-weight: 800; white-space: nowrap; }
.invite-list { display: grid; gap: 10px; }
.invite-card { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid #f0eaf1; border-radius: 16px; background: rgba(255,255,255,.9); transition: transform .2s, box-shadow .2s; }
.invite-card:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(70,55,99,.06); }
.invite-avatar { display: grid; place-items: center; width: 41px; height: 41px; flex: 0 0 auto; border-radius: 14px; color: #c05286; background: linear-gradient(145deg, #ffe5f0, #f8d4e9); font: 700 15px var(--font-display); }
.invite-card-main { min-width: 0; flex: 1; }
.invite-card-main strong { color: #51485f; font-size: 11px; }
.invite-card-main p { margin: 4px 0 0; overflow: hidden; color: #9892a0; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.invite-card-meta { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.status-chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 20px; font-size: 8px; font-weight: 800; white-space: nowrap; }
.status-chip::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ""; }
.status-pending { color: #b37b31; background: #fff6e4; }
.status-accepted, .status-verified { color: #4c997d; background: #eaf8f1; }
.status-cancelled, .status-refunded { color: #91899b; background: #f2eff5; }
.invite-actions { display: flex; gap: 6px; }
.small-button { min-height: 29px; padding: 0 10px; border: 1px solid #e9e1ec; border-radius: 8px; color: #716b7d; background: #fff; cursor: pointer; font-size: 8px; font-weight: 800; transition: .18s ease; }
.small-button:hover { border-color: #dda7c7; color: #bc548b; background: #fff7fb; }
.small-button--accept { border-color: #d5ebdf; color: #4c997d; background: #f3fcf7; }
.small-button--accept:hover { border-color: #9ad2b3; color: #367c63; background: #eaf8f1; }
.small-button--danger:hover { border-color: #f0cbd2; color: #bd5c69; background: #fff7f8; }
.empty-state { padding: 25px; border: 1px dashed #eadfea; border-radius: 15px; color: #9b94a4; background: rgba(255,255,255,.5); font-size: 11px; text-align: center; }
.app-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 28px; padding-top: 17px; border-top: 1px solid #f0eaf0; color: #a09aa8; font-size: 9px; }
.app-footer a { color: #ba5f92; font-weight: 800; }
.app-footer a span { padding-left: 3px; font-size: 13px; vertical-align: -1px; }

/* Rewards */
.rewards-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 17px; }
.progress-panel { padding: 25px 28px 20px; }
.progress-stats { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; }
.progress-stats > div:first-child strong { display: block; color: #423850; font: 700 32px var(--font-display); }
.progress-stats > div:first-child span { color: #958e9f; font-size: 9px; }
.next-reward { display: flex; flex-direction: column; align-items: end; gap: 5px; }
.next-reward > span { color: #a09aa8; font-size: 8px; font-weight: 800; letter-spacing: .8px; }
.next-reward strong { color: #6e58bb; font: 700 22px var(--font-display); }
.next-reward strong i { font-size: 11px; font-style: normal; }
.next-reward strong span { color: #e5b454; font-size: 17px; }
.milestone-track { display: flex; align-items: center; gap: 0; margin: 3px 3px 11px; }
.milestone-step { position: relative; display: flex; flex: 1; align-items: center; }
.milestone-step:last-child { flex: 0 0 auto; }
.milestone-node { position: relative; z-index: 1; display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 auto; border: 2px solid #e8e2ee; border-radius: 50%; color: #aaa3b4; background: #fff; font-size: 9px; font-weight: 800; transition: .25s; }
.milestone-node.is-complete { border-color: #e17dad; color: #fff; background: linear-gradient(135deg, #ed78ad, #b47cda); box-shadow: 0 4px 12px rgba(213, 116, 172, .26); }
.milestone-node.is-next { border-color: #b594e1; color: #8f6cc6; box-shadow: 0 0 0 4px rgba(188, 157, 228, .13); }
.milestone-line { height: 3px; flex: 1; background: #eeeaf2; }
.milestone-line.is-complete { background: linear-gradient(90deg, #ec83b4, #bca1e7); }
.progress-caption { display: flex; justify-content: space-between; color: #9690a0; font-size: 9px; }
.progress-caption span:last-child { color: #896eb5; font-weight: 800; }
.milestone-note { display: flex; align-items: center; gap: 8px; margin-top: 21px; padding: 11px 12px; border: 1px solid #eee7f7; border-radius: 11px; color: #8e849a; background: #fbf9ff; font-size: 9px; }
.balance-card { position: relative; min-height: 230px; padding: 23px 24px 18px; overflow: hidden; border-radius: 21px; color: white; background: linear-gradient(145deg, #7979cb 0%, #9782d5 47%, #bd88ce 100%); box-shadow: 0 13px 32px rgba(129, 111, 193, .2); }
.balance-orb { position: absolute; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; pointer-events: none; }
.balance-orb--one { top: -70px; right: -30px; width: 190px; height: 190px; }
.balance-orb--two { right: 4px; bottom: -113px; width: 210px; height: 210px; }
.balance-label { position: relative; display: block; color: rgba(255,255,255,.75); font-size: 8px; font-weight: 800; letter-spacing: 1.2px; }
.balance-amount { position: relative; display: flex; align-items: center; gap: 10px; margin: 10px 0 0; font: 700 44px/.95 var(--font-display); letter-spacing: -2px; }
.zem-crystal { color: #ffe89e; font-size: 19px; }
.balance-card > p { position: relative; margin: 5px 0 15px; color: rgba(255,255,255,.77); font-size: 9px; }
.balance-divider { position: relative; height: 1px; margin: 0 0 11px; background: rgba(255,255,255,.22); }
.balance-detail { position: relative; display: flex; justify-content: space-between; margin: 6px 0; color: rgba(255,255,255,.73); font-size: 9px; }
.balance-detail strong { color: #fff; font-size: 9px; }
.balance-label--disclaimer { margin-top: 12px; color: rgba(255,255,255,.61); font-size: 7px; letter-spacing: .8px; }
.gift-panel { margin-top: 18px; padding: 25px 28px 0; }
.gift-header { display: flex; justify-content: space-between; }
.gift-header .eyebrow { font-size: 8px; }
.gift-header h2 { margin: 6px 0 5px; color: #3d344b; font: 700 23px var(--font-display); }
.gift-emoji { font-size: 20px; }
.gift-header p { margin: 0; color: #958e9f; font-size: 10px; }
.gift-stamp { display: grid; place-content: center; width: 55px; height: 55px; border: 1px solid #f1d9e8; border-radius: 50%; color: #c078a2; background: #fff6fb; font: 800 8px/1.4 var(--font-display); letter-spacing: .7px; text-align: center; transform: rotate(10deg); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.scanner-panel { margin-top: 22px; padding: 17px 18px 15px; border: 1px solid #e8e0f3; border-radius: 16px; background: linear-gradient(135deg, #fbf8ff, #fff8fc); }
.scanner-copy { display: flex; align-items: center; gap: 10px; }
.scanner-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; color: #8c68c7; background: #f0eaff; font-size: 24px; line-height: 1; }
.scanner-copy h3 { margin: 0 0 3px; color: #544966; font: 700 13px var(--font-display); }
.scanner-copy p { margin: 0; color: #9991a2; font-size: 9px; }
.scanner-form { display: flex; gap: 9px; margin-top: 14px; }
.scanner-form input { display: block; width: 100%; min-width: 0; height: 42px; margin: 0; padding: 0 12px; border: 1px solid #e8e2ee; border-radius: 10px; color: #4a4458; background: #fff; font-size: 10px; }
.scanner-form input::placeholder { color: #b0aab8; }
.scanner-form input:focus { border-color: #bea5df; outline: none; box-shadow: 0 0 0 3px rgba(188, 165, 223, .15); }
.scanner-form .button { min-height: 42px; flex: 0 0 auto; border-radius: 10px; font-size: 9px; }
.scanner-form .button:disabled { cursor: wait; opacity: .72; transform: none; }
.scanner-form .button span { font-size: 16px; }
.scanner-disclaimer { display: flex; gap: 5px; margin: 10px 0 0; color: #9b93a4; font-size: 8px; line-height: 1.5; }
.scanner-disclaimer span { color: #947ac8; }
.scan-stage { display: grid; grid-template-columns: 84px minmax(0,1fr); gap: 14px; margin-top: 14px; padding: 13px; border: 1px solid #ede6f2; border-radius: 13px; background: rgba(255,255,255,.86); animation: page-in .3s ease both; }
.scan-stage[hidden] { display: none; }
.scan-visual { position: relative; display: grid; place-items: center; min-height: 73px; overflow: hidden; border-radius: 11px; color: #9d78d4; background: linear-gradient(145deg, #f3edff, #fff0f8); }
.scan-visual-icon { font-size: 30px; animation: scan-pulse 1.05s ease-in-out infinite alternate; }
.scan-beam { position: absolute; top: 8px; right: 7px; left: 7px; height: 2px; border-radius: 2px; background: #e76da8; box-shadow: 0 0 10px 3px rgba(231,109,168,.3); opacity: 0; }
.is-scanning .scan-beam { animation: scan-sweep 1.05s ease-in-out infinite alternate; opacity: 1; }
.scan-status { align-self: center; }
.scan-status strong, .scan-error-icon + div strong { color: #574a69; font: 700 11px var(--font-display); }
.scan-status p, .scan-error-icon + div p { margin: 4px 0 0; color: #9991a1; font-size: 8px; line-height: 1.5; }
.scan-stage--error { grid-template-columns: 35px minmax(0,1fr); border-color: #f0dce2; background: #fff9fa; }
.scan-error-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #bd6473; background: #fce9ec; font: 700 14px var(--font-display); }
.scan-stage--result { grid-template-columns: 100px minmax(0,1fr); align-items: start; border-color: #e9e1f4; }
.scan-product-art { position: relative; display: grid; place-items: center; min-height: 122px; overflow: hidden; border-radius: 11px; background: linear-gradient(145deg, #ffe3ef, #efdfff 55%, #dcecff); }
.scan-product-art > span { font-size: 46px; filter: drop-shadow(0 8px 9px rgba(129,91,151,.2)); animation: product-pop .45s ease both; }
.scan-product-art i { position: absolute; top: 10px; right: 12px; color: white; font-size: 17px; font-style: normal; animation: sticker-float 3s ease-in-out infinite; }
.scan-product-info { min-width: 0; }
.scan-result-title { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.scan-result-title strong { color: #51465f; font: 700 12px var(--font-display); }
.scan-demo-tag { padding: 4px 6px; border-radius: 20px; color: #866ab3; background: #f3edff; font-size: 6px; font-weight: 800; letter-spacing: .6px; white-space: nowrap; }
.scan-details { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 11px 0 0; }
.scan-details > div { min-width: 0; }
.scan-details dt { color: #a29aa9; font-size: 7px; }
.scan-details dd { margin: 3px 0 0; overflow-wrap: anywhere; color: #62566f; font-size: 8px; font-weight: 700; }
.scan-result-note { margin: 10px 0; color: #a18a6a; font-size: 7px; line-height: 1.5; }
.scan-product-description { margin: 8px 0 0; color: #716a7d; font-size: 9px; line-height: 1.55; overflow-wrap: anywhere; }
.scan-use-button { min-height: 34px; padding: 0 11px; border-radius: 9px; font-size: 8px; }
.scan-use-button span { font-size: 13px; }
.gift-form { margin-top: 22px; }
.gift-fields { display: grid; grid-template-columns: 1.35fr .65fr; gap: 14px; }
.gift-form input { height: 43px; margin-bottom: 0; }
.amount-input { position: relative; }
.amount-input input { padding-right: 63px; }
.amount-input span { position: absolute; top: 15px; right: 12px; color: #938b9d; font-size: 9px; font-weight: 800; pointer-events: none; }
.gift-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.gift-submit-row p { margin: 0; color: #9b94a3; font-size: 9px; }
.gift-submit-row p span { color: #9278c7; }
.gift-submit-row .button { min-height: 40px; border-radius: 11px; font-size: 10px; }
.gift-submit-row .button span { font-size: 15px; }
.request-list-wrap { margin-top: 24px; padding: 17px 0 0; border-top: 1px solid #f1edf2; }
.request-list-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 11px; }
.request-list-heading h3 { margin: 0; color: #5b5368; font: 700 12px var(--font-display); }
.user-request-list { display: grid; gap: 8px; padding-bottom: 19px; }
.request-card { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 10px 12px; border: 1px solid #f0ebf1; border-radius: 12px; background: #fff; }
.request-link-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; border-radius: 10px; color: #8d74c7; background: #f5f0ff; font-size: 14px; }
.request-card-info { min-width: 0; flex: 1; }
.request-card-info strong { display: block; overflow: hidden; color: #5b5267; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.request-card-info span { display: block; margin-top: 3px; color: #9c95a4; font-size: 8px; }
.request-rejection-reason { margin: 7px 0 0; color: #9a596b; font-size: 9px; line-height: 1.5; overflow-wrap: anywhere; }
.request-rejection-reason strong { color: #824052; }
.request-card-amount { color: #7962b6; font: 700 12px var(--font-display); white-space: nowrap; }
.request-card .status-chip { padding: 5px 7px; font-size: 7px; }
.admin-rejection-form { width: 100%; margin-top: 9px; }
.admin-rejection-form[hidden] { display: none !important; }
.admin-rejection-form label { display: block; color: #74687d; font-size: 9px; font-weight: 700; }
.admin-rejection-form textarea { display: block; width: 100%; min-height: 58px; margin-top: 5px; padding: 9px 10px; resize: vertical; border: 1px solid #e9dce9; border-radius: 9px; color: #51485b; background: #fff; font: inherit; font-weight: 400; line-height: 1.45; }
.admin-rejection-form .admin-row-actions { margin-top: 7px; }

/* Admin */
.admin-intro { margin-bottom: 25px; }
.admin-alert { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; padding: 12px 15px; border: 1px solid #f2e3c7; border-radius: 13px; color: #9a7c4e; background: #fffaf0; }
.admin-alert[hidden] { display: none !important; }
.admin-alert > span { font-size: 16px; }
.admin-alert p { flex: 1; margin: 0; font-size: 9px; line-height: 1.55; }
.admin-alert p strong { color: #85683d; }
.text-button { padding: 7px 10px; border: 1px solid #f0ddbd; border-radius: 8px; color: #967648; background: #fffdf8; cursor: pointer; font-size: 8px; font-weight: 800; white-space: nowrap; }
.text-button:hover { background: #fff3dd; }
.admin-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 17px; }
.metric-card { position: relative; min-height: 104px; padding: 19px 20px; overflow: hidden; border: 1px solid transparent; border-radius: 17px; }
.metric-card--pink { border-color: #f5dfe9; background: linear-gradient(130deg, #fff3f8, #fffbfd); }
.metric-card--blue { border-color: #e0eaf6; background: linear-gradient(130deg, #f1f7ff, #fbfdff); }
.metric-card--lilac { border-color: #eae2f5; background: linear-gradient(130deg, #f7f3ff, #fdfbff); }
.metric-card > span { position: relative; z-index: 1; display: block; color: #9a8c9b; font-size: 8px; font-weight: 800; letter-spacing: .9px; }
.metric-card strong { position: relative; z-index: 1; display: block; margin-top: 5px; color: #443850; font: 700 27px var(--font-display); }
.metric-card i { position: absolute; right: 18px; bottom: -22px; color: rgba(225, 123, 174, .14); font-size: 92px; font-style: normal; line-height: 1; }
.metric-card--blue i { color: rgba(113, 160, 220, .14); }
.metric-card--lilac i { color: rgba(160, 132, 213, .14); font-size: 64px; bottom: -4px; }
.admin-panel { margin-top: 15px; padding: 21px 23px; }
.admin-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.admin-panel-heading .eyebrow { font-size: 8px; }
.admin-panel-heading h2 { display: flex; align-items: center; gap: 9px; margin: 5px 0 0; color: #494055; font: 700 17px var(--font-display); }
.admin-panel-heading .count-pill { min-height: 21px; padding: 0 8px; }
.manual-badge { display: inline-flex; align-items: center; gap: 6px; color: #8b8694; font-size: 7px; font-weight: 800; letter-spacing: .7px; }
.manual-badge span { width: 6px; height: 6px; border-radius: 50%; background: #75c8a4; }
.admin-inline-note { color: #a09aa7; font-size: 8px; }
.admin-invite-list, .admin-reward-list, .admin-request-list { display: grid; gap: 8px; }
.admin-validation-list { display: grid; gap: 8px; }
.admin-row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 11px 12px; border: 1px solid #f1edf2; border-radius: 12px; background: #fdfcfd; }
.admin-row .invite-avatar { width: 35px; height: 35px; border-radius: 12px; font-size: 13px; }
.admin-row-main { min-width: 0; flex: 1; }
.admin-row-main strong { display: block; color: #5b5266; font-size: 9px; }
.admin-row-main span { display: block; margin-top: 3px; overflow: hidden; color: #a09aa6; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.admin-row-main .admin-private-details { overflow: visible; overflow-wrap: anywhere; color: #777187; font-size: 9px; line-height: 1.55; text-overflow: clip; white-space: normal; }
.admin-row-actions { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.admin-row-actions .small-button { min-height: 27px; }
.zem-tag { color: #8068bb; font: 700 11px var(--font-display); white-space: nowrap; }
.reset-confirm { display: flex; align-items: center; gap: 7px; margin-top: 8px; color: #897859; font-size: 8px; }
.reset-confirm button { padding: 5px 8px; border: 1px solid #f0ddbd; border-radius: 6px; color: #8b6b3c; background: #fffdf8; cursor: pointer; font-size: 8px; }
.toast-region { position: fixed; right: 22px; bottom: 20px; z-index: 50; display: grid; gap: 8px; pointer-events: none; }
.toast { max-width: min(370px, calc(100vw - 32px)); padding: 13px 17px; border: 1px solid #e9dbea; border-radius: 12px; color: #55465e; background: rgba(255,255,255,.96); box-shadow: 0 12px 35px rgba(55, 39, 70, .14); font-size: 11px; animation: toast-in .25s ease both; }
.toast--error { border-color: #f0cbd1; color: #974c59; }

@keyframes ping { 0% { transform: scale(.7); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes bob-left { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes bob-right { 0%,100% { translate: 0 0; } 50% { translate: 0 8px; } }
@keyframes sticker-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-20%); } }
@keyframes page-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float-in { from { opacity: 0; transform: translateY(17px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scan-sweep { from { transform: translateY(0); } to { transform: translateY(54px); } }
@keyframes scan-pulse { from { transform: scale(.92); opacity: .68; } to { transform: scale(1.12); opacity: 1; } }
@keyframes product-pop { from { transform: scale(.7) rotate(-8deg); opacity: .2; } to { transform: scale(1) rotate(0); opacity: 1; } }

@media (max-width: 900px) {
  .site-header { padding-right: 4vw; padding-left: 4vw; }
  .main-nav { gap: 20px; margin-left: 20px; }
  .hero { grid-template-columns: 1fr .9fr; min-height: 590px; }
  .hero-art { transform: scale(.88); transform-origin: center; }
  .hero h1 { font-size: 64px; }
  .page-wrap { width: min(100% - 44px, 760px); }
  .feature-grid { gap: 11px; }
  .feature-card { padding-right: 18px; padding-left: 18px; }
  .rewards-layout { grid-template-columns: 1.15fr .85fr; }
}
@media (max-width: 1020px) and (min-width: 681px) {
  .menu-toggle { display: grid; gap: 5px; width: 40px; height: 40px; flex: 0 0 auto; place-content: center; border: 1px solid #f0e2ed; border-radius: 12px; background: #fff; cursor: pointer; }
  .menu-toggle span { width: 17px; height: 2px; border-radius: 3px; background: #98638e; }
  .main-nav { position: absolute; top: 73px; right: 22px; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 7px; border: 1px solid #f0e7f0; border-radius: 15px; background: rgba(255,255,255,.97); box-shadow: 0 14px 32px rgba(76,55,92,.13); }
  .main-nav.is-open { display: flex; }
  .nav-link { padding: 12px 13px; }
  .nav-link--invite { justify-content: flex-start; }
  .nav-link.is-active::after { display: none; }
  .hero-art { scale: .76; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 73px; }
  .site-header { height: 69px; padding: 0 19px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 13px; font-size: 12px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 7px; letter-spacing: 1px; }
  .header-cta { display: none; }
  .theme-toggle { margin-left: auto; margin-right: 8px; padding: 8px 9px; }
  .theme-toggle-label { display: none; }
  .menu-toggle { display: grid; gap: 5px; width: 40px; height: 40px; place-content: center; border: 1px solid #f0e2ed; border-radius: 12px; background: #fff; cursor: pointer; }
  .menu-toggle span { width: 17px; height: 2px; border-radius: 3px; background: #98638e; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: absolute; top: 68px; right: 12px; left: 12px; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 7px; border: 1px solid #f0e7f0; border-radius: 15px; background: rgba(255,255,255,.97); box-shadow: 0 14px 32px rgba(76,55,92,.13); }
  .main-nav.is-open { display: flex; animation: page-in .18s ease both; }
  .nav-link { padding: 12px 13px; border-radius: 9px; font-size: 12px; }
  .nav-link--invite { justify-content: flex-start; }
  .nav-link:hover, .nav-link.is-active { background: #fff5fa; }
  .nav-link.is-active::after { display: none; }
  .page-wrap { width: calc(100% - 36px); }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: unset; padding-top: 53px; padding-bottom: 52px; }
  .hero-copy { padding: 0; }
  .eyebrow { font-size: 9px; letter-spacing: 1px; }
  .hero h1 { margin-top: 16px; font-size: clamp(49px, 12vw, 67px); letter-spacing: -2.9px; }
  .hero-lede { max-width: 510px; font-size: 13px; line-height: 1.75; }
  .hero-actions { gap: 16px; margin-top: 24px; }
  .hero-reward-note { max-width: 410px; margin-top: 11px; font-size: 9px; }
  .button { min-height: 45px; padding: 0 16px; font-size: 10px; }
  .text-link { font-size: 10px; }
  .social-proof { margin-top: 25px; }
  .hero-art { min-height: 377px; margin: 7px auto 0; width: 100%; max-width: 430px; transform: scale(.88); transform-origin: top center; margin-bottom: -36px; }
  .avatar-card { width: 151px; height: 304px; }
  .avatar-card--gabry { top: 49px; left: calc(50% - 134px); }
  .avatar-card--emy { top: 83px; left: calc(50% + 2px); }
  .art-orbit--one { width: 350px; }
  .art-orbit--two { height: 385px; }
  .floating-note { right: 0; bottom: 21px; }
  .hero-bottom { display: none; }
  .ticker { height: 45px; }
  .ticker-track { min-width: 790px; font-size: 8px; }
  .community-section { padding-top: 65px; padding-bottom: 52px; }
  .section-heading { margin-bottom: 25px; }
  .section-heading h2 { font-size: 30px; }
  .section-heading p { font-size: 11px; }
  .feature-grid { grid-template-columns: 1fr; gap: 10px; }
  .feature-card { min-height: 190px; padding: 19px 20px; }
  .feature-icon { margin-bottom: 12px; }
  .feature-card h3 { font-size: 17px; }
  .feature-card p { max-width: 350px; margin-bottom: 11px; }
  .feature-card--blue, .feature-card--lilac { min-height: 180px; }
  .site-footer { flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 17px 0; }
  .site-footer > span:last-child { display: none; }
  .app-page { min-height: calc(100vh - 69px); }
  .app-wrap { padding-top: 39px; padding-bottom: 24px; }
  .page-intro { margin-bottom: 24px; }
  .page-intro h1 { margin-top: 12px; font-size: clamp(37px, 9vw, 50px); letter-spacing: -2px; }
  .page-intro p { font-size: 11px; }
  .invite-layout { grid-template-columns: 1fr; gap: 12px; }
  .account-grid { grid-template-columns: 1fr; gap: 12px; }
  .account-form, .permanent-invite-panel { padding: 20px 18px; }
  .invite-code-link { align-items: stretch; flex-direction: column; }
  .invite-code-link .small-button { align-self: flex-end; }
  .invite-form { padding: 20px 18px 17px; }
  .invite-quote { min-height: 175px; padding: 21px; }
  .invite-quote p { margin-bottom: 14px; font-size: 16px; }
  .invite-tip { padding: 13px; }
  .response-card { padding: 33px 19px 27px; }
  .response-card > p { font-size: 10px; }
  .response-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .response-actions .button, .response-actions .small-button { width: 100%; }
  .list-section { margin-top: 34px; }
  .list-heading h2 { font-size: 23px; }
  .invite-card { flex-wrap: wrap; gap: 10px; padding: 12px; }
  .invite-avatar { width: 36px; height: 36px; border-radius: 12px; }
  .invite-card-main { width: calc(100% - 50px); }
  .invite-card-meta { width: 100%; justify-content: space-between; padding-left: 45px; }
  .invite-actions { margin-left: auto; }
  .app-footer { align-items: flex-start; flex-direction: column; gap: 8px; font-size: 8px; }
  .rewards-layout { grid-template-columns: 1fr; }
  .progress-panel { padding: 20px 18px 17px; }
  .progress-stats { margin-bottom: 20px; }
  .balance-card { min-height: 224px; padding: 21px; }
  .gift-panel { padding: 20px 17px 0; }
  .gift-header h2 { font-size: 20px; }
  .gift-header p { max-width: 290px; font-size: 9px; line-height: 1.55; }
  .gift-stamp { width: 47px; height: 47px; flex: 0 0 auto; font-size: 7px; }
  .scanner-panel { padding: 14px 12px 12px; }
  .scanner-form { align-items: stretch; flex-direction: column; }
  .scanner-form .button { align-self: flex-end; }
  .scan-stage--result { grid-template-columns: 72px minmax(0,1fr); gap: 9px; padding: 9px; }
  .scan-product-art { min-height: 91px; }
  .scan-product-art > span { font-size: 34px; }
  .scan-result-title { align-items: flex-start; flex-direction: column-reverse; }
  .scan-result-title strong { font-size: 10px; }
  .scan-details { gap: 7px 8px; }
  .scan-use-button { width: 100%; padding: 0 7px; font-size: 7px; }
  .scan-product-thumbnail { width: 72px; min-height: 91px; }
  .gift-fields { grid-template-columns: 1fr; gap: 14px; }
  .gift-submit-row { align-items: stretch; flex-direction: column; }
  .gift-submit-row .button { align-self: flex-end; }
  .admin-alert { align-items: flex-start; flex-wrap: wrap; }
  .admin-alert p { min-width: calc(100% - 34px); }
  .text-button { margin-left: 27px; }
  .admin-metrics { gap: 7px; }
  .metric-card { min-height: 88px; padding: 14px 11px; border-radius: 13px; }
  .metric-card > span { font-size: 6px; letter-spacing: .4px; }
  .metric-card strong { font-size: 23px; }
  .metric-card i { right: 8px; font-size: 64px; }
  .admin-panel { padding: 17px 13px; }
  .admin-panel-heading { align-items: flex-start; }
  .admin-panel-heading h2 { font-size: 14px; }
  .admin-inline-note { max-width: 100px; text-align: right; }
  .manual-badge { font-size: 6px; }
  .admin-row { flex-wrap: wrap; gap: 8px; padding: 9px; }
  .admin-row-main { width: calc(100% - 47px); }
  .admin-row-actions { width: 100%; justify-content: flex-end; }
  .toast-region { right: 13px; bottom: 13px; left: 13px; }
  .toast { max-width: unset; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="dark"] body { color: #f1edf8; background: #10111b; }
html[data-theme="dark"] .ambient { opacity: .12; }
html[data-theme="dark"] .site-header { background: rgba(18, 18, 30, .9); border-color: #292638; }
html[data-theme="dark"] .brand-copy strong,
html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .page-intro h1,
html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .feature-card h3,
html[data-theme="dark"] .panel-heading h2,
html[data-theme="dark"] .response-card h1,
html[data-theme="dark"] .list-heading h2,
html[data-theme="dark"] .admin-panel-heading h2,
html[data-theme="dark"] .account-profile-heading h2 { color: #f5efff; }
html[data-theme="dark"] .nav-link,
html[data-theme="dark"] .text-link,
html[data-theme="dark"] .hero-lede,
html[data-theme="dark"] .social-proof,
html[data-theme="dark"] .section-heading p,
html[data-theme="dark"] .feature-card p,
html[data-theme="dark"] .page-intro p,
html[data-theme="dark"] .panel-heading p,
html[data-theme="dark"] .response-card > p,
html[data-theme="dark"] .response-disclaimer,
html[data-theme="dark"] .account-profile-heading p,
html[data-theme="dark"] .live-admin-status { color: #b5aec8; }
html[data-theme="dark"] .zepeto-profile-card { border-color: #40364d; background: linear-gradient(135deg, #29202d, #202638); }
html[data-theme="dark"] .zepeto-profile-title strong,
html[data-theme="dark"] .zepeto-profile-stats strong { color: #f0e8f6; }
html[data-theme="dark"] .zepeto-profile-title span,
html[data-theme="dark"] .zepeto-profile-stats span,
html[data-theme="dark"] .zepeto-profile-bio,
html[data-theme="dark"] .profile-manual-note,
html[data-theme="dark"] .scan-product-description { color: #b9b0c8; }
html[data-theme="dark"] .hero-lede strong,
html[data-theme="dark"] .social-proof strong { color: #e4d8f6; }
html[data-theme="dark"] .theme-toggle { border-color: #383248; color: #e3d9f2; background: #201d2b; }
html[data-theme="dark"] .header-cta { border-color: #55344f; color: #ffb8dc; background: #291d2a; }
html[data-theme="dark"] .nav-link--invite { border-color: #55344f; color: #ffb8dc; background: linear-gradient(125deg, #291d2a, #202235); box-shadow: 0 3px 12px rgba(0,0,0,.15); }
html[data-theme="dark"] .nav-link--invite:hover,
html[data-theme="dark"] .nav-link--invite.is-active { border-color: #704360; color: #ffd0e6; background: linear-gradient(125deg, #382234, #25283c); box-shadow: 0 5px 14px rgba(0,0,0,.2); }
html[data-theme="dark"] .menu-toggle { border-color: #383248; background: #201d2b; }
html[data-theme="dark"] .menu-toggle span { background: #e8b2d4; }
html[data-theme="dark"] .ticker { border-color: #2b2638; background: rgba(29, 27, 41, .72); }
html[data-theme="dark"] .ticker-track { color: #c3b9d1; }
html[data-theme="dark"] .feature-card--pink { border-color: #503246; background: linear-gradient(140deg, #2a1d2a, #211b2a); }
html[data-theme="dark"] .feature-card--blue { border-color: #2b3b54; background: linear-gradient(140deg, #1b2534, #1c1c2a); }
html[data-theme="dark"] .feature-card--lilac { border-color: #40324f; background: linear-gradient(140deg, #251f34, #211c2b); }
html[data-theme="dark"] .feature-icon--heart { color: #ffc2df; background: linear-gradient(145deg, #38283b, #302438); }
html[data-theme="dark"] .hero-reward-note { color: #b5aec8; }
html[data-theme="dark"] .feature-card a { color: #f092bf; }
html[data-theme="dark"] .feature-card--blue a { color: #9ac5ff; }
html[data-theme="dark"] .feature-card--lilac a { color: #c0a3ff; }
html[data-theme="dark"] .feature-icon,
html[data-theme="dark"] .avatar-label { color: #f0deed; background: #30283a; }
html[data-theme="dark"] .feature-icon--heart { color: #ffc2df; background: linear-gradient(145deg, #38283b, #302438); }
html[data-theme="dark"] .site-footer { border-color: #2b2638; color: #aaa1b9; }
html[data-theme="dark"] .panel,
html[data-theme="dark"] .invite-card,
html[data-theme="dark"] .request-card,
html[data-theme="dark"] .admin-row,
html[data-theme="dark"] .account-profile,
html[data-theme="dark"] .invite-form { border-color: #302b40; background: rgba(29, 27, 42, .95); box-shadow: 0 14px 40px rgba(0,0,0,.2); }
html[data-theme="dark"] .panel-heading h2,
html[data-theme="dark"] .invite-card-main strong,
html[data-theme="dark"] .request-card-info strong,
html[data-theme="dark"] .admin-row-main strong { color: #eee8f8; }
html[data-theme="dark"] .invite-card-main p,
html[data-theme="dark"] .invite-card-meta,
html[data-theme="dark"] .request-card-info span,
html[data-theme="dark"] .admin-row-main span { color: #b2a9c2; }
html[data-theme="dark"] .request-rejection-reason { color: #e5a6b5; }
html[data-theme="dark"] .request-rejection-reason strong { color: #f0c2cc; }
html[data-theme="dark"] .admin-rejection-form label { color: #c5b9d1; }
html[data-theme="dark"] .admin-rejection-form textarea { border-color: #4a4055; color: #eee8f8; background: #211e2c; }
html[data-theme="dark"] .admin-row-main .admin-private-details { color: #b9aec8; }
html[data-theme="dark"] .invite-quote { border-color: #4b3043; background: linear-gradient(145deg, #30202f, #272033 52%, #202437); }
html[data-theme="dark"] .invite-quote p,
html[data-theme="dark"] .invite-tip strong { color: #ead9ea; }
html[data-theme="dark"] .invite-tip { border-color: #333247; background: linear-gradient(120deg, #202536, #262033); }
html[data-theme="dark"] .invite-tip p { color: #b2a9c2; }
html[data-theme="dark"] .response-card { border-color: #332b42; background: radial-gradient(ellipse at 15% 0%, #382439, transparent 45%), radial-gradient(ellipse at 95% 100%, #202d40, transparent 47%), rgba(27,26,40,.97); }
html[data-theme="dark"] .response-details,
html[data-theme="dark"] .response-card blockquote { border-color: #3a3045; color: #d4c5dc; background: rgba(39, 34, 49, .9); }
html[data-theme="dark"] .response-details div > strong { color: #f0e4f5; }
html[data-theme="dark"] .count-pill { border-color: #493447; color: #f0a5cd; background: #2a202d; }
html[data-theme="dark"] .account-auth-switch { border-color: #383248; background: rgba(29,27,42,.95); }
html[data-theme="dark"] .account-auth-status { border-color: #315443; color: #a8dec0; background: #1e3027; }
html[data-theme="dark"] .account-auth-option { color: #c4bbd1; }
html[data-theme="dark"] .account-auth-option.is-active { color: #f0a5cd; background: #262235; box-shadow: none; }
html[data-theme="dark"] .account-verification-note { border-color: #40364d; background: linear-gradient(130deg, #29202d, #202638); }
html[data-theme="dark"] .account-verification-note p { color: #c4bbd1; }
html[data-theme="dark"] .invite-code-link input,
html[data-theme="dark"] .account-form input:not([type="checkbox"]),
html[data-theme="dark"] .invite-form input,
html[data-theme="dark"] .invite-form textarea,
html[data-theme="dark"] .gift-form input { border-color: #383248; color: #f1ebf6; background: #171621; }
html[data-theme="dark"] .account-form label:not(.consent-label),
html[data-theme="dark"] .permanent-invite-card > label,
html[data-theme="dark"] .invite-form label,
html[data-theme="dark"] .gift-form label { color: #e1d8ea; }
html[data-theme="dark"] .consent-label,
html[data-theme="dark"] .permanent-invite-card > p { color: #b7aec4; }
html[data-theme="dark"] .status-pending { color: #e4c996; background: #382f22; }
html[data-theme="dark"] .status-accepted,
html[data-theme="dark"] .status-verified { color: #9fdbbc; background: #20372e; }
html[data-theme="dark"] .status-cancelled,
html[data-theme="dark"] .status-refunded { color: #d5b5d4; background: #35283a; }
html[data-theme="dark"] .admin-alert { border-color: #56432c; background: #30291f; }
html[data-theme="dark"] .empty-state { border-color: #373145; color: #b9b0c8; background: rgba(31, 29, 44, .8); }
html[data-theme="dark"] .small-button { border-color: #40354b; color: #e7dced; background: #292333; }
html[data-theme="dark"] .small-button--accept { border-color: #365040; color: #b4e8c8; background: #20372b; }
html[data-theme="dark"] .small-button--danger { border-color: #563447; color: #f0b2ca; background: #38232f; }
html[data-theme="dark"] .button { color: #fff; }
html[data-theme="dark"] .button * { color: #fff; }
html[data-theme="dark"] .main-nav.is-open { border-color: #393248; background: rgba(28, 26, 41, .98); }
html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link.is-active { color: #f38fbd; background: #302233; }
html[data-theme="dark"] .nav-link--invite:hover,
html[data-theme="dark"] .nav-link--invite.is-active { border-color: #704360; color: #ffd0e6; background: linear-gradient(125deg, #382234, #25283c); box-shadow: 0 5px 14px rgba(0,0,0,.2); }
html[data-theme="dark"] .toast { border-color: #3e354d; color: #f1ebf6; background: #272332; }
html[data-theme="dark"] .progress-panel,
html[data-theme="dark"] .gift-panel,
html[data-theme="dark"] .scanner-panel,
html[data-theme="dark"] .request-list-wrap { border-color: #302b40; background: rgba(29, 27, 42, .95); }
html[data-theme="dark"] .scanner-panel { background: linear-gradient(135deg, #211e30, #29202d); }
html[data-theme="dark"] .scanner-copy h3,
html[data-theme="dark"] .scan-status strong,
html[data-theme="dark"] .scan-error-icon + div strong,
html[data-theme="dark"] .scan-result-title strong,
html[data-theme="dark"] .request-list-heading h3 { color: #eee7f4; }
html[data-theme="dark"] .scanner-copy p,
html[data-theme="dark"] .scanner-disclaimer,
html[data-theme="dark"] .scan-status p,
html[data-theme="dark"] .scan-error-icon + div p,
html[data-theme="dark"] .scan-details dt,
html[data-theme="dark"] .request-list-heading { color: #b6adbf; }
html[data-theme="dark"] .scan-stage { border-color: #3a3045; background: #201e2d; }
html[data-theme="dark"] .scan-visual { background: linear-gradient(145deg, #302743, #38243a); }
html[data-theme="dark"] .scan-stage--error { border-color: #553643; background: #30212c; }
html[data-theme="dark"] .scan-details dd,
html[data-theme="dark"] .amount-input span { color: #ded4e7; }
html[data-theme="dark"] .scan-result-note { color: #e2c894; }
html[data-theme="dark"] .scan-demo-tag { color: #d0b4f3; background: #332843; }
html[data-theme="dark"] .admin-alert { color: #e2ca9f; }
html[data-theme="dark"] .admin-alert p strong { color: #f1d49b; }
html[data-theme="dark"] .text-button { border-color: #574630; color: #eed5a7; background: #352b20; }
html[data-theme="dark"] .metric-card--pink { border-color: #503246; background: linear-gradient(130deg, #2a1d2a, #211b2a); }
html[data-theme="dark"] .metric-card--blue { border-color: #2b3b54; background: linear-gradient(130deg, #1b2534, #1c1c2a); }
html[data-theme="dark"] .metric-card--lilac { border-color: #40324f; background: linear-gradient(130deg, #251f34, #211c2b); }
html[data-theme="dark"] .metric-card > span { color: #c1b3c8; }
html[data-theme="dark"] .metric-card strong { color: #f0e6f4; }
html[data-theme="dark"] .admin-inline-note,
html[data-theme="dark"] .manual-badge { color: #b8aebe; }
html[data-theme="dark"] .zem-tag { color: #d2bdff; }
html[data-theme="dark"] .reset-confirm { color: #e0c99e; }
html[data-theme="dark"] .reset-confirm button { border-color: #574630; color: #eed5a7; background: #352b20; }
html[data-theme="dark"] .scan-error-icon { color: #f0b3c3; background: #492b39; }
html[data-theme="dark"] .response-status { color: #a9e3c4; background: #20372e; }
html[data-theme="dark"] .response-status--waiting { color: #d2b9f2; background: #332943; }
html[data-theme="dark"] .feature-card--pink .feature-decoration { color: rgba(245, 125, 177, .12); }
html[data-theme="dark"] .feature-card--blue .feature-decoration { color: rgba(104, 156, 220, .12); }
html[data-theme="dark"] .feature-card--lilac .feature-decoration { color: rgba(159, 130, 213, .12); }
html[data-theme="dark"] .milestone-node { border-color: #494054; color: #d4c9df; background: #292433; }
html[data-theme="dark"] .milestone-line { background: #3b3547; }

/* Refined visual system: clearer hierarchy, larger reading sizes, and calmer surfaces. */
:root {
  --ink: #25233a;
  --ink-soft: #5c5a70;
  --muted: #77758b;
  --pink: #e85b9b;
  --pink-deep: #c93d7c;
  --blue: #5b9be6;
  --blue-deep: #3677c8;
  --lilac: #8f75d5;
  --line: #e9e7f0;
  --surface: #fff;
  --shadow: 0 22px 58px rgba(54, 47, 83, .09);
}

body {
  color: var(--ink);
  background:
    radial-gradient(ellipse at 5% 12%, rgba(255, 227, 239, .52), transparent 28%),
    radial-gradient(ellipse at 96% 32%, rgba(221, 237, 255, .54), transparent 30%),
    #fbfaff;
}

.site-header {
  height: 76px;
  padding-right: max(calc((100vw - 1200px) / 2), 4vw);
  padding-left: max(calc((100vw - 1200px) / 2), 4vw);
  background: rgba(255, 253, 255, .9);
  border-bottom-color: rgba(231, 226, 238, .9);
  box-shadow: 0 5px 24px rgba(55, 48, 82, .035);
}

.brand-mark { border-radius: 14px; }
.brand-copy small { font-size: 9px; }
.main-nav { gap: 25px; margin-left: 35px; }
.nav-link { font-size: 13px; }
.nav-link--invite { padding: 10px 14px; font-size: 12px; }
.header-cta, .theme-toggle { min-height: 42px; font-size: 12px; }
.page-wrap { width: min(1200px, calc(100% - 56px)); }
.app-wrap { padding-top: 64px; padding-bottom: 48px; }
.hero { min-height: 660px; }
.hero-lede { font-size: 16px; line-height: 1.8; }
.hero-reward-note, .feature-number { font-size: 11px; }
.section-heading p, .page-intro p { font-size: 14px; line-height: 1.75; }
.eyebrow { font-size: 10px; letter-spacing: 1.25px; }
.feature-card { border-radius: 23px; box-shadow: 0 14px 34px rgba(62, 52, 91, .07); }
.feature-card h3 { font-size: 21px; }
.feature-card p { font-size: 13px; line-height: 1.75; }
.button { min-height: 50px; border-radius: 14px; font-size: 13px; }
.button--primary { box-shadow: 0 10px 24px rgba(192, 69, 132, .22); }
.panel {
  border-color: rgba(231, 227, 239, .95);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 42px rgba(56, 49, 84, .065);
}
.panel-heading h2, .admin-panel-heading h2 { font-size: 20px; }
.panel-heading p, .admin-inline-note { font-size: 11px; line-height: 1.6; }
.account-form { padding: 30px; }
.account-form label:not(.consent-label) { font-size: 12px; }
.account-form input:not([type="checkbox"]), .gift-form input, .scanner-form input {
  min-height: 46px;
  border-color: #e3e0eb;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
}
.account-form input:focus, .gift-form input:focus, .scanner-form input:focus {
  border-color: #c88bc0;
  box-shadow: 0 0 0 4px rgba(200, 139, 192, .13);
}
.account-verification-note { border-radius: 16px; }
.account-verification-note p, .consent-label { font-size: 12px; line-height: 1.7; }
.account-profile { padding: 30px; }
.account-profile-heading h2 { font-size: 21px; }
.account-profile-heading p { font-size: 12px; }
.account-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0 18px;
  padding: 18px 20px;
  border: 1px solid #e9e5f0;
  border-radius: 17px;
  background: linear-gradient(110deg, #fff8fc, #f4f8ff);
}
.account-summary > div { display: grid; gap: 8px; }
.account-summary-label { color: #77758b; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.account-summary-balance { justify-items: end; }
.account-summary-balance strong { color: #383252; font: 700 25px/1 var(--font-display); }
.account-summary-balance i { color: #d14c90; font-size: 15px; font-style: normal; }
.site-role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  padding: 4px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2px;
  white-space: nowrap;
}
.site-role-badge--member { border-color: #d7e8fa; color: #326fae; background: #eff7ff; }
.site-role-badge--admin { border-color: #f2cee1; color: #ae3a76; background: #fff1f7; }
.account-profile-code { margin: 20px 0; }
.zepeto-profile-card { padding: 20px; border-radius: 18px; }
.zepeto-profile-title strong { font-size: 17px; }
.zepeto-profile-title span, .zepeto-profile-title a { font-size: 12px; }
.zepeto-profile-stats { gap: 10px 25px; }
.zepeto-profile-stats span, .zepeto-profile-bio, .profile-manual-note { font-size: 11px; }
.progress-panel { padding: 30px; }
.progress-stats > div:first-child span, .progress-caption { font-size: 11px; }
.milestone-note { font-size: 12px; line-height: 1.65; }
.balance-card {
  min-height: 250px;
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 24px;
  background: linear-gradient(145deg, #596eae 0%, #7773c6 48%, #ac6fb2 100%);
  box-shadow: 0 18px 38px rgba(94, 97, 172, .22);
}
.balance-label { font-size: 10px; }
.balance-amount { font-size: 50px; }
.balance-card > p, .balance-detail { font-size: 11px; }
.balance-detail strong { font-size: 11px; }
.balance-label--disclaimer { font-size: 9px; }
.gift-panel { padding: 30px; }
.gift-header p, .scanner-copy p, .scanner-disclaimer, .gift-submit-row p { font-size: 12px; line-height: 1.65; }
.admin-intro { margin-bottom: 30px; }
.admin-alert { border-radius: 15px; }
.admin-alert p { font-size: 11px; line-height: 1.65; }
.admin-panel { margin-top: 18px; padding: 25px; }
.admin-panel-heading { margin-bottom: 18px; }
.admin-panel-heading .eyebrow { font-size: 10px; }
.admin-row, .admin-member-row {
  border-color: #e9e6ef;
  border-radius: 15px;
  background: #fff;
}
.admin-row { gap: 14px; padding: 14px; }
.admin-row .invite-avatar { width: 40px; height: 40px; }
.admin-row-main strong { font-size: 12px; }
.admin-row-main span { font-size: 10px; }
.admin-row-main .admin-private-details { font-size: 11px; }
.live-admin-status { font-size: 12px; line-height: 1.65; }
.admin-member-list { display: grid; gap: 9px; }
.admin-member-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #e9e6ef;
}
.admin-member-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.admin-member-identity > div { min-width: 0; }
.admin-member-identity strong, .admin-member-identity span { display: block; }
.admin-member-identity strong { overflow: hidden; color: #39344e; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.admin-member-identity span { margin-top: 4px; overflow: hidden; color: #77758b; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-member-identity a { color: #557db7; font-weight: 700; }
.admin-member-balance { min-width: 110px; text-align: right; }
.admin-member-balance strong { display: block; color: #39344e; font: 700 16px var(--font-display); }
.admin-member-balance i { color: #d14c90; font-size: 11px; font-style: normal; }
.admin-member-balance span { color: #77758b; font-size: 10px; }
.metric-card { border-radius: 18px; box-shadow: 0 10px 24px rgba(59, 50, 86, .05); }
.count-pill, .manual-badge { font-size: 10px; }
.response-disclaimer { font-size: 11px; line-height: 1.7; }

html[data-theme="dark"] body {
  background:
    radial-gradient(ellipse at 6% 10%, rgba(90, 42, 76, .18), transparent 30%),
    radial-gradient(ellipse at 94% 35%, rgba(42, 63, 99, .2), transparent 32%),
    #10111b;
}
html[data-theme="dark"] .site-header { box-shadow: 0 5px 24px rgba(0, 0, 0, .16); }
html[data-theme="dark"] .account-summary {
  border-color: #3b3349;
  background: linear-gradient(110deg, #2b202d, #202638);
}
html[data-theme="dark"] .account-summary-label,
html[data-theme="dark"] .admin-member-identity span,
html[data-theme="dark"] .admin-member-balance span { color: #b5aec8; }
html[data-theme="dark"] .account-summary-balance strong,
html[data-theme="dark"] .admin-member-identity strong,
html[data-theme="dark"] .admin-member-balance strong { color: #f0eaf8; }
html[data-theme="dark"] .site-role-badge--member { border-color: #324962; color: #a9d3ff; background: #202e3d; }
html[data-theme="dark"] .site-role-badge--admin { border-color: #563449; color: #ffb9dc; background: #33212f; }
html[data-theme="dark"] .admin-member-row { border-color: #302b40; background: rgba(29, 27, 42, .95); }
html[data-theme="dark"] .profile-input-help { color: #b5aec8; }
html[data-theme="dark"] .profile-check-result.is-loading,
html[data-theme="dark"] .profile-check-result.is-error { border-color: #40364d; color: #d3c9de; background: #242131; }
html[data-theme="dark"] .profile-found-badge { border-color: #315141; color: #a8e6c3; background: #20352c; }
html[data-theme="dark"] .profile-remove { border-color: #514050; color: #ffc4dc; background: #342535; }
html[data-theme="dark"] .scan-item-id { color: #b5aec8; }

.profile-input-help { margin: -5px 0 12px; color: #77758b; font-size: 11px; line-height: 1.55; }
.profile-check-button { min-height: 36px; padding: 0 13px; font-size: 11px; }
.profile-check-button:disabled { opacity: .65; cursor: wait; }
.profile-check-result { border-radius: 15px; }
.profile-check-result.is-loading,
.profile-check-result.is-error { padding: 12px 14px; border: 1px solid #e5e2ed; color: #625c73; background: #faf9fd; }
.profile-check-result.is-error { border-color: #f1d6df; color: #9c4563; background: #fff7fa; font-size: 12px; line-height: 1.6; }
.profile-check-feedback { display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 1.55; }
.profile-check-spinner { width: 16px; height: 16px; flex: 0 0 auto; border: 2px solid #ecd5e4; border-top-color: #cc4e8c; border-radius: 50%; animation: profile-spin .8s linear infinite; }
@keyframes profile-spin { to { transform: rotate(360deg); } }
.zepeto-profile-card--selectable { position: relative; padding-right: 54px; }
.profile-remove {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #ead5e1;
  border-radius: 50%;
  color: #aa3d72;
  background: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: transform .18s ease, background .18s ease;
}
.profile-remove:hover { transform: rotate(90deg); background: #fff0f6; }
.profile-found-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; padding: 5px 9px; border: 1px solid #d0ebdc; border-radius: 999px; color: #327554; background: #f0fbf5; font-size: 10px; font-weight: 800; }
.profile-found-badge > span { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; color: #fff; background: #4a9a6b; font-size: 9px; }
.zepeto-profile-card--selectable .zepeto-profile-main { padding-top: 2px; }
.scan-product-thumbnail { display: block; width: 100px; min-height: 122px; align-self: stretch; border-radius: 11px; background: linear-gradient(145deg, #ffe3ef, #efdfff 55%, #dcecff); object-fit: cover; }
.scan-item-id { display: block; margin-top: 7px; color: #777187; font-size: 10px; }
.scan-item-id strong { color: #5f4d7d; font-weight: 800; letter-spacing: .4px; }

@media (max-width: 900px) {
  .main-nav { gap: 15px; margin-left: 16px; }
  .page-wrap { width: min(100% - 40px, 760px); }
  .admin-member-row { grid-template-columns: minmax(0, 1fr) auto; }
  .admin-member-balance { grid-column: 1 / -1; justify-self: end; }
}

@media (max-width: 680px) {
  .site-header { height: 68px; padding-right: 18px; padding-left: 18px; }
  .brand-copy strong { font-size: 16px; }
  .page-wrap { width: min(100% - 32px, 560px); }
  .app-wrap { padding-top: 40px; padding-bottom: 32px; }
  .hero { min-height: 0; padding-top: 36px; padding-bottom: 44px; }
  .hero h1, .page-intro h1 { letter-spacing: -2.3px; }
  .hero-lede { font-size: 15px; }
  .feature-card { padding: 23px; }
  .account-profile, .account-form, .progress-panel, .gift-panel, .admin-panel { padding: 21px; }
  .account-profile-heading { flex-wrap: wrap; }
  .account-summary { padding: 15px; }
  .account-summary-balance strong { font-size: 22px; }
  .zepeto-profile-card { flex-direction: column; }
  .admin-panel-heading { align-items: flex-start; flex-direction: column; }
  .admin-member-row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 13px; }
  .admin-member-identity { gap: 9px; }
  .admin-member-identity span { font-size: 10px; }
  .admin-member-balance { grid-column: 1 / -1; justify-self: end; }
  .admin-row { align-items: flex-start; flex-wrap: wrap; }
  .admin-row-main { flex-basis: calc(100% - 60px); }
  .admin-row-actions { flex-wrap: wrap; }
  .zepeto-profile-card--selectable { padding-right: 49px; }
}

@media (prefers-reduced-motion: reduce) {
  .profile-check-spinner { animation-duration: 1.8s; }
  .profile-remove { transition: none; }
}
