* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #d49a53;
}

.disable-adblock {
  text-align: center;
  background-color: rgb(248, 82, 82);
  color: white;
  border-radius: 5px;
  padding: 5px;
  max-width: 450px;
  font-weight: 600;
  margin: auto;
  width: 100%;
}

.show-leaderboard {
  display: none;
  text-align: center;
}
.show-leaderboard #show-ld {
  padding: 10px 20px;
  color: white;
  border-radius: 5px;
  background-color: #e98615;
  cursor: pointer;
  border: none;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0px 0px 4px 4px #e29e5b;
}
.show-leaderboard #show-ld:hover {
  scale: 1.1;
  transition: 0.3s;
}
.show-leaderboard #show-ld svg {
  width: 24px;
  height: 24px;
  display: inline-block;
}
.show-leaderboard #show-ld svg path {
  stroke: #fff;
}

#game-container {
  position: relative;
  text-align: center;
  max-width: 654px;
}
#game-container::after {
  display: none;
  content: "";
  height: 5px;
  width: 654px;
  background-color: red;
  position: absolute;
  z-index: 3;
  left: 0;
  border-radius: 100px;
  top: 9%;
}

#game-container .game-over {
    display: none;
    position: absolute;
    z-index: 9999;
    top: 40%;
    left: 50%;
    background-color: #dd8c1a;
    transform: translate(-50%, -40%);
    text-align: center;
    width: 300px;
    font-size: 1em;
    padding: 1em;
    background: linear-gradient(to bottom, #f8f1d8 0%, #f6eed2 100%);
    border: 9px solid #c98a4a;
    border-radius: 42px;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.22), 0 3px 0 #b67634;
}


#game-container .game-over .best {
  margin-bottom: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}
#game-container .game-over .best .best-text {
  font-size: 1.1em;
  margin-right: 5px;
}
#game-container .game-over .best #best-score-value {
  font-weight: 600;
  font-size: 1.3em;
  color: #8c6227;
}
#game-container .game-over #restart-game {
    width: 60%;
    border: none;
    background-color: #fff5df;
    color: rgb(61, 61, 61);
    padding: 6px 20px;
    border-radius: 38px;
    font-size: 18px;
    cursor: pointer;
    background: linear-gradient(to bottom, #ffd92e 0%, #ffc800 55%, #f7b800 100%);
    transition: transform 0.08s ease, box-shadow 0.08s ease;
    border-bottom: 5px solid #be8600;
}

#game-container .game-over .text {
  font-size: 1.8em;
  width: 100%;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #8c6127;
  letter-spacing: -1px;
  font-weight: 700;
  color: #fefcfb;
  text-shadow: 0px 0px 3px #a36610, 0px 0px 3px #a36610, 0px 0px 3px #a36610, 0px 0px 3px #a36610;
}
#game-container .game-over .value {
  font-size: 2.5em;
  margin-bottom: 10px;
  font-weight: 800;
  color: #ffefd4;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #8c6127;
}

#game {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  margin: 2.5rem auto;
  align-items: flex-start;
}
#game img {
  vertical-align: middle;
}
#game .bubble {
  position: relative;
  font-size: 16px;
}
#game .bubble .text {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2em;
  width: 100%;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #8c6127;
  letter-spacing: -1px;
  font-weight: 700;
  color: #fefcfb;
  text-shadow: 0px 0px 3px #a36610, 0px 0px 3px #a36610, 0px 0px 3px #a36610, 0px 0px 3px #a36610;
}
#game .bubble img {
  width: 180px;
}
#game .left {
    margin-top: 2rem;
    margin-bottom: 30px;
    width: 320px;
}


#game .left .score {
  animation: mover 0.8s infinite alternate;
  position: relative;
  text-align: center;
  font-size: 16px;
}
#game .left .score .values {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#game .left .score .values .currentScore {
  font-size: 2.5em;
  margin-bottom: 10px;
  font-weight: 800;
  color: #ffefd4;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #8c6127;
}
#game .left .score .values .best-score .text {
  font-size: 1.1em;
  color: rgba(236, 220, 155, 0.8705882353);
  font-weight: 400;
}
#game .left .score .values .best-score .value {
  font-weight: 700;
  font-size: 1.4em;
  color: #eee1af;
}
#game .left .leaderboard .container {
  margin-top: 1rem;
  border-radius: 15px;
  background-color: #ffe9b6;
  border: 4px solid #e3b52d;
  width: 275px;
}
#game .left .leaderboard .container .close {
  display: none;
  text-align: center;
  margin-bottom: 5px;
}
#game .left .leaderboard .container .close #close-ld {
  padding: 5px 40px;
  color: white;
  border-radius: 5px;
  background-color: #e98615;
  cursor: pointer;
  border: none;
  font-size: 16px;
  gap: 5px;
}
#game .left .leaderboard .container .header {
  text-align: center;
  padding: 10px 0;
}
#game .left .leaderboard .container .header .text {
  font-size: 1.8em;
  width: 100%;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #8c6127;
  letter-spacing: -1px;
  font-weight: 700;
  color: #fefcfb;
  text-shadow: 0px 0px 3px #a36610, 0px 0px 3px #a36610, 0px 0px 3px #a36610, 0px 0px 3px #a36610;
}
#game .left .leaderboard .container .dates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
#game .left .leaderboard .container .dates .score-filter {
  text-align: center;
  padding: 10px;
  background-color: #e8a557;
  color: white;
  font-size: 16px;
  cursor: pointer;
}
#game .left .leaderboard .container .dates .score-filter:hover {
  transition: 0.3s ease;
  background-color: #e38e2b;
}
#game .left .leaderboard .container .dates .score-filter.selected {
  background-color: #e38e2b;
}
#game .left .leaderboard .container .dates .score-filter:nth-child(2) {
  border-left: 2px solid #ffe9b6;
  border-right: 2px solid #ffe9b6;
}
#game .left .leaderboard .container .ranks {
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#game .left .leaderboard .container .ranks .player-score {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  background-color: #b4b4b4;
  border-radius: 100px;
  color: white;
  height: 35px;
}
#game .left .leaderboard .container .ranks .player-score .rank {
  background-color: #9e9e9e;
  border-radius: 100%;
  height: 35px;
  width: 35px;
  font-weight: 600;
  position: relative;
}
#game .left .leaderboard .container .ranks .player-score .rank span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
#game .left .leaderboard .container .ranks .player-score .value {
  font-size: 1.4rem;
}
#game .left .leaderboard .container .ranks .player-score:nth-child(1) {
  background-color: #ffd75e;
}
#game .left .leaderboard .container .ranks .player-score:nth-child(1) .rank {
  background-color: #ffbf00;
}
#game .left .leaderboard .container .ranks .player-score:nth-child(2) {
  background-color: #a0c0f0;
}
#game .left .leaderboard .container .ranks .player-score:nth-child(2) .rank {
  background-color: #6aa6ff;
}
#game .left .leaderboard .container .ranks .player-score:nth-child(3) {
  background-color: #e0b182;
}
#game .left .leaderboard .container .ranks .player-score:nth-child(3) .rank {
  background-color: #cd7f32;
}
#game .left .leaderboard .container .ranks.weekly {
  display: none;
}
#game .left .leaderboard .container .ranks.monthly {
  display: none;
}
#game .right {
    width: 300px;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 30px;
}


