/* ArtisanNest auth-only finish: every frame and botanical accent is SVG/CSS.
   Photographs appear solely in #login-slide and #reg-slide. */
#s-login.screen,
#s-reg.screen {
  box-sizing: border-box !important;
  width: 100% !important;
  height: var(--auth-visible-height, 100dvh) !important;
  max-height: none !important;
  inset: 0 !important;
  overflow: hidden !important;
  background:
    radial-gradient(ellipse at 50% 0, rgba(106, 143, 42, .3), transparent 44%),
    radial-gradient(ellipse at 50% 100%, #183811 0, #08220f 52%, #06160c 100%) !important;
  color: #fff2d1 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  overscroll-behavior: none;
}

#s-login.screen *, #s-login.screen *::before, #s-login.screen *::after,
#s-reg.screen *, #s-reg.screen *::before, #s-reg.screen *::after {
  box-sizing: border-box !important;
  font-family: Georgia, "Times New Roman", serif !important;
}

#s-login .auth-wrap.an-wrap,
#s-reg .auth-wrap.an-wrap {
  --wood-lines:
    repeating-linear-gradient(176deg, transparent 0 7px, rgba(255, 225, 166, .11) 8px, transparent 10px 17px),
    repeating-linear-gradient(2deg, transparent 0 19px, rgba(38, 13, 5, .23) 20px, transparent 22px 34px);
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  width: min(100%, 620px) !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  background:
    radial-gradient(ellipse at 14% 18%, rgba(122, 164, 51, .16), transparent 32%),
    radial-gradient(ellipse at 88% 52%, rgba(90, 138, 39, .13), transparent 38%),
    linear-gradient(145deg, #0e3013, #09210e 48%, #12350f) !important;
}

#s-login .auth-slide.an-hero,
#s-reg .auth-slide.an-hero {
  position: relative !important;
  z-index: 1;
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  height: clamp(234px, 54vw, 312px) !important;
  max-height: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 0 24px 24px !important;
  background: #12350f !important;
  box-shadow: 0 14px 27px rgba(0, 0, 0, .42), 0 2px 0 rgba(242, 196, 89, .52);
}

#s-login .auth-slide .slide,
#s-reg .auth-slide .slide {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background-position: center 47% !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  opacity: 0 !important;
  transition: opacity .85s ease !important;
}

#s-login .auth-slide .slide.on,
#s-reg .auth-slide .slide.on {
  opacity: 1 !important;
}

#s-login .auth-overlay,
#s-reg .auth-overlay {
  position: absolute !important;
  z-index: 2;
  inset: 0 !important;
  display: block !important;
  pointer-events: none !important;
  background:
    linear-gradient(180deg, rgba(3, 14, 7, .08) 2%, rgba(5, 20, 8, .05) 37%, rgba(5, 20, 8, .8) 100%),
    radial-gradient(ellipse at center, transparent 24%, rgba(5, 19, 8, .25) 100%) !important;
}

#s-login .auth-logo.an-logo,
#s-reg .auth-logo.an-logo {
  position: absolute !important;
  z-index: 4;
  inset: 13px 12px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  text-align: center !important;
}

#s-login .an-logo .an-roof,
#s-reg .an-logo .an-roof {
  display: block !important;
  flex: 0 0 auto;
  width: clamp(120px, 34vw, 180px) !important;
  height: clamp(54px, 15vw, 82px) !important;
  margin: 0 0 -9px !important;
  overflow: visible !important;
}

#s-login .auth-logo .logo-txt,
#s-reg .auth-logo .logo-txt {
  display: block !important;
  font-size: clamp(38px, 11.2vw, 60px) !important;
  font-weight: 700 !important;
  line-height: .98 !important;
  letter-spacing: -1.4px !important;
  white-space: nowrap !important;
  text-shadow: 0 3px 0 #13230d, 0 5px 13px #081307, 0 0 21px rgba(0, 0, 0, .5);
}

#s-login .brand-artisan, #s-reg .brand-artisan {
  color: #fff8e8 !important;
}
#s-login .brand-nest, #s-reg .brand-nest {
  color: #76d13b !important;
}

