/* Shared from BaseGameDiscord 0.52.0. Do not edit here: change it in BaseGameDiscord and run tools/sync.mjs. */
/* The Settings page, the same in every game: each row is a raised tile, pressed together with a small notch where two meet (like the Stats tiles). */
#settings .card:not(#acct) { display: flex; flex-direction: column; gap: 2px; background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0; margin: 0; overflow: visible; }
#settings .card:not(#acct) > .set-row { padding: 14px 16px; border: 0; border-radius: 16px; }
#settings .set-btn { appearance: none; width: 100%; border: 0; color: var(--ink); font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
#settings .set-btn .chev { color: var(--muted); font-size: 1.4rem; line-height: 1; }
#settings .set-btn .lang-cur { display: flex; align-items: center; }
/* the account card the Android app puts on top (a card of its own, not a row) */
#settings #acct.card { background: var(--surface); border: 0; border-radius: 16px; box-shadow: 0 3px 0 var(--surface-edge); padding: 14px 16px; overflow: hidden; }

/* Support and Owner tools are buttons of their own, under the grouped rows */
#settings .panel-body > .set-btn { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 16px; }

/* Section headings (Look, Sound & vibration, Account, Help, Owner): a section with nothing visible in it hides, heading and all */
#settings .set-head { margin: 14px 6px 4px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-align: left; }
#settings .panel-body > .card:first-of-type .set-head, #settings #acct + .card .set-head { margin-top: 4px; }
#settings .card:not(:has(> :not(.set-head):not([hidden]))) { display: none; }

#settings #set-owner[hidden] { display: none !important; }
