/* 4 Princes — the compact game hub on the end screens (4p-end-hub-v1, 4p-endhub.js): the look of the hub cards (4p-hub.css)
   on every game's own end card. Own colours so it looks the same on every game page. */
.eh{display:flex;flex-direction:column;gap:8px;width:100%;margin:12px 0 4px;text-align:left}
.eh:empty{display:none}
.eh-pct{margin:0 0 2px;font-size:14px;font-weight:700;line-height:1.35;color:#F3D58E;text-align:center}
.eh-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#2B3446;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:10px 12px;color:#F2F4F8}
.eh-row[data-mode=daily]{border-color:rgba(226,176,74,.35)}
.eh-ic{width:24px;height:24px;flex:none;color:#F3D58E;display:inline-flex}
.eh-ic svg{width:24px;height:24px}
.eh-t{flex:1 1 120px;min-width:0;display:flex;flex-direction:column;line-height:1.25}
.eh-t b{font-size:15px;font-weight:800}
.eh-t small{font-size:13px;color:#A9B2C5;font-weight:500}
.eh-t small b{font-size:13px;color:#F2F4F8;font-weight:700}
.eh-b{display:flex;gap:6px;flex:1 1 100%;flex-wrap:wrap}
.eh-b form{display:contents}
.eh .btn{flex:1 1 120px;margin:0 !important;min-height:42px;padding:9px 12px !important;font-size:14px !important;border-radius:999px;display:inline-flex !important;align-items:center;justify-content:center;text-align:center;
  background:#E2B04A;color:#1b2130;border:0;font-weight:800;text-decoration:none;cursor:pointer;font-family:inherit;width:auto !important;box-shadow:none}
.eh .btn.ghost{background:transparent;color:#F2F4F8;border:1px solid rgba(255,255,255,.22)}
.eh .btn:hover{filter:brightness(1.08)}
.eh-small{display:flex;gap:16px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:14px}
.eh-small a,.eh-small button{background:none;border:0;padding:6px 4px;color:#F3D58E;font:inherit;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:3px;min-height:0;width:auto;margin:0;box-shadow:none}
.eh-gate{position:fixed;inset:0;z-index:2147483000;background:rgba(10,13,20,.72);display:flex;align-items:center;justify-content:center;padding:16px;font-family:Outfit,system-ui,sans-serif}
.eh-gate[hidden]{display:none}
.eh-gate-box{position:relative;width:100%;max-width:440px;max-height:calc(100vh - 32px);overflow:auto;background:#2B3446;border:1px solid rgba(226,176,74,.45);border-radius:18px;padding:22px 20px;color:#F2F4F8;text-align:left}
.eh-gate-box h1{font-size:22px;margin:0 0 10px;padding-right:30px}
.eh-gate-box p{margin:0 0 10px;font-size:15px;line-height:1.45}
.eh-gate-box a{color:#F3D58E}
.eh-gate-box .btn{display:inline-block;background:#E2B04A;color:#1b2130;border-radius:999px;padding:12px 22px;font-weight:800;text-decoration:none}
.eh-gate-box .muted{color:#A9B2C5}.eh-gate-box .small{font-size:13px}
.eh-gate-box .card{background:none;border:0;padding:0;margin:0}
.eh-gate-x{position:absolute;top:6px;right:8px;width:40px;height:40px;border:0;background:none;color:#F2F4F8;font-size:28px;line-height:1;cursor:pointer}
.over.eh-on{align-items:flex-start;overflow-y:auto;-webkit-overflow-scrolling:touch}
.over.eh-on>.card,.over.eh-on>.rcard{margin-top:auto;margin-bottom:auto}
/* the one large primary button of every end screen */
#over #again,#over #play-again,#end #againBtn{min-height:56px;font-size:18px;width:100%;max-width:360px;margin-left:auto;margin-right:auto}
#over .again-form{display:block;width:100%}