#s-login .an-swoosh,
#s-reg .an-swoosh {
  display: block !important;
  width: min(72%, 350px) !important;
  height: 17px !important;
  margin: -1px 0 4px !important;
}

#s-login .auth-logo p,
#s-reg .auth-logo p {
  max-width: 95%;
  margin: 2px auto 0 !important;
  color: #fff2d3 !important;
  font-size: clamp(16px, 4.2vw, 22px) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: .08px;
  text-shadow: 0 2px 5px #0b1004, 0 1px 1px #0b1004;
}
#s-login .auth-logo p .an-ico,
#s-reg .auth-logo p .an-ico {
  display: inline-block !important;
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  margin-inline-start: 5px;
  vertical-align: -4px;
}

#s-login .an-defs, #s-reg .an-defs {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

#s-login .auth-body.an-body,
#s-reg .auth-body.an-body {
  position: relative !important;
  z-index: 2;
  display: block !important;
  flex: 1 1 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 12px clamp(14px, 3.4vw, 23px) calc(27px + env(safe-area-inset-bottom, 0px)) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  color: #fff0cb !important;
  background:
    radial-gradient(ellipse at 50% 5%, rgba(69, 119, 34, .23), transparent 48%),
    linear-gradient(180deg, rgba(6, 28, 12, .36), rgba(9, 35, 13, .16)) !important;
}
#s-login .auth-body::-webkit-scrollbar, #s-reg .auth-body::-webkit-scrollbar { display: none; }

/* Layered, hand-drawn vector grain. This is SVG path code, not a texture image. */
#s-login .field, #s-reg .field,
#s-login .captcha-q, #s-reg .captcha-q,
#s-login .captcha-inp, #s-reg .captcha-inp,
#s-reg .country-row {
  --wood-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 96' preserveAspectRatio='none'%3E%3Cpath d='M-10 17C56 5 96 23 164 14s127 5 270-8M-8 31c59-10 104 10 178 0s130 3 260-6M-6 45c67-7 102 7 172-1s123 2 258-4M-9 65c61-9 103 8 170 0s130 1 260-7M-5 82c62-8 110 7 179-1s128 2 255-7' fill='none' stroke='%23f7d89a' stroke-opacity='.14' stroke-width='1'/%3E%3Cpath d='M-8 24c71 8 110-13 174-6s119 11 260 2M-6 54c68 8 106-9 171-2s128 8 256-1M-7 74c65 8 106-8 173-2s122 7 255 0' fill='none' stroke='%2332120a' stroke-opacity='.48' stroke-width='1.4'/%3E%3Cellipse cx='292' cy='49' rx='19' ry='7' fill='none' stroke='%232c1009' stroke-opacity='.36'/%3E%3Cellipse cx='292' cy='49' rx='11' ry='3.5' fill='none' stroke='%23f7d89a' stroke-opacity='.19'/%3E%3C/svg%3E");
  position: relative !important;
  isolation: isolate;
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 55px !important;
  margin: 0 0 11px !important;
  padding: 7px 14px !important;
  overflow: hidden !important;
  border: 2px solid #d5a44a !important;
  border-radius: 22px !important;
  color: #fff2d2 !important;
  background:
    linear-gradient(176deg, rgba(253, 208, 126, .28) 0, transparent 15%, transparent 77%, rgba(25, 9, 3, .38) 100%),
    var(--wood-lines) 50% 50% / 100% 100% repeat,
    linear-gradient(102deg, #482111 0%, #8a4b21 18%, #623116 38%, #a6622b 58%, #643316 76%, #462011 100%) !important;
  box-shadow:
    inset 0 2px 2px rgba(255, 232, 168, .78),
    inset 0 4px 7px rgba(255, 224, 140, .22),
    inset 0 -4px 5px rgba(29, 11, 4, .68),
    0 4px 9px rgba(0, 0, 0, .34) !important;
}

#s-login .field::after, #s-reg .field::after,
#s-login .captcha-q::after, #s-reg .captcha-q::after,
#s-login .captcha-inp::after, #s-reg .captcha-inp::after,
#s-reg .country-row::after {
  position: absolute;
  z-index: 0;
  inset: 4px;
  border: 1px solid rgba(255, 213, 132, .23);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

