/* Vixtention — presenter + login theme (deep blue). Phone pages don't load this file. */
body.theme-blue {
  --gold: #4a5eff;
  --gold2: #8b98ff;
  --acc-fill: #0a1ee6;
}
.theme-blue .ambience {
  background:
    radial-gradient(1200px 600px at 75% -10%, rgba(20, 40, 255, .20), transparent 60%),
    radial-gradient(900px 600px at 0% 110%, rgba(0, 0, 200, .18), transparent 60%),
    var(--bg);
}
.theme-blue .ambience i { background: #a9b4ff; box-shadow: 0 0 20px 6px rgba(40, 70, 255, .5); }
.theme-blue .btn { color: #fff; background: var(--acc-fill); }
.theme-blue .btn:hover { box-shadow: 0 12px 34px -10px rgba(30, 50, 255, .9); }
.theme-blue .btn.ghost { background: rgba(255, 255, 255, .06); color: var(--ink); }
.theme-blue .btn.ghost:hover { border-color: rgba(74, 94, 255, .8); box-shadow: none; }
.theme-blue .field input:focus { background: rgba(30, 50, 255, .08); }
.theme-blue .qr-card { box-shadow: 0 0 140px -30px rgba(30, 50, 255, .85); }
.theme-blue .hud .pct { font: 400 22px var(--f-head); color: var(--ink); min-width: 64px; letter-spacing: .02em; }
.theme-blue .hud .pct small { font: 500 12px var(--f-mono); color: var(--mute); margin-left: 6px; }

/* ---------------- library (choose a presentation) */
.library { display: grid; grid-template-rows: auto 1fr; height: 100%; padding: 34px 48px 28px; }
.library .menu-top { display: flex; justify-content: space-between; align-items: center; }
.lib-mid { align-self: center; max-width: 1100px; width: 100%; margin: 0 auto; }
.lib-mid .kick { font: 500 18px var(--f-mono); color: var(--gold); letter-spacing: .08em; }
.lib-mid h1 { font: 400 clamp(56px, 7vw, 110px)/1 var(--f-head); text-transform: uppercase; margin: 14px 0 40px; }
.lib-list { display: flex; flex-direction: column; gap: 16px; }
.lib-card { display: flex; align-items: center; gap: 26px; text-align: left; padding: 16px 26px 16px 16px; border-radius: 22px; cursor: pointer; color: var(--ink); background: rgba(255, 255, 255, .045); border: 1.5px solid var(--line); transition: transform .3s var(--ease), border-color .3s, background .3s; animation: vx-pop .6s var(--ease) both; animation-delay: calc(var(--i) * 90ms); }
.lib-card:hover { transform: translateX(8px); border-color: var(--gold); background: rgba(74, 94, 255, .1); }
.lib-card.on { border-color: rgba(74, 94, 255, .6); }
.lib-cover { width: 96px; height: 96px; flex: 0 0 96px; border-radius: 18px; overflow: hidden; background: radial-gradient(circle, #1a1450, #07060f); }
.lib-cover img { width: 100%; height: 100%; object-fit: cover; }
.lib-body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.lib-body b { font: 600 28px var(--f-body); }
.lib-body span { color: var(--mute); font-size: 17px; }
.lib-body em { font: 500 13px var(--f-mono); font-style: normal; color: var(--gold); margin-top: 4px; }
.lib-card > i { font-style: normal; font-size: 28px; color: var(--mute); }
.menu-title h1 i { font-style: normal; display: block; }

/* ---------------- chat can be closed */
.show { transition: grid-template-columns .55s var(--ease); }
.show.chat-off { grid-template-columns: 1fr 0px; }
.show.chat-off .chat { border-left-color: transparent; }
.chat { overflow: hidden; }
.chat-head .row { gap: 10px; }
.chat-head .count { margin-left: auto; }
.chat-x { background: none; border: 1px solid var(--line); color: var(--mute); width: 30px; height: 30px; border-radius: 8px; cursor: pointer; }
.chat-x:hover { color: #fff; border-color: var(--gold); }
#h-chat { position: relative; }
#h-chat em { position: absolute; right: -8px; top: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--hot); color: #fff; font: 700 12px/20px var(--f-body); font-style: normal; text-align: center; }
#pos small { font: 500 12px var(--f-mono); color: var(--mute); margin-left: 6px; }

/* ---------------- "ai" theme chrome (AI-first management) */
#bg3d { position: fixed; inset: 0; z-index: 0; display: none; pointer-events: none; overflow: hidden; }

/* hologram background */
.holo-bg { background: radial-gradient(120% 90% at 50% 0%, #10132a 0%, #070812 55%, #04040a 100%); }
.hb-blobs { position: absolute; inset: -20%; transform: translate(var(--px, 0), var(--py, 0)); filter: blur(80px) saturate(1.2); opacity: .38; }
.hb-blobs i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.hb-blobs .b1 { width: 46vw; height: 46vw; left: 52%; top: 4%; background: radial-gradient(circle, #5fe3ff, transparent 65%); animation: hb-a 22s ease-in-out infinite; }
.hb-blobs .b2 { width: 40vw; height: 40vw; left: 10%; top: 40%; background: radial-gradient(circle, #9a6bff, transparent 65%); animation: hb-b 26s ease-in-out infinite; }
.hb-blobs .b3 { width: 34vw; height: 34vw; left: 62%; top: 55%; background: radial-gradient(circle, #ff6fd8, transparent 65%); animation: hb-c 30s ease-in-out infinite; opacity: .7; }
.hb-blobs .b4 { width: 28vw; height: 28vw; left: 28%; top: 0%; background: radial-gradient(circle, #8dffcf, transparent 65%); animation: hb-b 34s ease-in-out infinite reverse; opacity: .45; }
@keyframes hb-a { 50% { transform: translate(-14vw, 10vh) scale(1.15); } }
@keyframes hb-b { 50% { transform: translate(16vw, -12vh) scale(.9); } }
@keyframes hb-c { 50% { transform: translate(-10vw, -18vh) scale(1.2); } }
/* holographic foil: thin rainbow sheen that shifts with the mouse */
.hb-foil { position: absolute; inset: -30%; opacity: .07; mix-blend-mode: color-dodge;
  background: repeating-linear-gradient(calc(115deg + var(--ang, 0deg)), #ff6fd8 0, #5fe3ff 9%, #8dffcf 18%, #ffe36f 27%, #9a6bff 36%, #ff6fd8 45%);
  animation: hb-foil 24s linear infinite; }
@keyframes hb-foil { to { transform: translateX(25%); } }
/* light grid floor in perspective */
.hb-grid { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%; perspective: 600px; perspective-origin: 50% 0%; opacity: .35;
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 45%); mask: linear-gradient(180deg, transparent 0%, #000 45%); }
.hb-grid div { position: absolute; inset: 0; transform: rotateX(72deg); transform-origin: 50% 0%;
  background-image: linear-gradient(rgba(95, 227, 255, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(154, 107, 255, .35) 1px, transparent 1px);
  background-size: 70px 70px; animation: hb-grid 6s linear infinite; }
@keyframes hb-grid { to { background-position: 0 70px, 0 0; } }
.hb-scan { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 3px); }
.hb-scan::after { content: ''; position: absolute; left: 0; right: 0; height: 30vh; top: -30vh; background: linear-gradient(180deg, transparent, rgba(95, 227, 255, .05), transparent); animation: hb-roll 9s linear infinite; }
@keyframes hb-roll { to { top: 110vh; } }
.hb-sweep { position: absolute; inset: 0; opacity: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .0) 40%, rgba(160, 240, 255, .22) 48%, rgba(255, 140, 230, .16) 52%, transparent 60%); background-size: 250% 100%; }
.hb-sweep.go { animation: hb-sweep 1.1s cubic-bezier(.5, 0, .3, 1); }
@keyframes hb-sweep { 0% { opacity: 1; background-position: 120% 0; } 100% { opacity: 1; background-position: -40% 0; } }
body.theme-ai { --bg: #05040f; --gold: #5fe3ff; --gold2: #b48cff; --acc-fill: #6a4dff; --line: rgba(170, 160, 255, .16); background: #05040f; }
.theme-ai .ambience { display: none; }
.theme-ai .btn { color: #fff; background: linear-gradient(135deg, #6a4dff, #3fb8ff); }
.theme-ai .btn:hover { box-shadow: 0 12px 40px -8px rgba(110, 90, 255, .9); }
.theme-ai .btn.ghost { background: rgba(255, 255, 255, .06); }
.theme-ai .menu-title h1 { font: 800 clamp(56px, 7.4vw, 136px)/1.02 'Unbounded', var(--f-head); text-transform: none; letter-spacing: -.02em; }
.theme-ai .menu-title h1 span { -webkit-text-stroke: 2px #8f7bff; }
.theme-ai .qr-card { box-shadow: 0 0 140px -30px rgba(120, 100, 255, .95); }
.theme-ai .chat { background: rgba(10, 8, 26, .78); }
.theme-ai .hud .bar i { background: linear-gradient(90deg, #8a5cff, #5fe3ff); }
.theme-ai .hud .pct { font-family: 'Unbounded', var(--f-head); font-size: 18px; }

/* ---------------- "ocean" theme chrome (Strategie Modrého a Rudého Oceánu) — navy + sky like the original deck */
body.theme-ocean { --bg: #0b1222; --gold: #38bdf8; --gold2: #7dd3fc; --acc-fill: #0284c7; --line: rgba(148, 163, 184, .2); background: #0b1222; }
.theme-ocean .ambience { display: none; }
.theme-ocean .btn { color: #fff; background: #0284c7; }
.theme-ocean .btn:hover { box-shadow: 0 12px 34px -10px rgba(2, 132, 199, .9); }
.theme-ocean .btn.ghost { background: rgba(255, 255, 255, .06); }
.theme-ocean .menu-title .kick { font: 700 18px 'Plus Jakarta Sans', var(--f-body); letter-spacing: .12em; }
.theme-ocean .menu-title h1 { font: 700 clamp(52px, 6.4vw, 118px)/1.05 'Space Grotesk', var(--f-body); text-transform: none; letter-spacing: -.015em; }
.theme-ocean .menu-title h1 span { color: #38bdf8; -webkit-text-stroke: 0; }
.theme-ocean .menu-title p { font-family: 'Plus Jakarta Sans', var(--f-body); }
.theme-ocean .qr-card { box-shadow: 0 0 120px -30px rgba(56, 189, 248, .7); }
.theme-ocean .chat { background: rgba(15, 23, 42, .92); }
.theme-ocean .hud .bar i { background: linear-gradient(90deg, #dc2626, #0284c7); }
.theme-ocean .hud .pct { font-family: 'Space Grotesk', var(--f-body); font-size: 18px; }

/* ---------------- share modal */
.modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; background: rgba(4, 6, 14, .6); backdrop-filter: blur(6px); }
.modal-card { width: min(620px, calc(100% - 32px)); background: #141625; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 40px 100px -30px #000; }
.modal-card h3 { margin: 0 0 8px; font: 600 24px var(--f-body); }
.modal-card p { margin: 0 0 18px; color: var(--mute); line-height: 1.5; }
.share-row { display: flex; gap: 10px; }
.share-row input { flex: 1; min-width: 0; font: 500 15px var(--f-mono); color: var(--ink); background: rgba(255, 255, 255, .06); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.share-foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.share-foot a { color: var(--gold); text-decoration: none; margin-right: auto; font-weight: 600; }

/* ---------------- "corp" theme chrome (Plánování) — navy + electric blue, corporate */
body.theme-corp { --bg: #0b1f3a; --gold: #3d7bff; --gold2: #8fb3ff; --acc-fill: #2f6bff; --line: rgba(160, 185, 230, .2); background: #e9edf4; }
.theme-corp .ambience { display: none; }
.theme-corp .screen.menu, .theme-corp .screen.library { background: radial-gradient(1200px 700px at 80% -10%, #1d3f78 0%, #0b1f3a 55%, #071428 100%); }
.theme-corp .btn { color: #fff; background: #2f6bff; }
.theme-corp .btn:hover { box-shadow: 0 12px 34px -10px rgba(47, 107, 255, .9); }
.theme-corp .btn.ghost { background: rgba(255, 255, 255, .07); }
.theme-corp .menu-title .kick { font: 600 16px 'Inter', var(--f-body); letter-spacing: .18em; color: #8fb3ff; }
.theme-corp .menu-title h1 { font: 800 clamp(64px, 8vw, 150px)/1 'Sora', var(--f-body); text-transform: none; letter-spacing: -.03em; }
.theme-corp .menu-title h1 span { color: #3d7bff; -webkit-text-stroke: 0; font-size: .38em; letter-spacing: 0; font-weight: 600; margin-top: 14px; }
.theme-corp .menu-title p { font-family: 'Inter', var(--f-body); }
.theme-corp .qr-card { box-shadow: 0 0 120px -30px rgba(61, 123, 255, .8); }
.theme-corp .show { background: #0b1f3a; }
.theme-corp .chat { background: rgba(11, 31, 58, .95); }
.theme-corp .hud .bar i { background: linear-gradient(90deg, #2f6bff, #19c3a6); }
.theme-corp .hud .pct { font: 700 18px 'Sora', var(--f-body); }

.lib-letter { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font: 800 46px 'Sora', var(--f-body); color: #fff; background: linear-gradient(135deg, #2f6bff, #19c3a6); }

/* ---------------- "drift" theme chrome (4ALYARI) — night asphalt + neon violet */
body.theme-drift { --bg: #08070d; --gold: #b388ff; --gold2: #d946ef; --acc-fill: #7c3aed; --line: rgba(179, 136, 255, .2); background: #08070d; }
.theme-drift .ambience { display: none; }
.theme-drift .screen.menu, .theme-drift .screen.library { background: radial-gradient(1300px 500px at 50% 120%, rgba(124, 58, 237, .45), transparent 70%), radial-gradient(900px 500px at 0% 0%, rgba(139, 92, 246, .14), transparent 70%), #08070d; }
.theme-drift .btn { color: #fff; background: linear-gradient(90deg, #7c3aed, #c026d3); transform: skewX(-10deg); border-radius: 4px; }
.theme-drift .btn:hover { box-shadow: 0 12px 40px -8px rgba(139, 92, 246, .95); }
.theme-drift .btn.ghost { background: rgba(255, 255, 255, .06); }
.theme-drift .menu-title .kick { font: 600 16px 'JetBrains Mono', monospace; letter-spacing: .22em; color: #b388ff; }
.theme-drift .menu-title h1 { font: 900 italic clamp(70px, 9vw, 170px)/.95 'Saira', var(--f-head); font-stretch: 118%; text-transform: none; letter-spacing: -.02em; text-shadow: 0 0 60px rgba(139, 92, 246, .6), 4px 4px 0 rgba(124, 58, 237, .55); }
.theme-drift .menu-title h1 span { color: #b388ff; -webkit-text-stroke: 0; font-size: .3em; font-weight: 600; letter-spacing: 0; margin-top: 16px; text-shadow: none; }
.theme-drift .qr-card { box-shadow: 0 0 120px -30px rgba(139, 92, 246, .95); }
.theme-drift .show { background: #08070d; }
.theme-drift .chat { background: rgba(12, 10, 20, .95); }
.theme-drift .hud .bar i { background: linear-gradient(90deg, #34d399, #fbbf24, #f43f5e, #b388ff); }
.theme-drift .hud .pct { font: 800 italic 20px 'Saira', var(--f-head); }

/* ---------------- "family" theme chrome (Rodinná firma) — navy, cream, copper */
body.theme-family { --bg: #26365a; --gold: #d99a63; --gold2: #7f9fbf; --acc-fill: #d99a63; --line: rgba(237, 231, 227, .2); background: #26365a; }
.theme-family .ambience { display: none; }
.theme-family .screen.menu, .theme-family .screen.library { background: radial-gradient(900px 600px at 100% 0%, rgba(227, 216, 212, .16), transparent 70%), radial-gradient(800px 500px at 0% 100%, rgba(217, 154, 99, .14), transparent 70%), #26365a; }
.theme-family .btn { color: #15233f; background: #ede7e3; border-radius: 999px; }
.theme-family .btn:hover { box-shadow: 0 12px 34px -10px rgba(217, 154, 99, .9); }
.theme-family .btn.ghost { color: #ede7e3; background: rgba(255, 255, 255, .06); }
.theme-family .menu-title h1 { font: 800 clamp(70px, 8.6vw, 160px)/.92 'League Spartan', var(--f-head); letter-spacing: .04em; color: #ede7e3; }
.theme-family .menu-title h1 span { color: transparent; -webkit-text-stroke: 2px #d99a63; }
.theme-family .qr-card { box-shadow: 0 0 120px -30px rgba(217, 154, 99, .8); }
.theme-family .show { background: #1d2a47; }
.theme-family .hud .bar i { background: linear-gradient(90deg, #7f9fbf, #d99a63); }
.theme-family .hud .pct { font: 700 20px 'League Spartan', var(--f-head); }

/* ---------------- "book" theme chrome (Jak účinně ovlivňovat druhé) — leather blue + gold */
body.theme-book { --bg: #0c0e14; --gold: #e8c37a; --gold2: #f5dca0; --acc-fill: #1d64d8; --line: rgba(232, 195, 122, .2); background: #0c0e14; }
.theme-book .ambience { display: none; }
.theme-book .screen.menu, .theme-book .screen.library { background: radial-gradient(1100px 680px at 50% 46%, #2b3142, #0d0f16 72%), #0c0e14; }
.theme-book .btn { color: #0a1a42; background: linear-gradient(100deg, #c99a4e, #f5dca0 50%, #e8c37a); }
.theme-book .btn:hover { box-shadow: 0 12px 34px -10px rgba(232, 195, 122, .8); }
.theme-book .btn.ghost { color: #f6f4ef; background: rgba(255, 255, 255, .06); }
.theme-book .menu-title h1 { font: 900 clamp(60px, 7vw, 130px)/1 'Playfair Display', Georgia, serif; text-transform: none; letter-spacing: -.01em; color: #f6f4ef; }
.theme-book .menu-title h1 span { color: #e8c37a; font-style: italic; }
.theme-book .qr-card { box-shadow: 0 0 120px -30px rgba(232, 195, 122, .7); }
.theme-book .show { background: #0c0e14; }
.theme-book .hud .bar i { background: linear-gradient(90deg, #1d64d8, #173f96, #0a1a42, #e8c37a); }
.theme-book .hud .pct { font: 800 20px 'Playfair Display', serif; }
