/* Web version additions on top of the app's style.css + theme.css */
.desk { display: none !important; }
.web-signed-out #tabs, .web-signed-out section.tab, .web-signed-out .alertbar, .web-signed-out .banner-right { display: none !important; }
#web-shell:empty { display: none; }
.web-panel { max-width: 760px; margin: 18px auto; }
.web-panel h2 { margin-top: 0; }
.web-steps { padding-left: 20px; } .web-steps li { margin: 0 0 8px; }
.web-btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 6px; }
.web-pre { white-space: pre-wrap; word-break: break-all; background: #0006; border: 1px solid var(--line); padding: 10px 12px;
  font: 13px/1.5 Consolas, "Cascadia Mono", monospace; }
.btn.danger { border-color: var(--red); color: var(--red); }
.web-bar { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 8px 16px; font-size: 13px;
  background: #0b0b0f; border-bottom: 1px solid #26262e; }
.web-bar-btns { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.web-bar .btn { padding: 4px 10px; font-size: 12px; }
#web-signin { display: flex; justify-content: center; margin-top: 12px; }
@media (max-width: 760px) { .web-bar-btns { margin-left: 0; } }
/* signed-out preview: example data under a log-in banner */
.web-demo { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; padding: 10px 16px; font-size: 13px;
  background: linear-gradient(90deg, #2a1a05, #14100a); border-bottom: 1px solid var(--amber, #ffb04a); }
.web-demo-text b { color: var(--amber, #ffb04a); font-size: 15px; margin-right: 8px; }
.web-demo-text span { color: var(--muted, #aaa); }
.web-demo-btns { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.web-demo-btns .btn { padding: 5px 12px; font-size: 13px; }
.web-demo-mode .banner-right .sync::after { content: " (example)"; }
@media (max-width: 760px) { .web-demo-btns { margin-left: 0; } }
.web-demo-steps { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 6px 0 4px; padding-left: 18px; color: var(--text, #ddd); }
.web-demo-steps li { margin: 0; }
.web-demo-note { display: block; font-size: 12px; color: var(--muted, #999); }
/* every tab says it's sample data while signed out */
.web-demo-mode section.tab.on::before { content: "SAMPLE DATA · log in to see yours"; display: block; width: fit-content;
  margin: 0 0 10px; padding: 3px 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em;
  color: #1a1206; background: var(--amber, #ffb04a); border-radius: 3px; }

/* Connect your game: the by-hand / Mac route, folded away */
.web-manual { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 10px; }
.web-manual summary { cursor: pointer; font-weight: 600; }
.web-manual[open] summary { margin-bottom: 8px; }