#s-login .field:focus-within, #s-reg .field:focus-within,
#s-login .captcha-inp:focus, #s-reg .captcha-inp:focus,
#s-reg .country-row:focus-visible {
  border-color: #ffe89c !important;
  box-shadow: inset 0 2px 5px rgba(41, 15, 5, .52), 0 0 0 3px rgba(246, 205, 107, .22), 0 5px 12px rgba(0, 0, 0, .35) !important;
}

#s-login .field .fi, #s-reg .field .fi,
#s-login .field .fi svg, #s-reg .field .fi svg {
  z-index: 1;
  display: grid !important;
  flex: 0 0 30px !important;
  width: 30px !important;
  height: 34px !important;
  place-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #ffe2a5 !important;
  font-size: 20px !important;
}

#s-login .field input, #s-reg .field input,
#s-login .captcha-inp, #s-reg .captcha-inp,
#s-reg #cp-search {
  z-index: 1;
  flex: 1 1 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  color: #fff2d9 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  caret-color: #fff0a6;
}
#s-login .field input::placeholder, #s-reg .field input::placeholder,
#s-login .captcha-inp::placeholder, #s-reg .captcha-inp::placeholder,
#s-reg #cp-search::placeholder {
  color: rgba(255, 239, 208, .88) !important;
  opacity: 1 !important;
}

#s-login .field .eye, #s-reg .field .eye {
  z-index: 1;
  display: grid !important;
  flex: 0 0 40px !important;
  width: 40px !important;
  min-width: 40px !important;
  height: 42px !important;
  place-items: center !important;
  padding: 7px !important;
  border-radius: 50% !important;
  cursor: pointer;
}
#s-login .field .eye svg, #s-reg .field .eye svg {
  width: 29px !important;
  height: 24px !important;
  overflow: visible;
  fill: #ffe7b3;
  stroke: #4b230b;
  stroke-width: 1.25;
}

#s-login .auth-hl, #s-reg .auth-hl {
  position: relative;
  z-index: 3;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px 8px !important;
  margin: 0 1px 5px !important;
  padding: 5px 6px 3px !important;
  color: #f8dca5 !important;
  text-align: center !important;
  font-size: clamp(19px, 5vw, 25px) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 2px 2px #261202;
}
#s-login .auth-hl small {
  flex: 0 0 100%;
  color: #f5e7cd !important;
  font-size: clamp(14px, 3.7vw, 18px) !important;
  line-height: 1.2 !important;
  font-weight: 600;
}
#s-login .auth-hl .an-ico, #s-reg .auth-hl .an-ico {
  flex: 0 0 22px;
  width: 22px !important;
  height: 22px !important;
}

#s-login .an-divider, #s-reg .an-divider {
  display: flex !important;
  justify-content: center;
  align-items: center;
  height: 30px;
  margin: -3px 0 6px;
}
#s-login .an-divider svg, #s-reg .an-divider svg {
  width: 46px;
  height: 30px;
  overflow: visible;
}
#s-login .an-divider svg path:first-child, #s-reg .an-divider svg path:first-child { fill: url(#lg-lf); }
#s-reg .an-divider svg path:first-child { fill: url(#rg-lf); }
#s-login .an-divider svg path:last-child, #s-reg .an-divider svg path:last-child { stroke: #daef8f; }

#s-login .captcha-row, #s-reg .captcha-row {
  position: relative;
  z-index: 3;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
}
#s-login .captcha-q, #s-reg .captcha-q {
  flex: 1 1 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  min-height: 65px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 7px 8px !important;
  justify-content: center !important;
  text-align: center !important;
  cursor: pointer;
  font-size: clamp(19px, 5.1vw, 25px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}
