/* BONUSSA Market-centered engagement v1 */

.hero-message-rail {
  width: fit-content;
  min-width: 300px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 14px;
  border: 1px solid #4a3f1d;
  border-radius: 999px;
  background: linear-gradient(90deg, #171307, #0b0b0d);
  color: #d8d8dc;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .2px;
}

.hero-message-rail i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px #38d996a6;
}

.hero-message-rail b {
  min-width: 190px;
  color: #f4d74c;
  transition: opacity .18s ease, transform .18s ease;
}

.hero-message-rail b.is-changing {
  opacity: 0;
  transform: translateY(4px);
}

.hero-message-rail span {
  margin-left: auto;
  color: #777780;
}

.daily-journey {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: -28px;
  margin-bottom: 34px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #4b4020;
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 0, #876b002e, transparent 36%),
    linear-gradient(140deg, #12120e, #09090b 66%);
  box-shadow: 0 22px 70px #0008;
}

.daily-journey::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffdc2d, transparent);
  opacity: .72;
}

.daily-journey-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.daily-journey h2 {
  margin: 6px 0 5px;
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.08;
  letter-spacing: -1.2px;
}

.daily-journey p {
  margin: 0;
  color: #9999a1;
  font-size: 13px;
}

.journey-wallet,
.mission-wallet {
  min-width: 180px;
  display: grid;
  padding: 15px 17px;
  border: 1px solid #6c5818;
  border-radius: 17px;
  background: #211b06;
  box-shadow: inset 0 0 28px #ffd4000a;
}

.journey-wallet small,
.mission-wallet small {
  color: #a99b68;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.journey-wallet b,
.mission-wallet b {
  margin: 4px 0 1px;
  color: var(--gold);
  font-size: 30px;
  line-height: 1;
}

.journey-wallet span,
.mission-wallet span {
  color: #e5e5e8;
  font-size: 10px;
  font-weight: 850;
}

.journey-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #29292d;
}

.journey-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d0a900, #ffe65b);
  box-shadow: 0 0 18px #ffd40070;
  transition: width .7s cubic-bezier(.2, .8, .2, 1);
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-steps li {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid #28282c;
  border-radius: 15px;
  background: #0b0b0d;
}

.journey-steps li > i {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid #3a3a3f;
  border-radius: 50%;
  color: #85858d;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.journey-steps li > span {
  min-width: 0;
  display: grid;
}

.journey-steps li b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.journey-steps li small {
  overflow: hidden;
  color: #777780;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.journey-steps li.is-complete {
  border-color: #22714b;
  background: #081c14;
}

.journey-steps li.is-complete > i {
  border-color: #2b9968;
  background: #0d3727;
  color: #62e3ad;
}

.journey-steps li.is-current {
  border-color: #766018;
  background: #181405;
}

.journey-steps li.is-current > i {
  border-color: #9d7e13;
  color: var(--gold);
  box-shadow: 0 0 18px #ffd40018;
}

.daily-journey-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.daily-journey-foot > small {
  color: #818189;
  font-size: 10px;
}

.daily-journey-foot .button {
  min-width: 190px;
}

.mission-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
  padding: 21px 24px;
  border: 1px solid #3e3720;
  border-radius: 20px;
  background: linear-gradient(130deg, #12110c, #0b0b0d);
}

.mission-overview-copy h2 {
  margin: 6px 0 4px;
  font-size: 25px;
  letter-spacing: -.7px;
}

.mission-overview-copy p {
  max-width: 760px;
  margin: 0;
  color: #92929a;
  font-size: 12px;
}

.mission-overview.is-rewarded,
[data-market-wallet].is-rewarded {
  animation: market-wallet-reward 1.15s ease both;
}

.streak-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin: 23px 0 4px;
}

.streak-week > span {
  display: grid;
  gap: 5px;
  justify-items: center;
}

.streak-week i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #323237;
  border-radius: 10px;
  background: #0a0a0c;
  color: #696970;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.streak-week small {
  color: #686870;
  font-size: 7px;
  white-space: nowrap;
}

