/* Mode navigation does not create a match or alter either rules engine. */
.mode-select{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 12px}.mode-choice{position:relative;display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:58px;padding:11px 14px;background:#fff9dd;border:3px solid #172033;border-radius:14px;text-decoration:none;color:#172033;box-shadow:0 3px 0 #172033;font-size:18px;font-weight:900}.mode-choice small{font-size:11px;opacity:.8}.mode-choice.selected{background:#ffe247}.mode-choice>a,.mode-choice span{position:absolute;right:9px;top:12px}.mode-choice:hover,.mode-choice:focus-visible{background:#a8f050;outline:3px solid white;outline-offset:2px}.mode-choice[aria-disabled="true"]{pointer-events:none;opacity:.5}#home-wardrobe:disabled{opacity:.45;cursor:not-allowed}.shared-mode-home{display:inline-flex;align-items:center;min-height:42px;border:2px solid #172033;border-radius:12px;padding:7px 12px;background:#fff8dc;color:#172033;text-decoration:none;font-weight:900}.shared-mode-home:focus-visible{outline:3px solid #ffcc38;outline-offset:3px}@media(max-height:500px) and (orientation:landscape){.mode-select{gap:6px;margin-bottom:7px}.mode-choice{min-height:41px;padding:6px 10px;font-size:14px;gap:2px}.mode-choice small{font-size:10px}.match-mode{display:none}}@media(max-width:420px){.mode-choice{font-size:15px;padding:9px}.mode-choice small{font-size:10px}}

#opening-title.image-wordmark{line-height:1;width:clamp(150px,23vw,290px)}#opening-title.image-wordmark img{display:block;width:100%;height:auto;max-height:110px;object-fit:contain}#opening-title.image-wordmark>span{margin-top:0;text-align:center}@media(max-height:500px) and (orientation:landscape){#opening-title.image-wordmark{width:170px}#opening-title.image-wordmark img{max-height:62px}}@media(max-width:420px){#opening-title.image-wordmark{width:180px}#opening-title.image-wordmark img{max-height:80px}}
/* Reserve the title's actual box in compact landscapes instead of overlapping the menu. */
@media(max-height:560px) and (orientation:landscape){#opening-screen .opening-shell{grid-template-rows:46px minmax(0,1fr) 24px}#opening-title.image-wordmark{width:132px}#opening-title.image-wordmark img{max-height:38px}#opening-title.image-wordmark>span{font-size:6px;line-height:1}}