#game .right .next-fruit {
  animation: mover 0.8s infinite alternate;
  position: relative;
  margin-bottom: 90px;
}

.score {
    margin-bottom: 65px;
}


#game .right .next-fruit .fruit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#game .right .next-fruit .fruit img {
  max-width: 65%;
}
#game .right .evolution {
  width: 100%;
}
#game .right .evolution .bubble .text {
  font-size: 1.8rem;
}
#game .right .evolution .bubble img {
    width: 250px !important;
    height: auto;
}

nav {
  text-align: center;
  padding: 8px;
  background-color: rgb(255, 123, 0);
}
nav .logo {
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.details {
  background-color: #ffe6c5;
  margin-top: 12rem;
  padding: 1rem;
}
.details h1 {
  text-align: center;
  font-size: 1.9rem;
  margin-bottom: 1rem;
  color: rgb(51, 51, 51);
}
.details ul {
  list-style: inside;
  padding-left: 20px;
}
.details ul li {
  margin: 1rem 0;
}
.details img {
  border-radius: 5px;
  max-width: 450px;
  width: 100%;
}
.details .container {
  color: black;
  max-width: 800px;
  margin: auto;
  text-align: left;
  width: 100%;
}
.details .container p {
  line-height: 26px;
}

footer {
  background-color: #d49a53;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}
footer p {
  color: rgb(241, 241, 241);
}
footer ul {
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1rem;
  justify-content: center;
}
footer ul li a {
  color: white;
}

@keyframes mover {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-5px);
  }
}








.background {
    position: absolute;
    width: 100%;
    z-index: -00;
    height: 100%;
}


.background-top {
    height: 65%;
    z-index: -1;
    position: relative;
    background: #cfa45b;
}

.background-middle {
    height: 5%;
    background: #c0894f;
    position: relative;
    border-top: 5px solid #dcaf6c;
}

.background-floor {
    height: 30%;
    position: relative;
    background: #f2e8af url(/svg.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.gameover-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(65 63 56 / 70%);
    backdrop-filter: blur(4px);
z-index: 9999;
}


.rank-card {
    position: relative;
    border-radius: 38px;
    background: radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.14) 32%, rgba(255, 255, 255, 0) 48%), linear-gradient(180deg, rgba(255, 250, 217, 0.96) 0%, rgba(248, 235, 177, 0.96) 38%, rgba(243, 224, 150, 0.95) 100%);
    border: 1px solid rgb(214 189 110 / 41%);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.85), inset 0 -16px 26px rgb(255 255 255 / 21%), 0 6px 5px rgb(119 72 13 / 8%);
    overflow: hidden;
    margin-top: 50px;
}

    .rank-card::before {
      content: "";
      position: absolute;
      inset: 10px;
      border-radius: 30px;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.38);
      pointer-events: none;
    }

    .rank-card::after {
      content: "";
      position: absolute;
      left: 8px;
      right: 8px;
      bottom: 8px;
      height: 42px;
      border-radius: 0 0 28px 28px;
      background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,248,219,0.58) 100%);
      pointer-events: none;
    }

.rank-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 10px 8px;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.66) 0%, rgba(255, 255, 255, 0.18) 36%, rgba(255, 255, 255, 0) 58%), linear-gradient(180deg, #fff8d6 0%, #f7e9a4 100%);
    border-bottom: 1px solid rgba(218, 191, 101, 0.85);
    box-shadow: inset 0 -8px 14px rgba(255, 255, 255, 0.18);
}

    .nav-btn {
      width: 32px;
      height: 32px;
      border: 0;
      border-radius: 10px;
      background: linear-gradient(180deg, #fffdf1 0%, #efe5b1 100%);
      color: #b28a2a;
      font-size: 20px;
      font-weight: 900;
      line-height: 1;
      cursor: pointer;
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.92),
        0 1px 2px rgba(134, 94, 26, 0.18);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      flex: 0 0 32px;
      margin-top: 10px;
    }

    .nav-btn:active {
      transform: translateY(1px);
    }

.rank-title {
    flex: 1;
    text-align: center;
    margin-top: 2px;
    font-weight: 900;
    font-size: 22px;
    color: #fdf7da;
    letter-spacing: -0.02em;
    text-shadow: -2px 0 #9b6b17, 2px 0 #9b6b17, 0 -2px #9b6b17, 0 2px #9b6b17, -2px -2px #9b6b17, 2px -2px #9b6b17, -2px 2px #9b6b17, 2px 2px #9b6b17, 0 4px 0 rgba(255, 255, 255, 0.25);
    white-space: nowrap;
}

    .rank-icon-row {
      position: relative;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #b39144;
      margin-top: -2px;
      margin-bottom: -2px;
      font-size: 15px;
      text-shadow: 0 1px 0 rgba(255,255,255,0.55);
    }

    .rank-body {
      padding: 0 10px 10px;
      background: linear-gradient(180deg, rgba(255,251,224,0.42) 0%, rgba(244,227,154,0.18) 100%);
    }

    .rank-list {
      display: flex;
      flex-direction: column;
      gap: 0;
      overflow: hidden;
      border-radius: 14px;
      position: relative;
    }

.rank-row {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 18px 0 10px;
    overflow: hidden;
}

    .rank-row::after {
      content: "";
      position: absolute;
      right: 0;
      top: 0;
      bottom: 0;
      width: 78px;
      background: linear-gradient(135deg, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.04) 55%, rgba(255,255,255,0) 56%);
      pointer-events: none;
    }

    .rank-row + .rank-row {
      border-top: 1px solid rgba(255,255,255,0.18);
    }

    .rank-row.top1 {
      background: linear-gradient(90deg, rgba(239,206,93,0.96) 0%, rgba(242,214,107,0.94) 45%, rgba(238,211,108,0.82) 100%);
    }

    .rank-row.top2 {
      background: linear-gradient(90deg, rgba(177,214,245,0.96) 0%, rgba(162,197,233,0.95) 45%, rgba(196,225,248,0.78) 100%);
    }

    .rank-row.top3 {
      background: linear-gradient(90deg, rgba(233,190,135,0.96) 0%, rgba(239,207,155,0.94) 45%, rgba(245,219,180,0.8) 100%);
    }

    .rank-row.now {
      min-height: 34px;
      justify-content: center;
      background: linear-gradient(90deg, rgba(255,248,214,0.94) 0%, rgba(248,236,183,0.92) 100%);
      font-size: 15px;
      color: #b1934a;
      font-weight: 900;
      text-shadow: 0 1px 0 rgba(255,255,255,0.68);
      letter-spacing: 0.03em;
    }


