/*
 * ChillLeaf Account Skin v1.2
 * Scope: WooCommerce My Account login/register screen only.
 */

:root {
  --claf-bg: #020402;
  --claf-panel: #070b05;
  --claf-lime: #9dff00;
  --claf-lime-2: #cfff00;
  --claf-purple: #9b35ff;
  --claf-line: rgba(157, 255, 0, .55);
  --claf-text: #f7fff0;
  --claf-muted: rgba(255, 255, 255, .68);
}

body.claf-account-skin.claf-account-guest {
  background: var(--claf-bg);
  color: var(--claf-text);
}

body.claf-account-skin.claf-account-guest .site-content,
body.claf-account-skin.claf-account-guest .ast-container,
body.claf-account-skin.claf-account-guest .entry-content,
body.claf-account-skin.claf-account-guest .woocommerce {
  background: transparent !important;
}

body.claf-account-skin.claf-account-guest .site-content {
  background:
    radial-gradient(circle at 82% 8%, rgba(126, 255, 0, .18), transparent 0 30rem),
    radial-gradient(circle at 18% 20%, rgba(157, 255, 0, .08), transparent 0 24rem),
    radial-gradient(circle at 65% 56%, rgba(114, 255, 0, .08), transparent 0 26rem),
    linear-gradient(180deg, #050705 0%, #020402 58%, #000 100%) !important;
}

body.claf-account-skin.claf-account-guest .entry-title,
body.claf-account-skin.claf-account-guest .page-title {
  display: none !important;
}

body.claf-account-skin.claf-account-guest .woocommerce {
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 40px 0 58px;
}

.claf-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--claf-lime);
  font-size: 14px;
  font-weight: 900;
}

.claf-breadcrumb span {
  color: rgba(255, 255, 255, .42);
}

.claf-account-hero {
  position: relative;
  margin: 0 0 28px;
  min-height: 300px;
  overflow: hidden;
  border-bottom: 1px solid rgba(157, 255, 0, .14);
}

.claf-account-hero:before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
  background:
    linear-gradient(125deg, transparent 0 26%, rgba(157,255,0,.16) 46%, transparent 63%),
    repeating-linear-gradient(115deg, transparent 0 22px, rgba(157,255,0,.065) 23px 24px),
    radial-gradient(circle at 60% 50%, rgba(157,255,0,.16), transparent 0 14rem),
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 20%, transparent 100%);
  filter: blur(.1px);
  opacity: .9;
  pointer-events: none;
}

.claf-account-hero:after {
  content: "";
  position: absolute;
  right: -4%;
  bottom: 14px;
  width: 64%;
  height: 110px;
  background:
    radial-gradient(circle at 60% 50%, rgba(157,255,0,.38), transparent 0 4px),
    linear-gradient(90deg, transparent 0%, rgba(157,255,0,.30) 48%, transparent 100%);
  opacity: .34;
  transform: skewY(-7deg);
  pointer-events: none;
}

.claf-account-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 30px;
  align-items: center;
}

.claf-kicker {
  margin: 0 0 12px;
  color: var(--claf-lime);
  font-weight: 1000;
  font-size: 12px;
  letter-spacing: .14em;
}

.claf-account-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 6.4vw, 86px);
  line-height: .88;
  font-weight: 1000;
  letter-spacing: -.07em;
  text-shadow:
    0 4px 0 rgba(0,0,0,.95),
    0 0 20px rgba(255,255,255,.18);
}

.claf-account-hero h1:after {
  content: "";
  display: inline-block;
  width: .42em;
  height: .42em;
  margin-left: .12em;
  background: var(--claf-lime);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  transform: rotate(-14deg);
  box-shadow: 0 0 18px rgba(157,255,0,.8);
}

.claf-account-hero h2 {
  margin: 24px 0 10px;
  color: var(--claf-lime);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 1000;
}

.claf-account-hero p:not(.claf-kicker) {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 800;
}

.claf-account-hero__mascot {
  position: relative;
  min-height: 290px;
}

.claf-character {
  display: block;
  user-select: none;
  pointer-events: none;
}

.claf-character--hero {
  position: absolute;
  right: 110px;
  bottom: -8px;
  width: min(270px, 56vw);
  height: auto;
  filter:
    drop-shadow(0 0 18px rgba(157,255,0,.48))
    drop-shadow(0 0 44px rgba(157,255,0,.28));
  transform: rotate(-2deg);
}

.claf-speech {
  position: absolute;
  right: 2px;
  top: 36px;
  z-index: 2;
  max-width: 260px;
  border: 2px solid var(--claf-lime);
  border-radius: 18px;
  padding: 13px 18px;
  color: var(--claf-lime);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 1000;
  transform: rotate(-7deg);
  box-shadow: 0 0 24px rgba(157,255,0,.28);
  background: rgba(0,0,0,.58);
}

