/* Shared CuraNL Logopedie interface, including dynamically mounted games. */
html{background:#faf8f2}body.curanl-ui{background:#faf8f2!important;color:#120a8f;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body.curanl-ui :is(.intro h1,.menu h1,.bar h1,.post-game h1){font-family:inherit;font-weight:750;letter-spacing:-.025em;text-shadow:none;color:#120a8f}body.curanl-ui .game-card{border:2px solid #120a8f!important;border-radius:17px;box-shadow:0 5px 18px #120a8f0b!important;background:#fff;transition:transform .18s,border-color .18s,box-shadow .18s}body.curanl-ui .game-card:hover,body.curanl-ui .game-card:focus-visible{border-color:#f26a21!important;transform:translateY(-3px);box-shadow:0 9px 26px #120a8f15!important}body.curanl-ui .game-card:focus-visible{outline:3px solid #f9e814;outline-offset:4px}
/* Full word pictures remain visible in every letter choice. */
body.curanl-ui .game-card.letter-card .picture{aspect-ratio:1.5!important;background:#fff}body.curanl-ui .game-card.letter-card .picture img{width:100%!important;height:100%!important;object-fit:contain!important;padding:6px!important;transform:none!important}body.curanl-ui .game-card.letter-card .label{position:relative;display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 40px;background:#120a8f!important;color:#fff!important;text-align:center;font:750 21px/1.25 system-ui;letter-spacing:0}body.curanl-ui .game-card.letter-card .label .curanl-game-arrow{position:absolute!important;right:9px;top:50%;transform:translateY(-50%)!important;margin:0!important}
/* Image-led game overviews; homepage descriptions retain their white panels. */
body.curanl-ui:not(.curanl-refresh) .donnie-choices>.game-card:not(.letter-card),body.curanl-ui:not(.curanl-refresh) .choices>.game-card:not(.letter-card){position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column}body.curanl-ui:not(.curanl-refresh) .donnie-choices>.game-card:not(.letter-card)>.picture,body.curanl-ui:not(.curanl-refresh) .choices>.game-card:not(.letter-card)>.picture{display:block;width:100%;aspect-ratio:1.5;flex:0 0 auto;background:#fff}body.curanl-ui:not(.curanl-refresh) .donnie-choices>.game-card:not(.letter-card)>.picture img,body.curanl-ui:not(.curanl-refresh) .choices>.game-card:not(.letter-card)>.picture img{width:100%;height:100%;object-fit:cover}body.curanl-ui:not(.curanl-refresh) .donnie-choices>.game-card:not(.letter-card)>.label,body.curanl-ui:not(.curanl-refresh) .choices>.game-card:not(.letter-card)>.label{position:absolute;inset:auto 0 0;display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 36px;gap:0;background:rgba(18,10,143,.93)!important;color:#fff!important;text-align:center;font-size:clamp(15px,1.3vw,18px);font-weight:750;line-height:1.3;letter-spacing:-.015em;z-index:1}body.curanl-ui:not(.curanl-refresh) .donnie-choices>.game-card:not(.letter-card)>.label:before,body.curanl-ui:not(.curanl-refresh) .choices>.game-card:not(.letter-card)>.label:before{content:'';position:absolute;inset:auto 0 100%;height:14px;background:linear-gradient(transparent,rgba(18,10,143,.93));pointer-events:none}
body.curanl-ui .game-card .label .curanl-game-arrow{display:grid!important;place-items:center!important;width:25px!important;height:25px!important;min-width:25px!important;flex:0 0 25px!important;border:0;border-radius:50%;padding:0!important;background:#f9e814!important;color:#120a8f!important}body.curanl-ui .game-card .label .curanl-game-arrow svg{width:17px!important;height:17px!important;flex:0 0 17px!important}body.curanl-ui:not(.curanl-refresh) .donnie-choices>.game-card:not(.letter-card)>.label .curanl-game-arrow,body.curanl-ui:not(.curanl-refresh) .choices>.game-card:not(.letter-card)>.label .curanl-game-arrow{position:absolute!important;right:9px;top:50%;transform:translateY(-50%)!important;margin:0!important}body.curanl-ui .game-card[data-cnl-locked] .cnl-lock-badge{position:absolute;top:8px;left:8px;z-index:3;max-width:calc(100% - 16px);padding:5px 8px;background:#fff;border:1px solid #120a8f33;border-radius:7px;color:#120a8f;font:700 12px/1.4 system-ui}
/* Menus and control panels, without restyling playable objects or color swatches. */
body.curanl-ui :is(.picker,.login-card,.setup-panel){background:#fff!important;border:1px solid #120a8f33!important;border-radius:17px;box-shadow:0 5px 18px #120a8f0b!important}body.curanl-ui :is(.actions,.bar,.post-tools,.score,.board-controls,.toolbar,.play-tools)>button:not(.field-die):not(.swatch):not(.block-pick):not(.memory-card):not(.memory-picture),body.curanl-ui button.game-fullscreen{border:1.5px solid #120a8f;border-radius:9px;background:#fff;color:#f26a21!important;box-shadow:none;font-family:inherit;font-weight:700}body.curanl-ui :is(.actions,.bar,.post-tools,.score,.board-controls,.toolbar,.play-tools)>button:hover:not(:disabled):not(.field-die):not(.swatch):not(.block-pick):not(.memory-card):not(.memory-picture){border-color:#f26a21}body.curanl-ui .actions>button.start,body.curanl-ui .actions>button.primary,body.curanl-ui .login-card button[type=submit]{background:#f9e814!important;color:#120a8f!important;border:1.5px solid #120a8f;box-shadow:none}body.curanl-ui :is(.sound-menu,.selection-menu)>summary{background:#fff!important;color:#120a8f!important;border:1.5px solid #120a8f;border-radius:9px;font-weight:750}body.curanl-ui .sound-menu .choices{border-color:#120a8f;background:#fff}body.curanl-ui .choice>span{border:1.5px solid #120a8f66;background:#fff;color:#120a8f;font-weight:750;box-shadow:none}body.curanl-ui .choice input:checked+span{border-color:#120a8f;background:#f9e814;color:#120a8f;box-shadow:none}body.curanl-ui .choice input:focus-visible+span{outline:3px solid #f26a21;outline-offset:3px}body.curanl-ui .characters{background-color:#fff;border:1px solid #120a8f33;border-radius:14px;box-shadow:none}body.curanl-ui :is(.bar,.post-tools,.picker,.login-card,form) select,body.curanl-ui .login-card input{border:1.5px solid #120a8f66;border-radius:9px;background:#fff;color:#120a8f;font-family:inherit}body.curanl-ui :is(.actions button,.sound-menu summary,.bar button,.post-tools button,.score button,.toolbar button,.game-fullscreen,select):focus-visible{outline:3px solid #f26a21;outline-offset:3px}body.curanl-ui :is(.action-full-toolbar,.board-full-toolbar,.memory-full-toolbar){background:#fff;border-color:#120a8f22;box-shadow:none}body.curanl-ui .back{border-width:1.5px;background:#fff;box-shadow:none;border-radius:9px;font-weight:700}
@media(max-width:620px){body.curanl-ui:not(.curanl-refresh) .donnie-choices>.game-card:not(.letter-card)>.picture,body.curanl-ui:not(.curanl-refresh) .choices>.game-card:not(.letter-card)>.picture{aspect-ratio:1.8}body.curanl-ui .game-card.letter-card .label{font-size:20px}body.curanl-ui:not(.curanl-refresh) .donnie-choices>.game-card:not(.letter-card)>.label,body.curanl-ui:not(.curanl-refresh) .choices>.game-card:not(.letter-card)>.label{font-size:18px}body.curanl-ui .picker{padding:13px}}
@media(prefers-reduced-motion:reduce){body.curanl-ui .game-card{transition:none}body.curanl-ui .game-card:hover{transform:none}}

body.curanl-ui form button[type=submit]{border:1.5px solid #120a8f;border-radius:9px;background:#fff;color:#f26a21!important;box-shadow:none;font-family:inherit;font-weight:700}body.curanl-ui .login-card form button[type=submit]{background:#f9e814!important;color:#120a8f!important}

/* Brush tip is the click point on coloring sheets, with a native fallback. */
body.curanl-ui[data-paint="coloring"] #painting{cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2732%27%20height%3D%2732%27%20viewBox%3D%270%200%2032%2032%27%3E%3Cpath%20d%3D%27M12%2017%2025%203c1.6-1.6%204.4%201.2%202.8%202.8L17%2022Z%27%20fill%3D%27%23120a8f%27%20stroke%3D%27white%27%20stroke-width%3D%271.2%27%20stroke-linejoin%3D%27round%27%2F%3E%3Cpath%20d%3D%27m11%2016%207%206-4%204-7-6Z%27%20fill%3D%27%23f9e814%27%20stroke%3D%27%23120a8f%27%20stroke-width%3D%271%27%2F%3E%3Cpath%20d%3D%27M8%2021c5-1%208%203%205%206-3%203-7%201-11%203%203-3%201-7%206-9Z%27%20fill%3D%27%23f26a21%27%20stroke%3D%27white%27%20stroke-width%3D%271.2%27%20stroke-linejoin%3D%27round%27%2F%3E%3C%2Fsvg%3E") 3 29,crosshair}
