/* Standalone viewport shell: browser chrome stays visible; no Fullscreen API. */
:root{color-scheme:dark;--surface:#101610;--line:#53624a;--text:#eee8d9;--gold-light:#ead09b}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#c6eaf5;color:var(--text);font:16px/1.5 Arial,sans-serif}
main,#sheep-game-mount{width:100%;height:100%;margin:0;padding:0;min-width:0;min-height:0}
#ss-game-container{margin:0;border:0;background:transparent}
#ss-game-container>summary,#ar-shepherds-sheep>summary{display:none!important}
#ss-game-container>.ss-game-list{padding:0}
#ar-shepherds-sheep.ss-expanded{inset:var(--ss-visible-top,0px) auto auto var(--ss-visible-left,0px);width:var(--ss-visible-width,100%);height:var(--ss-visible-height,100dvh);max-height:none;border:0!important;border-radius:0!important;margin:0}
#ar-shepherds-sheep.ss-expanded>div.ss-body{height:100%!important;min-height:0;min-width:0}
#ar-shepherds-sheep .ss-turn-exit{display:none!important}
/* Reclaim the former fullscreen button's grid slot without moving gameplay UI. */
#ar-shepherds-sheep.ss-expanded.ss-compact.ss-mobile-fit:not(.ss-portrait) .ss-controls{grid-template-columns:1.4fr 1fr 48px 1fr}
#ar-shepherds-sheep.ss-expanded.ss-compact.ss-mobile-fit:not(.ss-portrait) .ss-controls>.ss-options-toggle{grid-column:4}
#ar-shepherds-sheep.ss-expanded.ss-compact.ss-mobile-fit:not(.ss-portrait) .ss-controls>.ss-shop-open-button{grid-column:4/6}
#ar-shepherds-sheep.ss-expanded.ss-compact.ss-mobile-fit.ss-portrait .ss-controls>.ss-options-toggle{grid-column:1/4;grid-row:2}
noscript{display:block;padding:24px;color:#263e29}

#ar-shepherds-sheep .ss-local-passage{padding:14px;margin:14px 0;border:1px solid #6c7551;border-radius:5px;background:#fff4d8;color:#263e29}
#ar-shepherds-sheep .ss-local-passage h4{margin:0 0 12px;font-size:17px;color:#263e29}
#ar-shepherds-sheep .ss-local-passage p{font:16px/1.7 Georgia,serif;color:#263e29}
#ar-shepherds-sheep .ss-item-references a{color:#245136;text-decoration:underline}
