/* Logo palette: violet lettering, golden energy and coral red accents. */
body.girlkun-bg {
  --brand: #ac55ee;
  --brand-light: #e6c5ff;
  --brand-border: rgba(185, 119, 237, .48);
  --text: #f6efff;
  --muted: #c1b1d0;
  background:
    radial-gradient(ellipse at 50% 0, rgba(137, 39, 210, .16), transparent 48%),
    #0c0715 url("../images/bg/characters-purple-hair.png") center top / cover fixed;
}

body.girlkun-bg > .container-md {
  border-color: var(--brand-border) !important;
  background:
    radial-gradient(ellipse at 50% 0, rgba(121, 43, 175, .24), transparent 38%),
    linear-gradient(165deg, #21122e, #110b1c 65%) !important;
  box-shadow: 0 24px 80px #08040e, 0 0 36px rgba(154, 55, 224, .12) !important;
}

body.girlkun-bg .p-xs .image-container {
  background: radial-gradient(ellipse, rgba(174, 66, 239, .22), transparent 64%);
}

body.girlkun-bg .p-xs .image-container::after {
  border-color: var(--brand-border);
  background: linear-gradient(90deg, #241033, #4d1c68, #241033);
  color: var(--brand-light);
  text-shadow: 0 1px 3px #100819;
}

body.girlkun-bg .col.text-center > .image-container a {
  border-color: var(--brand-border);
  background: linear-gradient(180deg, #39204e, #1a1029);
}

body.girlkun-bg .col.text-center > .image-container a:hover {
  border-color: var(--brand-light);
  box-shadow: 0 8px 22px #0c0715, 0 0 18px rgba(172, 85, 238, .25);
}

body.girlkun-bg :is(.btn-action, .btn-primary, .btn-navbar, .btn-info1, .popup-btn) {
  color: #fff !important;
  border: 1px solid #b875ed !important;
  background: linear-gradient(180deg, #8529be, #531985) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .15), 0 5px 14px rgba(12, 4, 23, .4) !important;
}

body.girlkun-bg :is(.btn-action, .btn-primary, .btn-navbar, .btn-info1, .popup-btn):hover {
  color: #fff !important;
  border-color: #e6c5ff !important;
  background: linear-gradient(180deg, #9b38d4, #68239e) !important;
}

body.girlkun-bg :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #e6c5ff;
  outline-offset: 3px;
}

body.girlkun-bg :is(.ibox-content, .tet-board, .card, .modal-content) {
  border-color: var(--brand-border) !important;
  background: linear-gradient(155deg, #241632, #150d21) !important;
  color: var(--text) !important;
}

body.girlkun-bg :is(.announcement-info, .ent-info) {
  border-color: var(--brand-border) !important;
  background: #1a1028 !important;
  box-shadow: inset 0 0 14px rgba(172, 85, 238, .06);
}

body.girlkun-bg .tet-title {
  background: linear-gradient(90deg, #251236, #492066, #251236);
  border-color: var(--brand-border);
  text-shadow: 0 2px 3px #12091c;
  box-shadow: inset 0 1px rgba(230, 197, 255, .08);
}

body.girlkun-bg .post-item a { text-shadow: 0 1px 3px #100719; }
body.girlkun-bg .post-item a:hover { color: #fff !important; }
body.girlkun-bg .aura-text {
  color: #f4e5ff;
  text-shadow: 0 0 10px rgba(185, 119, 237, .45);
  animation: none;
}

body.girlkun-bg :is(.form-control, .form-select) {
  color: var(--text);
  background-color: #170d24;
  border-color: #795393;
}
body.girlkun-bg .form-control::placeholder { color: #b9a6c9; opacity: 1; }
body.girlkun-bg :is(.form-control, .form-select):focus {
  border-color: #c991f4;
  box-shadow: 0 0 0 .2rem rgba(172, 85, 238, .2);
}
body.girlkun-bg .form-control:disabled { background-color: #30233e; color: #b9a6c9; }
body.girlkun-bg .table { color: var(--text); border-color: #513564; }
body.girlkun-bg .table-striped { --bs-table-striped-color: #f6efff; --bs-table-striped-bg: rgba(172, 85, 238, .08); }
body.girlkun-bg .table-hover { --bs-table-hover-color: #fff; --bs-table-hover-bg: rgba(172, 85, 238, .14); }
body.girlkun-bg footer { border-color: var(--brand-border); color: var(--muted); }

/* Modern portal layout. Presentation only; existing routes and handlers remain. */
body.girlkun-bg {
  --gold-light: #f3eaff;
  --gold: #c399f0;
  --brand-border: rgba(191, 155, 232, .2);
  --muted: #b9afc9;
  font-size: 14px;
  line-height: 1.65;
}
body.girlkun-bg > .container-md {
  width: min(1040px, calc(100% - 48px));
  max-width: 1040px;
  padding: 28px !important;
  margin: 32px auto;
  border-radius: 28px !important;
  background: rgba(19, 14, 30, .97) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55) !important;
}
body.girlkun-bg > .container-md::before,
body.girlkun-bg > .container-md::after { content: none; }
body.girlkun-bg .site-header {
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
body.girlkun-bg .p-xs {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 16px;
  padding: 24px 20px 32px;
}
.hero-eyebrow {
  display: inline-block;
  color: #d0a5ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  margin-bottom: 20px;
}
body.girlkun-bg .hero-copy h1 {
  color: #fff !important;
  font: 800 clamp(25px, 3vw, 38px)/1.3 "Be Vietnam Pro", sans-serif;
  letter-spacing: -1.3px;
  margin-bottom: 18px;
}
.hero-copy h1 span { color: #c59aff; }
.hero-copy p { max-width: 370px; color: #b9afc9; font-size: 14px; line-height: 1.9; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #e0c9fa; font-size: 11px; margin-top: 22px; }
body.girlkun-bg .p-xs .image-container { min-height: 0; margin: 0; background: radial-gradient(ellipse, #68309255, transparent 68%); }
body.girlkun-bg .p-xs .image-container::after { content: none; }
body.girlkun-bg .p-xs .image-container img {
  width: 100% !important;
  max-width: 410px;
  height: auto;
  animation: none;
  filter: drop-shadow(0 12px 25px rgba(146, 57, 212, .2));
}
body.girlkun-bg .site-notice {
  margin: 0 0 18px !important;
  max-width: none !important;
  padding: 10px 14px !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: 12px !important;
  background: #251b34 !important;
  box-shadow: none !important;
}
body.girlkun-bg .site-notice > div:first-child:not(.marquee) { display: none; }
body.girlkun-bg .aura-text { color: #d4c5e6 !important; font-size: 12px !important; font-weight: 500 !important; text-shadow: none !important; }
body.girlkun-bg .col.text-center > .image-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px !important; }
body.girlkun-bg .col.text-center > .image-container a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 14px;
  border-radius: 16px;
  background: #251c33;
  border: 1px solid var(--brand-border);
  box-shadow: none;
  cursor: pointer;
  text-decoration: none;
  text-align: left;
}
body.girlkun-bg .col.text-center > .image-container a:hover { transform: translateY(-2px); background: #49305f; box-shadow: none; }
.nav-symbol { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 38px; border-radius: 10px; background: #ffffff0d; color: #e5caff; font-size: 26px; font-weight: 700; line-height: 1; }
.nav-label { color: #fff; font-size: 14px; font-weight: 700; }
.nav-label small { display: block; color: #d0c1e2; font-size: 10px; font-weight: 400; margin-top: 4px; }
body.girlkun-bg .btn-action { min-height: 44px; padding: 10px 20px; border-radius: 10px !important; font-weight: 600; font-size: 13px; }
body.girlkun-bg .btn-action[href="Login"] { background: #30223f !important; }
body.girlkun-bg .ranking-action { padding: 12px 0 20px; }
body.girlkun-bg .ranking-button {
  min-height: 94px !important;
  padding: 18px 58px !important;
  border-radius: 16px !important;
  border: 1px solid #7c5b414d !important;
  background: linear-gradient(110deg, #352737, #251e30) !important;
  box-shadow: none !important;
  text-align: left;
  letter-spacing: 0;
}
body.girlkun-bg .ranking-button:hover { background: #392941 !important; box-shadow: none !important; transform: translateY(-2px) !important; }
body.girlkun-bg .ranking-button::before { content: "♛"; left: 18px; font-size: 27px; color: #f4cd86; text-shadow: none; }
body.girlkun-bg .ranking-button::after { content: "→"; right: 20px; font-size: 22px; color: #d8bedf; text-shadow: none; }
body.girlkun-bg .ranking-kicker { color: #ddb885; font-size: 9px; letter-spacing: 1.8px; }
body.girlkun-bg .ranking-title { font: 700 20px/1.4 "Be Vietnam Pro", sans-serif; color: #fff0d8; text-shadow: none; }
body.girlkun-bg .ranking-subtitle { color: #bfb0c6; font-size: 11px; letter-spacing: 0; }
body.girlkun-bg .ibox-content { padding: 20px !important; border-radius: 20px !important; background: #1c1528 !important; box-shadow: none !important; }
body.girlkun-bg .ibox-content > .p-1 > h5 {
  text-align: left !important;
  padding: 0 0 16px !important;
  margin: 0 0 20px !important;
  color: #f1e8fc !important;
  border: 0 !important;
  border-bottom: 1px solid var(--brand-border) !important;
  border-radius: 0 !important;
  background: none !important;
  font-size: 20px;
  letter-spacing: .3px !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
body.girlkun-bg .donate-blessing {
  padding: 26px;
  margin-bottom: 24px;
  border: 1px solid #9d63d444;
  border-radius: 18px;
  background: radial-gradient(ellipse at 100% 0, #8a46c12e, transparent 65%), #2a1c3b;
  box-shadow: none;
}
body.girlkun-bg .donate-blessing::before,
body.girlkun-bg .donate-blessing::after { content: none; }
body.girlkun-bg .donate-blessing-title { font: 750 21px/1.4 "Be Vietnam Pro", sans-serif; letter-spacing: 0; text-shadow: none; }
body.girlkun-bg .donate-blessing-copy { color: #cfc1df; line-height: 1.8; }
body.girlkun-bg .donate-bonus { border: 0; border-radius: 16px; padding: 16px; background: #a46dde1c; box-shadow: none; }
body.girlkun-bg .donate-bonus small { color: #d9bbf3; font-size: 10px; }
body.girlkun-bg .donate-bonus b { color: #f4d290; font-size: 38px; text-shadow: none; margin-top: 5px; }
body.girlkun-bg .donate-blessing-time { color: #c1b2cf; line-height: 1.8; }
body.girlkun-bg .donate-blessing-features span { border: 0; background: #ffffff06; color: #d1bfdf; }
body.girlkun-bg :is(.donate-blessing-btn, .reward-milestone-btn, .reward-donate-now) { border: 1px solid #b77aea; border-radius: 11px; background: #8850c4; color: #fff !important; box-shadow: none; min-height: 46px; text-decoration: none; }
body.girlkun-bg .ibox-content .announcement {
  border: 1px solid var(--brand-border) !important;
  border-radius: 14px;
  background: #261d33 !important;
  box-shadow: none;
  margin-bottom: 10px;
}
body.girlkun-bg .ibox-content .announcement::before,
body.girlkun-bg .ibox-content .announcement::after { content: none; }
body.girlkun-bg .ibox-content .announcement:hover { transform: translateY(-1px); background: #30223f !important; box-shadow: none !important; }
body.girlkun-bg .ibox-content .announcement .post-item { padding: 12px 44px 12px 14px; gap: 12px; min-height: 78px; margin: 0 !important; }
body.girlkun-bg .ibox-content .announcement .post-image:first-child { border: 0; border-radius: 12px; background: #ffffff08; box-shadow: none; }
body.girlkun-bg .ibox-content .announcement .post-image:last-child { right: 10px; }
body.girlkun-bg .ibox-content .announcement .post-item > div:not(.post-image) { min-width: 0; }
body.girlkun-bg .ibox-content .announcement .post-item a { color: #ede1fb !important; font-weight: 650 !important; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; text-shadow: none; }
body.girlkun-bg .ibox-content .announcement .text-muted { margin-top: 5px; font-size: 11px; }
body.girlkun-bg :is(.announcement-info, .ent-info, .reward-milestone-info) { margin: 10px; padding: 18px !important; background: #181020 !important; border-radius: 12px; text-align: left; box-shadow: none; overflow-wrap: anywhere; }
body.girlkun-bg :is(.inline-milestone-card, .reward-benefits span) { background: #2b2038; border-color: var(--brand-border); border-radius: 12px; box-shadow: none; }
body.girlkun-bg :is(.inline-milestone-head, .inline-milestone-rewards span) { border-color: var(--brand-border); background: #ffffff04; }
body.girlkun-bg .inline-milestone-amount { color: #f1d193; border-color: #d2aa6c44; background: #3c2c3a; }
body.girlkun-bg #popupPromo { width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 28px; border: 1px solid #815ca4; border-radius: 24px; background: #21162f; box-shadow: 0 30px 100px #0009; }
body.girlkun-bg .popup-glow { display: none; }
body.girlkun-bg .popup-title { font: 800 26px/1.4 "Be Vietnam Pro", sans-serif; letter-spacing: 0; text-shadow: none; }
body.girlkun-bg .popup-box { background: #2d203e; border-color: var(--brand-border); border-radius: 16px; box-shadow: none; padding: 20px; }
body.girlkun-bg .popup-box::before { content: none; }
body.girlkun-bg .popup-box h3 { font-size: 18px; text-shadow: none; }
body.girlkun-bg .popup-box p { color: #ded1eb; line-height: 1.8; }
body.girlkun-bg .popup-btn-close { min-height: 44px; border-radius: 10px; background: #30213f; color: #e7d6f8; border-color: #71528a; }
body.girlkun-bg .popup-close { min-width: 44px; min-height: 44px; top: 6px; right: 6px; color: #d9c5ec; }
body.girlkun-bg :is(#myModal, #myBox) .modal-content { width: min(680px, 96%) !important; border-radius: 22px !important; }
body.girlkun-bg .form-control, body.girlkun-bg .form-select { min-height: 46px; border-radius: 10px; font-size: 16px; }
body.girlkun-bg .table-responsive { max-width: 100%; overflow-x: auto; }
body.girlkun-bg footer { margin-top: 28px !important; padding: 18px 0 8px; }
body.girlkun-bg footer img { max-width: 120px !important; }
@media (max-width: 767px) {
  body.girlkun-bg { background-attachment: scroll; font-size: 14px; }
  body.girlkun-bg > .container-md { width: calc(100% - 20px); margin: 10px auto; padding: 14px !important; border-radius: 20px !important; }
  body.girlkun-bg .p-xs { grid-template-columns: 1fr; gap: 8px; padding: 8px 6px 24px; text-align: center; }
  body.girlkun-bg .p-xs .image-container { grid-row: 1; min-height: 0; margin: 0; }
  body.girlkun-bg .p-xs .image-container img { width: min(76%, 290px) !important; }
  .hero-eyebrow { margin-bottom: 10px; font-size: 10px; }
  body.girlkun-bg .hero-copy h1 { font-size: clamp(24px, 6vw, 32px); letter-spacing: -.8px; margin-bottom: 12px; }
  .hero-copy p { margin: 0 auto; font-size: 13px; }
  .hero-tags { justify-content: center; margin-top: 14px; font-size: 10px; }
  body.girlkun-bg .col.text-center > .image-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body.girlkun-bg .col.text-center > .image-container a { flex-direction: column; text-align: center; padding: 12px 5px; min-height: 72px; gap: 6px; border-radius: 12px; }
  .nav-symbol { flex-basis: 28px; width: 28px; font-size: 24px; }
  .nav-label { font-size: 13px; }
  .nav-label small { font-size: 9px; }
  body.girlkun-bg .btn-action { padding: 10px 12px; font-size: 12px; margin: 4px !important; }
  body.girlkun-bg .ranking-button { padding: 15px 42px !important; min-height: 88px !important; }
  body.girlkun-bg .ranking-button::before { left: 12px; font-size: 23px; }
  body.girlkun-bg .ranking-button::after { right: 12px; font-size: 19px; }
  body.girlkun-bg .ranking-title { font-size: 18px; }
  body.girlkun-bg .ranking-kicker { font-size: 8px; letter-spacing: 1px; }
  body.girlkun-bg .ranking-subtitle { font-size: 10px; line-height: 1.6; }
  body.girlkun-bg .ibox-content { padding: 10px !important; border-radius: 16px !important; }
  body.girlkun-bg .ibox-content > .p-1 > h5 { font-size: 18px; padding: 8px 2px 14px !important; }
  body.girlkun-bg .donate-blessing { padding: 20px 12px; border-radius: 14px; }
  body.girlkun-bg .donate-blessing-title { font-size: 19px; }
  body.girlkun-bg .donate-blessing-grid { grid-template-columns: 1fr; gap: 12px; margin: 16px 0; }
  body.girlkun-bg .donate-bonus { grid-row: 1; width: min(180px, 100%); margin: 0 auto; }
  body.girlkun-bg .donate-blessing-copy { font-size: 12px; }
  body.girlkun-bg .donate-blessing-features { gap: 4px; }
  body.girlkun-bg .donate-blessing-features span { padding: 5px; font-size: 10px; }
  body.girlkun-bg .donate-blessing-btn { width: 100%; }
  body.girlkun-bg .ibox-content .announcement .post-item { gap: 8px; padding: 12px 32px 12px 8px; }
  body.girlkun-bg .ibox-content .announcement .post-image:first-child { flex-basis: 36px; height: 40px; }
  body.girlkun-bg .ibox-content .announcement .post-image:first-child img { width: 34px !important; max-height: 36px; }
  body.girlkun-bg .ibox-content .announcement .post-image:last-child { right: 4px; width: 24px; }
  body.girlkun-bg .ibox-content .announcement .post-image:last-child img { width: 23px !important; }
  body.girlkun-bg .ibox-content .announcement .post-item a { font-size: 12px; }
  body.girlkun-bg :is(.announcement-info, .ent-info, .reward-milestone-info) { margin: 6px; padding: 12px !important; }
  body.girlkun-bg .inline-milestone-list, body.girlkun-bg .reward-benefits { grid-template-columns: 1fr; }
  body.girlkun-bg .inline-milestone-head { flex-wrap: wrap; }
  body.girlkun-bg .inline-milestone-rewards span { flex-wrap: wrap; }
  body.girlkun-bg #popupPromo { padding: 30px 16px 20px; }
  body.girlkun-bg .popup-title { font-size: 23px; }
  body.girlkun-bg .popup-box { padding: 16px 12px; }
  body.girlkun-bg .popup-box h3 { font-size: 16px; }
  body.girlkun-bg .popup-btn { display: block; padding: 12px 8px; font-size: 12px; white-space: normal; }
  body.girlkun-bg .user_name { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  body.girlkun-bg *, body.girlkun-bg *::before, body.girlkun-bg *::after { animation: none !important; transition: none !important; }
  body.girlkun-bg .marquee { white-space: normal; }
  body.girlkun-bg .marquee span { padding-left: 0; white-space: normal; }
}

/* Download choices are part of the page, with no dialog to open. */
body.girlkun-bg #myModal.downloads-section {
  position: static;
  display: block;
  padding: 20px 0 28px;
  background: none !important;
  backdrop-filter: none;
  scroll-margin-top: 20px;
}
.downloads-heading { text-align: left; margin-bottom: 24px; padding-left: 14px; border-left: 3px solid #b483ed; }
.downloads-heading .hero-eyebrow { margin-bottom: 7px; font-size: 9px; letter-spacing: 2px; }
body.girlkun-bg .downloads-heading h2 { font-size: 26px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.6px; color: #fff !important; }
.downloads-heading p { color: var(--muted); margin: 0; font-size: 13px; line-height: 1.7; }
.downloads-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.downloads-grid > div { margin: 0 !important; min-width: 0; }
body.girlkun-bg .downloads-grid .card { height: 100%; border: 1px solid #ad85d12b !important; border-radius: 20px !important; background: linear-gradient(155deg, #30213f, #21192f) !important; box-shadow: inset 0 1px #ffffff06 !important; transition: border-color .2s ease, transform .2s ease; }
body.girlkun-bg .downloads-grid .card:hover { transform: translateY(-3px); border-color: #b586e5 !important; }
body.girlkun-bg .downloads-grid .card-body { display: flex; flex-direction: column; align-items: center; padding: 24px 16px 16px; gap: 0; }
.platform-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 17px; border: 1px solid #ffffff0c; border-radius: 17px; font-size: 27px; }
.platform-java { color: #f2bc82; background: #eba05314; }
.platform-android { color: #a4ddb3; background: #71ca8914; }
.platform-pc { color: #9fc8ff; background: #7eb5ff14; }
.platform-ios { color: #e5d6fb; background: #c09bf01a; }
body.girlkun-bg .downloads-grid .card-title { font-size: 20px; font-weight: 750; color: #faf6ff !important; margin-bottom: 8px; }
.downloads-grid .card-text { color: #cfc1dc; font-size: 12px; line-height: 1.8; flex: 1; margin-bottom: 20px; }
.platform-detail { color: #ac9cbf; font-size: 11px; }
.downloads-grid .card-body > .d-flex { flex-wrap: wrap; gap: 6px; width: 100%; }
body.girlkun-bg .downloads-grid .btn { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; min-height: 44px; margin: 0 !important; white-space: normal; font-size: 12px; font-weight: 650; padding: 10px 8px; border: 1px solid #aa79d878 !important; border-radius: 11px; background: #7444ac !important; text-shadow: none; box-shadow: none !important; }
body.girlkun-bg .downloads-grid .btn:hover { background: #9058ca !important; border-color: #cea4f2 !important; }
@media (max-width: 767px) {
  .downloads-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.girlkun-bg .downloads-heading h2 { font-size: 21px; }
  .downloads-grid { gap: 10px; }
  body.girlkun-bg .downloads-grid .card-body { padding: 20px 10px 12px; }
  body.girlkun-bg .downloads-grid .card-title { font-size: 18px; }
  .platform-icon { width: 48px; height: 48px; font-size: 24px; margin-bottom: 14px; }
}
@media (max-width: 359px) {
  .downloads-grid { grid-template-columns: 1fr; }
}

.community-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: -8px 0 20px; scroll-margin-top: 16px; }
.community-links a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 10px 12px; border: 1px solid #648fc44d; border-radius: 10px; background: #26324980; color: #d5e8ff; font-size: 12px; font-weight: 600; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.community-links a > .fa { color: #93cfff; }
.community-links a > span:last-child { color: #93b5d6; margin-left: auto; }
.community-links a:hover { color: #fff; background: #334667; border-color: #8abcf2; }
@media (max-width: 767px) {
  .community-links { gap: 7px; }
  .community-links a { padding: 9px 4px; gap: 4px; font-size: 10px; }
  .community-links a > span:last-child { display: none; }
}

/* News and rewards: compact two-column cards. */
.portal-updates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
body.girlkun-bg .ibox-content .portal-updates > .announcement {
  --tile-accent: #c59bfa;
  min-width: 0;
  margin: 0;
  border: 1px solid #9f7ac438 !important;
  border-radius: 18px;
  background: linear-gradient(135deg, #30213e, #21182e) !important;
  box-shadow: inset 0 1px #ffffff08;
}
body.girlkun-bg .ibox-content .portal-updates > .reward-milestone { --tile-accent: #f3cf8d; background: linear-gradient(125deg, #3c2b39, #261e31) !important; border-color: #dfb66e55 !important; }
body.girlkun-bg .ibox-content .portal-updates > .announcement:nth-child(2) { --tile-accent: #a6d6ff; }
body.girlkun-bg .ibox-content .portal-updates > .announcement:has(#info2) { --tile-accent: #b4e1b5; }
body.girlkun-bg .ibox-content .portal-updates .announcement .post-item { display: grid !important; grid-template-columns: 54px minmax(0, 1fr); gap: 15px; min-height: 136px; padding: 22px 38px 22px 18px; align-items: center; }
body.girlkun-bg .ibox-content .portal-updates .announcement .post-image:first-child { width: 54px; height: 62px; border: 1px solid #ffffff12; border-radius: 15px; background: #ffffff06; box-shadow: 0 6px 15px #0002; }
body.girlkun-bg .ibox-content .portal-updates .announcement .post-image:first-child img { width: 48px !important; max-height: 54px; object-fit: contain; margin: 0 !important; }
body.girlkun-bg .ibox-content .portal-updates .announcement .post-item a { display: block; color: #f8f0ff !important; font-family: "Be Vietnam Pro", sans-serif !important; font-size: 14px; font-weight: 750 !important; line-height: 1.65; }
body.girlkun-bg .ibox-content .portal-updates .announcement .text-muted { font-size: 11px; line-height: 1.6; margin-top: 8px; color: #bdaeca !important; }
body.girlkun-bg .ibox-content .portal-updates .announcement .post-image:last-child:not(:first-child) { display: none; }
body.girlkun-bg .ibox-content .portal-updates .announcement-title { position: relative; }
body.girlkun-bg .ibox-content .portal-updates .announcement-title::after { content: "↗"; position: absolute; top: 18px; right: 16px; font-size: 18px; color: var(--tile-accent); }
body.girlkun-bg .ibox-content .portal-updates .announcement[onclick] > .announcement-title::after { content: "+"; }
body.girlkun-bg .ibox-content .portal-updates .announcement:has(> .active) > .announcement-title::after { content: "−"; }
body.girlkun-bg .portal-updates .reward-toggle-icon { display: none; }
body.girlkun-bg .ibox-content .portal-updates > .announcement:hover { border-color: var(--tile-accent) !important; background: #35263f !important; transform: translateY(-2px); }
.portal-updates > .announcement:has(> .active) { grid-column: 1 / -1; }
body.girlkun-bg .ibox-content .portal-updates .announcement:has(> .active) .post-item { min-height: 100px; }
body.girlkun-bg .portal-updates :is(.announcement-info, .ent-info) { margin: 0 12px 12px; }
body.girlkun-bg .portal-updates #info2 a { color: #b4e1b5 !important; }
@media (max-width: 600px) {
  .portal-updates { grid-template-columns: 1fr; gap: 10px; }
  body.girlkun-bg .ibox-content .portal-updates .announcement .post-item { min-height: 106px; padding: 16px 34px 16px 12px; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; }
  body.girlkun-bg .ibox-content .portal-updates .announcement .post-image:first-child { width: 46px; height: 54px; }
  body.girlkun-bg .ibox-content .portal-updates .announcement .post-image:first-child img { width: 42px !important; max-height: 48px; }
  body.girlkun-bg .ibox-content .portal-updates .announcement .post-item a { font-size: 13px; }
  body.girlkun-bg .ibox-content .portal-updates .announcement-title::after { right: 12px; }
}

/* Three primary destinations, each with a distinct accent. */
body.girlkun-bg .col.text-center > .portal-navigation a {
  --nav-accent: #cf9bff;
  --nav-glow: 171, 94, 238;
  position: relative;
  min-height: 88px;
  padding: 17px 18px;
  gap: 14px;
  overflow: hidden;
  border: 1px solid rgba(var(--nav-glow), .55);
  border-radius: 16px;
  background: linear-gradient(115deg, rgba(var(--nav-glow), .24), rgba(var(--nav-glow), .07)), #251a35;
  box-shadow: inset 0 1px rgba(255, 255, 255, .09), 0 5px 16px rgba(0, 0, 0, .18);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body.girlkun-bg .col.text-center > .portal-navigation a:nth-child(2) {
  --nav-accent: #93d7ff;
  --nav-glow: 91, 158, 228;
}
body.girlkun-bg .col.text-center > .portal-navigation a.nav-ranking {
  --nav-accent: #f7d28c;
  --nav-glow: 209, 158, 77;
}
body.girlkun-bg .portal-navigation a::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  right: -30px;
  top: -35px;
  border-radius: 50%;
  background: rgba(var(--nav-glow), .12);
  pointer-events: none;
}
body.girlkun-bg .portal-navigation .nav-symbol {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: var(--nav-accent);
  background: rgba(var(--nav-glow), .18);
  border: 1px solid rgba(var(--nav-glow), .35);
  border-radius: 13px;
  font-size: 28px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
}
body.girlkun-bg .portal-navigation .nav-label { font-size: 15px; font-weight: 800; color: #fff; line-height: 1.4; }
body.girlkun-bg .portal-navigation .nav-label small { color: #d6c9e3; font-size: 11px; margin-top: 5px; line-height: 1.5; }
body.girlkun-bg .col.text-center > .portal-navigation a:hover,
body.girlkun-bg .col.text-center > .portal-navigation a:focus-visible {
  transform: translateY(-3px);
  border-color: var(--nav-accent);
  background: linear-gradient(115deg, rgba(var(--nav-glow), .32), rgba(var(--nav-glow), .12)), #251a35;
  box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 8px 22px rgba(var(--nav-glow), .17);
}
@media (max-width: 767px) {
  body.girlkun-bg .col.text-center > .portal-navigation { gap: 7px; }
  body.girlkun-bg .col.text-center > .portal-navigation a { min-height: 118px; padding: 13px 5px 11px; gap: 9px; border-radius: 13px; }
  body.girlkun-bg .portal-navigation .nav-symbol { flex-basis: 36px; width: 36px; height: 36px; border-radius: 11px; font-size: 24px; }
  body.girlkun-bg .portal-navigation .nav-label { font-size: 12px; }
  body.girlkun-bg .portal-navigation .nav-label small { font-size: 9px; margin-top: 4px; }
}

/* Compact download bar above navigation, always four choices in one row. */
.account-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.account-actions > br { display: none; }
body.girlkun-bg .account-actions .btn-action { margin: 0 !important; min-height: 40px; padding: 9px 15px; font-size: 12px; }
.benefits-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--brand-border); }
body.girlkun-bg .benefits-header > h5 { padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; text-shadow: none !important; font-size: 18px; letter-spacing: 0 !important; }
.benefits-cluster { display: grid; gap: 10px; margin-bottom: 18px; }
body.girlkun-bg .benefits-cluster .donate-blessing { margin: 0; padding: 18px 20px; border-radius: 14px; }
body.girlkun-bg .benefits-cluster .donate-blessing-title { font-size: 19px; }
body.girlkun-bg .benefits-cluster .donate-blessing-grid { margin: 12px auto 10px; gap: 14px; grid-template-columns: 1fr auto 1fr; }
body.girlkun-bg .benefits-cluster .donate-blessing-copy { font-size: 12px; line-height: 1.65; }
body.girlkun-bg .benefits-cluster .donate-bonus { padding: 12px 16px; min-width: 116px; }
body.girlkun-bg .benefits-cluster .donate-bonus b { font-size: 32px; }
body.girlkun-bg .benefits-cluster .donate-blessing-time { margin: 0 0 10px; font-size: 11px; }
body.girlkun-bg .benefits-cluster .donate-blessing-features { gap: 6px; margin-bottom: 12px; }
body.girlkun-bg .benefits-cluster .donate-blessing-features span { font-size: 10px; padding: 5px 8px; }
body.girlkun-bg .benefits-cluster .donate-blessing-btn { padding: 10px 24px; min-height: 42px; font-size: 12px; }
body.girlkun-bg .benefits-cluster > .p-1,
body.girlkun-bg .benefits-cluster > .p-1 > .p-1 { padding: 0 !important; margin: 0 !important; }
body.girlkun-bg .benefits-cluster .ranking-action { margin: 0 !important; padding: 0; }
body.girlkun-bg .benefits-cluster .ranking-button { min-height: 78px !important; padding-top: 12px !important; padding-bottom: 12px !important; border-radius: 14px !important; }
body.girlkun-bg .benefits-cluster .ranking-title { font-size: 18px; }
@media (max-width: 600px) {
  .benefits-header { justify-content: center; gap: 12px; padding: 4px 0 14px; }
  .benefits-header > h5 { width: 100%; text-align: center !important; }
  .benefits-header .account-actions { width: 100%; }
  .benefits-header .account-actions .btn-action { flex: 1 1 40%; }
  body.girlkun-bg .benefits-cluster .donate-blessing { padding: 16px 12px; }
  body.girlkun-bg .benefits-cluster .donate-blessing-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; text-align: left; }
  body.girlkun-bg .benefits-cluster .donate-bonus { grid-column: 2; grid-row: 1 / 3; width: auto; min-width: 90px; padding: 12px 8px; }
  body.girlkun-bg .benefits-cluster .donate-blessing-copy { font-size: 11px; }
  body.girlkun-bg .benefits-cluster .donate-bonus b { font-size: 26px; }
  body.girlkun-bg .benefits-cluster .donate-bonus small { font-size: 8px; letter-spacing: .5px; }
  body.girlkun-bg .benefits-cluster .donate-blessing-features span { padding: 4px; font-size: 9px; }
}

body.girlkun-bg #myModal.downloads-section { padding: 0 0 18px; }
body.girlkun-bg .downloads-heading { display: none; }
body.girlkun-bg .downloads-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
body.girlkun-bg .downloads-grid .card { border-radius: 12px !important; }
body.girlkun-bg .downloads-grid .card-body {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  padding: 12px;
  text-align: left !important;
}
body.girlkun-bg .downloads-grid .platform-icon {
  width: 28px;
  height: 28px;
  margin: 0;
  font-size: 18px;
  border-radius: 8px;
}
body.girlkun-bg .downloads-grid .card-title { margin: 0; font-size: 14px; }
body.girlkun-bg .downloads-grid .card-text { display: none; }
body.girlkun-bg .downloads-grid .card-body > .d-flex,
body.girlkun-bg .downloads-grid .card-body > .btn { grid-column: 1 / -1; }
body.girlkun-bg .downloads-grid .btn { min-height: 36px; padding: 7px 4px; font-size: 11px; border-radius: 8px; }
@media (max-width: 767px) {
  body.girlkun-bg .downloads-grid { gap: 5px; }
  body.girlkun-bg .downloads-grid .card-body { grid-template-columns: 1fr; justify-items: center; gap: 6px; padding: 10px 4px 5px; text-align: center !important; }
  body.girlkun-bg .downloads-grid .card-title { font-size: 11px; }
  body.girlkun-bg .downloads-grid .btn { min-height: 44px; font-size: 9px; gap: 3px; letter-spacing: -.2px; }
  body.girlkun-bg .downloads-grid .btn .fa { display: none; }
}

.promo-benefits { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(180px, 1fr); align-items: center; gap: 20px 28px; padding: 28px; border: 1px solid #ba82d84d; border-radius: 20px; background: radial-gradient(ellipse at 100% 0, #a760d42e, transparent 65%), linear-gradient(120deg, #30203f, #261832); text-align: left; overflow: hidden; }
.promo-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #d8b5f1; font-size: 10px; font-weight: 800; letter-spacing: 1.7px; }
.promo-eyebrow .fa { color: #f2cf8d; font-size: 16px; }
body.girlkun-bg .promo-story h3 { margin: 13px 0 12px; font: 800 clamp(22px, 3vw, 29px)/1.4 "Be Vietnam Pro", sans-serif; letter-spacing: -.5px; color: #fff !important; }
.promo-story h3 span { color: #e2b7ff; }
.promo-story p { margin: 0; max-width: 440px; font-size: 12px; line-height: 1.9; color: #c7b6d4; }
.promo-story p strong { color: #efcf95; font-weight: 700; }
.promo-value { text-align: center; padding: 22px 12px; border: 1px solid #dcb77435; border-radius: 18px; background: radial-gradient(ellipse at 50% 50%, #d6a65b12, transparent 80%), #20162666; box-shadow: inset 0 1px #f8d6940a; }
.promo-value > span { display: block; color: #dcc39e; font-size: 9px; font-weight: 750; letter-spacing: 1.1px; }
.promo-value > strong { display: block; color: #ffdb94; font-size: clamp(42px, 6vw, 64px); font-weight: 900; line-height: 1.3; letter-spacing: -2px; margin: 8px 0; }
.promo-value strong small { font-size: .55em; letter-spacing: -1px; }
.promo-value em { display: block; color: #bfaac8; font-size: 10px; font-style: normal; }
.promo-perks { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.promo-perks > span { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 10px 8px; border: 1px solid #c598e01f; border-radius: 10px; background: #ffffff04; color: #dacae7; font-size: 11px; }
.promo-perks .fa { color: #dbb887; }
.promo-dates { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px; padding-top: 16px; border-top: 1px solid #c597da26; color: #bfaecf; font-size: 11px; }
.promo-dates > .fa { color: #d7bbeb; }
.promo-dates strong { color: #e9d5b2; font-weight: 650; }
.promo-dates strong span { margin: 0 4px; color: #aa91b8; }
@media (max-width: 600px) {
  .promo-benefits { grid-template-columns: 1fr; gap: 16px; padding: 20px 14px; border-radius: 16px; }
  .promo-story { text-align: center; }
  .promo-story p { margin: 0 auto; }
  .promo-value { width: 100%; padding: 16px 10px; }
  .promo-value > strong { font-size: 52px; margin: 4px 0; }
  .promo-perks { gap: 5px; }
  .promo-perks > span { flex-direction: column; text-align: center; gap: 6px; font-size: 10px; padding: 10px 4px; }
  .promo-dates { font-size: 10px; line-height: 1.8; }
}

.ranking-deposit { margin-top: 16px; padding: 16px; border: 1px solid #b68bdb35; border-radius: 13px; background: #30203d; text-align: left; }
.deposit-heading, .deposit-caption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.deposit-heading { color: #ddc9f0; font-size: 12px; }
.deposit-heading .fa { color: #e4c18b; margin-right: 5px; }
.deposit-heading strong { color: #f0d198; font-size: 11px; }
.deposit-track { height: 14px; margin: 14px 0 11px; overflow: hidden; border: 1px solid #a680c02b; border-radius: 999px; background: #180f23; box-shadow: inset 0 2px 4px #0003; }
.deposit-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9761d4, #cd9aeb, #efd196); transition: width .4s ease; }
.deposit-caption { color: #b9a6c9; font-size: 10px; line-height: 1.7; }
.deposit-caption strong { color: #d7bbea; font-weight: 600; }
.rankings-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.rankings-toolbar > span { color: #c6a1e8; font-size: 11px; font-weight: 800; letter-spacing: 1.7px; }
body.girlkun-bg .rankings-close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #b58bd450; border-radius: 12px; background: #352441; color: #f0ddff; font: 28px/1 sans-serif; text-decoration: none; }
body.girlkun-bg .rankings-close:hover { background: #51325f; border-color: #cda0eb; }
.ranking-requirement { display: flex; align-items: center; gap: 10px; max-width: 100%; margin-top: 14px; padding: 10px 12px; border: 1px solid #d8b67530; border-radius: 10px; background: linear-gradient(100deg, #bd8d4e12, #9f73ca0d); text-align: left; }
.requirement-icon { flex: 0 0 22px; color: #eccd91; font-size: 18px; }
.requirement-window { flex: 1; min-width: 0; overflow: hidden; }
.requirement-text { display: block; width: max-content; min-width: 100%; padding-left: 100%; color: #d8c5df; font-size: 12px; line-height: 1.8; white-space: nowrap; animation: rankingNotice 22s linear infinite; }
.requirement-text strong { color: #f0ce8d; }
.ranking-requirement:hover .requirement-text,
.ranking-requirement:focus .requirement-text { animation-play-state: paused; }
@keyframes rankingNotice { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .requirement-text { width: auto; padding-left: 0; white-space: normal; animation: none; }
}

/* Leaderboards: one clean surface per category. */
body.girlkun-bg .rankings-page > .ibox-content { margin: 0 0 14px !important; padding: 18px !important; border: 1px solid #ae83d336 !important; border-radius: 16px !important; background: #21172d !important; box-shadow: none !important; }
body.girlkun-bg .rankings-page .ibox-content .ibox-content { padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
body.girlkun-bg .rankings-page h5 { margin: 0 0 14px !important; padding: 0 0 12px !important; text-align: left !important; font: 750 18px/1.5 "Be Vietnam Pro", sans-serif !important; color: #ead6fc !important; text-shadow: none !important; border: 0 !important; border-bottom: 1px solid #c496e329 !important; background: none !important; box-shadow: none !important; }
body.girlkun-bg .rankings-page .table-responsive { border: 1px solid #9f79bb2b; border-radius: 12px; background: #1a1124; }
body.girlkun-bg .rankings-page .table { width: 100%; margin: 0; color: #daccE7 !important; font: 400 12px/1.7 "Be Vietnam Pro", sans-serif !important; }
body.girlkun-bg .rankings-page .table th { width: auto !important; padding: 12px 10px; background: #30213e; color: #d6b6f2; font-weight: 750; font-size: 11px; white-space: nowrap; }
body.girlkun-bg .rankings-page .table td { width: auto !important; padding: 11px 10px; vertical-align: middle; border-top: 1px solid #9b77b41a !important; }
body.girlkun-bg .rankings-page .table td:first-child:not([colspan]) { width: 56px !important; color: #e9c985; font-weight: 800; }
body.girlkun-bg .rankings-page .table td[colspan] { padding: 24px 12px; color: #bba8ce !important; font-size: 12px; font-weight: 500 !important; }
body.girlkun-bg .rankings-page .mt-3.text-center { margin-top: 12px !important; font-size: 11px !important; line-height: 1.8; color: #b2a0c2; }
body.girlkun-bg .rankings-page .mt-3.text-center span { color: #b2a0c2 !important; font-weight: 500 !important; }
body.girlkun-bg .rankings-page .leaderboard-card { margin: 0; padding: 0; border: 0 !important; border-radius: 0; background: none !important; box-shadow: none !important; }
body.girlkun-bg .rankings-page .leaderboard-card::before,
body.girlkun-bg .rankings-page .leaderboard-card::after { content: none; }
body.girlkun-bg .rankings-page .leaderboard-card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 14px; border-bottom: 1px solid #b68bd530; background: none !important; }
body.girlkun-bg .rankings-page .leaderboard-card-header h5 { border: 0 !important; padding: 0 !important; margin: 0 0 6px !important; }
body.girlkun-bg .rankings-page .leaderboard-subtitle { color: #bca8cf; font-size: 11px; margin: 0; line-height: 1.7; text-shadow: none; }
body.girlkun-bg .rankings-page .leaderboard-tag { padding: 7px 10px; border: 1px solid #c79f6844; border-radius: 8px; color: #e2c28e; font-size: 10px; background: #b88b4a10; box-shadow: none; white-space: nowrap; }
body.girlkun-bg .rankings-page .leaderboard-card-body { padding: 14px 0 0; }
body.girlkun-bg .rankings-page .leaderboard-card-body > div[style*="background-color"] { min-height: 0; padding: 20px 14px !important; border: 1px solid #a478c535 !important; border-radius: 12px !important; background: #1b1225 !important; box-shadow: none !important; }
body.girlkun-bg .rankings-page .leaderboard-card-body p { color: #d1bfdf !important; font-size: 12px !important; line-height: 1.8; margin: 0 0 8px !important; text-shadow: none; }
body.girlkun-bg .rankings-page .leaderboard-card-body a { padding: 10px 18px !important; min-height: 44px; margin-top: 8px !important; border: 1px solid #b88adc !important; border-radius: 10px !important; background: #7547a2 !important; color: #fff !important; font-size: 12px; box-shadow: none !important; }
@media (max-width: 600px) {
  body.girlkun-bg .rankings-page > .ibox-content { padding: 12px !important; margin-bottom: 10px !important; }
  body.girlkun-bg .rankings-page h5 { font-size: 16px !important; }
  body.girlkun-bg .rankings-page .table th, body.girlkun-bg .rankings-page .table td { padding: 10px 8px; }
  body.girlkun-bg .rankings-page .leaderboard-card-header { flex-wrap: wrap; }
  body.girlkun-bg .rankings-page .leaderboard-card-body p { font-size: 11px !important; }
}

.auth-page { padding: 18px 0 24px; }
.auth-card { width: min(100%, 480px); margin: 0 auto; padding: 28px; border: 1px solid #b586dc40; border-radius: 24px; background: radial-gradient(ellipse at 50% 0, #8f49c522, transparent 48%), #21162e; box-shadow: 0 16px 40px #09041030; }
.auth-back { display: inline-flex; align-items: center; gap: 7px; color: #bba3ce; text-decoration: none; font-size: 11px; }
.auth-back:hover { color: #ead4ff; }
.auth-header { text-align: center; padding: 20px 0; }
.auth-emblem { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 15px; border: 1px solid #c895f448; border-radius: 18px; background: linear-gradient(135deg, #8250b43b, #b887e914); color: #d8b5fb; font-size: 27px; }
.auth-brand { display: block; color: #c09bdf; font-size: 9px; font-weight: 750; letter-spacing: 2px; }
body.girlkun-bg .auth-header h1 { color: #f7eeff !important; font: 800 27px/1.4 "Be Vietnam Pro", sans-serif; letter-spacing: -.7px; margin: 10px 0; }
.auth-header p { max-width: 330px; margin: auto; color: #bba9cc; font-size: 12px; line-height: 1.8; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 22px; border: 1px solid #9c77bc26; border-radius: 12px; background: #160e20; }
.auth-tabs a { padding: 10px; text-align: center; text-decoration: none; color: #b7a3c9; font-size: 12px; font-weight: 650; border-radius: 8px; }
.auth-tabs a[aria-current="page"] { background: #72429f; color: #fff; box-shadow: inset 0 1px #ffffff12; }
.auth-field { margin-bottom: 17px; text-align: left; }
.auth-field label { display: block; color: #e1d0ed; font-size: 12px; font-weight: 650; margin-bottom: 8px; }
.auth-input-wrap { position: relative; }
.auth-input-wrap > .fa { position: absolute; left: 14px; top: 18px; color: #a885c2; font-size: 16px; pointer-events: none; }
body.girlkun-bg .auth-input-wrap input { display: block; width: 100%; min-width: 0; height: 52px; padding: 12px 46px 12px 40px; border: 1px solid #87669f65; border-radius: 11px; background: #180f23; color: #f5eaff; font: 400 16px "Be Vietnam Pro", sans-serif; box-shadow: none; }
.auth-input-wrap input::placeholder { color: #9580a6; font-size: 12px; }
body.girlkun-bg .auth-input-wrap input:focus { border-color: #c096e4; box-shadow: 0 0 0 3px #b47ddd16; outline: none; }
body.girlkun-bg .auth-toggle { position: absolute; top: 4px; right: 3px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: transparent; color: #b59bc8; border: 0; border-radius: 8px; font-size: 16px; cursor: pointer; }
.auth-toggle:hover { color: #ead5fb; }
.auth-hint { display: block; margin-top: 8px; color: #a891ba; font-size: 10px; line-height: 1.8; }
.auth-verification { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 20px 0; padding: 14px 10px; border: 1px solid #9971b72b; border-radius: 12px; background: #ffffff02; }
.auth-verification > span { color: #bda7ce; font-size: 11px; }
.auth-verification > span .fa { color: #b7d1c2; margin-right: 5px; }
body.girlkun-bg .auth-submit { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 50px; padding: 12px; border: 1px solid #c18be750; border-radius: 11px; background: linear-gradient(110deg, #8b4bbb, #68429b); box-shadow: 0 5px 16px #8b49bd18; color: #fff; font: 750 14px "Be Vietnam Pro", sans-serif; cursor: pointer; }
.auth-submit:hover { filter: brightness(1.12); }
.auth-switch { text-align: center; color: #b09abc; font-size: 11px; margin: 20px 0; }
.auth-switch a { color: #d9b3f5; font-weight: 650; text-decoration: none; margin-left: 4px; }
.auth-bottom { padding-top: 16px; border-top: 1px solid #ae80cb22; color: #9e89af; font-size: 9px; line-height: 1.8; text-align: center; }
.auth-bottom .fa { color: #c99fe4; margin-right: 4px; }
@media (max-width: 600px) {
  .auth-page { padding-top: 8px; }
  .auth-card { padding: 20px 16px; border-radius: 18px; }
  body.girlkun-bg .auth-header h1 { font-size: 24px; }
  .auth-header { padding-top: 16px; }
}

/* Larger account forms on desktop, fluid on smaller screens. */
.auth-card { width: 100%; max-width: none; padding: 34px 42px; }
.auth-back { font-size: 13px; }
.auth-header { padding: 22px 0 26px; }
.auth-emblem { width: 68px; height: 68px; font-size: 32px; border-radius: 20px; }
.auth-brand { font-size: 11px; }
body.girlkun-bg .auth-header h1 { font-size: 34px; }
.auth-header p { max-width: 430px; font-size: 14px; }
.auth-tabs a { padding: 12px; font-size: 14px; }
.auth-field { margin-bottom: 20px; }
.auth-field label { font-size: 14px; margin-bottom: 10px; }
body.girlkun-bg .auth-input-wrap input { height: 58px; padding-left: 44px; }
.auth-input-wrap > .fa { top: 21px; left: 16px; font-size: 18px; }
body.girlkun-bg .auth-toggle { top: 7px; right: 6px; }
.auth-input-wrap input::placeholder { font-size: 14px; }
.auth-hint { font-size: 12px; }
.auth-verification { padding: 16px; }
.auth-verification > span { font-size: 13px; }
body.girlkun-bg .auth-submit { min-height: 56px; font-size: 16px; }
.auth-switch { font-size: 13px; }
.auth-bottom { font-size: 11px; }
@media (max-width: 600px) {
  .auth-card { padding: 24px 18px; }
  body.girlkun-bg .auth-header h1 { font-size: 27px; }
  .auth-header p { font-size: 13px; }
  .auth-brand { font-size: 10px; }
  .auth-emblem { width: 58px; height: 58px; font-size: 28px; }
  body.girlkun-bg .auth-input-wrap input { height: 54px; }
  .auth-input-wrap > .fa { top: 19px; }
  body.girlkun-bg .auth-toggle { top: 5px; }
  .auth-hint { font-size: 11px; }
  .auth-bottom { font-size: 10px; }
}

/* Footer: community message and balanced play reminder. */
body.girlkun-bg footer.site-footer { margin-top: 28px !important; padding: 24px 0 4px; border-top: 1px solid #b591d22e; color: #bcaccb; }
.footer-main { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 24px; margin-bottom: 22px; }
.footer-brand { display: flex; align-items: center; gap: 16px; text-align: left; }
body.girlkun-bg .footer-brand img { width: 100px; max-width: 100px !important; height: auto; }
.footer-eyebrow { display: block; margin-bottom: 7px; color: #b691d8; font-size: 8px; font-weight: 750; letter-spacing: 1.7px; }
.footer-brand strong { display: block; color: #eee1fc; font-size: 15px; font-weight: 800; }
.footer-brand p { margin: 8px 0 0; color: #b7a5c7; font-size: 11px; line-height: 1.85; }
.footer-free { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid #8bbea22b; border-radius: 14px; background: #81c49808; text-align: left; }
.footer-free > .fa { color: #9ddbb1; font-size: 24px; }
.footer-free strong { display: block; color: #b7e4c7; font-size: 12px; }
.footer-free p { margin: 6px 0 0; color: #aaaeb1; font-size: 10px; line-height: 1.7; }
.footer-playtime { display: flex; align-items: center; gap: 14px; padding: 17px 20px; border: 1px solid #d2af7530; border-radius: 14px; background: linear-gradient(105deg, #d2a25a0c, #b497d908); text-align: left; }
.footer-time-icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 11px; background: #d5b46f12; color: #e3c58c; font-size: 22px; }
.footer-playtime > div { flex: 1; min-width: 0; }
.footer-playtime strong { color: #e8d5b2; font-size: 12px; }
.footer-playtime p { margin: 5px 0 0; color: #bcaec7; font-size: 11px; line-height: 1.9; }
.footer-playtime p b { color: #e3cba7; font-weight: 650; }
.footer-time-badge { flex: 0 0 82px; text-align: center; color: #e2c590; font-size: 30px; font-weight: 800; line-height: 1.2; border-left: 1px solid #d1aa6b24; padding-left: 14px; }
.footer-time-badge small { display: block; margin-top: 5px; color: #b8a589; font-size: 8px; font-weight: 600; letter-spacing: .7px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; padding-top: 18px; font-size: 10px; color: #9e8dac; }
.footer-bottom strong { color: #beabcf; font-weight: 600; }
@media (max-width: 600px) {
  .footer-main { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
  .footer-brand { justify-content: center; gap: 12px; }
  body.girlkun-bg .footer-brand img { width: 80px; }
  .footer-brand strong { font-size: 13px; }
  .footer-free { justify-content: center; padding: 14px 10px; }
  .footer-playtime { flex-wrap: wrap; align-items: flex-start; padding: 15px 12px; gap: 10px; }
  .footer-time-icon { flex-basis: 30px; height: 30px; font-size: 19px; }
  .footer-time-badge { display: none; }
  .footer-bottom { justify-content: center; text-align: center; font-size: 9px; }
}

/* Donate introduction and claim instructions. */
.reward-intro { text-align: left; margin-bottom: 20px; }
.reward-intro-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.reward-intro-icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; color: #f1d08f; background: #eac17012; border: 1px solid #e2b56835; font-size: 24px; }
.reward-intro-heading small { display: block; color: #d6b77d; font: 750 9px/1.5 "Be Vietnam Pro", sans-serif; letter-spacing: 1.7px; margin-bottom: 4px; }
body.girlkun-bg .reward-intro-heading h4 { margin: 0; font: 800 clamp(20px, 3vw, 25px)/1.4 "Be Vietnam Pro", sans-serif; color: #fff0d6 !important; text-shadow: none; }
body.girlkun-bg .reward-intro > p { color: #cdbedb; font-size: 13px; line-height: 1.8; margin: 0 0 12px; }
.reward-notice { padding: 10px 12px; border-left: 3px solid #d6ac6c; border-radius: 0 8px 8px 0; background: #d3aa6710; color: #d4c4d5; font-size: 12px; line-height: 1.7; }
.reward-notice .fa { color: #e6c58c; margin-right: 6px; }
.reward-notice strong { color: #f0cf91; }
.reward-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; padding: 0; list-style: none; }
.reward-steps li { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 14px 12px; border: 1px solid #a580c32b; border-radius: 12px; background: #30213b; }
.reward-steps li > span { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 8px; background: #bb8eec16; color: #d5b2f8; font-size: 10px; font-weight: 800; }
.reward-steps strong { display: block; color: #f0e5fa; font-size: 12px; line-height: 1.6; }
.reward-steps small { display: block; margin-top: 5px; color: #bdaacb; font-size: 11px; line-height: 1.8; }
body.girlkun-bg .reward-perks { margin: 0; gap: 8px; }
body.girlkun-bg .reward-perks span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 8px; border: 1px solid #b799ce22; border-radius: 10px; background: #ffffff03; color: #d9c8e7; font-size: 11px; }
.reward-perks .fa { color: #eac17e; font-size: 15px; }
.reward-perks span:nth-child(2) .fa { color: #bca1f4; }
.reward-perks span:nth-child(3) .fa { color: #a1d6b1; }
@media (max-width: 600px) {
  .reward-steps { grid-template-columns: 1fr; gap: 8px; margin: 14px 0; }
  .reward-steps li { padding: 12px; }
  body.girlkun-bg .reward-perks { grid-template-columns: 1fr; gap: 6px; }
  body.girlkun-bg .reward-perks span { justify-content: flex-start; padding: 10px 12px; }
  .reward-intro-heading { gap: 10px; }
}

/* Stationary controls with one shared detail area below all four buttons. */
.updates-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
body.girlkun-bg .update-control {
  --control-accent: #c6a2ef;
  display: grid; grid-template-columns: 48px minmax(0, 1fr) 22px;
  align-items: center; gap: 13px; width: 100%; min-width: 0;
  min-height: 116px; padding: 18px; text-align: left;
  font-family: "Be Vietnam Pro", sans-serif; color: #f5efff;
  border: 1px solid #9d7abc40; border-radius: 16px;
  background: linear-gradient(120deg, #33233f, #23192f);
  box-shadow: inset 0 1px #ffffff08; cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
  transform: none !important;
}
body.girlkun-bg .update-gold { --control-accent: #f1cb86; }
body.girlkun-bg .update-blue { --control-accent: #98cdff; }
body.girlkun-bg .update-green { --control-accent: #a8deb0; }
body.girlkun-bg .update-control:hover,
body.girlkun-bg .update-control[aria-expanded="true"] {
  border-color: var(--control-accent); background: #392946;
  transform: none !important; filter: none;
}
.update-control img { width: 48px; height: 54px; object-fit: contain; padding: 3px; border-radius: 12px; background: #ffffff06; }
.update-control > span { min-width: 0; }
.update-control small { display: block; margin-bottom: 5px; color: var(--control-accent); font-size: 9px; font-weight: 750; letter-spacing: 1.4px; }
.update-control strong { display: block; font-size: 14px; font-weight: 750; line-height: 1.5; }
.update-control em { display: block; color: #bdaecb; font-size: 11px; font-style: normal; margin-top: 6px; line-height: 1.5; }
.update-control > b { color: var(--control-accent); font-size: 23px; font-weight: 400; }
body.girlkun-bg .updates-detail { position: relative; padding: 54px 14px 14px; border: 1px solid #9570b94d; border-radius: 18px; background: #201629; margin-bottom: 16px; overflow-wrap: anywhere; }
body.girlkun-bg .updates-detail[hidden],
body.girlkun-bg .updates-detail > [hidden] { display: none !important; }
body.girlkun-bg .updates-close { position: absolute; top: 8px; right: 10px; display: grid; place-items: center; width: 38px; height: 38px; min-height: 38px; padding: 0; border: 1px solid #ac88cd55; border-radius: 10px; background: #392847; color: #f3e7ff; font: 26px/1 sans-serif; cursor: pointer; transform: none !important; }
body.girlkun-bg .updates-close:hover { background: #51355f; }
body.girlkun-bg .updates-detail > .active { display: block; margin: 0; animation: none; }
body.girlkun-bg .updates-detail #info2 a { color: #b5e2b5 !important; }
@media (max-width: 600px) {
  .updates-controls { gap: 8px; }
  body.girlkun-bg .update-control { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding: 13px 10px; min-height: 128px; border-radius: 13px; }
  .update-control img { width: 34px; height: 42px; }
  .update-control small { font-size: 8px; letter-spacing: .7px; }
  .update-control strong { font-size: 12px; }
  .update-control em { font-size: 10px; }
  .update-control > b { display: none; }
  body.girlkun-bg .updates-detail { padding: 54px 8px 8px; }
  body.girlkun-bg .updates-close { width: 44px; height: 44px; top: 5px; right: 5px; }
}
