/* Isla Noctis: account pages, site fixes 2 (2026-11-24), from the whole-site quality check.
   Linked after accounts.css by the sign-in, create-account, Your account, Accounts (staff) and Steam link pages, so
   it only adds to that stylesheet and no other kit's copy of accounts.css can drop it.
   1. A button with no colour of its own is the page's main button (it showed as a flat grey box). */
.btn:where(:not([class*="btn-"])) { border: 0; cursor: pointer; background: var(--glow, #3fe3f2); color: #03161c;
  box-shadow: 0 0 0 1px var(--glow, #3fe3f2), 0 0 28px rgba(63, 227, 242, .45); }
.btn:where(:not([class*="btn-"])):hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--glow, #3fe3f2), 0 0 40px rgba(63, 227, 242, .7); }

/* 2. Sign in and sign up: the form in a card, and beside it what an account holds (the right half was empty). */
.acct-sign .acct-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; align-items: start; margin-top: 1.4rem; }
@media (min-width: 62rem) { .acct-sign .acct-cols { grid-template-columns: minmax(0, 27rem) minmax(0, 1fr); gap: 1.8rem; } }
.acct-card { padding: 1.5rem 1.5rem 1.3rem; border-radius: 18px; border: 1px solid rgba(140, 220, 230, .18);
  background: linear-gradient(180deg, rgba(16, 32, 39, .92), rgba(8, 18, 23, .94));
  box-shadow: inset 0 2px 0 var(--glow, #3fe3f2), 0 14px 34px rgba(0, 0, 0, .32); }
.acct-card .acct-form { margin-top: 0; max-width: none; }
.acct-card .acct-links { margin-bottom: 0; }
.acct-card .cf-turnstile { min-height: 65px; }
.acct-side { display: grid; gap: 1rem; min-width: 0; }
.acct-side .acct-panel { margin-top: 0; max-width: none; border-radius: 16px; border-color: rgba(140, 220, 230, .18);
  background: linear-gradient(180deg, rgba(16, 32, 39, .9), rgba(8, 18, 23, .92)); }
.acct-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .acct-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acct-perks li { --t: #3fe3f2; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .1rem .9rem; align-items: center; margin: 0;
  padding: .9rem 1rem; border-radius: 16px; border: 1px solid rgba(140, 220, 230, .18);
  background: linear-gradient(180deg, rgba(16, 32, 39, .9), rgba(8, 18, 23, .92)); box-shadow: inset 0 2px 0 var(--t); }
.acct-perks svg, .acct-private svg { grid-row: 1 / span 2; width: 2.7rem; height: 2.7rem; padding: .62rem; border-radius: 12px; color: var(--t, #3fe3f2);
  border: 1px solid rgba(140, 220, 230, .22); background: rgba(5, 13, 18, .6); fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; flex: none; }
.acct-perks b { font: italic 800 1.25rem/1.1 var(--font-display, "Barlow Condensed", "Arial Narrow", sans-serif); letter-spacing: .02em;
  text-transform: uppercase; color: #fff; }
.acct-perks span { color: var(--fern, #8fb0ba); font-size: .93rem; line-height: 1.4; }
.acct-perks .p-points { --t: #e8953c; } .acct-perks .p-dinos { --t: #6cc644; } .acct-perks .p-friends { --t: #8b9cff; } .acct-perks .p-story { --t: #c792ff; }
.acct-private { display: flex; gap: .95rem; align-items: flex-start; }
.acct-private .signin-note { margin: 0; }

/* 3. Your account on a phone: the name and its button on one line, what it is for under them (three squeezed columns). */
@media (max-width: 36rem) {
  .acct-linked li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem .8rem; }
  .acct-linked .what { min-width: 0; }
  .acct-linked .state { grid-column: 1 / -1; grid-row: 2; }
}

/* 4. The staff accounts page on a phone: each row of a table becomes a card with its labels (the table ran off the side). */
@media (max-width: 46rem) {
  .acct-tabs .acct-table, .acct-tabs .acct-table tbody { display: block; }
  .acct-tabs .acct-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .acct-tabs .acct-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem .9rem; margin-top: .8rem; padding: .9rem 1rem;
    border-radius: 14px; border: 1px solid rgba(140, 220, 230, .18); background: rgba(5, 13, 18, .45); }
  .acct-tabs .acct-table td { display: block; min-width: 0; padding: 0; border: 0; overflow-wrap: anywhere; }
  .acct-tabs .acct-table td::before { display: block; margin-bottom: .2rem; font: 500 .66rem/1 var(--font-mono, monospace); letter-spacing: .1em;
    text-transform: uppercase; color: var(--fern, #8fb3a8); }
  .acct-tabs .acct-table td[colspan], .acct-tabs .acct-table td:empty { grid-column: 1 / -1; }
  .acct-tabs .acct-table td:empty { display: none; }
  .acct-tabs [data-tab-id="accounts"] td:nth-child(1) { grid-column: 1 / -1; font-size: 1.08rem; }
  .acct-tabs [data-tab-id="accounts"] td:nth-child(2):not([colspan])::before { content: "Discord"; }
  .acct-tabs [data-tab-id="accounts"] td:nth-child(3)::before { content: "Steam"; }
  .acct-tabs [data-tab-id="accounts"] td:nth-child(4)::before { content: "Made"; }
  .acct-tabs [data-tab-id="accounts"] td:nth-child(5)::before { content: "Last sign-in"; }
  .acct-tabs [data-tab-id="accounts"] td:nth-child(6) { grid-column: 1 / -1; padding-top: .6rem; border-top: 1px solid rgba(31, 58, 68, .7); }
  .acct-tabs [data-tab-id="accounts"] .acct-table input[type=text] { width: auto; flex: 1; min-width: 8rem; }
  .acct-tabs [data-tab-id="reports"] td:nth-child(1)::before { content: "When"; }
  .acct-tabs [data-tab-id="reports"] td:nth-child(2)::before { content: "About"; }
  .acct-tabs [data-tab-id="reports"] td:nth-child(3)::before { content: "From"; }
  .acct-tabs [data-tab-id="reports"] td:nth-child(4) { grid-column: 1 / -1; }
  .acct-tabs [data-tab-id="reports"] td:nth-child(4)::before { content: "What happened"; }
  .acct-tabs [data-tab-id="reports"] td:nth-child(5) { grid-column: 1 / -1; }
  .acct-tabs [data-tab-id="activity"] td:nth-child(1)::before { content: "Account"; }
  .acct-tabs [data-tab-id="activity"] td:nth-child(2)::before { content: "What"; }
  .acct-tabs [data-tab-id="activity"] td:nth-child(3) { grid-column: 1 / -1; }
  .acct-tabs [data-tab-id="activity"] td:nth-child(3)::before { content: "Detail"; }
  .acct-tabs [data-tab-id="activity"] td:nth-child(4)::before { content: "By"; }
}

/* 5. A page that ends in "no" keeps a way on: a row of buttons (the Steam link's last line was a bare link). */
.acct-ways { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 0; }
.acct-ways .btn { font-size: .98rem; padding: .7rem 1.2rem; }
@media (prefers-reduced-motion: reduce) { .btn:where(:not([class*="btn-"])):hover { transform: none; } }
.acct-table input[type=text] { font: 400 .95rem/1.3 var(--font-body, sans-serif); color: var(--mist, #e6f1ee); background: var(--canopy, #102027);
  border: 1px solid var(--vine, #1f3a44); border-radius: 8px; }
.acct-table input[type=text]:focus { outline: none; border-color: var(--glow, #4fd8e8); box-shadow: 0 0 0 3px rgba(79, 216, 232, .18); }
