/* Same portal frame on every page, including the browser game. */
@font-face{font-family:BrasaPixel;src:url('/pixel.woff') format('woff');font-display:swap}
main.rooms-main{display:block;width:min(1120px,100%);max-width:1120px;margin:0}
.rooms-main .server-panel{width:100%}
.rooms-main h1{font-size:24px;margin:0}
.rooms-main .server-panel>header{flex-wrap:wrap}
body{margin:0;padding:24px;min-height:100dvh;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:28px;background:#10131d}
body>header.shared-header{order:0;width:min(1120px,100%);max-width:1120px;min-height:64px;margin:0;padding:0 0 20px;border-bottom:2px solid #5e5865;display:flex;align-items:center;justify-content:space-between;gap:24px;box-sizing:border-box}
.shared-header .brand,.shared-footer .footer-brand{display:inline-flex;align-items:center;gap:12px;flex:none;margin:0;padding:0;border:0;background:none;box-shadow:none;text-decoration:none;color:#eee2c9;font:16px/1.5 BrasaPixel,monospace;letter-spacing:0}
.shared-header .brand img{display:block;width:32px;height:32px;object-fit:contain;image-rendering:pixelated;flex:none;margin:0}
.shared-header .brand{height:40px;min-height:40px;box-sizing:border-box}
.shared-header nav{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;margin:0;padding:0;font-size:inherit}
.shared-header nav a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:2px solid #626b76;box-shadow:inset 0 0 0 2px #131824,0 2px 0 #080c13;background:#242b39;color:#eee2c9;font:10px/1.8 BrasaPixel,monospace;letter-spacing:0;text-decoration:none;white-space:nowrap;box-sizing:border-box}
.shared-header nav a::before{content:none}
.shared-header nav a:hover{border-color:#9ca7b3;color:#eee2c9;background:#303b49}
.shared-header nav a.current{border-color:#e9b56d;color:#f8deb3;background:#30313b}
.shared-header nav a[hidden]{display:none}
body>footer.shared-footer{order:20;align-self:center;width:min(1120px,100%);max-width:1120px;margin: auto 0 0;padding:22px 0 4px;border-top:2px solid #5e5865;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px 24px;box-sizing:border-box;text-align:left;color:#a7b6c3}
.shared-footer .footer-brand{font-size:12px;gap:10px}.shared-footer .footer-brand img{display:block;width:24px;height:24px;object-fit:contain;image-rendering:pixelated}
.shared-footer nav{display:flex;justify-content:flex-end;align-items:center;gap:16px;flex-wrap:wrap}
.shared-footer nav a{display:inline-flex;margin:0;padding:0;min-height:0;border:0;box-shadow:none;background:none;color:#a7b6c3;font:12px/1.8 Segoe UI,Arial,sans-serif;text-decoration:none;letter-spacing:0}
.shared-footer nav a::before{content:none}.shared-footer nav a:hover{color:#e9b56d;text-decoration:underline;text-underline-offset:4px}
.shared-footer p{grid-column:1/-1;font:12px/1.7 Segoe UI,Arial,sans-serif;margin:0;letter-spacing:0;color:#a7b6c3}.shared-footer p strong{color:#e9b56d;font-weight:600}
.shared-header a:focus-visible,.shared-footer a:focus-visible{outline:2px solid #e9b56d;outline-offset:4px}
.portal-home:not(.portal-authenticated)>header.shared-header{order:0}.portal-home:not(.portal-authenticated)>footer.shared-footer{order:20}
.shared-header #account-name{display:none!important}
@media(max-width:900px){body>header.shared-header{align-items:flex-start;flex-direction:column;gap:16px}.shared-header nav{justify-content:flex-start}.shared-header nav a{white-space:normal}.shared-header .brand{font-size:16px}}
@media(max-width:600px){body{padding:20px 16px;gap:24px}.shared-header nav{gap:8px;width:100%}.shared-header nav a{font-size:9px;padding:8px 10px;min-height:40px}.shared-footer{grid-template-columns:1fr!important;gap:14px!important}.shared-footer nav{justify-content:flex-start}.shared-footer p{font-size:11px}}

/* Administration: one section at a time, shared with the player reports. */
#admin-navigation{display:flex;flex-wrap:wrap;gap:8px;width:100%;margin:20px 0 24px;padding:0 0 20px;border-bottom:2px solid #494956}
#admin-navigation a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;box-sizing:border-box;border:2px solid #626b76;background:#242b39;box-shadow:inset 0 0 0 2px #131824;color:#eee2c9;text-decoration:none;font:10px/1.8 BrasaPixel,monospace;text-align:center}
#admin-navigation a::before{content:none}#admin-navigation a.current{border-color:#e9b56d;background:#30313b;color:#f8deb3}#admin-navigation a:hover{background:#303b49}#admin-navigation a:focus-visible{outline:2px solid #e9b56d;outline-offset:3px}#admin-navigation a[hidden]{display:none}
.admin-subpages [data-admin-view]>h3{border:0;margin:0 0 18px;padding:0}.admin-subpages #back-admin{display:none!important}.admin-subpages .feedback-heading{margin-bottom:0}.admin-subpages #server-message{margin:0 0 16px}
@media(max-width:600px){#admin-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#admin-navigation a{min-width:0;font-size:8px;overflow-wrap:anywhere;padding:10px 8px}}

.admin-subpages [data-admin-view="relatos"] .feedback-heading{display:block;margin:0 0 20px}.admin-subpages [data-admin-view="relatos"] .feedback-heading h3{border:0;margin:0 0 12px;padding:0}.admin-subpages [data-admin-view="relatos"] .feedback-heading p{margin:8px 0}.admin-subpages [data-admin-view="relatos"] .feedback-heading #page-message:empty{display:none}

.admin-subpages [data-admin-view="relatos"].feedback-main{width:100%;max-width:none;margin:0;padding:0}.admin-subpages #server-panel>header{flex-wrap:wrap}.admin-subpages #server-panel>header>.row-actions{flex-shrink:0}.admin-subpages #server-panel>header button{white-space:nowrap}
