:root{color-scheme:light;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}body{margin:0;font:14px system-ui,-apple-system,'Segoe UI',sans-serif}img{max-width:100%}[hidden]{display:none!important}

/*
 * Skyward Plunder - site-src/css/site.css (website build only; the claude.ai artifact never loads it).
 * Line 1 is the claude.ai host's reset stylesheet, reproduced exactly so the game looks the same on its
 * own website (SPEC-6 §24.9). This file is linked in <head>, before css/style.css, so the game's own
 * rules win wherever both set something; the Account rules below use two-class selectors for that.
 * Build stamp: checked by js/account.js (python tools/stamp.py rewrites it with the others).
 */
:root { --sp-site-build: "sp-8"; }

/* Night behind the page while the game's stylesheet loads (no white flash in the Android app). */
html { background: #1b1f3a; }

/* ----------------------------------------------------------------------------------
   Header: the Account button (js/account.js appends it to .hud-chips)
   ---------------------------------------------------------------------------------- */
.hud .acct-chip {
  position: relative;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px 0 11px;
  border-color: rgba(169, 174, 208, 0.45);
  background: rgba(169, 174, 208, 0.08);
}
.hud .acct-chip:hover { background: rgba(169, 174, 208, 0.18); border-color: var(--mist, #a9aed0); }
.hud .acct-chip svg { flex: none; width: 20px; height: 20px; }
.hud .acct-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral, #ff7a59);
  box-shadow: 0 0 0 2px var(--night, #1b1f3a);
  pointer-events: none;
}
@media (max-width: 600px) {
  .hud .acct-chip { width: 44px; padding: 0; }
  .hud .acct-chip-text { display: none; }
}

/* ----------------------------------------------------------------------------------
   Hero creation: "Already have a captain? Sign in with your email"
   ---------------------------------------------------------------------------------- */
.create-form .acct-create-extra { margin: -10px 0 12px; }
.create-form .acct-create { margin: 0; color: var(--mist, #a9aed0); font-size: 15px; }
.create-form .acct-rules { margin-top: 2px; font-size: 13.5px; line-height: 1.4; }
.create-form .acct-rules-link {
  color: var(--brass, #e8b04a);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.create-form .acct-link,
.acct .acct-link,
.acct-hall-report .acct-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  background: none;
  color: var(--brass, #e8b04a);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.create-form .acct-link:hover,
.acct-hall-report .acct-link:hover { color: var(--brass-hi, #f6cd76); }
.create-form .acct-create-g { white-space: nowrap; }
@media (max-width: 600px) {
  .create-form .acct-create-sep { display: none; } /* the email link wraps under the Google button there */
}
.create-form .acct-create .acct-google.is-compact { margin: 2px 0; }
.create-form .acct-server-note { margin: 2px 0 6px; font-size: 12px; line-height: 1.4; color: var(--mist, #a9aed0); overflow-wrap: anywhere; }

/* ----------------------------------------------------------------------------------
   Sign in with Google (build sp-8): Google's own button (its light look: white, the 4-colour G,
   Google's words), in the Account panel and on hero creation. Roboto only where the device already
   has it: no @font-face, so no font is fetched. The game's one dark look stays around it.
   ---------------------------------------------------------------------------------- */
.acct .acct-google,
.create-form .acct-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  max-width: 400px;
  min-height: 44px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid #747775;
  border-radius: 22px;
  background: #fff;
  color: #1f1f1f;
  font: 500 14px/20px Roboto, system-ui, Arial, sans-serif;
  letter-spacing: 0.25px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.acct .acct-google:hover,
.create-form .acct-google:hover { background: #f2f2f2; }
.acct .acct-google:active,
.create-form .acct-google:active { background: #e8e8e8; }
.acct .acct-google svg,
.create-form .acct-google svg { flex: none; width: 18px; height: 18px; }
.acct .acct-google .acct-google-text,
.create-form .acct-google .acct-google-text { min-width: 0; overflow-wrap: anywhere; }
.acct .acct-google.is-compact,
.create-form .acct-google.is-compact {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  padding: 10px 14px;
  vertical-align: middle;
}
/* The game's focus ring (css/style.css), kept clear of the white fill. */
.acct .acct-google:focus-visible,
.create-form .acct-google:focus-visible { outline: 2px solid var(--brass, #e8b04a); outline-offset: 2px; }
.acct .acct-google[disabled],
.create-form .acct-google[disabled] { opacity: 0.6; cursor: default; }
.acct .acct-google[disabled]:hover,
.create-form .acct-google[disabled]:hover { background: #fff; }
/* "Google will say you're continuing to <the game's server>": small, under the first Google button of a view. */
.acct .acct-note.acct-server-note {
  margin: 0 0 10px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--mist, #a9aed0);
  overflow-wrap: anywhere;
}
.acct .acct-or { margin-top: 12px; }

/* ----------------------------------------------------------------------------------
   Rivals: "Report a captain name" under the Hall of Captains (js/account.js)
   ---------------------------------------------------------------------------------- */
.acct-hall-report { margin: 4px 0 0; font-size: 14px; }
.acct-hall-report .acct-link { font-weight: 700; color: var(--mist, #a9aed0); }

/* ----------------------------------------------------------------------------------
   The Account panel (an SP.ui modal named "account")
   ---------------------------------------------------------------------------------- */
.modal .acct { min-width: 0; }
.acct .acct-p { margin: 0 0 10px; overflow-wrap: anywhere; }
.acct .acct-lead { font-size: 16px; }
.acct .acct-id {
  margin-bottom: 12px;
  padding: 10px 12px 12px;
  border: 1px solid var(--rope, #4a4f78);
  border-radius: var(--radius-sm, 10px);
  background: var(--night-deep, #14172d);
}
.acct .acct-id .field-label { margin-bottom: 4px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist, #a9aed0); }
.acct .acct-id .field-hint { margin-top: 6px; }
.acct .acct-id-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.acct .acct-uuid {
  flex: 1 1 auto;
  min-width: 0;
  font: 600 13.5px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color: var(--canvas, #f3e9d2);
  word-break: break-all;
  user-select: all;
  -webkit-user-select: all;
  cursor: text;
}
.acct .acct-copy { flex: none; min-width: 76px; }
.acct .acct-captain { margin: 0 0 2px; font-weight: 800; overflow-wrap: anywhere; }
.acct .acct-cloud { margin: 0 0 8px; font-size: 13.5px; color: var(--mist, #a9aed0); }
.acct .acct-notice {
  margin: 4px 0 12px;
  padding: 10px 12px;
  border: 1px solid;
  border-radius: var(--radius-sm, 10px);
  font-weight: 700;
}
.acct .acct-notice.is-good { color: var(--sea, #5fd3c4); border-color: rgba(95, 211, 196, 0.5); background: rgba(95, 211, 196, 0.08); }
.acct .acct-notice.is-bad { color: var(--coral, #ff7a59); border-color: rgba(255, 122, 89, 0.5); background: rgba(255, 122, 89, 0.08); }
.acct .acct-section { margin: 18px 0 8px; font-size: 18px; }
.acct .acct-view > .acct-section:first-child { margin-top: 10px; }
.acct .acct-field { margin: 6px 0 4px; }
.acct .acct-field .input { width: 100%; }
.acct .acct-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 6px; }
.acct .acct-actions .btn { min-height: 44px; }
.acct .acct-quiet { background: transparent; box-shadow: none; }
.acct .acct-note { padding: 10px 12px; border-left: 3px solid var(--brass, #e8b04a); border-radius: 6px; background: rgba(232, 176, 74, 0.08); }
.acct .acct-warn { color: #ffd6c9; }
.acct .acct-update {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(232, 176, 74, 0.55);
  border-radius: var(--radius-sm, 10px);
  background: rgba(232, 176, 74, 0.08);
}
.acct .acct-update .acct-p { flex: 1 1 200px; margin: 0; font-weight: 700; }
.acct .acct-report-list { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 4px; }
.acct .acct-report-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 6px 8px 6px 12px;
  border: 1px solid var(--rope, #4a4f78);
  border-radius: var(--radius-sm, 10px);
  background: var(--night-deep, #14172d);
}
.acct .acct-report-who { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.acct .acct-report-name { overflow-wrap: anywhere; }
.acct .acct-report-sub { font-size: 13px; color: var(--mist, #a9aed0); }
.acct .acct-report-go { display: inline-flex; flex: none; align-items: center; min-height: 44px; text-decoration: none; }
.acct .acct-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 10px;
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--rope, #4a4f78);
  font-size: 13px;
  color: var(--mist, #a9aed0);
}
.acct .acct-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--canvas, #f3e9d2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.acct .acct-sep { opacity: 0.6; }
.acct .acct-build { font-variant-numeric: tabular-nums; }
