/* Approved user-screen reference: light page, landscape hero, cards and two boards. */
html:has(body.reference-home){background:#fff;color-scheme:light}
html body.reference-home{background:#fff!important;color:#23342f!important}
body.reference-home::before{display:none}
body.reference-home>header{position:relative;background:#fff!important;backdrop-filter:none;border-radius:0;border-bottom:1px solid #dedfda;min-height:78px}
body.reference-home>header .wrap{max-width:1680px;margin:auto;gap:10px;padding:14px 20px;justify-content:space-between;flex-wrap:nowrap}
body.reference-home>header nav{flex:1;justify-content:flex-start;align-items:stretch;gap:7px;flex-wrap:wrap}
html body.reference-home>header nav>:is(a,button){background:transparent!important;color:#243730!important;text-shadow:none!important;border:1px solid #b2b8b5!important;box-shadow:none!important;border-radius:4px;padding:6px 10px;min-height:48px;font-family:inherit;font-weight:600;font-size:14px;line-height:1.4;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;text-decoration:none}
html body.reference-home>header nav>:is(a,button):hover{background:#eef2ef!important;border-color:#7e9388!important;box-shadow:none!important}
body.reference-home>header .en{font-size:9px;color:#65736c!important;margin-top:3px}
body.reference-home>header .language-control{color:#45574d!important;text-shadow:none!important;font-size:11px;flex-shrink:0}
body.reference-home>header .language-control select{color:#2e4437!important;background:#f5f7f5!important;border-color:#b9c5bc!important;max-width:150px}
body.reference-home>header .language-control option{background:#fff;color:#23342f}
body.reference-home .world-home-layout{max-width:1680px;gap:14px;padding:0 16px;align-items:start}
body.reference-home .compact-home{background:#fff!important;color:#243730;--ink:#243730;--muted:#65736c;--line:#d9dfda;padding-bottom:14px}
body.reference-home .compact-hero{margin:14px 0 20px;min-height:320px;padding:28px 14px;background:linear-gradient(#09232708,#09232735),url('assets/oguk-landscape-expanded-20261023.png') center/cover no-repeat!important;border:1px solid #d6dfd9;border-radius:2px;color:#fff;gap:9px}
body.reference-home .compact-hero h1{font-size:58px;text-shadow:0 2px 4px #092327,0 0 18px #092327}
body.reference-home .compact-hero h1 .en{font-size:27px;font-family:Georgia,serif;letter-spacing:3px;color:#fff!important}
body.reference-home .compact-hero .compact-tagline{background:#0923278c;color:#fff;border-radius:4px;text-shadow:0 1px 2px #000;padding:6px 12px}
body.reference-home .compact-hero .compact-kicker{color:#fff;text-shadow:0 1px 2px #000}
html body.reference-home .compact-hero .compact-explore{background:#102a3580!important;border:1px solid #d2d6d4!important;color:#fff!important;box-shadow:none!important;border-radius:4px;padding:9px 24px}
body.reference-home .compact-services{padding:0 0 18px}
body.reference-home .world-home-layout .hero-services.compact-primary{gap:12px}
html body.reference-home .hero-services.compact-primary>.compact-tile{background:transparent!important;color:#243730!important;border:1px solid #aeb9b1!important;box-shadow:0 2px 7px #233a3012!important;border-radius:8px;min-height:196px;text-shadow:none!important;backdrop-filter:none}
html body.reference-home .hero-services.compact-primary>.compact-tile:hover{border-color:#668775!important;box-shadow:0 5px 12px #233a3020!important;background:#f6f8f5!important}
body.reference-home .compact-tile strong{color:#243730;text-shadow:none!important;font-size:16px;padding:12px 5px}
body.reference-home .compact-tile strong .en{color:#66746c!important;font-size:10px}
body.reference-home .tile-art{height:120px;flex-basis:120px;border-bottom:1px solid #dfe5df}
body.reference-home .tile-art.text-art{background:linear-gradient(145deg,#f3ede0,#e1d7bd);color:#63512b;font-size:40px;text-shadow:none!important}
body.reference-home .tile-art.text-art>span{color:#75613c!important;font-size:12px}
body.reference-home .tile-art.character-art img{object-fit:contain;object-position:center}
#characterMemberDialog{background:#f4f5f2;color:#243730;border:1px solid #89978f;border-radius:8px}
#characterMemberDialog p{color:#34473d;line-height:1.8}
#characterMemberDialog .actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
#characterMemberDialog :is(a,button){border:1px solid #89978f;background:transparent;color:#243730;border-radius:4px;padding:8px 16px}
body.reference-home .compact-secondary{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
html body.reference-home .compact-secondary>:is(a,button){background:transparent!important;color:#31483b!important;border:1px solid #afbdb2!important;box-shadow:none!important;text-shadow:none!important;border-radius:5px;min-height:56px;font-size:13px}
html body.reference-home .compact-secondary>:is(a,button):hover{background:#edf3ed!important;border-color:#718b79!important;box-shadow:none!important}
body.reference-home .compact-secondary .en{color:#718075!important;font-size:10px}
body.reference-home .compact-boards{gap:0;border-top:1px solid #e2e7e2;padding-top:10px}
html body.reference-home .compact-boards .home-board{background:#fff!important;backdrop-filter:none;border:0;border-radius:0;padding:14px 16px;min-width:0;color:#283c30}
html body.reference-home .compact-boards .home-board+.home-board{border-left:1px solid #e1e7e1}
body.reference-home .board-heading{border-bottom:1px solid #d9e2d9;padding-bottom:12px}
body.reference-home .board-heading h2{color:#263c2d;text-shadow:none!important;font-size:22px}
body.reference-home .board-heading h2 .en{color:#778479!important;font-size:10px}
html body.reference-home .board-heading :is(a,button){background:transparent!important;color:#38523f!important;border:1px solid #b6c4b8!important;box-shadow:none!important;text-shadow:none!important}
body.reference-home :is(#homeNoticePreview,#homeNoticePreview p,.resource-list a,.resource-list .en){color:#425548!important;text-shadow:none!important}
body.reference-home #homeNoticePreview small{color:#7b877e!important}
body.reference-home .resource-list a{border-color:#edf0ec;padding:7px 0}
body.reference-home .resource-list a:hover{color:#176a3d!important}
body.reference-home .world-ad-rail{margin-top:14px;position:static}
html body.reference-home .world-ad-slot{background:#f3f6f2!important;color:#425848!important;border:1px solid #bcc7bd!important;box-shadow:none!important;backdrop-filter:none;text-shadow:none!important;height:135px}
html body.reference-home .world-ad-slot:hover{background:#eaf1e8!important;box-shadow:none!important}
html body.reference-home .world-ad-slot :is(strong,small,span){color:#425848!important;text-shadow:none!important}
body.reference-home .world-ad-mark{font-weight:600;letter-spacing:1px}
body.reference-home>footer{max-width:1648px;margin:6px auto 0;border-top:1px solid #dde4dc;background:#f8faf7!important;color:#52614f;border-radius:0;padding:22px 0}
body.reference-home>footer .wrap{padding:0 24px;gap:25px}
body.reference-home>footer .company-wordmark{font-size:22px;color:#284a32!important;text-shadow:none!important}
body.reference-home>footer .company-wordmark .en{color:#60715f!important}
html body.reference-home>footer :is(a,span,p,div){text-shadow:none!important}
html body.reference-home>footer .company-brand-link{background:transparent!important;border:1px solid #afbfae!important;box-shadow:none!important;color:#3d563e!important;text-shadow:none!important}
html body.reference-home>footer a[href="admin.html"]{background:transparent!important;color:#3f5841!important;border:1px solid #aebfac!important;box-shadow:none!important;text-shadow:none!important}
@media(max-width:1250px){body.reference-home>header .wrap{flex-wrap:wrap}body.reference-home>header nav{flex-basis:100%;gap:6px}body.reference-home>header .language-control{margin-left:auto}body.reference-home .compact-secondary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){body.reference-home .compact-hero{min-height:285px}body.reference-home .compact-hero h1{font-size:49px}body.reference-home .compact-boards{gap:8px}html body.reference-home .compact-boards .home-board+.home-board{border-left:0;border-top:1px solid #e1e7e1}body.reference-home .compact-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body.reference-home>header .wrap{padding:10px 12px;gap:10px}body.reference-home>header nav{gap:5px}html body.reference-home>header nav>:is(a,button){padding:5px 7px;font-size:12px;min-height:44px}body.reference-home>header nav .en{font-size:8px}body.reference-home .world-home-layout{padding:0 4px;gap:6px}body.reference-home .compact-hero{margin-top:10px;margin-bottom:12px;min-height:245px;padding:18px 4px}body.reference-home .compact-hero h1{font-size:36px}body.reference-home .compact-hero h1 .en{font-size:18px;letter-spacing:1px}body.reference-home .compact-hero .compact-tagline{font-size:13px;padding:5px 6px}body.reference-home .compact-hero .compact-explore{padding:8px 10px!important;font-size:12px}body.reference-home .world-home-layout .hero-services.compact-primary{gap:7px}body.reference-home .tile-art{height:90px;flex-basis:90px}html body.reference-home .hero-services.compact-primary>.compact-tile{min-height:151px}body.reference-home .compact-tile strong{font-size:12px;padding:9px 3px}body.reference-home .compact-tile strong .en{font-size:9px}body.reference-home .tile-art.text-art{font-size:28px}body.reference-home .tile-art.text-art>span{font-size:9px}body.reference-home .compact-secondary>:is(a,button){font-size:11px!important}body.reference-home .compact-secondary .en{font-size:9px}html body.reference-home .compact-boards .home-board{padding:12px 6px}body.reference-home .world-ad-slot{height:135px!important}body.reference-home>footer .wrap{padding:0 16px}body.reference-home>footer .company-wordmark{font-size:20px}}

/* Show the entire approved image; keep its caption at the lower right. */
body.reference-home .compact-hero{position:relative;display:block;container-type:inline-size;min-height:0!important;height:auto!important;padding:0!important;background:transparent!important;overflow:hidden}
body.reference-home .compact-hero .hero-landscape{display:block;width:100%;height:auto;object-fit:contain}
body.reference-home .compact-hero .hero-copy{position:absolute;right:2%;bottom:3.5%;max-width:70%;display:flex;flex-direction:column;align-items:flex-end;text-align:right;gap:4px;padding:12px 16px;border-radius:5px;background:linear-gradient(130deg,#10262755,#102627ad);color:#fff}
body.reference-home .compact-hero .compact-kicker{font-size:clamp(8px,1.1cqw,12px);letter-spacing:1.5px;margin:0}
body.reference-home .compact-hero h1{font-size:clamp(18px,4cqw,42px);line-height:1.15;margin:0;letter-spacing:0;text-align:right}
body.reference-home .compact-hero h1 .en{font-size:clamp(10px,1.8cqw,21px);line-height:1.25;margin-top:4px;letter-spacing:1.4px}
body.reference-home .compact-hero .compact-tagline{font-size:clamp(10px,1.5cqw,16px);line-height:1.4;padding:3px 0 0;background:transparent;text-align:right}
body.reference-home .compact-hero .compact-tagline .en{font-size:clamp(8px,1.1cqw,12px);margin-top:3px;line-height:1.35}
@media(max-width:700px){body.reference-home .compact-hero .hero-copy{right:2.5%;bottom:4%;max-width:78%;padding:6px 8px;gap:2px}body.reference-home .compact-hero .compact-kicker{font-size:7px;letter-spacing:.7px}body.reference-home .compact-hero h1{font-size:clamp(16px,5cqw,24px)}body.reference-home .compact-hero h1 .en{font-size:clamp(9px,2.8cqw,12px);margin-top:2px;letter-spacing:.5px}body.reference-home .compact-hero .compact-tagline{font-size:clamp(8px,2.8cqw,11px);padding-top:2px}body.reference-home .compact-hero .compact-tagline .en{font-size:7px;margin-top:2px}}

/* Retain approved empty positions without visible or focusable controls. */
html body.reference-home [data-home-empty]{visibility:visible!important;pointer-events:auto!important;cursor:pointer}
html body.reference-home [data-home-empty]>*{visibility:hidden!important}

/* Fill the Space Baduk banner with its board and retain only the domain. */
html body.reference-home .world-ad-slot.space-home-banner{display:grid;grid-template-rows:minmax(0,1fr) 22px;padding:0;gap:0;overflow:hidden;--board-background:#d4dce2;background:var(--board-background)!important}
html body.reference-home .space-home-banner img{display:block;width:100%;height:100%;max-height:none;min-height:0;object-fit:cover;object-position:center;border:0}
html body.reference-home .space-home-banner .banner-domain{display:flex;align-items:center;justify-content:center;width:100%;height:22px;margin:0;background:#f3f6f2;font:11px/1.2 Arial,sans-serif}

/* Rails follow the hero top and the character card bottom, including responsive reflow. */
html body.reference-home .world-ad-rail{grid-template-rows:repeat(5,minmax(0,1fr))}
html body.reference-home .world-ad-rail .world-ad-slot{height:auto!important;min-height:0}
html body.reference-home .space-home-banner{position:relative}
html body.reference-home .space-home-banner .space-board-rotation{display:block;grid-area:1/1;width:100%;height:100%;min-width:0;min-height:0;background:var(--board-background,#d4dce2)}
html body.reference-home .space-home-banner img{grid-area:1/1;z-index:1}
html body.reference-home .space-home-banner.board-ready img{display:none}
html body.reference-home .space-home-banner .banner-domain{grid-area:2/1;font-size:clamp(7px,.85vw,11px)}
@media(max-width:700px){
html body.reference-home .world-ad-rail .world-ad-slot{padding:3px 1px;gap:1px;overflow:hidden}
html body.reference-home .world-ad-rail .world-ad-mark{font-size:12px;line-height:1}
html body.reference-home .world-ad-rail .world-ad-slot strong{font-size:8px;line-height:1.1}
html body.reference-home .world-ad-rail .world-ad-slot small{font-size:7px;line-height:1.1}
html body.reference-home .world-ad-rail .world-ad-slot .en{font-size:6px!important;line-height:1.1;margin-top:1px}
html body.reference-home .world-ad-rail .space-home-banner{padding:0;gap:0;grid-template-rows:minmax(0,1fr) 16px}
html body.reference-home .space-home-banner .banner-domain{height:16px;font-size:6px!important;white-space:nowrap}
}

/* Homepage dialogs use the same readable controls as the linked pages. */
html body.reference-home :is(#homeContentDialog,#details){background:#17262ef5!important;color:#fff!important;border:2px solid #bfc4c9!important}
html body.reference-home :is(#homeContentDialog,#details) :is(button,a.button,.element-strip a){background:rgba(33,43,49,.9)!important;color:#fff!important;border:2px solid #bfc4c9!important;text-shadow:0 1px 2px #000!important}
html body.reference-home :is(#homeContentDialog,#details) :is(p,li,h2,h3,small){color:#fff!important}

/* Earth male/female pairs: larger art, quieter labels, existing light card background. */
body.reference-home .world-home-layout .hero-services.compact-primary{grid-template-columns:repeat(3,minmax(0,1fr)) repeat(2,minmax(0,.4fr))}
html body.reference-home .hero-services.compact-primary>.earth-character-card{background:#e9eae3!important;justify-content:center;min-height:228px;padding:3px 0 6px}
.earth-character-pair{display:flex;align-items:center;justify-content:center;width:100%;height:194px;min-width:0;overflow:hidden}
.earth-character-pair img{display:block;width:50%;height:100%;min-width:0;object-fit:contain;object-position:center;background:#e9eae3}
.earth-character-label{display:block;text-align:center;line-height:1.25;font-weight:600;color:#243730;text-shadow:none}
.earth-character-label .ko{display:block;font-size:11px}.earth-character-label .en{display:block;font-size:8px;color:#65736c!important}
@media(max-width:700px){body.reference-home .world-home-layout .hero-services.compact-primary{grid-template-columns:repeat(3,minmax(0,1fr))}html body.reference-home .hero-services.compact-primary>.earth-character-card{min-height:170px}.earth-character-pair{height:138px}.earth-character-label .ko{font-size:10px}.earth-character-label .en{font-size:7px}html body.reference-home .hero-services.compact-primary>[data-home-empty]{min-height:44px}}

/* Art fills the card; captions take one compact strip. */
body.reference-home .world-home-layout .hero-services.compact-primary{grid-template-columns:repeat(3,minmax(0,1fr)) repeat(2,minmax(0,.16fr))}
html body.reference-home .hero-services.compact-primary>.earth-character-card{padding:0;justify-content:flex-start;min-height:228px}
.earth-character-pair{height:208px;flex:1 1 auto}
.banner-figure{display:block;flex:0 0 50%;height:100%;min-width:0;overflow:hidden}
.earth-character-pair .banner-figure img{width:100%;height:100%;object-fit:contain;transform:scale(1.12);transform-origin:center 46%}
.earth-character-label{flex:none;width:100%;height:18px;line-height:1.05;padding:0}
.earth-character-label .ko{font-size:9px!important;margin:0!important}.earth-character-label .en{font-size:7px!important;margin:0!important}
@media(max-width:700px){body.reference-home .world-home-layout .hero-services.compact-primary{grid-template-columns:repeat(3,minmax(0,1fr))}html body.reference-home .hero-services.compact-primary>.earth-character-card{min-height:162px}.earth-character-pair{height:142px}}

/* Empty placeholders removed: three balanced image cards and two useful links. */
html body.reference-home .world-home-layout .hero-services.compact-primary{grid-template-columns:repeat(3,minmax(0,1fr))}
html body.reference-home .compact-secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}

/* High-contrast, aligned homepage navigation controls. */
body.reference-home>header nav{flex-wrap:nowrap;align-items:stretch;gap:5px}
html body.reference-home>header nav>:is(a,button){background:#176b50!important;color:#fff!important;border:2px solid #0e503a!important;box-shadow:0 2px 4px #10271c24!important;min-height:52px;height:52px;box-sizing:border-box;line-height:1.2;text-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html body.reference-home>header nav>:is(a,button):hover{background:#0e503a!important;border-color:#083b2a!important}
body.reference-home>header nav .en{color:#e8f4ec!important}
@media(max-width:1250px){body.reference-home>header nav{flex-wrap:wrap}}
