/* Newer Store UI; geometry follows the app viewport inside the marketing image. */
:root[data-reference="modern"] { --primary:#009900; --secondary:#009900; --success:#009900; --error:#ff6b70; }
.modern-logo { width:90px; height:30px; object-fit:contain; }
.topbar { grid-template-columns:96px minmax(0,1fr) 96px; padding-left:8px; padding-right:8px; }
.topbar h1 { font-size:20px; white-space:normal; }
.header-tools { align-items:center; gap:1px; }
.header-tools button { width:30px; height:36px; padding:0; cursor:pointer; }
.header-tools .ion { font-size:25px; }
.tab { position:relative; }
.notification-count { position:absolute; top:0; left:calc(50% + 2px); padding:1px 4px; background:#eb526d; color:white; font-size:10px; border-radius:10px; }
.homeTabInner { background:white; }
.homeTabInner.active { background:var(--primary); }
.modern-home { padding:22px 16px; }
.modern-home .section-heading { margin:7px 6px 28px; font-size:18px; font-weight:700; }
.invitation { padding:14px 20px 10px; margin:0 0 30px; border-radius:12px; }
.invitation .data-row { padding:14px 0; grid-template-columns:1fr 1fr; align-items:center; }
.invitation .data-row > span { text-align:center; font-size:14px; }
.invitation .description { display:block; }
.invitation .description p { margin:12px 0 2px; font-size:14px; line-height:1.4; }
.invitation .more { margin:20px auto 12px; font-size:16px; }
.invitation .button-row { margin-top:0; gap:10px; }
.invitation .btn { min-height:31px; padding:4px 10px; font-weight:400; }
.btn.reject { background:#ff6b70; }
.home-secondary { padding:0 6px 20px; }
.calendar-pad { padding:28px 18px; }
.calendar-toolbar { margin-bottom:26px; }
.calendar-toolbar .picker-button { font-size:16px; font-weight:400; }
.month-nav { margin-bottom:22px; }
.day { height:46px; }
.day.selected > span { color:white; }
.visit-list { margin:28px 8px 0; }
.visit-title { font-size:18px; }
.ranking-podium { background:#18a50b; border-radius:0 0 58px 58px; padding:16px 26px 32px; color:#dbf0d1; }
.rank-period { gap:12px; }
.rank-period > button { font-size:28px; padding:0; }
.rank-date { display:flex; border-radius:30px; background:#31cc22; padding:8px 12px; flex:1; }
.rank-date button { background:none; border:0; color:inherit; font:14px Lato; padding:4px 8px; border-radius:20px; flex:1; }
.rank-date button.selected { background:white; color:#555; }
.podium { gap:12px; align-items:flex-start; margin-top:20px; }
.podium > div { flex:1; min-width:0; margin-top:30px; }
.podium > .first { margin-top:0; flex:1.5; }
.rank-avatar { width:60px; height:60px; margin:18px auto 8px; border:3px solid #eade30; border-radius:50%; background:white; padding:8px; }
.rank-avatar img { margin:0; border:0; padding:0; width:100%; height:100%; }
.podium .first .rank-avatar { width:118px; height:118px; }
.podium .first img { width:100%; height:100%; }
.rank-avatar.empty-avatar { border-color:#9be9d8; background:transparent; }
.podium p { margin-top:16px; line-height:1.35; }
.ranking-list { padding:20px 38px; }
.rank-controls { display:flex; gap:10px; justify-content:center; align-items:center; margin-bottom:16px; }
.rank-switch { margin:0; padding:7px 10px; flex:1; }
.rank-switch button { padding:3px 8px; flex:1; white-space:nowrap; }
.rank-visibility { flex:0 0 40px; width:40px; height:40px; border:0; border-radius:50%; background:var(--primary); color:white; }
.rank-row { background:#eeefef; border:1px solid #d9dede; border-radius:14px; padding:7px 14px; margin:10px 0; gap:12px; }
.rank-row img { width:40px; height:40px; border:3px solid #eee655; background:white; padding:4px; }
.rank-row:nth-of-type(3) img { border-color:#b8ebef; }
.rank-trend { display:block; color:#46a957; line-height:1; text-align:center; }
.rank-trend.down { color:#fa5353; }
.gift-row { display:flex; justify-content:space-between; align-items:center; margin:10px 0; padding:10px; border-radius:10px; background:var(--bg); }
.gift-row b { font-size:20px; color:var(--primary); }
@media(max-width:360px) { .topbar { grid-template-columns:78px minmax(0,1fr) 78px; } .modern-logo { width:76px; } .topbar h1 { font-size:18px; } .header-tools button { width:25px; } .header-tools .ion { font-size:22px; } .ranking-list { padding:20px; } .podium .first .rank-avatar { width:90px; height:90px; } .ranking-podium { padding:16px 18px 28px; } }