#s-login .captcha-q > span, #s-reg .captcha-q > span { z-index: 1; min-width: 0; word-break: keep-all; }
#s-login .captcha-q small, #s-reg .captcha-q small {
  display: block;
  margin-top: 2px;
  color: #ffe3ac;
  font-size: 12px !important;
  font-weight: 500;
  line-height: 1.2;
}
#s-login .captcha-inp, #s-reg .captcha-inp {
  flex: 1 1 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  min-height: 65px !important;
  height: auto !important;
  padding: 8px 15px !important;
  border: 2px solid #d5a44a !important;
  border-radius: 22px !important;
  background:
    linear-gradient(176deg, rgba(253, 208, 126, .28), transparent 20%, transparent 78%, rgba(25, 9, 3, .38)),
    var(--wood-lines) center / 100% 100% repeat,
    linear-gradient(102deg, #482111, #965323 34%, #683618 74%, #462011) !important;
  box-shadow: inset 0 2px 2px rgba(255, 232, 168, .75), inset 0 -4px 5px rgba(29, 11, 4, .64), 0 4px 9px rgba(0, 0, 0, .3) !important;
  font-size: 17px !important;
}

#s-login .an-btnwrap, #s-reg .an-btnwrap {
  position: relative !important;
  z-index: 4;
  width: 100% !important;
  min-width: 0 !important;
  margin: 4px 0 10px !important;
  padding: 0 !important;
  overflow: visible !important;
}
#s-login .btn-auth, #s-reg .btn-auth {
  --wood-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 96'%3E%3Cpath d='M-10 17C56 5 96 23 164 14s127 5 270-8M-8 31c59-10 104 10 178 0s130 3 260-6M-6 45c67-7 102 7 172-1s123 2 258-4M-9 65c61-9 103 8 170 0s130 1 260-7M-5 82c62-8 110 7 179-1s128 2 255-7' fill='none' stroke='%23f7d89a' stroke-opacity='.14'/%3E%3Cpath d='M-8 24c71 8 110-13 174-6s119 11 260 2M-6 54c68 8 106-9 171-2s128 8 256-1M-7 74c65 8 106-8 173-2s122 7 255 0' fill='none' stroke='%2332120a' stroke-opacity='.48' stroke-width='1.5'/%3E%3C/svg%3E");
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 75px !important;
  padding: 12px 58px !important;
  overflow: visible !important;
  border: 2.5px solid #dcb44f !important;
  border-radius: 24px !important;
  color: #ffe9b9 !important;
  background:
    linear-gradient(180deg, rgba(255, 220, 142, .24), transparent 24%, transparent 74%, rgba(20, 7, 2, .4)),
    var(--wood-lines) center / 100% 100% repeat,
    linear-gradient(102deg, #462012, #9c5627 21%, #653216 46%, #a15b28 70%, #4a2111) !important;
  box-shadow: inset 0 2px 3px rgba(255, 236, 180, .77), inset 0 -5px 7px rgba(27, 8, 3, .67), 0 6px 13px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 226, 140, .35) !important;
  cursor: pointer;
  font-size: clamp(28px, 7.3vw, 39px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: .1px;
  text-shadow: 0 2px 1px #321609, 0 1px 8px rgba(255, 214, 131, .26);
  -webkit-tap-highlight-color: transparent;
}
#s-login .btn-auth:focus-visible, #s-reg .btn-auth:focus-visible {
  outline: 3px solid #ffebad !important;
  outline-offset: 3px;
}
#s-login .an-bico, #s-reg .an-bico {
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  color: #f7e4ba;
}
#s-login .an-sprig, #s-reg .an-sprig {
  position: absolute;
  z-index: 5;
  display: block;
  width: 103px !important;
  height: 96px !important;
  overflow: visible !important;
  pointer-events: none !important;
}
#s-login .an-s-bl, #s-reg .an-s-bl { left: -15px; bottom: -16px; transform: rotate(-8deg); }
#s-login .an-s-br, #s-reg .an-s-br { right: -15px; bottom: -16px; transform: scaleX(-1) rotate(-8deg); }
#s-login .an-sprig use, #s-reg .an-sprig use { fill: url(#lg-lf); }
#s-reg .an-sprig use { fill: url(#rg-lf); }

#s-login .auth-switch, #s-reg .auth-switch {
  position: relative;
  z-index: 3;
  margin: 7px auto !important;
  color: #fff1ce !important;
  text-align: center !important;
  font-size: clamp(16px, 4.3vw, 20px) !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  text-shadow: 0 1px 2px #241406;
}
#s-login .auth-switch a, #s-reg .auth-switch a {
  display: inline-block;
  padding: 1px 2px;
  color: #79d643 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-underline-offset: 3px;
  cursor: pointer;
}
#s-login .auth-switch a:focus-visible, #s-reg .auth-switch a:focus-visible {
  outline: 2px solid #e3eeaa;
  border-radius: 4px;
}