.rank-row.user {
    height: 45px;
    background: linear-gradient(90deg, rgba(248, 236, 151, 0.98) 0%, rgba(243, 228, 140, 0.96) 100%);
}

.medal-wrap {
    width: 35px;
    flex: 0 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    height: 45px;
}

    .top-user-wrap {
      flex: 1;
      min-width: 0;
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      padding-left: 2px;
      padding-right: 8px;
    }

.top-username {
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
    color: #a27d23;
}

    .top1 .top-username {
      color: #a27d23;
    }

    .top2 .top-username {
      color: #5679ae;
    }

    .top3 .top-username {
      color: #a86e57;
    }

    .score-wrap {
      flex: 0 0 auto;
      min-width: 92px;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      position: relative;
      z-index: 2;
      padding-right: 12px;
    }

.score-value {
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    font-size: 22px;
    color: #b08a35;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

    .top1 .score-value {
      color: #b08a35;
      text-shadow: 0 1px 0 rgba(255,255,255,0.45);
    }

    .top2 .score-value {
      color: #5a7fbc;
      text-shadow: 0 1px 0 rgba(255,255,255,0.45);
    }

    .top3 .score-value {
      color: #bf7b63;
      text-shadow: 0 1px 0 rgba(255,255,255,0.45);
    }

.user-badge-wrap {
    width: 35px;
    flex: 0 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

    .user-score {
      flex: 1;
      text-align: center;
      font-size: 25px;
      line-height: 1;
      font-weight: 900;
      color: #a67926;
      text-shadow: 0 1px 0 rgba(255,255,255,0.4);
      position: relative;
      z-index: 2;
      padding-right: 12px;
    }

    .pager {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      padding: 12px 0 14px;
    }

    .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 35%, #fff9d9 0%, #dbc764 62%, #c9b251 100%);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.7),
        0 1px 1px rgba(127, 88, 24, 0.2);
      opacity: 0.62;
    }

    .dot.active {
      opacity: 1;
      background: radial-gradient(circle at 35% 35%, #fffce9 0%, #f4df79 58%, #debf44 100%);
    }

.crown-svg, .hex-svg {
    display: block;
    width: 35px;
    height: 35px;
}

    @media (max-width: 380px) {
      .rank-card {
        width: 100%;
      }

      .rank-title {
        font-size: 23px;
      }

      .top-username {
        font-size: 14px;
      }

      .top1 .score-value,
      .top2 .score-value,
      .top3 .score-value,
      .user-score {
        font-size: 22px;
      }

      .score-wrap {
        min-width: 78px;
        padding-right: 6px;
      }
    }
    
    
    
    .headline h1 {
    font-size: 25px;
}

.suika-table {
    width: 100%;
    max-width: 400px;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 15px;
    color: #4F3422;
    margin: auto;
}

.suika-table th,
.suika-table td {
  padding: 8px 16px;
  text-align: left;
  border-bottom: 1px solid #f4e2be;
}

.suika-table th {
  font-weight: 600;
  color: #3b2414;
}

.suika-table td:last-child,
.suika-table th:last-child {
  text-align: right;
}


  body {  
    font-family:system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background:#fff;
    color:#111;
  }  
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0;
} 

body { 
    width: 100%; 
    height: 100%;
} 

body { 
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; 
    -webkit-font-smoothing: antialiased; 
    background: #fff; 
    color: #111;
} 

@media (max-height: 740px){ 
  body { 
    overflow-y: auto; 
    height: auto; 
    min-height: 100dvh;
  } 
}     

html { 
    width: 100%; 
    height: 100%;
} 

.container-inner { 
    max-width: 1000px; 
    justify-self: center;
} 

.guide-box {
    color: #3A2414;
    margin: 15px 10px !important;
}

.love-box { 
    border-radius: 1rem; 
    padding: 2rem; 
    margin: 15px 10px !important; 
    border: 1px solid #f5f5f5; 
    background-color: #fff; 
    color: #2b2e3a;
} 

.tips-box {
    background-color: #F3E2BD;
    border-radius: 1rem;
    padding: 2rem;
    margin: 15px 10px !important;
    color: #4F3422;
}

.faq-box { 
    border-radius: 1rem; 
    margin: 15px 10px !important; 
    color: #2b2e3a;
} 

.section { 
    padding: 30px 0;
} 

.section--yellow {
    background: #E2B56A;
    border-top: 5px solid #dbca85;
}

section.footer {
    margin-top: 30px;
    background: #F2E3C2 !important;
    border-top: 5px solid #D4B04F !important;
}

.footer .headline__title {
    color: #2F2430;
}

.footer p {
    color: #5B3C24;
}

.site-footer {
    width: 100%;
    border-top: 1px solid #D4B04F;
    background: #E8D7B3;
    padding: 14px 20px;
    font-family: Arial, sans-serif;
    color: #5B3C24;
}

h2 { 
    font-size: 22px; 
    margin-top: 25px; 
    margin-bottom: 10px;
} 

.guide-title { 
    display: flex; 
    align-items: center; 
    margin-bottom: 1.5rem; 
    font-size: 1.875rem; 
    line-height: 2.25rem; 
    font-weight: 700; 
    justify-content: center;
} 

.love-title { 
    margin-bottom: 1.5rem; 
    text-align: center; 
    font-size: 1.875rem; 
    line-height: 2.25rem; 
    font-weight: 700;
} 

.love-grid { 
    display: grid; 
    gap: 1.5rem;
} 

@media (min-width: 48rem){ 
  .love-grid { 
    grid-template-columns: repeat(3, minmax(0, 1fr));
  } 
}     

.tips-title {
    margin-bottom: 30px;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-top: 5px;
}
.tips-grid { 
    display: grid; 
    gap: 1.5rem;
} 

@media (min-width: 48rem){ 
  .tips-grid { 
    grid-template-columns: repeat(2, minmax(0, 1fr));
  } 
}     

.faq-title { 
    margin-bottom: 1.5rem; 
    text-align: center; 
    font-size: 1.875rem; 
    line-height: 2.25rem; 
    font-weight: 700;
} 

.faq-grid { 
    display: grid; 
    gap: 1.5rem;
} 

@media (min-width: 48rem){ 
  .faq-grid { 
    grid-template-columns: repeat(1, minmax(0, 1fr));
  } 
}     

.strands-container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 15px;
} 

