/* Net72 Member App — mobile hub styles. Pink/black brand, scoped .nma-* */
/* Full-width app page: keep theme header/footer, drop the sidebar + column caps */
body.nma-app-page #secondary,
body.nma-app-page .sidebar,
body.nma-app-page .widget-area,
body.nma-app-page aside.widget-area,
body.nma-app-page .sidebar-container{display:none!important}
body.nma-app-page .nma-app-fullwidth{width:100%;max-width:100%;margin:0 auto;padding:0}
body.nma-app-page #primary,
body.nma-app-page .content-area,
body.nma-app-page .site-content,
body.nma-app-page .site-main,
body.nma-app-page .entry-content,
body.nma-app-page .container{width:100%!important;max-width:100%!important;float:none!important;margin-left:auto!important;margin-right:auto!important}
/* chromeless app-shell: app fills the screen on mobile, phone-width column on desktop */
body.nma-app-shell{margin:0;background:#0c0c0f;-webkit-tap-highlight-color:transparent}
body.nma-app-shell .nma-app-shell-wrap{min-height:100vh;min-height:100dvh}
body.nma-app-shell .nma-shell{max-width:480px;margin:0 auto;min-height:100vh;min-height:100dvh;border-radius:0;box-shadow:none}

/* add-to-home-screen banner */
.nma-a2hs{position:fixed;left:0;right:0;bottom:0;z-index:1000;background:var(--nma-accent,#c12475);color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;box-shadow:0 -4px 18px rgba(0,0,0,.28)}
.nma-a2hs-in{max-width:480px;margin:0 auto;display:flex;align-items:center;gap:12px;padding:12px 14px calc(12px + env(safe-area-inset-bottom));font-size:13px;line-height:1.35}
.nma-a2hs-in > span:first-child{flex:1}
.nma-a2hs-btns{display:flex;gap:8px;flex:0 0 auto}
.nma-a2hs button{border:0;border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700;cursor:pointer}
.nma-a2hs .nma-a2hs-add{background:#fff;color:#9c1c5e}
.nma-a2hs .nma-a2hs-x{background:rgba(255,255,255,.2);color:#fff}

/* Add-to-home-screen row (More tab) */
.nma-installrow{display:flex;align-items:center;gap:12px;background:var(--card);border-radius:12px;box-shadow:var(--shadow);padding:14px;margin-bottom:14px}
.nma-installrow .nma-installrow-t{flex:1;line-height:1.25}
.nma-installrow .nma-installrow-t b{display:block;font-size:14px}
.nma-installrow .nma-installrow-t span{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.nma-installrow .nma-btn{width:auto;flex:0 0 auto;padding:9px 18px;margin:0}
.nma-installhint{background:var(--pink-l,#fbe6f1);border-radius:12px;padding:12px 14px;margin-bottom:14px;font-size:13px;line-height:1.4;color:var(--ink)}
.nma-installrow[hidden],.nma-installhint[hidden]{display:none}

/* Handicap index card (More tab) */
.nma-hicard{background:var(--card);border-radius:12px;box-shadow:var(--shadow);padding:14px;margin-bottom:14px}
.nma-hi-hd b{display:block;font-size:14px}
.nma-hi-hd span{display:block;font-size:12px;color:var(--muted);margin-top:2px;line-height:1.35}
.nma-hi-view{display:flex;align-items:center;gap:12px;margin-top:12px}
.nma-hi-val{font-size:30px;font-weight:800;line-height:1;flex:1;letter-spacing:-.5px}
.nma-hi-editbtn{flex:0 0 auto;border:1.5px solid var(--pink);background:transparent;color:var(--pink-d,#9c1c5e);font-weight:700;font-size:13px;padding:8px 18px;border-radius:9px;cursor:pointer}
.nma-hi-edit{display:flex;align-items:center;gap:8px;margin-top:12px}
.nma-hi-edit[hidden]{display:none}
.nma-hi-edit input{flex:1;min-width:0;font-size:18px;font-weight:700;padding:9px 12px;border:1.5px solid var(--line);border-radius:9px;background:#fff;color:var(--ink)}
.nma-hi-edit .nma-btn{width:auto;flex:0 0 auto;margin:0;padding:9px 16px}
.nma-hi-cancel{flex:0 0 auto;border:0;background:transparent;color:var(--muted);font-size:13px;font-weight:600;cursor:pointer;padding:6px}
.nma-hi-msg{margin-top:10px;font-size:12.5px;line-height:1.35;padding:9px 11px;border-radius:9px}
.nma-hi-msg[hidden]{display:none}
.nma-hi-msg.ok{background:#e7f6ec;color:#1f7a44}
.nma-hi-msg.err{background:#fdecea;color:#b0322a}

/* All-leaderboards back link (atop a single board) */
.nma-alllb{display:inline-flex;align-items:center;gap:6px;color:var(--pink-d,#9c1c5e);font-size:13px;font-weight:700;text-decoration:none;padding:2px 0 4px}
.nma-alllb svg{width:16px;height:16px;stroke:currentColor;fill:none}

/* Portrait lock — phones in landscape get a rotate prompt instead of the app.
   Gated to touch devices so a desktop landscape window is unaffected. */
.nma-rotate-guard{display:none}
@media only screen and (orientation:landscape) and (max-width:920px) and (pointer:coarse){
  body.nma-app-shell .nma-app-shell-wrap{display:none}
  body.nma-app-shell .nma-rotate-guard{display:flex;position:fixed;inset:0;z-index:2000;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#0c0c0f;color:#fff;text-align:center;padding:24px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
  body.nma-app-shell .nma-rotate-guard b{font-size:17px;font-weight:800}
  body.nma-app-shell .nma-rotate-guard span{font-size:13px;color:#b9b6bf;max-width:240px}
}

/* tab-bar line icons pick up currentColor */
.nma-tabbar a .ic svg{display:block;width:22px;height:22px}
.nma-appbar .nma-signout svg,.nma-appbar .nma-back svg{width:18px;height:18px;display:block}

.nma-shell{--pink:var(--nma-accent,#c12475);--pink-d:#9c1c5e;--pink-l:#fbe6f1;--black:#17151a;--ink:#1c1a20;--muted:#8b8791;--line:#e9e6ec;--bg:#f5f3f6;--card:#fff;--birdie:#1f8a4c;--bogey:#c0392b;--shadow:0 6px 18px rgba(30,15,35,.10);
  max-width:480px;margin:0 auto;background:var(--bg);min-height:80vh;display:flex;flex-direction:column;border-radius:14px;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);box-shadow:0 10px 40px rgba(20,8,18,.15)}
.nma-shell *{box-sizing:border-box}
.nma-body{flex:1;padding-bottom:calc(58px + env(safe-area-inset-bottom,0px))}
.nma-pad{padding:16px 15px 24px}

/* round switcher (multi-round meetings) */
.nma-roundsw{display:flex;gap:6px;padding:12px 15px 0}
.nma-roundsw .nma-rsw{flex:1;text-align:center;padding:8px 6px;border-radius:11px;background:var(--card);box-shadow:var(--shadow);border:1.5px solid var(--line);text-decoration:none;color:var(--muted);line-height:1.15}
.nma-roundsw .nma-rsw b{display:block;font-size:13px;font-weight:800;color:var(--ink)}
.nma-roundsw .nma-rsw span{display:block;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.4px;opacity:.85}
.nma-roundsw .nma-rsw.on{background:var(--pink);border-color:var(--pink)}
.nma-roundsw .nma-rsw.on b,.nma-roundsw .nma-rsw.on span{color:#fff}
/* In-round view switcher: Start sheet · Score · Board (segmented) */
.nma-roundviews{display:flex;gap:6px;padding:12px 15px 0}
.nma-roundviews .nma-rv{flex:1;text-align:center;padding:9px 6px;border-radius:11px;background:var(--card);box-shadow:var(--shadow);border:1.5px solid var(--line);text-decoration:none;color:var(--ink);font-size:12.5px;font-weight:700;line-height:1.1}
.nma-roundviews .nma-rv.on{background:var(--pink);border-color:var(--pink);color:#fff}
.nma-msg,.nma-empty,.nma-note{padding:16px;color:var(--muted);font-size:14px;line-height:1.5}
.nma-note{background:#fff;border:1px solid var(--line);border-radius:10px}

/* appbar + tabbar */
.nma-appbar{background:var(--black);color:#fff;display:flex;align-items:center;gap:10px;padding:12px 14px}
.nma-appbar .nma-back,.nma-appbar .nma-signout{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:18px;flex:0 0 auto}
.nma-title{flex:1;min-width:0;line-height:1.15}
.nma-title b{font-size:16px;display:block}
.nma-title span{font-size:11.5px;opacity:.72}
.nma-tabbar{display:flex;background:var(--card);border-top:1px solid var(--line);position:fixed;left:0;right:0;bottom:0;max-width:480px;margin:0 auto;z-index:500;padding-bottom:env(safe-area-inset-bottom,0px)}
.nma-tabbar a{flex:1;min-width:0;text-decoration:none;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;font-weight:600;padding:8px 2px;white-space:nowrap}
.nma-tabbar a .ic{font-size:18px}
.nma-tabbar a.on{color:var(--pink)}

/* splash (logged out) — light, matches the inside pages */
.nma-splash{background:var(--bg);color:var(--ink);min-height:70vh;display:flex;flex-direction:column}
.nma-soc-bar{background:transparent;flex:0 0 auto;display:flex;align-items:center;justify-content:center;padding:24px 14px 4px}
.nma-crest{max-height:88px;max-width:72%}
.nma-crest-text{color:var(--ink);font-weight:800;font-size:18px}
.nma-splash-main{flex:1;display:flex;flex-direction:column;justify-content:flex-start;text-align:center;padding:0 20px 22px}
.nma-splash-welcome{padding:0 4px}
/* society acronym: small, uppercase, muted */
.nma-splash-main h3{margin:2px 0 3px!important;font-size:14px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)!important}
/* app title: lighter (600) + smaller */
.nma-splash-tag{margin:0!important;font-size:25px!important;font-weight:600!important;color:var(--ink)!important;opacity:1!important;line-height:1.1;letter-spacing:0;text-transform:none}
.nma-splash-main p{margin:0;font-size:13px;line-height:1.5;color:var(--muted)}
/* splash footer: net72 logo (dark-on-light), same treatment as inside pages */
.nma-splash-main .nma-netfoot{height:26px;background:var(--nma-logo) center/contain no-repeat;opacity:.5;margin:22px 0 6px}
/* inline UM login form on a light app card */
.nma-login-form{background:var(--card);border-radius:13px;padding:20px 18px 18px;box-shadow:var(--shadow);text-align:left;margin-top:18px}
.nma-login-form,.nma-login-form .um,.nma-login-form .um *{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important}
.nma-login-form .um{margin:0 auto!important;max-width:100%!important}
.nma-login-form .um-form input[type=text],.nma-login-form .um-form input[type=password],.nma-login-form .um-form input[type=email]{border:1.5px solid var(--line)!important;border-radius:11px!important}
.nma-login-form .um-form input[type=text]:focus,.nma-login-form .um-form input[type=password]:focus,.nma-login-form .um-form input[type=email]:focus{border-color:var(--pink)!important;box-shadow:0 0 0 3px var(--pink-l)!important}
/* app-style pink button: full-width, rounded, bold.
   NB: UM colours .um-button from its "Design" settings via an inline <style>
   block with !important on `.um input[type=submit].um-button` (specificity
   0,3,1). We must out-specify that, so the chain is prefixed with
   body.nma-app-shell .nma-login-form .um … and covers the :hover UM flips to. */
body.nma-app-shell .nma-login-form #um-submit-btn,
body.nma-app-shell .nma-login-form .um input[type=submit].um-button,
body.nma-app-shell .nma-login-form .um input[type=submit].um-button:focus,
body.nma-app-shell .nma-login-form .um a.um-button{background-color:var(--pink)!important;background-image:none!important;border-color:var(--pink)!important;color:#fff!important;border-radius:12px!important;font-weight:700!important;font-size:15.5px!important;padding:14px 20px!important;box-shadow:none!important}
body.nma-app-shell .nma-login-form #um-submit-btn:hover,
body.nma-app-shell .nma-login-form .um input[type=submit].um-button:hover,
body.nma-app-shell .nma-login-form .um a.um-button:hover{background-color:var(--pink-d)!important;color:#fff!important}
body.nma-app-shell .nma-login-form .um a{color:var(--pink-d)!important}

/* section + cards */
.nma-sec{font-size:12px;text-transform:uppercase;letter-spacing:.7px;color:var(--muted);margin:18px 4px 9px;font-weight:700}
.nma-sec:first-child{margin-top:2px}
.nma-card{background:var(--card);border-radius:14px;box-shadow:var(--shadow);overflow:hidden}
.nma-divider{height:1px;background:var(--line);margin:0 14px}
/* Members directory */
.nma-memsearch{width:100%;box-sizing:border-box;border:1.5px solid var(--line);background:var(--card);border-radius:12px;padding:11px 14px;font-size:15px;color:var(--ink);margin:0 0 12px;-webkit-appearance:none}
.nma-memsearch:focus{outline:none;border-color:var(--pink)}
.nma-memlist{padding:2px 0}
.nma-mem{padding:11px 15px;border-top:1px solid var(--line)}
.nma-mem:first-child{border-top:0}
.nma-mem-nm b{font-size:14.5px;font-weight:700;color:var(--ink)}
.nma-mem-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:7px}
.nma-mem-lnk{display:inline-flex;align-items:center;gap:6px;text-decoration:none;font-size:12.5px;font-weight:600;padding:6px 11px;border-radius:999px;background:var(--pink-l,#fbe9f2);color:var(--pink)}
.nma-mem-lnk svg{width:15px;height:15px;display:block}
.nma-mem-mail{background:#eef0f4;color:var(--ink)}
.nma-memnone{padding:16px;color:var(--muted);font-size:14px}
.nma-netfoot{height:26px;background:var(--nma-logo) center/contain no-repeat;opacity:.55;margin:18px 0 0}

/* buttons */
.nma-btn{display:block;width:100%;text-align:center;padding:13px;border:0;border-radius:12px;font-size:15px;font-weight:700;cursor:pointer;text-decoration:none}
.nma-btn-solid{background:var(--pink);color:#fff}
.nma-btn-ghost{background:#fff;color:var(--pink-d);border:1.5px solid var(--line)}
.nma-btn-solid.nma-confirming{background:#9a781e}

/* event rows */
.nma-evt{display:flex;align-items:center;gap:13px;padding:14px 15px;text-decoration:none;color:var(--ink)}
.nma-day{flex:0 0 50px;text-align:center;background:var(--pink-l);border-radius:12px;padding:8px 4px;color:var(--pink-d)}
.nma-day b{display:block;font-size:19px;line-height:1}
.nma-day span{font-size:10px;text-transform:uppercase;font-weight:700}
.nma-m{flex:1;min-width:0}
.nma-m b{font-size:15px;display:block}
.nma-m span{font-size:12.5px;color:var(--muted);display:block;margin-top:2px}
.nma-chev{color:#cfc6d0;font-size:22px}
.nma-pill{font-size:10px;font-weight:800;text-transform:uppercase;padding:3px 8px;border-radius:20px;background:var(--pink-l);color:var(--pink-d)}
.nma-pill.live::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--pink);margin-right:5px;vertical-align:middle}

/* flight panel on sheet */
.nma-flight-mine{border:2px solid var(--pink);padding:12px 14px}
.nma-flight-mine .nma-fhd b{font-size:13.5px}
.nma-flight-mine ul{list-style:none;margin:8px 0 12px;padding:0}
.nma-flight-mine li{display:flex;justify-content:space-between;padding:6px 0;font-size:13.5px;border-top:1px dashed var(--line)}
.nma-flight-mine li:first-child{border-top:0}
.nma-flight-mine .nma-hc{color:var(--muted);font-size:12.5px}
.nma-you{color:var(--pink-d);font-weight:800}
.nma-gmm-embed{background:#fff;border-radius:12px;padding:6px;box-shadow:var(--shadow);overflow-x:auto}

/* portrait-friendly stacked start sheet */
.nma-ss-match{background:var(--card);border-radius:14px;box-shadow:var(--shadow);overflow:hidden;margin-bottom:10px}
.nma-ss-match.mine{border:2px solid var(--pink)}
.nma-ss-hd{display:flex;align-items:center;justify-content:space-between;background:#faf7fa;padding:8px 13px;border-bottom:1px solid var(--line)}
.nma-ss-hd b{font-size:13px}
.nma-ss-match.mine .nma-ss-hd b::after{content:" · YOUR MATCH";color:var(--pink-d);font-size:10px;font-weight:800;letter-spacing:.4px}
.nma-ss-tee{font-size:12px;font-weight:800;color:var(--pink-d);background:var(--pink-l);padding:3px 9px;border-radius:8px}
.nma-ss-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 13px;border-top:1px solid var(--line)}
.nma-ss-row:first-of-type{border-top:0}
.nma-ss-row.you{background:var(--pink-l)}
.nma-ss-name{font-size:14px;display:flex;flex-direction:column;line-height:1.25}
.nma-ss-row.you .nma-ss-name{color:var(--pink-d);font-weight:700}
.nma-ss-name small{font-size:11.5px;color:var(--muted);font-weight:400;margin-top:1px}
.nma-ss-ph{font-size:12px;color:var(--muted);font-weight:600;flex:0 0 auto}

/* per-hole card */
.nma-holehead{background:var(--card);box-shadow:var(--shadow);border-radius:14px;padding:12px 14px;margin:15px 15px 12px}
.nma-holenav{display:flex;align-items:center;justify-content:space-between}
.nma-holenav button{width:40px;height:40px;border-radius:12px;border:1px solid var(--line);background:#fbfafc;font-size:20px;color:var(--pink-d);cursor:pointer}
.nma-holenav button:disabled{opacity:.3}
.nma-hn{text-align:center;line-height:1.1}
.nma-hn b{font-size:26px;display:block}
.nma-hn span{font-size:11.5px;color:var(--muted)}
.nma-progress{display:flex;gap:3px;margin-top:11px}
.nma-progress i{flex:1;height:5px;border-radius:3px;background:#e6e0ea;cursor:pointer}
.nma-progress i.done{background:var(--pink)}
.nma-progress i.cur{background:var(--black)}
.nma-swipehint{text-align:center;font-size:11px;color:#a89dae;margin-top:9px}
.nma-teamscore{margin:12px 15px 0;background:var(--pink);color:#fff;border-radius:14px;padding:12px 16px;box-shadow:var(--shadow)}
.nma-ts-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.nma-ts-tot{display:flex;flex-direction:column}
.nma-ts-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;opacity:.85}
.nma-ts-main{font-size:34px;font-weight:800;line-height:1.05;margin-top:2px}
.nma-ts-main small{font-size:14px;font-weight:700;opacity:.85}
.nma-ts-sub{font-size:12.5px;font-weight:600;opacity:.92;margin-top:2px}
.nma-ts-hole{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(255,255,255,.16);border-radius:11px;padding:7px 14px;min-width:74px}
.nma-ts-hole span{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;opacity:.85}
.nma-ts-hole b{font-size:26px;font-weight:800;line-height:1.1}
.nma-ts-hole small{font-size:9.5px;text-transform:uppercase;letter-spacing:.03em;opacity:.8}
.nma-players{padding:0 15px;display:flex;flex-direction:column;gap:11px}
.nma-pl{background:var(--card);box-shadow:var(--shadow);border-radius:14px;padding:12px 13px}
.nma-pl .top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.nma-pl .nm{min-width:0}
.nma-pl .nm b{font-size:14.5px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nma-pl .nm .sub{font-size:11px;color:var(--muted);margin-top:3px}
.nma-shots i{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--pink);margin-left:2px}
.nma-stepper{display:flex;align-items:center;gap:4px;flex:0 0 auto}
.nma-stepper button{width:38px;height:38px;border-radius:11px;border:0;font-size:22px;font-weight:700;cursor:pointer}
.nma-minus{background:#f0ecf2;color:var(--ink)}
.nma-plus{background:var(--pink);color:#fff}
.nma-scorebox{width:52px;display:flex;flex-direction:column;align-items:center;gap:3px}
.nma-mk{width:40px;height:40px;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800}
.nma-mk.par{color:var(--ink)}
.nma-mk.birdie,.nma-mk.eagle{color:var(--birdie);border:2.5px solid var(--birdie);border-radius:50%}
.nma-mk.eagle{box-shadow:0 0 0 2.5px #fff,0 0 0 5px var(--birdie)}
.nma-mk.bogey,.nma-mk.worse{color:var(--bogey);border:2.5px solid var(--bogey);border-radius:6px}
.nma-mk.worse{box-shadow:0 0 0 2.5px #fff,0 0 0 5px var(--bogey)}
.nma-mk.nr{color:var(--muted);font-size:16px}
.nma-mk.blank{color:var(--muted);font-size:22px;opacity:.55}
.nma-scorebox .cap{font-size:9.5px;text-transform:uppercase;color:var(--muted)}
.nma-parbtn{font-size:20px;font-weight:800;color:var(--ink);background:#f0ecf2;border:0;border-radius:11px;cursor:pointer;width:38px;height:38px}
.nma-nrbtn{font-size:10.5px;font-weight:700;color:var(--muted);background:#f0ecf2;border:0;border-radius:9px;padding:8px 7px;cursor:pointer;width:38px}
.nma-nrbtn.on{background:#fbe4e0;color:var(--bogey)}
.nma-foot{display:flex;justify-content:space-between;margin-top:11px;padding-top:9px;border-top:1px solid var(--line)}
.nma-stat{flex:1;text-align:center}
.nma-stat span{display:block;font-size:9.5px;text-transform:uppercase;color:var(--muted)}
.nma-stat b{font-size:14px}
.tone-u{color:var(--birdie)}.tone-o{color:var(--bogey)}.tone-l{color:var(--muted)}
.nma-savebar{padding:14px 15px 20px;position:sticky;bottom:56px;background:linear-gradient(to top,var(--bg) 72%,rgba(245,243,246,0))}
.nma-savestate{display:block;text-align:center;font-size:11px;color:var(--muted);margin-bottom:8px}

/* board */
.nma-board-root{padding:15px}
.nma-lbbanner{font-size:11.5px;color:#9a781e;background:#fdf6e7;border:1px solid #f0e2bf;border-radius:10px;padding:8px 11px;margin-bottom:11px;line-height:1.4}
.nma-lbbanner.official{color:#1f6b3a;background:#e9f7ee;border-color:#bfe6cd;font-weight:600}
.nma-tabs{display:flex;background:var(--card);border-radius:12px;padding:4px;box-shadow:var(--shadow);margin-bottom:12px}
.nma-tabs button{flex:1;border:0;background:transparent;padding:9px 6px;border-radius:9px;font-size:13px;font-weight:700;color:var(--muted);cursor:pointer;line-height:1.2}
.nma-tabs button small{display:block;font-size:10px;font-weight:600;opacity:.8}
.nma-tabs button.on{background:var(--pink);color:#fff}
.nma-lb{background:var(--card);border-radius:14px;box-shadow:var(--shadow);overflow:hidden}
.nma-lb-empty{padding:22px;text-align:center;color:var(--muted);font-size:13px}
.nma-lrow{display:flex;align-items:center;gap:11px;padding:11px 13px;border-top:1px solid var(--line)}
.nma-lrow:first-child{border-top:0}
.nma-lrow.me{background:var(--pink-l)}
.nma-pos{flex:0 0 26px;text-align:center;font-weight:800;font-size:15px}
.nma-lrow.p1 .nma-pos{color:var(--pink)}
.nma-who{flex:1;min-width:0}
.nma-who b{font-size:14px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nma-who b.team{white-space:normal;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nma-who span{font-size:11px;color:var(--muted);display:block}
.nma-who .nma-members{font-size:11px;color:var(--ink);opacity:.8;line-height:1.25;margin-top:1px}
.nma-who .nma-members.nma-lead{font-size:12.5px;font-weight:600;opacity:1;margin-top:0}
.nma-thru{flex:0 0 46px;text-align:center;font-size:10.5px;color:var(--muted);font-weight:600}
.nma-sc{text-align:right;flex:0 0 100px}
.nma-sc b{font-size:16px;display:block;white-space:nowrap}
.nma-sc small{font-size:11px;color:var(--muted);font-weight:600}
.nma-sc span{font-size:11px;color:var(--muted);display:block;white-space:normal;line-height:1.15}

/* organiser: Ready-for-Score-Entry bar injected on GMM manage screen */
.nma-org-bar{display:flex;align-items:center;gap:16px;background:#17151a;color:#fff;border-radius:12px;padding:12px 18px;margin:0 0 16px;max-width:560px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;box-shadow:0 4px 14px rgba(20,8,18,.18)}
.nma-org-label{flex:1;line-height:1.3;min-width:0}
.nma-org-label b{display:block;font-size:14px}
.nma-org-label span{font-size:12px;opacity:.7}
.nma-org-approve{display:block;margin-top:6px;font-size:12px;font-weight:700;color:#f4a6cf;text-decoration:none}
.nma-switch{width:52px;height:30px;border-radius:16px;border:0;background:#4a4650;position:relative;cursor:pointer;flex:0 0 auto;transition:background .18s;padding:0}
.nma-switch i{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;transition:left .18s}
.nma-switch.on{background:var(--nma-accent,#c12475)}
.nma-switch.on i{left:25px}
.nma-switch.disabled{opacity:.45;cursor:not-allowed}

/* organiser: approval list */
.nma-approve-row{display:flex;align-items:center;gap:12px;padding:12px 14px}
.nma-approve-who{flex:1;min-width:0}
.nma-approve-who b{font-size:14.5px;display:block}
.nma-approve-who span{font-size:12px;color:var(--muted)}
.nma-approve-btn{flex:0 0 auto;width:auto;padding:9px 16px;font-size:13px;cursor:pointer}

/* locked (already-submitted) card */
.nma-locked{background:#fff;border-radius:14px;box-shadow:var(--shadow);padding:26px 20px;text-align:center}
.nma-locked-ic{width:60px;height:60px;border-radius:50%;background:#fdf6e7;color:#9a781e;display:flex;align-items:center;justify-content:center;font-size:28px;margin:0 auto 10px}
.nma-locked-ic.ok{background:var(--pink-l);color:var(--pink-d)}
.nma-locked b{font-size:17px}
.nma-locked p{color:var(--muted);font-size:13px;line-height:1.55;margin:8px 8px 0}
.nma-locked-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px}
.nma-locked-who b{font-size:14px}
.nma-locked-sc{font-size:12.5px;color:var(--muted);text-align:right}

/* stubs */
.nma-stub{background:#fff;border-radius:14px;box-shadow:var(--shadow);padding:30px 20px;text-align:center}
.nma-stub-ic{font-size:34px}
.nma-stub b{display:block;font-size:17px;margin:8px 0 6px}
.nma-stub p{color:var(--muted);font-size:13px;line-height:1.5;margin:0 0 14px}
.nma-soon{display:inline-block;font-size:11px;font-weight:700;color:var(--pink-d);background:var(--pink-l);border-radius:20px;padding:5px 12px}
.nma-substubnav{margin-top:16px}

/* ── Fixtures tab (0.7.0) ─────────────────────────────────────────── */
.nma-fxlist{display:flex;flex-direction:column;gap:10px;}
.nma-fx{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e6e6e6;border-radius:12px;padding:12px 13px;}
.nma-fx-date{flex:0 0 auto;width:44px;text-align:center;line-height:1.05;}
.nma-fx-date b{display:block;font-size:20px;}
.nma-fx-date span{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#888;}
.nma-fx-date .nma-fx-year{display:block;font-style:normal;font-size:11px;color:#aaa;margin-top:1px;}
.nma-fx-main{flex:1;min-width:0;}
.nma-fx-title{font-weight:600;}
.nma-fx-meta{font-size:12.5px;color:#777;margin-top:1px;}
.nma-fx-state{font-size:11.5px;color:#999;margin-top:3px;}
.nma-fx-state.open{color:var(--nma-accent,#c12475);}
.nma-fx-mgr{font-size:11.5px;color:#777;margin-top:3px;}
.nma-fx-btn{flex:0 0 auto;background:var(--nma-accent,#c12475);color:#fff;border:0;border-radius:999px;padding:8px 16px;font-weight:700;font-size:14px;cursor:pointer;}
.nma-fx-closed{flex:0 0 auto;font-size:12px;color:#aaa;}
/* In-app overlay hosting the fixture's own (chromeless) booking page */
.nma-noscroll{overflow:hidden;}
.nma-fx-ov{position:fixed;inset:0;z-index:9999;background:#f4f5f7;display:flex;flex-direction:column;}
.nma-fx-ovbar{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#fff;border-bottom:1px solid #e6e6e6;flex:0 0 auto;}
.nma-fx-close{background:none;border:0;color:var(--nma-accent,#c12475);font-weight:600;font-size:15px;padding:4px 6px;cursor:pointer;}
.nma-fx-ovtitle{font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.nma-fx-frame{flex:1 1 auto;width:100%;border:0;}

/* News + all-leaderboards link (0.7.18) */
.nma-alllb-block{display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;background:var(--card);border-radius:12px;box-shadow:var(--shadow);padding:13px 15px;margin-top:14px;color:var(--ink);font-size:14px;font-weight:700;text-decoration:none}
.nma-alllb-block svg{width:18px;height:18px;stroke:var(--pink-d,#9c1c5e);fill:none;flex:0 0 auto}
.nma-alllb-block span:first-of-type{flex:1}
.nma-alllb-block .nma-chev{font-weight:400}
.nma-newslist .nma-news{display:flex;align-items:center;gap:12px;padding:14px 15px;text-decoration:none;color:var(--ink)}
.nma-news-main{flex:1;min-width:0}
.nma-news-main b{display:block;font-size:15px;font-weight:700;line-height:1.3}
.nma-news-main span{display:block;font-size:12px;color:var(--muted);margin-top:3px}
.nma-post{background:var(--card);border-radius:14px;box-shadow:var(--shadow);overflow:hidden;padding:0 0 4px}
.nma-post-title{font-size:20px;line-height:1.28;font-weight:800;color:var(--ink);margin:16px 16px 4px}
.nma-post-date{font-size:12px;color:var(--muted);margin:0 16px 12px}
.nma-post-hero{margin:0 0 14px}
.nma-post-hero .nma-post-img,.nma-post-hero img{display:block;width:100%;height:auto}
.nma-post-body{padding:0 16px 8px;font-size:15px;line-height:1.6;color:var(--ink)}
.nma-post-body img{max-width:100%;height:auto;border-radius:8px}
.nma-post-body p{margin:0 0 1em}
.nma-post-body h1,.nma-post-body h2,.nma-post-body h3{line-height:1.3;margin:1.1em 0 .4em}
.nma-post-body a{color:var(--pink-d,#9c1c5e)}
.nma-post-body ul,.nma-post-body ol{padding-left:1.4em;margin:0 0 1em}
.nma-newsmore{display:block;width:100%;box-sizing:border-box;text-align:center;margin-top:14px}
/* Full-website row in More (0.7.19; layout fixed 0.7.21) */
.nma-siterow{display:flex;align-items:center;gap:12px;background:var(--card);border-radius:12px;box-shadow:var(--shadow);padding:14px;margin-bottom:14px;text-decoration:none;color:var(--ink)}
.nma-siterow-t{flex:1;min-width:0;line-height:1.25}
.nma-siterow-t b{display:block;font-size:14px;font-weight:700}
.nma-siterow-t span{display:block;font-size:12px;color:var(--muted);margin-top:2px;line-height:1.35}
.nma-siterow .nma-btn{width:auto;flex:0 0 auto;padding:9px 18px;margin:0}
/* Documents list in the app (0.7.22) */
.nma-doclist .nma-doc{display:flex;align-items:center;gap:12px;padding:14px 15px;text-decoration:none;color:var(--ink)}
.nma-doc-ic{flex:0 0 auto;color:var(--pink-d,#9c1c5e);display:inline-flex}
.nma-doc-ic svg{width:20px;height:20px;stroke:currentColor;fill:none}
.nma-doc-main{flex:1;min-width:0}
.nma-doc-main b{display:block;font-size:15px;font-weight:700;line-height:1.3}
.nma-doc-main span{display:block;font-size:12px;color:var(--muted);margin-top:3px;line-height:1.35}
.nma-doc-tag{flex:0 0 auto;font-size:11px;font-weight:700;color:var(--pink-d,#9c1c5e);background:var(--pink-l,#fbe6f1);border-radius:20px;padding:3px 9px}

