/* Shares the Rulebook reader shell and Discovery menu blue. */
#profile-points-info{position:fixed;z-index:8;display:grid;place-items:center;box-sizing:border-box;width:calc(1.8 * var(--game-rem));height:calc(1.8 * var(--game-rem));margin-left:calc(.3 * var(--game-rem));padding:0;transform:translateY(-50%);border:0;background:transparent;color:#ffe476;cursor:pointer;font:italic 700 calc(.8 * var(--game-rem))/1 Georgia,serif}
#profile-points-info::before{content:"";position:absolute;width:calc(1 * var(--game-rem));height:calc(1 * var(--game-rem));border:calc(.08 * var(--game-rem)) solid currentColor;border-radius:50%}
#profile-points-info[hidden]{display:none}
#profile-points-info:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:50%}
:is(#profile-points-dialog,#about-game-dialog){background:#052f46;color:#fff;font-family:inherit;font-size:1rem;font-weight:400;line-height:1.5}
:is(#profile-points-dialog,#about-game-dialog) .profile-points-scroll{grid-column:1 / -1;grid-row:2;min-width:0;min-height:0;height:100%;overflow-y:auto;overflow-x:hidden;box-sizing:border-box;padding:2rem 1.25rem 3rem;overscroll-behavior:contain}
:is(#profile-points-dialog,#about-game-dialog) article{width:100%;max-width:58rem;min-width:0;margin:0 auto}
:is(#profile-points-dialog,#about-game-dialog) .profile-points-intro{text-align:center;margin-bottom:2.5rem}
:is(#profile-points-dialog,#about-game-dialog) p{margin:0 0 1.5rem}
:is(#profile-points-dialog,#about-game-dialog) h3{font-family:inherit;font-size:1rem;font-weight:700;line-height:1.5;text-align:center;color:#fff;margin:0 0 1rem;letter-spacing:0}
:is(#profile-points-dialog,#about-game-dialog) table{border-collapse:collapse;table-layout:fixed;width:100%;margin:0 0 2.5rem;color:#fff;font:inherit}
:is(#profile-points-dialog,#about-game-dialog) caption{font-weight:700;text-align:center;padding:0 0 1rem;color:#fff}
:is(#profile-points-dialog,#about-game-dialog) th,:is(#profile-points-dialog,#about-game-dialog) td{border:1px solid #fff;padding:.6rem .75rem;vertical-align:middle;overflow-wrap:anywhere}
:is(#profile-points-dialog,#about-game-dialog) th{text-align:center;font-weight:700}
:is(#profile-points-dialog,#about-game-dialog) td{text-align:left}
:is(#profile-points-dialog,#about-game-dialog) .profile-points-notes,:is(#profile-points-dialog,#about-game-dialog) .profile-points-notes h3,:is(#profile-points-dialog,#about-game-dialog) .profile-points-notes li{text-align:left}
:is(#profile-points-dialog,#about-game-dialog) li{margin:0 0 1.2rem}

/* Own the reader grid: the Rulebook's portrait sidebar/control columns do not apply. */
:is(#profile-points-dialog,#about-game-dialog)[open]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;inset:0;margin:0;box-sizing:border-box;overflow:hidden}
:is(#profile-points-dialog,#about-game-dialog) .rulebook-header{grid-column:1;grid-row:1;box-sizing:border-box;min-width:0;height:auto;min-height:4.6rem;padding:.65rem 4.5rem}
:is(#profile-points-dialog,#about-game-dialog) .rulebook-header h2{max-width:100%;text-align:center;overflow-wrap:anywhere}
:is(#profile-points-dialog,#about-game-dialog) .rulebook-close{position:static;grid-column:1;grid-row:1;justify-self:end;align-self:center;margin:0 1rem 0 0}
:is(#profile-points-dialog,#about-game-dialog) ul{padding-left:1.3em}
@media (max-width:600px){
 :is(#profile-points-dialog,#about-game-dialog){font-size:16px;line-height:1.45}
 :is(#profile-points-dialog,#about-game-dialog) .rulebook-header{min-height:64px;padding:12px 52px 12px 12px}
 :is(#profile-points-dialog,#about-game-dialog) .rulebook-header h2{font-size:clamp(22px,6vw,30px);letter-spacing:0}
 :is(#profile-points-dialog,#about-game-dialog) .rulebook-close{width:34px;height:34px;font-size:26px;margin-right:10px}
 :is(#profile-points-dialog,#about-game-dialog) .profile-points-scroll{padding:20px 8px 32px}
 :is(#profile-points-dialog,#about-game-dialog) th,:is(#profile-points-dialog,#about-game-dialog) td{padding:8px 6px}
 :is(#profile-points-dialog,#about-game-dialog) .profile-points-intro{margin-bottom:24px}
 :is(#profile-points-dialog,#about-game-dialog) table{margin-bottom:28px}
}
