/* Fleeca Bank, modelled on www.fleeca.com as rendered in GTA V: off white page, thin green top strip,
   806px centred column, black and green wordmark, 2px green rule, centred Arial greeting, glossy green button. */
:root {
  --page: #eeeeec;
  --ink: #171717;
  --muted: #5d605d;
  --green: #20a647;
  --green-logo: #22a447;
  --green-bank: #33ad5b;
  --line: #d3d4d0;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--page);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }

/* in game browser chrome */
.chrome-top { height: 30px; background: linear-gradient(#050606, #111212); }
.chrome-bar {
  height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 max(16px, calc(50% - 420px));
  background: linear-gradient(#6b6f6d 0%, #3a3e3c 45%, #1d201f 100%);
  border-bottom: 1px solid #0b0c0c;
}
.glyphs { flex: none; }
.address {
  flex: 1; height: 26px; border-radius: 7px; padding: 0 11px; display: flex; align-items: center;
  background: linear-gradient(#f1f1f1, #dcdcdc); border: 1px solid #8b8b8b; box-shadow: inset 0 1px 2px rgba(0,0,0,.25);
  color: #666; font-weight: 700; font-size: 15px; letter-spacing: .1px; white-space: nowrap; overflow: hidden;
}

.strip { height: 11px; background: linear-gradient(#189245, #0d7332); box-shadow: inset 0 -1px 0 #066027; }

.page { width: 100%; max-width: 806px; margin: 0 auto; padding: 0 0 60px; }
.site-header { padding: 21px 0 0 22px; display: flex; align-items: flex-end; justify-content: space-between; }
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; width: 150px; }
.wordmark { width: 150px; height: auto; display: block; }
.bank { color: var(--green-bank); font-weight: 700; font-size: 16px; line-height: 16px; letter-spacing: 14px; margin: 3px 0 0 14px; }
.rule { height: 2px; background: var(--green); margin-top: 19px; }
.rule.thin { height: 1px; margin: 0 0 18px; }

.view { text-align: center; }
.greeting { margin-top: 116px; font-size: 24px; line-height: 30px; font-weight: 600; color: var(--ink); }
.greeting div:last-child { overflow-wrap: anywhere; }

.timer-block { margin-top: 56px; }
.timer-block .label { font-size: 15px; color: var(--muted); letter-spacing: .4px; text-transform: uppercase; font-weight: 700; }
.timer { font-size: 78px; line-height: 1; font-weight: 700; margin-top: 10px; font-variant-numeric: tabular-nums; letter-spacing: 1px; color: var(--ink); }
.timer.busy { color: var(--green); font-size: 44px; line-height: 78px; }
.timer-note { margin-top: 12px; font-size: 15px; color: var(--muted); min-height: 18px; }

.btn {
  margin-top: 46px; width: 305px; max-width: calc(100% - 40px); height: 54px; border-radius: 3px; border: 1px solid #00652f; cursor: pointer;
  background: linear-gradient(to bottom, #1eb65a 0%, #159848 45%, #007334 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -2px 3px rgba(0,0,0,.25);
  color: #e9ece8; font-family: inherit; font-size: 20px; font-weight: 600; text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  transition: filter .15s ease, transform .1s ease;
}
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(1px); filter: brightness(.95); }
.btn:focus-visible, .ca:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid #0d7332; outline-offset: 2px; }
.btn-sm { margin: 0; width: auto; height: 42px; padding: 0 22px; font-size: 16px; flex: none; }

.acct { margin: 64px auto 0; max-width: 640px; padding: 0 20px; }
.acct-label { font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.ca {
  margin-top: 10px; width: 100%; display: flex; align-items: center; gap: 12px; justify-content: space-between; cursor: pointer;
  background: #fff; border: 1px solid #c4c6c2; border-radius: 3px; padding: 12px 12px 12px 16px; font-family: "Courier New", Courier, monospace;
  font-size: 17px; color: var(--ink); box-shadow: inset 0 1px 2px rgba(0,0,0,.08);
}
.ca span:first-child { overflow-wrap: anywhere; text-align: left; min-width: 0; }
.ca-copy { flex: none; font-family: Arial, sans-serif; font-weight: 700; font-size: 13px; color: #fff; background: var(--green); border-radius: 2px; padding: 6px 10px; letter-spacing: .5px; }
.ca.copied .ca-copy { background: #0d7332; }
.acct-links { margin-top: 14px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font-size: 16px; }
.acct-links a, .grid a, .fine a { color: #0d7332; font-weight: 700; text-decoration: none; }
.acct-links a:hover, .grid a:hover { text-decoration: underline; }

.sec { margin: 72px 0 0; padding: 0 0 10px; font-size: 20px; font-weight: 600; text-align: left; border-bottom: 2px solid var(--green); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sec .sub { font-size: 13px; font-weight: 400; color: var(--muted); }

.summary { width: 100%; border-collapse: collapse; margin-top: 4px; font-size: 16px; }
.summary td { padding: 12px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.summary td.num { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

.table-wrap { overflow-x: auto; position: relative; }
.grid { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 4px; }
.grid th { text-align: left; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; padding: 10px 6px; border-bottom: 1px solid #c4c6c2; white-space: nowrap; }
.grid td { text-align: left; padding: 11px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.grid th.num, .grid td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.grid tr:nth-child(even) td { background: rgba(0,0,0,.018); }
.grid td.empty { text-align: center; color: var(--muted); padding: 26px 6px; }
.coin { display: flex; align-items: center; gap: 10px; min-width: 0; }
.coin img, .coin .ph { width: 28px; height: 28px; border-radius: 50%; flex: none; object-fit: cover; background: #d9dbd6; }
.coin b { font-weight: 700; }
.coin small { display: block; color: var(--muted); font-size: 12px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { font-size: 12px; color: var(--muted); }
.mono { font-family: "Courier New", Courier, monospace; }
.fine { margin: 12px 0 0; text-align: left; font-size: 13px; color: var(--muted); line-height: 1.5; }

.terms { text-align: left; margin: 18px 0 0; padding-left: 24px; font-size: 16px; line-height: 1.6; list-style: decimal; }
.terms li { padding: 4px 0 4px 6px; }

.lookup { margin: 48px auto 0; max-width: 640px; padding: 0 20px; text-align: left; }
.lookup label { display: block; font-size: 15px; color: var(--muted); margin-bottom: 10px; text-align: center; }
.lookup-row { display: flex; gap: 10px; }
.lookup input { flex: 1; min-width: 0; height: 42px; border: 1px solid #c4c6c2; border-radius: 3px; background: #fff; padding: 0 12px; font-family: "Courier New", Courier, monospace; font-size: 15px; color: var(--ink); }
.lookup-err { margin-top: 10px; color: #a3231b; font-size: 14px; text-align: center; }
#acct { margin-top: 30px; }

.foot { margin-top: 90px; text-align: left; font-size: 12px; line-height: 1.6; color: var(--muted); padding: 0 4px; }
.foot p { margin: 0 0 8px; }

@media (max-width: 846px) {
  .page { padding-left: 16px; padding-right: 16px; }
  .site-header { padding-left: 6px; }
}
@media (max-width: 560px) {
  .chrome-top { height: 18px; }
  .glyphs { width: 120px; }
  .greeting { margin-top: 64px; font-size: 22px; }
  .timer { font-size: 64px; }
  .timer-block { margin-top: 40px; }
  .acct { padding: 0; }
  .ca { font-size: 14px; }
  .lookup { padding: 0; }
  .lookup-row { flex-direction: column; }
  .btn-sm { width: 100%; }
  .hide-sm { display: none; }
  .grid { font-size: 14px; }
  .coin small { max-width: 120px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.grid td a { display: inline-block; padding: 6px 0; }
.acct-links a { padding: 6px 2px; }
@media (max-width: 560px) {
  .ca { flex-direction: column; align-items: stretch; padding: 12px; }
  .ca span:first-child { text-align: center; font-size: 15px; line-height: 1.4; }
  .ca-copy { padding: 11px; text-align: center; font-size: 14px; }
  .foot { font-size: 13px; }
}
.foot a { color: #0d7332; font-weight: 700; text-decoration: none; }
