/* Council of the Empire. Native Socium DOM, IDs, state and actions are retained. */
body:not(.crime-mode) #screen-game .socium-council{--sc-ink:#254432;--sc-gold:#ba9857;--sc-line:#d5bd86;position:relative;padding:20px;border:1px solid #b28d44;border-radius:12px;background:linear-gradient(#082a1d29,#082a1d88),url('../img/rating-hall-background.webp') center top/auto 1000px no-repeat,#0c2e22;color:var(--sc-ink);font:14px/1.5 system-ui,sans-serif;max-width:100%}
body:not(.crime-mode) #screen-game .socium-council *,body:not(.crime-mode) #screen-game .socium-council *::before,body:not(.crime-mode) #screen-game .socium-council *::after,#modal-box.socium-dialog *,#modal-box.socium-dialog *::before{box-sizing:border-box;min-width:0}
body:not(.crime-mode) #screen-game .socium-council .sc-heading{display:flex;align-items:center;gap:20px;padding:0 12px 16px;color:#f4dfa9;text-shadow:0 1px 4px #0008}
body:not(.crime-mode) #screen-game .socium-council .sc-heading h2{font:700 32px/1.2 Georgia,serif;color:#f4dfa9;margin:0 0 8px;overflow-wrap:anywhere}
body:not(.crime-mode) #screen-game .socium-council .sc-status{display:inline-block;color:#e6d0a0;font-size:12px;line-height:1.4}
body:not(.crime-mode) #screen-game .socium-council .sc-seal{position:relative;display:block;width:105px;height:105px;flex:0 0 105px;background:url('../img/rating-hall-frame.png') center/contain no-repeat}
body:not(.crime-mode) #screen-game .socium-council .sc-seal>span{position:absolute;left:23%;top:29%;width:54%;height:54%;border-radius:50%;display:flex;align-items:center;justify-content:center;background:radial-gradient(#36533c,#113323);color:#dabc7a}
body:not(.crime-mode) #screen-game .socium-council .sc-seal svg{width:30px;height:30px}
body:not(.crime-mode) #screen-game .socium-council .sc-seal svg [fill]:not([fill=none]){fill:#c9a66a!important}
body:not(.crime-mode) #screen-game .socium-council .sc-seal svg [stroke]:not([stroke=none]){stroke:currentColor!important}
body:not(.crime-mode) #screen-game .socium-council .sc-body{color:var(--sc-ink);min-width:0}
body:not(.crime-mode) #screen-game .socium-council .sc-body>h3:first-child{display:none}
body:not(.crime-mode) #screen-game .socium-council.sc-party-guest .sc-body>div:first-child>h3{display:none}
body:not(.crime-mode) #screen-game .socium-council.sc-party-guest .sc-body>div:first-child{justify-content:flex-end!important;margin-bottom:8px!important}
body:not(.crime-mode) #screen-game .socium-council .sc-body>.card,body:not(.crime-mode) #screen-game .socium-council .sc-body div[style*="background"][style*="padding"]{background:linear-gradient(120deg,#fffdf3,#f6ecd6)!important;color:var(--sc-ink)!important;border-color:var(--sc-line)!important;border-radius:9px!important;box-shadow:0 2px 5px #07281914}
body:not(.crime-mode) #screen-game .socium-council .sc-body>.card,body:not(.crime-mode) #screen-game .socium-council .sc-body>div[style*="background"][style*="padding"]{border:1px solid var(--sc-line)!important;padding:18px!important;margin-bottom:14px!important;box-shadow:inset 0 0 0 2px #fff7e5,0 2px 5px #0002}
body:not(.crime-mode) #screen-game .socium-council .sc-body :is(h2,h3,h4){font-family:Georgia,serif!important;color:#254432!important;line-height:1.3;overflow-wrap:anywhere}
body:not(.crime-mode) #screen-game .socium-council .sc-body h2{font-size:27px!important}
body:not(.crime-mode) #screen-game .socium-council .sc-body h3{font-size:23px!important}
body:not(.crime-mode) #screen-game .socium-council .sc-body>h4{color:#f0dca6!important;font-size:21px;margin:18px 0 12px!important}
body:not(.crime-mode) #screen-game .socium-council .sc-body :is([style*="font-size:0.5em"],[style*="font-size:0.55em"],[style*="font-size:0.6em"],[style*="font-size:0.65em"],[style*="font-size:0.7em"],[style*="font-size:0.75em"]),#modal-box.socium-dialog :is([style*="font-size:0.5em"],[style*="font-size:0.55em"],[style*="font-size:0.6em"],[style*="font-size:0.65em"],[style*="font-size:0.7em"],[style*="font-size:0.75em"]){font-size:12px!important;line-height:1.5!important}
body:not(.crime-mode) #screen-game .socium-council :is(button,.btn),#modal-box.socium-dialog button{min-height:44px!important;min-width:44px;max-width:100%;padding:10px 13px!important;border:1px solid #b7995e!important;border-radius:6px!important;background:linear-gradient(#f4dfaa,#d1b376)!important;color:#4c3a1e!important;font:600 13px/1.35 system-ui,sans-serif!important;white-space:normal!important;overflow-wrap:anywhere;box-shadow:inset 0 1px #fff7d8,0 2px 4px #795b2520;cursor:pointer}
body:not(.crime-mode) #screen-game .socium-council :is(button,.btn):hover,#modal-box.socium-dialog button:hover{box-shadow:inset 0 1px #fff7d8,0 2px 8px #795b2540}
body:not(.crime-mode) #screen-game .socium-council button:focus-visible,#modal-box.socium-dialog button:focus-visible{outline:3px solid #cfad5f;outline-offset:2px}
body:not(.crime-mode) #screen-game .socium-council button:disabled,#modal-box.socium-dialog button:disabled{opacity:.5!important;cursor:not-allowed!important}
body:not(.crime-mode) #screen-game .socium-council :is(.btn-danger,button[style*="#c0392b"],button[style*="#e74c3c"],button[style*="#b71c1c"]),#modal-box.socium-dialog :is(.btn-danger,button[style*="#c0392b"],button[style*="#e74c3c"],button[style*="#b71c1c"]){background:#faeae1!important;color:#9c4637!important;border-color:#c9917d!important}
body:not(.crime-mode) #screen-game .socium-council :is(button[style*="#27ae60"],button[style*="#2ecc71"]),#modal-box.socium-dialog :is(button[style*="#27ae60"],button[style*="#2ecc71"]){background:linear-gradient(#246249,#144531)!important;color:#fff3d5!important;border-color:#a99360!important}
body:not(.crime-mode) #screen-game .socium-council :is(input,textarea,select),#modal-box.socium-dialog :is(input,textarea,select){max-width:100%;min-height:44px!important;padding:9px 11px!important;border:1px solid #c6ae7b!important;border-radius:6px!important;background:#fffaf0!important;color:#304732!important;font-size:16px!important;line-height:1.4}
body:not(.crime-mode) #screen-game .socium-council .group-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
body:not(.crime-mode) #screen-game .socium-council .group-metrics>div{border:1px solid #ddc89d!important}
body:not(.crime-mode) #screen-game .socium-council .group-metrics>div [style*="color:"]{color:#3f563b!important}
body:not(.crime-mode) #screen-game .socium-council .group-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
body:not(.crime-mode) #screen-game .socium-council .group-grid>div{border:1px solid #d6bf8d!important;padding:14px!important;min-height:290px!important;max-height:360px!important}
body:not(.crime-mode) #screen-game .socium-council .group-grid>div>div:first-child{font:700 18px/1.3 Georgia,serif!important;color:#2d4935!important;margin-bottom:10px!important}
body:not(.crime-mode) #screen-game .socium-council #group-chat-inline{max-height:245px!important}
body:not(.crime-mode) #screen-game .socium-council .sc-body :is(.text-muted,[style*="color:#666"],[style*="color:#8899aa"],[style*="color:#ccc"]){color:#806e4d!important}
body:not(.crime-mode) #screen-game .socium-council.sc-marketing .sc-body>div:first-of-type>div[style*="height:10px"]{background:#e2d4b3!important}
body:not(.crime-mode) #screen-game .socium-council.sc-marketing .sc-body>div:first-of-type>div[style*="height:10px"]>div{background:#b69a5d!important}
body:not(.crime-mode) #screen-game .socium-council .sc-body table{max-width:100%}
#modal-box.socium-dialog{border:1px solid #bea166;background:linear-gradient(130deg,#fffdf3,#f2e6cb);color:#2d4733}
#modal-box.socium-dialog div[style*="background"][style*="padding"]{background:#fff9e9!important;border-color:#d5c295!important;color:#304b36!important;border-radius:8px!important}
#modal-box.socium-dialog :is(h2,h3,h4){font-family:Georgia,serif!important;color:#294331!important;overflow-wrap:anywhere}
#modal-box.socium-dialog :is([style*="color:#fff"],[style*="color: #fff"]){color:#314b36!important}
@media(max-width:850px){body:not(.crime-mode) #screen-game .socium-council{padding:14px}body:not(.crime-mode) #screen-game .socium-council .group-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}body:not(.crime-mode) #screen-game .socium-council .sc-body [style*="display:flex"][style*="justify-content:space-between"]{gap:10px;flex-wrap:wrap}}
@media(max-width:600px){body:not(.crime-mode) #screen-game .socium-council{padding:10px}body:not(.crime-mode) #screen-game .socium-council .sc-heading{gap:12px;padding:0 2px 12px}body:not(.crime-mode) #screen-game .socium-council .sc-heading h2{font-size:25px}body:not(.crime-mode) #screen-game .socium-council .sc-seal{width:80px;height:80px;flex-basis:80px}body:not(.crime-mode) #screen-game .socium-council .sc-seal svg{width:24px;height:24px}body:not(.crime-mode) #screen-game .socium-council .sc-status{font-size:11px}body:not(.crime-mode) #screen-game .socium-council .sc-body>.card,body:not(.crime-mode) #screen-game .socium-council .sc-body>div[style*="background"][style*="padding"]{padding:13px!important}body:not(.crime-mode) #screen-game .socium-council .group-grid{grid-template-columns:minmax(0,1fr)!important}body:not(.crime-mode) #screen-game .socium-council .sc-body [style*="display:grid"]{grid-template-columns:minmax(0,1fr)!important}body:not(.crime-mode) #screen-game .socium-council .group-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}body:not(.crime-mode) #screen-game .socium-council .sc-body h2{font-size:24px!important}body:not(.crime-mode) #screen-game .socium-council .sc-body h3{font-size:21px!important}body:not(.crime-mode) #screen-game .socium-council .sc-body [style*="min-width:"]{min-width:0!important}#modal-box.socium-dialog [style*="display:grid"]{grid-template-columns:minmax(0,1fr)!important}}
@media(prefers-reduced-motion:reduce){body:not(.crime-mode) #screen-game .socium-council *,#modal-box.socium-dialog *{animation:none!important;transition:none!important}}

body:not(.crime-mode) #screen-game .socium-council .sc-body div[style*="background:#fef2f2"][style*="padding"],#modal-box.socium-dialog div[style*="background:#fef2f2"][style*="padding"]{background:#faeee5!important;border-color:#c8927c!important}
@supports selector(div:has(button)){
 body:not(.crime-mode) #screen-game .socium-council.sc-party-guest .sc-body{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
 body:not(.crime-mode) #screen-game .socium-council.sc-party-guest .sc-body>*{grid-column:1/-1}
 body:not(.crime-mode) #screen-game .socium-council.sc-party-guest .sc-body>div:has(>div>button[onclick*="PoliticsSystem.joinParty"]){grid-column:span 1;margin:0!important;display:flex;flex-direction:column}
 body:not(.crime-mode) #screen-game .socium-council.sc-party-guest .sc-body>div:has(>div>button[onclick*="PoliticsSystem.joinParty"])>div:first-child{flex-direction:column;align-items:center!important;gap:12px}
 body:not(.crime-mode) #screen-game .socium-council.sc-party-guest .sc-body>div:has(>div>button[onclick*="PoliticsSystem.joinParty"])>div:last-child{margin-top:auto!important;padding-top:14px}
 body:not(.crime-mode) #screen-game .socium-council.sc-party-guest .sc-body>div:has(>div>button[onclick*="PoliticsSystem.joinParty"])>div:last-child>button{width:100%}
 body:not(.crime-mode) #screen-game .socium-council.sc-party-guest .sc-body>div:has(>div>button[onclick*="PoliticsSystem.joinParty"]) [onclick*="PoliticsSystem.joinParty"]:not(button){flex-direction:column;text-align:center;max-width:100%}
 body:not(.crime-mode) #screen-game .socium-council.sc-party-guest .party-badge{display:inline-flex!important;align-items:center;justify-content:center;width:64px;height:64px;border:3px double #b99a59;border-radius:50%;padding:12px;background:#fff5de;box-shadow:inset 0 0 0 3px #e5d2a8}
 body:not(.crime-mode) #screen-game .socium-council.sc-party-guest .party-badge svg{width:28px;height:28px}
 @media(max-width:950px){body:not(.crime-mode) #screen-game .socium-council.sc-party-guest .sc-body{grid-template-columns:repeat(2,minmax(0,1fr))}}
 @media(max-width:600px){body:not(.crime-mode) #screen-game .socium-council.sc-party-guest .sc-body{grid-template-columns:minmax(0,1fr)}}
}
