:root{
  --mobile-green:#087f5b;
  --mobile-green-2:#12a06f;
  --mobile-ink:#102033;
  --mobile-muted:#66758a;
  --mobile-bg:#f3f8f5;
  --mobile-card:#fff;
  --mobile-border:#dcebe4;
  --mobile-danger:#b42318;
  --mobile-safe-top:env(safe-area-inset-top,0px);
  --mobile-safe-bottom:env(safe-area-inset-bottom,0px);
}

html,body{margin:0;min-height:100%;background:var(--mobile-bg);color:var(--mobile-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:hidden}
body.mobile-member-app{padding:0 0 calc(92px + var(--mobile-safe-bottom));}
body.mobile-member-app *{box-sizing:border-box}
body.mobile-member-app button,body.mobile-member-app input,body.mobile-member-app select,body.mobile-member-app textarea{font:inherit}
body.mobile-member-app button,body.mobile-member-app a{-webkit-tap-highlight-color:transparent}

.mobile-member-topbar{position:sticky;top:0;z-index:60;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:calc(10px + var(--mobile-safe-top)) 15px 11px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--mobile-border);box-shadow:0 14px 35px rgba(16,32,51,.08);backdrop-filter:blur(18px)}
.mobile-member-brand{display:flex;align-items:center;gap:7px;color:var(--mobile-ink);text-decoration:none;font-weight:950}.mobile-member-brand span{width:42px;height:42px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(135deg,var(--mobile-green),var(--mobile-green-2));color:#fff;box-shadow:0 10px 23px rgba(8,127,91,.24);font-size:.82rem;letter-spacing:.05em}.mobile-member-brand strong{display:none}
.mobile-member-heading{min-width:0}.mobile-member-heading h1{margin:0;font-size:1.04rem;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-member-heading p{margin:3px 0 0;color:var(--mobile-muted);font-size:.72rem;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mobile-member-bell{position:relative;width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--mobile-border);border-radius:15px;background:#fff;color:var(--mobile-ink);text-decoration:none;font-size:1.1rem}.mobile-member-bell span{position:absolute;right:-4px;top:-4px;min-width:20px;height:20px;padding:0 5px;display:grid;place-items:center;border:2px solid #fff;border-radius:999px;background:#dc2626;color:#fff;font-size:.62rem;font-weight:950}

.mobile-member-main{width:min(100%,780px);margin:0 auto;padding:14px;display:grid;gap:14px}
.mobile-kicker{margin:0 0 5px;color:var(--mobile-green);font-size:.68rem;font-weight:950;letter-spacing:.15em;text-transform:uppercase}
.mobile-loading-card,.mobile-empty-card,.mobile-error-card{padding:22px;border:1px dashed #c8dad2;border-radius:22px;background:rgba(255,255,255,.78);color:var(--mobile-muted);text-align:center;font-weight:800}.mobile-error-card{border-color:#fecaca;background:#fff7f7;color:#991b1b}

.mobile-home-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:18px;border-radius:27px;background:radial-gradient(circle at 100% 0,rgba(57,214,151,.25),transparent 38%),linear-gradient(135deg,#102033,#0d6047);color:#fff;box-shadow:0 24px 55px rgba(16,32,51,.17)}
.mobile-home-hero h2{margin:0;font-size:1.35rem}.mobile-home-hero p:last-child{margin:5px 0 0;color:rgba(255,255,255,.72);font-size:.78rem;font-weight:750}.mobile-home-hero .mobile-kicker{color:#baf6d9}
.mobile-avatar-button,.mobile-profile-avatar{width:62px;height:62px;padding:0;border:1px solid rgba(255,255,255,.25);border-radius:20px;background:rgba(255,255,255,.14);overflow:hidden;color:#fff;font-size:1.55rem;font-weight:950}.mobile-avatar-button img,.mobile-profile-avatar img{width:100%;height:100%;display:block;object-fit:cover}
.mobile-qr-shortcut{min-height:42px;display:flex;align-items:center;padding:0 13px;border-radius:14px;background:#fff;color:var(--mobile-green);text-decoration:none;font-size:.8rem;font-weight:950}

.mobile-next-walk article{padding:17px;border:1px solid rgba(8,127,91,.15);border-radius:25px;background:#fff;box-shadow:0 18px 40px rgba(16,32,51,.07)}
.mobile-next-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.mobile-next-head h2{margin:3px 0 0;font-size:1.14rem}.mobile-status-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 9px;border-radius:999px;background:#dcfce7;color:#067647;font-size:.68rem;font-weight:950;text-transform:capitalize;white-space:nowrap}
.mobile-next-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:14px 0}.mobile-next-meta span{padding:9px;border-radius:14px;background:#f3f8f5;text-align:center}.mobile-next-meta strong{display:block;font-size:.84rem}.mobile-next-meta small{display:block;margin-top:2px;color:var(--mobile-muted);font-size:.64rem;font-weight:800}
.mobile-primary-link{display:flex;min-height:45px;align-items:center;justify-content:center;border-radius:15px;background:linear-gradient(135deg,var(--mobile-green),var(--mobile-green-2));color:#fff;text-decoration:none;font-weight:950}

.mobile-mini-stats,.mobile-points-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.mobile-mini-stats article,.mobile-points-summary article{padding:13px 8px;border:1px solid var(--mobile-border);border-radius:19px;background:#fff;text-align:center;box-shadow:0 10px 25px rgba(16,32,51,.04)}.mobile-mini-stats span,.mobile-points-summary span{display:block;color:var(--mobile-muted);font-size:.66rem;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.mobile-mini-stats strong,.mobile-points-summary strong{display:block;margin-top:4px;font-size:1.08rem}.mobile-points-summary .is-gain strong{color:#07834f}.mobile-points-summary .is-use strong{color:#c2410c}

.mobile-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mobile-action-grid>a{min-height:118px;padding:15px;display:grid;align-content:start;gap:5px;border:1px solid var(--mobile-border);border-radius:22px;background:#fff;color:var(--mobile-ink);text-decoration:none;box-shadow:0 13px 30px rgba(16,32,51,.05)}.mobile-action-grid>a>span{width:39px;height:39px;display:grid;place-items:center;border-radius:14px;background:#eafff5;font-size:1.15rem}.mobile-action-grid strong{font-size:.9rem}.mobile-action-grid small{color:var(--mobile-muted);font-size:.7rem;font-weight:750;line-height:1.35}.mobile-action-grid small b{color:inherit;font-weight:850}.mobile-notification-tile.has-unread{border-color:#f7b4b4;background:linear-gradient(145deg,#fff,#fff7f7)}.mobile-notification-tile.has-unread>span{background:#fee2e2}

.mobile-page-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 2px}.mobile-page-intro h2{margin:0;font-size:1.22rem}.mobile-page-intro p:not(.mobile-kicker){margin:4px 0 0;color:var(--mobile-muted);font-size:.78rem}.mobile-page-intro.compact{padding-top:2px}.mobile-icon-button{width:42px;height:42px;border:1px solid var(--mobile-border);border-radius:14px;background:#fff;color:var(--mobile-green);font-size:1.15rem;font-weight:950}
.mobile-card-list{display:grid;gap:11px}.mobile-walk-card,.mobile-history-card,.mobile-claim-card{padding:15px;border:1px solid var(--mobile-border);border-radius:22px;background:#fff;box-shadow:0 12px 28px rgba(16,32,51,.045)}
.mobile-walk-card{display:grid;grid-template-columns:54px minmax(0,1fr);gap:12px}.mobile-date-block{width:54px;min-height:61px;display:grid;place-items:center;align-content:center;border-radius:17px;background:#eafff5;color:var(--mobile-green)}.mobile-date-block strong{font-size:1.25rem;line-height:1}.mobile-date-block span{font-size:.66rem;font-weight:950;text-transform:uppercase}.mobile-card-copy{min-width:0}.mobile-card-copy h3{margin:0;font-size:1rem}.mobile-card-copy p{margin:5px 0 0;color:var(--mobile-muted);font-size:.75rem;line-height:1.4}.mobile-card-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.mobile-tag{display:inline-flex;padding:5px 8px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:.62rem;font-weight:900}.mobile-tag.is-green{background:#dcfce7;color:#067647}.mobile-tag.is-red{background:#fee2e2;color:#b42318}.mobile-card-action{grid-column:1/-1;display:flex;justify-content:flex-end}.mobile-card-action a{min-height:40px;display:inline-flex;align-items:center;padding:0 14px;border-radius:13px;background:var(--mobile-green);color:#fff;text-decoration:none;font-size:.77rem;font-weight:950}
.mobile-history-card{display:grid;gap:10px}.mobile-history-head{display:flex;justify-content:space-between;gap:10px}.mobile-history-head h3{margin:0;font-size:.98rem}.mobile-history-head time{color:var(--mobile-muted);font-size:.7rem;font-weight:850}.mobile-history-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.mobile-history-meta span{padding:8px;border-radius:13px;background:#f6faf8}.mobile-history-meta small{display:block;color:var(--mobile-muted);font-size:.59rem;font-weight:850;text-transform:uppercase}.mobile-history-meta strong{display:block;margin-top:2px;font-size:.76rem}

.mobile-timeline{display:grid;gap:10px}.mobile-activity-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;padding:13px;border:1px solid var(--mobile-border);border-radius:19px;background:#fff}.mobile-activity-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:14px;background:#eafff5}.mobile-activity-copy strong{display:block;font-size:.82rem}.mobile-activity-copy small{display:block;margin-top:3px;color:var(--mobile-muted);font-size:.67rem;line-height:1.35}.mobile-points-value{font-size:.92rem;font-weight:950}.mobile-points-value.is-gain{color:#07834f}.mobile-points-value.is-use{color:#c2410c}

.mobile-reward-wallet{display:flex;justify-content:space-between;align-items:center;padding:19px;border-radius:25px;background:linear-gradient(135deg,#102033,#0d6047);color:#fff;box-shadow:0 20px 45px rgba(16,32,51,.14)}.mobile-reward-wallet .mobile-kicker{color:#baf6d9}.mobile-reward-wallet strong{display:block;font-size:2rem;line-height:1}.mobile-reward-wallet span{font-size:.72rem;color:rgba(255,255,255,.72);font-weight:800}.mobile-section-block{display:grid;gap:10px}.mobile-reward-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mobile-reward-card{padding:14px;display:grid;gap:9px;border:1px solid var(--mobile-border);border-radius:21px;background:#fff}.mobile-reward-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:14px;background:#eafff5;font-size:1.2rem}.mobile-reward-card h3{margin:0;font-size:.9rem}.mobile-reward-card p{margin:0;color:var(--mobile-muted);font-size:.69rem;line-height:1.4}.mobile-reward-cost{display:flex;justify-content:space-between;gap:8px;color:var(--mobile-muted);font-size:.65rem;font-weight:850}.mobile-reward-card button{min-height:40px;border:0;border-radius:13px;background:var(--mobile-green);color:#fff;font-size:.72rem;font-weight:950}.mobile-reward-card button:disabled{background:#e2e8f0;color:#64748b}.mobile-badge-list{display:grid;gap:8px}.mobile-badge-row{display:grid;grid-template-columns:43px minmax(0,1fr);gap:10px;align-items:center;padding:12px;border:1px solid var(--mobile-border);border-radius:18px;background:#fff}.mobile-badge-row>span{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:#fff7d6;font-size:1.2rem}.mobile-badge-row strong{display:block;font-size:.82rem}.mobile-badge-row small{display:block;margin-top:3px;color:var(--mobile-muted);font-size:.67rem}.mobile-claim-card{display:flex;justify-content:space-between;gap:12px}.mobile-claim-card strong{display:block;font-size:.83rem}.mobile-claim-card small{display:block;margin-top:3px;color:var(--mobile-muted);font-size:.66rem}.mobile-claim-card b{color:var(--mobile-green);font-size:.75rem}

.mobile-profile-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:17px;border-radius:25px;background:radial-gradient(circle at 100% 0,rgba(57,214,151,.24),transparent 38%),linear-gradient(135deg,#102033,#0d6047);color:#fff}.mobile-profile-avatar{width:68px;height:68px;border-radius:21px}.mobile-profile-hero h2{margin:0;font-size:1.22rem}.mobile-profile-hero p{margin:4px 0 0;color:rgba(255,255,255,.72);font-size:.73rem}.mobile-edit-button{min-height:39px;padding:0 13px;border:0;border-radius:13px;background:#fff;color:var(--mobile-green);font-size:.76rem;font-weight:950}.mobile-profile-sections{display:grid;gap:9px}.mobile-profile-sections details{border:1px solid var(--mobile-border);border-radius:19px;background:#fff;overflow:hidden}.mobile-profile-sections summary{list-style:none;cursor:pointer;padding:14px 15px;font-size:.83rem;font-weight:950}.mobile-profile-sections summary::-webkit-details-marker{display:none}.mobile-profile-sections summary::after{content:'+';float:right;color:var(--mobile-green);font-size:1rem}.mobile-profile-sections details[open] summary::after{content:'−'}.mobile-profile-sections details>div{padding:0 15px 14px}.mobile-detail-list{display:grid;gap:8px}.mobile-detail-row{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-top:1px solid #eef3f0}.mobile-detail-row span{color:var(--mobile-muted);font-size:.7rem;font-weight:800}.mobile-detail-row strong{max-width:62%;text-align:right;font-size:.74rem;word-break:break-word}.mobile-chip-list{display:flex;flex-wrap:wrap;gap:7px}.mobile-chip-list span{padding:7px 10px;border-radius:999px;background:#eafff5;color:var(--mobile-green);font-size:.69rem;font-weight:900}.compact-list .mobile-history-card{box-shadow:none}.mobile-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.mobile-photo-tile{position:relative;aspect-ratio:1;border:0;border-radius:15px;overflow:hidden;background:#e2e8f0;padding:0}.mobile-photo-tile img{width:100%;height:100%;object-fit:cover;display:block}.mobile-photo-tile span{position:absolute;left:5px;right:5px;bottom:5px;padding:4px;border-radius:8px;background:rgba(15,23,42,.72);color:#fff;font-size:.54rem;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-profile-actions{display:grid;gap:8px}.mobile-profile-actions a{min-height:46px;display:flex;align-items:center;justify-content:center;border:1px solid var(--mobile-border);border-radius:15px;background:#fff;color:var(--mobile-green);text-decoration:none;font-size:.77rem;font-weight:950}.mobile-profile-actions a.is-danger{color:var(--mobile-danger)}

.mobile-sheet[hidden],.mobile-photo-viewer[hidden]{display:none!important}.mobile-sheet{position:fixed;inset:0;z-index:200;padding:18px 12px calc(18px + var(--mobile-safe-bottom));display:flex;align-items:flex-end;background:rgba(15,23,42,.48);backdrop-filter:blur(4px)}.mobile-sheet-card{width:min(100%,680px);max-height:92vh;margin:0 auto;padding:17px;border-radius:25px 25px 18px 18px;background:#fff;overflow:auto}.mobile-sheet-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.mobile-sheet-head h2{margin:0;font-size:1.15rem}.mobile-sheet-head>button{width:39px;height:39px;border:0;border-radius:13px;background:#f1f5f9;font-size:1.25rem}.mobile-sheet form{display:grid;gap:12px;margin-top:13px}.mobile-edit-avatar-row{display:flex;align-items:center;gap:12px}.mobile-edit-preview{width:65px;height:65px;display:grid;place-items:center;border-radius:20px;background:#eafff5;color:var(--mobile-green);font-size:1.4rem;font-weight:950;overflow:hidden}.mobile-edit-preview img{width:100%;height:100%;object-fit:cover}.mobile-edit-avatar-row label{display:grid;gap:5px;color:var(--mobile-muted);font-size:.7rem;font-weight:850}.mobile-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mobile-sheet label{display:grid;gap:5px;color:#344054;font-size:.69rem;font-weight:850}.mobile-sheet input,.mobile-sheet select,.mobile-sheet textarea{width:100%;min-height:45px;border:1px solid #d5e3dc;border-radius:13px;background:#fff;padding:10px;color:var(--mobile-ink)}.mobile-sheet textarea{min-height:88px;resize:vertical}.mobile-check{grid-template-columns:auto 1fr!important;align-items:start}.mobile-check input{width:19px!important;min-height:19px!important}.mobile-form-message{margin:0;font-size:.72rem;font-weight:850}.mobile-form-message.is-good{color:#067647}.mobile-form-message.is-bad{color:#b42318}.mobile-sheet-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mobile-sheet-actions button{min-height:46px;border:1px solid var(--mobile-border);border-radius:14px;background:#fff;font-weight:950}.mobile-sheet-actions button.is-primary{border-color:var(--mobile-green);background:var(--mobile-green);color:#fff}
.mobile-photo-viewer{position:fixed;inset:0;z-index:220;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;padding:calc(14px + var(--mobile-safe-top)) 14px calc(18px + var(--mobile-safe-bottom));background:rgba(7,16,25,.96);color:#fff}.mobile-photo-viewer>button{justify-self:end;width:43px;height:43px;border:1px solid rgba(255,255,255,.2);border-radius:14px;background:rgba(255,255,255,.1);color:#fff;font-size:1.25rem}.mobile-photo-viewer img{align-self:center;justify-self:center;max-width:100%;max-height:72vh;border-radius:18px;object-fit:contain}.mobile-photo-viewer>div{display:grid;gap:3px;text-align:center}.mobile-photo-viewer small{color:rgba(255,255,255,.7)}

.mobile-member-dock{position:fixed;left:10px;right:10px;bottom:calc(9px + var(--mobile-safe-bottom));z-index:100;height:70px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:7px;border:1px solid rgba(8,127,91,.16);border-radius:23px;background:rgba(255,255,255,.97);box-shadow:0 20px 55px rgba(16,32,51,.2);backdrop-filter:blur(18px)}.mobile-member-dock a{display:grid;place-items:center;align-content:center;gap:2px;border-radius:16px;color:#64748b;text-decoration:none}.mobile-member-dock a>span{font-size:1.03rem}.mobile-member-dock a small{font-size:.56rem;font-weight:900}.mobile-member-dock a.is-active{background:#eafff5;color:var(--mobile-green)}.mobile-member-dock a.is-primary{margin-top:-15px;height:65px;border:5px solid var(--mobile-bg);border-radius:22px;background:linear-gradient(135deg,var(--mobile-green),var(--mobile-green-2));color:#fff;box-shadow:0 13px 30px rgba(8,127,91,.28)}

@media(min-width:620px){.mobile-member-main{padding:20px}.mobile-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-reward-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.mobile-member-brand strong{display:block}}
@media(max-width:380px){.mobile-home-hero{grid-template-columns:auto minmax(0,1fr)}.mobile-qr-shortcut{grid-column:1/-1;justify-content:center}.mobile-next-meta{grid-template-columns:1fr}.mobile-form-grid{grid-template-columns:1fr}.mobile-reward-grid{grid-template-columns:1fr}.mobile-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
