/* Shared public-page surfaces. Kept separate from catalogue and purchase styles. */
html[data-site-template="pandora"] body,
html[data-site-template="pandora"] :is(button,input,select,textarea,.menu-item,.profile-name,.profile-balance) { font-family:Montserrat,Arial,sans-serif; }
html[data-site-template="pandora"] .container { min-height:100dvh; }
html[data-site-template="pandora"] .navigation { display:block; }
html[data-site-template="pandora"] .sidebar-account { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:16px; padding-top:14px; border-top:1px solid var(--pd-line); }
html[data-site-template="pandora"] .sidebar-account .profile-section { grid-column:1 / -1; grid-row:1; min-width:0; }
html[data-site-template="pandora"] .sidebar-account .profile-link { justify-content:flex-start; text-align:left; padding:10px; min-height:58px; }
html[data-site-template="pandora"] .sidebar-account .profile-avatar { order:-1; flex-shrink:0; }
html[data-site-template="pandora"] .sidebar-account .profile-info { flex:1; text-align:left; }
html[data-site-template="pandora"] .sidebar-account .admin-link { display:block; width:auto; margin:0; }
html[data-site-template="pandora"] .sidebar-account .admin-link-button { display:flex; align-items:center; justify-content:center; width:100%; height:36px; margin:0; padding:0; }
html[data-site-template="pandora"] .sidebar-account .steam-login-link { grid-column:1 / -1; }
html[data-site-template="pandora"] .sidebar-account .language-switcher__menu { top:auto; bottom:calc(100% + 8px); left:0; right:auto; }
html[data-site-template="pandora"] .navigation .menu-item { transform:none; text-shadow:none; }
html[data-site-template="pandora"] .navigation .logo img:hover { transform:none; }

/* Monitoring is a quiet list below the image, with one compact row per server. */
html[data-site-template="pandora"] .server-monitoring { display:flex; flex-direction:column; gap:0; flex:none; width:100%; max-width:none; margin:0 0 18px; padding:0; border:1px solid var(--pd-line); border-radius:6px; background:var(--pd-panel); overflow:hidden; }
html[data-site-template="pandora"] .server-monitoring.on-banner { position:static; inset:auto; transform:none; }
html[data-site-template="pandora"] .server-monitoring .server-status-box { display:grid; grid-template-columns:minmax(0,1fr) 28px; flex:none; width:100%; min-width:0; min-height:48px; padding:9px 12px; gap:10px; border:0; border-top:1px solid var(--pd-line); border-radius:0; background:none; backdrop-filter:none; box-shadow:none; transform:none; }
html[data-site-template="pandora"] .server-monitoring .server-status-box:first-child { border-top:0; }
html[data-site-template="pandora"] .server-monitoring .server-total-box { display:flex; flex-direction:row; align-items:center; justify-content:space-between; min-height:32px; padding:7px 12px; background:var(--pd-panel-raised); cursor:default; }
html[data-site-template="pandora"] .total-online-label { font-size:9px; line-height:1.4; letter-spacing:.06em; color:var(--pd-muted); }
html[data-site-template="pandora"] .total-online-count { font-size:13px; line-height:1; text-shadow:none; }
html[data-site-template="pandora"] .server-info { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:2px 16px; }
html[data-site-template="pandora"] .server-info-name { font-size:11px; line-height:1.5; gap:7px; }
html[data-site-template="pandora"] .server-status-box .server-info-name::before { width:5px; height:5px; flex-basis:5px; box-shadow:none; animation:none; }
html[data-site-template="pandora"] .server-info-online { grid-column:2; grid-row:1 / span 2; margin:0; font-size:10px; line-height:1.5; color:var(--pd-muted); }
html[data-site-template="pandora"] .server-online { font-weight:600; font-variant-numeric:tabular-nums; }
html[data-site-template="pandora"] .server-info-map-time { display:block; grid-column:1; margin:0 0 0 12px; font-size:9px; line-height:1.4; font-style:normal; color:var(--pd-muted); }
html[data-site-template="pandora"] .server-play { width:28px; height:28px; border:1px solid var(--pd-line); border-radius:4px; background:var(--pd-panel-raised); backdrop-filter:none; box-shadow:none; transform:none; }
html[data-site-template="pandora"] .server-play:hover { background:var(--pd-accent-soft); }
html[data-site-template="pandora"] .server-play svg { width:11px; height:11px; }
html[data-site-template="pandora"] .server-load-track { display:none; }
html[data-site-template="pandora"] .banner-gallery-dots { top:auto; bottom:10px; left:auto; right:12px; transform:none; }
html[data-site-template="pandora"] .server-monitoring-standalone { margin:0; }
html[data-site-template="pandora"] .banner { height:180px; min-height:0; margin-bottom:12px; }