.site-footer__inner { 
    max-width: 1100px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 16px; 
    flex-wrap: wrap;
} 

.guide-highlight {
    background-color: #F3E2BD;
    border-left: 4px solid #D49A57;
    border-radius: 0.75rem;
    padding: 1.5rem;
    color: #4F3422;
}

.guide-stack > * + *  { 
    margin-top: 1.5rem;
} 

.guide-grid { 
    display: grid; 
    gap: 1.5rem;
} 

@media (min-width: 48rem){ 
  .guide-grid { 
    grid-template-columns: repeat(2, minmax(0, 1fr));
  } 
}     

.love-card { 
    text-align: center; 
    background-color: rgba(255, 255, 255, 0.6); 
    border-radius: 0.75rem; 
    padding: 1.5rem;
} 

.headline {
    text-align: center;
    color: #3A2414;
    font-weight: 700;
}




.site-footer__left { 
    font-size: 14px; 
} 

.site-footer__right { 
    display: flex; 
    gap: 18px; 
    flex-wrap: wrap;
} 

.guide-heading { 
    margin-bottom: 0.75rem; 
    font-size: 1.125rem; 
    line-height: 1.75rem; 
    font-weight: 600; 
    color: #000;
} 

.guide-heading--large { 
    font-size: 1.25rem; 
    line-height: 1.75rem;
} 

p { 
    font-size: 16px; 
    line-height: 1.6;
} 

.guide-text { 
    color: #000);
} 

.guide-text--relaxed { 
    line-height: 1.625;
} 

.guide-card { 
    border: 1px solid transparent; 
    border-radius: 0.75rem; 
    padding: 1.5rem;
} 

.guide-card--orange { 
    background-color: #f7f7f7;
} 

.guide-card--yellow { 
    background-color: #f7f7f7;
} 

.love-icon { 
    margin-bottom: 0.75rem; 
    font-size: 2.25rem; 
    line-height: 2.5rem;
} 

.love-card-title { 
    margin-bottom: 0.5rem; 
    font-size: 1rem; 
    line-height: 1.5rem; 
    font-weight: 600;
} 

.love-card-text { 
    font-size: 0.875rem; 
    line-height: 1.42857;
} 

.tips-item { 
    display: flex; 
    align-items: center;
} 

.tips-column > * + *  { 
    margin-top: 1rem;
} 

.faq-card {
    background-color: #F7EBCF;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(90, 58, 34, 0.08);
}

.faq-column > * + *  { 
    margin-top: 1.5rem;
} 

h1 { 
    text-align: center; 
    margin-bottom: 20px;
} 

h1 { 
    margin-bottom: 20px;
} 

h1 { 
    text-align: center;
} 

.headline__title { 
    color: #13141c; 
    font-weight: 900; 
    font-size: 30px; 
    line-height: 30px; 
    margin: 0 0 20px;
} 

.strands-container p  { 
    color: #3A2414; 
    font-size: 15px; 
    font-weight: 400; 
    line-height: 24px; 
    margin: 0 0 8px;
} 

a { 
    color: inherit; 
    text-decoration: none;
} 

a { 
    background-color: transparent; 
    color: inherit; 
    text-decoration: inherit;
} 

.site-footer__right a  { 
    font-size: 14px; 
    text-decoration: none; 
    transition: color 0.2s ease;
} 

.site-footer__right a:hover { 
    color: #000;
} 

.guide-list { 
    list-style: none; 
    color: #2b2e3a; 
    padding: 0; 
    margin: 0;
} 

.guide-text--gap { 
    margin-bottom: 0.75rem;
} 

.guide-list--small { 
    font-size: 0.875rem; 
    line-height: 1.42857;
} 

.tips-number {
    font-size: 1.5rem;
    line-height: 2rem;
    box-shadow: 0 0 25px rgba(0, 0, 0, .1);
    background: #FFF8EF;
    padding: 5px 15px;
    border-radius: 35px;
    color: #e2b56a;
}

.tips-item > * + *  { 
    margin-left: 0.75rem;
} 

.faq-card-title {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: #4A2E1B;
    text-transform: capitalize;
}

.faq-card-text {
    font-size: 0.875rem;
    line-height: 1.42857;
    color: #6A4A2D;
}

.guide-list--spaced > * + *  { 
    margin-top: 0.5rem;
} 

.guide-list--tight > * + *  { 
    margin-top: 0.25rem;
} 

.tips-item-title { 
    margin: 0; 
    font-size: 1rem; 
    line-height: 1.5rem; 
    font-weight: 600;
} 

.tips-item-text { 
    margin: 0; 
    font-size: 0.875rem; 
    line-height: 1.42857;
} 

@media (max-width: 480px){ 
  body { 
    overflow-y: auto; 
    height: auto; 
    min-height: 100dvh;
  } 
}     

@media (max-width: 1024px){ 
  body { 
    padding-bottom: 48px;
  } 
}     

@media screen and (min-width: 0em) and (max-width: 47.98em){ 
  .section { 
    padding: 20px 0;
  } 
}     

@media (max-width: 768px){ 
  .site-footer__inner { 
    flex-direction: column; 
    align-items: flex-start;
  } 

  .site-footer__right { 
    flex-direction: column; 
    gap: 10px; 
    text-align: center;
  } 
}     

@media screen and (min-width: 0em) and (max-width: 47.98em){ 
  .headline__title { 
    font-size: 25px;
  } 
}     



</style>

<style>


  body {  
    font-family:system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background:#fff;
    color:#111;
  }  
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0;
} 

body { 
    width: 100%; 
    height: 100%;
} 

body { 
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; 
    -webkit-font-smoothing: antialiased; 
    background: #fff; 
    color: #111;
} 

@media (max-height: 740px){ 
  body { 
    overflow-y: auto; 
    height: auto; 
    min-height: 100dvh;
  } 
}     

html { 
    width: 100%; 
    height: 100%;
} 

.headline { 
    text-align: center;
} 

.strands-container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 15px;
} 

.section { 
    padding: 30px 0;
} 



p { 
    font-size: 16px; 
    line-height: 1.6;
} 



@media (max-width: 480px){ 
  body { 
    overflow-y: auto; 
    height: auto; 
    min-height: 100dvh;
  } 
}     

@media (max-width: 1024px){ 
  body { 
    padding-bottom: 48px;
  } 
}     

@media screen and (min-width: 0em) and (max-width: 47.98em){ 
  .section { 
    padding: 20px 0;
  } 
}     



