/* Copyright 2026 Michael Shaun French, United Kingdom. */
body.menu-style-aac-board #boardPage #grid .menu-style-word{border-radius:clamp(12px,2vw,24px)!important;border:3px solid var(--accent)!important;box-shadow:0 4px 14px #00000014;justify-content:center;align-items:center;text-align:center;box-sizing:border-box}
body.menu-style-aac-board #boardPage #grid .menu-style-word .tile-caption{font-weight:700;line-height:1.25;text-align:center}
body.menu-style-aac-board #boardPage #grid .menu-style-word .symbol{display:flex;align-items:center;justify-content:center}
body.menu-style-aac-board #boardPage #grid .menu-style-word .symbol[hidden]{display:none!important}
/* Enlarge the drawing within the existing symbol slot so tile/label sizing stays stable. */
body.menu-style-aac-board #boardPage #grid .menu-style-word .symbol img{object-fit:contain;max-width:100%;max-height:100%;background:transparent;transform:scale(1.2);transform-origin:center}
body.menu-style-aac-board #boardPage #grid .menu-style-word:focus-visible{outline:4px solid var(--text);outline-offset:3px}
body.menu-style-aac-board.contrast #boardPage #grid .menu-style-word{border-color:var(--text)!important;box-shadow:none}

body.menu-style-aac-board:not(.contrast,.colourblind,.colour-buttons) #boardPage #grid .menu-style-word[data-everyday-group]{border-color:var(--aac-word-colour)!important}

/* The original AAC Board uses one emoji font, never mixed vector/badge art. */
body[data-theme] #boardPage #grid .aac-emoji-word .symbol{font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;font-size:var(--tile-icon,38px)!important;line-height:1;display:flex;align-items:center;justify-content:center}
body[data-theme] #boardPage #grid .aac-emoji-word .symbol[hidden]{display:none!important}
