:root {
  --theme-bg: #f4f1ea;
  --theme-surface: #fffdf8;
  --theme-surface-muted: #f8f6f0;
  --theme-ink: #18241f;
  --theme-muted: #66736d;
  --theme-border: #e4e0d7;
  --theme-primary: #176b4d;
  --theme-primary-dark: #0e4e37;
  --theme-primary-soft: #e8f3ee;
  --theme-accent: #e77a2d;
  --theme-accent-dark: #c75d16;
  --theme-blue: #276fbf;
  --theme-danger: #c23d3d;
  --theme-warning: #a96514;
  --theme-radius-sm: 10px;
  --theme-radius: 16px;
  --theme-radius-lg: 24px;
  --theme-shadow-sm: 0 8px 24px rgba(27, 45, 37, 0.06);
  --theme-shadow: 0 18px 50px rgba(27, 45, 37, 0.09);
  --theme-content: 1180px;
}

* {
  scrollbar-color: #aab8b1 transparent;
  scrollbar-width: thin;
}

html {
  scroll-behavior: smooth;
}

body#lozloz {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--theme-ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(23, 107, 77, 0.08), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(231, 122, 45, 0.08), transparent 26rem),
    var(--theme-bg);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

body#lozloz::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.36;
  background-image: linear-gradient(rgba(34, 55, 46, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 55, 46, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
}

body#lozloz a {
  color: inherit;
  text-decoration: none;
}

body#lozloz img {
  max-width: 100%;
}

.hide {
  display: none !important;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 10px 14px;
  color: #fff !important;
  background: var(--theme-primary-dark);
  border-radius: 8px;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(218, 216, 207, 0.9);
  box-shadow: 0 8px 30px rgba(26, 42, 35, 0.05);
  backdrop-filter: blur(14px);
}

.site-header__inner,
.site-navigation__inner,
.site-notices,
.site-main,
.site-footer {
  width: min(calc(100% - 40px), var(--theme-content));
  margin-inline: auto;
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-brand__logo {
  display: block;
  width: auto;
  height: 68px;
  object-fit: contain;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-community,
.header-login,
.header-logout {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  color: var(--theme-muted) !important;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: 0.2s ease;
}

.header-community:hover,
.header-login:hover,
.header-logout:hover {
  color: var(--theme-primary) !important;
  background: var(--theme-primary-soft);
}

.account-pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 6px;
  background: var(--theme-primary-soft);
  border: 1px solid #cde4da;
  border-radius: 14px;
}

.account-pill__avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--theme-primary);
  border-radius: 10px;
}

.account-pill__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.account-pill__copy strong {
  max-width: 130px;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-pill__copy small {
  margin-top: 3px;
  color: var(--theme-primary);
  font-size: 11px;
  font-weight: 700;
}

.mobile-menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  padding: 0;
  color: var(--theme-ink);
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 12px;
}

.site-navigation {
  border-top: 1px solid rgba(228, 224, 215, 0.8);
}

.site-navigation__inner {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 54px;
}

.site-navigation .nav-link {
  position: relative;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  color: var(--theme-muted);
  font-size: 13px;
  font-weight: 750;
  border-radius: 11px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-navigation .nav-link i {
  width: 16px;
  color: #8a9690;
  text-align: center;
}

.site-navigation .nav-link:hover,
.site-navigation .nav-link.is-active {
  color: var(--theme-primary);
  background: var(--theme-primary-soft);
}

.site-navigation .nav-link.is-active i {
  color: var(--theme-primary);
}

.mobile-auth-actions,
.mobile-logout {
  display: none !important;
}

.site-notices {
  padding-bottom: 12px;
}

.site-notice {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 650;
  border-radius: 10px;
}

.site-notice + .site-notice {
  margin-top: 6px;
}

.site-notice--warning {
  color: #7d4a0c;
  background: #fff4dc;
  border: 1px solid #f1d69e;
}

.site-notice--danger {
  color: #903333;
  background: #fff0ef;
  border: 1px solid #efc7c4;
}

.site-notice a {
  margin-left: auto;
  text-decoration: underline !important;
}

.site-main {
  flex: 1;
  padding-block: 34px 54px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff !important;
  background: var(--theme-primary);
  box-shadow: 0 9px 22px rgba(23, 107, 77, 0.18);
}

.button--primary:hover {
  background: var(--theme-primary-dark);
}

.button--accent {
  color: #fff !important;
  background: var(--theme-accent);
  box-shadow: 0 10px 28px rgba(231, 122, 45, 0.25);
}

.button--accent:hover {
  background: var(--theme-accent-dark);
}

.button--ghost {
  color: var(--theme-ink) !important;
  background: #fff;
  border-color: var(--theme-border);
}

.button--light {
  color: var(--theme-primary-dark) !important;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.8);
}