#s-login .an-edges, #s-reg .an-edges {
  position: absolute !important;
  z-index: 0 !important;
  inset: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
#s-login .an-cluster, #s-reg .an-cluster {
  position: absolute !important;
  display: block !important;
  width: 90px !important;
  height: 128px !important;
  overflow: visible !important;
  opacity: .92;
  pointer-events: none !important;
}
#s-login .an-c-tl, #s-reg .an-c-tl { top: 83px; left: -39px; transform: rotate(46deg) scale(.82); }
#s-login .an-c-tr, #s-reg .an-c-tr { top: 83px; right: -39px; transform: scaleX(-1) rotate(46deg) scale(.82); }
#s-login .an-c-ml, #s-reg .an-c-ml { top: 345px; left: -50px; transform: rotate(61deg) scale(.74); opacity: .72; }
#s-login .an-c-mr, #s-reg .an-c-mr { top: 345px; right: -50px; transform: scaleX(-1) rotate(61deg) scale(.74); opacity: .72; }

#s-login .an-plank, #s-reg .an-plank {
  position: relative !important;
  z-index: 2;
  display: block !important;
  flex: 0 0 55px;
  width: calc(100% + 42px) !important;
  height: 55px !important;
  margin: 16px -21px calc(-27px - env(safe-area-inset-bottom, 0px)) !important;
  border-top: 4px solid #e5b957;
  border-radius: 48% 48% 0 0 / 28px 28px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 223, 153, .3), transparent 22%),
    var(--wood-lines) 50% 50% / 100% 100% repeat,
    linear-gradient(90deg, #49200e, #995626 15%, #613114 48%, #9a5426 75%, #40190b) !important;
  box-shadow: inset 0 3px 5px rgba(255, 225, 151, .55), 0 -3px 9px rgba(8, 16, 4, .55);
  overflow: visible !important;
}
#s-login .an-plank .an-sprig, #s-reg .an-plank .an-sprig {
  bottom: 10px;
  width: 72px !important;
  height: 86px !important;
}
#s-login .an-s-pl, #s-reg .an-s-pl { left: 12px; }
#s-login .an-s-pr, #s-reg .an-s-pr { right: 12px; transform: scaleX(-1); }

/* Reference-style carved register plaque; its type and leaves remain live DOM/SVG. */
#s-reg .an-banner {
  isolation: isolate;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-height: 74px;
  margin: 0 0 12px !important;
  padding: 12px 24px !important;
  overflow: visible !important;
  border: 2px solid #eac35c !important;
  border-radius: 42% 11% 40% 12% / 24% 50% 25% 48% !important;
  color: #fff0c4 !important;
  background:
    linear-gradient(170deg, rgba(255, 230, 148, .26), transparent 31%, transparent 75%, rgba(30, 8, 2, .4)),
    var(--wood-lines) center / 100% 100% repeat,
    linear-gradient(94deg, #462012 0, #945124 23%, #673519 51%, #a35e2c 78%, #4b2212 100%) !important;
  box-shadow: inset 0 3px 4px rgba(255, 237, 176, .7), inset 0 -4px 6px rgba(33, 11, 3, .67), 0 5px 13px rgba(0, 0, 0, .42) !important;
  font-size: clamp(18px, 4.6vw, 23px) !important;
  line-height: 1.12 !important;
  text-shadow: 0 2px #341608;
}
#s-reg .an-banner .an-banner-t {
  position: relative;
  z-index: 2;
  display: block;
  min-width: 0;
  color: #fff0cb !important;
  font-size: inherit !important;
  font-weight: 700;
  line-height: inherit !important;
}
#s-reg .an-banner .an-ico { width: 30px !important; height: 30px !important; flex: 0 0 30px; }
#s-reg .an-banner .an-sprig { width: 68px !important; height: 81px !important; bottom: -20px; }
#s-reg .an-s-hl { left: -14px; transform: rotate(10deg); }
#s-reg .an-s-hr { right: -14px; transform: scaleX(-1) rotate(10deg); }

