/* Faces are secondary controls; their primary action remains a separate button. */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important}
.compound-action{position:relative;isolation:isolate}
.compound-action>.compound-main{position:absolute;inset:0;width:100%;height:100%;min-height:0;padding:0;margin:0;border:0;border-radius:inherit;box-shadow:none;background:transparent!important;transform:none!important;z-index:1;color:inherit}
.compound-action>.compound-main:hover{box-shadow:inset 0 0 0 2px #708b6270}
.compound-action>*:not(.compound-main){pointer-events:none}
.compound-action:focus-within{outline:2px solid #789056;outline-offset:2px}
.player-face-button{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:5px;margin:0;border:0;border-radius:8px;background:transparent;color:inherit;vertical-align:middle;line-height:1;pointer-events:auto;z-index:2}
.player-face-button>.avatar{display:block;flex:none;width:30px;height:30px;min-width:30px;aspect-ratio:1;margin:0;border-radius:6px;border:1px solid #bcb4a0}
.player-face-button:focus-visible{outline:3px solid #8da855;outline-offset:1px}
.player-face-button:hover{background:#83976324;transform:none}
.player-mention{white-space:normal;gap:2px;max-width:100%}
.player-mention>.player-face-button{flex:0 0 36px;width:36px;height:36px;min-height:36px;padding:3px}
.player-mention>.player-face-button:after{content:'';position:absolute;inset:-4px}
.player-mention .mention-avatar{width:26px;height:26px;min-width:26px}
.home-notice .player-face-button{height:26px;min-height:26px;width:30px;flex-basis:30px;padding:2px}
.home-notice .player-face-button>.avatar{width:22px;height:22px;min-width:22px}
.home-notice .player-face-button:after{inset:-9px -7px}
.table-player>.player-face-button{flex-basis:36px;width:36px;padding:3px}
.table-player .player-face-button>.avatar{width:28px;height:28px;min-width:28px}
.comparison-row>.player-face-button,.arrival-row>.player-face-button{margin-left:-5px}
.room-staff[data-id="notifications"] .room-person{filter:drop-shadow(1px 3px 2px #0003)}
.inbox-report{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding:9px 0;font-size:.88rem}
.inbox-report>div{flex:1;min-width:0}.inbox-report strong{display:block;overflow-wrap:anywhere}
.inbox-report small{display:block;font-size:.72rem;color:#786e5c;margin-top:4px}.inbox-report>.text-button{flex:none;min-height:44px;font-size:.78rem}
.inbox-health{margin-top:16px;border-top:1px solid var(--line);padding-top:10px;font-size:.85rem}.inbox-health summary{padding:10px 0;cursor:pointer}
.notice-subject{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.notice-subject>small{margin-left:auto;color:#746a5b}
.notice-current,.metric-current{background:#f1efdf;border-radius:8px;padding:10px 12px;line-height:1.7}
.companion-guide{margin:0 0 16px;border:1px solid #d1d8ba;background:#f9f8e9;border-radius:12px;padding:14px 16px}
.guide-speaker{display:flex;gap:10px;align-items:center;margin-bottom:10px}.guide-speaker>.staff-face{width:42px;height:42px;flex:0 0 42px}
.guide-speaker p{margin:0;font-size:.86rem;line-height:1.6}.guide-speaker span{display:block;font-size:.76rem;color:#706a58}
.companion-guide .button{font-size:.82rem;min-height:44px}.companion-guide .speaker-card{padding:0;background:none;border:0;margin:0 0 12px}
.companion-guide>p{font-size:.85rem;line-height:1.75;margin:8px 0 12px}.guide-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.guide-choices .button{white-space:normal}
.player-info .companion-intro{font-size:.74rem;color:#436950;background:#eff3e0;border-radius:5px;padding:4px 6px;margin:5px 0}
.meet-team-modal .dialog-content>h2{font-size:1.25rem}.meet-team-modal .speaker-card{margin-bottom:0}.meet-team-modal .dialog-footer{padding:12px 18px}
.metric-chip{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;border:1px solid var(--line);color:#354e3f}.metric-chip .icon{height:18px;width:18px}
.metric-reading-hint{font-size:.73rem;line-height:1.6;color:#756a58;margin:12px 0 6px}
.feeling-details{display:grid;gap:7px;margin:8px 0}.feeling-details details{background:#fffdf6;border:1px solid #ded7c8;border-radius:8px;color:#38483a}
.feeling-details summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;cursor:pointer;font-size:.85rem;box-sizing:border-box}.feeling-details summary>b{margin-left:auto;font-size:1rem}.feeling-details summary>.icon{height:17px;width:17px;color:#8a816f}
.feeling-details details>p{font-size:.8rem;line-height:1.85;margin:6px 12px 12px}.feeling-details details>p.small{font-size:.75rem}
.peek-dialog[open]{display:flex;flex-direction:column;max-width:540px;max-height:calc(var(--app-height,100dvh) - 32px);overflow:hidden}
.peek-dialog>.dialog-header{flex:none;padding:12px 18px 0}.peek-dialog>.dialog-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px 20px 18px}
.peek-dialog .dialog-content>h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0}
.peek-dialog>.dialog-footer{flex:none;padding:10px 16px;position:static}.peek-dialog:not(.welcome)::backdrop{background:#172a32ac}
.peek-player-heading{display:flex;align-items:center;gap:16px;margin:8px 0 14px}.peek-player-heading>.avatar{width:86px;height:86px;flex:none}
.peek-player-heading>div{min-width:0}.peek-player-heading h3{font-size:1.15rem;overflow-wrap:anywhere;margin:4px 0}.peek-player-heading p{font-size:.86rem;margin:5px 0}.peek-player-heading small{font-size:.75rem;color:#81745d}
.peek-statistics{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--line);border-radius:8px;padding:4px 10px}.peek-statistics>div{padding:8px 4px;min-width:0}.peek-statistics span{display:block;font-size:.72rem;color:#837866}.peek-statistics b{display:block;font-size:.9rem;margin-top:5px}
.concern-modal .concern-player{margin:0 0 4px}.concern-modal .speaker-card{margin:6px 0}.concern-modal .speaker-card p{font-size:.86rem;line-height:1.8}.concern-modal details{font-size:.78rem;margin:10px 0}.concern-modal summary{min-height:32px;cursor:pointer}
.match-finished-highlights{display:flex;flex-direction:column;flex:1;min-height:0;gap:8px;width:100%}
.own-goals{display:flex;flex-direction:column;min-height:0;flex:1;border:1px solid #436372;border-radius:12px;background:#1c3846;padding:10px 12px}
.own-goals h3{font-size:.85rem;color:#ebd597;margin:0 0 6px;flex:none}.own-goal-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.own-goal-row{display:flex;gap:6px;align-items:flex-start;border-bottom:1px solid #52718166;padding:5px 0}.own-goal-row:last-child{border:0}.own-goal-row>div{min-width:0;flex:1}
.own-goal-row strong{display:block;color:#f0f7fa;font-size:.88rem;line-height:1.6;overflow-wrap:anywhere}.own-goal-row strong small{font-size:.73rem;color:#e8d59a;margin-left:6px}
.own-goal-row p{margin:0;font-size:.75rem;line-height:1.6;color:#cedfe5}.own-goal-row p>b{margin-right:8px;color:#e8d59a}.own-goal-row .player-mention{font-weight:400}
.match-finished-highlights .player-face-button:hover{background:#e8d59a22}.match-finished-highlights .player-face-button:focus-visible{outline-color:#ebd597}
.finished-player{display:flex;align-items:center;gap:10px;flex:none;background:#1c3846;border-radius:10px;padding:8px 10px;color:#edf5fa;min-height:64px}
.finished-player small{display:block;color:#e8d59a;font-size:.7rem}.finished-player strong{display:block;font-size:.86rem;margin-top:3px}.finished-player p{margin:3px 0 0;color:#c2d6df;font-size:.72rem;line-height:1.5}
.no-own-goal{color:#dce8ee;font-size:.85rem;line-height:1.6;padding:4px 0}
@media(max-width:640px){.companion-guide{padding:12px}.guide-choices{grid-template-columns:1fr}.guide-choices .button{padding:9px 12px}.peek-dialog[open]{width:calc(100% - 24px);max-height:calc(var(--app-height,100dvh) - 24px)}.peek-player-heading>.avatar{width:70px;height:70px}.peek-dialog>.dialog-content{padding:6px 14px 12px}.meet-team-modal .speaker-card{padding:10px;gap:10px}.meet-team-modal .speaker-card p{font-size:.85rem}.own-goals{padding:8px}.own-goals h3{font-size:.76rem}.own-goal-row strong{font-size:.81rem}.own-goal-row p{font-size:.7rem}.finished-player{padding:6px 8px;min-height:54px}.finished-player p{font-size:.68rem}}
@media(max-height:580px){.finished-player{display:none}.own-goals{padding:6px 8px}.own-goals h3{font-size:.72rem}.match-finished-highlights{gap:4px}.peek-dialog>.dialog-header{padding-top:4px}.peek-player-heading>.avatar{width:54px;height:54px}.peek-player-heading{margin:0 0 8px}.peek-dialog>.dialog-footer{padding:6px 12px}}

.match-highlight-row{display:flex;align-items:center;gap:8px;margin:6px 0;font-size:.84rem}.match-highlight-row>.compound-action{flex:1;min-width:0}
