/* NFN 0.15.3 — one final, scoped presentation layer.
   Original logo bytes are NEVER transformed, stripped or recompressed. */
.n91-directory .n84-team-directory-row.club149-branded,
.n84-team-directory .n84-team-directory-row.club149-branded {
 display:grid;grid-template-columns:58px minmax(0,1fr) 15px;
 gap:9px;align-items:center;padding:8px 9px;min-height:79px;
 border:1px solid color-mix(in srgb,var(--club-primary) 24%,#40536b);background:linear-gradient(110deg,color-mix(in srgb,var(--club-primary) 28%,#17293e),color-mix(in srgb,var(--club-secondary) 17%,#17293e));
 border-radius:16px;box-shadow:none;
}
.n84-team-directory-row.club149-branded > img.club153-free-crest {
 width:54px!important;height:54px!important;min-width:0!important;
 max-width:54px!important;max-height:54px!important;
 object-fit:contain!important;object-position:center;
 display:block;justify-self:center;align-self:center;
 margin:0!important;padding:0!important;
 background:transparent!important;background-image:none!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 filter:none!important;mix-blend-mode:normal!important;
}
.n84-team-directory-row.club149-branded > .club149-logo-plate {
 width:54px!important;height:54px!important;min-height:0!important;
 background:transparent!important;background-image:none!important;
 border:0!important;border-radius:0!important;
 box-shadow:none!important;overflow:visible!important;
 display:grid;place-items:center;
}
.n84-team-directory-row.club149-branded > .club149-logo-plate:before,
.n84-team-directory-row.club149-branded > .club149-logo-plate:after {content:none!important;display:none!important}
.n84-team-directory-row.club149-branded .club153-missing-crest .club149-monogram{
 display:grid;place-items:center;width:44px;height:44px;
 border:1px solid #ffffff45;border-radius:50%;background:#ffffff12;
 color:var(--club-name-ink,#fff);font-weight:800;text-shadow:none;
}
.n84-team-directory-row.club149-branded .club149-name-ribbon {
 min-width:0!important;max-width:100%;align-self:stretch;
 display:flex!important;flex-direction:column;justify-content:center;
 padding:10px 11px!important;border-radius:12px!important;
 /* The name's team-color gradient is intentional. No transparent override. */
 background:linear-gradient(110deg,var(--club-overlay,transparent),var(--club-overlay,transparent)),linear-gradient(110deg,var(--club-primary),var(--club-secondary))!important;
 color:var(--club-name-ink)!important;
}
.n84-team-directory-row.club149-branded .club149-name-ribbon strong,
.n84-team-directory-row.club149-branded .club149-name-ribbon small {color:inherit!important;max-width:100%;overflow-wrap:anywhere;}
.n84-team-directory-row.club149-branded .club149-name-ribbon strong{font-size:14px!important;line-height:1.23}
.n84-team-directory-row.club149-branded .club149-name-ribbon small{font-size:11px!important;opacity:.87}
/* Keep images and their source backgrounds entirely unmodified. */
.n84-team-directory-row .n77-team-logo,
.grid148-board .grid148-logo,
.tc150-profile .tc150-crest img,
#nfn-permanent-nav .n90-falcons-round img {background:transparent!important;border:0!important;box-shadow:none!important;filter:none!important;object-fit:contain!important;}

/* Mixed axes: teams and facts are equally possible along both edges. */
.grid148{width:100%;min-width:0;max-width:760px;overflow:visible}
.grid148-board {
 width:100%;min-width:0;max-width:100%;
 grid-template-columns:minmax(70px,.94fr) repeat(3,minmax(0,1fr));
 grid-template-rows:minmax(105px,auto) repeat(3,minmax(107px,auto));
 gap:5px;align-items:stretch;
}
.grid148-board > * {min-width:0;max-width:100%;overflow:hidden;}
.grid148-board .grid148-colhead,.grid148-board .grid148-rowhead{
 display:flex;flex-direction:column;justify-content:center;align-items:center;
 background:#203146;border:1px solid #415a71;border-radius:10px;
 padding:6px 4px;gap:4px;overflow:hidden;
 text-align:center;font-size:clamp(10px,2.1vw,12px);
 line-height:1.25;hyphens:auto;overflow-wrap:anywhere;
}
.grid148-board .grid148-rowhead.grid153-team-axis,
.grid148-board .grid148-colhead.grid153-team-axis {
 background:linear-gradient(145deg,var(--club-overlay,transparent),var(--club-overlay,transparent)),linear-gradient(145deg,var(--club-primary),var(--club-secondary))!important;
 color:var(--club-name-ink,#f6f8fb)!important;
 border-color:color-mix(in srgb,var(--club-secondary) 35%,#62778a);
}
.grid148-board .grid148-rowhead.grid153-fact-axis,
.grid148-board .grid148-colhead.grid153-fact-axis {color:#ebf2fa;background:#23344b;}
.grid148-board .grid148-axis-team{width:100%;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center}
.grid148-board .grid148-axis-team .grid148-logo {
 width:34px!important;height:34px!important;min-width:0!important;max-width:100%!important;
 flex:0 0 auto;object-fit:contain!important;display:block;
 background:transparent!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;filter:none!important;
}
.grid148-board .grid148-axis-team .grid148-label{
 display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;
 line-clamp:3;max-width:100%;min-width:0;overflow:hidden;
 white-space:normal;text-overflow:ellipsis;overflow-wrap:anywhere;
 color:inherit!important;font-weight:800;line-height:1.2;font-size:clamp(9px,2.2vw,12px);
}
.grid148-board .grid148-axis-criterion{
 display:block;max-width:100%;color:inherit!important;
 overflow-wrap:anywhere;word-break:normal;line-height:1.25;
 font-size:clamp(10px,2.2vw,12px);font-weight:800;
}
.grid148-board .grid148-cell{width:100%;min-width:0;max-width:100%;font-size:21px;overflow:hidden;}
.grid148-board .grid148-cell span{display:block;max-width:100%;overflow-wrap:anywhere;word-break:normal;line-height:1.2;}
.grid148-board .grid148-cell.won,.grid148-board .grid148-cell.lost{font-size:clamp(9px,2.4vw,12px)}
.grid148-board .grid148-corner{display:flex;align-items:center;justify-content:center;font-size:9px;padding:3px;letter-spacing:0}
/* Picker lives in the visible viewport, rather than under iOS's software keyboard. */
.grid148-picker {
 position:fixed!important;left:0!important;right:0!important;top:8px;
 bottom:auto!important;max-height:none!important;
 display:flex!important;flex-direction:column!important;overflow:hidden!important;
 padding:14px max(14px,env(safe-area-inset-left)) 12px max(14px,env(safe-area-inset-right))!important;
 z-index:1200!important;border-radius:18px!important;background:#15273d!important;
 box-shadow:0 10px 50px #000c!important;
}
.grid148-picker-back{z-index:1199!important}
.grid148-picker-head{flex:0 0 auto;align-items:center;min-height:49px;padding:0 0 8px!important}
.grid148-picker-head>div{flex:1;min-width:0}
.grid148-picker-head small{display:block;font-size:11px;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
.grid148-picker-search{flex:0 0 auto;position:relative!important;z-index:2;padding:0 0 8px;background:#15273d}
.grid148-picker-search input{font-size:16px!important;min-height:50px!important;width:100%!important}
.grid148-suggestions{flex:1 1 auto!important;overflow-y:auto!important;min-height:0!important;max-height:none!important;margin:2px 0 6px!important;-webkit-overflow-scrolling:touch}
.grid148-picker>p{flex:0 0 auto;margin:4px 0 0;line-height:1.35}
.grid148-suggestions button{min-height:52px!important;padding:10px 7px!important;gap:8px}
.grid148-suggestions button>span:first-child{display:flex;flex-direction:column;min-width:0;align-items:flex-start;max-width:90%;text-align:left;gap:3px}
.grid148-suggestions button strong{font-size:13px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.grid148-suggestions .grid148-meta{font-size:10px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
body.grid153-searching #nfn-permanent-nav,body.grid153-searching .bottom-nav{visibility:hidden!important;pointer-events:none!important}
@media(max-width:420px){
 .grid148-board{grid-template-columns:minmax(67px,.9fr) repeat(3,minmax(0,1fr));grid-template-rows:minmax(92px,auto) repeat(3,minmax(102px,auto));gap:4px}
 .grid148-board .grid148-colhead,.grid148-board .grid148-rowhead{padding:5px 2px;gap:3px}
 .grid148-board .grid148-axis-team .grid148-logo{width:28px!important;height:28px!important}
 .grid148-board .grid148-axis-team .grid148-label{font-size:10px}
 .grid148-board .grid148-axis-criterion{font-size:10px}
 .grid148-board .grid148-cell{padding:3px}
 .n91-directory .n84-team-directory-row.club149-branded,.n84-team-directory .n84-team-directory-row.club149-branded{grid-template-columns:50px minmax(0,1fr) 14px;padding:7px;gap:7px}
 .n84-team-directory-row.club149-branded>img.club153-free-crest{width:48px!important;height:48px!important}
 .n84-team-directory-row.club149-branded>.club149-logo-plate{width:48px!important;height:48px!important}
}
@media (prefers-reduced-motion:reduce){.grid148-picker,.grid148-picker-back{transition:none!important}}
