/* Match the original game's small grey buttons and translucent black menus. */
.project-link{font:inherit;color:#fff;background:none;border:0;padding:0;cursor:pointer;text-decoration:none}
.project-link:hover{text-decoration:underline}
.project-options-links{display:flex;gap:18px;margin-top:10px;padding:6px 5px;font-size:16px}
#project_info_overlay[hidden],#project_info_overlay [hidden]{display:none!important}
#project_info_overlay{position:fixed;inset:0;z-index:10010;display:flex;align-items:center;justify-content:center;padding:15px;box-sizing:border-box;cursor:default}
#project_info_dialog{box-sizing:border-box;width:560px;max-width:100%;max-height:calc(100vh - 30px);max-height:calc(100dvh - 30px);display:flex;flex-direction:column;overflow:hidden;padding:15px;border:0;border-radius:5px;background:rgba(0,0,0,.85);color:rgba(255,255,255,.8);outline:none}
.project-info-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
#project_info_title{font-size:28px;font-weight:normal;color:#fff;text-align:center;margin:0;flex:1;padding-left:30px}
.project-close{width:30px;padding:0;flex-shrink:0;font-size:22px;cursor:pointer}
.project-info-nav{display:flex;justify-content:center;gap:8px;margin-bottom:15px}
.project-info-tab{font-size:16px;padding:0 14px;cursor:pointer}
.project-info-tab[aria-current="page"]{background:#888;color:#fff}
.project-info-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 10px 0 3px;font-size:15px;line-height:1.5;scrollbar-width:thin;scrollbar-color:#666 transparent}
.project-info-body h2{font-size:20px;font-weight:normal;color:#fff;margin:0 0 10px}
.project-info-body h3{font-size:18px;font-weight:normal;color:#fff;margin:18px 0 6px}
.project-info-body p{margin:0 0 12px}
.project-info-body ul{padding-left:20px;margin:0 0 14px}
.project-info-body li{margin:0 0 6px}
.project-muted{color:rgba(255,255,255,.5)}
.project-info-footer{display:flex;justify-content:space-between;gap:12px;margin-top:14px;font-size:13px;color:rgba(255,255,255,.45)}
#project_info_dialog button:focus-visible,.project-link:focus-visible,.project-info-body:focus-visible{outline:1px solid #fff;outline-offset:2px}
@media(max-width:540px){#project_info_dialog{padding:12px}.project-info-body{font-size:14px}#project_info_title{font-size:25px}}