.auth-username {
    padding: 28px;
    width: 92%;
    max-width: 460px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-sizing: border-box;
    display: none;
    background: linear-gradient(to bottom, #f8f1d8 0%, #f6eed2 100%);
    border: 9px solid #c98a4a;
    border-radius: 42px;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.22), 0 3px 0 #b67634;
}

.auth-overlay.show .auth-username {
    transform: scale(1) translateY(0);
}




.auth-overlay.show .auth-username {
    transform: scale(1) translateY(0);
}

.username-error {
    text-align: center;
    color: #ff4f87;
    font-size: 14px;
    margin-top: -4px;
    margin-bottom: 6px;
}

.username-rule {
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.2;
    margin-top: -4px;
}

.username-rule.invalid {
    background: rgba(255, 79, 135, 0.12);
    color: #ff4f87;
}

.username-rule.valid {
    background: rgba(41, 214, 151, 0.12);
    color: #29d697;
}


.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 106600;
    opacity: 0;
    visibility: hidden;
}

.auth-overlay.show {
    opacity: 1;
    visibility: visible;
}

.auth-overlay.show .auth-dialog {
    transform: scale(1) translateY(0);
}

.auth-dialog {
    padding: 28px;
    width: 92%;
    max-width: 460px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-sizing: border-box;
    background: linear-gradient(to bottom, #f8f1d8 0%, #f6eed2 100%);
    border: 9px solid #c98a4a;
    border-radius: 42px;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.22), 0 3px 0 #b67634;
}

.auth-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #222;
}

.auth-header {
    text-align: center;
    margin-bottom: 20px;
}

.auth-title {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    color: #111;
}

.auth-subtitle {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #666;
}

.auth-tabs {
    display: flex;
    background: #ede3bd;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 20px;
}

.auth-tab {
    flex: 1;
    border: none;
    background: transparent;
    border-radius: 8px;
    padding: 12px 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: #555;
    transition: all 0.2s ease;
}

.auth-tab.active {
    background: #FFF8EF;
    color: #111;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.auth-body {
    width: 100%;
}

.auth-panel {
    width: 100%;
}

.google-btn {
    width: 100%;
    height: 52px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='https://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 48 48'%3E%3Cdefs%3E%3Cpath id='a' d='M44.5 20H24v8.5h11.8C34.7 33.9 30.1 37 24 37c-7.2 0-13-5.8-13-13s5.8-13 13-13c3.1 0 5.9 1.1 8.1 2.9l6.4-6.4C34.6 4.1 29.6 2 24 2 11.8 2 2 11.8 2 24s9.8 22 22 22c11 0 21-8 21-22 0-1.3-.2-2.7-.5-4z'/%3E%3C/defs%3E%3CclipPath id='b'%3E%3Cuse xlink:href='%23a' overflow='visible'/%3E%3C/clipPath%3E%3Cpath clip-path='url(%23b)' fill='%23FBBC05' d='M0 37V11l17 13z'/%3E%3Cpath clip-path='url(%23b)' fill='%23EA4335' d='M0 11l17 13 7-6.1L48 14V0H0z'/%3E%3Cpath clip-path='url(%23b)' fill='%2334A853' d='M0 37l30-23 7.9 1L48 0v48H0z'/%3E%3Cpath clip-path='url(%23b)' fill='%234285F4' d='M48 48L17 24l-4-3 35-10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: 16px center;
    padding: 0 16px 0 48px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    text-align: left;
    box-sizing: border-box;
}

.google-btn:hover {
    background-color: #f8f8f8;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 18px 0;
}

.auth-divider:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ede3be;
}

.auth-divider span {
    position: relative;
    padding: 0 12px;
    color: #999;
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-input {
    width: 100%;
    height: 52px;
    border: 1px solid #ede4c5;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 15px;
    color: #111;
    outline: none;
    box-sizing: border-box;
    background: #FFF8EF;
}

.auth-input:focus {
    border-color: #999;
}

.auth-submit-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 10px;
    background: #E68A3F;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.auth-submit-btn:hover {
    background: #D9772F;
}

@media (max-width: 640px) {
    .auth-dialog {
        width: calc(100% - 24px);
        padding: 22px 18px;
        border-radius: 14px;
    }

    .auth-title {
        font-size: 24px;
    }

    .auth-subtitle {
        font-size: 14px;
    }

    .auth-tab {
        font-size: 14px;
        padding: 11px 8px;
    }

    .google-btn,
    .auth-input,
    .auth-submit-btn {
        height: 48px;
        font-size: 15px;
    }
}





@media (max-width: 1200px) {



  .show-leaderboard {
    display: block;
  }
  #game-container .game-over {
    font-size: 15px;
  }


    #game {
        align-items: center;
        max-width: 600px;
        margin: 2rem auto;
        justify-content: space-around;
        flex-wrap: wrap;
    }
    
    
  #game .bubble {
    font-size: 14px;
  }
  #game .bubble img {
    width: 100px;
  }
  #game .bubble .text {
    font-size: 1.6em;
    -webkit-text-stroke-width: 1px;
  }
  #game .right {
    min-width: auto;
    flex-basis: 30%;
    margin-top: 10px;
  }
  #game .left {
    flex-basis: 30%;
    margin-top: 10px;
  }
  #game .left .leaderboard {
    display: none;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
  }
  #game .left .leaderboard .container {
    z-index: 50;
    width: 300px;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -40%);
  }
  #game .left .leaderboard .container .close {
    display: block;
  }
  #game .left .score {
    font-size: 13px;
  }
  #game .left .score .values .currentScore {
    margin: 0;
  }
  #game .left .score .values .best-score {
    display: none;
  }
  #game .evolution {
    display: none;
  }
  #game #game-container {
    flex-basis: 100%;
    order: 3;
  }
  #game #game-container::after {
    width: 100%;
  }

  #game .right .next-fruit {
    margin-bottom: 0;
  }
  
.score {
    margin-bottom: 0px !important;
}
    
    
}
@media (max-width: 560px) {
.header-icons {
    gap: 4px !important;
}


.headline h1 {
    font-size: 18px !important;
}


    #game #game-container {
        flex-basis: 85% !important;
    }
    
    
  #game-container .game-over {
    font-size: 13px;
  }
  #game .bubble {
    font-size: 13px;
  }
  #game .bubble img {
    width: 75px;
  }
  #game .bubble .text {
    font-size: 1.4em;
  }
  #game .show-leaderboard {
    order: 1;
    flex-basis: 100%;
  }
  #game .left {
    order: 2;
  }
  #game .right {
    order: 3;
  }
  #game .right .next-fruit .fruit img {
    max-width: 50%;
  }
  #game #game-container {
    order: 4;
  }
  #game .left .score .values .currentScore {
    font-size: 2em;
    -webkit-text-stroke-width: 1px;
  }
  

}
@media (max-width: 400px) {
  #game-container .game-over {
    font-size: 12px;
  }
}/*# sourceMappingURL=style.css.map */






