/* © 2026 אבישי פנחס (Avishay Pinchas). All rights reserved. */
/* FLAT LOOK (Avishay's decision for this project, 2026-12-03; a deliberate deviation from the design standard,
   logged in CLAUDE.md; the skill files are not changed). Loaded LAST on every page (member page, code screen, owner's page).
   - Glow is allowed ONLY on the title. No glow, halo, shadow, blur, grain or ambient light anywhere else:
     not on cards, borders, icons or text.
   - Borders are thin solid lines. Cards are one solid color. Nothing lifts on hover.
   - Keyboard focus keeps a solid outline (it used to be drawn with a shadow on some buttons). */

*, *::before, *::after { text-shadow: none !important; box-shadow: none !important; filter: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.film-grain, .ambient, .ambient-top, .floor, .reflection, .rim-light, .card-tube, .login-floor { display: none !important; }
.flicker { animation: none !important; }

/* The one exception: the title keeps a slight halo (crisp letters). */
/* Softer and near-white on both words, as in the reference (Avishay 2026-12-03): a white halo, not a blue one. */
.masthead .title, .title2 .t1,
.masthead .title .title-lit, .title2 .accent-text { text-shadow: 0 0 14px rgba(255, 255, 255, 0.2), 0 0 3px rgba(255, 255, 255, 0.12) !important; }

/* Cards: solid, thin solid border, no spotlight, no lift. */
.card { background: var(--bg-surface) !important; border: 1px solid var(--reflection); }
.card::before { display: none !important; }
.card:hover, .card:focus-within { transform: none !important; }
.card:nth-child(even) { margin-top: 0; }
.divider { background: var(--reflection) !important; }

/* Buttons: flat. Primary = thin sky-blue frame; hover / press fills it. Secondary = thin muted frame. */
.btn-primary { background: transparent; border: 1.5px solid var(--accent); color: var(--accent); }
.btn-primary::before, .btn-primary::after { display: none !important; }
.btn-primary:hover { background: var(--accent); color: var(--bg-primary); transform: none; }
.btn-primary:active { background: rgba(var(--accent-rgb), 0.8); color: var(--bg-primary); }
.btn-secondary { border: 1px solid var(--reflection); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-secondary:active { background: rgba(var(--accent-rgb), 0.12); }
.input-lit { background: var(--bg-surface); border: 1px solid var(--reflection); }
.input-lit:focus-within { border-color: var(--accent); }
.toast { background: var(--bg-elevated); border: 1px solid var(--accent); }

/* Focus: a solid outline everywhere (never a shadow). */
:focus-visible { outline: 2px solid var(--accent) !important; outline-offset: 2px; }

@media (max-width: 480px) { .card::before { display: none !important; } }
