/* IPTV 4K APPS FINAL universal responsive safety layer — v109 */
:root{--final-safe-gap:clamp(10px,2.4vw,24px)}
html{max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{max-width:100%;overflow-x:hidden}
img,svg,video,canvas,audio{max-width:100%;height:auto}
iframe,embed,object{max-width:100%;width:100%}
main,section,article,aside,header,footer,nav,form,fieldset,dialog,div{min-width:0}
pre,code,.description,.legal-copy,.comment-body,.quoted-comment,.reply-item,.post-page,.comments-panel{overflow-wrap:anywhere;word-break:break-word}
.description table,.legal-copy table,.rich-editor table,.comment-editor table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:inherit}
.table table{width:100%;max-width:100%}
.admin,.post-page,.vip-page,.member-dashboard-page,.legal-shell{width:100%;max-width:100%}
.admin-section,.admin-hero,.dash-panel,.post-card,.comments-panel,.download-box,.vip-detail-card,.payment-choice,.method-card{max-width:100%;min-width:0}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea{max-width:100%}
button,a,.button-link{overflow-wrap:anywhere}
.post-hero,.description img,.comment-image,.rich-editor img,.comment-editor img,.profile-banner-image{max-width:100%!important;height:auto}
.description iframe,.description video,.description embed,.description object{width:100%!important;max-width:100%!important;aspect-ratio:16/9;height:auto!important}
.comment-group,.reply-item,.root-comment,.child,.quoted-comment{max-width:100%;min-width:0}
.reply-item.child{margin-left:clamp(8px,4vw,42px)!important}
.advanced-post-tools,.post-actions,.comment-actions,.resource-version-head,.download-box,.vip-plan-buy,.legal-editor-actions{flex-wrap:wrap;max-width:100%}
.premium-composer-toolbar,.editor-toolbar,.comment-toolbar{max-width:100%!important;flex-wrap:wrap!important;overflow-x:visible!important;white-space:normal!important}
.premium-composer-toolbar>*,.editor-toolbar>*,.comment-toolbar>*{min-width:0}
.rich-editor,.comment-editor,[contenteditable=true]{max-width:100%!important;overflow-x:hidden!important}
.profile-preview,.profile-page,.profile-shell,.profile-hero{max-width:100%;overflow:hidden}