@media (max-width: 992px) {

    
    
    
    
    
}



@media (max-width: 768px) {
  /* mobile */
}










    
.feedback-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: #00000080; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 1000; 
    opacity: 0; 
    visibility: hidden; 
} 

.feedback-overlay.show { 
    opacity: 1; 
    visibility: visible;
} 

.feedback-dialog {
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(.9) translateY(20px);
    transition: transform .3s ease;
    background: linear-gradient(to bottom, #f8f1d8 0%, #f6eed2 100%);
    border: 9px solid #c98a4a;
    border-radius: 42px;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.22), 0 3px 0 #b67634;
}

.feedback-overlay.show .feedback-dialog  { 
    transform: scale(1) translateY(0);
} 

.feedback-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 24px;
} 

.feedback-title { 
    font-size: 20px; 
    font-weight: 600;
} 



.close-btn { 
    background: none; 
    border: none; 
    font-size: 24px; 
    cursor: pointer; 
    color: #666; 
    padding: 4px;
} 

.form-group { 
    margin-bottom: 20px;
} 

.form-actions { 
    display: flex; 
    gap: 12px; 
    justify-content: flex-end; 
    margin-top: 24px;
} 


.form-group label  { 
    display: block; 
    margin-bottom: 6px; 
    font-size: 14px; 
    font-weight: 500; 
    color: #374151;
} 

.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
    background: #FFF8EF;
    border: 1px solid #ede4c5;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
    background: #FFF8EF;
    border: 1px solid #ede4c5;
}

.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
    background: #FFF8EF;
    border: 1px solid #ede4c5;
}

.form-group textarea  { 
    resize: vertical; 
    min-height: 100px; 
    font-family: inherit;
} 

.button-secondary { 
    padding: 10px 20px; 
    border-radius: 6px; 
    font-size: 14px; 
    font-weight: 500; 
    cursor: pointer; 
    transition: all .2s ease; 
    border: none;
} 

.button-secondary { 
    background: #fff; 
    color: #374151; 
    border: 1px solid #d1d5db;
} 

.button-secondary:hover:not(:disabled) { 
    background: #f9fafb;
} 

.button-primary { 
    padding: 10px 20px; 
    border-radius: 6px; 
    font-size: 14px; 
    font-weight: 500; 
    cursor: pointer; 
    transition: all .2s ease; 
    border: none;
} 

.button-primary { 
    background: #000; 
    color: #fff;
} 

.button-primary {
    background: #E68A3F;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease;
}

.button-primary:disabled {
    background: #E68A3F;
    cursor: not-allowed;
}

.button-primary:hover {
    background: #D9772F;
}


@media (max-width: 480px){ 
  .feedback-dialog { 
    padding: 24px; 
    margin: 20px; 
    width: calc(100% - 40px);
  } 

  .feedback-title { 
    font-size: 18px;
  } 
}     


@media (max-width: 480px){ 
  .form-actions { 
    flex-direction: column;
  } 

  .button-secondary { 
    width: 100%;
  } 

  .button-primary { 
    width: 100%;
  } 
}     











  
    
.howtoplay-overlay.show {
    opacity: 1;
    visibility: visible;
}
.howtoplay-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000080;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.howtoplay-overlay.show .howtoplay-dialog {
    transform: scale(1) translateY(0);
}


.howtoplay-dialog {
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(.9) translateY(20px);
    transition: transform .3s ease;
    background: linear-gradient(to bottom, #f8f1d8 0%, #f6eed2 100%);
    border: 9px solid #c98a4a;
    border-radius: 42px;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.22), 0 3px 0 #b67634;
}


.howtoplay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.howtoplay-title {
    font-size: 20px;
    font-weight: 600;
}







.lb-navigation-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 200px;
    margin: auto;
}

.lb-btn {
    flex: 1;
    height: 30px;
    border: none;
    border-radius: 15px;
    background: #E68A3F;
    color: #f7efd3;
    font-size: 13px;
    font-weight: 700;
    font-family: Arial, sans-serif;
    cursor: pointer;
    transition: all 0.15s ease;
}

.lb-btn:hover {
  filter: brightness(0.98);
}

.lb-btn:active {
  transform: scale(0.985);
}

.lb-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}


.leaderboard {
    width: 100%;
    max-width: 420px;
    border-radius: 0 0 26px 26px;
    padding: 0px 10px 10px;
}

.player-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #efe6c5;
    border-radius: 5px;
    padding: 10px 16px;
    margin-bottom: 5px;
}

    .player-left {
      display: flex;
      align-items: center;
      gap: 14px;
      min-width: 0;
    }

.rank {
    font-size: 16px;
    font-weight: 700;
    color: #9C7A4E;
    width: 34px;
    flex-shrink: 0;
}

    .avatar {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .avatar svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .player-meta {
      min-width: 0;
    }

.username {
    font-size: 16px;
    color: #5A3A1E;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}

    .badges {
      display: flex;
      align-items: center;
      gap: 6px;
      min-height: 16px;
    }

    .badge {
      width: 14px;
      height: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .badge svg {
      width: 100%;
      height: 100%;
      display: block;
    }


.lb-score {
    font-size: 18px;
    font-weight: 800;
    color: #604527;
    margin-left: 14px;
    flex-shrink: 0;
    margin: 0px !important;
}

    .score.highlight {
      color: #157cff;
    }
    
    
    
    
.leaderboard-overlay.show {
    opacity: 1;
    visibility: visible;
}
.leaderboard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000080;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.leaderboard-overlay.show .leaderboard-dialog {
    transform: scale(1) translateY(0);
}


.leaderboard-dialog {
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(.9) translateY(20px);
    transition: transform .3s ease;
    background: linear-gradient(to bottom, #f8f1d8 0%, #f6eed2 100%);
    border: 9px solid #c98a4a;
    border-radius: 42px;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.22), 0 3px 0 #b67634;
}


.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.leaderboard-title {
    font-size: 20px;
    font-weight: 600;
}





   
 .mystats-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mystats-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000080;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.mystats-overlay.show .mystats-dialog {
    transform: scale(1) translateY(0);
}

.mystats-dialog {
    padding: 32px;
    max-width: 560px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(.9) translateY(20px);
    transition: transform .3s ease;
    background: linear-gradient(to bottom, #f8f1d8 0%, #f6eed2 100%);
    border: 9px solid #c98a4a;
    border-radius: 42px;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.22), 0 3px 0 #b67634;
}

.mystats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.mystats-title {
    font-size: 20px;
    font-weight: 700;
    color: #604527;
}

.mystats-content {
    min-height: 240px;
}

.mystats-loading,
.mystats-error {
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #604527;
    font-size: 18px;
    font-weight: 600;
}

/* logged out */
.mystats-guest {
    text-align: center;
    padding: 8px 4px 4px;
}

.mystats-guest-illustration {
    width: 100%;
    max-width: 200px;
    margin: 0 auto 22px;
    display: block;
    min-height: 200px;
}

.mystats-guest-title {
    font-size: 25px;
    line-height: 1.02;
    font-weight: 900;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    text-transform: capitalize;
}

.mystats-guest-subtitle {
    font-size: 15px;
    line-height: 1.25;
    max-width: 430px;
    margin: 0 auto 28px;
}

.mystats-guest-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    min-height: 40px;
    padding: 0 26px;
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    border: none;
    background: #E68A3F;
}

/* logged in */
.mystats-user-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 4px 18px;
}

.mystats-user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    background: #d9c6a1;
    flex-shrink: 0;
}

