/* Coloriage (KOMPA-181) : plein écran (la barre du haut ne garde que le sablier), dessin au centre, outils et palette en bas. */
.app:has(.col-screen){padding:0}
.app:has(.col-screen) .main{gap:0}
.app:has(.col-screen) .stage{border-radius:0;box-shadow:none}
.app:has(.col-screen) .top{position:absolute;z-index:40;left:50%;top:calc(4px + env(safe-area-inset-top,0px));transform:translateX(-50%);pointer-events:none}
.app:has(.col-screen) .top .who,.app:has(.col-screen) .top .coins,.app:has(.col-screen) .top .icon-btn{display:none}
.gscreen.col-screen{background:#FFF6E8;padding:calc(6px + env(safe-area-inset-top,0px)) 6px calc(6px + env(safe-area-inset-bottom,0px));--c:#FF7DB8;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.col-main{flex:1;min-height:0;display:flex;flex-direction:column;gap:6px}
.col-top{flex:none;display:flex;align-items:center;gap:6px;min-height:46px}
.col-top .pill{padding:6px 12px;min-height:44px;display:inline-flex;align-items:center;gap:5px;font-size:15px;white-space:nowrap}
.col-top .col-ic{width:44px;padding:0;justify-content:center}
.col-top .pill:disabled{opacity:.4}
.col-sp{flex:1}
.col-board{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;container-type:size}
.col-board canvas{display:block;width:min(100%,100cqh*48/56);aspect-ratio:48/56;max-height:100%;border-radius:10px;box-shadow:0 0 0 3px #4A3A52;touch-action:none;cursor:crosshair}
.col-board{padding:3px}
.col-opts{flex:none;display:flex;justify-content:center;gap:6px;min-height:40px}
.col-opt{flex:none;width:44px;height:40px;padding:3px;border-radius:12px;background:#fff;box-shadow:0 2px 0 var(--line);display:grid;place-items:center}
.col-opt svg{width:32px;height:32px;display:block;border-radius:7px}
.col-opt.on{box-shadow:0 0 0 3px var(--ink)}
.col-outils{flex:none;display:flex;gap:6px}
.col-outil{flex:1;height:44px;border-radius:14px;background:#fff;box-shadow:0 2px 0 var(--line);display:grid;place-items:center}
.col-outil svg{width:30px;height:30px;display:block}
.col-outil.on{background:#EDE3F7;box-shadow:0 0 0 3px var(--ink)}
.col-pal{flex:none;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px 3px}
.col-dot{height:40px;padding:0;border-radius:12px;border:2px solid #fff;box-sizing:border-box;box-shadow:0 0 0 1px rgba(74,58,82,.3)}
.col-dot.on{box-shadow:0 0 0 3px var(--ink)}
.col-menu{flex:1;min-height:0;overflow-y:auto;padding:0 6px 16px}
.col-h{font-size:22px;text-align:center;margin:6px 0 10px}
.col-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.col-carte{display:flex;flex-direction:column;gap:4px;padding:5px 5px 6px;border-radius:14px;background:#fff;box-shadow:0 3px 0 var(--line);font-family:var(--font-display);font-weight:500;font-size:16px;text-align:center}
.col-carte b{font-weight:500;white-space:nowrap}
.col-carte i{display:block;width:100%}
.col-carte svg{display:block;width:100%;border-radius:9px}
