/* Compact member home: prioritize the notification above the fixed navigation. */
.home-shell{padding-bottom:calc(68px + env(safe-area-inset-bottom));}
.home-masthead{padding:10px 18px 14px;border-radius:0 0 20px 20px;}
.home-brand{height:30px;display:flex;align-items:center;}
.home-brand img{width:29px;height:30px;object-fit:contain;background:transparent;padding:0;border-radius:0;}
.home-masthead .topfeatures{margin-top:10px;}
.home-masthead .topfeature{gap:5px;min-height:47px;justify-content:center;}
.home-masthead .topfeature svg{width:27px;height:27px;}
.home-content{padding:10px 16px 16px;}
.home-ad .banner{min-height:96px;border-radius:14px;padding:13px 16px;}
.home-ad .banner h2{font-size:1.2rem;line-height:1.2;letter-spacing:-.035em;margin:0 0 5px;}
.home-ad .banner p{font-size:.75rem;line-height:1.4;}
.home-ad .banneraccent{top:50%;transform:translateY(-50%);width:39px;height:39px;right:14px;}
.home-ad .banneraccent svg{width:39px;height:39px;}
.home-ad .banner>div:first-of-type{max-width:calc(100% - 42px);}
.home-ad .dots{height:16px;margin:1px 0 4px;align-items:center;gap:1px;}
.home-ad .dots button{width:24px;height:16px;background:transparent;position:relative;}
.home-ad .dots button:before{content:'';position:absolute;width:5px;height:5px;background:#cedbc5;border-radius:8px;left:50%;top:50%;transform:translate(-50%,-50%);}
.home-ad .dots button.active:before{width:16px;background:#367744;}
.home-content .services{padding:1px 0 12px;gap:8px;}
.home-content .service{gap:5px;font-size:.875rem;line-height:1.2;}
.home-content .serviceicon{width:37px;height:37px;border-radius:11px;}
.home-content .serviceicon svg{width:23px;height:23px;}
.home-task-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px 11px;}
.home-content .sectionhead{margin:0 0 8px;min-height:21px;}
.home-content .sectionhead h2{font-size:1rem;line-height:1.3;}
.home-content .sectionhead button{font-size:.75rem;min-height:24px;}
.home-task-grid{display:grid;grid-template-columns:repeat(var(--task-count),minmax(0,1fr));gap:8px;}
.home-task{display:flex;flex-direction:column;align-items:center;gap:4px;padding:0;min-width:0;text-align:center;}
.home-task .taskicon{width:31px;height:31px;border-radius:9px;background:#eff5e7;}
.home-task .taskicon svg{width:21px;height:21px;}
.home-task-title{font-size:.875rem;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.4em;max-width:100%;overflow-wrap:anywhere;}
.home-task-status{font-size:.75rem;line-height:1.2;color:#719646;display:flex;align-items:center;justify-content:center;gap:2px;}
.home-task-status svg{width:12px;height:12px;}
.home-task-status.is-complete{color:#4b7950;}
.home-notice-panel{margin-top:12px;}
.home-notice-panel .noticebox{padding:0 12px;border-radius:14px;}
.home-notice-panel .notice{padding:11px 0;gap:9px;}
.home-notice-panel .noticeicon{width:27px;height:27px;}
.home-notice-panel .noticeicon svg{width:16px;height:16px;}
.home-notice-panel .noticecopy h3{font-size:.875rem;line-height:1.3;margin-bottom:3px;}
.home-notice-panel .noticecopy p{font-size:.75rem;line-height:1.4;color:#6f7e6b;overflow-wrap:anywhere;}
.home-notice-panel .noticecopy small{font-size:.75rem;line-height:1.2;margin-top:5px;}
.home-empty{font-size:.875rem;color:#7a8b72;padding:15px 0;}
.home-shell .bottomnav{padding:8px 9px max(9px,env(safe-area-inset-bottom));}
.home-shell .bottomnav .active:before{top:-12px;}
.home-shell .bottomnav button{font-size:.75rem;gap:3px;}
.home-shell .bottomnav svg{width:21px;height:21px;}
.cashback-platforms{display:grid;gap:12px;}
.cashback-lock{display:flex;align-items:flex-start;gap:7px;font-size:.875rem;line-height:1.5;color:#7c836f;}
.cashback-lock svg{width:18px;height:18px;margin-top:2px;}
.chat-history{margin:18px 0;padding:14px;background:#f4f7f0;border-radius:13px;display:flex;flex-direction:column;gap:14px;max-height:340px;overflow:auto;}
.chat-message{padding:11px 13px;border:1px solid #e0e9d7;border-radius:12px;max-width:92%;background:white;align-self:flex-start;}
.chat-message.member{align-self:flex-end;background:#e8f2db;border-color:#dce9ca;}
.chat-message p{font-size:.875rem;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:5px;}
.chat-message small{font-size:.75rem;}
.chat-message .proof{max-height:150px;}
.support-ticket{display:block;width:100%;text-align:left;border-bottom:1px solid var(--line);padding:15px 0;}
.support-ticket .row{font-size:.875rem;flex-wrap:wrap;}
.chat-excerpt{display:block;font-size:.875rem;line-height:1.5;color:#76836d;overflow-wrap:anywhere;margin:7px 0;}
.support-context{font-size:.8125rem;line-height:1.5;color:#7a8772;margin-top:10px;}
@media(max-height:740px){
 .home-masthead{padding-top:8px;padding-bottom:10px;}
 .home-brand{height:24px;}
 .home-brand img{width:24px;height:24px;}
 .home-masthead .topfeatures{margin-top:6px;}
 .home-masthead .topfeature{min-height:44px;gap:4px;}
 .home-masthead .topfeature svg{width:24px;height:24px;}
 .home-content{padding-top:8px;}
 .home-ad .banner{min-height:70px;padding:10px 14px;}
 .home-ad .banner h2{font-size:1.08rem;}
 .home-ad .banner p{display:none;}
 .home-ad .dots{height:12px;margin-bottom:3px;}
 .home-content .serviceicon{width:32px;height:32px;}
 .home-content .service{gap:4px;}
 .home-content .services{padding-bottom:8px;}
 .home-content .sectionhead{margin-bottom:6px;}
 .home-task-panel{padding-top:7px;padding-bottom:7px;}
 .home-task .taskicon{width:27px;height:27px;}
 .home-notice-panel{margin-top:8px;}
 .home-notice-panel .notice{padding:8px 0;}
 .home-notice-panel .noticecopy small{display:none;}
}
@media(min-height:850px){
 .home-masthead{padding-top:15px;padding-bottom:17px;}
 .home-masthead .topfeatures{margin-top:14px;}
 .home-ad .banner{min-height:112px;}
 .home-content .services{padding-top:5px;padding-bottom:17px;}
 .home-task-panel{padding-top:12px;padding-bottom:13px;}
}

/* Compact account forms share the existing green/white theme. */
.identity-auth{width:100%;min-width:0}.identity-auth form{display:grid;gap:16px}.identity-auth .field{margin:0}.identity-password{position:relative}.identity-password input{padding-right:78px}.identity-password>button{position:absolute;right:12px;bottom:12px}.identity-text-button{border:0;background:transparent;color:#075d3b;font-size:14px;font-weight:600;padding:6px;cursor:pointer}.identity-forgot{text-align:right;margin-top:-8px}.identity-switch{margin:16px 0;font-size:14px}.identity-divider{display:flex;align-items:center;gap:12px;color:#79877f;margin:20px 0 16px;font-size:14px}.identity-divider:before,.identity-divider:after{content:"";height:1px;background:#dfe7df;flex:1}.identity-google-direct{display:flex;justify-content:center;min-height:44px}.identity-browser-help{font-size:14px;line-height:1.5;color:#66746c;margin:14px 0 0}.identity-methods{display:flex;margin-bottom:20px}.identity-methods button{flex:1}.identity-auth .hint{margin:0;font-size:14px}.identity-auth input{min-width:0;width:100%;box-sizing:border-box}

/* Telegram entry points: actions and explanatory copy are visually distinct. */
.identity-telegram{margin-top:20px}
.telegram-actions{display:grid;gap:14px;margin:22px 0 20px}
.btn.telegram-button,.btn.telegram-ggm-button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:14px 18px;border:1px solid transparent;border-radius:12px;font-size:1rem;font-weight:600;line-height:1.4;white-space:normal;text-align:center;margin:0;box-shadow:none}
.btn.telegram-button{background:#087caf;border-color:#087caf;color:#fff}
.btn.telegram-outline{background:#fff;border-color:#087caf;color:#087caf}
.btn.telegram-ggm-button{background:#fff;border-color:#075737;color:#075737}
.telegram-icon{display:block;width:22px;height:22px;flex:0 0 22px}
.telegram-button span{min-width:0;overflow-wrap:break-word}
.telegram-button:focus-visible,.telegram-ggm-button:focus-visible{outline:3px solid #75c8ed;outline-offset:3px}
@media(hover:hover){.btn.telegram-button:hover{background:#06678f;border-color:#06678f}.btn.telegram-outline:hover{background:#eff8fd;color:#06678f}.btn.telegram-ggm-button:hover{background:#f2f8f5}}
.identity-auth-note,.identity-legal{display:block;background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;color:#627168;font-size:.875rem;font-weight:400;line-height:1.65;text-align:left}
.identity-auth-note{margin:12px 0 0}.telegram-intro{margin:0;font-size:1rem;color:#34483e}
.identity-legal{margin:18px 0 0}.identity-legal a{color:#075737;text-decoration:underline;text-underline-offset:3px}
/* Prevent iOS focus zoom without changing input sizing or one-finger scrolling. */
html,body{touch-action:pan-x pan-y}
input,textarea,select,[contenteditable="true"]{font-size:max(16px,1rem)!important}

.adminheader{display:flex;align-items:center;justify-content:space-between;gap:16px}.adminheader .brand{min-width:0}.adminheader>.lang{flex-shrink:0;color:white}.account-load-status{padding:12px 16px;margin-bottom:12px;background:#edf3e8;border-radius:12px;display:flex;align-items:center;gap:12px;font-size:14px}

.analytics-panel{margin-bottom:28px}.stats-shortcuts,.stats-dates{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:14px 0}.stats-dates label{display:grid;gap:6px;font-size:14px}.stats-dates input{min-width:150px}.stats-cards{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.stats-cards .metric{padding:18px;text-align:left}.stats-table-scroll{max-height:480px;overflow:auto;border:1px solid #dce5df;border-radius:12px}.stats-table{width:100%;border-collapse:collapse;background:#fff;font-size:14px}.stats-table th,.stats-table td{padding:12px;text-align:right;white-space:nowrap;border-bottom:1px solid #e4e9e4}.stats-table th:first-child,.stats-table td:first-child{text-align:left}.stats-table th{position:sticky;top:0;background:#edf3e9;color:#174b36}

/* Reserve the same slot through SDK and personalized-button loading. */
.identity-google-direct{position:relative;width:min(360px,100%);height:44px;min-height:44px;margin-inline:auto}
.identity-google-placeholder{position:absolute;inset:2px 0;height:40px;box-sizing:border-box;border:1px solid #dadce0;border-radius:24px;background:#fff;color:#3c4043;display:flex;align-items:center;justify-content:center;font:500 14px Arial,sans-serif}
.identity-google-placeholder svg{position:absolute;left:12px;width:20px;height:20px}
.identity-google-sdk{position:absolute;inset:2px 0 0;opacity:0;pointer-events:none}
.identity-google-direct.google-ready .identity-google-sdk{opacity:1;pointer-events:auto}
.identity-google-direct.google-ready .identity-google-placeholder{display:none}
.identity-google-error{font-size:13px;color:#a43f32;margin:8px 0 0}

.bottomnav{grid-template-columns:repeat(4,minmax(0,1fr))}.home-content .services{grid-template-columns:repeat(4,minmax(0,1fr));padding-top:20px}.home-content .service{min-width:0}.home-content .service>span{font-size:14px}.discover-empty{min-height:55dvh;display:grid;place-items:center;color:#8c978d;font-size:16px}
/* Larger home shortcuts, matching the supplied four-column reference. */
.home-content .services{padding-top:26px;padding-bottom:24px;gap:8px}
.home-content .service{gap:9px}
.home-content .service .serviceicon{width:clamp(48px,14vw,64px);height:clamp(48px,14vw,64px);border-radius:17px;background:#e6efd9;color:#397d33;box-shadow:0 2px 4px #183d1610}
.home-content .service .serviceicon svg{width:58%;height:58%;stroke-width:1.8}
.home-content .service:nth-child(2) .serviceicon{background:#dcf0ec;color:#168571}
.home-content .service:nth-child(3) .serviceicon{background:#e7e3f4;color:#46699a}
.home-content .service>span{font-size:15px;font-weight:600;white-space:nowrap}

.home-content .services .service .shortcut-3d{background-color:transparent;background-image:url('/assets/home-shortcuts-pastel-v2.png');background-repeat:no-repeat;background-size:400% auto;border-radius:0;box-shadow:none}
.home-content .services .service .shortcut-checkin{background-position:0% 50%}.home-content .services .service .shortcut-tasks{background-position:33.3333% 50%}.home-content .services .service .shortcut-shop{background-position:66.6667% 50%}.home-content .services .service .shortcut-history{background-position:100% 50%}

/* Registration controls retain the site's quiet text-action style. */
.identity-auth input{min-height:48px}.identity-auth .identity-methods button{min-height:44px}.identity-password>button{min-height:44px;bottom:2px}.identity-auth .identity-text-button,[data-action="identity-edit-contact"],[data-action="identity-resend"]{min-height:44px}.identity-text-button:disabled{color:#7c8881;cursor:default}.identity-auth .identity-browser-help{display:none}.identity-auth .identity-google-direct[aria-busy="false"]:has(+.identity-google-error:not([hidden]))~.identity-browser-help{display:block}