.button--large {
  min-height: 48px;
  padding-inline: 20px;
  font-size: 14px;
}

.game-hero {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 58px 62px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 42%, rgba(237, 164, 72, 0.32), transparent 13rem),
    linear-gradient(120deg, #102d26 0%, #174f3d 55%, #1b7251 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--theme-radius-lg);
  box-shadow: var(--theme-shadow);
}

.game-hero::before,
.game-hero::after,
.game-hero__ornament {
  position: absolute;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
}

.game-hero::before {
  width: 460px;
  height: 460px;
  right: -120px;
  bottom: -220px;
}

.game-hero::after {
  width: 320px;
  height: 320px;
  right: 25px;
  top: -190px;
}

.game-hero__ornament {
  width: 220px;
  height: 220px;
  right: 135px;
  top: 90px;
  opacity: 0.6;
  box-shadow: 0 0 0 32px rgba(255, 255, 255, 0.025), 0 0 0 64px rgba(255, 255, 255, 0.02);
}

.game-hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 650px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #f0c38c;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--theme-primary);
}

.game-hero h1 {
  max-width: 640px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.game-hero p {
  max-width: 570px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.75;
}

.game-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.game-hero__seal {
  position: absolute;
  right: 100px;
  z-index: 2;
  width: 154px;
  height: 154px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f6d2a7;
  background: rgba(9, 34, 27, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(8px);
}

.game-hero__seal span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  color: #fff;
  background: var(--theme-accent);
  border-radius: 50%;
}

.game-hero__seal small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.game-hero__seal strong {
  margin-top: 2px;
  color: #fff;
  font-size: 19px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.quick-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius);
  box-shadow: var(--theme-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quick-card:hover {
  transform: translateY(-3px);
  border-color: #c9d8d0;
  box-shadow: var(--theme-shadow);
}

.quick-card__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  font-size: 17px;
  border-radius: 13px;
}

.quick-card__icon--orange {
  color: #b65312;
  background: #fff0e4;
}

.quick-card__icon--green {
  color: var(--theme-primary);
  background: var(--theme-primary-soft);
}

.quick-card__icon--blue {
  color: var(--theme-blue);
  background: #eaf2fb;
}

.quick-card__copy {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.quick-card__copy strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-card__copy small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--theme-muted);
  font-size: 11.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-card__arrow {
  flex: 0 0 auto;
  color: #aab3ae;
  font-size: 11px;
}

.content-section {
  margin-top: 58px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-heading .eyebrow {
  margin-bottom: 5px;
}

.section-heading h2,
.community-panel h2 {
  margin: 0;
  color: var(--theme-ink);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 850;
  letter-spacing: -0.035em;
}

.section-heading__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  color: var(--theme-primary) !important;
  font-size: 12px;
  font-weight: 800;
}

.news-list {
  overflow: hidden;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-lg);
  box-shadow: var(--theme-shadow-sm);
}

.news-card {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 18px;
  min-height: 116px;
  padding: 17px 20px;
  transition: background-color 0.2s ease;
}

.news-card + .news-card {
  border-top: 1px solid #eeeae2;
}

.news-card:hover {
  background: #faf8f3;
}

.news-card__media {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #edf5f1, #e6eee9);
  border-radius: 15px;
}

.news-card__media img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.news-card__body {
  min-width: 0;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #929c97;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.news-card__meta span {
  color: var(--theme-primary);
}

.news-card__meta time::before {
  content: "•";
  margin-right: 10px;
}

