/* Tidefall Support — player widget (embedded in an iframe on the website). */
:root{--bg:#071530;--panel:#0d2342;--panel2:#0b1d38;--line:#1f3a5e;--line2:#2a4a72;
  --gold:#f3c770;--gold-hi:#ffe3a3;--blue:#2f9bff;--blue-hi:#7cc8ff;--text:#eef4ff;--muted:#a3b5cc;
  --body:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;--serif:Georgia,serif}
*{box-sizing:border-box}html,body{height:100%}
body{margin:0;color:var(--text);font:14px/1.5 var(--body);display:flex;flex-direction:column;
  background:radial-gradient(ellipse 70% 50% at 50% 0%,rgba(47,155,255,.12),transparent 70%),var(--bg)}
.w-head{display:flex;align-items:center;gap:10px;padding:13px 16px;border-bottom:1px solid rgba(168,113,42,.4);
  background:linear-gradient(180deg,rgba(13,35,66,.96),rgba(7,21,48,.96))}
.w-mark{height:34px;width:auto;flex:none;display:block;filter:drop-shadow(0 1px 2px rgba(0,0,0,.45))}
.w-title{font:800 14px/1.1 var(--serif);letter-spacing:.04em}
.w-title small{display:block;font:600 10px/1 var(--body);letter-spacing:.1em;color:var(--muted);margin-top:4px;text-transform:uppercase}
.w-status{margin-left:auto;display:flex;align-items:center;gap:7px;font:600 11px/1 var(--body);color:var(--muted)}
.w-dot{width:8px;height:8px;border-radius:50%;background:#4fe0a0;box-shadow:0 0 8px rgba(79,224,160,.7)}
.w-dot.off{background:#ff7a6e;box-shadow:0 0 8px rgba(255,122,110,.6)}
.w-log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}
.w-intro{color:var(--muted);text-align:center;font-size:12.5px;margin:6px auto 2px;max-width:34ch}
.w-msg{max-width:84%;padding:9px 13px;border-radius:14px;font-size:13.5px;line-height:1.45;word-wrap:break-word;white-space:pre-wrap}
.w-msg.player{align-self:flex-end;background:linear-gradient(180deg,#2f82e6,#1b63c4);color:#fff;border-bottom-right-radius:5px}
.w-msg.staff{align-self:flex-start;background:var(--panel);border:1px solid var(--line);border-bottom-left-radius:5px}
.w-msg .who{display:block;font:700 10px/1 var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--gold);margin-bottom:5px}
.w-msg.player .who{color:rgba(255,255,255,.7)}
.w-sys{align-self:center;font-size:11.5px;color:var(--muted);background:rgba(255,255,255,.05);padding:5px 12px;border-radius:999px}
.w-namewrap{display:none;padding:10px 12px 0;gap:8px}
.w-namewrap.show{display:flex}
.w-namewrap input{flex:1;min-width:0;width:100%;padding:9px 12px;background:#07152e;border:1px solid var(--line2);border-radius:10px;color:var(--text);font:14px var(--body);outline:none}
.w-namewrap input:focus{border-color:var(--blue-hi);box-shadow:0 0 0 3px rgba(47,155,255,.2)}
.w-form{display:flex;gap:8px;padding:12px;border-top:1px solid var(--line);background:var(--panel2)}
.w-form textarea{flex:1;resize:none;height:42px;max-height:120px;padding:10px 12px;background:#07152e;border:1px solid var(--line2);
  border-radius:12px;color:var(--text);font:14px var(--body);outline:none}
.w-form textarea:focus{border-color:var(--blue-hi);box-shadow:0 0 0 3px rgba(47,155,255,.2)}
.w-send{flex:none;width:44px;border:0;border-radius:12px;cursor:pointer;color:#07152e;display:grid;place-items:center;
  background:linear-gradient(180deg,var(--gold-hi),var(--gold) 60%,#c98a33)}
.w-send:disabled{opacity:.5;cursor:default}
.w-log::-webkit-scrollbar{width:9px}.w-log::-webkit-scrollbar-thumb{background:#1f3a5e;border-radius:9px;border:2px solid var(--bg)}
