/* Club portal additions. Existing planner selectors and layout are retained. */
.portal-wrap{display:grid;grid-template-columns:205px minmax(0,1fr);gap:28px;padding-top:28px;padding-bottom:48px}
.portal-sidebar{min-width:0;border-right:1px solid var(--line);padding-right:20px}
.portal-label{font-size:11px;letter-spacing:.1em;font-weight:850;color:var(--muted);padding:12px 8px 20px}
.portal-menu{display:flex;flex-direction:column;gap:6px}
.portal-menu-item{border:0;padding:12px 14px;border-radius:10px;background:transparent;text-align:left;color:#444;font:inherit;font-weight:750;min-height:44px;overflow-wrap:anywhere}
.portal-menu-item:hover{background:#eaeaea}.portal-menu-item.selected{background:var(--yellow);color:var(--on-primary,#111)}.portal-menu-item.portal-planner{background:var(--black,#111);color:#fff;margin-top:14px}
.portal-sidebar-note{color:var(--muted);font-size:12px;margin:28px 10px}
.portal-main{min-width:0}.portal-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.portal-heading h1{font-size:30px;line-height:1.15;letter-spacing:-.04em;margin:0 0 8px}.portal-heading p{margin:0}.portal-heading>.pill{flex-shrink:0}
.portal-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:18px}.portal-team-label{display:grid;gap:7px;min-width:0;font-weight:750;font-size:13px}.portal-team-label .select{min-width:0;max-width:100%}
.portal-columns{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(230px,1fr);gap:20px}.portal-columns>*{min-width:0}
.portal-post{margin-bottom:18px}.portal-post h2,.portal-aside h2{font-size:20px;line-height:1.25;margin:14px 0}.portal-pinned{border-top:3px solid var(--yellow)}
.portal-post-top{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.portal-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:850;color:var(--muted)}
.portal-author{display:flex;align-items:center;gap:10px;font-size:13px;margin:14px 0}.portal-avatar{width:34px;height:34px;border-radius:50%;background:#f0f0ec;display:grid;place-items:center;font-size:12px;font-weight:850;flex-shrink:0}.portal-author .muted{font-size:12px}
.portal-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.portal-post-actions{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line);padding-top:14px;margin-top:20px}.portal-post-actions .btn{white-space:normal}
.portal-thread{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.portal-reply{padding:14px;background:#f6f6f2;border-radius:10px;margin-bottom:12px;overflow-wrap:anywhere}.portal-reply .split-title{margin-bottom:6px}.portal-reply small{display:block;margin-top:8px}
.portal-thread textarea{display:block;margin:8px 0 10px;resize:vertical;min-height:90px}#modalRoot textarea{resize:vertical;font:inherit;min-width:0;max-width:100%}
.portal-aside .card{margin-bottom:18px}.portal-wide{width:100%;margin-top:12px}.portal-preferences{margin-bottom:18px}.portal-preferences summary{font-weight:800;cursor:pointer}.portal-preferences label{display:flex;align-items:center;gap:10px;margin:12px 0}.portal-preferences input{width:20px;height:20px;accent-color:#111}
.portal-board-user{flex-wrap:wrap}.portal-board-user .list-main{overflow-wrap:anywhere}
@media(max-width:1100px){.portal-wrap{grid-template-columns:175px minmax(0,1fr);gap:20px}.portal-columns{grid-template-columns:1fr}.portal-heading{align-items:start}.portal-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:700px){.portal-wrap{display:block;padding-top:14px}.portal-sidebar{border-right:0;padding:0;margin-bottom:22px}.portal-label,.portal-sidebar-note{display:none}.portal-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.portal-menu-item{padding:11px 12px;font-size:13px;background:#fff;border:1px solid var(--line)}.portal-menu-item.portal-planner{margin:0}.portal-heading{flex-wrap:wrap;gap:10px}.portal-heading h1{font-size:26px}.portal-aside{display:block}.portal-toolbar>*{max-width:100%}.portal-team-label{width:100%}.portal-post .portal-post-actions .btn{min-height:44px;flex:1 1 auto}.portal-main .btn{max-width:100%;white-space:normal}.portal-reply .split-title{flex-wrap:wrap}.portal-post h2{font-size:19px}.portal-heading .pill{white-space:normal}}

/* 6.0.1: one mobile navigation, collapsed by default. */
.portal-mobile-menu{display:none}
@media(max-width:700px){
 .topbar.portal-signed-in #navActions{display:none!important}
 .portal-sidebar{display:none}
 .topbar.portal-signed-in .topbar-inner{position:relative;flex-wrap:nowrap;gap:10px;padding-top:10px;padding-bottom:10px;min-height:64px}
 .topbar.portal-signed-in .brand{flex:1;min-width:0;font-size:14px;gap:9px}
 .topbar.portal-signed-in .brand>div:last-child{min-width:0;overflow-wrap:anywhere}
 .topbar.portal-signed-in .brand-mark{width:36px;height:36px;flex:0 0 36px}
 .topbar.portal-signed-in .brand-mark img{width:36px!important;height:36px!important;flex-basis:36px!important;object-fit:contain}
 .portal-mobile-menu{display:block;flex:0 0 auto;color:#111}
 .portal-mobile-menu>summary{display:flex;align-items:center;gap:6px;list-style:none;cursor:pointer;min-height:44px;padding:9px 11px;background:var(--yellow);border-radius:9px;font-size:13px;font-weight:800}
 .portal-mobile-menu>summary::-webkit-details-marker{display:none}
 .portal-mobile-menu:not([open])>.portal-mobile-panel{display:none}
 .portal-mobile-panel{position:absolute;top:calc(100% + 6px);left:14px;right:14px;max-height:calc(var(--dialog-height,100dvh) - 100px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #ddd;border-radius:14px;padding:10px;box-shadow:0 12px 30px rgba(0,0,0,.22)}
 .portal-mobile-panel nav,.portal-mobile-account{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .portal-mobile-panel button{display:block;width:100%;min-width:0;min-height:44px;padding:10px;text-align:left;white-space:normal;overflow-wrap:anywhere;font:inherit;font-size:13px;font-weight:750;border:0;border-radius:8px;background:#f4f4f1;color:#222}
 .portal-mobile-panel button[aria-current="page"]{background:var(--yellow);color:var(--on-primary,#111)}
 .portal-mobile-account{border-top:1px solid #ddd;margin-top:10px;padding-top:10px}
 .portal-mobile-account>span{grid-column:1/-1;font-size:12px;color:#666;padding:4px 10px;overflow-wrap:anywhere}
 .portal-mobile-panel button:focus-visible,.portal-mobile-menu>summary:focus-visible{outline:3px solid #b58b00;outline-offset:2px}
}

/* Small, compressed profile portraits (never initials or full-size photo elements). */
.portal-avatar{width:34px;height:34px;overflow:hidden;border-radius:50%;flex:0 0 34px;display:grid;place-items:center;background:#e8e8e5;color:#777}
.portal-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.portal-avatar-small{width:30px;height:30px;flex-basis:30px}
.portal-avatar-small svg{width:17px;height:17px}
.portal-avatar-large{width:96px;height:96px;flex-basis:96px}
.portal-avatar-large svg{width:48px;height:48px}
.portal-reply-header{display:flex;align-items:flex-start;gap:10px}
.portal-reply-content{min-width:0;flex:1}
.portal-reply-content .split-title{margin:0 0 6px}
.portal-replies-option{display:flex;align-items:center;gap:9px;margin:12px 0;font-weight:650}
.portal-replies-option input{width:19px;height:19px;flex-shrink:0;accent-color:#111}
.portal-replies-closed{font-size:13px;margin:14px 0 0}
.portal-photo-preview{display:flex;align-items:center;justify-content:center;padding:14px 0}

/* 6.0.13: afzonderlijk wedstrijd-dashboard op de startpagina. */
.portal-home-matches{display:grid;gap:20px}
.portal-home-match{min-width:0;overflow-wrap:anywhere}
.portal-home-match-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.portal-home-match-top>div{min-width:0;flex:1 1 250px}
.portal-home-match-top h2{margin:0 0 10px;font-size:21px}
.portal-home-match-top .muted{line-height:1.55}
.portal-home-fixture{font-size:clamp(18px,2.5vw,25px)!important;line-height:1.3;margin:17px 0 18px!important}
.portal-home-counts{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px}
.portal-home-detail-grid{gap:14px}
.portal-home-detail-grid>div{min-width:0;overflow-wrap:anywhere}
.portal-home-detail-grid .muted{margin-top:4px;line-height:1.5}
.portal-home-actions{margin-top:18px;gap:9px}
@media(max-width:700px){.portal-home-match-top>.btn{width:auto}.portal-home-detail-grid{grid-template-columns:1fr}.portal-home-actions .btn{flex:1 1 auto;min-height:44px}}

/* 6.0.14: Inbox toont alleen verwijzingen; de volledige inhoud staat bij de bron. */
.portal-inbox-toolbar{align-items:center}
.portal-notification{display:flex;align-items:stretch;gap:10px;padding:0;overflow:hidden}
.portal-notification-open{display:flex;flex-direction:column;align-items:flex-start;gap:8px;flex:1;min-width:0;padding:19px 20px;border:0;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}
.portal-notification-open:hover{background:#faf9f0}
.portal-notification-open:focus-visible{outline:3px solid #b58b00;outline-offset:-3px;border-radius:9px}
.portal-notification-open:disabled{opacity:.65;cursor:progress}
.portal-notification-title{font-size:17px;line-height:1.3;overflow-wrap:anywhere}
.portal-notification-meta{color:var(--muted);font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.portal-notification-action{font-size:13px;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.portal-notification-actions{display:flex;align-items:center;padding:12px 18px 12px 0}
.portal-focus-nav{margin-bottom:12px}
@media(max-width:700px){
 .portal-notification{display:block}
 .portal-notification-open{width:100%;padding:16px 17px}
 .portal-notification-actions{padding:0 17px 15px}
 .portal-notification-actions .btn{min-height:44px}
 .portal-inbox-toolbar .btn{flex:1 1 145px}
}
