/* Fantasy portal theme for the xNight registration and download pages. */
.fantasy-portal-page {
    color: #f5f1e8;
    background-color: #080a0c;
    background-image: linear-gradient(180deg, rgba(4, 5, 7, .12), rgba(4, 5, 7, .60)), var(--fantasy-page-art);
    background-attachment: fixed;
    background-position: center 64px;
    background-size: cover;
    background-repeat: no-repeat;
}
.fantasy-register-page { --fantasy-page-art: url('../images/fantasy-register-bg.png'); }
.fantasy-download-page { --fantasy-page-art: url('../images/fantasy-download-bg.png'); }
.fantasy-portal-page .wrapper { width: 100%; max-width: none; overflow: visible; }
.fantasy-portal-page .wrapper > header { display: none !important; }

/* Black and gold navigation bar */
.fantasy-portal-page .topPanel {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: linear-gradient(180deg, #0b0b0a 0%, #050606 100%);
    border-bottom: 1px solid #9c6d21;
    box-shadow: 0 5px 24px rgba(0, 0, 0, .62), inset 0 1px 0 rgba(247, 195, 81, .25);
    backdrop-filter: blur(12px);
}
.fantasy-portal-page .topPanel:before,
.fantasy-portal-page .topPanel:after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #d9a944 18%, #5d3f15 50%, #d9a944 82%, transparent); pointer-events: none; }
.fantasy-portal-page .topPanel:before { top: 0; }
.fantasy-portal-page .topPanel:after { bottom: 3px; opacity: .45; }
.fantasy-portal-page .topPanel-wrapper { max-width: 1440px; min-height: 68px; padding: 0 22px; flex-wrap: nowrap; }
.fantasy-portal-page .topPanel-wrapper_left { min-width: 0; flex: 1; flex-wrap: nowrap; }
.fantasy-portal-page .logo-mini { position: relative; top: auto; left: auto; width: 154px; min-width: 154px; height: 68px; margin-right: 14px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border-right: 1px solid rgba(198, 145, 45, .35); }
.fantasy-portal-page .logo-mini img { display: none; }
.fantasy-portal-page .logo-mini:before { content: '♛  xNight'; color: #f7d37b; font: 700 25px/1 Georgia, 'Times New Roman', serif; letter-spacing: -1.4px; text-shadow: 0 0 14px rgba(240, 179, 61, .28); }
.fantasy-portal-page .logo-mini:after { content: 'CONQUER ONLINE 2.0  ·  PRIVATE SERVER'; color: #c49a4e; font: 600 7px/1.5 Georgia, serif; letter-spacing: 1.05px; }
.fantasy-portal-page .menu { min-width: 0; margin: 0; gap: 0; justify-content: center; flex: 1; }
.fantasy-portal-page .menu li { margin: 0; }
.fantasy-portal-page .menu a { display: flex; align-items: center; justify-content: center; height: 68px; padding: 0 12px; color: #f0eee9; font-size: 11px; line-height: 1; white-space: nowrap; transition: color .2s, background .2s, box-shadow .2s; }
.fantasy-portal-page .menu a:before { position: static; display: inline-block; width: auto; height: auto; margin-right: 8px; color: #eab94f; background: none; font-size: 14px; line-height: 1; }
.fantasy-portal-page .menu li:nth-child(1) a:before { content: '⌂'; }
.fantasy-portal-page .menu li:nth-child(2) a:before { content: '♟'; }
.fantasy-portal-page .menu li:nth-child(3) a:before { content: '⇩'; }
.fantasy-portal-page .menu li:nth-child(4) a:before { content: '▤'; }
.fantasy-portal-page .menu li:nth-child(5) a:before { content: '⚑'; }
.fantasy-portal-page .menu li:nth-child(6) a:before { content: '◈'; }
.fantasy-portal-page .menu li:nth-child(7) a:before { content: '✦'; }
.fantasy-portal-page .menu li:nth-child(8) a:before { content: '▶'; }
.fantasy-portal-page .menu a:hover,
.fantasy-portal-page .menu .fantasy-nav-active a { color: #ffe6a1; background: linear-gradient(180deg, rgba(189, 131, 33, .25), rgba(82, 51, 12, .14)); box-shadow: inset 0 2px 0 #e7b44a, inset 0 -2px 0 rgba(224, 169, 58, .7); }
.fantasy-portal-page .menu a:hover:after,
.fantasy-portal-page .menu .fantasy-nav-active a:after { display: none; }
.fantasy-portal-page .topPanel-wrapper_right { margin: 0 0 0 14px; flex: 0 0 auto; }
.fantasy-portal-page .topPanel-wrapper_right .button,
.fantasy-portal-page .topPanel-wrapper_right .main-item { display: flex; width: 142px; height: 42px; margin: 0; padding: 0; align-items: center; justify-content: center; border: 1px solid #c18b29; border-radius: 5px; color: #fff !important; background: linear-gradient(180deg, #193a70, #07152c); box-shadow: inset 0 1px 5px rgba(134, 179, 255, .3), 0 0 13px rgba(21, 68, 146, .4); font-size: 13px; font-weight: 700; letter-spacing: .5px; }
.fantasy-portal-page .topPanel-wrapper_right .button:hover,
.fantasy-portal-page .topPanel-wrapper_right .main-item:hover { border-color: #f1cf77; background: linear-gradient(180deg, #244c8b, #0c1e3a); }

/* Shared fantasy scene and framed content */
.fantasy-portal { width: 100%; min-height: calc(100vh - 68px); padding: 0 20px 70px; position: relative; isolation: isolate; }
.fantasy-scene-heading { position: relative; z-index: 0; width: min(100%, 760px); margin: 0 auto; padding: 93px 16px 135px; text-align: center; text-shadow: 0 2px 14px #000; }
.fantasy-brand-crown { display: block; margin: 0 auto -14px; color: #f0c45c; font: 54px/1 Georgia, serif; text-shadow: 0 0 18px rgba(254, 199, 68, .5); }
.fantasy-scene-heading h1 { margin: 0; color: #f6d57e; font: 500 clamp(60px, 8vw, 92px)/.96 Georgia, 'Times New Roman', serif; letter-spacing: -4px; text-shadow: 0 3px 0 #6d4210, 0 0 23px rgba(246, 176, 40, .42); }
.fantasy-brand-subtitle { margin: 7px 0 0; color: #f7dfa0; font: 700 18px/1.2 Georgia, serif; letter-spacing: 2.2px; }
.fantasy-brand-caption { display: inline-block; margin-top: 8px; color: #e8bb59; font: 600 11px/1 Georgia, serif; letter-spacing: 3px; }
.fantasy-scene-tagline { margin: 18px 0 0; color: #ffe4a0; font: 600 18px/1.22 Georgia, serif; letter-spacing: 1.2px; }
.fantasy-frame { position: relative; isolation: isolate; width: min(100%, 870px); margin: -87px auto 0; padding: 46px 34px 36px; border: 1px solid rgba(206, 154, 58, .88); background: linear-gradient(145deg, rgba(5, 8, 9, .93), rgba(8, 11, 12, .94) 60%, rgba(18, 16, 11, .91)); box-shadow: 0 20px 60px rgba(0, 0, 0, .68), inset 0 0 0 4px rgba(192, 137, 35, .12), inset 0 0 35px rgba(209, 156, 51, .07); }
.fantasy-frame:before { content: ''; position: absolute; z-index: -1; inset: 8px; border: 1px solid rgba(213, 167, 76, .42); pointer-events: none; }
.fantasy-frame:after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, transparent 15px, rgba(224, 177, 77, .5) 16px, transparent 18px) top left / 28px 28px no-repeat, linear-gradient(225deg, transparent 15px, rgba(224, 177, 77, .5) 16px, transparent 18px) top right / 28px 28px no-repeat, linear-gradient(45deg, transparent 15px, rgba(224, 177, 77, .5) 16px, transparent 18px) bottom left / 28px 28px no-repeat, linear-gradient(315deg, transparent 15px, rgba(224, 177, 77, .5) 16px, transparent 18px) bottom right / 28px 28px no-repeat; pointer-events: none; }
.fantasy-frame-jewel { position: absolute; z-index: 2; top: -43px; left: 50%; display: grid; width: 80px; height: 80px; place-items: center; transform: translateX(-50%) rotate(45deg); border: 2px solid #d4a744; outline: 4px solid rgba(8, 9, 10, .82); background: radial-gradient(circle at 34% 25%, #7d60d3, #301766 68%, #110d22); box-shadow: 0 0 22px rgba(225, 173, 51, .42), inset 0 0 13px rgba(255, 216, 105, .26); color: #ffe79d; font: 38px Georgia, serif; }
.fantasy-frame-jewel:before { content: ''; position: absolute; inset: -14px; border: 2px solid #c99532; clip-path: polygon(50% 0, 58% 13%, 87% 3%, 82% 22%, 100% 50%, 83% 58%, 96% 88%, 70% 83%, 50% 100%, 40% 83%, 10% 96%, 17% 68%, 0 50%, 17% 40%, 4% 12%, 31% 18%); }
.fantasy-download-frame .fantasy-frame-jewel { background: radial-gradient(circle at 34% 25%, #75d5ff, #0757c6 68%, #061b4a); }
.fantasy-frame-jewel:after { content: '✦'; transform: rotate(-45deg); }
.fantasy-frame-heading { margin: 0 auto 25px; text-align: center; }
.fantasy-frame-heading h2 { margin: 0 0 7px; color: #f2ca68; font: 600 30px/1.15 Georgia, 'Times New Roman', serif; letter-spacing: 1.5px; text-shadow: 0 0 12px rgba(226, 172, 58, .22); }
.fantasy-frame-heading p { margin: 0; color: #dfc383; font: 13px/1.5 Georgia, 'Times New Roman', serif; letter-spacing: 1px; }

/* Registration table and controls */
.fantasy-register { padding-bottom: 58px; }
.fantasy-register .fantasy-scene-heading { padding-top: 88px; padding-bottom: 132px; }
.fantasy-register-frame { width: min(100%, 790px); margin-top: -92px; padding: 42px 36px 30px; }
.fantasy-register-frame .fantasy-frame-heading { margin-bottom: 17px; }
.fantasy-register-frame .fantasy-frame-jewel { background: radial-gradient(circle at 34% 25%, #bd76ff, #5b1eab 68%, #210836); }
.fantasy-form-table { overflow: hidden; border: 1px solid rgba(184, 150, 80, .34); border-radius: 5px; background: rgba(4, 8, 10, .55); }
.fantasy-form-row { display: grid; grid-template-columns: minmax(185px, 34%) minmax(0, 1fr); align-items: center; min-height: 56px; border-bottom: 1px solid rgba(210, 199, 174, .17); }
.fantasy-form-row:last-child { border-bottom: 0; }
.fantasy-form-label { display: flex; min-height: 54px; align-items: center; gap: 13px; padding: 0 18px; color: #f2efe8; font: 14px/1.25 Arial, sans-serif; }
.fantasy-form-label i { width: 22px; color: #f1c354; font: 700 21px/1 Georgia, serif; text-align: center; text-shadow: 0 0 9px rgba(229, 174, 53, .4); }
.fantasy-form-row input, .fantasy-form-row select { width: calc(100% - 14px); min-width: 0; height: 40px; margin: 6px 7px; padding: 0 13px; border: 1px solid #3b4144 !important; border-radius: 5px; color: #ece9e1; background: linear-gradient(180deg, #101619, #090d0f) !important; text-align: left; font: 13px Arial, sans-serif; box-shadow: inset 0 1px 5px rgba(0, 0, 0, .55); }
.fantasy-form-row input::placeholder { color: #899092; }
.fantasy-form-row select { appearance: auto; color-scheme: dark; }
.fantasy-form-row input:focus, .fantasy-form-row select:focus { border-color: #d5a844 !important; outline: 1px solid rgba(213, 168, 68, .28); box-shadow: 0 0 11px rgba(223, 172, 62, .16); }
.fantasy-rules-row { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 19px 0; color: #f2efe9; font-size: 13px; }
.fantasy-rules-row input { width: 22px; height: 22px; margin: 0; accent-color: #d7a939; }
.fantasy-rules-row a { color: #f1c95f; font-weight: 700; }
.fantasy-security-row { display: grid; grid-template-columns: minmax(185px, 34%) minmax(0, 1fr); align-items: center; min-height: 96px; border: 1px solid rgba(184, 150, 80, .34); border-radius: 5px; background: rgba(4, 8, 10, .6); }
.fantasy-security-row .fantasy-form-label { border-right: 1px solid rgba(210, 199, 174, .17); }
.fantasy-captcha { display: flex; min-height: 84px; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; padding: 8px 14px; }
.fantasy-local-security { display: inline-flex; align-items: center; gap: 9px; color: #d7c99f; font-size: 13px; line-height: 1.5; }
.fantasy-local-security strong { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid #c49b42; border-radius: 50%; color: #ffd76b; font-size: 14px; }
.fantasy-error { color: #ff9292; font-size: 12px; }
.fantasy-submit { position: relative; display: block; width: min(100%, 350px); height: 58px; margin: 22px auto 0; padding: 0 24px; border: 1px solid #f5d270; border-radius: 30px; color: #1a1105; background: linear-gradient(180deg, #ffdf78 0%, #e6a92e 48%, #9b5a12 100%); box-shadow: 0 0 0 4px rgba(10, 9, 6, .85), 0 0 20px rgba(245, 172, 36, .36), inset 0 2px 2px rgba(255, 250, 210, .9); font: 700 18px Georgia, serif; text-shadow: 0 1px rgba(255, 243, 194, .6); cursor: pointer; }
.fantasy-submit:before, .fantasy-submit:after { content: '❧'; position: absolute; top: 50%; color: #ffe49a; font: 23px Georgia, serif; transform: translateY(-50%); }
.fantasy-submit:before { left: 14px; }
.fantasy-submit:after { right: 14px; transform: translateY(-50%) scaleX(-1); }
.fantasy-submit:hover { filter: brightness(1.12); box-shadow: 0 0 0 4px rgba(10, 9, 6, .85), 0 0 28px rgba(255, 187, 39, .55), inset 0 2px 2px rgba(255, 250, 210, .9); }

/* Download cards and gold action buttons */
.fantasy-download { padding-bottom: 62px; }
.fantasy-download-brand { padding-top: 106px; padding-bottom: 145px; }
.fantasy-download-frame { width: min(100%, 900px); margin-top: -91px; padding: 46px 30px 34px; }
.fantasy-download-frame .fantasy-frame-heading { margin-bottom: 25px; }
.fantasy-download-group { position: relative; margin-top: 18px; padding: 17px 15px 15px; border: 1px solid rgba(206, 154, 58, .76); background: linear-gradient(145deg, rgba(7, 9, 9, .75), rgba(7, 9, 9, .86)); box-shadow: inset 0 0 0 3px rgba(188, 134, 34, .09); }
.fantasy-download-group:before, .fantasy-download-group:after { content: '❖'; position: absolute; z-index: 2; color: #e9bd5c; font: 20px Georgia, serif; line-height: 1; text-shadow: 0 0 9px rgba(248, 193, 71, .55); }
.fantasy-download-group:before { top: -8px; left: -8px; }
.fantasy-download-group:after { right: -8px; bottom: -8px; }
.fantasy-download-group h3 { margin: 0 0 13px 3px; color: #f1c858; font: 600 20px/1.2 Georgia, serif; letter-spacing: .5px; }
.fantasy-download-table { border: 1px solid rgba(195, 154, 77, .35); }
.fantasy-download-head, .fantasy-download-row { display: grid; align-items: center; }
.fantasy-client-table .fantasy-download-head, .fantasy-client-table .fantasy-download-row { grid-template-columns: 68px minmax(0, 1fr) 130px 205px; }
.fantasy-program-table .fantasy-download-head, .fantasy-program-table .fantasy-download-row { grid-template-columns: 68px minmax(0, 1fr) 205px; }
.fantasy-download-head { min-height: 43px; color: #f2d17f; background: linear-gradient(180deg, rgba(116, 78, 20, .42), rgba(39, 30, 14, .7)); font: 14px Georgia, serif; text-align: center; }
.fantasy-download-head span { padding: 11px 8px; border-right: 1px solid rgba(195, 154, 77, .24); }
.fantasy-download-head span:last-child { border: 0; }
.fantasy-download-row { min-height: 70px; border-top: 1px solid rgba(195, 154, 77, .23); color: #f0eee9; background: rgba(5, 9, 10, .65); font: 14px Arial, sans-serif; }
.fantasy-download-row > span:not(.fantasy-download-emblem):not(.fantasy-program-icon) { padding: 12px 10px; }
.fantasy-download-row > span:nth-child(3) { text-align: center; }
.fantasy-download-emblem { display: grid; width: 52px; height: 58px; margin: auto; place-items: center; clip-path: polygon(50% 0, 94% 16%, 86% 72%, 50% 100%, 14% 72%, 6% 16%); border: 2px solid #b99554; color: #d8ecff; background: linear-gradient(145deg, #6386d1, #173263 50%, #dea12e); font: 23px Georgia, serif; text-shadow: 0 0 7px #fff; }
.fantasy-program-icon { display: grid; width: 46px; height: 46px; margin: auto; place-items: center; color: #fff; font: 700 29px/1 Arial, sans-serif; }
.fantasy-flash-icon { background: linear-gradient(145deg, #f55e4b, #a31711); font-style: italic; }
.fantasy-vcpp-icon { background: linear-gradient(145deg, #8c36aa, #311142); }
.fantasy-download-button { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 8px 10px; padding: 0 12px; border: 1px solid #f3c349; border-radius: 5px; color: #fff8e5; background: linear-gradient(180deg, #49300c, #1e1609); box-shadow: 0 0 10px rgba(255, 176, 30, .32), inset 0 0 12px rgba(222, 157, 32, .22); font-size: 13px; font-weight: 700; letter-spacing: .25px; white-space: nowrap; }
.fantasy-download-button b { margin-right: 9px; color: #ffd24b; font-size: 20px; line-height: 1; }
a.fantasy-download-button:hover { color: #fff; background: linear-gradient(180deg, #68450f, #30200a); box-shadow: 0 0 18px rgba(255, 188, 42, .58), inset 0 0 15px rgba(242, 182, 49, .28); }
.fantasy-download-button.is-unavailable { opacity: .56; cursor: not-allowed; }

/* Gold-trimmed footer matching the portal */
.fantasy-portal-page .footer { min-height: 0; margin-top: 0; padding-bottom: 28px; border-top: 1px solid #85601f; background: linear-gradient(180deg, rgba(5, 7, 8, .97), #050606); box-shadow: 0 -7px 30px rgba(0, 0, 0, .4); }
.fantasy-portal-page .toTop-fon { margin-top: 28px; }
.fantasy-portal-page .footer-block-t { padding-top: 28px; border-color: rgba(201, 152, 57, .28); }
.fantasy-portal-page .footer-end { margin-top: 36px; padding: 0 4%; }
.fantasy-portal-page .footer a, .fantasy-portal-page .footer .copyright { color: #dac99f; }
.fantasy-portal-page .footer a:hover { color: #ffe18a; }
.fantasy-portal-page .footer-logo > a:first-child { display: flex; width: 190px; min-height: 95px; margin: 0 auto; flex-direction: column; justify-content: center; align-items: center; }
.fantasy-portal-page .footer-logo > a:first-child img { display: none; }
.fantasy-portal-page .footer-logo > a:first-child:before { content: '♛ xNight'; color: #f3cf72; font: 700 38px/1 Georgia, serif; text-shadow: 0 0 16px rgba(240, 179, 61, .28); }
.fantasy-portal-page .footer-logo > a:first-child:after { content: 'CONQUER ONLINE 2.0  ·  PRIVATE SERVER'; color: #c49a4e; font: 600 8px/1.7 Georgia, serif; letter-spacing: .8px; }

@media (max-width: 1060px) {
    .fantasy-portal-page .topPanel-wrapper { padding: 0 12px; }
    .fantasy-portal-page .logo-mini { width: 126px; min-width: 126px; margin-right: 6px; }
    .fantasy-portal-page .logo-mini:before { font-size: 22px; }
    .fantasy-portal-page .menu a { padding: 0 8px; font-size: 10px; }
    .fantasy-portal-page .menu a:before { margin-right: 5px; }
    .fantasy-portal-page .topPanel-wrapper_right { margin-left: 7px; }
    .fantasy-portal-page .topPanel-wrapper_right .button, .fantasy-portal-page .topPanel-wrapper_right .main-item { width: 112px; }
}
@media (max-width: 780px) {
    .fantasy-portal-page .topPanel-wrapper { min-height: 104px; flex-wrap: wrap; justify-content: space-between; }
    .fantasy-portal-page .topPanel-wrapper_left { display: contents; }
    .fantasy-portal-page .logo-mini { height: 52px; border: 0; align-items: flex-start; }
    .fantasy-portal-page .topPanel-wrapper_right { height: 52px; }
    .fantasy-portal-page .menu { order: 3; width: 100%; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #8d692d #090909; }
    .fantasy-portal-page .menu a { height: 45px; padding: 0 11px; }
    .fantasy-portal-page .topPanel-wrapper_right .button, .fantasy-portal-page .topPanel-wrapper_right .main-item { height: 36px; }
    .fantasy-portal { padding-right: 13px; padding-left: 13px; }
    .fantasy-scene-heading { padding-top: 74px; padding-bottom: 115px; }
    .fantasy-scene-heading h1 { letter-spacing: -2px; }
    .fantasy-frame { margin-top: -72px; padding: 40px 19px 25px; }
    .fantasy-frame-heading h2 { font-size: 25px; }
    .fantasy-frame-heading p { font-size: 11px; }
    .fantasy-register-frame { margin-top: -78px; }
    .fantasy-form-row, .fantasy-security-row { grid-template-columns: minmax(120px, 34%) minmax(0, 1fr); }
    .fantasy-form-label { gap: 8px; padding: 0 10px; font-size: 12px; }
    .fantasy-form-label i { width: 17px; font-size: 18px; }
    .fantasy-client-table .fantasy-download-head, .fantasy-client-table .fantasy-download-row { grid-template-columns: 54px minmax(0, 1fr) 78px 145px; }
    .fantasy-program-table .fantasy-download-head, .fantasy-program-table .fantasy-download-row { grid-template-columns: 54px minmax(0, 1fr) 145px; }
    .fantasy-download-button { margin-right: 6px; margin-left: 6px; padding: 0 7px; font-size: 11px; }
}
@media (max-width: 520px) {
    .fantasy-portal-page .topPanel-wrapper { padding: 0 8px; }
    .fantasy-portal-page .logo-mini { width: 138px; min-width: 138px; }
    .fantasy-portal-page .topPanel-wrapper_right { margin: 0; }
    .fantasy-portal-page .topPanel-wrapper_right .button, .fantasy-portal-page .topPanel-wrapper_right .main-item { width: 90px; font-size: 11px; }
    .fantasy-portal-page .menu a { padding: 0 10px; font-size: 10px; }
    .fantasy-portal-page .menu a:before { margin-right: 5px; }
    .fantasy-portal-page { background-position: center 100px; }
    .fantasy-scene-heading { padding: 61px 8px 103px; }
    .fantasy-brand-crown { font-size: 42px; }
    .fantasy-scene-heading h1 { font-size: 58px; }
    .fantasy-brand-subtitle { font-size: 14px; }
    .fantasy-brand-caption { font-size: 9px; }
    .fantasy-scene-tagline { font-size: 15px; }
    .fantasy-frame { padding: 37px 11px 20px; }
    .fantasy-register-frame { padding-right: 10px; padding-left: 10px; }
    .fantasy-form-row, .fantasy-security-row { grid-template-columns: 1fr; padding: 5px 9px 9px; }
    .fantasy-form-label { min-height: 34px; padding: 0 4px; }
    .fantasy-form-row input, .fantasy-form-row select { width: 100%; margin: 0; }
    .fantasy-security-row .fantasy-form-label { border: 0; }
    .fantasy-captcha { overflow-x: auto; padding: 6px 4px; }
    .fantasy-captcha iframe { max-width: 100%; }
    .fantasy-rules-row { align-items: flex-start; font-size: 12px; }
    .fantasy-download-frame { padding-right: 9px; padding-left: 9px; }
    .fantasy-download-group { padding: 13px 8px 8px; }
    .fantasy-download-group h3 { font-size: 16px; }
    .fantasy-client-table .fantasy-download-head { grid-template-columns: minmax(0, 1fr) 72px 112px; }
    .fantasy-client-table .fantasy-download-head span:first-child { display: none; }
    .fantasy-client-table .fantasy-download-head span:nth-child(2) { text-align: left; }
    .fantasy-client-table .fantasy-download-row { grid-template-columns: 48px minmax(0, 1fr) 112px; }
    .fantasy-client-table .fantasy-download-row > span:nth-child(3) { display: none; }
    .fantasy-program-table .fantasy-download-head { grid-template-columns: minmax(0, 1fr) 112px; }
    .fantasy-program-table .fantasy-download-head span:first-child { display: none; }
    .fantasy-program-table .fantasy-download-row { grid-template-columns: 46px minmax(0, 1fr) 112px; }
    .fantasy-download-row { min-height: 66px; font-size: 12px; }
    .fantasy-program-icon { width: 36px; height: 36px; font-size: 23px; }
    .fantasy-download-emblem { width: 42px; height: 48px; }
    .fantasy-download-button { min-height: 40px; margin: 5px; font-size: 10px; }
    .fantasy-download-button b { margin-right: 5px; font-size: 16px; }
}

/* Home page: shared xNight fantasy identity with a broader landing-page layout. */
.fantasy-home-page { --fantasy-page-art: url('../images/fantasy-download-bg.png'); background-position: center 68px; }
.fantasy-home-page .content.fantasy-home { width: 100%; max-width: none; margin: 0; padding: 0; color: #f5f1e8; }
.fantasy-home-hero { position: relative; display: grid; min-height: min(760px, calc(100svh - 68px)); place-items: center; overflow: hidden; padding: 66px 20px 105px; isolation: isolate; text-align: center; }
.fantasy-home-hero:before { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at center 42%, rgba(8, 8, 8, .16) 0%, rgba(5, 6, 7, .28) 36%, rgba(3, 5, 6, .74) 100%), linear-gradient(180deg, rgba(3, 4, 5, .18), transparent 24%, rgba(3, 4, 5, .2) 64%, #080a0b 100%); }
.fantasy-home-hero:after { content: ''; position: absolute; right: 8%; bottom: 39px; left: 8%; height: 1px; background: linear-gradient(90deg, transparent, #a67423 18%, #f3cd72 50%, #a67423 82%, transparent); box-shadow: 0 0 15px rgba(236, 185, 77, .48); }
.fantasy-home-hero-inner { width: min(100%, 850px); margin: auto; text-shadow: 0 2px 14px rgba(0, 0, 0, .85); }
.fantasy-home-crown { display: block; margin-bottom: -17px; color: #f2cb69; font: 58px/1 Georgia, serif; text-shadow: 0 0 22px rgba(255, 198, 71, .58); }
.fantasy-home-eyebrow { margin: 0 0 5px; color: #ecd49a; font: 600 11px/1.5 Georgia, serif; letter-spacing: 5px; }
.fantasy-home-hero h1 { margin: 0; color: #ffe29a; font: 500 clamp(76px, 10vw, 122px)/.98 Georgia, 'Times New Roman', serif; letter-spacing: -5px; text-shadow: 0 3px 0 #70440f, 0 7px 25px rgba(0, 0, 0, .95), 0 0 34px rgba(246, 176, 40, .32); }
.fantasy-home-edition { margin: 10px 0 0; color: #f8e8bf; font: 700 clamp(16px, 2vw, 21px)/1.2 Georgia, serif; letter-spacing: 3px; }
.fantasy-home-caption { display: inline-block; margin-top: 8px; color: #e8bb59; font: 600 10px/1 Georgia, serif; letter-spacing: 4px; }
.fantasy-home-tagline { margin: 24px 0 25px; color: #ffe5aa; font: 600 clamp(16px, 2vw, 20px)/1.42 Georgia, serif; letter-spacing: 2px; }
.fantasy-home-actions { display: flex; justify-content: center; gap: 13px; flex-wrap: wrap; }
.fantasy-home-actions a { display: inline-flex; min-width: 205px; min-height: 52px; justify-content: center; align-items: center; gap: 10px; padding: 0 22px; border-radius: 4px; font: 700 12px/1 Arial, sans-serif; letter-spacing: 1px; text-decoration: none; transition: transform .2s ease, filter .2s ease, box-shadow .2s ease; }
.fantasy-home-actions a:hover { transform: translateY(-2px); filter: brightness(1.12); }
.fantasy-home-primary { border: 1px solid #f8da85; color: #211503; background: linear-gradient(180deg, #ffe39a, #dfa42e 58%, #925313); box-shadow: 0 0 0 3px rgba(5, 5, 5, .78), 0 0 22px rgba(255, 185, 55, .4), inset 0 1px 2px #fff4d2; }
.fantasy-home-primary span { font-size: 20px; }
.fantasy-home-secondary { border: 1px solid rgba(236, 194, 94, .8); color: #fff3cf; background: linear-gradient(180deg, rgba(19, 27, 32, .92), rgba(6, 9, 11, .96)); box-shadow: 0 0 0 3px rgba(5, 5, 5, .72), inset 0 0 14px rgba(211, 158, 49, .11); }
.fantasy-home-secondary span { color: #f4ca69; font-size: 17px; }
.fantasy-home-status { display: inline-flex; min-height: 42px; align-items: center; gap: 9px; margin-top: 30px; padding: 0 18px; border: 1px solid rgba(211, 169, 81, .47); border-radius: 3px; color: #d8c9a3; background: rgba(4, 7, 8, .72); box-shadow: inset 0 0 20px rgba(188, 133, 36, .07); font: 10px/1 Arial, sans-serif; letter-spacing: 1.3px; }
.fantasy-home-status-light { width: 7px; height: 7px; border-radius: 50%; background: #6cd48b; box-shadow: 0 0 10px #55df82; }
.fantasy-home-status strong { color: #8be3a5; font-size: 10px; }
.fantasy-home-status i { width: 1px; height: 16px; margin: 0 5px; background: rgba(222, 185, 106, .4); }
.fantasy-home-status b { color: #ffe09a; font-size: 13px; }
.fantasy-home-explore { position: absolute; bottom: 18px; left: 50%; display: flex; transform: translateX(-50%); flex-direction: column; align-items: center; gap: 2px; color: #dfca9c; font: 9px/1.5 Georgia, serif; letter-spacing: 2px; text-decoration: none; }
.fantasy-home-explore span { color: #f1c454; font: 22px/1 Arial, sans-serif; }
.fantasy-home-content { position: relative; z-index: 1; width: min(1200px, calc(100% - 40px)); margin: -34px auto 0; padding-bottom: 54px; }
.fantasy-home-content .video-section { margin: 0 0 25px; padding: 20px 22px 18px; border: 1px solid rgba(198, 148, 57, .7); background: linear-gradient(145deg, rgba(5, 8, 9, .91), rgba(8, 11, 12, .94)); box-shadow: 0 15px 45px rgba(0, 0, 0, .48), inset 0 0 0 4px rgba(192, 137, 35, .08); }
.fantasy-home-content .video-section-header { margin-bottom: 12px; }
.fantasy-home-content .video-section-static .video-carousel { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); overflow: visible; }
.fantasy-home-content .video-section-static .video-card { width: auto; max-width: none; flex: initial; }
.fantasy-home-content .section-title { display: flex; flex-direction: column; gap: 4px; color: #f2ca68; font: 600 20px/1.15 Georgia, serif; letter-spacing: 1px; }
.fantasy-home-content .section-title span { color: #bda879; font: 10px/1.4 Arial, sans-serif; letter-spacing: 2px; }
.fantasy-home-content .carousel-btn { border: 1px solid #9b7028; border-radius: 3px; color: #f4d47f; background: linear-gradient(180deg, #38290f, #14110b); box-shadow: none; }
.fantasy-home-content .carousel-btn:hover { color: #1a1205; background: #f1c85f; }
.fantasy-home-content .video-carousel { gap: 14px; }
.fantasy-home-content .video-card { flex: 0 0 calc((100% - 42px) / 4); max-width: calc((100% - 42px) / 4); padding-left: 0; border: 1px solid rgba(192, 147, 62, .52); border-radius: 3px; background: #07090a; box-shadow: 0 5px 18px rgba(0, 0, 0, .35); }
.fantasy-home-content .video-card video { height: 176px; filter: brightness(.82) saturate(.82); }
.fantasy-home-content .play-symbol { width: 52px; height: 52px; border: 1px solid #f2d17c; color: #211704; background: linear-gradient(180deg, #ffe39a, #b87919); box-shadow: 0 0 18px rgba(249, 182, 50, .42); font-size: 27px; line-height: 50px; }
.fantasy-home-content .video-name { color: #fff0cb; font-family: Georgia, serif; }
.fantasy-home-content .news-panel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .9fr); gap: 16px; margin: 0; }
.fantasy-home-content .slider, .fantasy-home-content .newsBlockLeft { width: 100%; min-width: 0; }
.fantasy-home-content .swiper-news { width: 100%; height: 370px; border: 1px solid rgba(195, 147, 59, .72); background: #07090a; box-shadow: 0 16px 38px rgba(0, 0, 0, .4); }
.fantasy-home-content .swiper-news:after { width: 100%; height: 86px; background: linear-gradient(0deg, rgba(4, 6, 7, .96), transparent); pointer-events: none; }
.fantasy-home-content .swiper-news .swiper-slide { height: 370px; background-image: linear-gradient(90deg, rgba(4, 6, 7, .55), rgba(4, 6, 7, .18)), url('../images/fantasy-download-bg.png') !important; background-position: center 38%; background-size: cover; box-shadow: inset 0 -40px 80px rgba(0, 0, 0, .68); }
.fantasy-home-content .swiper-news .swiper-slide:before { content: ''; position: absolute; inset: 0; border: 7px solid rgba(7, 8, 8, .5); box-shadow: inset 0 0 0 1px rgba(232, 184, 83, .38); pointer-events: none; }
.fantasy-home-content .slider-title { left: 28px; max-width: calc(100% - 56px); color: #ffe09a; font: 600 27px/1.15 Georgia, serif; text-shadow: 0 2px 12px #000; }
.fantasy-home-content .swiper-slide-active .slider-title { top: 28px; }
.fantasy-home-content .slider-info { left: 28px; bottom: -120px; width: min(75%, 440px); color: #f6edda; text-shadow: 0 2px 6px #000; }
.fantasy-home-content .swiper-slide-active .slider-info { bottom: 28px; }
.fantasy-home-content .button-more2 { right: 22px; bottom: 22px; width: auto; height: auto; min-width: 100px; padding: 11px 16px; border: 1px solid #e5b648; color: #261a07; background: linear-gradient(180deg, #ffe19a, #b97918); box-shadow: 0 0 15px rgba(255, 186, 45, .24); font: 700 12px Arial, sans-serif; opacity: 1; text-align: center; }
.fantasy-home-content .newsPagination { left: 28px; bottom: 20px; width: auto; }
.fantasy-home-content .swiper-news .swiper-button-next, .fantasy-home-content .swiper-news .swiper-button-prev { background-color: rgba(7, 9, 10, .85); filter: sepia(1) saturate(.6); }
.fantasy-home-content .swiper-news .swiper-pagination { color: #efc96a; }
.fantasy-home-content .events-block { width: auto; min-width: 0; min-height: 370px; padding: 22px 18px 18px; border: 1px solid rgba(195, 147, 59, .72); background: linear-gradient(145deg, rgba(5, 8, 9, .94), rgba(12, 13, 12, .94)); box-shadow: 0 16px 38px rgba(0, 0, 0, .4), inset 0 0 0 4px rgba(192, 137, 35, .07); }
.fantasy-home-content .events-block:before { display: none; }
.fantasy-home-content .news-top-title { padding: 0 0 11px; border-bottom: 1px solid rgba(201, 153, 63, .35); }
.fantasy-home-content .news-top-title span, .fantasy-home-content .news-top-title span.active { color: #f2ca68; font: 600 20px/1.2 Georgia, serif; letter-spacing: .8px; }
.fantasy-home-content .news-content-top { max-height: 300px; overflow: auto; scrollbar-color: #8c662b #090a09; }
.fantasy-home-content .newsContent { min-height: 72px; gap: 12px; padding: 12px 2px; border-bottom: 1px solid rgba(207, 181, 130, .14); }
.fantasy-home-content .newsContent:hover { margin: 0; background: rgba(180, 126, 35, .1); box-shadow: none; }
.fantasy-home-content .newsContent_img img { width: 31px; height: 31px; padding: 0; }
.fantasy-home-content .newsContent_info, .fantasy-home-content .newsContent:hover .newsContent_info { width: auto; min-width: 0; margin: 0; }
.fantasy-home-content .newsContent_info-link, .fantasy-home-content .newsContent:hover .newsContent_info-link { overflow: hidden; margin: 0 0 6px; color: #eee5d1; font: 600 13px/1.35 Arial, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.fantasy-home-content .newsContent_info-link span, .fantasy-home-content .newsContent:hover .newsContent_info-link span { color: #e0b74f; }
.fantasy-home-content .newsContent_info-text, .fantasy-home-content .newsContent:hover .newsContent_info-text { color: #b6a981; font: 11px/1.4 Arial, sans-serif; }
.fantasy-home-content .newsContent .read-more-news { display: none; }
.fantasy-home-content .fantasy-home-empty { margin: 16px 0 0; padding: 14px; border: 1px solid rgba(205, 160, 75, .23); color: #c9bc9c; background: rgba(4, 6, 7, .55); font: 12px/1.5 Arial, sans-serif; }
.fantasy-home-content .fast-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 25px 0; }
.fantasy-home-content .fast-links > span { display: none; }
.fantasy-home-content .fast-links > a { position: relative; display: flex; width: auto; height: 140px; min-width: 0; flex-direction: column; justify-content: center; align-items: flex-start; overflow: hidden; padding: 20px 22px; border: 1px solid rgba(197, 150, 62, .58); background: linear-gradient(135deg, rgba(22, 24, 24, .96), rgba(5, 8, 9, .94)); box-shadow: inset 0 0 28px rgba(199, 143, 39, .08); text-decoration: none; }
.fantasy-home-content .fast-links > a:before { left: auto; right: -20px; top: 10px; width: 90px; height: 100px; color: rgba(228, 183, 82, .2); background: none; font: 70px/1 Georgia, serif; text-align: center; opacity: .8; }
.fantasy-home-content .fast-links-left:before { content: '⚖'; }
.fantasy-home-content .fast-links-center:before { content: '◈'; }
.fantasy-home-content .fast-links-right:before { content: '▶'; }
.fantasy-home-content .fast-links > a:hover:before { left: auto; right: -12px; }
.fantasy-home-content .fast-links > a > span { z-index: 1; width: auto; margin: 0 0 8px; color: #f0ca6a; font: 600 21px/1.2 Georgia, serif; font-style: normal; }
.fantasy-home-content .fast-links > a p { z-index: 1; margin: 0; color: #c9c0aa; font: 12px/1.55 Arial, sans-serif; font-style: normal; }
.fantasy-home-content .block-widget { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: 100%; height: auto; margin: 25px auto 0; padding: 17px; border: 1px solid rgba(198, 148, 57, .72); background: linear-gradient(145deg, rgba(5, 8, 9, .94), rgba(9, 12, 13, .95)); box-shadow: 0 15px 45px rgba(0, 0, 0, .48), inset 0 0 0 4px rgba(192, 137, 35, .08); }
.fantasy-home-content .block-widget:before { display: none; }
.fantasy-home-content .widget-fon, .fantasy-home-content .widget-fon-guilds { z-index: 1; width: auto; min-width: 0; padding: 17px 18px 18px; border: 1px solid rgba(205, 160, 75, .35); background: rgba(3, 6, 7, .5); }
.fantasy-home-content .block-widget-title { padding: 0 0 13px; border-bottom: 1px solid rgba(201, 153, 63, .35); color: #f0ca68; font: 600 18px/1.2 Georgia, serif; text-align: left; }
.fantasy-home-content .top-block { margin: 0; padding: 0; }
.fantasy-home-content table.sidebar_rank { margin: 8px 0 0; color: #e9e2d1; }
.fantasy-home-content table.sidebar_rank th { padding: 9px 8px; border-bottom: 1px solid rgba(210, 169, 84, .3); color: #d8ba74; font: 600 11px/1.2 Arial, sans-serif; text-transform: uppercase; letter-spacing: .8px; }
.fantasy-home-content table.sidebar_rank td { padding: 9px 8px; border-bottom: 1px solid rgba(207, 181, 130, .13); color: #e5dfd1; font: 12px/1.35 Arial, sans-serif; }
.fantasy-home-content table.sidebar_rank tr td:first-child { width: 40px; color: #dfb34d; }
.fantasy-home-content table.sidebar_rank tr:hover td { background: rgba(188, 135, 39, .09); }
.fantasy-home-content table.sidebar_rank .fantasy-home-empty-row { padding: 16px 8px; color: #b7a982; font-style: italic; }
.fantasy-home-content .bottom-block { display: none; }

/* Champion rankings: clear hierarchy, engraved gold details and readable score chips. */
.fantasy-home-content .fantasy-home-rankings { position: relative; margin: 32px 0 8px; padding: 26px; border: 1px solid rgba(198, 148, 57, .65); background: radial-gradient(ellipse at 50% 0%, rgba(93, 58, 14, .22), transparent 52%), linear-gradient(145deg, rgba(5, 8, 9, .94), rgba(9, 12, 13, .97)); box-shadow: 0 15px 45px rgba(0, 0, 0, .48), inset 0 0 0 4px rgba(192, 137, 35, .07); }
.fantasy-home-content .fantasy-home-rankings:before { content: ''; position: absolute; top: 0; left: 50%; width: min(360px, 64%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, #f0ca68, transparent); }
.fantasy-home-content .fantasy-rankings-heading { margin: 0 0 22px; text-align: center; }
.fantasy-home-content .fantasy-rankings-kicker { color: #d1a843; font: 600 9px/1.4 Arial, sans-serif; letter-spacing: 3px; }
.fantasy-home-content .fantasy-rankings-heading h2 { margin: 5px 0 6px; color: #f4d581; font: 600 clamp(25px, 3vw, 34px)/1.15 Georgia, serif; letter-spacing: .5px; text-shadow: 0 2px 14px rgba(223, 164, 46, .18); }
.fantasy-home-content .fantasy-rankings-heading p { margin: 0; color: #bdb298; font: 12px/1.5 Arial, sans-serif; }
.fantasy-home-content .fantasy-ranking-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fantasy-home-content .fantasy-ranking-card { min-width: 0; overflow: hidden; border: 1px solid rgba(205, 160, 75, .35); background: linear-gradient(160deg, rgba(15, 17, 17, .97), rgba(4, 7, 8, .98)); box-shadow: inset 0 1px rgba(255, 231, 177, .035); }
.fantasy-home-content .fantasy-ranking-card-head { display: flex; height: auto; min-height: 76px; align-items: center; gap: 12px; padding: 13px 15px; border-bottom: 1px solid rgba(201, 153, 63, .27); background: linear-gradient(100deg, rgba(106, 70, 21, .22), rgba(8, 10, 11, .15) 70%); }
.fantasy-home-content .fantasy-ranking-icon { display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; border: 1px solid rgba(226, 184, 83, .48); border-radius: 50%; color: #f1ca67; background: radial-gradient(circle at 40% 30%, #51401f, #11100c 72%); box-shadow: 0 0 16px rgba(198, 148, 57, .12); font: 23px/1 Georgia, serif; }
.fantasy-home-content .fantasy-arena-icon { color: #b9c9d3; border-color: rgba(140, 172, 189, .48); background: radial-gradient(circle at 40% 30%, #283b43, #101619 72%); }
.fantasy-home-content .fantasy-ranking-card-head > span:nth-child(2) { min-width: 0; flex: 1; }
.fantasy-home-content .fantasy-ranking-card-head h3 { margin: 0 0 4px; color: #f0d28d; font: 600 17px/1.2 Georgia, serif; }
.fantasy-home-content .fantasy-ranking-card-head small { color: #a99c7d; font: 10px/1.4 Arial, sans-serif; letter-spacing: .3px; }
.fantasy-home-content .fantasy-home-demo-badge { margin: 0 0 0 auto; white-space: nowrap; font-size: 8px; }
.fantasy-home-content .fantasy-ranking-live { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: #8ebf9a; font: 700 8px/1 Arial, sans-serif; letter-spacing: .7px; white-space: nowrap; }
.fantasy-home-content .fantasy-ranking-live i { width: 6px; height: 6px; border-radius: 50%; background: #62c482; box-shadow: 0 0 8px rgba(98, 196, 130, .65); }
.fantasy-home-content .fantasy-ranking-list { display: grid; gap: 5px; margin: 0; padding: 10px; list-style: none; }
.fantasy-home-content .fantasy-ranking-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; min-height: 45px; align-items: center; gap: 9px; padding: 5px 9px; border: 1px solid transparent; border-bottom-color: rgba(207, 181, 130, .11); color: #e6e0d3; background: linear-gradient(90deg, rgba(255, 255, 255, .025), transparent 72%); transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.fantasy-home-content .fantasy-ranking-row:hover { transform: translateX(2px); border-color: rgba(213, 170, 75, .26); background: linear-gradient(90deg, rgba(154, 108, 31, .15), rgba(255, 255, 255, .025)); }
.fantasy-home-content .fantasy-rank-number { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(201, 153, 63, .25); border-radius: 50%; color: #c3ad76; background: rgba(5, 7, 8, .8); font: 700 9px/1 Arial, sans-serif; }
.fantasy-home-content .fantasy-ranking-row.rank-1 .fantasy-rank-number { border-color: #f2cf71; color: #211704; background: linear-gradient(145deg, #fff0b0, #c78b29); box-shadow: 0 0 12px rgba(226, 178, 67, .24); }
.fantasy-home-content .fantasy-ranking-row.rank-2 .fantasy-rank-number { border-color: #aab8bd; color: #101518; background: linear-gradient(145deg, #e9f0ef, #87979b); }
.fantasy-home-content .fantasy-ranking-row.rank-3 .fantasy-rank-number { border-color: #b77d52; color: #1d1009; background: linear-gradient(145deg, #e1ae7f, #87502e); }
.fantasy-home-content .fantasy-rank-player { display: flex; min-width: 0; align-items: center; gap: 8px; overflow: hidden; color: #eee7d7; font: 600 12px/1.3 Arial, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.fantasy-home-content .fantasy-rank-player i { display: grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center; border: 1px solid rgba(208, 168, 84, .3); border-radius: 3px; color: #e6c575; background: linear-gradient(145deg, rgba(97, 69, 28, .55), rgba(17, 17, 14, .9)); font: normal 600 11px/1 Georgia, serif; }
.fantasy-home-content .fantasy-rank-score { padding: 6px 8px; border: 1px solid rgba(197, 150, 62, .22); border-radius: 3px; color: #f1d58c; background: rgba(126, 86, 22, .12); font: 700 11px/1 Arial, sans-serif; white-space: nowrap; }
.fantasy-home-content .fantasy-rank-score small { margin-left: 2px; color: #aa9971; font: 700 8px/1 Arial, sans-serif; letter-spacing: .4px; }
.fantasy-home-content .fantasy-ranking-empty { padding: 17px 12px; border: 1px dashed rgba(205, 160, 75, .24); color: #bdb298; font: 12px/1.5 Arial, sans-serif; text-align: center; }

@media (max-width: 780px) {
    .fantasy-home-hero { min-height: min(720px, calc(100svh - 104px)); padding: 60px 16px 92px; }
    .fantasy-home-page { background-position: center 104px; }
    .fantasy-home-status { gap: 7px; padding: 0 11px; font-size: 9px; letter-spacing: .7px; }
    .fantasy-home-content { width: min(100% - 26px, 620px); margin-top: -27px; }
    .fantasy-home-content .news-panel { grid-template-columns: 1fr; }
    .fantasy-home-content .events-block { min-height: 0; }
    .fantasy-home-content .news-content-top { max-height: 255px; }
    .fantasy-home-content .block-widget { gap: 12px; padding: 12px; }
    .fantasy-home-content .widget-fon, .fantasy-home-content .widget-fon-guilds { padding: 14px 12px; }
    .fantasy-home-content .video-card { flex-basis: calc((100% - 14px) / 2); max-width: calc((100% - 14px) / 2); }
    .fantasy-home-content .video-section-static .video-carousel { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
    .fantasy-home-content .fantasy-home-rankings { margin-top: 20px; padding: 18px 14px; }
    .fantasy-home-content .fantasy-ranking-grid { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 520px) {
    .fantasy-home-hero { min-height: 650px; padding: 44px 13px 80px; }
    .fantasy-home-crown { font-size: 44px; margin-bottom: -11px; }
    .fantasy-home-eyebrow { font-size: 9px; letter-spacing: 3px; }
    .fantasy-home-hero h1 { font-size: 72px; letter-spacing: -3px; }
    .fantasy-home-edition { font-size: 14px; letter-spacing: 2px; }
    .fantasy-home-caption { font-size: 9px; letter-spacing: 3px; }
    .fantasy-home-tagline { margin: 19px 0 21px; font-size: 15px; letter-spacing: 1.5px; }
    .fantasy-home-actions { gap: 9px; }
    .fantasy-home-actions a { width: min(100%, 260px); min-height: 47px; font-size: 11px; }
    .fantasy-home-status { display: grid; grid-template-columns: 8px auto auto; gap: 7px; min-height: 0; margin-top: 20px; padding: 11px 13px; font-size: 9px; }
    .fantasy-home-status i { display: none; }
    .fantasy-home-status b { text-align: right; }
    .fantasy-home-content { width: calc(100% - 24px); }
    .fantasy-home-content .video-section { padding: 15px 11px 13px; }
    .fantasy-home-content .section-title { font-size: 17px; }
    .fantasy-home-content .section-title span { font-size: 9px; }
    .fantasy-home-content .video-card { flex-basis: 100%; max-width: 100%; }
    .fantasy-home-content .video-card video { height: 190px; }
    .fantasy-home-content .video-section-static .video-carousel { grid-template-columns: 1fr; }
    .fantasy-home-content .swiper-news, .fantasy-home-content .swiper-news .swiper-slide { height: 330px; }
    .fantasy-home-content .slider-title { left: 17px; max-width: calc(100% - 34px); font-size: 22px; }
    .fantasy-home-content .swiper-slide-active .slider-title { top: 22px; }
    .fantasy-home-content .slider-info { left: 17px; bottom: -100px; width: calc(100% - 34px); padding-right: 0; font-size: 12px; }
    .fantasy-home-content .swiper-slide-active .slider-info { bottom: 22px; }
    .fantasy-home-content .button-more2 { right: 14px; bottom: 15px; min-width: 75px; padding: 9px 10px; font-size: 10px; }
    .fantasy-home-content .newsPagination { left: 17px; bottom: 13px; }
    .fantasy-home-content .fast-links { grid-template-columns: 1fr; gap: 9px; margin: 16px 0; }
    .fantasy-home-content .fast-links > a { height: 100px; padding: 15px 18px; }
    .fantasy-home-content .fast-links > a > span { font-size: 19px; }
    .fantasy-home-content .block-widget { grid-template-columns: 1fr; gap: 10px; padding: 10px; }
    .fantasy-home-content .widget-fon, .fantasy-home-content .widget-fon-guilds { padding: 13px 11px; }
    .fantasy-home-content .block-widget-title { font-size: 16px; }
    .fantasy-home-content .fantasy-home-rankings { padding: 16px 9px; }
    .fantasy-home-content .fantasy-rankings-heading { margin-bottom: 15px; }
    .fantasy-home-content .fantasy-ranking-card-head { gap: 9px; padding: 11px 9px; }
    .fantasy-home-content .fantasy-ranking-card-head h3 { font-size: 15px; }
    .fantasy-home-content .fantasy-ranking-card-head small { font-size: 9px; }
    .fantasy-home-content .fantasy-home-demo-badge { padding: 4px 5px; letter-spacing: .4px; }
    .fantasy-home-content .fantasy-ranking-list { padding: 7px; }
    .fantasy-home-content .fantasy-ranking-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 6px; padding: 5px 6px; }
    .fantasy-home-content .fantasy-rank-score { padding: 6px; font-size: 10px; }
}

/* Shared xNight shell for the remaining public information pages. */
.fantasy-content-page { --fantasy-page-art: url('../images/fantasy-download-bg.png'); background-position: center 68px; }
.fantasy-content-page .content { width: min(1240px, calc(100% - 36px)); max-width: none; margin: 0 auto; padding: 34px 0 66px; }
.fantasy-content-page .block-widget-2 { display: grid; grid-template-columns: minmax(220px, 270px) minmax(0, 1fr); gap: 18px; width: 100%; margin: 0; align-items: start; }
.fantasy-content-page .block-widget-1 { min-width: 0; width: auto; height: auto; min-height: 0; }
.fantasy-content-page .block-widget-1 { grid-column: 2; grid-row: 1; }
.fantasy-content-page .page-content { grid-column: 1; grid-row: 1; }
.fantasy-content-page .block-players-2:before { display: none; }
.fantasy-content-page .widget-fon-discussions { position: relative; z-index: 1; width: auto; height: auto; min-height: 0; padding: 20px; border: 1px solid rgba(198, 148, 57, .64); background: linear-gradient(145deg, rgba(5, 8, 9, .94), rgba(9, 12, 13, .95)); box-shadow: 0 12px 36px rgba(0, 0, 0, .36), inset 0 0 0 3px rgba(192, 137, 35, .07); }
.fantasy-content-page .widget-fon-discussions:before { display: none; }
.fantasy-content-page .widget-fon-discussions .block-widget-title { padding: 0 0 12px; border-bottom: 1px solid rgba(201, 153, 63, .35); color: #f0ca68; font: 600 17px/1.25 Georgia, serif; }
.fantasy-content-page .widget-fon-discussions .timers { height: auto; min-height: 0; max-height: none; overflow: visible; }
.fantasy-content-page #events div { padding: 12px 0; border-color: rgba(207, 181, 130, .16); color: #e9e1d0; }
.fantasy-content-page #events div span a { color: #f0deb0; font: 600 12px/1.4 Arial, sans-serif; }
.fantasy-content-page #events div small { display: block; margin-top: 4px; color: #ae9f7a; font: 10px/1.4 Arial, sans-serif; }
.fantasy-content-page .page-content { position: relative; z-index: 1; width: auto; min-width: 0; min-height: 0; margin: 0; padding: 24px; border: 1px solid rgba(198, 148, 57, .72); color: #eee7d8; background: linear-gradient(145deg, rgba(5, 8, 9, .95), rgba(9, 12, 13, .96)); box-shadow: 0 16px 44px rgba(0, 0, 0, .45), inset 0 0 0 4px rgba(192, 137, 35, .08); }
.fantasy-content-page .page-content:before, .fantasy-content-page .page-content:after { display: none; }
.fantasy-content-page .page-top { padding: 3px 0 18px; border-bottom: 1px solid rgba(201, 153, 63, .35); color: #f2ca68; font: 600 26px/1.2 Georgia, serif; letter-spacing: 1px; }
.fantasy-content-page .box-style1 { margin: 18px 0 0 !important; padding: 20px; border: 1px solid rgba(205, 160, 75, .32); background: rgba(3, 6, 7, .48); }
.fantasy-content-page .box-style1 .title { padding: 0 0 14px; color: #f0ca68; font: 600 20px/1.3 Georgia, serif; text-shadow: none; }
.fantasy-content-page .box-style1 .entry { padding: 0; color: #e7dfcf; background: none; font: 14px/1.75 Arial, sans-serif; }
.fantasy-content-page .box-style1 .entry strong, .fantasy-content-page .box-style1 .entry span { color: inherit !important; }
.fantasy-content-page .box-style1 .entry a { color: #f2ca68; }
.fantasy-content-page .Server-container { margin: 20px 0 0; padding: 20px; border: 1px solid rgba(205, 160, 75, .32); border-radius: 0; color: #e7dfcf; background: rgba(3, 6, 7, .48); box-shadow: none; animation: none; }
.fantasy-content-page .Server-content h3 { margin: 0 0 16px; padding-left: 12px; border-color: #d6a844; color: #f0ca68; font: 600 18px/1.25 Georgia, serif; }
.fantasy-content-page .guide-section { margin-bottom: 38px; }
.fantasy-content-page .tables-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.fantasy-content-page .guide-table, .fantasy-content-page .faq-item { border: 1px solid rgba(205, 160, 75, .31); border-radius: 3px; background: rgba(5, 8, 9, .8); box-shadow: none; }
.fantasy-content-page .guide-table:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, .24); }
.fantasy-content-page .guide-table h4, .fantasy-content-page .faq-question { color: #eed18a; background: rgba(130, 89, 23, .17); }
.fantasy-content-page .table-item { border: 1px solid rgba(205, 160, 75, .22); border-radius: 2px; background: rgba(11, 14, 14, .9); }
.fantasy-content-page .table-item a, .fantasy-content-page .faq-answer { color: #e6dfd1; }
.fantasy-content-page .faq-section { margin-top: 35px; }
.fantasy-content-page .faq-item.active { border-color: #c28d34; box-shadow: 0 0 18px rgba(183, 128, 35, .14); }
.fantasy-content-page .faq-question:hover { background: rgba(164, 117, 35, .24); }
.fantasy-content-page .faq-answer { background: rgba(3, 6, 7, .65); }
.fantasy-content-page .event-container { max-width: none; margin: 0; color: #eee7d8; font-family: Arial, sans-serif; }
.fantasy-content-page .event-container .page-top { margin-bottom: 18px; }
.fantasy-content-page .day-filter { justify-content: flex-start; margin: 16px 0; color: #e6cf95; font-size: 13px; }
.fantasy-content-page .day-filter select { border: 1px solid #80602a; border-radius: 3px; color: #f3ead7; background: #0b1011; }
.fantasy-content-page .day-filter select:hover { border-color: #d8ab4d !important; color: #ffe2a1 !important; }
.fantasy-content-page .event-card { margin: 0 0 12px; padding: 18px; border: 1px solid rgba(205, 160, 75, .35); border-radius: 3px; color: #e8e1d2; background: linear-gradient(145deg, rgba(13, 16, 16, .92), rgba(5, 8, 9, .94)); box-shadow: none; }
.fantasy-content-page .event-card:hover { transform: translateY(-2px); border-color: rgba(219, 174, 79, .8); box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.fantasy-content-page .event-title { color: #f0ca68; font: 600 18px/1.3 Georgia, serif; }
.fantasy-content-page .event-time, .fantasy-content-page .event-day { display: inline-block; padding: 5px 9px; border: 1px solid rgba(205, 160, 75, .3); border-radius: 2px; color: #efd58f; background: rgba(124, 83, 16, .2); font-size: 11px; }
.fantasy-content-page .event-day { margin: 0 0 7px; color: #c6b995; }
.fantasy-content-page .event-body { color: #dfd8c8; font-size: 13px; }
.fantasy-content-page .event-rewards span { color: #f0d68e; }
.fantasy-content-page .fantasy-content-empty, .fantasy-content-page .fantasy-content-preview-note { margin: 14px 0; padding: 13px 15px; border: 1px solid rgba(205, 160, 75, .28); color: #d8c99f; background: rgba(4, 6, 7, .65); font: 12px/1.6 Arial, sans-serif; }
.fantasy-content-page .fantasy-content-preview-note { color: #eed595; }
.fantasy-content-page .newsContent { gap: 12px; margin: 0; padding: 14px 10px; border-bottom: 1px solid rgba(207, 181, 130, .18); }
.fantasy-content-page .newsContent_img img { width: 31px; height: 31px; padding: 0; }
.fantasy-content-page .newsContent_info { width: auto; min-width: 0; }
.fantasy-content-page .newsContent_info-link { color: #f0dfba; font-size: 14px; white-space: normal; }
.fantasy-content-page .newsContent_info-link span { color: #dfb94e; }
.fantasy-content-page .newsContent_info-text { color: #a99b7c; font-size: 11px; }
.fantasy-content-page .server-news-excerpt { margin: 6px 0 0; color: #c9c1b0; font: 12px/1.55 Arial, sans-serif; }
.fantasy-content-page .video-box { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.fantasy-content-page .video-thumb { border: 1px solid rgba(205, 160, 75, .4); border-radius: 3px; box-shadow: 0 8px 22px rgba(0, 0, 0, .32); }
.fantasy-content-page .video-thumb:hover { border-color: #d5a844; box-shadow: 0 10px 28px rgba(0, 0, 0, .4); }
.fantasy-content-page .video-thumb .play-icon, .fantasy-content-page .video-info .play-icon { color: #f3c95d; text-shadow: 0 0 16px rgba(244, 190, 57, .48); }
.fantasy-content-page .video-layer { background: rgba(0, 0, 0, .92); }
.fantasy-content-page #lostpassword_form table { width: 100%; border-collapse: collapse; color: #e8dfcf; }
.fantasy-content-page #lostpassword_form td { padding: 10px; border-bottom: 1px solid rgba(205, 160, 75, .2); }
.fantasy-content-page #lostpassword_form input[type="text"] { width: 100%; max-width: 380px; height: 40px; padding: 0 12px; border: 1px solid #46423a; color: #f3ead7; background: #0b1011; }
.fantasy-content-page .pagination-isolation .page-link { border-color: #836127; color: #f0d488; background: #0c1011; }
.fantasy-content-page .pagination-isolation .page-item.active .page-link { border-color: #d6a844; color: #1b1408; background: #dcae48; }
.fantasy-home-demo-badge { display: inline-block; margin: -3px 0 9px; padding: 4px 7px; border: 1px solid rgba(217, 173, 77, .45); color: #e1c77d; background: rgba(151, 101, 21, .13); font: 9px/1.2 Arial, sans-serif; letter-spacing: .9px; }
.fantasy-download-unavailable-note { grid-column: 2 / -1; margin: -5px 10px 10px; color: #b7a982; font: 11px/1.4 Arial, sans-serif; }
.fantasy-download-button.is-unavailable { display: flex; min-height: 44px; align-items: center; justify-content: center; color: #c7b990; font-size: 10px; letter-spacing: .8px; white-space: normal; text-align: center; }

@media (max-width: 780px) {
    .fantasy-content-page .content { width: min(100% - 26px, 700px); padding-top: 23px; }
    .fantasy-content-page .block-widget-2 { grid-template-columns: 1fr; gap: 13px; }
    .fantasy-content-page .block-widget-1 { grid-column: 1; grid-row: auto; order: 2; }
    .fantasy-content-page .page-content { grid-column: 1; grid-row: auto; order: 1; padding: 18px; }
    .fantasy-content-page .Server-container { padding: 14px; }
}
@media (max-width: 520px) {
    .fantasy-content-page .content { width: calc(100% - 20px); padding: 16px 0 42px; }
    .fantasy-content-page .page-content { padding: 13px; }
    .fantasy-content-page .page-top { font-size: 22px; }
    .fantasy-content-page .box-style1 { padding: 14px; }
    .fantasy-content-page .box-style1 .title { padding: 0 0 10px; font-size: 18px; }
    .fantasy-content-page .Server-content h3 { font-size: 15px; }
    .fantasy-content-page .event-card { padding: 13px; }
    .fantasy-content-page .event-header { align-items: flex-start; flex-direction: column; gap: 8px; }
    .fantasy-content-page #lostpassword_form, .fantasy-content-page #lostpassword_form tbody, .fantasy-content-page #lostpassword_form tr, .fantasy-content-page #lostpassword_form td { display: block; width: 100%; }
    .fantasy-content-page .fantasy-download-unavailable-note { grid-column: 1 / -1; margin: 0 7px 8px; }
}

/* Refined xNight navigation: compact wordmark, quiet gold details, and a clean mobile rail. */
.fantasy-portal-page .topPanel {
    background: linear-gradient(180deg, rgba(13, 16, 18, .98), rgba(7, 9, 10, .98));
    border-bottom: 1px solid rgba(211, 173, 98, .45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .44), inset 0 1px rgba(255, 231, 177, .05);
}
.fantasy-portal-page .topPanel:before { background: linear-gradient(90deg, transparent, rgba(217, 169, 68, .72) 24%, rgba(236, 205, 135, .4) 50%, rgba(217, 169, 68, .72) 76%, transparent); }
.fantasy-portal-page .topPanel:after { display: none; }
.fantasy-portal-page .topPanel-wrapper { min-height: 74px; padding: 0 clamp(14px, 2.2vw, 34px); }
.fantasy-portal-page .logo-mini { width: 160px; min-width: 160px; height: 74px; margin-right: 20px; align-items: flex-start; border: 0; }
.fantasy-portal-page .logo-mini:before { color: #f4d68e; font-size: 27px; letter-spacing: -1.5px; text-shadow: 0 1px #745321, 0 0 18px rgba(240, 179, 61, .2); }
.fantasy-portal-page .logo-mini:after { color: #b7a77e; font-size: 7px; letter-spacing: 1.15px; }
.fantasy-portal-page .menu { min-height: 44px; padding: 4px; border: 1px solid rgba(226, 203, 154, .11); border-radius: 999px; background: rgba(255, 255, 255, .035); }
.fantasy-portal-page .menu li { flex: 0 0 auto; }
.fantasy-portal-page .menu a { height: 36px; padding: 0 11px; border-radius: 999px; color: #ddd7c9; font-size: 10px; font-weight: 600; letter-spacing: .35px; }
.fantasy-portal-page .menu a:before { margin-right: 6px; color: #d8b96d; font-size: 12px; }
.fantasy-portal-page .menu a:hover,
.fantasy-portal-page .menu .fantasy-nav-active a { color: #ffe5a5; background: linear-gradient(180deg, rgba(194, 145, 58, .26), rgba(103, 73, 25, .18)); box-shadow: inset 0 0 0 1px rgba(229, 189, 106, .33), 0 2px 9px rgba(0, 0, 0, .18); }
.fantasy-portal-page .menu a:focus-visible,
.fantasy-portal-page .topPanel-wrapper_right a:focus-visible { outline: 2px solid #f2d48b; outline-offset: 2px; }
.fantasy-portal-page .topPanel-wrapper_right { margin-left: 16px; }
.fantasy-portal-page .topPanel-wrapper_right .button,
.fantasy-portal-page .topPanel-wrapper_right .main-item { width: 118px; height: 40px; border-color: rgba(218, 178, 93, .8); border-radius: 999px; color: #f5e7c3 !important; background: linear-gradient(180deg, #252525, #111314); box-shadow: inset 0 1px rgba(255, 236, 187, .1), 0 4px 12px rgba(0, 0, 0, .25); font-size: 11px; letter-spacing: 1px; }
.fantasy-portal-page .topPanel-wrapper_right .button:hover,
.fantasy-portal-page .topPanel-wrapper_right .main-item:hover { border-color: #f2d48b; color: #fff3d0 !important; background: linear-gradient(180deg, #382b16, #16130d); box-shadow: 0 0 16px rgba(219, 173, 66, .15); }

@media (max-width: 1100px) and (min-width: 781px) {
    .fantasy-portal-page .topPanel-wrapper { padding: 0 12px; }
    .fantasy-portal-page .logo-mini { width: 126px; min-width: 126px; margin-right: 8px; }
    .fantasy-portal-page .logo-mini:before { font-size: 23px; }
    .fantasy-portal-page .menu a { padding: 0 7px; font-size: 9px; }
    .fantasy-portal-page .menu a:before { margin-right: 4px; font-size: 11px; }
    .fantasy-portal-page .topPanel-wrapper_right { margin-left: 8px; }
    .fantasy-portal-page .topPanel-wrapper_right .button, .fantasy-portal-page .topPanel-wrapper_right .main-item { width: 88px; }
}
@media (max-width: 780px) {
    .fantasy-portal-page .topPanel-wrapper { min-height: 103px; padding: 0 14px; }
    .fantasy-portal-page .logo-mini { width: 150px; min-width: 150px; height: 54px; margin: 0; justify-content: center; }
    .fantasy-portal-page .logo-mini:before { font-size: 25px; }
    .fantasy-portal-page .logo-mini:after { font-size: 6px; }
    .fantasy-portal-page .topPanel-wrapper_right { height: 54px; margin: 0; }
    .fantasy-portal-page .topPanel-wrapper_right .button, .fantasy-portal-page .topPanel-wrapper_right .main-item { width: 98px; height: 34px; font-size: 10px; }
    .fantasy-portal-page .menu { height: 40px; min-height: 40px; margin: 0 0 5px; padding: 2px; justify-content: flex-start; overflow-x: auto; overflow-y: hidden; border-radius: 999px; scrollbar-width: none; }
    .fantasy-portal-page .menu::-webkit-scrollbar { display: none; }
    .fantasy-portal-page .menu a { height: 34px; padding: 0 8px; font-size: 10px; }
}
@media (max-width: 520px) {
    .fantasy-portal-page .topPanel-wrapper { min-height: 99px; padding: 0 11px; }
    .fantasy-portal-page .logo-mini { width: 140px; min-width: 140px; }
    .fantasy-portal-page .logo-mini:before { font-size: 23px; }
    .fantasy-portal-page .menu { margin-bottom: 4px; }
    .fantasy-portal-page .menu a { padding: 0 8px; font-size: 9px; }
    .fantasy-portal-page .menu a:before { margin-right: 5px; font-size: 11px; }
}