#s-reg .country-row {
  position: relative !important;
  z-index: 5;
  min-height: 55px !important;
  cursor: pointer;
}
#s-reg .cflag {
  z-index: 1;
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 38px;
  place-items: center;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif !important;
  font-size: 25px;
}
#s-reg .cp-trigger-row {
  z-index: 1;
  display: flex !important;
  flex: 1 1 0;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  font-size: 17px;
}
#s-reg .cp-trigger-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#s-reg .cp-trigger-arr {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin: 0 7px 0 13px;
  border-right: 2px solid #ffdf9e;
  border-bottom: 2px solid #ffdf9e;
  transform: rotate(45deg) translateY(-3px);
}

#s-reg .pp-row {
  position: relative;
  z-index: 4;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 4px 2px 10px !important;
  padding: 4px 1px;
  color: #fff0d2 !important;
  line-height: 1.4;
}
#s-reg #pp-chk-box {
  flex: 0 0 23px;
  width: 23px !important;
  height: 23px !important;
  border: 2px solid #dcae57 !important;
  border-radius: 5px !important;
  box-shadow: inset 0 1px 2px rgba(255, 225, 164, .22), 0 2px 4px rgba(0, 0, 0, .35);
  cursor: pointer !important;
  font-family: Arial, sans-serif !important;
}
#s-reg #pp-chk-box:focus-visible { outline: 2px solid #ffecae; outline-offset: 2px; }
#s-reg .pp-row label {
  flex: 1;
  min-width: 0;
  color: #fff0d2 !important;
  cursor: pointer;
  font-size: 13px !important;
}
#s-reg .pp-row a {
  color: #80da49 !important;
  font-weight: 700;
  text-decoration: underline !important;
}
#s-reg .an-btnwrap { margin-top: 2px !important; margin-bottom: 10px !important; }
#s-reg .btn-auth {
  min-height: 82px !important;
  border-radius: 46% 16% 46% 17% / 25% 48% 25% 50% !important;
}
#s-reg .btn-auth > span {
  flex: 0 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
}
#s-reg .btn-auth .an-bico { flex-basis: 42px !important; }
#s-reg .register-body { padding-top: 13px !important; }
#s-reg .auth-switch { margin-top: 8px !important; }

/* Keep the searchable 195+ country modal functional above the scroll container. */
#s-reg #cp-overlay {
  position: fixed !important;
  z-index: 99999 !important;
  display: none;
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 0 12px env(safe-area-inset-bottom, 0px) !important;
  background: rgba(3, 13, 6, .78) !important;
  backdrop-filter: blur(3px);
}
#s-reg #cp-overlay.cp-open { display: flex !important; }
#s-reg #cp-box {
  width: min(100%, 470px) !important;
  max-height: min(80vh, 740px) !important;
  overflow: hidden !important;
  border: 1px solid rgba(226, 190, 109, .8);
  border-radius: 24px 24px 0 0 !important;
  background: linear-gradient(145deg, #15351a, #0c2111) !important;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, .48);
}
#s-reg #cp-hdr {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 12px;
  color: #fbe7bc !important;
  border-bottom: 1px solid rgba(230, 196, 125, .24);
  font-size: 19px !important;
  font-weight: 700;
}
#s-reg #cp-close {
  flex: 0 0 36px;
  display: grid !important;
  width: 36px !important;
  height: 36px !important;
  place-items: center;
  border: 1px solid #c49345;
  border-radius: 50%;
  color: #f8deb0 !important;
  background: #684022 !important;
  cursor: pointer;
}
#s-reg #cp-swrap { padding: 10px 15px 8px; }
#s-reg #cp-search {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 46px !important;
  padding: 0 12px !important;
  border: 1px solid #bb8b43 !important;
  border-radius: 13px !important;
  color: #fff0d7 !important;
  background: #102417 !important;
  font-size: 16px !important;
}
#s-reg #cp-list {
  max-height: min(54vh, 510px) !important;
  overflow-y: auto !important;
  padding: 3px 10px max(12px, env(safe-area-inset-bottom, 0px));
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
#s-reg .cp-item {
  display: grid !important;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 7px 9px;
  border-bottom: 1px solid rgba(237, 208, 156, .14);
  color: #fff0d0;
  font-size: 15px;
  cursor: pointer;
}
#s-reg .cp-item:active, #s-reg .cp-item.cp-sel {
  background: rgba(126, 181, 59, .25);
}
#s-reg .cp-item .cpi-name { min-width: 0; overflow-wrap: anywhere; }
#s-reg .cp-item .cpi-dial { color: #efd196; font-size: 13px; }
#s-reg #cp-nores { padding: 15px; color: #e8d9be; text-align: center; }