/* News, guides, articles and legal pages share typography and spacing. */
html[data-site-template="pandora"] :is(.bg-aura,.nh-underline) { display:none; }
html[data-site-template="pandora"] :is(.news-main,.guides-main) { padding:8px 0 28px; }
html[data-site-template="pandora"] :is(.news-head,.news-hero) { max-width:none; text-align:left; margin:0 0 20px; padding:20px; border:1px solid var(--pd-line); background:var(--pd-panel); border-radius:var(--pd-radius); box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
html[data-site-template="pandora"] :is(.news-head,.news-hero)::before,
html[data-site-template="pandora"] :is(.news-head,.news-hero)::after { content:none; display:none; background:none; filter:none; }
html[data-site-template="pandora"] .news-crumbs { margin:0 0 12px; white-space:normal; overflow-wrap:anywhere; font-weight:500; }
html[data-site-template="pandora"] .news-crumbs a { border:0; color:var(--pd-muted); text-decoration:none; }
html[data-site-template="pandora"] .news-crumbs a:hover { color:var(--pd-text); }
html[data-site-template="pandora"] .news-hero .news-hero__title,
html[data-site-template="pandora"] .news-head .nh-title span { display:block; margin:0; font-size:clamp(21px,2vw,27px); line-height:1.35; font-weight:600; letter-spacing:-.02em; overflow-wrap:anywhere; }
html[data-site-template="pandora"] .news-hero__meta { margin:12px 0 0; flex-wrap:wrap; font-weight:500; }
html[data-site-template="pandora"] .news-head .nh-sub { margin:10px 0 0; }
html[data-site-template="pandora"] :is(.nh-title span,.news-hero__title,.roulette-title) { font-family:Montserrat,Arial,sans-serif; font-size:clamp(23px,2.4vw,32px); line-height:1.3; font-weight:700; letter-spacing:-.025em; background:none; color:var(--pd-text); -webkit-text-fill-color:var(--pd-text); text-shadow:none; }
html[data-site-template="pandora"] :is(.nh-sub,.news-hero__meta,.news-crumbs) { color:var(--pd-muted); font-size:12px; line-height:1.7; }
html[data-site-template="pandora"] .news-grid { align-items:start; grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr)); gap:16px; }
html[data-site-template="pandora"] .n-card { max-width:300px; width:100%; border:1px solid var(--pd-line); border-radius:var(--pd-radius); transform:none; opacity:1; }
html[data-site-template="pandora"] :is(.n-card::after,.n-media__overlay,.news-hero::before,.news-hero::after) { display:none; }
html[data-site-template="pandora"] .n-card .n-card__frame { background:var(--pd-panel); backdrop-filter:none; transform:none; box-shadow:none; }
html[data-site-template="pandora"] .n-card:hover { border-color:#49505d; }
html[data-site-template="pandora"] .n-card .n-media img { transform:none; }
html[data-site-template="pandora"] .n-badge-date { background:var(--pd-panel); border:1px solid var(--pd-line); border-radius:5px; box-shadow:none; backdrop-filter:none; }
html[data-site-template="pandora"] .n-body { padding:12px; gap:8px; }
html[data-site-template="pandora"] .n-media { height:130px; aspect-ratio:auto; }
html[data-site-template="pandora"] .n-short { font-size:12px; -webkit-line-clamp:2; line-clamp:2; }
html[data-site-template="pandora"] .n-meta { font-size:10px; flex-wrap:wrap; }
html[data-site-template="pandora"] .n-title { font-size:14px; line-height:1.5; font-weight:600; color:var(--pd-text); }
html[data-site-template="pandora"] :is(.n-short,.n-meta,.guide-tile-copy p) { color:var(--pd-muted); line-height:1.7; }
html[data-site-template="pandora"] .n-actions { margin-top:auto; padding:0 12px 12px; }
html[data-site-template="pandora"] .n-more { padding:7px 10px; font-size:11px; }
html[data-site-template="pandora"] :is(.btn-ghost,.btn-more,.share-btn,.pg-btn,.pg-num) { border:1px solid var(--pd-line); border-radius:6px; background:var(--pd-panel-raised); color:var(--pd-text); box-shadow:none; transform:none; text-shadow:none; }
html[data-site-template="pandora"] :is(.pg-num.is-active,.btn-ghost:hover,.btn-more:hover,.share-btn:hover) { background:var(--pd-accent-soft); border-color:var(--pd-accent); }
html[data-site-template="pandora"] :is(.news-article,.guide-tile,.news-empty,.guides-empty) { border:1px solid var(--pd-line); border-radius:var(--pd-radius); background:var(--pd-panel); box-shadow:none; backdrop-filter:none; }
html[data-site-template="pandora"] .news-article { padding:clamp(18px,3vw,36px); }
html[data-site-template="pandora"] .news-article__content { color:var(--pd-text); font-size:14px; line-height:1.85; overflow-wrap:anywhere; }
html[data-site-template="pandora"] .news-article__content img { max-width:100%; height:auto; border-radius:6px; }
html[data-site-template="pandora"] .news-article__content a { color:var(--pd-accent); }
html[data-site-template="pandora"] .news-article__content { padding:0; border:0; border-radius:0; background:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
html[data-site-template="pandora"] .news-article__content blockquote { border-left-color:var(--pd-accent); background:var(--pd-panel-raised); border-radius:4px; }
html[data-site-template="pandora"] .news-article__content a:hover,
html[data-site-template="pandora"] .n-body a:focus-visible { box-shadow:none; }
html[data-site-template="pandora"] .n-title:hover,
html[data-site-template="pandora"] .navigation .menu .menu-item.is-active { text-shadow:none; }
html[data-site-template="pandora"] .news-pagination .pg-num.is-active { background:var(--pd-accent-soft); border-color:var(--pd-accent); box-shadow:none; }
html[data-site-template="pandora"] .news-hero__cover { width:100%; max-height:420px; object-fit:cover; border-radius:var(--pd-radius); margin-top:20px; box-shadow:none; }
html[data-site-template="pandora"] .guide-tile { padding:16px; transform:none; }
html[data-site-template="pandora"] .guide-tile:hover { border-color:#49505d; background:var(--pd-panel-raised); transform:none; }
html[data-site-template="pandora"] .guide-tile-copy { padding:0; }
html[data-site-template="pandora"] .guide-tile-cover { background:var(--pd-panel-raised); border-radius:5px; color:var(--pd-muted); }
html[data-site-template="pandora"] .guide-tile-copy h2 { font-size:15px; font-weight:600; }
html[data-site-template="pandora"] .guide-tile-action { color:var(--pd-accent); }

/* Map chrome only: Leaflet positioning and fullscreen dimensions remain functional. */
html[data-site-template="pandora"] .map-panel { margin:0 0 24px; padding:18px; border:1px solid var(--pd-line); border-radius:var(--pd-radius); background:var(--pd-panel); backdrop-filter:none; box-shadow:none; opacity:1; transform:none; }
html[data-site-template="pandora"] .map-panel::before { display:none; }
html[data-site-template="pandora"] .map-panel__title { font-size:16px; font-weight:600; color:var(--pd-text); text-shadow:none; }
html[data-site-template="pandora"] :is(.map-panel__sub,.map-panel__hint) { color:var(--pd-muted); font-size:12px; line-height:1.7; }
html[data-site-template="pandora"] .map-panel__maps { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; }
html[data-site-template="pandora"] .map-panel__maps .tab { flex:0 1 auto; min-width:100px; height:auto; min-height:36px; padding:9px 16px; border:1px solid var(--pd-line); border-radius:5px; background:var(--pd-panel-raised); color:var(--pd-muted); font-size:12px; box-shadow:none; transform:none; }
html[data-site-template="pandora"] .map-panel__maps .tab::before { display:none; }
html[data-site-template="pandora"] .map-panel__maps .tab:is(.active,:hover) { color:var(--pd-text); border-color:var(--pd-accent); background:var(--pd-accent-soft); }
html[data-site-template="pandora"] .map-panel__mapwrap:not(.fullscreen):not(:fullscreen) { border:1px solid var(--pd-line); border-radius:6px; box-shadow:none; }
html[data-site-template="pandora"] .map-panel__fs-btn { background:var(--pd-panel); border:1px solid var(--pd-line); border-radius:5px; box-shadow:none; transform:none; }
html[data-site-template="pandora"] :is(.roulette-section,.prizes-list,.win-card,.prize-card) { background:var(--pd-panel); border:1px solid var(--pd-line); border-radius:var(--pd-radius); box-shadow:none; backdrop-filter:none; }
html[data-site-template="pandora"] .roulette-section { padding:24px; }
html[data-site-template="pandora"] :is(.info-container,.profile-stats-card,.referral-card,.daily-card,.set-card,.subscription-card,.bonus-day,.guest-auth-gate) { background:var(--pd-panel); border:1px solid var(--pd-line); border-radius:var(--pd-radius); box-shadow:none; backdrop-filter:none; }
html[data-site-template="pandora"] .tabs .tab { padding:10px 14px; border-radius:6px; background:var(--pd-panel); color:var(--pd-muted); font-size:12px; box-shadow:none; transform:none; }
html[data-site-template="pandora"] .tabs .tab:is(.active,:hover) { background:var(--pd-accent-soft); border-color:var(--pd-accent); color:var(--pd-text); }
html[data-site-template="pandora"] :is(.table-container,.table-wrap,.roulette-images-wrapper) { border-color:var(--pd-line); border-radius:var(--pd-radius); box-shadow:none; }
html[data-site-template="pandora"] th { background:var(--pd-panel-raised); }
html[data-site-template="pandora"] .footer { border-radius:0; background:none; }

@media(max-width:800px) {
 html[data-site-template="pandora"] .navigation { display:flex; }
 html[data-site-template="pandora"] .navigation .sidebar-account { display:none; }
 html[data-site-template="pandora"] .pandora-sidebar-inner { flex-direction:row; align-items:center; }
 html[data-site-template="pandora"] .map-panel { padding:12px; }
 html[data-site-template="pandora"] .roulette-section { padding:16px; }
 html[data-site-template="pandora"] .banner { height:150px; }

}

/* The content and its sidebar form one centered 1240px layout. The full-height
   navigation rail lets its inner panel stick without overlaying the catalogue. */
@media(min-width:801px) {
 html[data-site-template="pandora"] body { overflow-x:clip; overflow-y:visible; }
 html[data-site-template="pandora"] .container { width:calc(100% - 272px); max-width:1008px; margin:20px 0 0 calc(max(20px, (100% - 1240px) / 2) + 232px); padding:0 0 32px; }
 html[data-site-template="pandora"] .navigation { position:absolute; inset:0 auto 0 -232px; width:208px; height:100%; min-height:0; padding:0; border:0; background:none; overflow:visible; }
 html[data-site-template="pandora"] .pandora-sidebar-inner { position:sticky; top:min(20px, calc(100dvh - var(--sidebar-height, 600px) - 20px)); min-height:0; height:auto; gap:8px; padding:14px 10px; background:var(--pd-panel); border:1px solid var(--pd-line); border-radius:8px; }
 html[data-site-template="pandora"] .navigation .menu { margin:0; gap:2px; }
 html[data-site-template="pandora"] .navigation .menu-item-link { min-height:34px; padding:7px 9px; }
 html[data-site-template="pandora"] .navigation .logo { padding-bottom:12px; }
 html[data-site-template="pandora"] .sidebar-account { margin-top:8px; padding-top:12px; }
}
@media(max-width:520px) {
 html[data-site-template="pandora"] .banner { height:125px; }
 html[data-site-template="pandora"] .news-grid { grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr)); gap:12px; }
 html[data-site-template="pandora"] .n-card { max-width:100%; }
}