.claf-speech:after {
  content: "";
  position: absolute;
  left: 35px;
  bottom: -14px;
  width: 24px;
  height: 24px;
  border-left: 2px solid var(--claf-lime);
  border-bottom: 2px solid var(--claf-lime);
  background: rgba(0,0,0,.58);
  transform: rotate(-45deg);
}

.claf-sticker {
  position: absolute;
  right: 22px;
  bottom: 10px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 118px;
  height: 98px;
  text-align: center;
  color: var(--claf-lime);
  font-size: 22px;
  line-height: .9;
  font-weight: 1000;
  transform: rotate(10deg);
  text-shadow: 0 0 14px rgba(157,255,0,.72);
  background: radial-gradient(circle, rgba(157,255,0,.12), rgba(157,255,0,.04) 58%, transparent 60%);
  border-radius: 52% 48% 54% 46%;
}

.claf-account-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(350px, .95fr);
  gap: 30px;
  align-items: stretch;
  margin: 0 0 30px;
}

.claf-account-shell > #customer_login {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(350px, .85fr);
  gap: 30px;
  align-items: stretch;
}

.claf-account-shell > #customer_login:before,
.claf-account-shell > #customer_login:after {
  display: none !important;
  content: none !important;
}

.claf-account-shell .u-column1,
.claf-account-shell .u-column2,
.claf-account-shell > form.woocommerce-form-login,
.claf-register-card {
  position: relative;
  overflow: hidden;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 34px 34px 32px !important;
  border: 1px solid var(--claf-line) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 100% 100%, rgba(157, 255, 0, .16), transparent 0 13rem),
    radial-gradient(circle at 0 0, rgba(157, 255, 0, .10), transparent 0 14rem),
    linear-gradient(180deg, rgba(9,14,7,.96), rgba(1,2,1,.98)) !important;
  box-shadow:
    0 0 0 1px rgba(157,255,0,.04),
    0 0 28px rgba(157,255,0,.15),
    inset 0 0 40px rgba(157,255,0,.035) !important;
}

.claf-account-shell .u-column1:before,
.claf-account-shell > form.woocommerce-form-login:before {
  content: "⚡ ログインする";
  display: block;
  margin: 0 0 28px;
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 1000;
}

.claf-account-shell .u-column1 > h2 {
  display: none !important;
}

.claf-account-shell .u-column2 > h2 {
  margin: 0 0 24px !important;
  color: var(--claf-lime) !important;
  font-size: 30px !important;
  line-height: 1.2 !important;
  font-weight: 1000 !important;
}

.claf-account-shell .u-column2 > h2:before {
  content: "NEW HERE?";
  display: block;
  margin: 0 0 10px;
  color: var(--claf-purple);
  font-size: 34px;
  line-height: .95;
  font-weight: 1000;
  letter-spacing: .02em;
  text-shadow: 0 0 18px rgba(155,53,255,.55);
}

.claf-account-shell .u-column1:after,
.claf-account-shell .u-column2:after,
.claf-account-shell > form.woocommerce-form-login:after,
.claf-register-card:after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -70px;
  width: 230px;
  height: 160px;
  background: radial-gradient(circle, rgba(157,255,0,.22), transparent 70%);
  transform: rotate(-18deg);
  opacity: .55;
  pointer-events: none;
}

