/* Shared app fields, including controls created after the page opens. */
body.gm-bolso-mode,body.gmx-match-app{-webkit-text-size-adjust:100%;text-size-adjust:100%;max-inline-size:100%;overflow-x:clip}
body:is(.gm-bolso-mode,.gmx-match-app) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]):not([type="color"]):not([type="hidden"]),textarea,select,[contenteditable]:not([contenteditable="false"])){font-size:max(16px,1em)!important;box-sizing:border-box;min-inline-size:0;max-inline-size:100%}

/* A real device rotation is handled separately from keyboard resizing. */
body.gmx-portrait-required{overflow:hidden!important}
#gmx-portrait-guard{position:fixed;inset:0;z-index:2147483000;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:13px;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:28px max(24px,env(safe-area-inset-right,0px)) 28px max(24px,env(safe-area-inset-left,0px));background:#f5fbff;color:#071b3a;text-align:center;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;overscroll-behavior:contain}
#gmx-portrait-guard[hidden]{display:none!important}
#gmx-portrait-guard:focus{outline:none}
#gmx-portrait-guard svg{width:48px;height:62px;color:#08abc2;flex:none}
#gmx-portrait-guard h2{margin:0;font-size:22px;line-height:1.2;font-weight:750;letter-spacing:-.02em}
#gmx-portrait-guard p{margin:0;max-width:360px;color:#52677f;font-size:16px;line-height:1.45}

/* 2.6.12: compact four-stage counters */
.match-counts{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.match-count{padding:6px 2px;min-width:0}.match-count b{font-size:11px}.match-count small{font-size:9px;line-height:1.2;display:block}.match-count:disabled{opacity:.42;cursor:not-allowed}.match-count .ideal-count{display:block}
