/* V85.10 – screen accessibility; no rules for printing, data, scoring or game geometry. */
@media screen {
/* Dual-colour indicator remains distinguishable on light and dark surfaces. */
:where(a[href],button,input:not([type=hidden]),select,textarea,summary,[tabindex]):focus-visible{outline:3px solid #163b76;outline-offset:3px;box-shadow:0 0 0 2px #fff}
:where(.vp311-site > footer, .reader-header, .reader-controls, .vp858-world header, .vp858-ludo header) :where(a,button,select):focus-visible{outline:3px solid #ffdc8a;outline-offset:3px;box-shadow:0 0 0 2px #17304d}
/* Skip links must not occupy space until focused; native anchor focuses the main landmark. */
a.skip,a.vp8510-skip{position:fixed;left:8px;top:8px;z-index:2147483640;padding:12px 16px;min-height:44px;max-width:calc(100vw - 16px);background:#fffaf0;color:#163b76;font:700 16px/1.3 system-ui,sans-serif;text-decoration:underline;border:2px solid #163b76;border-radius:8px;transform:translateY(calc(-100% - 16px));box-sizing:border-box}
a.skip:focus,a.vp8510-skip:focus{transform:none;outline:3px solid #163b76;outline-offset:2px;box-shadow:0 0 0 2px #fff}
main:focus-visible{outline:2px solid #163b76;outline-offset:-2px}
main[id]{scroll-margin-top:12px}
/* Improve previously undersized secondary text, without changing body or page artwork. */
.vp311-site .site37 .brand small,.site37 .brand small,.vp858-world header small,.vp311-site .eyebrow,.vp858-world .eyebrow,.vp311-site .legal,.vp-mission-footer p{font-size:max(12px,.82rem);line-height:1.4;overflow-wrap:anywhere;letter-spacing:normal}
.lang-control button,.site37 .lang-control button{font-size:12px;min-height:44px;line-height:1.25;padding-inline:6px;touch-action:manipulation}
.vp-language-note{font-size:max(12px,.8rem);line-height:1.45;overflow-wrap:anywhere}
/* Full-size controls outside game board geometry. Checkbox labels are the larger click targets. */
.vp311-site :where(.btn,.menu-toggle),.math-page :where(button,select),.vp859-teacher :where(button,select),.vp859-progress :where(button,select),.vp859-stats :where(button,select),.reader-tools :where(button,select),.vp858-ludo .choices button{min-height:44px;touch-action:manipulation;max-width:100%}
.vp859-teacher fieldset label{min-height:44px;cursor:pointer}
:where(.math-page,.vp859-teacher,.vp859-progress,.vp859-stats) :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){max-width:100%;min-height:44px}
/* Browser text enlargement is allowed. Avoid clipped text in ordinary buttons. */
.vp311-site :where(.btn,.menu-toggle),.math-page :where(button,select),.vp859-teacher :where(button,select){white-space:normal;overflow-wrap:anywhere}
@media(max-width:360px){.site37 .lang-control button{padding-inline:5px;font-size:12px}.site37 .brand small{font-size:12px}.vp859-teacher .panel{padding:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}a.skip,a.vp8510-skip{transition:none!important}.vp858-ludo .piece.legal{animation:none!important}.vp311-site .tile,.vp311-site .entry,.vp311-site .btn{transition:none!important}}
@media(forced-colors:active){:where(a[href],button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid Highlight!important;box-shadow:none!important}a.skip,a.vp8510-skip{background:Canvas;color:LinkText;border-color:ButtonText}}
}
@media print{a.skip,a.vp8510-skip{display:none!important}}
