/* Shared Magic Tiles identity. The homepage keeps its dedicated layout and game frame. */
body.mt3-site { background: #0a0d1b !important; color: #e8e7f2 !important; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important; }
body.mt3-site .bdcn { background: transparent !important; }
body.mt3-site:not(.home) #header_horizontal { background: #0d1024 !important; border-bottom: 1px solid #ffffff1b; box-shadow: none !important; }
body.mt3-site:not(.home) #header_horizontal > .cont { width: 100%; max-width: 1480px; min-height: 76px; padding: 0 24px; display: flex; align-items: center; gap: 26px; }
body.mt3-site:not(.home) #header_horizontal .logo { flex: none; float: none !important; margin: 0 !important; }
body.mt3-site:not(.home) #header_horizontal .logo img { max-height: 46px; width: auto; object-fit: contain; }
body.mt3-site:not(.home) #header_horizontal nav.menu { flex: 1; min-width: 0; float: none !important; margin: 0 !important; }
body.mt3-site:not(.home) #header_horizontal .nav_menu { display: flex; align-items: center; justify-content: flex-end; gap: 20px; flex-wrap: wrap; }
body.mt3-site:not(.home) #header_horizontal .nav_menu > li { float: none !important; margin: 0 !important; }
body.mt3-site:not(.home) #header_horizontal .nav_menu > li > a { background: none !important; color: #cbc9dc !important; font: 750 13px/1.3 Inter, ui-sans-serif, system-ui, sans-serif !important; text-shadow: none !important; padding: 12px 0 !important; }
body.mt3-site:not(.home) #header_horizontal .nav_menu > li > a:hover,
body.mt3-site:not(.home) #header_horizontal .nav_menu > li.current-menu-item > a { color: #fff !important; }
body.mt3-site:not(.home) #header_horizontal .nav_menu > li:nth-last-child(-n+3) { display: none; }
body.mt3-site:not(.home) #header_horizontal .fa-search { color: #d9d3f7 !important; }
body.mt3-site:not(.home) .hdcn-5 { display: none !important; }

/* Static pages are a readable continuation of the homepage, not a separate purple skin. */
body.mt3-site.page:not(.home) .cntcls.sidebar_right { width: min(1420px, calc(100% - 40px)) !important; max-width: 1420px !important; margin: 34px auto 80px !important; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
body.mt3-site.page:not(.home) .main-cn { width: auto !important; max-width: none !important; min-width: 0; float: none !important; margin: 0 !important; }
body.mt3-site.page:not(.home) .navtop { color: #aaa8c6 !important; font-size: 13px !important; margin: 0 0 22px !important; }
body.mt3-site.page:not(.home) .navtop a { color: #87e7e6 !important; }
body.mt3-site.page:not(.home) .post-sngl { padding: clamp(24px, 3vw, 44px) !important; border: 1px solid #ffffff1c; border-radius: 22px; background: linear-gradient(145deg, #191d38, #11162b) !important; box-shadow: 0 22px 70px #0205143d !important; }
body.mt3-site.page:not(.home) .post-sngl > header { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 0 24px !important; }
body.mt3-site.page:not(.home) .post-sngl h1 { color: #f7f4ff !important; background: none !important; -webkit-text-fill-color: #f7f4ff !important; text-shadow: none !important; filter: none !important; font: 850 clamp(32px, 3vw, 46px)/1.1 Inter, ui-sans-serif, system-ui, sans-serif !important; letter-spacing: -.045em !important; text-transform: none !important; }
body.mt3-site.page:not(.home) .txcn { color: #d9d8e9 !important; }
body.mt3-site.page:not(.home) .txcn :is(p, li) { color: #d9d8e9 !important; font: 400 17px/1.75 Inter, ui-sans-serif, system-ui, sans-serif !important; text-shadow: none !important; }
body.mt3-site.page:not(.home) .txcn :is(h2, h3, h4) { color: #f0b3e9 !important; background: none !important; -webkit-text-fill-color: #f0b3e9 !important; border: 0 !important; text-shadow: none !important; font-family: Inter, ui-sans-serif, system-ui, sans-serif !important; font-weight: 800 !important; text-transform: none !important; line-height: 1.3 !important; }
body.mt3-site.page:not(.home) .txcn h2 { font-size: 26px !important; margin: 32px 0 12px !important; }
body.mt3-site.page:not(.home) .txcn h3 { font-size: 21px !important; margin: 26px 0 10px !important; }
body.mt3-site.page:not(.home) .txcn a { color: #8ce7e7 !important; }
body.mt3-site.page:not(.home) .sdbr-cn { width: auto !important; max-width: none !important; min-width: 0; float: none !important; margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.mt3-site.page:not(.home) .sdbr-cn .blk-cn { padding: 24px !important; border: 1px solid #ffffff1c !important; border-radius: 20px; background: #181b34 !important; box-shadow: none !important; }
body.mt3-site.page:not(.home) .sdbr-cn .titl { color: #f7f4ff !important; background: none !important; border: 0 !important; font: 800 16px/1.4 Inter, ui-sans-serif, system-ui, sans-serif !important; text-transform: none !important; }
body.mt3-site.page:not(.home) .sdbr-cn a { color: #91e6e8 !important; font: 600 14px/1.65 Inter, ui-sans-serif, system-ui, sans-serif !important; }
body.mt3-site.page:not(.home) .sdbr-cn a:hover { color: #fff !important; }

body.mt3-site .ftcn { background: #090c19 !important; border-top: 1px solid #ffffff20; box-shadow: none !important; }
body.mt3-site .ftcn .ftcn-2 { background: transparent !important; }
body.mt3-site .ftcn .cont { max-width: 1420px !important; padding: 24px !important; color: #aaaac3 !important; font: 400 14px/1.7 Inter, ui-sans-serif, system-ui, sans-serif !important; }
body.mt3-site .ftcn a { color: #a4e6e8 !important; text-shadow: none !important; }
body.mt3-site .ftcn a:hover { color: #fff !important; }
@media (max-width: 980px) {
  body.mt3-site:not(.home) #header_horizontal > .cont { min-height: 66px; padding: 0 18px; }
  body.mt3-site:not(.home) #header_horizontal .nav_menu { display: block; }
  body.mt3-site:not(.home) #header_horizontal .nav_menu > li { display: block; }
  body.mt3-site.page:not(.home) .cntcls.sidebar_right { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body.mt3-site.page:not(.home) .cntcls.sidebar_right { width: calc(100% - 24px) !important; margin: 20px auto 54px !important; }
  body.mt3-site.page:not(.home) .post-sngl { padding: 22px !important; }
  body.mt3-site.page:not(.home) .txcn :is(p, li) { font-size: 16px !important; }
}
