:root { color-scheme: light; font-family: Tahoma, Arial, sans-serif; background: #b4ccdf; color: #25355c; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 3px solid #ffe7a1; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 100; padding: 12px; background: white; }
.skip-link:focus { top: 12px; }
#page { position: relative; width: 100%; aspect-ratio: 1920 / 3833; overflow: clip; }

.site-footer {
  background: #0d1324;
  color: #fff;
  padding: 30px max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 128px;
  grid-template-areas: "brand contact age" "legal legal legal" "approval approval approval";
  align-items: start;
  justify-items: center;
  gap: 14px;
  max-width: 940px;
  margin: 0 auto;
}

.site-footer-brand { grid-area: brand; position: relative; width: 128px; aspect-ratio: 2.75; overflow: hidden; }
.site-footer-brand img { position: absolute; top: 50%; left: 50%; width: 264%; height: auto; transform: translate(-50%, -50%); }
.site-footer-contact { grid-area: contact; }
.site-footer-age { grid-area: age; width: 64px; height: auto; }
.site-footer-legal { grid-area: legal; overflow-wrap: anywhere; }
.site-footer-hours { color: #ff7772; font-weight: 700; }
.site-footer p { margin: 0 0 5px; }
.site-footer p:last-child { margin-bottom: 0; }
.site-footer address { font-style: normal; }
.site-footer a { color: inherit; }
.site-footer-approval { grid-area: approval; display: grid; place-items: center; min-height: 44px; }
.site-footer-approval img { display: block; width: 108px; height: auto; }

@media (min-width: 768px) and (max-width: 1279px) {
  .site-footer { padding-right: 224px; }
  .site-footer-inner { grid-template-columns: 112px minmax(0, 1fr) 70px; }
  .site-footer-brand { width: 112px; }
}

@media (max-width: 767px) {
  #page { aspect-ratio: 720 / 3986; }
  .site-footer {
    padding: 16px max(14px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    font-size: 13px;
    line-height: 1.42;
  }
  .site-footer-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "brand" "contact" "legal" "age" "approval";
    align-items: center;
    gap: 8px;
    max-width: 440px;
  }
  .site-footer-brand { width: 100px; }
  .site-footer-age { width: 30px; }
  .site-footer-approval { min-width: 88px; }
  .site-footer-approval img { width: 88px; }
  .site-footer p:not(:last-child) { margin-bottom: 3px; }
}

.canvas { position: relative; width: var(--design-width); height: var(--design-height); transform: scale(var(--scale)); transform-origin: left top; isolation: isolate; }
.layer, .image-control, .section-anchor, .rankings, .character-target { position: absolute; }
.layer { display: block; pointer-events: none; user-select: none; }
.image-control { display: block; border: 0; padding: 0; margin: 0; background: transparent; color: inherit; touch-action: manipulation; }
.image-control img { position: absolute; display: block; pointer-events: none; max-width: none; }
.image-control .hover-image { opacity: 0; }
.download-highlight img, .game-icon { transition: filter .18s ease; }
.download-highlight:hover img, .download-highlight:focus-visible img, .game-icon:hover { filter: brightness(1.2) drop-shadow(0 0 10px #ffe4a1); }
.game-icon { pointer-events: auto; }
.image-control:hover .hover-image, .image-control:focus-visible .hover-image, .image-control[aria-current="true"] .hover-image, .image-control[aria-pressed="true"] .hover-image { opacity: 1; }
.image-control:hover .normal-image:has(+ .hover-image), .image-control:focus-visible .normal-image:has(+ .hover-image), .image-control[aria-current="true"] .normal-image:has(+ .hover-image), .image-control[aria-pressed="true"] .normal-image:has(+ .hover-image) { opacity: 0; }
.section-anchor { width: 1px; height: 1px; }
.pc .section-anchor { scroll-margin-top: 80px; }
.mobile .section-anchor { scroll-margin-top: var(--header-offset, 0px); }
.character-target { background: transparent; border: 0; border-radius: 50%; padding: 0; }
.character-target { z-index: 2; }
.character-hit-area { position: absolute; z-index: 3; touch-action: pan-y; }
.character-target { pointer-events: none; }
.character-muted, .character-highlight { opacity: 0; }
.character-highlighted { opacity: 1; z-index: 1; }
.character-target:focus-visible { z-index: 4; }
.character-portrait, .character-portrait-ghost { backface-visibility: hidden; }
.navigation { z-index: 10; }
#pc-fixed-ui { position: fixed; inset: 0; z-index: 50; pointer-events: none; --scale: 1; }
#pc-fixed-ui .pc-header-background { position: absolute; left: 0 !important; top: 0 !important; width: 100% !important; height: 68px !important; opacity: .8; }
.pc-brand { position: absolute; left: 22px; top: 0; width: 171px; height: 176px; transform: scale(var(--header-scale, 1)); transform-origin: left top; }
.pc-social-navigation { position: absolute; right: 22px; top: 4px; display: flex; align-items: center; gap: 24px; transform: scale(var(--header-scale, 1)); transform-origin: right top; }
.pc-social-navigation .image-control, .pc-side-navigation .image-control { position: relative; left: auto !important; top: auto !important; flex-shrink: 0; pointer-events: auto; }
.pc-side-navigation { position: absolute; right: max(12px, calc((100vw - 1200px) / 2 - 318px)); top: 50%; width: 318px; display: flex; flex-direction: column; align-items: center; gap: 12px; transform: translateY(-50%) scale(var(--side-scale, 1)); transform-origin: right center; }
.pc-side-navigation [data-control="Về đầu trang"] { margin-top: 8px; width: 223px !important; }
.pc-side-navigation [data-control="Về đầu trang"] .normal-image { left: 4px !important; }
.pc-side-navigation [data-control="Về đầu trang"] .hover-image { left: 0 !important; }
#pc-fixed-ui .pc-reservation-card {
  left: calc(-82px * var(--card-scale, 1)) !important;
  top: auto !important;
  bottom: 12px;
  pointer-events: auto;
  transform: scale(var(--card-scale, 1));
  transform-origin: left bottom;
}
#pc-fixed-ui.is-home .pc-reservation-card {
  --card-scale: var(--card-home-scale, 1);
  top: var(--card-home-top) !important;
  bottom: auto;
  transform-origin: left top;
}
.pc-side-navigation .image-control::after { width: 100%; height: 100%; }
#mobile-fixed-ui { position: fixed; top: 0; left: 0; width: 720px; z-index: 50; pointer-events: none; transform: scale(var(--scale, 1)); transform-origin: left top; }
#mobile-fixed-ui .image-control { pointer-events: auto; }
.mobile-menu[hidden] { display: none; }
.ranking-panel { position: absolute; display: flex; flex-direction: column; gap: 12px; color: #414979; }
.ranking-server-picker { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; flex: 0 0 72px; z-index: 5; }
.ranking-server-label { font-size: 26px; color: #40557d; font-weight: bold; }
.ranking-server-trigger { min-width: 220px; max-width: 400px; min-height: 54px; padding: 8px 44px 8px 20px; border: 2px solid #c4a66e; border-radius: 5px; background: #153c50; color: #ffedb0; font-size: 25px; position: relative; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranking-server-trigger::after { content: '▾'; position: absolute; right: 15px; }
.ranking-server-trigger:hover { background: #22576b; }
.ranking-server-trigger:disabled { cursor: wait; opacity: .65; }
.ranking-server-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: min(520px, 100%); padding: 12px; background: #f7f5ff; border: 2px solid #aa9dcb; border-radius: 5px; box-shadow: 0 8px 20px #13254155; }
.ranking-server-search { width: 100%; height: 52px; padding: 8px 14px; border: 1px solid #b8afd3; border-radius: 4px; background: white; font: inherit; font-size: 24px; color: #33436b; }
.ranking-server-options { max-height: 260px; overflow-y: auto; margin-top: 10px; overscroll-behavior: contain; }
.ranking-server-option { display: block; width: 100%; min-height: 52px; padding: 10px 14px; text-align: left; border: 0; border-bottom: 1px solid #ded9eb; background: transparent; color: #33436b; font-size: 24px; }
.ranking-server-option:hover, .ranking-server-option[aria-pressed="true"] { background: #dce6f4; color: #173f60; }
.ranking-server-empty { font-size: 21px; margin: 14px 5px; }
.ranking-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; scrollbar-color: #9998bf #eeebf7; scrollbar-width: thin; border: 2px solid #8f8fbc; background: #fff; overscroll-behavior: contain; }
.ranking-scroll:focus-visible { outline: 3px solid #c4a66e; outline-offset: 3px; }
.rankings { position: static; width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; text-align: center; font-size: 24px; line-height: 1.3; color: #51598b; }
.rankings th, .rankings td { padding: 8px 10px; height: 48px; border-right: 1px solid #a5a1c6; border-bottom: 1px solid #a5a1c6; overflow-wrap: anywhere; font-weight: normal; }
.rankings th { position: sticky; top: 0; z-index: 2; background: #e2e1fc; font-size: 23px; font-weight: bold; white-space: nowrap; overflow-wrap: normal; }
.rankings th:first-child { width: 13%; }
.rankings th:nth-child(2) { width: 34%; }
.rankings th:nth-child(3) { width: 23%; }
.rankings th:nth-child(4) { width: 30%; }
.rankings tr > :last-child { border-right: 0; }
.rank-top-1 { background: #fbe4fc; }
.rank-top-2 { background: #ffe9e6; }
.rank-top-3 { background: #fff4de; }
.rank-medal { width: 40px; height: 40px; object-fit: contain; display: block; margin: auto; }
.empty-rank td:not(:first-child) { color: #8a88a3; }
.image-control::after { content: ''; position: absolute; left: 50%; top: 50%; width: max(100%, calc(44px / var(--scale, 1))); height: max(100%, calc(44px / var(--scale, 1))); transform: translate(-50%, -50%); }
.ranking-status { position: static; flex: 0 0 26px; margin: 0; text-align: center; font-size: 20px; }
.mobile .ranking-panel { gap: 6px; }
.mobile .ranking-server-picker { flex: 0 0 48px; }
.mobile .ranking-server-label { display: none; }
.mobile .ranking-server-trigger {
  width: 305px;
  height: 48px;
  min-width: 0;
  min-height: 0;
  margin-left: 6px;
  padding: 7px 49px 0 195px;
  border: 0;
  border-radius: 0;
  background:
    url('https://file-hwkefu.leniuhw.com/kefu/20261117/dpvn/media/ranking/server-arrow.png') 262px 22px no-repeat,
    url('https://file-hwkefu.leniuhw.com/kefu/20261117/dpvn/media/ranking/server-field.png') 187px 12px no-repeat,
    url('https://file-hwkefu.leniuhw.com/kefu/20261117/dpvn/media/ranking/server-frame.png') 0 0 no-repeat;
  color: #121212;
  font-size: 16px;
  text-align: left;
}
.mobile .ranking-server-trigger::after { content: none; }
.mobile .ranking-server-trigger:disabled { opacity: .8; }
.mobile .ranking-server-search { height: 86px; }
.mobile .ranking-server-option { min-height: 72px; }
.mobile .ranking-scroll { flex: 0 0 296px; border-color: #51598b; scrollbar-width: none; background: #fdfdfd; }
.mobile .ranking-mobile { font-size: max(18px, calc(10px / var(--scale, 1))); line-height: 1.12; color: #121212; }
.mobile .ranking-mobile th { font-size: 16px; text-transform: uppercase; color: #51598b; background: #dfe3fa; }
.mobile .ranking-mobile th, .mobile .ranking-mobile td { height: 29.2px; padding: 0 3px; border-color: #51598b; }
.mobile .ranking-mobile th:first-child { width: 17%; }
.mobile .ranking-mobile th:nth-child(2) { width: 22%; }
.mobile .ranking-mobile th:nth-child(3) { width: 31%; }
.mobile .ranking-mobile th:nth-child(4) { width: 30%; }
.mobile .ranking-mobile td:nth-child(n+3) { padding-block: 1px; overflow-wrap: anywhere; }
.mobile .ranking-mobile td:last-child { font-variant-numeric: tabular-nums; }
.mobile .ranking-mobile td:first-child { color: #51598b; }
.mobile .rank-top-1 { background: #faddfa; }
.mobile .rank-top-2 { background: #ffdfdf; }
.mobile .rank-top-3 { background: #fdf1de; }
.mobile .rank-medal { width: auto; height: auto; max-height: 28px; }
.mobile .ranking-status { flex: 0 0 auto; font-size: 18px; }
.feature-gallery { position: absolute; }
.feature-slot { position: absolute; overflow: hidden; pointer-events: none; }
.feature-center { pointer-events: auto; touch-action: pan-y; }
.feature-track { position: absolute; inset: 3px 3px 3%; overflow: hidden; isolation: isolate; border-radius: 5px 5px 28px 28px; }
.feature-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-slide-label, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.notification { position: fixed; z-index: 100; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); transform: translateX(-50%); max-width: min(90vw, 520px); margin: 0; padding: 14px 22px; border: 1px solid #e4c482; border-radius: 6px; background: #172b4bf2; color: #fff4d5; font-size: 16px; text-align: center; box-shadow: 0 5px 24px #0005; }
dialog { border: 0; padding: 0; overflow: visible; background: transparent; color: #fff4d5; max-width: none; max-height: none; }
dialog::backdrop { background: #07142630; }
#activity-dialog { width: 100vw; height: 100dvh; margin: 0; pointer-events: none; }
#activity-art { position: absolute; left: 50%; top: 50%; width: 1625px; height: 864px; transform: translate(-50%, -50%) scale(var(--popup-scale, 1)); }
#activity-art > img { width: 100%; height: 100%; }
#activity-art .image-control { pointer-events: auto; }
#video-dialog { width: min(90vw, 960px); padding: 24px; background: #142847; border: 1px solid #c3b88e; border-radius: 8px; }
#video-dialog::backdrop { background: #071426d9; }
#video-dialog h2 { font-size: 20px; margin: 0 35px 18px 0; }
#video-content { min-height: 220px; display: grid; place-items: center; }
#video-content video { display: block; width: 100%; max-height: 70vh; }
#video-content iframe { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 70vh; border: 0; }
#video-content a { color: inherit; margin-top: 10px; }
.dialog-close { position: absolute; right: 10px; top: 6px; width: 40px; height: 40px; border: 0; background: transparent; color: white; font-size: 32px; }
@media (max-width: 767px) {
  #activity-art { width: 1400px; height: 2552px; }
  #video-dialog { padding: 18px; }
  .character-target { min-width: 72px; min-height: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