.streak-week .is-filled i {
  border-color: #7c6519;
  background: #211b06;
  color: var(--gold);
  box-shadow: 0 0 14px #ffd40014;
}

.quiz-options label span {
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.quiz-options label:hover span,
.quiz-options label:focus-within span {
  border-color: #66551b;
  transform: translateX(3px);
}

.quiz-options.has-selection label:not(:focus-within) input:not(:checked) + span {
  opacity: .66;
}

.mission-safety > div {
  display: flex;
  gap: 16px;
}

.market-head.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  align-items: end;
  gap: 8px 44px;
}

.market-head > .eyebrow,
.market-head > h1,
.market-head > p {
  grid-column: 1;
}

.market-head > p {
  margin-bottom: 0;
}

.market-wallet-panel {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  padding: 22px;
  border: 1px solid #6d5819;
  border-radius: 22px;
  background:
    radial-gradient(circle at 85% 10%, #9373002e, transparent 43%),
    linear-gradient(145deg, #1b1708, #0c0c0e);
  box-shadow: 0 22px 60px #0007;
}

.market-wallet-panel > span {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.market-wallet-panel small {
  color: #9f956f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
}

.market-wallet-panel b {
  color: var(--gold);
  font-size: 34px;
  line-height: 1;
}

.market-wallet-panel em {
  grid-column: 1 / -1;
  padding-top: 11px;
  border-top: 1px solid #ffffff0d;
  color: #e7e7e9;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.market-head .market-balance {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
}

.market-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
  padding: 13px;
  border: 1px solid #29292d;
  border-radius: 20px;
  background: #0a0a0c;
}

.market-principles article {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #101012;
}

.market-principles i {
  color: var(--gold);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 1px;
}

.market-principles article > div {
  min-width: 0;
  display: grid;
}

.market-principles b {
  font-size: 13px;
}

.market-principles span {
  color: #7e7e86;
  font-size: 9px;
}

.market-principles > p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 3px 12px 2px;
  color: #8b8b93;
  font-size: 10px;
}

.market-principles > p strong {
  color: #e2ca66;
}

.market-card {
  position: relative;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.market-card:hover {
  transform: translateY(-5px);
  border-color: #66551b;
  box-shadow: 0 20px 60px #0009;
}

.market-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd400, transparent);
}

