.mode-toggle--global{display:flex;gap:.4rem;position:sticky;top:.4rem;z-index:40;background:rgba(255,255,255,.92);backdrop-filter:blur(6px);padding:.35rem;border-radius:999px;border:1px solid #e5e7eb;margin:.3rem 0 .8rem}
.mode-toggle--global a{flex:1;text-align:center;padding:.45rem .65rem;border-radius:999px;border:1px solid #ddd;text-decoration:none;color:#111;background:#fff;font-weight:600}
.mode-toggle--global a.active{background:#111;color:#fff}
.brand-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.brand-header__main{display:flex;align-items:center;gap:.8rem;min-width:0}
.brand-header__main-link{text-decoration:none;color:inherit}
.brand-header__main-link:hover{opacity:.94}
.brand-header a,.ios-topbar a{text-decoration:none!important;border-bottom:none!important}
.brand-header__name-row{display:flex;align-items:center;gap:.45rem;flex-wrap:nowrap}
.alpha-badge{display:inline-flex;align-items:center;justify-content:center;padding:.14rem .5rem;border-radius:999px;font-size:.68rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;background:rgba(15,23,42,.1);color:#7c2d12;border:1px solid rgba(194,65,12,.28)}
.app-install-icon-btn{width:auto!important;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:.08rem;padding:.24rem .36rem!important;margin:0!important;border-radius:10px!important;border:1px solid #dbe3ef!important;background:#fff!important;color:#0f172a!important;line-height:1}
.app-install-icon-btn span{font-size:.86rem;line-height:1}
.app-install-icon-btn small{font-size:.54rem;font-weight:700;letter-spacing:.01em}
.app-update-banner{display:none;position:sticky;top:0;z-index:50;background:#111;color:#fff;padding:.6rem .75rem;border-radius:12px;margin:.5rem 0}
.app-update-banner.show{display:block}
.toast{position:fixed;left:50%;bottom:1rem;transform:translateX(-50%);background:#111;color:#fff;padding:.55rem .8rem;border-radius:999px;font-size:.85rem;z-index:80;opacity:0;pointer-events:none;transition:opacity .2s;max-width:min(calc(100vw - 1.2rem),680px);display:flex;align-items:center;gap:.45rem;box-shadow:0 10px 28px rgba(2,6,23,.35)}
.toast.show{opacity:1;pointer-events:auto}
.toast__message{display:block;min-width:0;overflow-wrap:anywhere;word-break:break-word}
.toast__copy{width:30px!important;min-width:30px!important;height:30px!important;padding:0!important;margin:0!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.4)!important;background:rgba(255,255,255,.14)!important;color:#fff!important;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 auto}
.toast__copy[hidden]{display:none!important}
.toast__copy.is-copied{border-color:#34d399!important;background:rgba(52,211,153,.25)!important}
.toast--success{background:#14532d;color:#dcfce7}
.toast--error{background:#7f1d1d;color:#fee2e2}
.ios-topbar{position:sticky;top:max(.35rem,env(safe-area-inset-top,0px));z-index:1100;display:flex;align-items:center;justify-content:space-between;gap:.65rem;min-height:64px;margin:.2rem 0 .65rem;padding:.5rem .55rem;border-radius:16px;background:rgba(255,255,255,.92);border:1px solid rgba(148,163,184,.28);box-shadow:0 8px 24px rgba(15,23,42,.08)}
.ios-topbar__brand{display:flex;align-items:center;gap:.68rem;min-width:0;flex:1;color:inherit;text-decoration:none}
.ios-topbar__brand img{width:42px;height:42px;border-radius:12px;box-shadow:0 8px 20px rgba(15,23,42,.22);flex-shrink:0}
.ios-topbar__brand-text{display:block;min-width:0;line-height:1;overflow:visible}
.ios-topbar__brand-name{display:block;font-weight:800;font-size:1.03rem;line-height:1.12;letter-spacing:.01em;white-space:nowrap;min-width:0}
.ios-topbar__brand-name-row{display:flex;align-items:center;gap:.4rem;flex-wrap:nowrap;min-width:0}
.ios-topbar__alpha-badge{padding:.1rem .4rem;font-size:.58rem;flex-shrink:0;position:relative;z-index:1}
.ios-topbar__brand-tagline{display:block;margin-top:.15rem;font-size:.68rem;color:#475569;line-height:1.1;white-space:nowrap;overflow:visible;text-overflow:clip;max-width:none}
.ios-topbar__title-link{text-decoration:none;color:inherit}
.profile-menu-trigger{width:52px;height:52px;flex:0 0 52px;border-radius:50%;padding:0;overflow:hidden;border:1px solid #d1d5db;background:#fff;display:grid;place-items:center;box-shadow:0 8px 18px rgba(15,23,42,.18)}
.profile-menu-avatar{width:100%;height:100%;object-fit:cover;object-position:center center;display:block}
.profile-menu-avatar--fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:1.1rem;background:#f8fafc;color:#0f172a}
.profile-drawer{position:fixed;top:0;right:0;height:100dvh;height:100vh;width:min(360px,88vw);transform:translateX(105%);transition:transform .22s ease;z-index:1400;padding:.85rem;background:transparent}
.profile-drawer.open{transform:translateX(0)}
.profile-drawer__card{height:100%;background:#fff;border-radius:20px;box-shadow:0 16px 32px rgba(15,23,42,.22);padding:1rem 1rem calc(7.25rem + env(safe-area-inset-bottom,0px));overflow:auto;overflow-x:hidden}
.drawer-refresh-btn{width:auto!important;min-width:0!important;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:.06rem;padding:.26rem .44rem!important;margin:0!important;border-radius:10px!important;background:#fff!important;color:#0f172a!important;border:1px solid #dbe3ef!important;line-height:1;flex:0 0 auto}
.drawer-refresh-btn span{font-size:.85rem;line-height:1}
.drawer-refresh-btn small{font-size:.5rem;font-weight:700;letter-spacing:.01em}
.profile-drawer__identity{display:flex;align-items:center;gap:.7rem;padding:.35rem .15rem .75rem;border-bottom:1px solid #eef2f7;margin-bottom:1rem}
.profile-drawer__avatar{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#f8fafc;border:1px solid #e2e8f0;object-fit:cover;object-position:center center;flex:0 0 52px}
.profile-drawer__avatar--fallback{font-size:1.25rem}
.profile-drawer__identity-main{min-width:0;flex:1}
.profile-drawer__name{margin:.1rem 0;font-weight:700}
.profile-drawer__profile-link{display:inline-block;margin-top:.08rem;color:#475569;text-decoration:none;font-size:.88rem}
.profile-drawer__profile-link:hover{text-decoration:none}
.profile-drawer__modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;padding:.45rem 0 1.25rem;align-items:stretch;overflow:visible}
.profile-drawer__modes a{display:inline-flex!important;align-items:center;justify-content:center;gap:.64rem;min-height:52px;text-align:center;border:1px solid #d2dbe7;border-radius:999px;padding:.66rem .82rem!important;background-color:#e9eff6;background-image:none!important;background-clip:padding-box;font-size:.78rem;font-weight:700;line-height:1.2;white-space:nowrap;color:#111827;overflow:visible;box-sizing:border-box;box-shadow:none!important;outline:0!important;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}
.profile-drawer__modes a i,.profile-drawer__modes a span{color:inherit;opacity:1}
.profile-drawer__modes a.active{background:#111827;color:#fff;border-color:#111827;outline:0}
.profile-drawer__modes a:not(.active):hover{background:#dde6f0;border-color:#bac8d8}
.profile-drawer__modes a:not(.active):focus-visible{box-shadow:0 0 0 2px rgba(15,23,42,.16)!important}
.profile-drawer__links a,.profile-drawer__links summary{display:flex;align-items:center;gap:.86rem;padding:.66rem .62rem;border-bottom:0;color:#111827;text-decoration:none;cursor:pointer}.profile-drawer__links i{width:1.2rem;text-align:center;opacity:1;color:inherit;flex:0 0 1.2rem}.profile-drawer__links a span,.profile-drawer__links summary span{color:inherit}
.profile-drawer__links details{margin:.2rem 0 .35rem}
.profile-drawer__links details a{padding-left:1rem}
.profile-drawer__links .logout-link{color:#b91c1c;font-weight:700}
.profile-drawer__status-form{display:grid;gap:.45rem;margin:.2rem 0 .85rem;padding:.75rem .8rem;border:1px solid #dbe3ef;border-radius:16px;background:#f8fafc}
.profile-drawer__status-form .profile-drawer__status-label{font-size:.74rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#64748b;margin:0}
.profile-drawer__status-form select,.profile-drawer__status-form textarea,.profile-drawer__status-form button{margin:0;width:100%}
.profile-drawer__status-form select{padding:.58rem .7rem;border-radius:12px}
.profile-drawer__status-form textarea{min-height:76px;resize:vertical;padding:.6rem .7rem}
.profile-drawer__status-form button[type="submit"]{margin-top:.05rem;background:linear-gradient(135deg,#fb7185,#f97316);border:0}
.profile-drawer__status-note{margin:0;font-size:.75rem;line-height:1.35;color:#64748b}
.profile-drawer__footer{margin-top:.7rem;padding:.7rem .2rem 0;border-top:1px solid #eef2f7;display:grid;gap:.55rem}
.profile-drawer__support{display:grid;gap:.35rem}
.profile-drawer__support summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:.65rem;padding:.72rem .75rem;border:1px solid #dbe3ef;border-radius:14px;background:#f8fafc;color:#111827;text-decoration:none;cursor:pointer;font-weight:700}
.profile-drawer__support summary::-webkit-details-marker{display:none}
.profile-drawer__support summary::after{content:"⌄";font-size:1rem;color:#64748b;line-height:1;transition:transform .2s ease}
.profile-drawer__support[open] summary::after{transform:rotate(180deg)}
.profile-drawer__support summary i{width:1.2rem;text-align:center;color:inherit;flex:0 0 1.2rem}
.profile-drawer__support-menu{display:grid;gap:.15rem;padding:.15rem 0 .1rem}
.profile-drawer__support-menu a{display:flex;align-items:center;gap:.86rem;padding:.58rem .62rem;border-radius:12px;color:#111827;text-decoration:none}
.profile-drawer__support-menu a:hover{background:#f8fafc}
.profile-drawer__support-menu i{width:1.2rem;text-align:center;opacity:1;color:inherit;flex:0 0 1.2rem}
.profile-drawer__footer-links{display:flex;flex-wrap:wrap;gap:.35rem .65rem}
.profile-drawer__footer-links a{display:inline-flex;align-items:center;gap:.35rem;padding:0!important;font-size:.78rem;color:#475569;text-decoration:none}
.profile-drawer__footer-links a i{width:1rem;text-align:center;opacity:1;color:inherit;flex:0 0 1rem}
.profile-drawer__footer-links a:hover{text-decoration:underline}
.profile-drawer__version{margin:0;font-size:.76rem}
.profile-drawer__version a{text-decoration:none}
.profile-drawer-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.34);opacity:0;pointer-events:none;transition:opacity .2s;z-index:1350}
.profile-drawer-backdrop.open{opacity:1;pointer-events:auto}
.ios-tabbar{position:fixed;left:0;right:0;margin:0 auto;bottom:calc(1rem + env(safe-area-inset-bottom,0px));width:min(760px,calc(100% - 1rem));background:rgba(255,255,255,.98);backdrop-filter:blur(8px);border:1px solid #e5e7eb;border-radius:16px;z-index:1200;padding:.42rem .24rem;box-shadow:0 10px 26px rgba(15,23,42,.2)}
.ios-tabbar ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(var(--ios-tab-count,4),minmax(0,1fr));gap:.1rem}
.ios-tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;color:#6b7280;padding:.42rem .2rem;border-radius:12px;font-size:clamp(.6rem,1.75vw,.8rem);line-height:1.04;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;gap:.34rem}
.ios-tabbar a .icon{font-size:1.08rem;line-height:1;display:block}
.ios-tabbar a.active{color:#111;background:#f3f4f6;font-weight:700}
.ios-tabbar__badge{position:absolute;top:.08rem;right:.8rem;background:#ef4444;color:#fff;border-radius:999px;padding:0 .32rem;font-size:.64rem}
@media (max-width:390px){
  .ios-tabbar{padding:.3rem .16rem}
  .ios-tabbar ul{gap:.04rem}
  .ios-tabbar a{padding:.32rem .12rem;font-size:clamp(.54rem,1.55vw,.72rem);gap:.28rem}
  .ios-tabbar a .icon{font-size:.92rem}
}
html{scrollbar-gutter:stable both-edges}
body{padding-bottom:5rem!important}
#appShellMain{width:100%;max-width:100%;min-width:0;overflow-x:clip}
#appShellMain > *{width:100%;max-width:100%;min-width:0}
#appShellMain img,#appShellMain video,#appShellMain canvas,#appShellMain iframe,#appShellMain table,#appShellMain pre,#appShellMain code,#appShellMain svg{max-width:100%}
#appShellMain iframe,#appShellMain canvas,#appShellMain svg{display:block}
#appShellMain table,#appShellMain pre,#appShellMain code{display:block;overflow-x:auto}
#appShellMain [style*="100vw"]{max-width:100%!important}
#appShellMain *{min-width:0}
#appShellMain p,#appShellMain li,#appShellMain a,#appShellMain small,#appShellMain h1,#appShellMain h2,#appShellMain h3,#appShellMain h4{overflow-wrap:anywhere;word-break:break-word}
@media (max-width:520px){
  .ios-topbar{padding:.42rem .48rem;gap:.5rem}
  .ios-topbar__brand img{width:34px;height:34px;border-radius:10px}
  .ios-topbar__brand-name{font-size:.92rem}
  .ios-topbar__brand-name-row{gap:.28rem}
  .ios-topbar__alpha-badge{padding:.08rem .34rem;font-size:.53rem}
  .ios-topbar__brand-tagline{font-size:.57rem;max-width:none}
  .drawer-refresh-btn{padding:.2rem .32rem!important;border-radius:8px!important}
  .drawer-refresh-btn span{font-size:.7rem}
  .drawer-refresh-btn small{font-size:.43rem}
}
.notif-page{display:grid;gap:1rem}
.notif-page__hero{background:radial-gradient(circle at 12% 18%,rgba(251,113,133,.3),transparent 32%),radial-gradient(circle at 88% 0%,rgba(56,189,248,.22),transparent 34%),linear-gradient(145deg,#07111f,#102a43 58%,#0f172a);color:#fff;padding:1rem;border-radius:18px;box-shadow:0 14px 30px rgba(15,23,42,.22)}
.notif-page__hero h1{margin:.15rem 0 .3rem;font-size:1.7rem}
.notif-page__eyebrow{margin:0;font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.92}
.notif-page__hero .muted{color:rgba(255,255,255,.92)}
.notif-form{background:#fff;border:1px solid #ebeff5;border-radius:18px;padding:.9rem;box-shadow:0 10px 22px rgba(15,23,42,.08)}
.notif-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.65rem}
.notif-option{display:flex;align-items:flex-start;justify-content:space-between;gap:.6rem;padding:.7rem .75rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px}
.notif-option strong{display:block;line-height:1.2}
.notif-option small{display:block;color:#64748b;margin-top:.2rem;line-height:1.35}
.notif-option input[type="checkbox"]{width:1.1rem;height:1.1rem;margin:.1rem 0 0;accent-color:#f97316}
.notif-save-btn{margin-top:.8rem;background:linear-gradient(135deg,#fb7185,#f97316)!important;border:0!important}
.notif-push{background:#fff;border:1px solid #ebeff5;border-radius:18px;padding:.9rem;box-shadow:0 8px 20px rgba(15,23,42,.07)}
.notif-push h2{margin:.1rem 0 .35rem}
.notif-push__actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.6rem}
.notif-secondary-btn{background:#fff!important;color:#0f172a!important;border:1px solid #cfd8e3!important}
.notif-center{display:grid;gap:.65rem}
.notif-center__header{display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap}
.notif-center__toolbar{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}
.notif-center__header h1{margin:.1rem 0}
.notif-center__list{display:grid;gap:.5rem}
.notif-chip{position:relative;display:flex;align-items:flex-start;gap:.55rem;padding:.52rem .6rem;border:1px solid #dbe4f0;background:#fff;border-radius:13px;overflow:hidden}
.notif-chip--unread{border-color:#fecaca;background:#fff5f5}
.notif-chip__dot{width:.5rem;height:.5rem;border-radius:999px;margin-top:.42rem;background:#cbd5e1;flex:0 0 auto}
.notif-chip--unread .notif-chip__dot{background:#ef4444}
.notif-chip__link{position:absolute;inset:0;z-index:1;text-decoration:none;color:inherit;border-radius:inherit}
.notif-chip__content{position:relative;z-index:2;flex:1;min-width:0;pointer-events:none}
.notif-chip__content :is(a,button,input,select,textarea){pointer-events:auto}
.notif-chip__title{display:flex;align-items:center;justify-content:space-between;gap:.5rem;font-size:.9rem}
.notif-chip__title strong{font-size:.9rem;line-height:1.2}
.notif-chip__body{margin:.15rem 0 0;font-size:.82rem;color:#334155;line-height:1.3}
.notif-chip__meta{margin:.15rem 0 0}
.notif-chip__meta a{font-size:.76rem;text-decoration:none}
.notif-chip__clear{position:relative;z-index:3;width:1.6rem!important;min-width:1.6rem;height:1.6rem;padding:0!important;border-radius:999px!important;background:#fee2e2!important;color:#b91c1c!important;border:1px solid #fecaca!important;font-size:.82rem;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.notif-chip__clear[disabled]{opacity:.35;cursor:not-allowed}
@media (max-width:760px){.notif-center__header .notif-save-btn{width:auto;min-width:120px;margin:0}.notif-chip{padding:.45rem .52rem;border-radius:12px}.notif-chip__title strong{font-size:.84rem}.notif-chip__body{font-size:.76rem}.notif-chip__clear{width:1.45rem!important;min-width:1.45rem;height:1.45rem;font-size:.75rem}}

.match-modern-card__link{display:block;text-decoration:none;color:inherit}
.match-modern-card__link:hover .match-modern__title strong{text-decoration:underline}