@media(max-width:1100px){
  .admin-header,.site-header,header{max-width:100%}
  .admin-compact-nav{max-width:100%}
  .admin-grid,.settings-grid,.backup-grid,.security-grid,.payment-grid,.media-grid{grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr))!important}
}
@media(max-width:760px){
  body{width:100%;max-width:100%}
  .admin,.post-page,.vip-page,.member-dashboard-page,.legal-shell{padding-left:var(--final-safe-gap)!important;padding-right:var(--final-safe-gap)!important}
  .admin-section,.admin-hero,.dash-panel,.comments-panel,.download-box,.vip-detail-card,.payment-choice,.method-card{padding-left:clamp(12px,4vw,20px)!important;padding-right:clamp(12px,4vw,20px)!important}
  .adminform,.adminform>label,.payment-choice form,.comment-form,.profile-form{width:100%;max-width:100%}
  .adminform{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
  .adminform button,.adminform .button-link{max-width:100%}
  .table table{min-width:640px}
  .comment-toolbar,.premium-composer-toolbar,.editor-toolbar{gap:4px!important;padding:8px!important}
  .comment-toolbar button,.premium-composer-toolbar button,.editor-toolbar button,.editor-icon-tool,.editor-color-tool{min-width:30px!important;max-width:38px!important;width:34px!important;height:34px!important;padding:0!important;display:inline-grid!important;place-items:center!important;font-size:12px!important}
  .comment-toolbar button[data-comment-cmd="insertUnorderedList"],.comment-toolbar button[data-comment-cmd="insertOrderedList"],.comment-toolbar button[data-comment-cmd="formatBlock"]{width:auto!important;max-width:none!important;padding:0 8px!important}
  .post-hero{display:block;width:100%!important;max-height:min(58vh,520px)!important;object-fit:contain!important;background:rgba(0,0,0,.18)}
  .description{max-width:100%;overflow:hidden}
  .reply-item.child{margin-left:8px!important;padding-left:10px!important}
  .quoted-comment{display:block!important;width:100%!important}
  .dash-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .dash-stat-card{min-width:0}
  dialog{max-width:calc(100vw - 16px)!important;width:calc(100vw - 16px)!important;margin:auto!important}
  .payment-method-details,.payment-copy-row{max-width:100%;min-width:0}
  .payment-copy-row>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-width:0}
  .payment-copy-row code,.payment-copy-row span{max-width:100%;overflow-wrap:anywhere}
}
@media(max-width:430px){
  .dash-stat-grid,.dash-ring-grid,.dash-mini-grid{grid-template-columns:1fr!important}
  .admin,.post-page,.vip-page,.member-dashboard-page,.legal-shell{padding-left:10px!important;padding-right:10px!important}
  .admin-section,.admin-hero,.dash-panel,.comments-panel,.download-box,.vip-detail-card,.payment-choice,.method-card{border-radius:16px!important}
  .profile-preview{border-radius:20px!important}
  .profile-preview h1,.profile-preview h2{font-size:clamp(24px,9vw,36px)!important}
  .comment-toolbar button,.premium-composer-toolbar button,.editor-toolbar button,.editor-icon-tool,.editor-color-tool{width:31px!important;min-width:29px!important;height:31px!important}
}
@media(max-width:340px){
  .admin,.post-page,.vip-page,.member-dashboard-page,.legal-shell{padding-left:7px!important;padding-right:7px!important}
  .comment-toolbar,.premium-composer-toolbar,.editor-toolbar{gap:3px!important;padding:6px!important}
  .comment-toolbar button,.premium-composer-toolbar button,.editor-toolbar button,.editor-icon-tool,.editor-color-tool{width:29px!important;min-width:27px!important;height:29px!important;font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}

/* v109 — universal post comment composer + reply section */
.comments-panel,
.comments-panel *{box-sizing:border-box}
.comments-panel{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
.comments-panel > h2,
.comments-panel > p{max-width:100%;overflow-wrap:anywhere}
.comment-group{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
.reply-item{width:100%!important;max-width:100%!important;min-width:0!important;grid-template-columns:36px minmax(0,1fr)!important}
.reply-item > div:last-child{width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}
.reply-item p,.reply-item time,.reply-item b,.quoted-comment,.quoted-comment span{max-width:100%!important;overflow-wrap:anywhere!important;word-break:break-word!important}
.reply-select{max-width:100%!important;white-space:normal!important}

.comment-form{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  gap:10px!important;margin-top:22px!important;padding:clamp(10px,2.5vw,16px)!important;
  overflow:hidden!important;border:1px solid var(--border,#294866)!important;border-radius:16px!important;
  background:color-mix(in srgb,var(--surface2,#0b1b2d) 82%,transparent)!important
}
.comment-form > *{width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important}
.replying-to{
  display:flex!important;align-items:flex-start!important;justify-content:space-between!important;
  gap:10px!important;width:100%!important;max-width:100%!important;min-width:0!important;
  overflow:hidden!important
}
.replying-to[hidden]{display:none!important}
.replying-to > div{display:grid!important;gap:3px!important;flex:1 1 auto!important;min-width:0!important;max-width:100%!important}
.replying-to #reply-name,.replying-to #reply-excerpt{display:block!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:break-word!important;white-space:normal!important}
.replying-to #cancel-reply{flex:0 0 34px!important;width:34px!important;min-width:34px!important;height:34px!important;padding:0!important;display:grid!important;place-items:center!important}

.comment-toolbar{
  display:flex!important;align-items:center!important;align-content:flex-start!important;flex-wrap:wrap!important;
  width:100%!important;max-width:100%!important;min-width:0!important;gap:5px!important;padding:8px!important;
  overflow:visible!important;white-space:normal!important;border-radius:12px!important
}
.comment-toolbar > button{
  flex:0 0 auto!important;min-width:34px!important;max-width:100%!important;height:34px!important;
  padding:0 9px!important;margin:0!important;display:inline-grid!important;place-items:center!important;
  line-height:1!important;white-space:nowrap!important
}
.comment-toolbar > button[data-comment-cmd="bold"],
.comment-toolbar > button[data-comment-cmd="italic"],
.comment-toolbar > button[data-comment-cmd="underline"],
.comment-toolbar > button[data-comment-cmd="undo"],
.comment-toolbar > button[data-comment-link],
.comment-toolbar > button[data-emoji]{width:34px!important;padding:0!important}

.comment-editor{
  display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
  min-height:140px!important;padding:13px!important;overflow-x:hidden!important;overflow-y:auto!important;
  overflow-wrap:anywhere!important;word-break:break-word!important;white-space:normal!important;
  resize:vertical!important;border-radius:12px!important
}
.comment-editor *{max-width:100%!important;box-sizing:border-box!important}
.comment-editor img,.comment-editor video,.comment-editor iframe{max-width:100%!important;height:auto!important}
.comment-editor pre,.comment-editor code{max-width:100%!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}

.image-upload{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;
  width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important
}
.image-upload input[type="file"]{
  display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
  overflow:hidden!important;padding:7px!important;font-size:13px!important
}
.image-upload input[type="file"]::file-selector-button{
  max-width:100%!important;margin-right:8px!important;padding:8px 10px!important;border-radius:8px!important;
  white-space:normal!important
}
.comment-form > button.primary{
  display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
  min-height:46px!important;margin:0!important;padding:12px 16px!important;text-align:center!important;
  white-space:normal!important;border-radius:12px!important
}

@media(max-width:700px){
  .comments-panel{padding:12px!important}
  .comments-panel>h2{margin:4px 0 12px!important;font-size:clamp(20px,6vw,27px)!important;line-height:1.2!important}
  .comment-form{padding:9px!important;gap:8px!important;border-radius:14px!important}
  .comment-toolbar{gap:4px!important;padding:7px!important}
  .comment-toolbar > button{height:32px!important;min-width:32px!important;padding:0 7px!important;font-size:11px!important}
  .comment-toolbar > button[data-comment-cmd="bold"],
  .comment-toolbar > button[data-comment-cmd="italic"],
  .comment-toolbar > button[data-comment-cmd="underline"],
  .comment-toolbar > button[data-comment-cmd="undo"],
  .comment-toolbar > button[data-comment-link],
  .comment-toolbar > button[data-emoji]{width:32px!important;min-width:32px!important;padding:0!important}
  .comment-editor{min-height:125px!important;padding:11px!important;font-size:15px!important}
  .reply-item{grid-template-columns:30px minmax(0,1fr)!important;gap:8px!important}
  .reply-item.child{margin-left:4px!important;padding-left:6px!important}
}
@media(max-width:380px){
  .comments-panel{padding:9px!important}
  .comment-form{padding:7px!important}
  .comment-toolbar{gap:3px!important;padding:6px!important}
  .comment-toolbar > button{height:30px!important;min-width:30px!important;padding:0 6px!important;font-size:10.5px!important}
  .comment-toolbar > button[data-comment-cmd="bold"],
  .comment-toolbar > button[data-comment-cmd="italic"],
  .comment-toolbar > button[data-comment-cmd="underline"],
  .comment-toolbar > button[data-comment-cmd="undo"],
  .comment-toolbar > button[data-comment-link],
  .comment-toolbar > button[data-emoji]{width:30px!important;min-width:30px!important;padding:0!important}
  .comment-editor{min-height:118px!important;padding:10px!important;font-size:14px!important}
  .image-upload input[type="file"]{font-size:11px!important;padding:5px!important}
}
html.mobile-desktop-mode .comment-form,
html.mobile-desktop-mode .comment-toolbar,
html.mobile-desktop-mode .comment-editor,
html.mobile-desktop-mode .image-upload{width:100%!important;max-width:100%!important;min-width:0!important}
html.mobile-desktop-mode .comment-toolbar{flex-wrap:wrap!important;overflow:visible!important}

/* v110 — Post author follow CTA + clickable sidebar profiles */
.post-author-link{color:inherit;text-decoration:none;border-bottom:1px dashed rgba(122,190,255,.45);transition:.2s ease}.post-author-link:hover{color:#7cc7ff;border-bottom-color:currentColor}
.post-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.post-actions form{margin:0;max-width:100%}.post-follow-form{display:inline-flex}.post-follow-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 14px;border:1px solid rgba(82,171,255,.68);border-radius:999px;background:linear-gradient(135deg,#2476f2,#6951f5);color:#fff;text-decoration:none;font-weight:850;line-height:1;box-shadow:0 9px 26px rgba(58,98,246,.25);cursor:pointer;max-width:100%;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.post-follow-button:hover{transform:translateY(-1px);box-shadow:0 12px 31px rgba(58,98,246,.33)}.post-follow-button.following{background:linear-gradient(135deg,rgba(20,55,86,.96),rgba(30,47,83,.96));border-color:rgba(101,204,255,.52);color:#d8f4ff}.post-follow-button small{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:rgba(0,0,0,.2);color:#eef8ff;font-size:.72rem}.post-follow-icon,.follow-user-icon{display:inline-flex;align-items:center;gap:1px;font-weight:950}.post-follow-icon svg,.follow-user-icon svg{width:18px;height:18px;fill:currentColor}.post-reply-count{white-space:nowrap}
.follow-button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:44px}.follow-user-icon svg{width:19px;height:19px}
.member-profile-link{position:relative;text-decoration:none;color:inherit;cursor:pointer}.member-profile-link:hover{border-color:rgba(92,173,255,.5);background:rgba(35,94,149,.16);transform:translateY(-1px)}.member-profile-link .member-avatar{overflow:hidden;flex:0 0 auto}.member-profile-link .member-avatar img{width:100%;height:100%;display:block;object-fit:cover}.member-row-open{margin-left:auto;color:#78bfff;font-size:.85rem;opacity:.75}
@media(max-width:520px){.post-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}.post-actions>form,.post-actions>.post-follow-button,.post-actions>.post-reply-count{min-width:0}.post-actions>form .like-button,.post-follow-form,.post-follow-button{width:100%}.post-reply-count{grid-column:1/-1;text-align:center;padding:7px 10px}.post-follow-button{padding:8px 10px;font-size:.88rem}.post-follow-button small{min-width:22px;padding:0 5px}.profile-follow-form .follow-button{width:min(100%,260px)}}
@media(max-width:350px){.post-actions{grid-template-columns:1fr}.post-reply-count{grid-column:auto}.post-follow-button{min-height:40px}}
/* v111 phone push notification controls */
.push-control-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid rgba(118,151,255,.25);border-radius:20px;background:linear-gradient(135deg,rgba(45,70,130,.22),rgba(10,20,38,.62));box-shadow:inset 0 1px rgba(255,255,255,.06)}
.push-control-card>div{display:grid;gap:4px;min-width:0}.push-control-card small{font-size:11px;letter-spacing:.14em;color:#7fdcff}.push-control-card b{font-size:17px}.push-control-card [data-push-status]{color:#aabbd3;line-height:1.45;overflow-wrap:anywhere}.push-control-card [data-push-status][data-state="on"]{color:#6ff0b5}.push-control-card [data-push-status][data-state="bad"]{color:#ff9aa9}.push-control-card button{flex:0 0 auto;min-height:44px}.push-key-box{margin-top:18px;display:grid;gap:10px;padding:16px;border:1px solid rgba(255,255,255,.09);border-radius:16px}.push-key-box code{display:block;max-width:100%;padding:10px;border-radius:10px;background:#07111f;white-space:normal;overflow-wrap:anywhere;color:#8fe7ff}.admin-note{color:#aabbd3}
@media(max-width:640px){.push-control-card{align-items:stretch;flex-direction:column;padding:15px}.push-control-card button{width:100%;white-space:normal}.dash-push-panel{padding:14px!important}}
.push-event-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(6,14,27,.36)}
.backup-category-picker{margin:14px 0;padding:14px;border:1px solid rgba(255,255,255,.12);border-radius:14px;display:grid;gap:8px}.backup-category-picker strong{margin-bottom:4px}.backup-category-picker .check{margin:0}


/* v121 Backup/Restore layout polish */
.backup-center .backup-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;gap:18px!important}
.backup-center .restore-domain-card,.backup-center .auto-backup-card{min-height:100%}
.backup-center .section-help{margin:-4px 0 14px;color:#a9bdd5;line-height:1.55}
.backup-center .restore-domain-form{display:grid;gap:12px}
.backup-center .restore-domain-form>input[type="file"]{margin:0!important}
.backup-center label.check{display:flex!important;align-items:flex-start!important;gap:10px!important;padding:12px 13px!important;line-height:1.45!important;color:#d7e8fb!important;overflow:visible!important}
.backup-center label.check:before{display:none!important;content:none!important}
.backup-center label.check input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;flex:0 0 18px!important;width:18px!important;height:18px!important;min-height:18px!important;margin:2px 0 0!important;padding:0!important;box-shadow:none!important;accent-color:#1688ff!important}
.backup-center .restore-domain-card button.danger{width:100%;margin-top:2px;white-space:normal;padding:11px 14px}
.backup-center .auto-backup-card .adminform{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:start!important}
.backup-center .auto-backup-card .adminform>input[type="hidden"]{display:none}
.backup-center .auto-backup-card .adminform>.check:first-of-type,.backup-center .auto-backup-card .backup-category-picker,.backup-center .auto-backup-card .adminform>button{grid-column:1/-1}
.backup-center .backup-category-picker{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0!important;padding:12px!important}
.backup-center .backup-category-picker>strong,.backup-center .backup-category-picker>small{grid-column:1/-1}
.backup-center .backup-category-picker .check{min-height:48px;margin:0!important}
.backup-center .auto-backup-card .adminform>label:not(.check){min-height:100%}
.backup-center .auto-backup-card small{display:block;margin-top:6px;color:#91a8c2;line-height:1.4}
.backup-center .auto-backup-card .cron-note{margin:12px 0 0}
@media(max-width:1050px){.backup-center .backup-grid{grid-template-columns:1fr!important}.backup-center .auto-backup-card .adminform{grid-template-columns:1fr!important}.backup-center .auto-backup-card .adminform>*{grid-column:1!important}.backup-center .backup-category-picker{grid-template-columns:1fr!important}.backup-center .backup-category-picker>*{grid-column:1!important}}
@media(max-width:600px){.backup-center label.check{font-size:14px!important}.backup-center .restore-domain-card button.danger{font-size:14px!important}.backup-center .backup-category-picker{padding:9px!important}}
.rich-editor img.editor-inline-image,.comment-editor img.editor-inline-image{display:block;width:auto;max-width:100%;height:auto;margin:12px 0;border-radius:12px;object-fit:contain}.comment-toolbar input[hidden]{display:none!important}@media(max-width:700px){.rich-editor img.editor-inline-image,.comment-editor img.editor-inline-image{max-width:100%;margin:10px 0}.rich-editor,.comment-editor{overflow-wrap:anywhere;word-break:break-word}}
.wallet-nav-link{display:inline-flex!important;align-items:center;gap:6px}.wallet-nav-link b{min-width:24px;padding:2px 7px;border-radius:999px;background:linear-gradient(135deg,#ffd64a,#ff8a00);color:#241500;font-size:11px}.wallet-page{width:min(1180px,calc(100% - 28px));margin:30px auto}.wallet-hero{padding:clamp(24px,5vw,54px);border:1px solid #367ddc66;border-radius:26px;background:radial-gradient(circle at top right,#784dff33,transparent 35%),linear-gradient(145deg,#091a31,#07111f);text-align:center;box-shadow:0 25px 70px #0006}.wallet-hero>b{display:block;margin:12px;font-size:clamp(46px,9vw,86px);color:#ffd75a;text-shadow:0 0 28px #ffb30066}.wallet-hero p{max-width:760px;margin:18px auto;color:#aac0dc}.credit-package-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.credit-package-grid>article{display:grid;gap:12px;padding:22px;border:1px solid #397ed966;border-radius:20px;background:linear-gradient(145deg,#0d213c,#091629)}.credit-package-grid>article>b{font-size:24px;color:#ffd75a}.credit-package-grid form{display:grid;gap:10px}.credit-plus{color:#38e59b;font-weight:900}.credit-minus{color:#ff7185;font-weight:900}.inline-wallet-form{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.inline-wallet-form input{width:min(150px,100%)}@media(max-width:700px){.wallet-page{width:min(100% - 16px,1180px);margin:16px auto}.wallet-hero{border-radius:18px}.inline-wallet-form{display:grid;grid-template-columns:1fr}.inline-wallet-form input,.inline-wallet-form button{width:100%}.credit-package-grid{grid-template-columns:1fr}}
.market-head>div:first-child:not(.app-desktop-intro){display:none!important}.market-head{justify-content:flex-end!important}.market-head form{margin-left:auto}.public-push-optin{display:flex;align-items:center;justify-content:center;gap:14px;padding:10px 16px;background:linear-gradient(90deg,#063d2d,#122553);color:#fff}.public-push-optin span{display:flex;gap:8px;align-items:center}.public-push-optin small{color:#b9ead9}.public-push-optin button{padding:8px 16px}@media(max-width:600px){.public-push-optin span{display:grid;gap:2px}.market-head form{width:100%}}
/* IPTV 4K APPS final feedback and public prompt policy */
.toast,.inline-alert{position:fixed!important;top:max(14px,env(safe-area-inset-top))!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;z-index:2147483647!important;max-width:min(92vw,620px)!important;width:max-content!important;margin:0!important;padding:12px 18px!important;border-radius:14px!important;text-align:center!important;box-shadow:0 18px 48px rgba(0,0,0,.38)!important;opacity:1;transition:opacity .3s ease,transform .3s ease!important}
.toast-success{background:#087f5b!important;color:#fff!important;border:1px solid #35e5aa!important}.toast-error,.inline-alert.error{background:#a61e2d!important;color:#fff!important;border:1px solid #ff8794!important}.toast-hide{opacity:0!important;transform:translate(-50%,-12px)!important;pointer-events:none!important}
.push-banner,.browser-push,.web-push,[data-push-banner],#pushBanner,#browserPushBanner{display:none!important}

/* v122 auth icon alignment + forgot-password CTA polish */
.member-auth-card .auth-input::before,
.member-auth-card .auth-input::after{content:none!important;display:none!important}
.member-auth-card .auth-input>svg{left:16px!important;top:52px!important;transform:translateY(-50%)!important;width:22px!important;height:22px!important;display:block!important;overflow:visible!important;fill:#9fc8f7!important;opacity:1!important}
.member-auth-card .auth-input>svg path{fill:inherit!important}
.member-auth-card .auth-input input{padding-left:50px!important}
.auth-reset-link{text-align:right;margin:-3px 2px 2px}
.auth-reset-link a{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border:1px solid rgba(104,185,255,.42);border-radius:999px;background:linear-gradient(135deg,rgba(31,111,255,.16),rgba(133,70,255,.18));color:#9bd5ff!important;font-weight:900;text-decoration:none!important;box-shadow:0 0 16px rgba(67,151,255,.16),inset 0 1px rgba(255,255,255,.08);transition:transform .2s ease,box-shadow .2s ease,color .2s ease}
.auth-reset-link a::after{content:"";position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.38) 48%,transparent 70%);background-size:220% 100%;animation:forgotShine 2.8s linear infinite;mix-blend-mode:screen}
.auth-reset-link a:hover{transform:translateY(-1px);color:#fff!important;box-shadow:0 0 24px rgba(78,164,255,.38),0 0 14px rgba(128,80,255,.24)}
@keyframes forgotShine{0%{background-position:180% 0}100%{background-position:-120% 0}}
@media(max-width:600px){.member-auth-card .auth-input>svg{top:52px!important}.auth-reset-link a{padding:7px 11px}}

/* v7.4.1 — Admin-managed APK banner, aligned with homepage search */
.market-head .app-download-showcase{position:relative;z-index:2;display:grid;gap:12px;width:min(100%,475px);margin:0 0 12px auto}
.market-head .app-download-banner{display:block;width:100%;overflow:hidden;border-radius:16px;text-decoration:none;line-height:0;filter:drop-shadow(0 10px 24px rgba(0,0,0,.28));transition:transform .2s ease,filter .2s ease}
.market-head .app-download-banner:hover{transform:translateY(-2px);filter:drop-shadow(0 14px 30px rgba(0,0,0,.38))}
.market-head .app-download-banner img{display:block;width:100%;height:auto;aspect-ratio:2048/697;object-fit:contain;background:transparent}
@media(max-width:600px){.market-head .app-download-showcase{width:100%;margin:0 0 12px}.market-head .app-download-banner{border-radius:13px}.market-head .app-download-banner img{width:100%;height:auto}}

/* v7.4.2 — APK banner locked directly above Search in every viewport */
.market-head{flex-direction:column!important;align-items:flex-end!important;gap:12px!important}
.market-head .app-download-showcase,.market-head form{width:min(100%,475px)!important;min-width:0!important;margin:0!important;align-self:flex-end!important}
.market-head .app-download-showcase{padding:0!important;gap:10px!important}
.market-head .app-download-banner{width:100%!important;max-width:none!important;margin:0!important}
.market-head .app-download-banner img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;object-fit:contain!important}
@media(max-width:850px){.market-head{align-items:stretch!important}.market-head .app-download-showcase,.market-head form{width:100%!important;max-width:none!important;align-self:stretch!important}.market-head .app-download-showcase{margin:0 0 2px!important}}

/* v7.4.3 — integrated, theme-aware APK banner (not advertisement-like) */
.market-head .app-download-showcase{
  width:min(82%,404px)!important;
  align-self:flex-end!important;
  margin:2px 0 4px!important;
  padding:6px!important;
  border:1px solid color-mix(in srgb,var(--border) 78%,transparent)!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--surface2) 88%,transparent),color-mix(in srgb,var(--surface) 94%,transparent))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 8px 24px color-mix(in srgb,var(--accent) 10%,transparent)!important;
}
.market-head .app-download-banner{border-radius:13px!important;filter:none!important;box-shadow:none!important;background:transparent!important}
.market-head .app-download-banner:hover{transform:translateY(-1px)!important;filter:none!important}
.market-head .app-download-banner img{width:100%!important;height:auto!important;max-height:118px!important;object-fit:contain!important;background:transparent!important}
html[data-theme="light"] .market-head .app-download-showcase{background:linear-gradient(145deg,#fff,#f2f6fb)!important;box-shadow:inset 0 1px #fff,0 8px 22px rgba(79,70,229,.09)!important}
html[data-theme="red"] .market-head .app-download-showcase{background:linear-gradient(145deg,#32151c,#1d0d12)!important;box-shadow:inset 0 1px rgba(255,255,255,.05),0 8px 24px rgba(225,29,72,.13)!important}
html[data-theme="green"] .market-head .app-download-showcase{background:linear-gradient(145deg,#103326,#071a13)!important;border-color:#286b50!important;box-shadow:inset 0 1px rgba(255,255,255,.05),0 8px 24px rgba(34,197,94,.14)!important}
@media(max-width:850px){
 .market-head .app-download-showcase{width:min(84%,430px)!important;align-self:center!important;margin:3px auto 5px!important;padding:5px!important;border-radius:16px!important}
 .market-head .app-download-banner{border-radius:12px!important}
 .market-head .app-download-banner img{max-height:104px!important}
}
@media(max-width:600px){
 .market-head .app-download-showcase{width:82%!important;max-width:410px!important;margin:2px auto 6px!important;padding:4px!important;border-radius:14px!important}
 .market-head .app-download-banner{border-radius:10px!important}
 .market-head .app-download-banner img{max-height:88px!important}
}
@media(max-width:380px){.market-head .app-download-showcase{width:84%!important}.market-head .app-download-banner img{max-height:78px!important}}
.email-verify-banner{position:relative;z-index:9999;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:10px 16px;background:#fff3cd;color:#5f4500;border-bottom:1px solid #e4c96d;font:14px/1.4 system-ui}.email-verify-banner b{font-weight:800}.email-verify-banner a{display:inline-block;padding:7px 12px;border-radius:9px;background:#5f4500;color:#fff;text-decoration:none;font-weight:800}@media(max-width:640px){.email-verify-banner{padding:9px 10px;gap:6px;text-align:center;font-size:12px}.email-verify-banner span{width:100%}}


/* v7.4.6 — desktop-only editable hero content; mobile APK/search layout remains unchanged */
.market-head>.app-desktop-intro,.market-head>.app-desktop-intro-off{display:none!important}

@media(min-width:1024px){
 body .market-head>div.app-desktop-intro:first-child{display:flex!important}
 body .market-head>div.app-desktop-intro-off:first-child{display:block!important}
 .market-head{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(390px,475px)!important;grid-template-rows:auto auto!important;column-gap:54px!important;row-gap:14px!important;align-items:center!important;justify-content:stretch!important}
 .market-head>.app-desktop-intro{display:flex!important;grid-column:1!important;grid-row:1/3!important;min-height:210px!important;padding:28px 34px!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;border-left:3px solid var(--cyan)!important;border-radius:18px!important;background:radial-gradient(circle at 8% 50%,color-mix(in srgb,var(--cyan) 12%,transparent),transparent 58%)!important;overflow:hidden!important}
 .market-head>.app-desktop-intro-off{display:block!important;background:none!important;border-left:0!important}
 .app-desktop-intro small{display:block!important;margin:0 0 10px!important;color:var(--cyan)!important;font-size:12px!important;font-weight:950!important;letter-spacing:.18em!important;text-transform:uppercase!important;text-shadow:0 0 16px color-mix(in srgb,var(--cyan) 60%,transparent)!important}
 .app-desktop-intro h1{margin:0!important;max-width:720px!important;font-size:clamp(28px,3vw,48px)!important;line-height:1.05!important;letter-spacing:-.035em!important;background:linear-gradient(100deg,#fff 12%,color-mix(in srgb,var(--cyan) 72%,#fff),#fff 62%,color-mix(in srgb,var(--violet) 55%,#fff))!important;background-size:220% 100%!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;animation:appDesktopShine 5s linear infinite!important}
 .app-desktop-intro p{display:block!important;max-width:690px!important;margin:15px 0 0!important;color:var(--muted)!important;font-size:14px!important;line-height:1.65!important}
 .app-desktop-intro-line{display:block;width:min(360px,72%);height:2px;margin-top:19px;border-radius:99px;background:linear-gradient(90deg,var(--cyan),var(--violet),transparent);box-shadow:0 0 15px color-mix(in srgb,var(--cyan) 45%,transparent)}
 .market-head>.app-download-showcase{grid-column:2!important;grid-row:1!important;width:min(82%,404px)!important;justify-self:end!important;align-self:end!important}
 .market-head>form{grid-column:2!important;grid-row:2!important;width:100%!important;justify-self:end!important;align-self:start!important}
 html[data-theme="light"] .app-desktop-intro h1{background:linear-gradient(100deg,#111827,#2563eb,#111827,#7c3aed)!important;background-size:220% 100%!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important}
 html[data-theme="red"] .market-head>.app-desktop-intro{border-left-color:#fb7185!important;background:radial-gradient(circle at 8% 50%,rgba(244,63,94,.12),transparent 58%)!important}
 html[data-theme="red"] .app-desktop-intro small{color:#fb7185!important}
 html[data-theme="green"] .market-head>.app-desktop-intro{border-left-color:#34d399!important;background:radial-gradient(circle at 8% 50%,rgba(52,211,153,.12),transparent 58%)!important}
 html[data-theme="green"] .app-desktop-intro small{color:#34d399!important}
}
@keyframes appDesktopShine{0%{background-position:180% 0}100%{background-position:-80% 0}}
@media(max-width:1023px){.market-head>.app-desktop-intro,.market-head>.app-desktop-intro-off{display:none!important}}
/* v7.4.9: verification notice belongs below the public menu/header. */
.email-verify-banner{position:relative!important;top:auto!important;z-index:20!important;width:100%;box-sizing:border-box}