.news-card h3 {
  margin: 6px 0 3px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.news-card h3 a:hover {
  color: var(--theme-primary) !important;
}

.news-card p {
  margin: 0;
  color: var(--theme-muted);
  font-size: 11.5px;
}

.news-card p strong {
  color: var(--theme-ink);
}

.news-card__open {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #9ca6a1 !important;
  background: var(--theme-surface-muted);
  border-radius: 10px;
}

.empty-state {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: var(--theme-muted);
  text-align: center;
}

.empty-state i {
  margin-bottom: 12px;
  color: #9bad9f;
  font-size: 30px;
}

.empty-state strong {
  color: var(--theme-ink);
}

.empty-state span {
  margin-top: 3px;
  font-size: 12px;
}

.community-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 28px;
  padding: 30px 34px;
  background: #ede9de;
  border: 1px solid #ddd7ca;
  border-radius: var(--theme-radius-lg);
}

.community-panel .eyebrow {
  margin-bottom: 4px;
}

.community-panel h2 {
  font-size: 24px;
}

.community-panel p {
  max-width: 680px;
  margin: 7px 0 0;
  color: var(--theme-muted);
  font-size: 13px;
}

.community-panel__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.site-footer {
  margin-top: auto;
  padding-block: 42px 20px;
  border-top: 1px solid var(--theme-border);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.7fr) 1fr 1fr;
  gap: 58px;
  padding-bottom: 34px;
}

.footer-brand img {
  width: auto;
  height: 74px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 370px;
  margin: 12px 0 0;
  color: var(--theme-muted);
  font-size: 12px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-column h2 {
  margin: 0 0 6px;
  color: var(--theme-ink);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--theme-muted) !important;
  font-size: 12px;
  font-weight: 650;
}

.footer-column a:hover {
  color: var(--theme-primary) !important;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--theme-border);
}

.age-notice {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #7d8983;
  font-size: 10.5px;
  font-weight: 600;
}

.age-notice img {
  flex: 0 0 auto;
  border-radius: 7px;
}

.footer-copyright {
  flex: 0 0 auto;
  color: #9da6a1;
  font-size: 10.5px;
}

/* Shared functional pages */
.page-card {
  overflow: hidden;
  padding: 26px;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-lg);
  box-shadow: var(--theme-shadow-sm);
}

.page-heading {
  margin-bottom: 24px;
}

.page-heading h1 {
  margin: 0;
  font-size: clamp(25px, 4vw, 36px);
  font-weight: 850;
  letter-spacing: -0.035em;
}

.page-heading p {
  margin: 6px 0 0;
  color: var(--theme-muted);
  font-size: 13px;
}

.page-heading--center {
  text-align: center;
}

.download-page {
  padding: clamp(24px, 4vw, 42px);
}

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

.download-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 18px;
}

.download-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: var(--theme-primary);
  background: var(--theme-primary-soft);
  font-size: 22px;
  border-radius: 15px;
}

.download-card--pc .download-card__icon {
  color: var(--theme-blue);
  background: #e9f2fc;
}

.download-card--ios .download-card__icon {
  color: #333;
  background: #ececea;
}

.download-card__badge {
  color: var(--theme-primary);
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.download-card h2 {
  margin: 6px 0 8px;
  font-size: 20px;
  font-weight: 850;
}

.download-card p {
  margin: 0 0 24px;
  color: var(--theme-muted);
  font-size: 12px;
}

.download-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.download-note {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
  padding: 15px 17px;
  color: #655333;
  background: #fff7e8;
  border: 1px solid #eadab8;
  border-radius: 14px;
}

.download-note > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--theme-warning);
  background: #f9e8c7;
  border-radius: 11px;
}

.download-note strong {
  display: block;
  font-size: 12px;
}

.download-note p {
  margin: 1px 0 0;
  font-size: 11px;
}

.download-note a {
  color: var(--theme-warning) !important;
  font-size: 11px;
  font-weight: 800;
}

.account-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 14px;
}

.account-tabs a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 15px;
  color: var(--theme-muted) !important;
  font-size: 12px;
  font-weight: 750;
  border-radius: 10px;
}

.account-tabs a.is-active {
  color: var(--theme-primary) !important;
  background: #fff;
  box-shadow: 0 4px 14px rgba(25, 43, 34, 0.07);
}

.account-content {
  padding-top: 22px;
}

.account-summary {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 14px;
}

.account-summary__identity,
.account-summary__balance {
  min-height: 150px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--theme-surface-muted);
  border: 1px solid var(--theme-border);
  border-radius: 18px;
}

.account-summary__avatar {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--theme-primary), var(--theme-primary-dark));
  font-size: 24px;
  border-radius: 19px;
  box-shadow: 0 10px 24px rgba(23, 107, 77, 0.2);
}

