/* uzytak.com/<lang>/cookie-consent-plugin/: sandboxed banner demo inside a mock page frame (nothing is fixed to the
 * viewport) + Consent Mode panel. On top of photopack.css + materials-plugin/plugin.css. Prefix cc-. */
.cc-flag { display: inline-block; margin: 18px 0 0; padding: 5px 12px; border-radius: 999px; background: #fff4d6; color: #7a4b00; font-size: 14px; font-weight: 700; }
.cc-controls { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: flex-end; margin: 16px 0 14px; }
.cc-controls label { display: flex; flex-direction: column; gap: 5px; font-weight: 650; font-size: 14px; flex: 1 1 220px; min-width: 0; max-width: 100%; }
.cc-controls select { font: inherit; font-weight: 400; padding: 8px 10px; border: 1px solid var(--pp-line); border-radius: 10px; background: #fff; color: var(--pp-ink); width: 100%; max-width: 100%; min-width: 0; }
.cc-restart { font: inherit; font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--pp-line); background: #fff; color: var(--pp-navy); cursor: pointer; }
.cc-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.cc-grid > * { min-width: 0; }

.cc-frame { --cc-bg: #fff; --cc-fg: #1b2333; --cc-muted: #5a6478; --cc-line: #dfe3ea; --cc-btn: #1d5bd8; --cc-btn-fg: #fff; --cc-radius: 12px;
  border: 1px solid #c9ced8; border-radius: 12px; overflow: hidden; background: #e9edf3; box-shadow: 0 24px 50px -30px rgba(11, 21, 51, .5); }
.cc-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #dde2ea; font: 12px/1.2 system-ui, sans-serif; color: #4b5568; }
.cc-bar i { width: 10px; height: 10px; border-radius: 50%; background: #b9c0cc; display: inline-block; }
.cc-bar span { margin-left: 8px; padding: 3px 10px; border-radius: 6px; background: #fff; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-screen { position: relative; min-height: 470px; background: #fbf7f0; color: #2b2116; font-family: Georgia, serif; overflow: hidden; }
.cc-page { padding: 22px 22px 180px; }
.cc-page h3 { margin: 0 0 8px; font-size: 24px; }
.cc-page p { margin: 0 0 14px; max-width: 46ch; }
.cc-page .cc-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cc-page .cc-blocks b { display: block; height: 70px; border-radius: 8px; background: #ead9bf; }

.cc-banner, .cc-dialog-in { background: var(--cc-bg); color: var(--cc-fg); font: 14px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; }
.cc-banner { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; border-radius: var(--cc-radius); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); border: 1px solid var(--cc-line); }
.cc-layout-left .cc-banner { right: auto; width: min(340px, calc(100% - 24px)); }
.cc-layout-right .cc-banner { left: auto; width: min(340px, calc(100% - 24px)); }
.cc-layout-top .cc-banner { top: 0; bottom: auto; left: 0; right: 0; border-radius: 0; }
.cc-layout-center .cc-banner { top: 50%; bottom: auto; left: 50%; right: auto; transform: translate(-50%, -50%); width: min(400px, calc(100% - 24px)); }
.cc-title { margin: 0 0 4px; font-weight: 700; font-size: 15px; }
.cc-text { margin: 0 0 10px; color: var(--cc-muted); font-size: 13px; }
.cc-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-btn { font: inherit; font-weight: 700; min-height: 44px; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.cc-main { flex: 1 1 120px; border: 0; background: var(--cc-btn); color: var(--cc-btn-fg); }
.cc-link { flex: 1 1 100px; border: 1px solid var(--cc-line); background: transparent; color: var(--cc-fg); }
.cc-btn:focus-visible, .cc-switch:focus-visible, .cc-reopen:focus-visible, .cc-close:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
.cc-dialog { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; padding: 12px; background: rgba(15, 20, 30, .45); }
.cc-dialog[hidden] { display: none; }
.cc-dialog-in { position: relative; width: min(440px, 100%); max-height: 100%; overflow: auto; padding: 18px; border-radius: var(--cc-radius); }
.cc-close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--cc-fg); font-size: 22px; cursor: pointer; }
.cc-cat { padding: 10px 0; border-top: 1px solid var(--cc-line); }
.cc-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; }
.cc-cat-text { margin: 4px 0 0; color: var(--cc-muted); font-size: 12.5px; }
.cc-always { font-size: 12px; font-weight: 700; color: #1b7f3b; }
.cc-switch { flex: none; position: relative; width: 46px; height: 26px; border: 0; border-radius: 999px; background: #9aa3b2; cursor: pointer; }
.cc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.cc-switch[aria-checked=true] { background: var(--cc-btn); }
.cc-switch[aria-checked=true]::after { transform: translateX(20px); }
.cc-dialog .cc-row { margin-top: 12px; }
.cc-reopen { position: absolute; z-index: 1; left: 12px; bottom: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--cc-btn); color: var(--cc-btn-fg); cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.cc-reopen[hidden], .cc-banner[hidden] { display: none; }

.cc-style-dark { --cc-bg: #1d2433; --cc-fg: #f1f4fa; --cc-muted: #b7c0d3; --cc-line: #39435a; --cc-btn: #7aa7ff; --cc-btn-fg: #0b1533; }
.cc-style-soft { --cc-bg: #f2f2f0; --cc-fg: #262626; --cc-muted: #5c5c5c; --cc-line: #dcdcd8; --cc-btn: #4a6741; --cc-btn-fg: #fff; --cc-radius: 22px; }
.cc-style-contrast { --cc-bg: #fff; --cc-fg: #000; --cc-muted: #000; --cc-line: #000; --cc-btn: #000; --cc-btn-fg: #fff; --cc-radius: 0; }
.cc-style-contrast .cc-banner, .cc-style-contrast .cc-dialog-in { border: 3px solid #000; }
.cc-style-glass { --cc-bg: rgba(20, 26, 40, .78); --cc-fg: #fff; --cc-muted: #d5dbe7; --cc-line: rgba(255, 255, 255, .25); --cc-btn: #fff; --cc-btn-fg: #111; }
.cc-style-glass .cc-banner, .cc-style-glass .cc-dialog-in { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.cc-panel { padding: 16px 18px; border: 1px solid var(--pp-line); border-radius: 12px; background: #fff; color: var(--pp-ink); }
.cc-panel h3 { margin: 0 0 10px; font-size: 17px; }
.cc-signals { width: 100%; border-collapse: collapse; font: 13px/1.4 ui-monospace, Consolas, monospace; }
.cc-signals td { padding: 5px 0; border-bottom: 1px solid var(--pp-line); overflow-wrap: anywhere; }
.cc-signals td + td { text-align: right; font-family: inherit; font-weight: 700; }
.cc-denied { color: #b42318; }
.cc-granted { color: #1b7f3b; }
.cc-stored { margin: 12px 0; font-size: 13px; color: var(--pp-muted); }
.cc-log { margin: 0; padding: 10px 12px 10px 28px; border-radius: 8px; background: #0b1533; color: #d7e3ff; font: 11.5px/1.5 ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.cc-log li { margin: 2px 0; }
@media (max-width: 900px) { .cc-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .cc-page .cc-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cc-screen { min-height: 520px; } }
