/* BoyWoofy accounts: sign-in sheet, account chip, shared bits */
.bw-sheet [hidden], [data-bw-account] [hidden] { display: none !important; }
.bw-sheet { --ink: #1D1A1F; --paper: #FFFDF8; --tangerine: #E8893A; --pink-2: #C93A72; --butter: #FFE08A; --mint: #A8DCC0;
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: end center; font-family: "Nunito", system-ui, -apple-system, sans-serif; color: var(--ink); }
.bw-sheet[hidden] { display: none; }
.bw-sheet__backdrop { position: absolute; inset: 0; background: rgba(29, 26, 31, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: bwfade .2s ease-out; }
.bw-sheet__card { position: relative; width: 100%; max-width: 440px; background: var(--paper); border: 3px solid var(--ink); border-bottom: 0; border-radius: 28px 28px 0 0; padding: 22px 22px calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 0 rgba(29, 26, 31, .15); animation: bwup .35s cubic-bezier(.3, 1.3, .5, 1); max-height: 92vh; overflow-y: auto; }
@media (min-width: 600px) { .bw-sheet { place-items: center; } .bw-sheet__card { border-bottom: 3px solid var(--ink); border-radius: 28px; box-shadow: 8px 8px 0 var(--ink); } }
@keyframes bwup { from { transform: translateY(40%); opacity: 0; } }
@keyframes bwfade { from { opacity: 0; } }
.bw-sheet__icon { width: 58px; height: 58px; border-radius: 16px; border: 2.5px solid var(--ink); display: block; margin: 0 auto 10px; }
.bw-sheet h2 { font-family: "Fredoka", ui-rounded, system-ui, sans-serif; font-weight: 700; font-size: 25px; line-height: 1.1; margin: 0 0 6px; text-align: center; }
.bw-lede { margin: 0 0 16px; text-align: center; font-size: 15.5px; line-height: 1.45; color: #4A4450; }
.bw-label { display: block; font-family: "Fredoka", ui-rounded, system-ui, sans-serif; font-weight: 600; font-size: 14px; margin: 0 0 6px; }
.bw-sheet input[type="email"], .bw-sheet input[type="text"], .bw-sheet textarea, .bw-sheet select, .bw-input {
  width: 100%; box-sizing: border-box; font: 600 17px/1.3 "Nunito", system-ui, sans-serif; color: var(--ink); background: #fff;
  border: 2.5px solid var(--ink); border-radius: 14px; padding: 12px 14px; margin: 0 0 12px; -webkit-appearance: none; appearance: none; }
.bw-sheet textarea { min-height: 110px; resize: vertical; font-weight: 500; }
.bw-sheet input:focus, .bw-sheet textarea:focus, .bw-sheet select:focus, .bw-input:focus { outline: 3px dashed var(--pink-2); outline-offset: 2px; }
.bw-code { text-align: center; font-family: ui-monospace, "SF Mono", Menlo, monospace !important; font-size: 30px !important; letter-spacing: .4em; padding-left: .4em !important; }
.bw-btn { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; font-family: "Fredoka", ui-rounded, system-ui, sans-serif; font-weight: 700; font-size: 19px; color: var(--ink);
  padding: 12px 20px; border-radius: 999px; border: 3px solid var(--ink); background: var(--tangerine); box-shadow: 4px 4px 0 var(--ink); cursor: pointer; margin-top: 4px; }
.bw-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.bw-btn[disabled] { opacity: .6; cursor: progress; }
.bw-fine { margin: 14px 0 0; text-align: center; font-size: 13.5px; color: #5A5460; line-height: 1.5; }
.bw-fine a, .bw-link { color: #2F5F9E; font-weight: 700; }
.bw-link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
.bw-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; margin: 2px 0 14px; cursor: pointer; }
.bw-check input { width: 22px; height: 22px; accent-color: var(--tangerine); flex-shrink: 0; margin: 0; }
.bw-err { margin: 10px 0 0; text-align: center; color: #B23A3A; font-weight: 700; font-size: 14.5px; min-height: 0; }
.bw-err:empty { display: none; }
.bw-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid var(--ink); background: #fff; font-size: 15px; line-height: 1; cursor: pointer; color: var(--ink); }
.bw-ts { display: flex; justify-content: center; margin: 0 0 6px; min-height: 0; }
.bw-done { text-align: center; font-size: 46px; margin: 4px 0 2px; }

/* account chip in navs */
.bw-chip { display: inline-flex; align-items: center; gap: 6px; font-family: "Fredoka", ui-rounded, system-ui, sans-serif; font-weight: 600; font-size: 15px; line-height: 1; color: #1D1A1F;
  border: 2.5px solid #1D1A1F; border-radius: 999px; padding: 6px 12px; background: #FFE08A; text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: 2px 2px 0 #1D1A1F; }
.bw-chip img { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #1D1A1F; }
.bw-chip--in { background: #A8DCC0; }

/* toast */
.bw-toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(30px); opacity: 0; z-index: 1100; background: #1D1A1F; color: #fff;
  font: 700 15px/1.3 "Fredoka", system-ui, sans-serif; padding: 10px 18px; border-radius: 999px; transition: .25s; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.bw-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
