.native .actions {display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}
.native .actions button,.native #chat button,.native #role-list button,.native #panel-body button,.native .mast-actions a {color:#f3dfb2;background:#30312c;border:1px solid #78664b;border-radius:3px;padding:.5em .8em;cursor:pointer}
.native .mast-actions a{text-decoration:none}
.native #auth label,.native #create label{display:block;margin:.65em 0;color:#e5d5ae}
.native #auth input,.native #create input{display:block;width:100%;margin-top:.25em}
.native input:not([type=range]):not([type=checkbox]),.native select{background:#1a211f;color:#f7edda;border:1px solid #776951;border-radius:3px;padding:.45em .65em}
.native #roles h2{font-size:1.12rem}
.native #roles[hidden],.native #game[hidden],.native #auth[hidden]{display:none}
.native .game-controls{padding:.7rem .8rem;background:#242724;display:grid;gap:.5rem}
.native #chat{display:flex;align-items:center;gap:.5rem}.native #message{flex:1;min-width:0}
.native #messages{height:6em;overflow:auto;font-size:.85rem;color:#e1d1b2;line-height:1.4}
.native #role-list{display:flex;gap:.5rem;flex-wrap:wrap}.native #role-list button{color:#ffe5ac}
.native #auth-note{min-height:1.4em;color:#f1d291;white-space:pre-line}.native #world{touch-action:none}
.native #game{display:block}.native .field{height:clamp(320px,65vh,850px)}
.native #panel-body{overflow:auto;max-height:68vh}.native #panel-body button{margin:.2em}
.native #panel .panel-top{display:flex;align-items:center;justify-content:space-between}.native .location canvas{width:120px;height:75px}
@media(max-width:650px){.native .mast-actions{flex-wrap:wrap}.native .field{height:57vh}.native #actions{gap:.25rem}.native #actions button{padding:.4rem}.native #auth,.native #roles{max-width:95%}}
.native #lobby [hidden]{display:none!important}
.native #auth a{color:#dfc69a;text-underline-offset:.22em}
.native #auth .gold-button{display:inline-block;color:#2b251d;text-decoration:none}
.native #wp-register{margin-left:.8em}
.native #wp-identity{display:flex;align-items:center;gap:1.1rem}.native #wp-name{color:#f4dfb4;overflow-wrap:anywhere}
.native #wp-logout{font-size:.82rem}
.native #roles{max-width:380px}
.native .role-heading{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem}
.native #role-count,.native #role-list small{color:#cbbd9f;font-size:.8rem}
.native #role-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.native #role-list button{display:grid;text-align:left;gap:.25em;min-width:0;padding:.65rem .8rem}
.native #role-list strong{overflow-wrap:anywhere}
.native #roles details{margin:.85rem 0}
.native #lobby summary{cursor:pointer;color:#e6d1a6}
.native #create-section>summary{color:#f3d497}
.native #role-management{font-size:.82rem}
.native #auth-note{margin-bottom:0}