.account-summary__identity > div,
.account-summary__balance {
  display: flex;
  flex-direction: column;
}

.account-summary small {
  color: var(--theme-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-summary__identity strong {
  margin-top: 2px;
  font-size: 22px;
  font-weight: 850;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  color: var(--theme-primary);
  font-size: 11px;
  font-weight: 750;
}

.status-dot i {
  width: 7px;
  height: 7px;
  background: #2cac77;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(44, 172, 119, 0.12);
}

.account-summary__balance {
  align-items: flex-start;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #154d3a, #197354);
  border-color: transparent;
}

.account-summary__balance small {
  color: rgba(255, 255, 255, 0.67);
}

.account-summary__balance strong {
  margin: 4px 0 9px;
  font-size: 28px;
  font-weight: 850;
}

.account-summary__balance strong span {
  font-size: 13px;
}

.account-summary__balance a {
  color: #f4c68e !important;
  font-size: 11px;
  font-weight: 800;
}

.account-details {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--theme-border);
  border-radius: 16px;
}

.account-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
}

.account-detail-row + .account-detail-row {
  border-top: 1px solid #eeeae2;
}

.account-detail-row > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--theme-muted);
  font-size: 12px;
}

.account-detail-row > span i {
  width: 16px;
  color: #98a39e;
  text-align: center;
}

.account-detail-row strong {
  font-size: 12px;
}

.account-detail-row strong a {
  margin-left: 5px;
  color: var(--theme-primary) !important;
}

.transactions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.transactions-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 850;
}

.transactions-header p {
  margin: 2px 0 0;
  color: var(--theme-muted);
  font-size: 11px;
}

.transactions-header > span,
.secure-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: var(--theme-primary);
  background: var(--theme-primary-soft);
  font-size: 10px;
  font-weight: 800;
  border-radius: 9px;
}

.recharge-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.loyalty-card {
  padding: 20px 22px 16px;
  color: #fff;
  background: linear-gradient(135deg, #183a30, #235d48);
  border-radius: 18px;
}

.loyalty-card__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.loyalty-card__heading > div {
  display: flex;
  flex-direction: column;
}

.loyalty-card__heading small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.loyalty-card__heading strong {
  margin-top: 2px;
  font-size: 17px;
}

.loyalty-card__heading a {
  color: #f2bd7c !important;
  font-size: 10px;
  font-weight: 800;
}

.loyalty-progress {
  height: 7px;
  margin-top: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 99px;
}

.loyalty-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #f0a65d, #f6cf8e);
  border-radius: inherit;
}

.loyalty-milestones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 10px;
}

.loyalty-milestones span {
  display: flex;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.loyalty-milestones span:first-child {
  text-align: left;
}

.loyalty-milestones span:last-child {
  text-align: right;
}

.loyalty-milestones b {
  font-size: 10px;
}

.loyalty-milestones small {
  font-size: 8.5px;
}

.loyalty-milestones .is-active {
  color: #f7d3a4;
}

.payment-method-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.payment-method-heading h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 850;
}

.payment-method-heading p {
  margin: 2px 0 0;
  color: var(--theme-muted);
  font-size: 11px;
}

.payment-methods {
  margin-top: 12px;
}

.payment-method {
  max-width: 440px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--theme-border);
  border-radius: 14px;
}

.payment-method > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--theme-primary);
  background: var(--theme-primary-soft);
  border-radius: 12px;
}

.payment-method > div {
  display: flex;
  flex-direction: column;
}

.payment-method strong {
  font-size: 12px;
}

.payment-method small {
  margin-top: 2px;
  color: var(--theme-muted);
  font-size: 10px;
}

.payment-method > i {
  color: var(--theme-primary);
}

.recharge-content {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--theme-border);
}

.recharge-content #momo_info img {
  width: min(100%, 400px);
  height: auto !important;
}

.post-page {
  width: min(100%, 900px);
  margin-inline: auto;
  padding: clamp(24px, 5vw, 52px);
}

.post-page__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 32px;
  color: var(--theme-muted) !important;
  font-size: 11px;
  font-weight: 750;
}

.post-page__header h1 {
  max-width: 760px;
  margin: 3px 0 14px;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.post-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  color: var(--theme-muted);
  font-size: 10.5px;
  font-weight: 650;
}

