/* MEOWRACE sign-in gate — same look as the local dashboard's sign-in bar. */
body[data-view="loading"] > *, body[data-view="gate"] > .topbar, body[data-view="gate"] > main, body[data-view="gate"] > .skip, body[data-view="app"] > .gate { display: none !important; }
body[data-view="gate"] { background: #080808; }
.gate { height: 100svh; min-height: 320px; display: flex; flex-direction: column; background: #080808; color: #fff; font-family: "Segoe UI", Arial, sans-serif; }
.gate-bar { flex: 0 0 auto; position: relative; z-index: 1; padding: 8px 24px; background: #080808; border-bottom: 1px solid #00bfff80; box-shadow: 0 3px 12px #00bfff18; }
.gate-card { display: grid; grid-template-columns: 180px minmax(260px, 760px); justify-content: space-between; align-items: center; gap: 24px; }
.gate-logo { display: block; width: 180px; height: auto; filter: url(#logo-clear) grayscale(1) brightness(1.8); }
.gate form { display: grid; grid-template-columns: minmax(0, 1fr) 170px; align-items: center; gap: 8px 10px; }
.gate-fields { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.gate-fields:empty { display: none; }
.gate-fields label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gate-fields input { width: 100%; height: 38px; padding: 8px 12px; border: 1px solid #555; border-radius: 6px; background: #121212; color: #fff; font: 13px "Segoe UI", Arial, sans-serif; }
.gate-fields input::placeholder { color: #aaa; }
#gateSubmit { height: 38px; margin: 0; border: 1px solid #00bfff; border-radius: 6px; background: #00bfff; color: #080808; font: 600 12px "Segoe UI", Arial, sans-serif; cursor: pointer; }
#gateSubmit:hover { background: #43d0ff; filter: none; }
#gateSubmit:disabled { opacity: .6; cursor: wait; }
#gateSubmit[hidden] { display: none; }
.gate-fields input:focus-visible, .gate button:focus-visible { outline: 2px solid #00bfff; outline-offset: 3px; }
.gate-message { grid-column: 1 / -1; margin: 0; padding: 8px 12px; border: 1px solid #aaa; border-left: 3px solid #fff; border-radius: 6px; background: #222; color: #fff; font-size: 13px; line-height: 1.5; }
.gate-message.ok { border-left-color: #00bfff; }
.gate-links { grid-column: 1 / -1; display: flex; gap: 18px; margin: 0; min-height: 0; }
.gate-link { padding: 2px 0; border: 0; background: none; color: #bdbdbd; font: 11px "Segoe UI", Arial, sans-serif; text-decoration: underline; cursor: pointer; }
.gate-link:hover { color: #00bfff; filter: none; }
.gate-art { flex: 1 1 0; min-height: 0; background: #080808 url('dashboard-art.jpg') center / cover no-repeat; filter: grayscale(1); }
.account { display: flex; align-items: center; gap: 10px; margin-left: 4px; }
.account-email { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #a2a2a2; font-size: 11px; }
.editor-fields label.editor-conflict { color: #00bfff; }
.editor-fields label.editor-conflict input, .editor-fields label.editor-conflict textarea { border-color: #00bfff; box-shadow: 0 0 0 1px #00bfff; }
@media (hover: hover) and (pointer: fine) { .gate, .gate button, .gate label { cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cg%20fill%3D%22%2300bfff%22%20stroke%3D%22%2300bfff%22%20stroke-width%3D%22.65%22%3E%3Cpath%20d%3D%22M14%209%2042%2029%2062%2028%2089%209%2089%2018%2066%2034%2045%2033%2022%2017%2023%2046%2013%2064%2055%2094%2079%2073%2055%2098%205%2066%2014%2046Z%22%2F%3E%3Cpath%20d%3D%22m32%2049%2020%2013q-14%209-20-13m34%2012%2016-14q-3%2018-16%2014M57%2072h12L58%2085l5-9Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 16 16, auto; } .gate input { cursor: text; } }
@media (max-width: 800px) {
  .gate-bar { padding: 8px 12px; }
  .gate-card { grid-template-columns: 1fr; gap: 8px; }
  .gate-logo { width: 140px; }
  .gate form { grid-template-columns: minmax(0, 1fr); }
  .gate-fields { grid-auto-flow: row; }
  .account-email { display: none; }
}
.product-editor { max-height: calc(100dvh - 32px); overflow: auto; }
