:root { font: 13px Tahoma, Arial, sans-serif; color: #263346; background: #263c49; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background-position: center; background-size: cover; background-attachment: fixed; }
body::before { content: ''; position: fixed; inset: 0; background: #18233726; pointer-events: none; }
main { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 18px 70px; }
.window { width: 312px; border: 1px solid #7b91ae; border-radius: 5px; background: #fafbfc; box-shadow: 0 0 0 2px #fff9, 0 7px 25px #0004; overflow: hidden; }
.window header { min-height: 24px; padding: 3px 8px; font-size: 12px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #7a91b3; background: var(--skin-title, repeating-linear-gradient(#cbdcf1 0 1px, #eef5ff 1px 2px, #a2bada 2px 3px)); }
.tag { font-size: 9px; color: #526781; }
canvas { display: block; margin: 2px auto; image-rendering: pixelated; }
form { padding: 0 15px 12px; display: grid; gap: 6px; }
input, select { border: 1px solid #a1adba; border-radius: 2px; background: #fff; padding: 4px 6px; font: inherit; min-width: 0; }
button { color: #263346; font: inherit; cursor: pointer; min-height: 23px; padding: 2px 12px; border: 1px solid #9aa4b1; border-radius: 4px; background: var(--skin-button, linear-gradient(#fff, #e4e8ed)); box-shadow: inset 0 0 0 1px #fff; }
button:hover { border-color: #497ab5; background-color: #d8eaff; }
button:disabled { cursor: default; opacity: .5; }
:focus-visible { outline: 2px solid #4b80ca; outline-offset: 2px; }
.actions { text-align: right; }
#loading { color: #61728a; font-size: 11px; margin: 5px 0; min-height: 14px; }
#error { max-width: 540px; padding: 8px 14px; border-radius: 4px; background: #fff2f0; color: #982f2f; }
.lobby { width: min(620px, 100%); }
.content { padding: 12px; }
.toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.toolbar label { display: grid; gap: 4px; }
.room { padding: 10px; border: 1px solid #c2ccda; background: #edf3fb; margin: 6px 0; display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.room .actions { display: flex; gap: 4px; }
.notice { font-size: 11px; color: #6e7c8e; border-top: 1px solid #d2dae3; padding-top: 12px; }
footer { position: fixed; bottom: 0; width: 100%; display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; padding: 10px; color: #fff; font-size: 11px; background: #192a3de0; }
footer a { color: #d3e2ff; }
[hidden] { display: none !important; }
