/* cape-plus.css — CAPE STUDIO (06/12/2026). Màu chỉ biến site (--the/--bg/--chu/--nhan…); viền bằng box-shadow; chạm ≥44px. */
.cpp { margin-top: 14px; }
.cpp [hidden] { display: none !important; }
.cpp button { font: inherit; color: inherit; cursor: pointer; border: 0; -webkit-tap-highlight-color: transparent; }
.cpp button:focus-visible, .cpp input:focus-visible { outline: 2px solid var(--nhan, #1a73e8); outline-offset: 2px; }
.cpp-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg, #f1f3f4); }
.cpp-tab { min-height: 44px; border-radius: 999px; background: none; font-weight: 700 !important; font-size: 13px !important; transition: background-color .2s, color .2s; }
.cpp-tab[aria-selected="true"] { background: var(--the, #fff); color: var(--nhan, #1a73e8); box-shadow: var(--bong, 0 1px 3px rgba(0,0,0,.12)); }
.cpp-b { display: flex; flex-direction: column; gap: 4px; margin: 10px 0 6px; font-size: 12.5px; font-weight: 700; }
.cpp-dots { display: flex; flex-wrap: wrap; gap: 2px; }
.cpp-dot { position: relative; width: 44px; height: 44px; padding: 0; border-radius: 12px; background: none; }
.cpp-dot::before { content: ''; position: absolute; inset: 7px; border-radius: 9px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.cpp-dot.on::before { box-shadow: 0 0 0 2px var(--the, #fff), 0 0 0 4px var(--nhan, #1a73e8); }
.cpp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cpp-o { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 2px; border-radius: 12px; background: var(--bg, #f1f3f4);
  font-size: 11px !important; font-weight: 700 !important; line-height: 1.15; transition: transform .15s, box-shadow .2s; }
.cpp-o:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--nhan, #1a73e8); }
.cpp-o canvas { width: 40px; height: auto; image-rendering: pixelated; border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.cpp-rmx { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cpp-rmx .cpp-o { min-height: 76px; justify-content: center; }
.cpp-fil { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cpp-f { min-height: 44px; border-radius: 12px; background: var(--bg, #f1f3f4); font-size: 12.5px !important; font-weight: 700 !important; transition: box-shadow .2s; }
.cpp-f:hover { box-shadow: 0 0 0 2px var(--nhan, #1a73e8); }
.cpp-lb { margin: 10px 0 6px; font-size: 12.5px; font-weight: 700; }
.cpp-note { margin: 8px 0 0; font-size: 12.5px; opacity: .85; }
.cpp-chu { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12.5px; font-weight: 700; }
.cpp-chu input { width: 64px; min-height: 44px; border: 0; border-radius: 12px; background: var(--bg, #f1f3f4); color: inherit; text-align: center; font: 700 16px/1 inherit; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .cpp * { transition: none !important; } }