.claf-account-shell form.login,
.claf-account-shell form.register,
.claf-account-shell form.woocommerce-form-login,
.claf-account-shell form.woocommerce-form-register {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.claf-account-shell .woocommerce-form-row,
.claf-account-shell .form-row {
  margin: 0 0 22px !important;
  padding: 0 !important;
}

.claf-account-shell label {
  display: block;
  margin: 0 0 10px;
  color: #fff !important;
  font-size: 15px;
  font-weight: 900;
}

.claf-account-shell .required { color: #ff3030 !important; }

.claf-account-shell input[type="text"],
.claf-account-shell input[type="email"],
.claf-account-shell input[type="password"],
.claf-account-shell input[type="tel"],
.claf-account-shell input[type="search"],
.claf-account-shell .input-text {
  width: 100% !important;
  min-height: 56px;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 9px !important;
  background: rgba(0,0,0,.66) !important;
  color: #fff !important;
  padding: 0 18px !important;
  font-size: 16px !important;
  font-weight: 800;
  outline: none !important;
  box-shadow: inset 0 0 0 1px rgba(157,255,0,.02) !important;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.claf-account-shell input::placeholder { color: rgba(255,255,255,.38) !important; }

.claf-account-shell input:focus {
  border-color: var(--claf-lime) !important;
  background: rgba(0,0,0,.84) !important;
  box-shadow: 0 0 0 3px rgba(157,255,0,.15), 0 0 24px rgba(157,255,0,.12) !important;
}

.claf-account-shell .password-input { display: block; width: 100%; }

.claf-account-shell .show-password-input {
  color: var(--claf-lime) !important;
  opacity: 1 !important;
  top: 50% !important;
  transform: translateY(-50%);
}

.claf-account-shell .woocommerce-form-login__rememberme,
.claf-account-shell .woocommerce-form__label-for-checkbox {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px !important;
  color: #fff !important;
  font-weight: 900;
}

.claf-account-shell input[type="checkbox"] {
  appearance: none;
  width: 24px !important;
  height: 24px !important;
  min-height: 24px;
  margin: 0 !important;
  border: 2px solid rgba(255,255,255,.62) !important;
  border-radius: 5px !important;
  background: rgba(0,0,0,.48) !important;
  box-shadow: none !important;
}

.claf-account-shell input[type="checkbox"]:checked {
  border-color: var(--claf-lime) !important;
  background: var(--claf-lime) !important;
  box-shadow: 0 0 18px rgba(157,255,0,.38) !important;
}

.claf-account-shell input[type="checkbox"]:checked:after {
  content: "✓";
  display: grid;
  place-items: center;
  color: #020402;
  font-size: 18px;
  line-height: 20px;
  font-weight: 1000;
}

.claf-account-shell button.button,
.claf-account-shell .woocommerce-button,
.claf-account-shell .woocommerce-form-login__submit,
.claf-account-shell .woocommerce-form-register__submit {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 58px !important;
  margin: 6px 0 22px !important;
  border: 1px solid rgba(157,255,0,.75) !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, var(--claf-lime-2) 0%, #8fe000 100%) !important;
  color: #020402 !important;
  font-size: 20px !important;
  font-weight: 1000 !important;
  letter-spacing: .03em;
  text-align: center;
  box-shadow: 0 0 22px rgba(157,255,0,.34), inset 0 1px 0 rgba(255,255,255,.28) !important;
  text-shadow: none !important;
  overflow: hidden;
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.claf-account-shell button.button:after,
.claf-account-shell .woocommerce-form-login__submit:after,
.claf-account-shell .woocommerce-form-register__submit:after {
  content: "→";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  line-height: 1;
}

.claf-account-shell button.button:hover,
.claf-account-shell .woocommerce-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(157,255,0,.46) !important;
}

.claf-account-shell .woocommerce-LostPassword,
.claf-account-shell .lost_password { margin: 0 !important; }

.claf-account-shell .woocommerce-LostPassword a,
.claf-account-shell .lost_password a,
.claf-account-shell a {
  color: var(--claf-lime) !important;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 5px;
}

.claf-account-shell .woocommerce-privacy-policy-text,
.claf-account-shell .woocommerce-privacy-policy-text p {
  color: rgba(255,255,255,.66) !important;
  font-size: 13px;
  line-height: 1.7;
}

.claf-register-card,
.claf-account-shell .u-column2 {
  background:
    radial-gradient(circle at 74% 78%, rgba(155, 53, 255, .25), transparent 0 12rem),
    radial-gradient(circle at 16% 10%, rgba(157, 255, 0, .12), transparent 0 10rem),
    linear-gradient(180deg, rgba(12,9,20,.96), rgba(2,3,2,.98)) !important;
}

.claf-register-card__tag {
  margin: 0 0 14px;
  color: var(--claf-purple);
  font-size: 34px;
  line-height: .95;
  font-weight: 1000;
  letter-spacing: .02em;
  text-shadow: 0 0 20px rgba(155,53,255,.58);
}

.claf-register-card h2 {
  margin: 0 0 22px !important;
  color: var(--claf-lime) !important;
  font-size: 30px !important;
  line-height: 1.25 !important;
  font-weight: 1000 !important;
}

.claf-register-card p {
  max-width: 29em;
  margin: 0 0 14px;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 800;
}

.claf-character--card {
  width: 210px;
  max-width: 58%;
  margin: -10px auto -4px;
  filter: drop-shadow(0 0 24px rgba(157,255,0,.40));
  transform: rotate(1.5deg);
}

.claf-outline-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-height: 58px;
  margin: 24px 0 14px;
  border: 2px solid var(--claf-lime);
  border-radius: 10px;
  background: rgba(0,0,0,.34);
  color: var(--claf-lime) !important;
  font-size: 18px;
  font-weight: 1000;
  text-decoration: none !important;
  box-shadow: 0 0 22px rgba(157,255,0,.16);
}

.claf-outline-button:hover {
  background: rgba(157,255,0,.10);
  box-shadow: 0 0 30px rgba(157,255,0,.26);
}

.claf-register-card__note {
  margin-top: 16px !important;
  color: rgba(255,255,255,.46) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

.claf-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 42px;
  overflow: hidden;
  border: 1px solid var(--claf-line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 100%, rgba(157,255,0,.16), transparent 0 12rem),
    linear-gradient(180deg, rgba(10,16,7,.92), rgba(1,3,1,.96));
  box-shadow: 0 0 28px rgba(157,255,0,.12);
}

.claf-trust-bar > div {
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 16px;
  align-items: center;
  min-height: 86px;
  padding: 18px 24px;
  border-right: 1px solid rgba(255,255,255,.10);
}

.claf-trust-bar > div:last-child { border-right: 0; }

.claf-icon {
  grid-row: span 2;
  color: var(--claf-lime);
  font-size: 34px;
  line-height: 1;
  text-shadow: 0 0 16px rgba(157,255,0,.38);
}

.claf-trust-bar strong { color: #fff; font-size: 15px; font-weight: 1000; }
.claf-trust-bar small { color: rgba(255,255,255,.62); font-size: 13px; font-weight: 700; }

body.claf-account-skin.claf-account-guest .woocommerce-error,
body.claf-account-skin.claf-account-guest .woocommerce-info,
body.claf-account-skin.claf-account-guest .woocommerce-message {
  border-top: 0 !important;
  border-left: 4px solid var(--claf-lime) !important;
  border-radius: 12px !important;
  background: rgba(7,13,5,.96) !important;
  color: #fff !important;
  box-shadow: 0 0 24px rgba(157,255,0,.12);
}

body.claf-account-skin.claf-account-guest .woocommerce-error a,
body.claf-account-skin.claf-account-guest .woocommerce-info a,
body.claf-account-skin.claf-account-guest .woocommerce-message a { color: var(--claf-lime) !important; }

@media (max-width: 1080px) {
  body.claf-account-skin.claf-account-guest .woocommerce {
    width: min(100% - 32px, 820px);
    padding: 30px 0 44px;
  }

  .claf-account-hero__inner,
  .claf-account-shell,
  .claf-account-shell > #customer_login,
  .claf-trust-bar {
    grid-template-columns: 1fr;
  }

  .claf-account-hero__mascot { min-height: 220px; }
  .claf-character--hero { right: 32px; width: 220px; }
  .claf-speech { right: 0; top: 18px; }
  .claf-sticker { right: 10px; }

  .claf-trust-bar > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
  }

  .claf-trust-bar > div:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  body.claf-account-skin.claf-account-guest .woocommerce {
    width: min(100% - 24px, 520px);
    padding: 24px 0 38px;
  }

  .claf-breadcrumb { font-size: 12px; margin-bottom: 16px; }

  .claf-account-hero {
    min-height: 0;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .claf-account-hero:before,
  .claf-account-hero:after { opacity: .45; }

  .claf-account-hero h1 { font-size: 42px; }
  .claf-account-hero h2 { font-size: 28px; }

  .claf-account-hero p:not(.claf-kicker) {
    font-size: 14px;
    line-height: 1.7;
  }

  .claf-account-hero__mascot {
    min-height: 150px;
    margin-top: 18px;
  }

  .claf-character--hero {
    right: auto;
    left: 0;
    bottom: -18px;
    width: 150px;
  }

  .claf-speech {
    right: 0;
    top: 4px;
    max-width: 190px;
    font-size: 14px;
    padding: 10px 12px;
  }

  .claf-sticker { display: none; }

  .claf-account-shell .u-column1,
  .claf-account-shell .u-column2,
  .claf-account-shell > form.woocommerce-form-login,
  .claf-register-card {
    padding: 24px 20px !important;
    border-radius: 14px !important;
  }

  .claf-account-shell .u-column1:before,
  .claf-account-shell > form.woocommerce-form-login:before,
  .claf-account-shell .u-column2 > h2,
  .claf-register-card h2 { font-size: 24px !important; }

  .claf-account-shell .u-column2 > h2:before,
  .claf-register-card__tag { font-size: 26px; }

  .claf-character--card { width: 160px; }

  .claf-account-shell input[type="text"],
  .claf-account-shell input[type="email"],
  .claf-account-shell input[type="password"],
  .claf-account-shell input[type="tel"],
  .claf-account-shell input[type="search"],
  .claf-account-shell .input-text,
  .claf-account-shell button.button,
  .claf-account-shell .woocommerce-button,
  .claf-outline-button { min-height: 54px !important; }
}