.post-page__meta span,
.post-page__meta time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-page__body {
  margin-top: 32px;
  padding-top: 30px;
  color: #35413b;
  border-top: 1px solid var(--theme-border);
  font-size: 14px;
  line-height: 1.85;
}

.post-page__body img {
  height: auto !important;
  border-radius: 14px;
}

.post-page__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 18px;
  color: var(--theme-muted);
  border-top: 1px solid var(--theme-border);
  font-size: 10.5px;
}

.post-page__footer a {
  color: var(--theme-primary) !important;
  font-weight: 800;
}

.ranking-page .page-heading {
  margin-bottom: 18px;
}

.ranking-tabs .btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.ranking-tabs .btn {
  color: var(--theme-primary);
  background: #fff;
  border: 1px solid #acd0c0;
}

.ranking-tabs .btn.active {
  color: #fff;
  background: var(--theme-primary);
}

body#lozloz .card {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius);
  box-shadow: none;
}

body#lozloz .btn {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 750;
  border-radius: 11px;
}

body#lozloz .btn-primary,
body#lozloz .btn-success {
  color: #fff;
  background: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
}

body#lozloz .btn-primary:hover,
body#lozloz .btn-success:hover {
  background: var(--theme-primary-dark) !important;
  border-color: var(--theme-primary-dark) !important;
}

body#lozloz .btn-danger {
  background: var(--theme-danger);
  border-color: var(--theme-danger);
}

body#lozloz .btn-warning {
  color: #754007;
  background: #f7dfb8;
  border-color: #efd29e;
}

body#lozloz .form-control,
body#lozloz .form-select,
body#lozloz select {
  min-height: 44px;
  padding: 9px 12px;
  color: var(--theme-ink);
  background-color: #fff;
  border: 1px solid #d9ddd9 !important;
  border-radius: 11px !important;
  box-shadow: none;
}

body#lozloz .form-control:focus,
body#lozloz .form-select:focus,
body#lozloz select:focus {
  border-color: #65a78d !important;
  box-shadow: 0 0 0 3px rgba(23, 107, 77, 0.12);
}

body#lozloz label {
  margin-bottom: 5px;
  color: #39473f;
  font-size: 12px;
  font-weight: 700;
}

body#lozloz .modal-content {
  overflow: hidden;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 22px !important;
  box-shadow: 0 28px 80px rgba(17, 37, 29, 0.22);
}

body#lozloz .modal-body {
  padding: 26px;
}

body#lozloz .modal-backdrop.show {
  opacity: 0.58;
}

.auth-brand {
  margin-bottom: 8px;
  text-align: center;
}

.auth-brand img {
  width: auto;
  height: 92px;
  object-fit: contain;
}

.auth-heading {
  margin-bottom: 22px;
  text-align: center;
}

.auth-heading h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 850;
}

.auth-heading p {
  margin: 4px 0 0;
  color: var(--theme-muted);
  font-size: 12px;
}

.auth-submit-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  margin-top: 20px;
}

.auth-switch {
  margin-top: 18px;
  color: var(--theme-muted);
  font-size: 12px;
  text-align: center;
}

.auth-switch a {
  color: var(--theme-primary) !important;
  font-weight: 800;
}

body#lozloz .table-responsive {
  overflow-x: auto;
  border-radius: 13px;
}

body#lozloz .table {
  min-width: 620px;
  margin-bottom: 0;
  color: var(--theme-ink);
  vertical-align: middle;
}

body#lozloz .table > thead > tr > th {
  padding: 12px 14px;
  color: #6f7c75 !important;
  background: #f3f5f1;
  border-bottom: 1px solid var(--theme-border);
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

body#lozloz .table > tbody > tr > td {
  padding: 12px 14px;
  border-color: #eeeae2;
  font-size: 12px;
}

body#lozloz .pagination {
  margin-top: 16px;
  --bs-pagination-active-bg: var(--theme-primary) !important;
  --bs-pagination-active-border-color: var(--theme-primary) !important;
  --bs-pagination-bg: #fff !important;
  --bs-pagination-border-color: var(--theme-border) !important;
}

.recharge-method-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff !important;
  border: 1px solid var(--theme-border) !important;
  border-radius: 14px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.recharge-method-item:hover {
  border-color: #88b7a4 !important;
  transform: translateY(-2px);
  box-shadow: var(--theme-shadow-sm);
}

