/* Printed comic dossier: hard ink, halftone, sunburnt paper and a cyan registration stamp. */
.account-launch { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; max-width: min(92vw, 42em); }
.account-open { display: inline-flex; align-items: center; gap: 7px; border: 3px solid #07111c; border-radius: 3px; padding: 7px 12px; color: #07111c; background: #ffc53b; box-shadow: 3px 3px 0 #07111c; font: 900 13px var(--font-ui); cursor: pointer; }
.account-open span { font-size: 17px; }
.account-status { max-width: min(76vw, 32em); color: var(--parch); font-size: 12px; font-weight: 800; text-align: center; text-shadow: 0 2px 0 var(--ink); overflow-wrap: anywhere; }
.account-overlay[hidden] { display: none; }
.account-overlay { --account-ink: #07111c; --account-paper: #fff2d1; --account-yellow: #ffc53b; --account-cyan: #51dbdf; position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); background: radial-gradient(ellipse at 50% 40%, #172637ae, #080a18ed); backdrop-filter: blur(8px) saturate(.65); touch-action: pan-y; }
.account-dialog { position: relative; width: min(100%, 900px); max-height: 100%; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #bd9453 var(--account-paper); border: 5px solid var(--account-ink); border-radius: 3px 14px 3px 3px; color: var(--account-ink); background: var(--account-paper); box-shadow: 9px 9px 0 var(--account-ink), 12px 12px 0 #ffc53b, 0 32px 100px #0008; animation: accountArrive .22s cubic-bezier(.2,.8,.2,1); overscroll-behavior: contain; }
.account-masthead { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 56px; padding: 8px 13px 8px 20px; border-bottom: 4px solid var(--account-ink); background: var(--account-ink); color: #fff2d1; }
.account-brand { font: 400 20px/.95 var(--font-display); letter-spacing: -.02em; transform: rotate(-2deg); white-space: nowrap; }
.account-brand b { color: var(--account-cyan); font-weight: inherit; }
.account-steps { display: flex; align-items: center; gap: 12px; font: 900 11px var(--font-ui); letter-spacing: .06em; }
.account-steps > span { color: #a6a5ae; }
.account-steps b { margin-left: 3px; }
.account-step-account { color: var(--account-yellow) !important; }
.account-dialog[data-screen=pirate] .account-step-pirate { color: var(--account-cyan); }
.account-dialog[data-screen=pirate] .account-step-account { color: #a6a5ae !important; }
.account-close { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid #080a15; border-radius: 3px; background: #fff2d1; color: #07111c; font: 900 27px/1 var(--font-ui); cursor: pointer; }
.account-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); }
.account-masthead { position: sticky; top: 0; z-index: 3; }
.account-cover-mobile { display: none; }
.account-cover { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; min-height: 500px; padding: 28px 30px 24px; border-right: 5px solid var(--account-ink); background: radial-gradient(circle at 14% 20%, #fff397 0, transparent 48%), linear-gradient(152deg, #ffc53b 25%, #f5a933 65%, #ef7141); }
.account-cover::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .25; background: radial-gradient(#38242b 1.2px, transparent 1.4px) 0 0 / 7px 7px; mask-image: linear-gradient(155deg, transparent 30%, #000 90%); }
.account-cover::after { content: ''; position: absolute; z-index: -1; width: 500px; height: 500px; left: -110px; top: -80px; background: repeating-conic-gradient(from 8deg, #fff4b340 0deg 8deg, transparent 8deg 20deg); }
.account-cover-label { padding: 5px 9px; border: 2px solid var(--account-ink); background: var(--account-paper); box-shadow: 3px 3px 0 var(--account-ink); font: 900 10px var(--font-ui); letter-spacing: .12em; transform: rotate(-3deg); }
.account-crest { width: 124px; height: 124px; align-self: center; margin: 18px 0 8px; filter: drop-shadow(4px 6px 0 #16162635); transform: rotate(7deg); }
.account-crest svg { display: block; width: 100%; height: 100%; }
.account-cover h3 { margin: 7px 0 0; font: 400 clamp(36px, 4.2vw, 55px)/.96 var(--font-display); letter-spacing: -.015em; transform: rotate(-3deg); }
.account-cover h3 em { color: #fff8e4; font-style: normal; -webkit-text-stroke: 2px #07111c; paint-order: stroke fill; text-shadow: 3px 4px 0 #07111c; }
.account-cover-tag { margin: 17px 0 0; padding: 6px 12px; color: #fff2d1; background: #07111c; font: 400 22px/1 var(--font-display); transform: rotate(-3deg); box-shadow: 4px 4px 0 #ed5b41; }
.account-cover > p { margin: 24px 0; font: 900 14px/1.4 var(--font-ui); }
.account-issue { margin-top: auto; font: 900 9px var(--font-ui); letter-spacing: .14em; border-top: 2px solid #07111c; padding-top: 12px; width: 100%; }
.account-content { min-width: 0; padding: 29px 32px 23px; background: radial-gradient(#b28d4c22 .7px, transparent .8px) 0 0 / 4px 4px, #fff2d1; }
.account-kicker { display: inline-block; color: #57514a; font: 900 10px var(--font-ui); letter-spacing: .14em; }
.account-content h2 { margin: 9px 0 10px; font: 400 clamp(30px, 3.8vw, 44px)/.95 var(--font-display); letter-spacing: -.02em; }
.account-copy { margin: 0 0 20px; color: #57514a; font-size: 13px; font-weight: 800; line-height: 1.4; }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 3px; border: 3px solid #07111c; background: #dccbab; margin: 0 0 18px; }
.account-tab { min-height: 36px; border: 0; padding: 5px 7px; background: transparent; color: #514b47; font: 900 12px var(--font-ui); cursor: pointer; }
.account-tab[aria-pressed=true] { color: #fff2d1; background: #07111c; box-shadow: 2px 2px 0 #947c54; }
.account-dialog[data-screen=signup] .account-tab[aria-pressed=true] { color: #07111c; background: #51dbdf; box-shadow: 2px 2px 0 #07111c; }
.account-form { display: grid; gap: 15px; }
.account-field { display: grid; gap: 6px; min-width: 0; color: #07111c; font: 900 11px var(--font-ui); letter-spacing: .035em; }
.account-field > span:first-child { text-transform: uppercase; }
.account-field input { min-width: 0; width: 100%; min-height: 44px; padding: 10px 12px; border: 3px solid #07111c; border-radius: 2px; color: #07111c; background: #fffaf0; box-shadow: 3px 3px 0 #d2b98a; font: 800 16px var(--font-ui); letter-spacing: 0; user-select: text; -webkit-user-select: text; }
.account-field input::placeholder { color: #82776b; font-size: 13px; font-weight: 700; }
.account-password { position: relative; display: flex; min-width: 0; }
.account-password input { padding-right: 81px; }
.account-password-toggle { position: absolute; right: 5px; top: 5px; bottom: 5px; min-width: 58px; padding: 3px 5px; border: 0; border-left: 2px solid #d7cdb9; background: #fffaf0; color: #545057; font: 900 9px var(--font-ui); cursor: pointer; }
.account-password-hint { margin: -3px 0; color: #686057; font-size: 11px; line-height: 1.4; font-weight: 700; }
.account-submit, .account-primary { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 49px; margin-top: 3px; padding: 11px 16px; border: 3px solid #07111c; border-radius: 2px; color: #07111c; background: #ffc53b; box-shadow: 4px 5px 0 #07111c; font: 400 19px/1.1 var(--font-display); letter-spacing: .035em; text-align: left; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; }
.account-submit i, .account-primary i { font: 900 24px/1 var(--font-ui); font-style: normal; }
.account-dialog[data-screen=signup] .account-submit { background: #51dbdf; }
.account-dialog button:hover:not(:disabled) { filter: brightness(1.06); }
.account-submit:hover:not(:disabled), .account-primary:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: 5px 6px 0 #07111c; }
.account-submit:active:not(:disabled), .account-primary:active:not(:disabled) { transform: translate(3px, 3px); box-shadow: 1px 2px 0 #07111c; }
.account-text-button { border: 0; padding: 6px 0; color: #4a4645; background: none; font: 900 11px var(--font-ui); text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.account-guest-footer { margin-top: 22px; padding-top: 13px; border-top: 2px solid #c7b894; }
.account-guest { font-size: 12px; text-decoration: none; color: #07111c; }
.account-guest span { margin-left: 9px; }
.account-guest-note { margin: 2px 0 0; color: #7a6c58; font-size: 10px; font-weight: 700; }
.account-feedback { margin: 18px 0 0; padding: 10px 12px; border: 2px solid #07111c; border-left-width: 6px; color: #631f22; background: #ffded1; font: 900 12px/1.4 var(--font-ui); overflow-wrap: anywhere; }
.account-feedback[data-tone=success] { color: #154c4d; background: #cbf2da; }
.account-confirmation { text-align: center; }
.account-mail-mark { display: inline-block; width: 84px; height: 70px; margin: 1px 0 12px; border: 3px solid #07111c; color: #07111c; background: #51dbdf; box-shadow: 5px 5px 0 #07111c; font: 900 55px/1.1 var(--font-ui); transform: rotate(-5deg); }
.account-confirmation h3 { margin: 8px 0 12px; font: 400 24px/1 var(--font-display); }
.account-confirmation p { color: #57514a; font-size: 13px; line-height: 1.5; font-weight: 800; overflow-wrap: anywhere; }
.account-confirmation-email { color: #07111c; }
.account-confirmation .account-confirmation-note { font-size: 11px; }
.account-confirmation-login { font-size: 15px; justify-content: center; }
.account-confirmation .account-resend { margin: 10px 0 0; text-align: center; }
.account-signed { display: grid; gap: 14px; }
.account-dialog[data-screen=pirate] .account-content h2 { font-size: 34px; }
.account-dialog[data-screen=pirate] .account-content h2 br { display: none; }
.account-dialog[data-screen=pirate] .account-copy { margin-bottom: 14px; }
.account-dialog[data-screen=pirate] .account-content { padding-top: 23px; padding-bottom: 18px; }
.account-character-preview { display: flex; align-items: center; gap: 14px; }
.account-character-art { position: relative; flex: 0 0 88px; height: 88px; display: grid; place-items: center; overflow: hidden; border: 3px solid #07111c; background: repeating-conic-gradient(#51dbdf 0deg 15deg, #91e9dc 15deg 30deg); box-shadow: 4px 4px 0 #07111c; transform: rotate(-3deg); }
.account-character-art > img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.account-character-art > span { position: absolute; font-size: 35px; }
.account-character-label { display: block; color: #6c6256; font-size: 8px; font-weight: 900; letter-spacing: .06em; }
.account-character-preview h3 { margin: 5px 0; font: 400 24px/1 var(--font-display); }
.account-character-preview p { margin: 0; color: #696052; font-size: 10px; font-weight: 800; line-height: 1.4; }
.account-crew-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.account-look { min-width: 0; padding: 0; border: 0; background: none; color: #736754; cursor: pointer; }
.account-look-art { display: grid; position: relative; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden; border: 3px solid #07111c; background: linear-gradient(135deg, var(--look-color, #51dbdf), #ffe2a4); box-shadow: 2px 3px 0 #07111c; transition: transform .12s; }
.account-look-art img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
.account-look-art i { position: absolute; font-size: 25px; }
.account-look-name { display: block; margin-top: 7px; font: 900 9px/1.2 var(--font-ui); overflow-wrap: anywhere; }
.account-look[aria-pressed=true] { color: #07111c; }
.account-look[aria-pressed=true] .account-look-art { box-shadow: 0 0 0 3px #ffc53b, 3px 4px 0 #07111c; transform: translateY(-3px); }
.account-look[aria-pressed=true] .account-look-art::after { content: '✓'; position: absolute; z-index: 2; bottom: 0; right: 0; width: 18px; height: 18px; display: grid; place-items: center; color: #07111c; background: #ffc53b; border-top: 2px solid #07111c; border-left: 2px solid #07111c; font: 900 12px/1 var(--font-ui); }
.account-import { padding: 10px 11px; border: 2px dashed #9b8058; background: #efdebb; }
.account-import label { display: flex; align-items: center; gap: 8px; font: 900 12px var(--font-ui); }
.account-import input { flex: 0 0 auto; width: 19px; height: 19px; margin: 0; accent-color: #07111c; }
.account-import p { margin: 5px 0 0 27px; color: #685c4c; font: 800 10px/1.4 var(--font-ui); }
.account-signed-footer { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.account-email { margin: 0; min-width: 0; color: #686057; font: 800 10px var(--font-ui); overflow-wrap: anywhere; }
.account-signed-footer button { flex: 0 0 auto; font-size: 10px; }
.account-open:focus-visible, .account-dialog button:focus-visible, .account-dialog input:focus-visible { outline: 3px solid #007986; outline-offset: 3px; }
.account-dialog input:focus-visible { box-shadow: 3px 3px 0 #51dbdf; }
.account-open:disabled, .account-dialog button:disabled, .account-dialog input:disabled { opacity: .6; cursor: wait; }
@keyframes accountArrive { from { opacity: 0; transform: translateY(14px) rotate(-.7deg); } to { opacity: 1; transform: none; } }
@media (max-height: 500px) and (min-width: 621px) {
  .account-overlay { padding: 10px 16px 14px; }
  .account-dialog { max-height: 100%; }
  .account-masthead { min-height: 40px; padding: 4px 10px 4px 16px; }
  .account-close { width: 28px; height: 28px; font-size: 23px; }
  .account-cover { padding: 18px 24px; min-height: 0; }
  .account-cover h3 { font-size: 34px; }
  .account-crest { width: 76px; height: 76px; margin: 8px 0 2px; }
  .account-cover-tag { margin-top: 14px; font-size: 18px; }
  .account-cover > p, .account-issue { display: none; }
  .account-content { padding: 10px 24px; }
  .account-content h2 { font-size: 29px; margin: 5px 0 7px; }
  .account-content h2 br { display: none; }
  .account-copy { display: none; }
  .account-dialog[data-screen=login] .account-kicker { display: none; }
  .account-dialog[data-screen=pirate] .account-content { padding: 10px 24px; }
  .account-dialog[data-screen=pirate] .account-content h2 { font-size: 29px; }
  .account-kicker { font-size: 8px; }
  .account-tabs { margin-bottom: 10px; }
  .account-tab { min-height: 28px; font-size: 11px; }
  .account-form { gap: 9px; }
  .account-field { gap: 4px; font-size: 9px; }
  .account-field input { min-height: 36px; padding-block: 5px; }
  .account-submit, .account-primary { min-height: 40px; padding: 8px 12px; font-size: 16px; }
  .account-guest-footer { margin-top: 14px; padding-top: 8px; }
  .account-guest-note { display: none; }
  .account-feedback { margin-top: 12px; padding: 6px 9px; font-size: 11px; }
  .account-character-art { flex-basis: 64px; height: 64px; }
  .account-character-preview { display: none; }
  .account-character-preview h3 { font-size: 21px; }
  .account-signed { gap: 10px; }
  .account-crew-grid { gap: 7px; }
  .account-look-art { max-height: 59px; }
  .account-look-name { font-size: 8px; margin-top: 5px; }
}
@media (max-width: 620px) {
  .account-overlay { padding: max(14px, env(safe-area-inset-top)) 12px max(18px, env(safe-area-inset-bottom)); }
  .account-dialog { box-shadow: 5px 6px 0 #07111c, 8px 9px 0 #ffc53b, 0 20px 50px #0008; }
  .account-masthead { gap: 8px; padding: 8px 10px; min-height: 48px; }
  .account-brand { font-size: 15px; }
  .account-steps { gap: 5px; font-size: 8px; letter-spacing: 0; }
  .account-steps b { margin-left: 1px; }
  .account-close { width: 29px; height: 29px; font-size: 23px; }
  .account-layout { grid-template-columns: minmax(0, 1fr); }
  .account-cover { min-height: 0; height: 97px; padding: 15px 18px; border-right: 0; border-bottom: 4px solid #07111c; }
  .account-cover-label { font-size: 8px; padding: 4px 7px; }
  .account-cover h3 { display: none; }
  .account-cover-mobile { display: block; margin-top: 13px; font: 400 20px/1 var(--font-display); transform: rotate(-2deg); }
  .account-cover h3 br { display: none; }
  .account-cover h3 em { -webkit-text-stroke-width: 1px; text-shadow: 2px 2px 0 #07111c; }
  .account-crest { position: absolute; right: 9px; top: 0; width: 84px; height: 84px; margin: 0; }
  .account-cover-tag, .account-cover > p, .account-issue { display: none; }
  .account-content { padding: 22px 20px 20px; }
  .account-content h2 { font-size: 37px; }
  .account-tabs { margin-bottom: 16px; }
  .account-crew-grid { gap: 6px; }
  .account-look-name { font-size: 8px; }
  .account-character-art { flex-basis: 74px; height: 74px; }
}
@media (prefers-reduced-motion: reduce) { .account-dialog { animation: none; } .account-dialog button, .account-look-art { transition: none; } }
