/* New site shell. Original post content, data tables, paito cells and controls are untouched. */
body.wp-theme-frontier{background:#080d19!important;color:#192742!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif!important;margin:0!important}
body.wp-theme-frontier #container{width:min(1320px,calc(100% - 36px))!important;max-width:1320px!important;min-width:0!important;background:transparent!important;box-shadow:none!important;margin:0 auto!important;padding:0!important}
body.wp-theme-frontier #header{width:100%!important;min-height:108px!important;margin:0!important;padding:16px 24px!important;background:#101b32!important;border:1px solid #293f69!important;border-bottom:0!important;border-radius:16px 16px 0 0!important;display:flex!important;align-items:center!important;justify-content:center!important}
body.wp-theme-frontier #header-logo{margin:0!important;padding:0!important;float:none!important;max-width:520px!important}
body.wp-theme-frontier #header-logo img{width:auto!important;max-width:100%!important;max-height:74px!important;object-fit:contain!important}
body.wp-theme-frontier .redesign-nav{background:#192b4e;border:1px solid #304b79;display:flex;flex-wrap:wrap;gap:4px;padding:8px 13px;overflow-x:hidden;position:relative;z-index:20}
body.wp-theme-frontier .redesign-nav a{display:inline-flex;align-items:center;flex-shrink:0;padding:10px 15px!important;border-radius:8px;color:#e4edff!important;font-size:14px!important;font-weight:700;text-decoration:none!important;white-space:nowrap}
body.wp-theme-frontier .redesign-nav a:hover,body.wp-theme-frontier .redesign-nav a[aria-current="page"]{background:#6585f6!important;color:#081225!important}
body.wp-theme-frontier #main{width:100%!important;max-width:none!important;min-width:0!important;background:transparent!important;display:grid!important;grid-template-columns:minmax(0,1fr) 290px!important;gap:20px!important;padding:26px 0 50px!important;margin:0!important;float:none!important;clear:both!important}
body.wp-theme-frontier #main>#content{grid-column:1!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;float:none!important;background:transparent!important}
body.wp-theme-frontier #main>.sidebar-right{grid-column:2!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;float:none!important;background:transparent!important}
body.wp-theme-frontier #main>.widget-sidebar{grid-column:1/-1!important;width:100%!important;margin:0!important}
body.wp-theme-frontier #content>article,body.wp-theme-frontier #content>.post,body.wp-theme-frontier #content>.archive-content{background:#fff!important;border:1px solid #d8e3f4!important;border-radius:14px!important;box-shadow:0 18px 55px #0003!important;padding:27px!important;margin:0 0 22px!important;overflow:hidden}
body.wp-theme-frontier .entry-title{font-family:inherit!important;letter-spacing:-.035em!important;line-height:1.2!important;color:#172c51!important;font-size:clamp(28px,3vw,40px)!important;font-weight:850!important;margin:0 0 15px!important}
body.wp-theme-frontier .entry-title a{color:#172c51!important;text-decoration:none!important}
body.wp-theme-frontier .entry-title a:hover{color:#4268d7!important}
body.wp-theme-frontier .entry-header{border-bottom:1px solid #e2e9f5!important;margin-bottom:16px!important;padding-bottom:13px!important}
body.wp-theme-frontier .entry-byline{color:#7789a8!important;font-size:13px!important}
body.wp-theme-frontier .entry-content{font-family:inherit!important;font-size:16px!important;line-height:1.7!important;color:#26364e!important;max-width:100%!important;overflow-wrap:anywhere}
body.wp-theme-frontier .entry-content>h2,body.wp-theme-frontier .entry-content>h3{color:#193a74!important;line-height:1.3!important}
body.wp-theme-frontier .entry-content a{color:#2f58c3}
body.wp-theme-frontier .sidebar-right .widget-sidebar,body.wp-theme-frontier #main>.widget-sidebar{background:#fff!important;border:1px solid #d8e3f4!important;border-radius:13px!important;box-shadow:0 12px 35px #0002!important;margin:0 0 16px!important;padding:17px!important;overflow:hidden}
body.wp-theme-frontier .sidebar-right .widget-title,body.wp-theme-frontier #main>.widget-sidebar>.widget-title{border-radius:7px!important;background:#244b9e!important;color:#fff!important;padding:9px 12px!important}
body.wp-theme-frontier .sidebar-right a{color:#315bbd!important;text-decoration:none!important}
body.wp-theme-frontier .sidebar-right a:hover{text-decoration:underline!important}
body.wp-theme-frontier .bottom-bar{background:#101b32!important;border:1px solid #293f69!important;border-radius:0 0 13px 13px!important;padding:20px!important;color:#a5b9df!important;margin:0 0 26px!important}
body.wp-theme-frontier .bottom-bar a{color:#adc3ff!important}
body.wp-theme-frontier .post-nav{display:flex;gap:12px;margin:15px 0!important}
body.wp-theme-frontier .post-nav>div{flex:1;background:#fff;border-radius:9px;padding:12px}
body.wp-theme-frontier #comment-area,body.wp-theme-frontier .comment-area{background:#fff;border-radius:12px;padding:18px;margin-top:18px}
/* Original paito's palette, AS/KOP/KEP/EKR/JML colours and cell CSS stay intact. */
/* Give the original 4D Singapore paito table a little more room in the theme. */
body.wp-theme-frontier.single-post.postid-222 #drawing-table{width:88%!important;max-width:100%!important}
@media(max-width:767px){body.wp-theme-frontier.single-post.postid-222 #drawing-table{width:100%!important}}
@media(max-width:950px){body.wp-theme-frontier #main{grid-template-columns:minmax(0,1fr)!important}body.wp-theme-frontier #main>.sidebar-right{grid-column:1!important}body.wp-theme-frontier #main>#content{grid-column:1!important}}
@media(max-width:650px){body.wp-theme-frontier #container{width:100%!important}body.wp-theme-frontier #header{border-radius:0!important;min-height:88px!important;padding:14px!important}body.wp-theme-frontier #header-logo img{max-height:60px!important}body.wp-theme-frontier #main{padding:14px 12px 36px!important;gap:14px!important}body.wp-theme-frontier #content>article,body.wp-theme-frontier #content>.post,body.wp-theme-frontier #content>.archive-content{padding:16px!important;border-radius:11px!important}body.wp-theme-frontier .bottom-bar{border-radius:0!important;margin:0!important}body.wp-theme-frontier .redesign-nav{padding:7px!important}body.wp-theme-frontier .redesign-nav a{padding:9px 11px!important}}
/* Post pages use the full width after removing the sidebar and comment navigation. */
body.wp-theme-frontier.single-post #main{grid-template-columns:minmax(0,1fr)!important}
body.wp-theme-frontier.single-post #main>#content{grid-column:1!important;width:100%!important;max-width:none!important}
/* No widget column remains on archive or post pages. */
body.wp-theme-frontier #main{grid-template-columns:minmax(0,1fr)!important}
body.wp-theme-frontier #main>#content{grid-column:1!important;width:100%!important;max-width:none!important}
/* Text and tables are separate reading areas. Their content and cell rules are unchanged. */
body.wp-theme-frontier.single-post .entry-content>.post-text-panel{background:#f8faff;border:1px solid #e4eaf5;border-left:4px solid #94abed;border-radius:10px;padding:18px 22px;margin:18px 0;min-width:0}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel:first-child{margin-top:0}
body.wp-theme-frontier.single-post .entry-content>.post-table-panel{background:#edf3ff;border:1px solid #c8d8f5;border-radius:12px;padding:18px;margin:28px 0;min-width:0;overflow-x:auto;box-shadow:0 9px 24px #23427d12}
body.wp-theme-frontier.single-post .entry-content>.post-table-panel:has(#drawing-table){overflow:visible}
body.wp-theme-frontier.single-post .entry-content>.post-table-panel .table-responsive{overflow-x:auto}
@media(max-width:650px){body.wp-theme-frontier.single-post .entry-content>.post-text-panel{padding:14px;margin:15px 0}body.wp-theme-frontier.single-post .entry-content>.post-table-panel{padding:10px;margin:20px 0}}
/* Dark background applies only to prose panels; tables keep their existing styles. */
body.wp-theme-frontier.single-post .entry-content>.post-text-panel{background:#1a1a1a!important;border-color:#353535!important;border-left-color:#8fa9f2!important;color:#f3f3f3!important}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel *{color:#f3f3f3!important}
/* Replace the remaining white Frontier theme surfaces with charcoal. */
body.wp-theme-frontier #content>article,
body.wp-theme-frontier #content>.post,
body.wp-theme-frontier #content>.archive-content,
body.wp-theme-frontier #main>.widget-sidebar{background:#1a1a1a!important;border-color:#343a46!important;color:#f2f2f2!important}
body.wp-theme-frontier .entry-title,
body.wp-theme-frontier .entry-title a,
body.wp-theme-frontier .entry-summary,
body.wp-theme-frontier .entry-content,
body.wp-theme-frontier .entry-content>h2,
body.wp-theme-frontier .entry-content>h3{color:#f2f2f2!important}
body.wp-theme-frontier .entry-content a{color:#b6c9ff!important}
body.wp-theme-frontier .entry-header{border-bottom-color:#3a414d!important}
body.wp-theme-frontier.single-post .entry-content>.post-table-panel{background:#1a1a1a!important;border-color:#383e49!important;box-shadow:none!important}
/* The source paito table, digit classes and colour palette are intentionally excluded. */
/* Remove only the outer frame beside the paito table. */
body.wp-theme-frontier.single-post .entry-content>.post-table-panel:has(#drawing-table){
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding-left:0!important;
  padding-right:0!important;
}
/* Four paito selectors: market, columns, day and appearance. */
body.wp-theme-frontier .paito-control-form{margin:0 0 16px!important}
body.wp-theme-frontier .paito-control-form>.row>div>.row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0!important}
body.wp-theme-frontier .paito-control-form .paito-filter-field{width:auto!important;max-width:none!important;flex:none!important;padding:0!important}
body.wp-theme-frontier .paito-control-form .paito-filter-field label{display:block;color:#dbe5ff!important;font-size:13px;font-weight:750;margin:0 0 7px!important}
body.wp-theme-frontier .paito-control-form .paito-filter-field select{width:100%!important;height:42px!important;background:#111827!important;border:1px solid #46577a!important;border-radius:8px!important;color:#f4f7ff!important;padding:0 11px!important}
@media(max-width:760px){body.wp-theme-frontier .paito-control-form>.row>div>.row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){body.wp-theme-frontier .paito-control-form>.row>div>.row{grid-template-columns:1fr}}
/* Weekly result grid based on the supplied reference. */
body.wp-theme-frontier .weekly-results-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px 14px;margin:0 0 14px;color:#e8eefc}
body.wp-theme-frontier .weekly-filter-field{min-width:0}
body.wp-theme-frontier .weekly-filter-field label{display:block;margin:0 0 7px;font-size:14px;font-weight:750;color:#d9e4fa!important}
body.wp-theme-frontier .weekly-filter-field input,
body.wp-theme-frontier .weekly-filter-field select{box-sizing:border-box;height:43px;width:100%;min-width:0;background:#111827;border:1px solid #46577a;border-radius:8px;color:#fff;padding:0 13px;outline:none}
body.wp-theme-frontier .weekly-filter-field input:focus,
body.wp-theme-frontier .weekly-filter-field select:focus{border-color:#1887f4;box-shadow:0 0 0 3px #1887f429}
body.wp-theme-frontier .weekly-results-status{grid-column:1/-1;justify-self:end;font-size:13px;color:#b9c7df!important;white-space:nowrap}
body.wp-theme-frontier .weekly-search-details{box-sizing:border-box;width:100%;max-width:100%;margin:0 0 18px;border:1px solid #3b4d70;border-radius:10px;overflow:hidden;background:#111827;color:#eef4ff}
body.wp-theme-frontier .weekly-search-details[hidden]{display:none!important}
body.wp-theme-frontier .weekly-search-details-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#18345f;color:#fff}
body.wp-theme-frontier .weekly-search-details-title strong{color:#fff!important;font-size:16px}
body.wp-theme-frontier .weekly-search-details-title span{color:#cddcff!important;font-size:13px}
body.wp-theme-frontier .weekly-search-detail-head,
body.wp-theme-frontier .weekly-search-detail-row{display:grid;grid-template-columns:minmax(80px,.7fr) minmax(180px,1.6fr) minmax(75px,.6fr) minmax(90px,.8fr);align-items:center;min-width:0}
body.wp-theme-frontier .weekly-search-detail-head{background:#087ff5;color:#fff;font-size:12px;font-weight:800;letter-spacing:.04em}
body.wp-theme-frontier .weekly-search-detail-head span,
body.wp-theme-frontier .weekly-search-detail-row>span{min-width:0;padding:10px 12px;overflow-wrap:anywhere}
body.wp-theme-frontier .weekly-search-detail-list{max-height:520px;overflow-y:auto;overflow-x:hidden;background:#fff}
body.wp-theme-frontier .weekly-search-detail-row{color:#182131;font-size:14px;border-bottom:1px solid #d9dfe8}
body.wp-theme-frontier .weekly-search-detail-row:nth-child(even){background:#eef1f5}
body.wp-theme-frontier .weekly-search-detail-row:last-child{border-bottom:0}
body.wp-theme-frontier .weekly-search-detail-result{font-size:16px;font-weight:850;color:#075eb4!important;font-variant-numeric:tabular-nums}
body.wp-theme-frontier .weekly-search-detail-empty{margin:0!important;padding:18px!important;color:#43516a!important;text-align:center}
@media(max-width:600px){body.wp-theme-frontier .weekly-search-detail-head{display:none}body.wp-theme-frontier .weekly-search-detail-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;padding:11px 12px}body.wp-theme-frontier .weekly-search-detail-row>span{padding:0;font-size:13px}body.wp-theme-frontier .weekly-search-detail-row>span:before{content:attr(data-label);display:block;margin-bottom:2px;color:#64718a;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}body.wp-theme-frontier .weekly-search-detail-result{font-size:16px!important}}
body.wp-theme-frontier .weekly-results-scroll{overflow-x:auto;background:#fff}
body.wp-theme-frontier .weekly-results-table{width:100%!important;min-width:760px!important;border-collapse:collapse!important;table-layout:fixed!important;margin:0!important;background:#fff!important;font-variant-numeric:tabular-nums}
body.wp-theme-frontier .weekly-results-table thead th{background:#087ff5!important;color:#fff!important;border:1px solid #0871da!important;padding:14px 8px!important;text-align:center!important;font-size:18px!important;font-weight:800!important}
body.wp-theme-frontier .weekly-results-table tbody td{height:51px!important;border:1px solid #d7dce3!important;padding:8px!important;text-align:center!important;vertical-align:middle!important;background:#fbfbfc!important;color:#111!important;font-size:19px!important;font-weight:500!important}
body.wp-theme-frontier .weekly-results-table tbody tr:nth-child(even) td{background:#eeeeef!important}
body.wp-theme-frontier .weekly-results-table .weekly-result-number{display:block!important;color:#111!important;line-height:1.35!important}
body.wp-theme-frontier .weekly-results-table .weekly-result-number+ .weekly-result-number{border-top:1px dashed #b7bdc6!important;margin-top:5px!important;padding-top:5px!important}
body.wp-theme-frontier .weekly-results-table .weekly-empty{color:transparent!important}
body.wp-theme-frontier .weekly-results-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin:15px 0 0}
body.wp-theme-frontier .weekly-results-pagination button{background:#087ff5;border:0;border-radius:8px;color:#fff;padding:10px 14px;font-weight:750;cursor:pointer}
body.wp-theme-frontier .weekly-results-pagination button:disabled{opacity:.38;cursor:default}
body.wp-theme-frontier .weekly-results-pagination span{color:#dbe6fa;font-size:13px;min-width:105px;text-align:center}
@media(max-width:760px){body.wp-theme-frontier .weekly-results-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){body.wp-theme-frontier .weekly-results-toolbar{grid-template-columns:1fr}.weekly-results-pagination{gap:8px!important}.weekly-results-pagination button{padding:9px 10px!important;font-size:12px!important}}
/* Every result row is visible and tables are grouped by calendar year. */
body.wp-theme-frontier .weekly-year-groups{display:grid;gap:30px}
body.wp-theme-frontier .weekly-year-section{display:block!important;margin:0;background:#111827;border-radius:10px;overflow:hidden}
body.wp-theme-frontier .weekly-year-heading{margin:0!important;padding:13px 16px!important;background:#18345f!important;color:#fff!important;font-size:20px!important;font-weight:800!important;letter-spacing:-.01em!important}
body.wp-theme-frontier .weekly-year-section[hidden]{display:none!important}
/* Seven weekday columns always fit the available viewport; no horizontal swipe. */
body.wp-theme-frontier .weekly-results-scroll{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
body.wp-theme-frontier .weekly-results-table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}
body.wp-theme-frontier .weekly-results-table th,
body.wp-theme-frontier .weekly-results-table td{width:14.2857%!important;min-width:0!important;overflow:hidden!important;white-space:nowrap!important}
body.wp-theme-frontier .weekly-results-table--singapore th,
body.wp-theme-frontier .weekly-results-table--singapore tbody tr:not(.weekly-special-row)>td{width:20%!important}
@media(max-width:900px){body.wp-theme-frontier .weekly-results-table thead th{font-size:14px!important;padding:11px 3px!important}body.wp-theme-frontier .weekly-results-table tbody td{height:46px!important;font-size:16px!important;padding:6px 3px!important}}
@media(max-width:600px){body.wp-theme-frontier .weekly-results-table thead th{font-size:10px!important;padding:9px 1px!important}body.wp-theme-frontier .weekly-results-table tbody td{height:40px!important;font-size:12px!important;padding:5px 1px!important}.weekly-year-heading{font-size:17px!important}}
@media(max-width:360px){body.wp-theme-frontier .weekly-results-table thead th{font-size:9px!important}body.wp-theme-frontier .weekly-results-table tbody td{font-size:11px!important}}
/* Responsive shell and weekly tables must never widen the document viewport. */
body.wp-theme-frontier #container,
body.wp-theme-frontier #header,
body.wp-theme-frontier .redesign-nav,
body.wp-theme-frontier #main,
body.wp-theme-frontier #content,
body.wp-theme-frontier #content>article,
body.wp-theme-frontier.single-post .entry-content>.post-table-panel,
body.wp-theme-frontier .weekly-year-groups,
body.wp-theme-frontier .weekly-year-section,
body.wp-theme-frontier .weekly-results-scroll,
body.wp-theme-frontier .weekly-results-table{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}

/* Midnight Steel premium site chrome. Protected data-result and paito table selectors are excluded. */
body.wp-theme-frontier{background:radial-gradient(980px 560px at 12% -8%,#17447a4d 0%,transparent 66%),radial-gradient(760px 460px at 92% 18%,#294a722b 0%,transparent 70%),linear-gradient(180deg,#05070b 0%,#0a0f17 52%,#05070b 100%)!important;color:#edf2fa!important}
body.wp-theme-frontier #container{filter:none!important}
body.wp-theme-frontier #header{position:relative!important;overflow:hidden!important;background:linear-gradient(180deg,#141c28f7 0%,#090d14fc 100%)!important;border-color:#3b4759!important;box-shadow:inset 0 1px 0 #ffffff14,0 22px 58px #000a!important}
body.wp-theme-frontier #header:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 0%,#5d91e812 34%,#bac6d40d 50%,#5d91e812 66%,transparent 100%);pointer-events:none}
body.wp-theme-frontier #header:after{content:"";position:absolute;left:8%;right:8%;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#7aa9ef80,transparent)}
body.wp-theme-frontier #header-logo{position:relative!important;z-index:1!important;filter:drop-shadow(0 10px 24px #000a) drop-shadow(0 0 18px #397de329)}
body.wp-theme-frontier .redesign-nav{background:linear-gradient(180deg,#151e2af7,#0a0f17fa)!important;border-color:#3a4658!important;box-shadow:inset 0 1px 0 #ffffff0d,0 16px 42px #0008!important;gap:6px!important;padding:9px 13px!important}
body.wp-theme-frontier .redesign-nav a{border:1px solid transparent!important;border-radius:999px!important;color:#b9c4d5!important;letter-spacing:.01em!important;transition:background .2s,border-color .2s,color .2s,box-shadow .2s!important}
body.wp-theme-frontier .redesign-nav a:hover{background:#1b293d!important;border-color:#435875!important;color:#fff!important}
body.wp-theme-frontier .redesign-nav a[aria-current="page"]{background:linear-gradient(135deg,#75a6ff,#3f7ce9)!important;border-color:#95b9fa!important;box-shadow:inset 0 1px 0 #ffffff66,0 8px 24px #2864cc52!important;color:#07101e!important}
body.wp-theme-frontier #main{padding-top:32px!important;padding-bottom:60px!important}
body.wp-theme-frontier #content>article,
body.wp-theme-frontier #content>.post,
body.wp-theme-frontier #content>.archive-content,
body.wp-theme-frontier #main>.widget-sidebar{position:relative!important;background:linear-gradient(155deg,#171f2a 0%,#10161f 52%,#0b0f15 100%)!important;border-color:#394554!important;border-radius:18px!important;box-shadow:inset 0 1px 0 #ffffff0d,0 28px 70px #0009,0 0 0 1px #0005!important}
body.wp-theme-frontier #content>article:before,
body.wp-theme-frontier #content>.post:before,
body.wp-theme-frontier #content>.archive-content:before{content:"";position:absolute;left:22px;right:22px;top:0;height:1px;background:linear-gradient(90deg,transparent,#91add66b,transparent);pointer-events:none}
body.wp-theme-frontier .entry-header{border-bottom-color:#394656!important;padding-bottom:17px!important;margin-bottom:20px!important}
body.wp-theme-frontier .entry-title,
body.wp-theme-frontier .entry-title a{color:#f2f5fa!important;text-shadow:0 12px 32px #000b!important}
body.wp-theme-frontier .entry-title a:hover{color:#a9c8ff!important}
body.wp-theme-frontier .entry-byline{color:#8f9bad!important}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel{position:relative!important;overflow:hidden!important;background:linear-gradient(145deg,#1a222d 0%,#11171f 58%,#0d1117 100%)!important;border:1px solid #3a4655!important;border-left:3px solid #6497e8!important;border-radius:13px!important;box-shadow:inset 0 1px 0 #ffffff0b,0 18px 38px #0004!important}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel:before{content:"";position:absolute;left:0;top:0;bottom:0;width:1px;background:#9ec0f1;box-shadow:0 0 18px #4f8ff2}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel h2,
body.wp-theme-frontier.single-post .entry-content>.post-text-panel h3{color:#dce9ff!important;text-shadow:0 8px 22px #0008!important}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel a{color:#9fc2ff!important}
body.wp-theme-frontier .bottom-bar{background:linear-gradient(180deg,#111925,#080c12)!important;border-color:#364254!important;box-shadow:inset 0 1px 0 #ffffff0d,0 18px 42px #0007!important;color:#9ca9bb!important}
body.wp-theme-frontier .bottom-bar a{color:#9fc2ff!important}
@media(max-width:650px){body.wp-theme-frontier #header{box-shadow:inset 0 1px 0 #ffffff12,0 14px 36px #0009!important}body.wp-theme-frontier .redesign-nav{padding:8px!important;gap:4px!important}body.wp-theme-frontier .redesign-nav a{border-radius:9px!important}body.wp-theme-frontier #main{padding-top:18px!important;padding-bottom:42px!important}body.wp-theme-frontier #content>article,body.wp-theme-frontier #content>.post,body.wp-theme-frontier #content>.archive-content{border-radius:13px!important}}

/* PaitoData.id Observatory site chrome.
   Protected weekly result tables, search details, paito controls, #drawing-table cells and AS/KOP/KEP/EKR/JML colours are intentionally untouched. */
body.wp-theme-frontier{
  background:
    radial-gradient(850px 470px at 86% 4%,rgba(53,111,154,.17),transparent 68%),
    radial-gradient(690px 410px at 7% 21%,rgba(69,112,145,.1),transparent 72%),
    #030404!important;
  color:#f2f4f5!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
body.wp-theme-frontier:before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.11;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:72px 72px;
  mask-image:linear-gradient(to bottom,#000,transparent 78%);
}
body.wp-theme-frontier #container{
  position:relative!important;
  width:min(1320px,calc(100% - 36px))!important;
  max-width:1320px!important;
  overflow:visible!important;
}
body.wp-theme-frontier #header{
  min-height:74px!important;
  height:74px!important;
  justify-content:flex-start!important;
  padding:13px 18px!important;
  overflow:visible!important;
  border:1px solid #303438!important;
  border-radius:0!important;
  background:rgba(0,0,0,.94)!important;
  box-shadow:none!important;
}
body.wp-theme-frontier #header:before,body.wp-theme-frontier #header:after{display:none!important}
body.wp-theme-frontier #header-logo{
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  filter:none!important;
}
body.wp-theme-frontier #header-logo a{
  min-width:194px;
  height:45px;
  display:flex!important;
  align-items:center;
  padding:6px 9px;
  border:1px solid #858b90;
  border-radius:9px;
  color:#fff!important;
  text-decoration:none!important;
  font-size:17px;
  font-weight:900;
  letter-spacing:-.04em;
}
body.wp-theme-frontier #header-logo img{display:none!important}
body.wp-theme-frontier #header-logo a:before{content:"PAITO";display:block}
body.wp-theme-frontier #header-logo a:after{
  content:"TOP.COM";
  display:block;
  margin-left:5px;
  padding:3px 7px 4px;
  border-radius:5px;
  background:#f5f7f8;
  color:#070808;
}
body.wp-theme-frontier .redesign-nav{
  position:absolute!important;
  top:1px;
  right:18px;
  z-index:30;
  width:auto!important;
  height:72px;
  display:flex!important;
  align-items:center;
  justify-content:flex-end;
  gap:2px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.wp-theme-frontier .redesign-nav a{
  padding:10px 11px!important;
  border:1px solid transparent!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#adb2b6!important;
  font-size:12px!important;
  font-weight:750!important;
  letter-spacing:0!important;
}
body.wp-theme-frontier .redesign-nav a:before{display:inline-block;margin-right:6px;color:#d9dcde;font-size:10px}
body.wp-theme-frontier .redesign-nav a:nth-child(1):before{content:"⌂"}
body.wp-theme-frontier .redesign-nav a:nth-child(2):before{content:"▦"}
body.wp-theme-frontier .redesign-nav a:nth-child(3):before{content:"▤"}
body.wp-theme-frontier .redesign-nav a:nth-child(4):before{content:"◉"}
body.wp-theme-frontier .redesign-nav a:nth-child(5):before{content:"▣"}
body.wp-theme-frontier .redesign-nav a:hover,
body.wp-theme-frontier .redesign-nav a[aria-current="page"]{
  border-color:#3b4044!important;
  background:#151719!important;
  color:#fff!important;
  box-shadow:none!important;
}
body.wp-theme-frontier .redesign-nav:after{
  content:"3 PASAR AKTIF";
  margin-left:19px;
  padding-left:16px;
  color:#aeb3b7;
  font-size:9px;
  font-weight:800;
  letter-spacing:.14em;
  white-space:nowrap;
  background:radial-gradient(circle at 3px 50%,#e9fbff 0 2px,#78c4ff 3px,transparent 5px) no-repeat;
  filter:drop-shadow(0 0 6px #5ab5ff);
}
body.wp-theme-frontier #main{padding:34px 0 62px!important}
body.wp-theme-frontier #content>article,
body.wp-theme-frontier #content>.post,
body.wp-theme-frontier #content>.archive-content,
body.wp-theme-frontier #main>.widget-sidebar{
  overflow:hidden!important;
  padding:27px!important;
  border:1px solid #3e4347!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,#0d0f10 0%,#070808 60%,#0a0c0d 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 28px 70px rgba(0,0,0,.48)!important;
}
body.wp-theme-frontier #content>article:before,
body.wp-theme-frontier #content>.post:before,
body.wp-theme-frontier #content>.archive-content:before{
  left:24px;
  right:24px;
  background:linear-gradient(90deg,transparent,#b7bec4,transparent)!important;
  opacity:.5;
}
body.wp-theme-frontier .entry-header{
  position:relative;
  margin-bottom:23px!important;
  padding:4px 0 22px!important;
  border-bottom:1px solid #41464a!important;
}
body.wp-theme-frontier .entry-header:before{
  content:"PaitoData.id · DATA CENTER";
  display:block;
  margin-bottom:11px;
  color:#8e9499;
  font-size:9px;
  font-weight:800;
  letter-spacing:.17em;
}
body.wp-theme-frontier .entry-title,
body.wp-theme-frontier .entry-title a{
  margin:0!important;
  color:#f6f7f8!important;
  font-size:clamp(31px,4.2vw,54px)!important;
  line-height:1.04!important;
  letter-spacing:-.055em!important;
  text-shadow:none!important;
}
body.wp-theme-frontier .entry-title a:hover{color:#c9d7e2!important}
body.wp-theme-frontier .entry-byline{color:#858b90!important}
body.wp-theme-frontier .entry-content{color:#c7cbce!important}
body.wp-theme-frontier .entry-content>h2,
body.wp-theme-frontier .entry-content>h3{color:#f1f3f4!important}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel{
  padding:24px 26px!important;
  border:1px solid #3b4044!important;
  border-left:1px solid #626970!important;
  border-radius:14px!important;
  background:linear-gradient(145deg,#111315,#090a0b)!important;
  box-shadow:none!important;
}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel:before{
  top:22px;
  bottom:22px;
  width:2px;
  background:#9fb4c4;
  box-shadow:0 0 16px rgba(91,181,245,.35);
}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel h2,
body.wp-theme-frontier.single-post .entry-content>.post-text-panel h3{color:#f0f3f5!important;text-shadow:none!important}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel p{color:#c8cccf!important}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel a{color:#a8d1ef!important}
body.wp-theme-frontier .archive-info{
  margin-bottom:16px!important;
  padding:20px 22px!important;
  border:1px solid #3b4044!important;
  border-radius:13px!important;
  background:#090a0b!important;
  color:#f1f3f4!important;
}
body.wp-theme-frontier .archive-title{margin:0!important;color:#f2f4f5!important;font-size:clamp(25px,3vw,38px)!important;letter-spacing:-.04em!important}
body.wp-theme-frontier .blog-view .entry-content{display:flex!important;gap:20px!important;align-items:center!important}
body.wp-theme-frontier .blog-view .entry-thumbnail{flex:0 0 118px!important;margin:0!important}
body.wp-theme-frontier .blog-view .entry-thumbnail img{width:118px!important;height:94px!important;object-fit:cover!important;border:1px solid #4a5055!important;border-radius:10px!important;filter:saturate(.72) contrast(1.06)}
body.wp-theme-frontier .blog-view .entry-excerpt{min-width:0!important;color:#aeb4b8!important}
body.wp-theme-frontier .blog-view .entry-excerpt p{margin:0!important;color:#aeb4b8!important}
body.wp-theme-frontier .continue-reading{
  display:inline-flex!important;
  margin-top:13px!important;
  padding:9px 13px!important;
  border:1px solid #555c61!important;
  border-radius:8px!important;
  background:#111315!important;
  color:#f2f4f5!important;
  font-size:11px!important;
  font-weight:800!important;
  text-decoration:none!important;
}
body.wp-theme-frontier .continue-reading:hover{border-color:#8b9399!important;background:#181b1d!important}
body.wp-theme-frontier .bottom-bar{
  padding:22px!important;
  border:1px solid #303438!important;
  border-radius:0!important;
  background:#020303!important;
  box-shadow:none!important;
  color:#8e9499!important;
}
body.wp-theme-frontier .bottom-bar a{color:#bcc8d1!important}
@media(max-width:1060px){
  body.wp-theme-frontier .redesign-nav a{padding:9px 7px!important;font-size:11px!important}
  body.wp-theme-frontier .redesign-nav:after{display:none}
}
@media(max-width:820px){
  body.wp-theme-frontier #header{height:66px!important;min-height:66px!important;justify-content:center!important;border-left:0!important;border-right:0!important;padding:10px 14px!important}
  body.wp-theme-frontier #header-logo a{min-width:180px;height:43px;font-size:15px}
  body.wp-theme-frontier .redesign-nav{position:relative!important;top:auto;right:auto;width:100%!important;height:auto;justify-content:center;flex-wrap:wrap;padding:7px!important;border-bottom:1px solid #303438!important;background:#060707!important}
  body.wp-theme-frontier .redesign-nav a{padding:8px 10px!important}
  body.wp-theme-frontier #main{padding:18px 0 42px!important}
}
@media(max-width:650px){
  body.wp-theme-frontier #container{width:100%!important}
  body.wp-theme-frontier #main{padding:14px 12px 36px!important}
  body.wp-theme-frontier #content>article,
  body.wp-theme-frontier #content>.post,
  body.wp-theme-frontier #content>.archive-content{padding:16px!important;border-radius:0!important}
  body.wp-theme-frontier .entry-title,body.wp-theme-frontier .entry-title a{font-size:clamp(28px,9vw,42px)!important}
  body.wp-theme-frontier.single-post .entry-content>.post-text-panel{padding:18px 16px!important}
  body.wp-theme-frontier .blog-view .entry-content{display:block!important}
  body.wp-theme-frontier .blog-view .entry-thumbnail{margin:0 0 14px!important}
  body.wp-theme-frontier .blog-view .entry-thumbnail img{width:100%!important;height:160px!important}
  body.wp-theme-frontier .redesign-nav a:before{display:none}
  body.wp-theme-frontier .bottom-bar{margin:0!important}
}

/* Posting Observatory v2 — make the article shell visibly match the new homepage.
   The protected Data Pengeluaran and Paito table components remain outside these rules. */
body.wp-theme-frontier.single-post{
  background:
    radial-gradient(780px 430px at 86% 3%,rgba(55,116,160,.18),transparent 68%),
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),
    #020303!important;
  background-size:auto,72px 72px,72px 72px,auto!important;
  background-attachment:fixed!important;
}
body.wp-theme-frontier.single-post #main{
  padding-top:28px!important;
  background:transparent!important;
}
body.wp-theme-frontier.single-post #content>article.single-view{
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #666d72!important;
  border-radius:24px!important;
  background:#050606!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 34px 90px rgba(0,0,0,.66)!important;
}
body.wp-theme-frontier.single-post #content>article.single-view:before{display:none!important}
body.wp-theme-frontier.single-post .entry-header{
  margin:0!important;
  padding:42px 27px 28px!important;
  border:0!important;
  border-bottom:1px solid #555b60!important;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),
    radial-gradient(620px 310px at 92% 40%,rgba(68,124,166,.2),transparent 69%),
    linear-gradient(135deg,#0d1011,#050606 62%)!important;
  background-size:46px 46px,46px 46px,auto,auto!important;
}
body.wp-theme-frontier.single-post .entry-header:before{
  content:"PaitoData.id · PUSAT DATA";
  width:max-content;
  max-width:100%;
  display:flex!important;
  align-items:center;
  margin:0 0 20px!important;
  padding:8px 12px!important;
  border:1px solid #656b70;
  border-radius:999px;
  background:#090a0b;
  color:#d9dcde!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:.15em!important;
  white-space:normal;
}
body.wp-theme-frontier.single-post .entry-header:after{
  content:"ARSIP LENGKAP  ·  3 PASARAN  ·  DATA CENTER 24/7";
  display:block;
  margin-top:25px;
  padding:12px 15px;
  overflow:hidden;
  border:1px solid #575e63;
  border-radius:999px;
  background:rgba(4,5,5,.82);
  color:#9ea4a9;
  font-size:10px;
  font-weight:800;
  line-height:1.2;
  letter-spacing:.14em;
  text-align:center;
  white-space:nowrap;
  text-overflow:ellipsis;
}
body.wp-theme-frontier.single-post .entry-title,
body.wp-theme-frontier.single-post .entry-title a{
  max-width:1000px;
  color:#f7f8f8!important;
  font-size:clamp(38px,5.4vw,70px)!important;
  line-height:1.01!important;
  letter-spacing:-.064em!important;
}
body.wp-theme-frontier.single-post .entry-content{
  position:relative;
  padding:27px!important;
  background:
    radial-gradient(700px 360px at 100% 0,rgba(55,107,145,.12),transparent 72%),
    #050606!important;
  color:#d1d4d6!important;
}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel{
  margin:32px 0!important;
  padding:28px 30px!important;
  border:1px solid #555c61!important;
  border-left:1px solid #555c61!important;
  border-radius:17px!important;
  background:
    linear-gradient(90deg,rgba(255,255,255,.027) 1px,transparent 1px),
    linear-gradient(180deg,rgba(255,255,255,.027) 1px,transparent 1px),
    linear-gradient(145deg,#111315,#080909)!important;
  background-size:42px 42px,42px 42px,auto!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 22px 55px rgba(0,0,0,.42)!important;
}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel:before{
  left:0!important;
  right:0!important;
  top:0!important;
  bottom:auto!important;
  width:auto!important;
  height:3px!important;
  background:linear-gradient(90deg,transparent,#8fc9f1 32%,#fff 50%,#8fc9f1 68%,transparent)!important;
  box-shadow:0 0 18px rgba(91,181,245,.38)!important;
}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel h2,
body.wp-theme-frontier.single-post .entry-content>.post-text-panel h3,
body.wp-theme-frontier.single-post .entry-content>.post-text-panel h4{
  margin-top:30px!important;
  color:#f5f7f8!important;
  font-size:clamp(25px,3vw,39px)!important;
  line-height:1.16!important;
  letter-spacing:-.04em!important;
}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel h2:first-child,
body.wp-theme-frontier.single-post .entry-content>.post-text-panel h3:first-child,
body.wp-theme-frontier.single-post .entry-content>.post-text-panel h4:first-child{margin-top:0!important}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel .managed-guide-h3{font-size:clamp(21px,2.4vw,31px)!important}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel .managed-guide-h4{font-size:clamp(18px,2vw,24px)!important}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel p,
body.wp-theme-frontier.single-post .entry-content>.post-text-panel li{
  color:#c9cdd0!important;
  font-size:16px!important;
  line-height:1.8!important;
}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel a{color:#a9d7f7!important}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel blockquote{
  border-color:#687078!important;
  background:#090a0b!important;
  color:#d2d6d9!important;
}
body.wp-theme-frontier.single-post .bottom-bar{
  border-color:#393e42!important;
  background:#020303!important;
}
@media(max-width:650px){
  body.wp-theme-frontier.single-post #main{padding:12px 0 0!important}
  body.wp-theme-frontier.single-post #content>article.single-view{border-left:0!important;border-right:0!important;border-radius:0!important}
  body.wp-theme-frontier.single-post .entry-header{padding:31px 16px 22px!important}
  body.wp-theme-frontier.single-post .entry-header:before{margin-bottom:16px!important;font-size:9px!important}
  body.wp-theme-frontier.single-post .entry-header:after{margin-top:20px;padding:10px 12px;font-size:8px}
  body.wp-theme-frontier.single-post .entry-title,
  body.wp-theme-frontier.single-post .entry-title a{font-size:clamp(34px,11vw,50px)!important}
  body.wp-theme-frontier.single-post .entry-content{padding:16px!important}
  body.wp-theme-frontier.single-post .entry-content>.post-text-panel{margin:24px 0!important;padding:22px 17px!important;border-radius:13px!important}
}

/* Observatory footer — shared by every archived post and category page. */
.observatory-footer{
  position:relative;
  z-index:2;
  width:100%;
  padding:0!important;
  border:0!important;
  border-top:1px solid #34393d!important;
  background:
    radial-gradient(560px 230px at 15% 0,rgba(62,124,168,.16),transparent 72%),
    linear-gradient(180deg,#080a0b,#020303)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
  color:#aeb4b8!important;
}
.observatory-footer *{box-sizing:border-box}
.observatory-footer-grid{
  width:min(1264px,calc(100% - 48px));
  margin:0 auto;
  padding:42px 0 34px;
  display:grid;
  grid-template-columns:minmax(260px,1fr) minmax(420px,.95fr);
  gap:72px;
  align-items:start;
}
.observatory-footer-intro{max-width:430px}
.observatory-footer-brand{
  display:inline-flex!important;
  align-items:center;
  gap:13px;
  color:#f4f6f7!important;
  font-size:20px!important;
  font-weight:900!important;
  line-height:.9!important;
  letter-spacing:-.055em!important;
  text-decoration:none!important;
}
.observatory-footer-mark{
  display:grid;
  place-items:center;
  width:39px;
  height:39px;
  border:1px solid #77838b;
  border-radius:11px;
  background:linear-gradient(145deg,#242a2e,#090b0c 60%,#18354a);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 10px 28px rgba(0,0,0,.42);
  color:#fff;
  font-size:23px;
  letter-spacing:-.13em;
  transform:rotate(-7deg);
}
.observatory-footer-mark span{color:#85c9f7}
.observatory-footer-brand em{color:#9dcae9;font-style:normal}
.observatory-footer-brand small{
  display:block;
  margin-top:7px;
  color:#7f878c;
  font-size:8px;
  font-weight:800;
  letter-spacing:.23em;
}
.observatory-footer-intro p{
  max-width:390px;
  margin:21px 0 0!important;
  color:#888f94!important;
  font-size:13px!important;
  line-height:1.7!important;
}
.observatory-footer-nav{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:34px;
}
.observatory-footer-nav>div{display:grid;gap:9px}
.observatory-footer-nav strong{
  margin-bottom:4px;
  color:#747c81;
  font-size:9px;
  font-weight:800;
  letter-spacing:.18em;
}
.observatory-footer-nav a{
  width:max-content;
  max-width:100%;
  color:#d1d5d8!important;
  font-size:13px!important;
  font-weight:650!important;
  text-decoration:none!important;
}
.observatory-footer-nav a:hover{color:#9bd4fb!important}
.observatory-footer-bottom{
  width:min(1264px,calc(100% - 48px));
  min-height:55px;
  margin:0 auto;
  padding:15px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border-top:1px solid #292d30;
  color:#71787d;
  font-size:9px;
  font-weight:800;
  letter-spacing:.13em;
}
.observatory-footer-bottom span:last-child{display:flex;align-items:center;text-align:right}
.observatory-footer-bottom i{
  width:6px;
  height:6px;
  margin-right:8px;
  border-radius:50%;
  background:#69b8ea;
  box-shadow:0 0 12px rgba(105,184,234,.7);
}
@media(max-width:760px){
  .observatory-footer-grid{
    width:calc(100% - 32px);
    padding:34px 0 28px;
    grid-template-columns:1fr;
    gap:30px;
  }
  .observatory-footer-nav{gap:24px}
  .observatory-footer-bottom{
    width:calc(100% - 32px);
    align-items:flex-start;
    flex-direction:column;
    gap:9px;
    padding:17px 0 20px;
    line-height:1.55;
  }
  .observatory-footer-bottom span:last-child{text-align:left}
}

/* Border refinement: the page shell has no vertical frame.
   Only the prose panel owns a fitted border; protected Data/Paito components are excluded. */
body.wp-theme-frontier #header{
  border-left:0!important;
  border-right:0!important;
}
body.wp-theme-frontier.single-post #content>article.single-view{
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.wp-theme-frontier.single-post .entry-header,
body.wp-theme-frontier.single-post .entry-content{
  border-left:0!important;
  border-right:0!important;
}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel{
  display:flow-root!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  margin-right:0!important;
  margin-left:0!important;
  box-sizing:border-box!important;
  border:1px solid #555c61!important;
  border-radius:17px!important;
}
@media(max-width:650px){
  body.wp-theme-frontier.single-post .entry-content>.post-text-panel{border-radius:13px!important}
}

/* Remove the remaining rounded outer article frame shown in the reference image.
   The prose-panel border remains; Data Pengeluaran and Paito tables are not targeted. */
body.wp-theme-frontier #content>article,
body.wp-theme-frontier #content>.post,
body.wp-theme-frontier #content>.archive-content{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* Final root-frame reset: the legacy theme sets #container to a grey 2px border
   with rounded corners in every archived document. Remove that frame globally. */
html{background:#020303!important}
body.wp-theme-frontier #container{
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
}

/* Midnight blue + black shell palette.
   Data Pengeluaran and Paito Warna tables are intentionally not targeted. */
html,
body.wp-theme-frontier{
  background:
    radial-gradient(980px 560px at 84% 2%,rgba(0,10,145,.62),transparent 68%),
    linear-gradient(150deg,#000a91 0%,#000000 70%)!important;
}
body.wp-theme-frontier #container,
body.wp-theme-frontier #main,
body.wp-theme-frontier #content{
  background:transparent!important;
}
body.wp-theme-frontier #header{
  background:linear-gradient(135deg,#000a91 0%,#000000 76%)!important;
}
body.wp-theme-frontier .redesign-nav{
  background:linear-gradient(90deg,#000000 0%,#000a91 50%,#000000 100%)!important;
}
body.wp-theme-frontier .redesign-nav a:hover,
body.wp-theme-frontier .redesign-nav a[aria-current="page"]{
  background:#000a91!important;
  color:#ffffff!important;
}
body.wp-theme-frontier #content>article,
body.wp-theme-frontier #content>.post,
body.wp-theme-frontier #content>.archive-content,
body.wp-theme-frontier #main>.widget-sidebar,
body.wp-theme-frontier .archive-info{
  background:linear-gradient(145deg,#000a91 0%,#000000 78%)!important;
}
body.wp-theme-frontier.single-post{
  background:
    radial-gradient(880px 500px at 86% 3%,rgba(0,10,145,.68),transparent 68%),
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),
    #000000!important;
  background-size:auto,72px 72px,72px 72px,auto!important;
}
body.wp-theme-frontier.single-post .entry-header{
  background:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(135deg,#000a91 0%,#000000 76%)!important;
  background-size:46px 46px,46px 46px,auto!important;
}
body.wp-theme-frontier.single-post .entry-content{
  background:linear-gradient(180deg,#000a91 0%,#000000 42%)!important;
}
body.wp-theme-frontier.single-post .entry-content>.post-text-panel{
  background:
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(180deg,rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(145deg,#000a91 0%,#000000 80%)!important;
  background-size:42px 42px,42px 42px,auto!important;
}
body.wp-theme-frontier .bottom-bar,
.observatory-footer{
  background:linear-gradient(180deg,#000a91 0%,#000000 72%)!important;
}
@media(max-width:820px){
  body.wp-theme-frontier .redesign-nav{background:#000000!important}
}

/* Compact route selector for Live Draw and Buku Mimpi posts. */
body.wp-theme-frontier.single-post .entry-content>.post-choice-bar{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:16px;
  width:100%;
  margin:0 0 24px!important;
  padding:15px 17px;
  box-sizing:border-box;
  border:1px solid rgba(142,160,255,.48);
  border-radius:12px;
  background:linear-gradient(115deg,rgba(0,10,145,.94),rgba(0,0,0,.96) 76%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 14px 34px rgba(0,0,0,.3);
}
body.wp-theme-frontier.single-post .entry-content>.post-choice-bar label{
  min-width:78px;
  margin:0;
  color:#dce2ff;
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body.wp-theme-frontier.single-post .entry-content>.post-choice-bar select{
  width:min(100%,360px);
  height:44px;
  margin:0;
  padding:0 13px;
  border:1px solid #6976bb;
  border-radius:8px;
  outline:0;
  background:#050717;
  color:#ffffff;
  font-size:15px;
  font-weight:700;
}
body.wp-theme-frontier.single-post .entry-content>.post-choice-bar select:focus{
  border-color:#bec7ff;
  box-shadow:0 0 0 3px rgba(108,124,255,.24);
}
body.wp-theme-frontier.single-post .entry-content>.post-choice-bar option{background:#050717;color:#ffffff}
body.wp-theme-frontier.single-post .entry-content>.post-choice-bar .post-book-search{
  display:flex;
  flex:1 1 290px;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  min-width:230px;
  margin-left:auto;
}
body.wp-theme-frontier.single-post .entry-content>.post-choice-bar .post-book-search label{
  min-width:auto;
  color:#dce2ff;
}
body.wp-theme-frontier.single-post .entry-content>.post-choice-bar .post-book-search input{
  width:min(100%,310px);
  height:44px;
  margin:0;
  padding:0 13px;
  border:1px solid #6976bb;
  border-radius:8px;
  outline:0;
  background:#050717;
  color:#ffffff;
  font-size:15px;
}
body.wp-theme-frontier.single-post .entry-content>.post-choice-bar .post-book-search input::placeholder{color:#8e96bc}
body.wp-theme-frontier.single-post .entry-content>.post-choice-bar .post-book-search input:focus{border-color:#bec7ff;box-shadow:0 0 0 3px rgba(108,124,255,.24)}
body.wp-theme-frontier.single-post .entry-content>.post-choice-bar .post-search-status{min-width:58px;color:#c5ccf7;font-size:12px;font-weight:700;text-align:right}
@media(max-width:560px){
  body.wp-theme-frontier.single-post .entry-content>.post-choice-bar{align-items:stretch;flex-direction:column;gap:9px;padding:13px}
  body.wp-theme-frontier.single-post .entry-content>.post-choice-bar label{min-width:0;font-size:12px}
  body.wp-theme-frontier.single-post .entry-content>.post-choice-bar select{width:100%}
  body.wp-theme-frontier.single-post .entry-content>.post-choice-bar .post-book-search{width:100%;min-width:0;margin-left:0;align-items:stretch;flex-direction:column;gap:8px}
  body.wp-theme-frontier.single-post .entry-content>.post-choice-bar .post-book-search input{width:100%}
  body.wp-theme-frontier.single-post .entry-content>.post-choice-bar .post-search-status{min-width:0;text-align:left}
}

/* Unified PaitoData.id logo for every archived page. */
body.wp-theme-frontier #header-logo a{
  display:flex!important;
  align-items:center!important;
  width:260px!important;
  min-width:0!important;
  height:48px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.wp-theme-frontier #header-logo a:before,
body.wp-theme-frontier #header-logo a:after{display:none!important;content:none!important}
body.wp-theme-frontier #header-logo img{display:block!important;width:260px!important;max-width:100%!important;height:auto!important;max-height:48px!important;object-fit:contain!important}
.observatory-footer-brand .footer-site-logo{display:block;width:220px;max-width:100%;height:auto}
@media(max-width:650px){
  body.wp-theme-frontier #header-logo a{width:205px!important;height:43px!important}
  body.wp-theme-frontier #header-logo img{width:205px!important;max-height:43px!important}
}

/* Copyright-only footer used across every archived page. */
body.wp-theme-frontier .minimal-footer{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:52px!important;
  margin:0!important;
  padding:17px 20px!important;
  border:0!important;
  border-top:1px solid rgba(88,103,255,.72)!important;
  border-bottom:1px solid rgba(0,10,145,.92)!important;
  border-radius:0!important;
  background:#000000!important;
  box-shadow:none!important;
  color:#8f969e!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.12em!important;
  line-height:1.6!important;
  text-align:center!important;
}

/* Rounded hamburger navigation shared by every archived page. */
body.wp-theme-frontier .site-menu-toggle{
  position:relative!important;
  z-index:142!important;
  display:none!important;
  place-content:center!important;
  width:52px!important;
  height:52px!important;
  flex:0 0 52px!important;
  gap:5px!important;
  margin:0 0 0 auto!important;
  padding:0!important;
  border:2px solid #b7bdc2!important;
  border-radius:18px!important;
  outline:0!important;
  background:#030404!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 24px rgba(0,0,0,.38)!important;
}
body.wp-theme-frontier .site-menu-toggle>span{
  display:block!important;
  width:24px!important;
  height:3px!important;
  border-radius:999px!important;
  background:#ffffff!important;
  transform-origin:center!important;
  transition:transform .2s,opacity .2s!important;
}
body.wp-theme-frontier .site-menu-toggle[aria-expanded="true"]>span:nth-child(1){transform:translateY(8px) rotate(45deg)!important}
body.wp-theme-frontier .site-menu-toggle[aria-expanded="true"]>span:nth-child(2){opacity:0!important}
body.wp-theme-frontier .site-menu-toggle[aria-expanded="true"]>span:nth-child(3){transform:translateY(-8px) rotate(-45deg)!important}
body.wp-theme-frontier .site-menu-toggle:hover{border-color:#ffffff!important;background:#090a0b!important}
body.wp-theme-frontier .site-menu-toggle:focus-visible{box-shadow:0 0 0 3px rgba(94,109,255,.48),inset 0 1px 0 rgba(255,255,255,.08)!important}
html.site-menu-ready body.wp-theme-frontier #header{display:flex!important;align-items:center!important}
html.site-menu-ready body.wp-theme-frontier .site-menu-toggle{display:grid!important}
html.site-menu-ready body.wp-theme-frontier .redesign-nav.site-main-menu{
  position:absolute!important;
  top:78px!important;
  right:18px!important;
  left:auto!important;
  z-index:140!important;
  display:none!important;
  width:min(286px,calc(100vw - 32px))!important;
  height:auto!important;
  margin:0!important;
  padding:11px!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:5px!important;
  border:1px solid #555fc8!important;
  border-radius:15px!important;
  background:linear-gradient(155deg,#06091d,#000000 74%)!important;
  box-shadow:0 22px 55px rgba(0,0,0,.72),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
html.site-menu-ready body.wp-theme-frontier .redesign-nav.site-main-menu.is-open{display:flex!important}
html.site-menu-ready body.wp-theme-frontier .redesign-nav.site-main-menu a{
  display:block!important;
  width:100%!important;
  padding:12px 13px!important;
  border:1px solid transparent!important;
  border-radius:9px!important;
  background:transparent!important;
  color:#d8dcef!important;
  font-size:13px!important;
  font-weight:750!important;
  text-align:left!important;
}
html.site-menu-ready body.wp-theme-frontier .redesign-nav.site-main-menu a:hover,
html.site-menu-ready body.wp-theme-frontier .redesign-nav.site-main-menu a:focus-visible{
  border-color:#4651bc!important;
  background:linear-gradient(90deg,#000a91,#090b1b)!important;
  color:#ffffff!important;
  outline:0!important;
}
@media(max-width:820px){
  html.site-menu-ready body.wp-theme-frontier #header{justify-content:space-between!important}
  body.wp-theme-frontier .site-menu-toggle{width:48px!important;height:48px!important;flex-basis:48px!important;border-radius:16px!important}
  html.site-menu-ready body.wp-theme-frontier .redesign-nav.site-main-menu{top:70px!important;right:10px!important;left:10px!important;width:auto!important}
}

/* Latest database result shown above the external Live Draw frame. */
body.wp-theme-frontier .live-database-result{
  box-sizing:border-box;
  display:grid;
  grid-template-columns:minmax(190px,.9fr) minmax(270px,1.25fr) minmax(220px,1fr);
  align-items:center;
  gap:18px 28px;
  width:100%;
  margin:18px 0 22px;
  min-height:146px;
  padding:25px 28px;
  border:1px solid #3b4757;
  border-radius:14px;
  background:linear-gradient(135deg,#111823 0%,#080b11 72%,#07174b 145%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 16px 38px rgba(0,0,0,.34);
  color:#f4f7fb;
}
body.wp-theme-frontier .live-database-result[hidden]{display:none!important}
body.wp-theme-frontier .live-database-result__heading{display:grid;gap:4px;min-width:0}
body.wp-theme-frontier .live-database-result__heading span{color:#8493a8!important;font-size:11px;font-weight:850;letter-spacing:.13em}
body.wp-theme-frontier .live-database-result__heading strong{color:#ffffff!important;font-size:23px;font-weight:850;letter-spacing:-.02em}
body.wp-theme-frontier .live-database-result__balls{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}
body.wp-theme-frontier .live-database-result__balls span{
  --ball-color:#167f8d;
  --ball-tilt:0deg;
  --ball-number-size:19px;
  box-sizing:border-box;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:grid;
  place-items:center;
  width:56px;
  height:56px;
  flex:0 0 56px;
  border:1px solid rgba(255,255,255,.68);
  border-radius:49% 51% 47% 53% / 52% 47% 53% 48%;
  background:radial-gradient(circle at 28% 17%,rgba(255,255,255,.98) 0 4%,rgba(255,255,255,.45) 5%,transparent 17%),linear-gradient(145deg,rgba(255,255,255,.28) 0 16%,transparent 17% 64%,rgba(0,0,0,.18) 65% 78%,transparent 79%),radial-gradient(circle at 36% 28%,rgba(255,255,255,.34),rgba(255,255,255,.05) 28%,rgba(0,0,0,.2) 66%,rgba(0,0,0,.58) 100%),var(--ball-color);
  box-shadow:inset -6px -8px 13px rgba(0,0,0,.4),inset 3px 3px 6px rgba(255,255,255,.2),0 8px 15px rgba(0,0,0,.55);
  color:transparent!important;
  font-size:0;
  font-weight:950;
  line-height:1;
  transform:rotate(var(--ball-tilt));
}
body.wp-theme-frontier .live-database-result__balls span::before{content:attr(data-ball);position:absolute;z-index:2;inset:19%;display:grid;place-items:center;border:1px solid rgba(100,100,96,.2);border-radius:52% 48% 50% 50% / 48% 52% 48% 52%;background:radial-gradient(circle at 35% 27%,#fff 0 19%,#f8f8f5 42%,#dfdfdb 76%,#bcbdbb 100%);box-shadow:inset 2px 2px 4px rgba(255,255,255,.82),inset -3px -4px 6px rgba(0,0,0,.16),0 1px 3px rgba(0,0,0,.25);color:#111214;font-size:var(--ball-number-size);font-weight:950;line-height:1;text-shadow:0 1px 0 #fff}
body.wp-theme-frontier .live-database-result__balls span::after{content:"";position:absolute;z-index:1;inset:-1px;border-radius:inherit;background:radial-gradient(circle at 48% -8%,#fafaf7 0 10%,#d5d5d1 11% 14%,transparent 15%),radial-gradient(circle at 108% 58%,#fafaf7 0 12%,#d3d3d0 13% 16%,transparent 17%),radial-gradient(circle at -7% 73%,#f7f7f4 0 10%,#d0d0cd 11% 14%,transparent 15%),linear-gradient(62deg,transparent 0 71%,rgba(255,255,255,.16) 72% 82%,transparent 83%);pointer-events:none}
body.wp-theme-frontier .live-database-result__balls span[data-ball="0"]{--ball-color:#eceeed;--ball-tilt:3deg}
body.wp-theme-frontier .live-database-result__balls span[data-ball="1"]{--ball-color:#f2cf00;--ball-tilt:-5deg}
body.wp-theme-frontier .live-database-result__balls span[data-ball="2"]{--ball-color:#0875ba;--ball-tilt:4deg}
body.wp-theme-frontier .live-database-result__balls span[data-ball="3"]{--ball-color:#0a9f48;--ball-tilt:-3deg}
body.wp-theme-frontier .live-database-result__balls span[data-ball="4"]{--ball-color:#f1880b;--ball-tilt:5deg}
body.wp-theme-frontier .live-database-result__balls span[data-ball="5"]{--ball-color:#252629;--ball-tilt:-4deg}
body.wp-theme-frontier .live-database-result__balls span[data-ball="6"]{--ball-color:#a51aa6;--ball-tilt:4deg}
body.wp-theme-frontier .live-database-result__balls span[data-ball="7"]{--ball-color:#8d2d1f;--ball-tilt:-2deg}
body.wp-theme-frontier .live-database-result__balls span[data-ball="8"]{--ball-color:#0aa9a0;--ball-tilt:3deg}
body.wp-theme-frontier .live-database-result__balls span[data-ball="9"]{--ball-color:#dc1d29;--ball-tilt:-4deg}
body.wp-theme-frontier .live-database-result__footer{display:grid;justify-items:end;gap:7px;min-width:0}
body.wp-theme-frontier .live-database-result__footer time{color:#dbe5f3!important;font-size:13px;font-weight:750}
body.wp-theme-frontier .live-database-result__footer nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}
body.wp-theme-frontier .live-database-result__footer a{display:inline-flex;padding:7px 10px;border:1px solid #40516a;border-radius:8px;background:#121c2a;color:#bad3ff!important;font-size:11px;font-weight:800;text-decoration:none!important}
body.wp-theme-frontier .live-database-result__footer a:hover{border-color:#6e9be2;background:#1a2a40;color:#fff!important}
body.wp-theme-frontier .live-database-result__status{grid-column:1/-1;color:#78869a!important;font-size:10px;text-align:right}
@media(max-width:900px){
  body.wp-theme-frontier .live-database-result{grid-template-columns:1fr 1fr;gap:14px;padding:16px}
  body.wp-theme-frontier .live-database-result__heading{grid-column:1/-1;text-align:center}
  body.wp-theme-frontier .live-database-result__footer{justify-items:center}
  body.wp-theme-frontier .live-database-result__footer nav{justify-content:center}
  body.wp-theme-frontier .live-database-result__status{text-align:center}
}
@media(max-width:480px){
  body.wp-theme-frontier .live-database-result{grid-template-columns:1fr}
  body.wp-theme-frontier .live-database-result__heading{grid-column:auto}
  body.wp-theme-frontier .live-database-result__balls{gap:5px}
  body.wp-theme-frontier .live-database-result__balls span{--ball-number-size:15px;width:44px;height:44px;flex-basis:44px;font-size:0}
  body.wp-theme-frontier .live-database-result__status{grid-column:auto}
}

/* Larger responsive frame for each Live Draw source. */
body.wp-theme-frontier.single-post .entry-content:has(> .post-choice-bar select[id^="live-draw-market-"])>.post-table-panel{
  width:100%!important;
  max-width:100%!important;
  margin:24px 0 30px!important;
  padding:10px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
body.wp-theme-frontier.single-post .entry-content:has(> .post-choice-bar select[id^="live-draw-market-"])>.post-table-panel center{
  display:block!important;
  width:100%!important;
  margin:0!important;
}
body.wp-theme-frontier.single-post .entry-content:has(> .post-choice-bar select[id^="live-draw-market-"])>.post-table-panel iframe{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  border:0!important;
  border-radius:10px;
  background:#000000;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  touch-action:pan-y;
  scrollbar-gutter:stable;
  -webkit-overflow-scrolling:touch;
}
body.wp-theme-frontier.single-post .entry-content:has(#live-draw-market-sdy)>.post-table-panel iframe[src*="live-draw-sdy"]{height:620px!important}
body.wp-theme-frontier.single-post .entry-content:has(#live-draw-market-sgp)>.post-table-panel iframe[src*="live-draw-sgp"]{height:720px!important}
body.wp-theme-frontier.single-post .entry-content:has(#live-draw-market-sgp)>.post-table-panel iframe[src*="live-sgp-toto"]{height:560px!important}
body.wp-theme-frontier.single-post .entry-content:has(#live-draw-market-hk)>.post-table-panel iframe[src*="live-draw-hk"]{height:720px!important}
@media(max-width:900px){
  body.wp-theme-frontier.single-post .entry-content:has(#live-draw-market-sdy)>.post-table-panel iframe[src*="live-draw-sdy"]{height:580px!important}
  body.wp-theme-frontier.single-post .entry-content:has(#live-draw-market-sgp)>.post-table-panel iframe[src*="live-draw-sgp"]{height:680px!important}
  body.wp-theme-frontier.single-post .entry-content:has(#live-draw-market-sgp)>.post-table-panel iframe[src*="live-sgp-toto"]{height:540px!important}
  body.wp-theme-frontier.single-post .entry-content:has(#live-draw-market-hk)>.post-table-panel iframe[src*="live-draw-hk"]{height:680px!important}
}
@media(max-width:560px){
  body.wp-theme-frontier.single-post .entry-content:has(> .post-choice-bar select[id^="live-draw-market-"])>.post-table-panel{padding:0!important;border-left:0!important;border-right:0!important;border-radius:0!important}
  body.wp-theme-frontier.single-post .entry-content:has(> .post-choice-bar select[id^="live-draw-market-"])>.post-table-panel iframe{border-radius:0}
  body.wp-theme-frontier.single-post .entry-content:has(#live-draw-market-sdy)>.post-table-panel iframe[src*="live-draw-sdy"]{height:540px!important}
  body.wp-theme-frontier.single-post .entry-content:has(#live-draw-market-sgp)>.post-table-panel iframe[src*="live-draw-sgp"]{height:650px!important}
  body.wp-theme-frontier.single-post .entry-content:has(#live-draw-market-sgp)>.post-table-panel iframe[src*="live-sgp-toto"]{height:520px!important}
  body.wp-theme-frontier.single-post .entry-content:has(#live-draw-market-hk)>.post-table-panel iframe[src*="live-draw-hk"]{height:650px!important}
}