.recharge-method-item.active {
  color: var(--theme-primary-dark);
  background: var(--theme-primary-soft) !important;
  border-color: var(--theme-primary) !important;
}

.recharge-method-item .badge {
  transform: translate(-90%, -28%) !important;
}

.recharge-content small {
  color: var(--theme-muted);
  font-size: 11.5px;
  line-height: 1.65;
}

.progress-bar,
.progress-bg {
  background: linear-gradient(90deg, var(--theme-primary), var(--theme-accent));
}

@media (max-width: 991.98px) {
  .game-hero {
    min-height: 350px;
    padding: 48px;
  }

  .game-hero__content {
    width: min(100%, 600px);
  }

  .game-hero__seal {
    display: none;
  }

  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-card:last-child {
    grid-column: 1 / -1;
  }

  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
  }

  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .site-header__inner,
  .site-navigation__inner,
  .site-notices,
  .site-main,
  .site-footer {
    width: min(calc(100% - 28px), var(--theme-content));
  }

  .site-header__inner {
    min-height: 64px;
  }

  .site-brand__logo {
    height: 55px;
  }

  .mobile-menu-toggle {
    display: grid;
  }

  .site-navigation {
    display: none;
    padding: 0 0 14px;
    border-top: 0;
  }

  .site-navigation.is-open {
    display: block;
  }

  .site-navigation__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding-top: 7px;
  }

  .site-navigation .nav-link {
    min-height: 44px;
    padding: 9px 11px;
    background: var(--theme-surface-muted);
    border: 1px solid var(--theme-border);
  }

  .mobile-auth-actions {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    padding-top: 3px;
  }

  .mobile-logout {
    display: inline-flex !important;
  }

  .site-notice {
    align-items: flex-start;
  }

  .site-notice a {
    margin-left: 0;
  }

  .site-main {
    padding-block: 20px 38px;
  }

  .game-hero {
    min-height: 380px;
    padding: 38px 28px;
    border-radius: 20px;
  }

  .game-hero h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .game-hero p {
    margin-top: 17px;
    font-size: 14px;
  }

  .game-hero__actions {
    margin-top: 24px;
  }

  .quick-actions {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 12px;
  }

  .quick-card:last-child {
    grid-column: auto;
  }

  .content-section {
    margin-top: 42px;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-heading__link {
    display: none;
  }

  .news-card {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 13px;
    min-height: 98px;
    padding: 14px;
  }

  .news-card__media {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }

  .news-card__media img {
    width: 48px;
    height: 48px;
  }

  .news-card__meta time,
  .news-card p,
  .news-card__open {
    display: none;
  }

  .news-card h3 {
    margin-top: 5px;
    font-size: 14px;
  }

  .community-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .community-panel__actions {
    width: 100%;
  }

  .community-panel__actions .button {
    flex: 1;
  }

  .site-footer {
    padding-top: 32px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 22px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-card {
    padding: 18px;
    border-radius: 18px;
  }

  .download-grid,
  .account-summary {
    grid-template-columns: 1fr;
  }

  .download-card,
  .download-card:last-child {
    grid-column: auto;
    min-height: 280px;
  }

  .download-note {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .download-note > a {
    grid-column: 2;
  }

  .recharge-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .recharge-heading .button {
    width: 100%;
  }

  body#lozloz .modal-dialog {
    margin: 12px;
  }

  body#lozloz .modal-body {
    padding: 20px;
  }

  body#lozloz form {
    width: 100% !important;
    max-width: 100%;
  }
}

@media (max-width: 479.98px) {
  .account-pill__copy {
    display: none;
  }

  .account-pill {
    padding-right: 6px;
  }

  .game-hero {
    min-height: 410px;
    padding-inline: 22px;
  }

  .game-hero__actions,
  .community-panel__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .game-hero__actions .button,
  .community-panel__actions .button {
    width: 100%;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .download-card {
    min-height: 0;
    padding: 20px;
  }

  .download-card__actions,
  .download-card__actions .button {
    width: 100%;
  }

  .account-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .account-summary__identity,
  .account-summary__balance {
    min-height: 135px;
    padding: 18px;
  }

  .account-detail-row,
  .transactions-header,
  .payment-method-heading,
  .post-page__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .loyalty-milestones small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
