/* V3 test — accueil rapide en cartes, inspiré de la navigation Plus. */
.v4-dashboard{display:flex;flex-direction:column;gap:12px;min-width:0}
.v4-dash-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.v4-dash-heading .v4-kicker{letter-spacing:2px;font-size:.63rem}
.v4-dash-heading h2{margin:3px 0 0;font:400 clamp(1.8rem,4.8vw,2.5rem)/1 Georgia,"Times New Roman",serif;color:#fff0f4;letter-spacing:-.5px}
.v4-dash-heading h2 span{color:#ff9dbc}
.v4-dash-invite{background:#51304b;border:1px solid #b27893;color:#ffe0eb;border-radius:13px;padding:10px 12px;font-weight:800;white-space:nowrap;cursor:pointer}
.v4-dash-score{display:flex;flex-direction:column;gap:8px;width:100%;border:1px solid #775069;border-radius:16px;background:linear-gradient(110deg,#3a2344,#241e3e);color:#fff0f7;padding:10px 13px;text-align:left;cursor:pointer}
.v4-dash-score-caption{display:flex;justify-content:space-between;align-items:center;font-size:.64rem;color:#f9aacc;font-weight:900;letter-spacing:1.1px}
.v4-dash-score-caption small{font-size:.69rem;color:#ddc0d7;letter-spacing:0}
.v4-dash-score-players{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none}
.v4-dash-score-players::-webkit-scrollbar{display:none}
.v4-dash-person{display:flex;gap:6px;align-items:center;min-width:max-content;flex:1;color:#ffbad1}
.v4-dash-person-1{color:#9ed3ff}
.v4-dash-person-2{color:#cfb8ff}
.v4-dash-avatar{border:1px solid currentColor;border-radius:9px;display:grid;place-items:center;width:24px;height:24px;font-size:.7rem;font-weight:800}
.v4-dash-name{font-size:.78rem;color:#f2dfe8;font-weight:700;max-width:100px;overflow:hidden;text-overflow:ellipsis}
.v4-dash-person strong{font-size:1.32rem;letter-spacing:-.5px}
.v4-dash-alert{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:1px solid #bd7898;background:#503049;border-radius:14px;color:#fff0f4;padding:10px 13px;cursor:pointer}
.v4-dash-alert-symbol{font-size:1.35rem}
.v4-dash-alert>span:nth-child(2){display:grid;gap:2px;min-width:0}
.v4-dash-alert strong{font-size:.88rem}
.v4-dash-alert small{color:#f3c7db;font-size:.75rem;line-height:1.2}
.v4-dash-alert-arrow{margin-left:auto;color:#ffd0e2;font-size:1.45rem}
.v4-dash-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-height:0}
.v4-dash-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;min-width:0;min-height:160px;padding:19px;border:1px solid #8b5976;border-radius:20px;background:linear-gradient(145deg,#38273d,#2b2036);color:#fff0f4;text-align:left;cursor:pointer;transition:background .16s,transform .16s}
.v4-dash-tile:hover{background:linear-gradient(145deg,#513045,#32223a);transform:translateY(-2px)}
.v4-dash-tile:focus-visible,.v4-dash-invite:focus-visible,.v4-dash-score:focus-visible,.v4-dash-alert:focus-visible{outline:2px solid #ffafca;outline-offset:2px}
.v4-dash-icon{font-size:1.8rem;line-height:1;color:#ffe1ef}
.v4-dash-tile strong{font:400 1.32rem/1.1 Georgia,"Times New Roman",serif;letter-spacing:-.2px}
.v4-dash-tile small{font-size:.8rem;line-height:1.3;color:#cfb9cd}
.v4-dash-arrow{position:absolute;right:14px;top:13px;color:#f7a5c5;font-size:1.35rem}
.v4-journal-page>*{margin-bottom:13px}
@media(max-width:699px){
 body:has(.v4-dashboard):not(:has(#invite-form)) .shell{height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column;padding:0 12px calc(72px + env(safe-area-inset-bottom));box-sizing:border-box}
 body:has(.v4-dashboard):not(:has(#invite-form)) #app{display:flex;flex-direction:column;flex:1;min-height:0}
 body:has(.v4-dashboard):not(:has(#invite-form)) .v4-content{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;animation:none}
 body:has(.v4-dashboard):not(:has(#invite-form)) .v4-dashboard{flex:1;min-height:0}
 body:has(.v4-dashboard):not(:has(#invite-form)) .v4-dash-grid{flex:1;min-height:0;grid-template-rows:repeat(3,minmax(0,1fr))}
 body:has(.v4-dashboard):not(:has(#invite-form)) .footer{display:none}
 body:has(.v4-dashboard) .v4-game-head{padding:4px 1px 5px;flex:none}
 body:has(.v4-dashboard) .v4-hero-main{display:none}
 body:has(.v4-dashboard) .v4-hero-top .v4-kicker{font-size:.55rem}
 body:has(.v4-dashboard) .v4-picker{margin-top:4px}
 body:has(.v4-dashboard) .v4-tabs{z-index:55}
 body:has(.v4-dashboard) .v4-tabs button{min-height:52px}
 body:has(.v4-dashboard) .v4-dashboard{gap:8px}
 body:has(.v4-dashboard) .v4-dash-heading h2{font-size:clamp(1.35rem,5.7vw,1.9rem)}
 body:has(.v4-dashboard) .v4-dash-heading .v4-kicker{font-size:.52rem;letter-spacing:1.4px}
 body:has(.v4-dashboard) .v4-dash-invite{padding:7px 9px;font-size:.74rem}
 body:has(.v4-dashboard) .v4-dash-score{gap:3px;padding:7px 10px;border-radius:13px}
 body:has(.v4-dashboard) .v4-dash-score-caption{font-size:.54rem}
 body:has(.v4-dashboard) .v4-dash-avatar{width:21px;height:21px;font-size:.62rem}
 body:has(.v4-dashboard) .v4-dash-name{font-size:.72rem}
 body:has(.v4-dashboard) .v4-dash-person strong{font-size:1.18rem}
 body:has(.v4-dashboard) .v4-dash-alert{padding:7px 10px;border-radius:12px}
 body:has(.v4-dashboard) .v4-dash-alert-symbol{font-size:1.15rem}
 body:has(.v4-dashboard) .v4-dash-alert strong{font-size:.81rem}
 body:has(.v4-dashboard) .v4-dash-alert small{font-size:.69rem}
 body:has(.v4-dashboard) .v4-dash-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body:has(.v4-dashboard) .v4-dash-tile{min-height:0;padding:10px 13px;border-radius:17px;gap:6px}
 body:has(.v4-dashboard) .v4-dash-icon{font-size:1.55rem}
 body:has(.v4-dashboard) .v4-dash-tile strong{font-size:clamp(1.02rem,4.7vw,1.24rem)}
 body:has(.v4-dashboard) .v4-dash-tile small{font-size:.7rem;line-height:1.15}
 body:has(.v4-dashboard) .v4-dash-arrow{top:7px;right:9px;font-size:1.1rem}
 body:has(.v4-dashboard):has(#invite-form) .v4-dash-grid{grid-template-rows:repeat(3,minmax(108px,1fr))}
}
@media(max-width:699px) and (max-height:690px){
 body:has(.v4-dashboard) .v4-dashboard{gap:5px}
 body:has(.v4-dashboard) .v4-dash-heading .v4-kicker{display:none}
 body:has(.v4-dashboard) .v4-dash-heading h2{font-size:1.35rem}
 body:has(.v4-dashboard) .v4-dash-score{padding:5px 8px;gap:1px}
 body:has(.v4-dashboard) .v4-dash-alert{padding:5px 8px}
 body:has(.v4-dashboard) .v4-dash-grid{gap:6px}
 body:has(.v4-dashboard) .v4-dash-tile{padding:7px 11px;gap:3px}
 body:has(.v4-dashboard) .v4-dash-icon{font-size:1.28rem}
 body:has(.v4-dashboard) .v4-dash-tile strong{font-size:1rem}
 body:has(.v4-dashboard) .v4-dash-tile small{font-size:.64rem}
}
@media(prefers-reduced-motion:reduce){.v4-dash-tile{transition:none}}