.mystats-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mystats-user-fallback {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: #604527;
    color: #f7efd3;
    font-size: 22px;
    font-weight: 800;
}

.mystats-user-meta {
    min-width: 0;
}

.mystats-username {
    font-size: 17px;
    font-weight: 800;
    color: #3f2d1a;
    line-height: 1.1;
    margin-bottom: 4px;
    word-break: break-word;
}

.mystats-joined {
    font-size: 13px;
    color: #7b6543;
}

.mystats-stats-wrap {
    display: grid;
    gap: 8px;
    border-top: 2px solid rgba(96, 69, 39, 0.28);
}

.mystats-stat-group {
    padding: 12px 6px;
    border-bottom: 2px solid rgba(96, 69, 39, 0.28);
}

.mystats-stat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.mystats-stat-row.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mystats-stat {
    text-align: center;
}

.mystats-stat-value {
    font-size: 20px;
    line-height: 1;
    font-weight: 300;
    color: #3f2d1a;
    margin-bottom: 10px;
}

.mystats-stat-label {
    font-size: 15px;
    line-height: 1.15;
    color: #4a3a23;
}

@media (max-width: 640px) {
    .mystats-dialog {
        padding: 24px 18px;
        border-width: 7px;
        border-radius: 28px;
    }

    .mystats-guest-title {
        font-size: 22px;
    }

    .mystats-guest-subtitle {
        font-size: 15px;
    }

    .mystats-guest-btn {
        min-width: 200px;
        min-height: 40px;
        font-size: 16px;
    }

    .mystats-stat-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;
    }

    .mystats-stat-row.two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mystats-stat-value {
        font-size: 20px;
    }

    .mystats-stat-label {
        font-size: 16px;
    }

    .mystats-username {
        font-size: 20px;
    }
}