@media (min-width: 620px) {
  #s-login .auth-body.an-body, #s-reg .auth-body.an-body {
    padding-right: 28px !important;
    padding-left: 28px !important;
  }
}
@media (max-width: 380px) {
  #s-login .auth-slide.an-hero, #s-reg .auth-slide.an-hero { height: 234px !important; }
  #s-login .auth-body.an-body, #s-reg .auth-body.an-body { padding-right: 12px !important; padding-left: 12px !important; }
  #s-login .field, #s-reg .field, #s-login .country-row, #s-reg .country-row { min-height: 52px !important; }
  #s-login .captcha-row, #s-reg .captcha-row { gap: 8px !important; }
  #s-login .btn-auth, #s-reg .btn-auth { padding-right: 50px !important; padding-left: 50px !important; }
}
@media (prefers-reduced-motion: reduce) {
  #s-login .auth-slide .slide, #s-reg .auth-slide .slide { transition: none !important; }
  #s-login .auth-body, #s-reg .auth-body { scroll-behavior: auto !important; }
}

/* Login: keep the live craft styling, fill the full viewport, and scroll above the keyboard. */
#s-login.screen {
  height: var(--auth-visible-height, 100dvh) !important;
  min-height: 0 !important;
  background:
    radial-gradient(ellipse at 50% 0, rgba(106, 143, 42, .24), transparent 44%),
    linear-gradient(180deg, #0d3014, #071a0d) !important;
}

#s-login .auth-wrap.an-wrap {
  height: 100% !important;
  min-height: 0 !important;
  background:
    radial-gradient(ellipse at 14% 18%, rgba(122, 164, 51, .16), transparent 32%),
    radial-gradient(ellipse at 88% 52%, rgba(90, 138, 39, .13), transparent 38%),
    linear-gradient(145deg, #0e3013, #09210e 48%, #12350f) !important;
}

#s-login .auth-slide.an-hero {
  flex: 0 0 auto !important;
  height: clamp(180px, 27vh, 226px) !important;
}

#s-login .auth-logo .logo-txt {
  font-size: clamp(29px, 8vw, 38px) !important;
}

#s-login .auth-body.an-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 0 !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  color: #fff0cb !important;
  background:
    radial-gradient(ellipse at 50% 5%, rgba(69, 119, 34, .23), transparent 48%),
    linear-gradient(180deg, rgba(6, 28, 12, .36), rgba(9, 35, 13, .16)) !important;
}

#s-login .auth-body.an-body > :not(.an-edges) { flex: 0 0 auto; }
#s-login .auth-hl { color: #fff0cb !important; }
#s-login .auth-hl small { color: rgba(255, 240, 203, .82) !important; }
#s-login .auth-switch { color: #fff0cb !important; }
#s-login .auth-switch a { color: #a8e75e !important; }
#s-login .an-plank {
  flex: 0 0 48px !important;
  min-height: 48px;
  margin-top: auto !important;
}

@media (max-height: 640px) {
  #s-login .auth-slide.an-hero {
    flex-basis: 132px !important;
    height: 132px !important;
  }

  #s-login .an-logo .an-roof {
    width: 68px !important;
    height: 29px !important;
  }

  #s-login .auth-logo .logo-txt { font-size: 27px !important; }
  #s-login .auth-logo p { font-size: 12px !important; }

  #s-login .auth-body.an-body {
    padding-top: 8px !important;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  }

  #s-login .auth-hl { margin-bottom: 3px !important; }
  #s-login .field { min-height: 44px !important; margin-bottom: 6px !important; }
  #s-login .captcha-row { margin-bottom: 6px !important; }
  #s-login .btn-auth { min-height: 46px !important; }
}
