/* Decorative artwork only appears behind idle content and in theme previews. */
:root[data-theme="vaporwave"]{--theme-art:url('/art/vaporwave.png')}
:root[data-theme="liminal"]{--theme-art:url('/art/liminal.png')}
:root[data-theme="dreamcore"]{--theme-art:url('/art/dreamcore.png')}
:root[data-theme="synthwave"]{--theme-art:url('/art/synthwave.png')}
:root[data-theme="y2k"]{--theme-art:url('/art/y2k.png')}
:root[data-theme="webcore"]{--theme-art:url('/art/webcore.png')}
:root[data-theme="aero"]{--theme-art:url('/art/aero.png')}
:root[data-theme="barbiecore"]{--theme-art:url('/art/barbiecore.png')}
:root:is([data-theme="vaporwave"],[data-theme="liminal"],[data-theme="dreamcore"],[data-theme="synthwave"],[data-theme="y2k"],[data-theme="webcore"],[data-theme="aero"],[data-theme="barbiecore"]) .remote{background-image:linear-gradient(#0008,#0009),var(--theme-art);background-size:cover;background-position:center}
:root:is([data-theme="liminal"],[data-theme="aero"],[data-theme="barbiecore"]) .remote{background-image:linear-gradient(#fff5,#fff8),var(--theme-art)}
:root:is([data-theme="vaporwave"],[data-theme="dreamcore"],[data-theme="synthwave"],[data-theme="y2k"],[data-theme="webcore"]) .remote .empty{background:none}
:root:is([data-theme="vaporwave"],[data-theme="dreamcore"],[data-theme="synthwave"],[data-theme="y2k"],[data-theme="webcore"]) .remote .empty h2{color:#fff;text-shadow:0 2px 9px #000}
:root:is([data-theme="vaporwave"],[data-theme="dreamcore"],[data-theme="synthwave"],[data-theme="y2k"],[data-theme="webcore"]) .remote .empty p{color:#fff;text-shadow:0 1px 6px #000}
:root:is([data-theme="vaporwave"],[data-theme="liminal"],[data-theme="dreamcore"],[data-theme="synthwave"],[data-theme="y2k"],[data-theme="webcore"],[data-theme="aero"],[data-theme="barbiecore"]) .remote .bottom{background:#08101ad9;border-radius:7px;padding:7px 10px;color:#fff;left:12px;right:auto;max-width:calc(100% - 24px)}
.theme-card[data-theme-choice="vaporwave"]{--card-art:url('/art/vaporwave.png')}
.theme-card[data-theme-choice="liminal"]{--card-art:url('/art/liminal.png')}
.theme-card[data-theme-choice="dreamcore"]{--card-art:url('/art/dreamcore.png')}
.theme-card[data-theme-choice="synthwave"]{--card-art:url('/art/synthwave.png')}
.theme-card[data-theme-choice="y2k"]{--card-art:url('/art/y2k.png')}
.theme-card[data-theme-choice="webcore"]{--card-art:url('/art/webcore.png')}
.theme-card[data-theme-choice="aero"]{--card-art:url('/art/aero.png')}
.theme-card[data-theme-choice="barbiecore"]{--card-art:url('/art/barbiecore.png')}
.theme-card:has([aria-hidden]) .theme-swatch{height:75px}
.theme-card:is([data-theme-choice="vaporwave"],[data-theme-choice="liminal"],[data-theme-choice="dreamcore"],[data-theme-choice="synthwave"],[data-theme-choice="y2k"],[data-theme-choice="webcore"],[data-theme-choice="aero"],[data-theme-choice="barbiecore"]) .theme-swatch{height:80px;background-image:var(--card-art);background-size:cover;background-position:center}
.theme-card:is([data-theme-choice="vaporwave"],[data-theme-choice="liminal"],[data-theme-choice="dreamcore"],[data-theme-choice="synthwave"],[data-theme-choice="y2k"],[data-theme-choice="webcore"],[data-theme-choice="aero"],[data-theme-choice="barbiecore"]) .theme-swatch i{display:none}

/* Camzuno identity inherits each theme's typography and palette. */
.top .video-brand{display:inline-flex;align-items:center;gap:7px;flex-shrink:0}
.top .video-brand .camzuno-mark{width:28px;height:28px;flex:none;color:var(--lime)}
.top .video-brand .camzuno-wordmark{background:none;padding:0;border-radius:0;color:inherit;font:inherit;letter-spacing:inherit}
.spark .camzuno-mark{display:block;width:76px;height:76px}
@media(max-width:600px){.top .video-brand{gap:4px;letter-spacing:0!important;font-size:14px!important}.top .video-brand .camzuno-mark{width:22px;height:22px}.spark .camzuno-mark{width:60px;height:60px}}

#countryHint{display:block;max-width:230px;margin-top:4px;font-size:12px;line-height:1.4;letter-spacing:0;color:var(--muted)}

#partnerCountry{flex-shrink:0;padding:5px 9px;border-radius:8px;background:var(--theme-surface);color:inherit;font-size:12px}.remote .bottom{flex-wrap:wrap}#partnerCountry[hidden]{display:none}

.auth-intro{text-align:center}.auth-kicker{font-size:13px;letter-spacing:3px;font-weight:700;color:var(--lime)}
.auth-providers{display:grid;gap:12px;margin:24px 0 16px}.auth-provider{display:flex;align-items:center;gap:15px;width:100%;min-height:54px;border:1px solid var(--line);border-radius:9px;text-align:left;font-size:16px;font-weight:600;background:var(--theme-surface);color:inherit;padding:14px 18px}
.auth-provider:disabled{opacity:1;cursor:not-allowed}.auth-provider>span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:28px;font:700 21px Arial,sans-serif;flex:none}.auth-provider.google>span{color:#4285f4}.auth-provider.facebook>span{background:#1877f2;color:white;border-radius:5px}.auth-provider.vk>span{background:#0077ff;color:white;border-radius:5px;font-size:14px}
.auth-setup{padding:12px 14px;border:1px solid var(--line);border-radius:8px;font-size:14px;line-height:1.6}.auth-privacy{font-size:14px;line-height:1.7;color:var(--muted)}.auth-preview{border-top:1px solid var(--line);margin-top:22px;padding-top:10px}.auth-preview>p{font-size:14px;font-weight:600}.auth-preview>small{display:block;font-size:12px;letter-spacing:0;line-height:1.6;margin-top:10px}

/* Authentication follows each theme without inheriting unrelated dialog title bars. */
.auth-modal{max-height:calc(100dvh - 32px);overflow-y:auto;padding:36px 28px 26px}
.auth-window-title{display:none}.auth-modal .auth-intro h2{margin:8px 20px 12px;font-family:var(--heading-font);line-height:1.25;font-size:27px;overflow-wrap:anywhere}
.auth-modal p{color:var(--theme-muted)}.auth-modal .auth-kicker{color:var(--theme-accent);margin:0 24px 12px;line-height:1.5}
.auth-modal .auth-provider{color:inherit;font-family:var(--ui-font);line-height:1.4;min-width:0;white-space:normal}
.auth-modal .auth-setup{background:color-mix(in srgb,var(--theme-accent) 7%,var(--theme-surface));color:var(--theme-muted)}
.auth-modal .auth-preview .secondary{background:var(--theme-surface);color:inherit;border:1px solid var(--theme-line)}
.auth-modal .auth-preview>small{color:var(--theme-muted)}.auth-modal #closeModal{z-index:3;min-width:30px;line-height:1}
[data-theme="win98"] .auth-modal{background:#c0c0c0;color:#000;border:2px solid;border-color:#fff #404040 #404040 #fff;border-radius:0;padding:56px 22px 22px;box-shadow:inset -1px -1px #808080,4px 4px #0005}
[data-theme="win98"] .auth-window-title{display:block;position:absolute;left:3px;right:3px;top:3px;min-height:29px;padding:6px 40px 6px 8px;background:linear-gradient(90deg,#000080,#1084d0);color:#fff;font:700 14px/1.3 Tahoma,Arial,sans-serif;text-align:left}
[data-theme="win98"] .auth-modal .auth-intro h2{background:none;color:#000;margin:8px 0 12px;padding:0;font-size:23px;letter-spacing:0;text-align:center}
[data-theme="win98"] .auth-modal .auth-kicker{color:#000080;letter-spacing:1px;font-family:Tahoma,Arial,sans-serif}
[data-theme="win98"] .auth-modal #closeModal{top:6px;right:6px;width:23px;min-width:23px;height:23px;padding:0;font:bold 20px/18px Arial,sans-serif;color:#000}
[data-theme="win98"] .auth-modal .auth-provider,[data-theme="win98"] .auth-modal .auth-preview .secondary{background:#c0c0c0;color:#333;border:2px solid;border-color:#fff #404040 #404040 #fff;border-radius:0;box-shadow:inset -1px -1px #808080;text-shadow:none}
[data-theme="win98"] .auth-modal .auth-setup{background:#dfdfdf;border:2px solid;border-color:#808080 #fff #fff #808080;border-radius:0;color:#222}
:is([data-theme="matrix"],[data-theme="webcore"],[data-theme="synthwave"],[data-theme="vaporwave"],[data-theme="lime"]) .auth-modal .auth-provider,:is([data-theme="matrix"],[data-theme="webcore"],[data-theme="synthwave"],[data-theme="vaporwave"],[data-theme="lime"]) .auth-modal .auth-setup{border-radius:0}
[data-theme="matrix"] .auth-modal .auth-provider{background:#07160d;color:#b3ffc5;border-color:#246c39}
[data-theme="webcore"] .auth-modal .auth-provider{border:3px outset #8888ff;background:#101050}
[data-theme="y2k"] .auth-modal .auth-provider{background:linear-gradient(135deg,#44536e,#28304c);border-color:#9caac3;border-radius:18px}
[data-theme="aero"] .auth-modal .auth-provider{background:linear-gradient(#fff,#dcf4ff);color:#214f65;box-shadow:inset 0 1px #fff;border-color:#7bb3cd;border-radius:12px}
[data-theme="barbiecore"] .auth-modal .auth-provider{background:linear-gradient(#fff8fc,#ffe7f3);color:#701642;border:2px solid #e78abb;border-radius:24px}
[data-theme="dreamcore"] .auth-modal .auth-provider{border-style:dashed;border-radius:16px 5px 18px 6px}
[data-theme="liminal"] .auth-modal .auth-provider{border-radius:1px;background:#f5f0db;color:#514d3d}
@media(max-width:600px){.auth-modal{padding:35px 18px 22px}.auth-modal .auth-intro h2{font-size:24px;margin-left:8px;margin-right:8px}.auth-modal .auth-provider{padding:12px;gap:12px;font-size:15px}.auth-modal .auth-providers{gap:10px;margin-top:20px}[data-theme="win98"] .auth-modal{padding:48px 16px 18px}[data-theme="win98"] .auth-modal .auth-intro h2{margin:8px 0 12px;padding:0}}

.own-country-control{border:1px solid var(--theme-line);background:var(--theme-surface);border-radius:10px;padding:8px 12px;min-width:160px;flex:1}.own-country-control label{margin:0 0 4px;font-size:12px;color:var(--theme-muted)}.own-country-control select{width:100%;padding:4px 0;border:0;background:transparent;color:inherit}.own-country-control select option{background:#f4f7ff;color:#121a2b}#ownCountryHint{display:block;font-size:12px;letter-spacing:0;line-height:1.4;color:var(--theme-muted);margin-top:4px}
[data-theme="win98"] .own-country-control{background:#c0c0c0;color:#000;border:2px solid;border-color:#fff #404040 #404040 #fff;border-radius:0}[data-theme="win98"] .own-country-control select{color:#000}[data-theme="matrix"] .own-country-control,[data-theme="webcore"] .own-country-control{border-radius:0}.remote #remoteVideo{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;background:#000}.remote.has-partner #remoteEmpty{display:none}.remote.has-partner .matrix-rain{display:none}.remote.has-partner .top,.remote.has-partner .bottom{background:#000b;color:white;padding:6px 9px;border-radius:8px}.remote.has-partner .top .video-brand{color:white}

.workspace .box video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;transform:none;background:#000}

/* Mirroring is local presentation only; the shared camera track is unchanged. */
.workspace .local #self{transform:scaleX(-1)}
.workspace .remote #remoteVideo{transform:none}

/* Camzuno keeps its vivid brand palette in every theme. */
.top .video-brand .camzuno-wordmark{background:linear-gradient(105deg,#18e8ff,#b58aff 52%,#ff70c0);background-clip:text;-webkit-background-clip:text;color:transparent}
.top .video-brand .camzuno-mark,.spark .camzuno-mark{filter:drop-shadow(0 0 6px #9165ff55)}

.remote .empty .waiting-logo{display:block;width:76px;height:76px;flex-shrink:0;margin:0 auto 18px;filter:drop-shadow(0 0 6px #9165ff55)}
.remote .empty .spark{display:block!important}
.top .video-brand .camzuno-wordmark{display:inline!important}

.partner-gallery{display:flex;gap:8px;overflow-x:auto;padding:8px 2px 12px}.partner-thumbnail{flex:0 0 100px;padding:4px;border:2px solid transparent;border-radius:10px;background:var(--theme-surface,#19172d);text-align:center}.partner-thumbnail[aria-pressed="true"]{border-color:var(--lime)}.partner-thumbnail img,.partner-thumbnail>span{display:block;width:88px;height:88px;object-fit:cover;border-radius:6px}.partner-thumbnail>span{padding-top:30px;font-size:12px}.partner-thumbnail small{display:block;font-size:10px;letter-spacing:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* One-screen report chooser, including short mobile viewports. */
dialog:has(.compact-report){width:min(460px,calc(100vw - 20px));max-height:calc(100dvh - 20px);padding:16px!important;overflow:hidden}
.compact-report{display:flex;flex-direction:column;gap:8px;max-height:calc(100dvh - 52px)}
dialog .compact-report h2{font-size:20px!important;line-height:1.2!important;margin:0 28px 0 0!important;padding:0!important;background:none!important;flex-shrink:0}
.compact-report .partner-gallery{padding:2px;gap:6px;flex-shrink:0}
.compact-report .partner-thumbnail{flex-basis:76px;padding:3px}
.compact-report .partner-thumbnail img,.compact-report .partner-thumbnail>span{width:66px;height:66px}
.compact-report .partner-thumbnail>span{padding-top:22px}
dialog .compact-report p,dialog .compact-report label{font-size:12px;line-height:1.3;margin:0;letter-spacing:0}
.compact-report select{padding:7px;height:36px;font-size:13px;flex-shrink:0}
.compact-report textarea{width:100%;height:52px;min-height:32px;resize:none;padding:7px;font:inherit;font-size:13px;color:var(--theme-text,#fff);background:var(--theme-surface,#19172d);border:1px solid var(--line);border-radius:8px}
.compact-report .report-privacy{font-size:10px;line-height:1.3;letter-spacing:0}
.compact-report #reportError:empty{display:none}
.report-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;flex-shrink:0}
.report-actions button{min-height:40px;padding:8px;border:1px solid var(--line);border-radius:8px;font-size:13px}
.report-actions #sendReport{background:var(--lime);color:var(--theme-button,#111)}
@media(max-height:480px){.compact-report{gap:4px}.compact-report .partner-thumbnail img,.compact-report .partner-thumbnail>span{height:42px}.compact-report textarea{height:32px}.compact-report .report-privacy{display:none}}
/* Searchable picker retains the native country value for matching. */
.country-control #country[hidden]{display:none!important}
.country-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;height:38px;padding:0 9px;color:inherit;font-size:14px;font-weight:700;text-align:left}
.country-picker-trigger>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.fullscreen-app .app-match-dock .country-picker-trigger{height:32px;min-height:0;font-size:13px}
dialog:has(.country-picker){padding:20px!important;width:min(400px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:hidden}
.country-picker{display:flex;flex-direction:column;gap:8px;max-height:calc(100dvh - 68px)}
dialog .country-picker h2{margin:0 28px 6px 0!important;padding:0!important;background:none!important;font-size:20px!important;line-height:1.3!important}
.country-picker input{padding:10px 12px;min-height:40px;flex-shrink:0}
.country-option{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:8px 10px;text-align:left;border-radius:8px;font-size:14px;color:inherit}
.country-option:hover,.country-option[aria-pressed="true"]{background:color-mix(in srgb,var(--lime) 12%,transparent)}
.country-flag{width:26px;font-size:21px;flex-shrink:0}.country-name{flex:1}.country-check{color:var(--lime)}
.country-picker small{display:block;font-size:10px;letter-spacing:1px;text-transform:uppercase;padding:4px 10px}
.country-results{overflow-y:auto;min-height:70px;max-height:240px;scrollbar-width:thin;overscroll-behavior:contain}
#countryWorld{border-bottom:1px solid var(--line);border-radius:0;flex-shrink:0}
#countryRecent{flex-shrink:0}.country-results p{font-size:13px;padding:8px}
@media(max-height:520px){#countryRecent{display:none}.country-results{max-height:180px}.country-picker{gap:4px}}

.country-flag-image{display:inline-block;object-fit:contain;width:24px;height:18px;border-radius:2px;vertical-align:middle;flex-shrink:0}.country-picker-trigger>span:first-of-type{flex:1}.country-flag{display:flex;align-items:center}

/* Labels occupy their own row above desktop matching values. */
body:not(.fullscreen-app) .country-control,body:not(.fullscreen-app) .own-gender-control{display:flex;flex-direction:column;min-height:64px;padding:0}
body:not(.fullscreen-app) .country-control>label,body:not(.fullscreen-app) .own-gender-control>label{position:static;inset:auto;display:block;height:25px;flex:0 0 25px;line-height:16px;padding:7px 12px 2px;margin:0;pointer-events:auto}
body:not(.fullscreen-app) .country-control .country-picker-trigger{height:37px;padding:0 12px;flex:1;min-height:32px}
body:not(.fullscreen-app) .own-gender-control select{height:37px;min-height:32px;padding:0 30px 0 12px;flex:1}
body:not(.fullscreen-app) .country-picker-trigger{color:var(--theme-text,#fff)}
body:not(.fullscreen-app):is([data-theme="win98"],[data-theme="liminal"],[data-theme="aero"]) .country-picker-trigger{color:#172c36}
:root:is([data-theme="win98"],[data-theme="liminal"],[data-theme="aero"]) .country-picker-trigger{color:#172c36}

/* Barbiecore matching labels and values use the theme's dark pink. */
:root[data-theme="barbiecore"] body .country-control>label,
:root[data-theme="barbiecore"] body .own-gender-control>label,
:root[data-theme="barbiecore"] body .country-control .country-picker-trigger,
:root[data-theme="barbiecore"] body .own-gender-control select{color:#a60058!important}
/* Sample placements; no ad network is connected. */
.sample-ad-banner{position:fixed;left:50%;bottom:8px;transform:translateX(-50%);width:min(728px,calc(100vw - 32px));height:70px;z-index:16;border:1px solid #776ab2;border-radius:10px;background:linear-gradient(110deg,#17152c,#292143 65%,#40305d);color:#fff;box-shadow:0 6px 24px #0004;font:12px Arial,sans-serif;overflow:hidden}
.sample-ad-label{display:block;font-size:8px;letter-spacing:1.2px;color:#cbc0e6;padding:5px 12px 0}
.sample-ad-content{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 14px 8px}.sample-ad-art{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,#18e8ff,#ff45ae);font-size:28px}.sample-ad-copy{flex:1;min-width:0}.sample-ad-copy strong{display:block;font-size:16px;line-height:1.3}.sample-ad-copy>span{display:block;margin-top:3px;color:#c9bedf;font-size:11px}.sample-ad-cta{padding:8px 14px;border-radius:20px;background:#eee9ff;color:#282039;font-weight:700;white-space:nowrap}
@media(min-width:701px){body:not(.fullscreen-app){padding-bottom:86px}}
@media(max-width:700px){body:not(.fullscreen-app) .sample-ad-banner{display:none}}
body.fullscreen-app .sample-ad-banner{left:0;bottom:0;transform:none;width:100%;height:calc(62px + env(safe-area-inset-bottom));border-radius:0;border-width:1px 0 0;padding-bottom:env(safe-area-inset-bottom)}
body.fullscreen-app .sample-ad-label{padding:4px 12px 0;font-size:7px}
body.fullscreen-app .sample-ad-content{gap:8px;padding:3px 12px 6px}
body.fullscreen-app .sample-ad-art{height:32px;width:32px;font-size:24px}
body.fullscreen-app .sample-ad-copy strong{font-size:12px}
body.fullscreen-app .sample-ad-copy>span{font-size:9px;margin-top:2px}
body.fullscreen-app .sample-ad-cta{font-size:10px;padding:7px 10px}
.sample-ad-banner[hidden]{display:none!important}


#notice:empty{display:none}
