.sp-account-root {
  color-scheme: light;
  color: #242126;
  background: #fff;
  font: 400 16px/1.6 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
  line-break: strict;
  word-break: normal;
  text-align: left;
  box-sizing: border-box;
  isolation: isolate;
}
.sp-account-root *, .sp-account-root *::before, .sp-account-root *::after {box-sizing:border-box;}
.sp-account-root [hidden] {display:none!important;}
.sp-account-root button, .sp-account-root input {font:inherit;}
.sp-account-root button {cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;}
.sp-account-root button:disabled {cursor:default;opacity:.45;}
.sp-account-root button:focus-visible, .sp-account-root input:focus-visible, .sp-account-root summary:focus-visible {outline:2px solid #ed3972;outline-offset:3px;}
.sp-account-root svg, .sp-account-nav-button svg {width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;}
.sp-account-dialog {position:fixed;inset:0;width:min(620px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:0;border-radius:20px;box-shadow:0 20px 70px #22121b33;overflow:hidden;}
.sp-account-dialog[open] {display:flex;flex-direction:column;}
.sp-account-dialog::backdrop {background:#14101680;backdrop-filter:blur(5px);}
.sp-account-header {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 28px 12px;flex:none;}
.sp-account-header > div {display:flex;align-items:center;gap:12px;min-width:0;}
.sp-account-logo {display:block;width:152px;height:auto;max-width:42vw;object-fit:contain;}
.sp-account-test-label {display:inline-flex;align-items:center;min-height:24px;padding:1px 8px;border:1px solid #f4bed1;border-radius:5px;background:#fff5f8;color:#b62a59;font-size:12px;line-height:1.4;white-space:nowrap;}
.sp-account-close {display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#f7f5f7;color:#4e4850;flex:none;}
.sp-account-title {padding:2px 28px 18px;flex:none;}
.sp-account-title h1 {margin:0;color:#242126;font-size:22px;font-weight:750;line-height:1.4;}
.sp-account-content {min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 28px max(28px,env(safe-area-inset-bottom));}
.sp-account-welcome {padding:12px 0 6px;text-align:center;}
.sp-account-key {display:grid;place-items:center;width:72px;height:72px;margin:0 auto 18px;border-radius:50%;color:#ec326d;background:#fff0f5;}
.sp-account-key svg {width:34px;height:34px;stroke-width:1.6;}
.sp-account-welcome h2 {margin:0 0 22px;font-size:21px;line-height:1.5;font-weight:750;}
.sp-account-actions {display:grid;gap:12px;}
.sp-account-button {display:inline-flex;justify-content:center;align-items:center;min-height:44px;gap:8px;padding:10px 18px;border:1px solid #ddd8de;border-radius:8px;background:#fff;color:#302b32;font-size:14px;font-weight:650;line-height:1.5;text-decoration:none;white-space:normal;transition:background .15s;}
.sp-account-button.primary {background:#ec326d;color:#fff;border-color:#ec326d;}
.sp-account-button.primary:hover:not(:disabled) {background:#d9235d;}
.sp-account-button.secondary:hover:not(:disabled) {background:#faf7f9;}
.sp-account-button.quiet {min-height:40px;padding:8px 0;color:#55505a;background:transparent;border-color:transparent;font-weight:500;}
.sp-account-button.quiet:hover:not(:disabled) {color:#bd1d52;}
.sp-account-button.danger-text {background:transparent;border-color:transparent;color:#c12d43;padding-left:0;padding-right:0;font-weight:500;}
.sp-account-button.danger {color:#fff;background:#c82d48;border-color:#c82d48;}
.sp-account-muted {margin:10px 0;color:#777079;font-size:13px;line-height:1.8;}
.sp-account-privacy {margin-top:20px;text-align:left;}
.sp-account-warning {margin:18px 0 0;padding:12px 14px;border-radius:8px;background:#fff5e8;color:#76500d;font-size:14px;}
.sp-account-feedback {margin:0 0 18px;padding:12px 14px;border-radius:8px;background:#f0f8f4;color:#286142;font-size:14px;}
.sp-account-feedback[data-error="true"] {background:#fff1f3;color:#a42b45;}
.sp-account-feedback p {margin:0;}
.sp-account-feedback .sp-account-button {margin-top:10px;background:#fff;}
.sp-account-identity {display:flex;align-items:center;gap:12px;padding:4px 0 20px;border-bottom:1px solid #eee9ef;}
.sp-account-avatar {display:grid;place-items:center;width:46px;height:46px;border-radius:50%;color:#d83167;background:#fff0f5;flex:none;}
.sp-account-identity > div {min-width:0;flex:1;}
.sp-account-identity h2 {margin:0;color:#302b32;font-size:16px;font-weight:700;overflow-wrap:anywhere;}
.sp-account-signed-in {color:#827986;font-size:12px;}
.sp-account-identity > button {font-size:13px;flex:none;}
.sp-account-section {padding:22px 0;border-bottom:1px solid #eee9ef;}
.sp-account-section:last-child {border-bottom:0;padding-bottom:0;}
.sp-account-section h3 {margin:0 0 14px;font-size:16px;font-weight:750;line-height:1.5;color:#302b32;}
.sp-account-section-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;}
.sp-account-section-heading h3, .sp-account-section-heading .sp-account-muted {margin:0;}
.sp-account-optional {margin-left:8px;color:#837a87;font-size:12px;font-weight:400;}
.sp-account-toggle {position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;cursor:pointer;font-size:14px;color:#3c3540;}
.sp-account-toggle > span:first-child {flex:1;}
.sp-account-toggle input {position:absolute;right:0;width:44px;height:28px;opacity:0;}
.sp-account-switch {position:relative;width:44px;height:26px;border-radius:30px;background:#d9d4dc;pointer-events:none;flex:none;transition:background .15s;}
.sp-account-switch::after {content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .15s;}
.sp-account-toggle input:checked + .sp-account-switch {background:#ec326d;}
.sp-account-toggle input:checked + .sp-account-switch::after {transform:translateX(18px);}
.sp-account-toggle input:focus-visible + .sp-account-switch {outline:2px solid #ec326d;outline-offset:3px;}
.sp-account-row-action {margin-top:12px;}
.sp-account-row-action .sp-account-button {width:100%;}
.sp-account-passkeys {list-style:none;margin:0;padding:0;}
.sp-account-passkeys li {display:flex;align-items:center;gap:12px;padding:10px 0;color:#8a7180;}
.sp-account-passkeys strong {display:block;font-size:14px;font-weight:600;color:#3c3540;overflow-wrap:anywhere;}
.sp-account-passkeys small {display:block;color:#89818c;font-size:12px;}
.sp-account-add-key {display:flex;align-items:flex-end;gap:10px;margin-top:12px;}
.sp-account-add-key .sp-account-field {flex:1;min-width:0;}
.sp-account-add-key > button {flex:none;margin:0;}
.sp-account-field {display:block;margin:0 0 12px;}
.sp-account-field > span {display:block;margin-bottom:7px;color:#605765;font-size:13px;}
.sp-account-field input {display:block;width:100%;height:46px;padding:10px 12px;border:1px solid #ddd5df;border-radius:8px;background:#fff;color:#2a232e;font-size:16px;box-shadow:none;}
.sp-account-field input::placeholder {color:#a39aa7;opacity:1;}
.sp-account-field input:focus {border-color:#ed6090;outline:2px solid #fbdce7;outline-offset:0;}
.sp-account-field input:disabled {background:#faf8fa;}
.sp-account-add-key .sp-account-field {margin-bottom:0;}
.sp-account-status-badge {padding:3px 9px;border-radius:5px;background:#f3eff4;color:#726678;font-size:12px;white-space:nowrap;}
.sp-account-existing-email {margin:0 0 14px;color:#685b6d;font-size:14px;overflow-wrap:anywhere;}
.sp-account-consent {display:flex;align-items:flex-start;gap:9px;margin-top:16px;font-size:14px;color:#403744;cursor:pointer;}
.sp-account-consent input {width:18px;height:18px;margin:3px 0 0;accent-color:#ec326d;flex:none;}
#sp-account-notifications > .sp-account-button {min-width:104px;margin-top:5px;}
.sp-account-mail-actions {display:flex;gap:22px;flex-wrap:wrap;margin-top:14px;}
.sp-account-mail-actions .sp-account-button {font-size:13px;}
.sp-account-mailbox {margin-top:12px;border:1px solid #ebe4ed;border-radius:8px;padding:0 14px;background:#fcfafc;}
.sp-account-mail {padding:15px 0;border-bottom:1px solid #eae3ec;}
.sp-account-mail:last-child {border-bottom:0;}
.sp-account-mail-heading {display:flex;align-items:baseline;justify-content:space-between;gap:12px;}
.sp-account-mail-heading strong {font-size:14px;color:#413648;}
.sp-account-mail-heading time {font-size:12px;color:#938798;white-space:nowrap;}
.sp-account-mail > p {margin:8px 0;color:#6f6276;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;}
.sp-account-text-button {border:0;padding:8px 0;min-height:40px;background:none;color:#c32358;font-size:14px;font-weight:650;text-decoration:underline;text-underline-offset:3px;}
.sp-account-management summary {color:#746878;font-size:14px;cursor:pointer;min-height:32px;}
.sp-account-management-actions {display:grid;justify-items:start;gap:2px;margin-top:10px;}
.sp-account-management-actions .sp-account-button {font-size:14px;}
.sp-account-delete-confirm {margin-top:12px;padding:14px;border:1px solid #f0ccd4;border-radius:8px;background:#fff8f9;}
.sp-account-delete-confirm > p {margin:0 0 14px;color:#873a4d;font-size:14px;}
.sp-account-inline-actions {display:flex;gap:10px;}
.sp-account-inline-actions > button {flex:1;}
.sp-account-loading, .sp-account-busy {display:flex;align-items:center;justify-content:center;gap:10px;min-height:80px;color:#8a7d90;font-size:14px;}
.sp-account-busy {min-height:44px;padding-top:16px;}
.sp-account-loading > span, .sp-account-busy > span {width:18px;height:18px;border:2px solid #f3d6e1;border-top-color:#e73773;border-radius:50%;animation:sp-account-spin .7s linear infinite;}
@keyframes sp-account-spin {to {transform:rotate(360deg);}}
.bottom-nav[data-account-nav="true"], .app-bottom-nav[data-account-nav="true"], [data-app-bottom-nav][data-account-nav="true"] {grid-template-columns:repeat(var(--account-nav-columns,5),minmax(0,1fr));}
.sp-account-nav-button {color:inherit;}
.sp-account-nav-button > span {white-space:nowrap;}
body.sp-account-page {margin:0;min-height:100dvh;background:#f8f6f8;color:#242126;overflow:auto;}
.sp-account-standalone {display:flex;flex-direction:column;width:min(620px,100%);min-height:calc(100dvh - 48px);margin:24px auto;border-radius:18px;border:1px solid #eee7ef;}
.sp-account-standalone .sp-account-content {overflow:visible;}
@media (max-width:600px) {
  .sp-account-dialog {inset:auto 0 0;width:100%;max-height:92dvh;border-radius:20px 20px 0 0;margin:0;}
  .sp-account-header {padding:18px 20px 10px;}
  .sp-account-title {padding:2px 20px 16px;}
  .sp-account-content {padding:0 20px max(26px,env(safe-area-inset-bottom));}
  .sp-account-dialog .sp-account-header::before {content:"";position:absolute;top:7px;left:50%;width:30px;height:3px;transform:translateX(-50%);border-radius:4px;background:#e4dde6;}
  .sp-account-logo {width:135px;}
  .sp-account-header > div {gap:10px;}
  .sp-account-test-label {font-size:12px;padding:2px 6px;}
  .sp-account-title h1 {font-size:21px;}
  .sp-account-add-key {display:grid;grid-template-columns:1fr;}
  .sp-account-add-key > button {justify-self:start;}
  .sp-account-standalone {min-height:100dvh;margin:0;border:0;border-radius:0;}
  .sp-account-standalone .sp-account-header {padding-top:max(18px,env(safe-area-inset-top));}
  .sp-account-nav-button > span {font-size:10px;letter-spacing:0;}
}
@media (prefers-reduced-motion:reduce) {.sp-account-root * {transition:none!important;}.sp-account-loading > span,.sp-account-busy > span {animation-duration:1.4s;}}

/* Native dialogs are top-layer elements, outside the app's rotated stage. */
.sp-account-dialog .sp-account-content {flex:1 1 auto;min-height:0;overflow:auto;}
@media (orientation:landscape) {
  .sp-account-dialog {
    inset:0;
    width:min(620px,calc(var(--app-width,100vw) - 32px));
    max-width:calc(var(--app-width,100vw) - 24px);
    max-height:calc(var(--app-height,100dvh) - 24px);
    min-height:0;
    margin:auto;
    border-radius:16px;
    transform:none;
  }
}
body:not(.sp-account-page):is(.is-landscape,.force-landscape) .sp-account-dialog {
  --sp-account-inline-size:var(--app-width,100vw);
  --sp-account-block-size:var(--app-height,100dvh);
  position:fixed;
  inset:0;
  width:min(620px,calc(var(--sp-account-inline-size) - 32px));
  max-width:calc(var(--sp-account-inline-size) - 24px);
  max-height:calc(var(--sp-account-block-size) - 24px);
  min-height:0;
  margin:auto;
  border-radius:16px;
  transform:none;
}
body.force-landscape:not(.is-landscape):not(.sp-account-page) .sp-account-dialog {
  --sp-account-inline-size:var(--app-height,100dvh);
  --sp-account-block-size:var(--app-width,100vw);
  inset:auto;
  left:calc(var(--app-width,100vw)/2);
  top:calc(var(--app-height,100dvh)/2);
  margin:0;
  transform:translate(-50%,-50%) rotate(90deg);
  transform-origin:center;
  animation:none!important;
}

.sp-account-guest-form {text-align:left;}
.sp-account-guest-form > .sp-account-button {width:100%;margin-top:22px;}
.sp-account-guest-form > .sp-account-muted {margin-top:0;}
.sp-account-id-input {position:relative;}
.sp-account-id-input > b {position:absolute;left:13px;top:11px;color:#8f8295;font-size:16px;font-weight:400;pointer-events:none;}
.sp-account-id-input > input {padding-left:35px;}
.sp-account-back-action {display:flex;justify-content:center;margin-top:12px;}
.sp-account-back-action > .sp-account-button {font-size:13px;}
.sp-account-recovery-note {margin:0 0 22px;color:#716575;font-size:14px;}
.sp-account-verification {margin-bottom:22px;padding:16px;border:1px solid #f2d3df;border-radius:9px;background:#fff6fa;}
.sp-account-verification h2 {margin:0 0 7px;font-size:16px;font-weight:700;}
.sp-account-verification p {margin:0 0 12px;color:#756378;font-size:14px;}
.sp-account-mail-preview-link {display:block;width:max-content;margin:20px auto 0;color:#8b7d91;font-size:13px;text-decoration:underline;text-underline-offset:3px;}

.sp-account-welcome {padding:0;text-align:left;}
.sp-account-welcome h2 {font-size:18px;margin:0 0 14px;}
.sp-account-welcome .sp-account-actions {gap:10px;}
.sp-account-guest-form > .sp-account-button {margin-top:14px;}
.sp-account-title {padding-bottom:12px;}
.sp-account-privacy {margin:14px 0 0;font-size:12px;}
.sp-account-back-action {margin-top:8px;}
.sp-account-signup-destination {margin:0 0 14px;color:#706775;font-size:14px;overflow-wrap:anywhere;}
.sp-account-signup-destination > span {margin-left:7px;font-size:12px;color:#6d8071;white-space:nowrap;}
.sp-account-inline-links {display:flex;justify-content:space-between;gap:12px;margin-top:8px;}
.sp-account-inline-links > .sp-account-button {font-size:13px;}
.sp-account-code-alternative,.sp-account-test-mail {margin-top:16px;text-align:left;}
.sp-account-code-alternative > summary,.sp-account-test-mail > summary {color:#86768d;font-size:13px;cursor:pointer;}
.sp-account-code-alternative > form {margin-top:12px;}
.sp-account-test-mail .sp-account-mail strong {font-size:14px;}
#sp-account-signup-code-input,#sp-account-email-code-input {font-variant-numeric:tabular-nums;letter-spacing:.22em;}
.sp-account-settings > summary {color:#605268;font-size:14px;cursor:pointer;min-height:32px;}
.sp-account-settings-body > .sp-account-section {padding:18px 0;}
.sp-account-settings-body > .sp-account-section:last-child {padding-bottom:0;border-bottom:0;}
.sp-account-email-code {margin-top:16px;}
.sp-account-main-mail > .sp-account-existing-email {margin-bottom:10px;}

.sp-account-inline-mail-edit {padding:0;margin-left:7px;border:0;background:none;color:#8b7d91;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px;}

/* Account preview navigation: five equal tabs, selected glyphs replace underlines. */
[data-account-nav="true"] [data-sp-nav-role]::after {content:none!important;display:none!important;}
[data-account-nav="true"] [data-sp-nav-role] svg {flex:none;}
[data-account-nav="true"] .sp-nav-outline {fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
[data-account-nav="true"] .sp-nav-filled {display:none;fill:currentColor;stroke:none;}
[data-account-nav="true"] :is(.is-active,[aria-expanded="true"]) > svg .sp-nav-outline {display:none;}
[data-account-nav="true"] :is(.is-active,[aria-expanded="true"]) > svg .sp-nav-filled {display:inline;}
[data-account-nav="true"] [data-account-nav-button][aria-expanded="true"] {color:var(--pink,#ed2870);font-weight:800;}