.profile-avatar {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 5px solid #fff;
    justify-self: center;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.change-photo-btn {
    position: absolute;
    right: -6px;
    bottom: -6px;
    width: 130px;
    height: 130px;
    border: none;
    border-radius: 50%;
    background: rgb(0 0 0 / 38%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.2s ease;
    pointer-events: none;
    padding: 0;
}


.change-photo-btn svg {
    width: 25px;
    height: 25px;
    display: block;
    fill: currentColor;
}

.profile-avatar:hover .change-photo-btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}








.text-danger {
    color: #f74f78 !important;
}


.text-success {
    color: #16c995 !important;
}

.text-muted {
    color: #9e9fb4 !important;
}


.settings-username-message {
    font-size: .875rem;
    padding-top: calc(.5625rem + 1px);
    padding-bottom: calc(.5625rem + 1px);
    margin-bottom: 0;
    line-height: 1.5;
    color: #4a4b65;
}





.stats-grid {
    display: flex;
    flex-wrap: wrap;
}

.stats-col {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;

  padding-right: 0.5rem;
  padding-left: 0.5rem;
  margin-top: 1rem;
}

/* col-sm-6 (min-width 500px in your CSS) */
@media (min-width: 500px) {
  .stats-col {
    width: 50%;
    flex: 0 0 auto;
  }
}

/* col-md-4 (min-width 768px) */
@media (min-width: 768px) {
  .stats-col {
    width: 33.33333333%;
    flex: 0 0 auto;
  }
}

@media (min-width: 992px) {
    .stats-col {
        width: 33.3%;
        flex: 0 0 auto;
    }
}

/* card + h-100 */
.stats-card {
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;

  background-color: #ffffff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.085);
  border-radius: 1rem;
}

.stats-card__body {
    flex: 1 1 auto;
    padding: 1.5rem;
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
}

/* badge bg-primary p-2 me-3 */
.stats-icon {
  display: inline-block;

  padding: 0.5rem;
  margin-right: 1rem;

  font-size: 0.75em;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;

  border-radius: 0.375rem;
  color: #ffffff;
  background-color: rgba(118, 109, 244, 1);
}

.stats-icon__svg {
  width: 24px;
  vertical-align: middle;
  max-width: 100%;
}

/* mt-n1 */
.stats-meta {
  margin-top: -0.25rem;
}

.stats-label {
  font-weight: 500;
  color: #737491; /* stays consistent with your base text */
}

.stats-value {
    font-weight: 700;
    font-size: calc(1.2875rem + 0.45vw);
    color: #4a4b65;
    margin-top: 5px;
}

@media (min-width: 1200px) {
  .stats-value {
    font-size: 1.625rem;
  }
}


.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.page-header__title {
  margin-top: 0;
  margin-bottom: 1rem;    /* mb-3 */
  font-weight: 600;
  line-height: 1.2;
  color: #4a4b65;
  font-size: calc(1.375rem + 1.5vw);
}

@media (min-width: 1200px) {
  .page-header__title {
    font-size: 2.5rem;
  }
}

/* Tabs group (was .btn-group mb-3) */
.page-tabs {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  margin-bottom: 1rem; /* mb-3 */
}

/* Base tab button (was .btn) */
.page-tab {
  display: inline-block;
  flex: 1 1 auto;
  position: relative;

  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;

  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.5625rem 1.25rem;
  font-size: 1rem;
  border-radius: 0.75rem;

  transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out, border-color 0.25s ease-in-out;
  text-decoration: none;
}

/* Join buttons in the group (Bootstrap-style) */
.page-tabs > .page-tab:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.page-tabs > .page-tab:not(:first-child) {
  margin-left: -1px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Active = primary filled (was .btn.btn-primary) */
.page-tab--active {
  background-color: #766df4;
  border-color: #766df4;
  color: #ffffff;
  box-shadow: unset;
}

/* Outline style (was .btn.btn-outline-primary) */
.page-tab--outline {
  color: #766df4;
  border-color: rgba(118, 109, 244, 0.35);
  background-color: transparent;
}

/* Hover / active behaviors (same as your original) */
.page-tab--active:hover,
.page-tab--active:active {
  background-color: #5549f1;
  border-color: #5549f1;
  color: #ffffff;
  text-decoration: none;
}

.page-tab--outline:hover,
.page-tab--outline:active {
  background-color: #766df4;
  border-color: #766df4;
  color: #ffffff;
  text-decoration: none;
}

/* Keep z-index behavior when hovering inside group */
.page-tabs > .page-tab:hover,
.page-tabs > .page-tab:active {
  z-index: 1;
}


 .main-heading {
    font-size: 30px;
    color: #474861;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 30px;
}

.panel-container {
    max-width: 1000px;
    margin: auto;
    margin-top: 30px;
}


.settings-panel {
    flex: 1 1 auto;
    padding: 1.5rem;
    position: relative;
    z-index: 5;
    border-radius: 10px;
    background: #F3E2BD;
}

/* Titles (h4) */
.settings-title {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  color: #4a4b65;
  font-size: calc(1.2625rem + 0.15vw);
}

@media (min-width: 1200px) {
  .settings-title {
    font-size: 1.375rem;
  }
}

/* Paragraph */
.settings-help {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-weight: 500;
  color: #737491;
  line-height: 1.5;
  font-size: 1rem;
}

/* Divider (was hr.my-4) */
.settings-divider {
  margin: 1.5rem 0;
  height: 1px;
  border: 0;
  opacity: 0.25;
  background-color: currentColor;
  color: inherit;
}

/* Input group (was .input-group.position-relative) */
.settings-inputgroup {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

/* Input (was .form-control) */
.settings-input {
  display: block;
  width: 1%;
  min-width: 0;
  flex: 1 1 auto;
  padding: 0.5625rem 1.125rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #737491;
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1px solid #dfdfeb;
  border-radius: 0.75rem;
  box-shadow: 0 0 0 0 transparent;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  margin: 0;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

/* Remove right radius when followed by button (Bootstrap behavior) */
.settings-inputgroup > .settings-input {
  position: relative;
}
.settings-inputgroup > .settings-input:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* Primary button (was .btn.btn-primary) */
.btn-primary-solid {
  display: inline-block;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: #766df4;
  border: 1px solid #766df4;
  padding: 0.5625rem 1.25rem;
  font-size: 1rem;
  border-radius: 0.75rem;
  transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out, border-color 0.25s ease-in-out;
  color: #ffffff;
  text-decoration: none;
}

/* Button in input group: overlap border + remove left radius */
.settings-inputgroup > .btn-primary-solid {
  position: relative;
  z-index: 2;
  margin-left: -1px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Hover/active states */
.btn-primary-solid:hover {
  background-color: #5549f1;
  border-color: #5549f1;
  color: #ffffff;
  text-decoration: none;
}

.btn-primary-solid:active {
  background-color: #5549f1;
  border-color: #5549f1;
  color: #ffffff;
}

/* Link hover behavior from your CSS */
a.btn-primary-solid:hover {
  text-decoration: none;
}

/* Disabled */
.btn-primary-solid:disabled {
  pointer-events: none;
  opacity: 0.65;
  box-shadow: none;
  background-color: #766df4;
  border-color: #766df4;
  color: #ffffff;
}

/* The absolute element you had (was #style-tOoNc.style-tOoNc) */
#style-tOoNc.input-adornment {
  position: absolute;
  right: 80px;
  top: 0px;
  height: 100%;
  z-index: 3;
}

/* Inner flex alignment (was .d-flex.align-items-center.h-100) */
.input-adornment__inner {
  display: flex;
  align-items: center;
  height: 100%;
}

/* Mobile rule you had */
@media (max-width: 767.98px) {
  body {
    padding-top: 0 !important;
  }
}




.dp-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: #00000080; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 1000; 
    opacity: 0; 
    visibility: hidden; 
    pointer-events: none;
} 

.dp-overlay.show { 
    opacity: 1; 
    visibility: visible;
    pointer-events: auto;
} 

.dp-dialog { 
    padding: 32px; 
    max-width: 500px; 
    width: 90%; 
    max-height: 80vh; 
    transform: scale(.9) translateY(20px); 
    transition: transform .3s ease; 
    background: linear-gradient(to bottom, #f8f1d8 0%, #f6eed2 100%); 
    border: 9px solid #c98a4a; 
    border-radius: 42px; 
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.22), 0 3px 0 #b67634;
    overflow: hidden;
    display: flex;
    flex-direction: column;
} 

.dp-overlay.show .dp-dialog  { 
    transform: scale(1) translateY(0);
} 

.dp-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 18px;
    flex-shrink: 0;
} 

.dp-title { 
    font-size: 20px; 
    font-weight: 600;
} 

.close-btn { 
    background: none; 
    border: none; 
    font-size: 24px; 
    cursor: pointer; 
    color: #666; 
    padding: 4px;
} 

.dp-content {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    padding-right: 6px;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.avatar-option {
    position: relative;
    display: block;
    width: 100%;
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
    border-radius: 22px;
    overflow: hidden;
}

.avatar-option img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 22px;
}

.avatar-option::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 4px solid transparent;
    border-radius: 22px;
    box-sizing: border-box;
    pointer-events: none;
}

.avatar-option.selected::after {
    border-color: #c98b4a;
}

.dp-footer {
    padding-top: 18px;
    margin-top: 18px;
    flex-shrink: 0;
    margin: auto;
}


.dp-save-btn:hover {
    background: #D9772F;
}

.dp-save-btn {
    width: 250px;
    height: 52px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    background: #E68A3F;
    transition: background .2s ease;
    border-radius: 6px;
}

.dp-save-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}


    
.reset-overlay.show {
    opacity: 1;
    visibility: visible;
}
.reset-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000080;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}


.reset-overlay.show .reset-dialog {
    transform: scale(1) translateY(0);
}
.reset-dialog {
    padding: 32px;
    max-width: 560px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(.9) translateY(20px);
    transition: transform .3s ease;
    background: linear-gradient(to bottom, #f8f1d8 0%, #f6eed2 100%);
    border: 9px solid #c98a4a;
    border-radius: 42px;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.22), 0 3px 0 #b67634;
}

.reset-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reset-content {
    min-height: 240px;
}


.reset-title {
    font-size: 20px;
    font-weight: 700;
    color: #604527;
}

.reset-content li {
    list-style: auto;
    display: list-item;
}

.reset-content ol {
    line-height: 30px;
    list-style: auto;
    margin: 25px;
}