.market-card[data-market-card="event_entry"]::before {
  background: linear-gradient(90deg, transparent, #8f7cff, transparent);
}

.market-card[data-market-card="cash"]::before {
  background: linear-gradient(90deg, transparent, #56dca1, transparent);
}

.market-visual {
  position: relative;
  overflow: hidden;
}

.market-visual::after {
  content: "";
  position: absolute;
  inset: -50% -80%;
  background: linear-gradient(105deg, transparent 42%, #ffffff17 50%, transparent 58%);
  transform: translateX(-28%);
  animation: market-card-sheen 7s ease-in-out infinite;
}

.market-card[data-market-card="event_entry"] .market-visual {
  background: radial-gradient(circle, #352969, #080808 68%);
}

.market-card[data-market-card="cash"] .market-visual {
  background: radial-gradient(circle, #16442f, #080808 68%);
}

.market-content {
  display: flex;
  min-height: 355px;
  flex-direction: column;
}

.market-content > p {
  flex: 1;
}

.market-event-note,
.market-guarantee-note {
  min-height: 0 !important;
  margin-bottom: 7px !important;
}

.market-guarantee-note {
  color: #9c92cd !important;
}

.market-confirm {
  margin: 0;
  padding: 0;
  border: 0;
}

.market-confirm summary {
  list-style: none;
}

.market-confirm summary::-webkit-details-marker {
  display: none;
}

.market-confirm summary::after {
  content: " +";
  margin-left: 7px;
}

.market-confirm[open] summary {
  border-color: #705c19;
  background: #171405;
  color: var(--gold);
  box-shadow: none;
}

.market-confirm[open] summary::after {
  content: " −";
}

.market-confirm > div {
  margin-top: 9px;
  padding: 13px;
  border: 1px solid #3d351d;
  border-radius: 13px;
  background: #0a0a0c;
}

.market-confirm > div > p {
  min-height: 0;
  margin: 0 0 11px;
  color: #9a9aa2;
  font-size: 10px;
  line-height: 1.5;
}

.market-confirm > div > p strong {
  color: #e4cc67;
}

.market-empty {
  grid-column: 1 / -1;
}

.league-separation-note {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  padding: 15px 17px;
  border: 1px solid #34303f;
  border-radius: 16px;
  background: linear-gradient(120deg, #121019, #0c0c0e);
}

.league-separation-note > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #5c4f91;
  border-radius: 12px;
  color: #a99aff;
  font-style: normal;
  font-weight: 900;
}

.league-separation-note > div {
  min-width: 0;
  display: grid;
}

.league-separation-note b {
  font-size: 12px;
}

.league-separation-note span {
  color: #8d8d95;
  font-size: 10px;
  line-height: 1.5;
}

.league-separation-note a {
  color: #b7aaff;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.league-budget em {
  display: block;
  color: #70d9aa;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .7px;
}

.leader-row > strong,
.own-rank > strong {
  max-width: 180px;
  text-align: right;
  line-height: 1.25;
}

.market-wallet-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 27px;
  border: 1px solid #66531a;
  border-radius: 23px;
  background:
    radial-gradient(circle at 90% 0, #9e7c002b, transparent 36%),
    linear-gradient(140deg, #171407, #0b0b0d 68%);
  box-shadow: 0 22px 65px #0007;
}

.market-wallet-card h2 {
  margin: 7px 0 6px;
  font-size: 28px;
  letter-spacing: -.9px;
}

.market-wallet-card h2 b {
  color: var(--gold);
  font-size: 40px;
}

.market-wallet-card p {
  max-width: 720px;
  margin: 0;
  color: #96969e;
  font-size: 12px;
}

.market-wallet-actions {
  min-width: 190px;
  display: grid;
  gap: 10px;
  text-align: center;
}

.market-wallet-actions > a:not(.button) {
  color: #c7b75f;
  font-size: 10px;
  font-weight: 850;
}

.panel-card-note {
  margin: -6px 0 15px;
  color: #85858d;
  font-size: 11px;
}

#puan-hareketleri {
  scroll-margin-top: 96px;
}

.account-action-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nav-account-stats b {
  color: var(--gold);
}

.journey-enhanced [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .48s ease, transform .48s cubic-bezier(.2, .8, .2, 1);
}

.journey-enhanced [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.hero-orbit .orbit.one {
  animation: orbit-drift-one 17s ease-in-out infinite alternate;
}

.hero-orbit .orbit.two {
  animation: orbit-drift-two 22s ease-in-out infinite alternate;
}

@keyframes orbit-drift-one {
  from { transform: rotate(-20deg) scale(.98); }
  to { transform: rotate(-11deg) scale(1.025); }
}

@keyframes orbit-drift-two {
  from { transform: rotate(-20deg) scale(1.015); }
  to { transform: rotate(-29deg) scale(.98); }
}

@keyframes market-card-sheen {
  0%, 62%, 100% { transform: translateX(-32%); opacity: 0; }
  72% { opacity: .7; }
  88% { transform: translateX(32%); opacity: 0; }
}

@keyframes market-wallet-reward {
  0%, 100% { border-color: #66531a; box-shadow: 0 22px 65px #0007; }
  45% { border-color: #ffe051; box-shadow: 0 0 0 5px #ffd40012, 0 0 45px #ffd40024; }
}

@media (max-width: 900px) {
  .daily-journey {
    margin-top: 0;
  }

  .market-head.page-head {
    grid-template-columns: 1fr;
  }

  .market-head > .eyebrow,
  .market-head > h1,
  .market-head > p,
  .market-wallet-panel,
  .market-head .market-balance {
    grid-column: 1;
    grid-row: auto;
  }

  .market-wallet-panel,
  .market-head .market-balance {
    margin-top: 13px;
  }

  .market-principles {
    grid-template-columns: 1fr;
  }

  .market-principles > p {
    grid-column: 1;
  }

  .account-action-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero-message-rail {
    min-width: 0;
    width: 100%;
    margin-top: 17px;
    padding: 9px 12px;
    font-size: 10px;
  }

  .hero-message-rail b {
    min-width: 0;
  }

  .daily-journey {
    gap: 14px;
    margin-bottom: 25px;
    padding: 17px;
    border-radius: 20px;
  }

  .daily-journey-head {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .daily-journey h2 {
    font-size: 24px;
  }

  .daily-journey p {
    font-size: 11px;
    line-height: 1.5;
  }

  .journey-wallet,
  .mission-wallet {
    min-width: 0;
    width: 100%;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3px 12px;
    padding: 13px 15px;
  }

  .journey-wallet small,
  .mission-wallet small {
    grid-column: 1;
  }

  .journey-wallet b,
  .mission-wallet b {
    grid-column: 2;
    grid-row: 1 / span 2;
    font-size: 28px;
  }

  .journey-wallet span,
  .mission-wallet span {
    grid-column: 1;
  }

  .journey-steps {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .journey-steps li {
    min-height: 56px;
    padding: 10px 12px;
  }

  .journey-steps li b,
  .journey-steps li small {
    white-space: normal;
  }

  .daily-journey-foot {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .daily-journey-foot .button {
    min-width: 0;
    width: 100%;
  }

  .mission-overview {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 17px;
    border-radius: 18px;
  }

  .mission-overview-copy h2 {
    font-size: 22px;
  }

  .mission-overview-copy p {
    font-size: 11px;
    line-height: 1.55;
  }

  .streak-week {
    grid-template-columns: repeat(7, minmax(38px, 1fr));
    margin-inline: -2px;
    padding-bottom: 5px;
    overflow-x: auto;
  }

  .streak-week i {
    width: 30px;
    height: 30px;
  }

  .mission-safety > div {
    width: 100%;
    justify-content: space-between;
  }

  .market-head.page-head {
    padding-top: 31px;
  }

  .market-wallet-panel {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 17px;
    border-radius: 18px;
  }

  .market-wallet-panel b {
    font-size: 29px;
  }

  .market-principles {
    gap: 7px;
    margin-bottom: 17px;
    padding: 9px;
    border-radius: 17px;
  }

  .market-principles article {
    padding: 10px;
  }

  .market-card:hover {
    transform: none;
  }

  .market-content {
    min-height: 0;
  }

  .market-confirm > div {
    padding: 11px;
  }

  .league-separation-note {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
  }

  .league-separation-note > i {
    width: 34px;
    height: 34px;
  }

  .league-separation-note a {
    grid-column: 2;
  }

  .leader-row > strong,
  .own-rank > strong {
    max-width: none;
    text-align: left;
    font-size: 11px;
  }

  .market-wallet-card {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 20px;
    border-radius: 20px;
  }

  .market-wallet-card h2 {
    font-size: 23px;
  }

  .market-wallet-card h2 b {
    font-size: 34px;
  }

  .market-wallet-actions {
    min-width: 0;
  }

  .panel-card-note {
    font-size: 10px;
    line-height: 1.5;
  }
}

@media (max-width: 380px) {
  .market-wallet-panel small {
    font-size: 7px;
  }

  .market-wallet-panel b {
    font-size: 25px;
  }

  .mission-safety > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-message-rail b,
  .journey-progress > span,
  .quiz-options label span,
  .market-card,
  .journey-enhanced [data-reveal] {
    transition: none !important;
  }

  .hero-orbit .orbit,
  .market-visual::after,
  .mission-overview.is-rewarded,
  [data-market-wallet].is-rewarded {
    animation: none !important;
  }

  .journey-enhanced [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
