/* Account button and panel (web/account.js). Top left: the full screen
   button sits top right. Hidden in full screen play. */
#acct { position: absolute; top: 0; left: 0; z-index: 10; font: 15px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; color: #eadfca; }
#acct.acct-fullscreen { display: none; }
#acct-btn { position: absolute; top: 6px; left: 6px; width: 30px; height: 30px; padding: 3px; margin: 0;
  border: 1px solid rgba(244, 200, 70, .5); border-radius: 4px; background: rgba(0, 0, 0, .45); cursor: pointer; opacity: .8; }
#acct-btn:hover, #acct-btn:focus-visible { opacity: 1; }
#acct-btn svg { width: 22px; height: 22px; display: block; fill: none; stroke: #f4c846; stroke-width: 1.8; }
#acct-btn[data-state="ok"] svg { fill: rgba(120, 200, 110, .55); }
#acct-btn[data-state="busy"] svg { fill: rgba(244, 200, 70, .35); }
#acct-btn[data-state="warn"] svg { fill: rgba(244, 160, 40, .75); }
#acct-btn[data-state="err"] svg { fill: rgba(220, 70, 60, .8); }
#acct-btn::after { content: ""; }
#acct-panel { position: fixed; inset: 0; display: flex; align-items: flex-start; justify-content: center;
  background: rgba(0, 0, 0, .6); overflow-y: auto; -webkit-overflow-scrolling: touch;
  touch-action: pan-y; -webkit-user-select: text; user-select: text; padding: 12px 16px; box-sizing: border-box; }
#acct-panel[hidden] { display: none; }
#acct .acct-body { width: 100%; max-width: 420px; margin: auto 0; background: #1c1812; border: 1px solid #5a4a2a;
  border-radius: 6px; padding: 12px 16px 8px; box-sizing: border-box; }
#acct .acct-head { display: flex; align-items: center; gap: 8px; }
#acct h2 { font-size: 17px; margin: 0; flex: 1; color: #f4c846; }
#acct h3 { font-size: 16px; margin: 6px 0; }
#acct h4 { font-size: 14px; margin: 0 0 4px; color: #f4c846; }
#acct p { margin: 8px 0; }
#acct button { font: inherit; color: #eadfca; background: #2c261c; border: 1px solid #5a4a2a; border-radius: 4px;
  padding: 7px 11px; min-height: 36px; cursor: pointer; touch-action: manipulation; }
#acct button:disabled { opacity: .5; cursor: default; }
#acct button:focus-visible, #acct input:focus-visible { outline: 2px solid #f4c846; outline-offset: 1px; }
#acct .acct-primary { background: #6b5317; border-color: #b8901f; color: #fff6dc; }
#acct .acct-danger { border-color: #8a3a2a; color: #ffb8a6; }
#acct .acct-x { min-width: 36px; font-size: 20px; line-height: 1; padding: 4px 8px; }
#acct .acct-lang button { padding: 4px 8px; min-height: 30px; font-size: 13px; }
#acct .acct-lang button[aria-pressed="true"] { background: #6b5317; }
#acct .acct-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin: 8px 0; }
#acct .acct-tabs button[aria-selected="true"] { background: #6b5317; border-color: #b8901f; }
#acct .acct-field { margin: 8px 0; }
#acct label { display: block; font-size: 14px; margin-bottom: 3px; }
#acct input[type="text"], #acct input[type="password"] { width: 100%; box-sizing: border-box; font: 16px/1.3 system-ui, sans-serif;
  padding: 8px; color: #fff; background: #0f0d0a; border: 1px solid #5a4a2a; border-radius: 4px;
  -webkit-user-select: text; user-select: text; touch-action: manipulation; }
#acct small { display: block; font-size: 12.5px; color: #b8ab92; }
#acct .acct-error { color: #ff9b85; min-height: 1em; }
#acct .acct-notice { color: #9fe39a; }
#acct .acct-code { font: 20px/1.4 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 1px; background: #0f0d0a;
  padding: 8px; border-radius: 4px; text-align: center; word-break: break-all; }
#acct .acct-check { display: flex; align-items: center; gap: 8px; margin: 10px 0; }
#acct .acct-check input { width: 22px; height: 22px; }
#acct .acct-check label { margin: 0; }
#acct .acct-row { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
#acct .acct-slots { list-style: none; padding: 0; margin: 8px 0; }
#acct .acct-slots li { padding: 6px 0; border-top: 1px solid #3a3226; }
#acct .acct-sides { display: flex; gap: 8px; }
#acct .acct-side { flex: 1; background: #0f0d0a; padding: 8px; border-radius: 4px; }
#acct .acct-side p { margin: 3px 0; font-size: 14px; }
#acct .acct-links { font-size: 13px; text-align: right; margin-top: 12px; }
#acct a { color: #f4c846; }
