/* SQWADSY visual polish pass (v11.1) — kept in its own file, deliberately,
   so it's easy to spot and reconcile if this needs merging against other
   frontend work. Every rule here is additive (new classes/ids) rather than
   overriding existing rules from other files. */

/* Privacy and security: give each unrelated concern (password, 2FA,
   calendar) real visual separation instead of just stacked <h2>s. */
.settings-section{padding-top:22px;margin-top:22px;border-top:1px solid var(--line)}
.settings-section:first-of-type{padding-top:0;margin-top:18px;border-top:0}
.settings-section h2{margin-bottom:4px}

/* Current sqwad: keep the one destructive action clearly separated from
   the frequent ones (Add new player, Matchlog, Manage playerbase) rather
   than sitting adjacent to them, since this is the most-visited page in
   the app and a misclick here is genuinely costly. */
.danger-zone{margin-top:16px;padding-top:14px;border-top:1px dashed var(--line)}
.danger-zone .danger{width:auto}

/* "Your next game" card: was one dense dot-joined line of text with the
   confirm button buried in the flow. Now: bold date/time as the headline,
   icon-prefixed detail rows, a subtle gradient to give the card some
   presence, and the confirm action pinned to its own corner rather than
   competing with View game for attention. */
/* Shared "game card" look: bold date/time headline, icon-prefixed detail
   rows, consistent footer -- used for the Home page's featured next game,
   My games history, Matchlog, and the Game admin detail block, so the
   same information always reads the same way wherever it appears.
   .featured adds the gradient + corner action treatment for the single
   most-important card on Home; plain .game-card stays a normal bordered
   card so a long list of them doesn't turn into a wall of colour. */
.game-card{display:flex;flex-direction:column;gap:10px;padding:20px;border:1px solid var(--line);border-radius:3px;background:var(--j-surface)}
.game-card.featured{background:linear-gradient(135deg,#eefaf3,var(--j-surface))}
.game-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.game-card-header h3{margin:0;font-size:19px;color:var(--forest);font-style:italic;font-weight:800}
.game-card .confirm-attendance-btn{flex-shrink:0;border-radius:3px!important;padding:8px 14px!important;font-size:12px!important}
.game-card-datetime{margin:0;font-size:18px;font-weight:800;color:var(--ink)}
.game-card-details{display:flex;flex-direction:column;gap:4px}
.game-card-detail-row{margin:0;display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.game-card-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:2px;padding-top:12px;border-top:1px solid var(--line)}
.game-card-pos{font-size:13px;font-weight:500;color:var(--forest)}
.game-card-status{font-size:12px;font-weight:700;padding:4px 10px;border-radius:3px;background:var(--soft);border:1px solid var(--line);color:var(--ink);white-space:nowrap}
@media(max-width:480px){.game-card{padding:16px}.game-card-datetime{font-size:16px}}

/* Home: "Your games history" / "See your playerbases" / "Create
   playerbase" used to be three separate button-heavy cards. Now a single
   minimal list of links -- the heading itself IS the link, no separate
   button needed, arrow nudges on hover for a touch of polish. */
.quick-links{display:flex;flex-direction:column;gap:0;padding:6px 4px}
.quick-link{display:flex;justify-content:space-between;align-items:center;padding:15px 6px;border-bottom:1px solid var(--line);font-size:16px;font-weight:700;color:var(--ink);text-decoration:none}
.quick-link:last-child{border-bottom:none}
.quick-link span{color:var(--muted);font-weight:500;transition:transform .15s ease}
.quick-link:hover span{transform:translateX(4px)}
