Files
chat/assets/css/cyberchat.css
T
Ty Clifford a1971f9515 -
Groups is fully removed:

No homepage navigation, Account feature, tier setting, API, or client 
code.
Legacy group tables, entitlements, messages, voice files, and config are 
purged automatically.
New cache-busted client: cyberchat-app.js?v=20260609.3.
Browser and SQLite migration tests passed with no console errors.
2026-06-09 00:16:32 -04:00

1207 lines
30 KiB
CSS

/* ─── CyberChat CSS v3.0 — Cyberpunk Dark Theme ─────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Rajdhani:wght@400;500;600;700&family=Orbitron:wght@400;700;900&display=swap');
/* ─── Variables ──────────────────────────────────────────────────────────── */
:root {
--g: #00ff9f; /* neon green */
--b: #00b8ff; /* neon blue */
--p: #ff2d78; /* neon pink */
--o: #ff9f00; /* neon orange */
--r: #ff3c3c; /* neon red */
--v: #bf5fff; /* neon violet */
--c: #00ffff; /* neon cyan */
--bg0: #05080d;
--bg1: #080c12;
--bg2: #0c1118;
--bg3: #101820;
--bgp: #090d14;
--bgi: #0b101a;
--bd: #182030;
--bdg: rgba(0,255,159,0.18);
--t0: #c8e6ff;
--t1: #4d6a88;
--t2: #1e2e40;
--mono: 'Share Tech Mono', monospace;
--ui: 'Rajdhani', sans-serif;
--disp: 'Orbitron', monospace;
--glowg: 0 0 8px #00ff9f99, 0 0 22px #00ff9f33;
--glowb: 0 0 8px #00b8ff99, 0 0 22px #00b8ff33;
--glowp: 0 0 8px #ff2d7899, 0 0 22px #ff2d7833;
--glowr: 0 0 8px #ff3c3c99, 0 0 22px #ff3c3c33;
--r1: 3px;
--r2: 6px;
--ease: 0.14s ease;
}
/* ─── Light mode overrides ───────────────────────────────────────────────── */
body.cc-light {
--bg0: #edf1f7;
--bg1: #f4f7fc;
--bg2: #ffffff;
--bg3: #e8edf5;
--bgp: #f0f4fa;
--bgi: #ffffff;
--bd: #ccd7e6;
--bdg: rgba(0,138,220,0.25);
--t0: #1a2a3c;
--t1: #4a6888;
--t2: #aabcce;
}
/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
button { cursor: pointer; font-family: inherit; }
a { color: inherit; }
input, button { font-family: inherit; }
/* ─── Root container (embed-ready) ──────────────────────────────────────── */
#cyberchat-root {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
min-height: 360px;
background: var(--bg0);
color: var(--t0);
font-family: var(--ui);
font-size: 14px;
line-height: 1.5;
border: 1px solid var(--bd);
border-radius: var(--r2);
overflow: hidden;
position: relative;
-webkit-font-smoothing: antialiased;
}
/* CRT scanline overlay */
#cyberchat-root::after {
content: '';
position: absolute;
inset: 0;
background: repeating-linear-gradient(
to bottom,
transparent,
transparent 3px,
rgba(0,0,0,0.035) 3px,
rgba(0,0,0,0.035) 4px
);
pointer-events: none;
z-index: 999;
}
/* ─── Scrollbar ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bgp); }
::-webkit-scrollbar-thumb { background: var(--bd); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,184,255,0.4); }
/* ─── Header ─────────────────────────────────────────────────────────────── */
.cc-header {
display: flex;
align-items: center;
padding: 0 12px;
height: 46px;
background: var(--bgp);
border-bottom: 1px solid var(--bd);
position: relative;
z-index: 10;
flex-shrink: 0;
gap: 8px;
}
.cc-header::after {
content: '';
position: absolute;
bottom: 0; left: 0; right: 0; height: 1px;
background: linear-gradient(90deg, transparent 0%, var(--g) 25%, var(--b) 50%, var(--p) 75%, transparent 100%);
opacity: 0.55;
}
.cc-logo {
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
}
.cc-logo-glyph {
font-size: 18px;
color: var(--g);
text-shadow: var(--glowg);
animation: logo-pulse 3s ease-in-out infinite;
}
@keyframes logo-pulse {
0%,100% { opacity: 1; }
50% { opacity: 0.6; }
}
.cc-logo-text {
font-family: var(--disp);
font-size: 12px;
font-weight: 900;
letter-spacing: 3px;
background: linear-gradient(90deg, var(--g), var(--b));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
line-height: 1.2;
}
.cc-logo-sub {
font-family: var(--mono);
font-size: 8px;
color: var(--t1);
letter-spacing: 1.5px;
line-height: 1;
}
.cc-header-center {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
font-family: var(--mono);
font-size: 11px;
}
.cc-online-num {
color: var(--g);
font-weight: 600;
}
.cc-online-label {
color: var(--t1);
}
.cc-conn-dot {
display: inline-block;
width: 7px; height: 7px;
border-radius: 50%;
background: var(--g);
box-shadow: var(--glowg);
animation: dot-blink 2s ease-in-out infinite;
flex-shrink: 0;
}
.cc-conn-dot.offline { background: var(--r); box-shadow: var(--glowr); animation: none; }
.cc-conn-dot.online { background: var(--g); box-shadow: var(--glowg); }
@keyframes dot-blink {
0%,100% { opacity: 1; }
50% { opacity: 0.35; }
}
.cc-header-right { flex-shrink: 0; }
.cc-theme-btn {
width: 28px; height: 28px;
background: none;
border: 1px solid var(--bd);
border-radius: var(--r1);
color: var(--t1);
font-size: 13px;
display: flex; align-items: center; justify-content: center;
transition: all var(--ease);
}
.cc-theme-btn:hover {
border-color: var(--b);
color: var(--b);
box-shadow: var(--glowb);
}
/* ─── Body area ──────────────────────────────────────────────────────────── */
.cc-body {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
z-index: 1;
}
/* ─── TOAST NOTIFICATIONS ────────────────────────────────────────────────── */
.cc-toast-area {
position: absolute;
top: 54px;
left: 50%;
transform: translateX(-50%);
z-index: 500;
display: flex;
flex-direction: column;
gap: 5px;
pointer-events: none;
width: 88%;
max-width: 320px;
}
.cc-toast {
background: var(--bg1);
border: 1px solid var(--bd);
border-radius: var(--r1);
padding: 8px 12px;
font-family: var(--mono);
font-size: 11px;
letter-spacing: 0.3px;
text-align: center;
animation: toastIn 0.18s ease;
transition: opacity 0.32s, transform 0.32s;
}
.cc-toast.error { border-color: var(--r); color: var(--r); }
.cc-toast.success { border-color: var(--g); color: var(--g); }
.cc-toast.info { border-color: var(--b); color: var(--b); }
.cc-toast-fade { opacity: 0; transform: translateY(-8px); }
@keyframes toastIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}
/* ──────────────────────────────────────────────────────────────────────────
AUTH SCREEN
────────────────────────────────────────────────────────────────────────── */
.cc-auth-wrap {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 20px 16px;
overflow-y: auto;
background: radial-gradient(ellipse at 50% 30%, rgba(0,184,255,0.04) 0%, transparent 70%),
var(--bg0);
}
.cc-auth-panel {
width: 100%;
max-width: 340px;
background: var(--bg1);
border: 1px solid var(--bd);
border-radius: var(--r2);
overflow: hidden;
box-shadow: 0 0 40px rgba(0,0,0,0.5);
animation: panelIn 0.25s ease;
}
@keyframes panelIn {
from { opacity: 0; transform: translateY(12px) scale(0.98); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
.cc-auth-brand {
display: flex;
align-items: center;
gap: 10px;
padding: 16px 20px 0;
font-family: var(--disp);
font-size: 9px;
letter-spacing: 3px;
color: var(--b);
text-transform: uppercase;
}
.cc-auth-brand-line {
flex: 1;
height: 1px;
background: linear-gradient(90deg, transparent, var(--b));
opacity: 0.4;
}
.cc-auth-brand-line:last-child {
background: linear-gradient(90deg, var(--b), transparent);
}
/* Tabs */
.cc-auth-tabs {
display: grid;
grid-template-columns: 1fr 1fr;
margin: 14px 20px 0;
border: 1px solid var(--bd);
border-radius: var(--r1);
overflow: hidden;
}
.cc-auth-tab {
padding: 9px 6px;
background: none;
border: none;
color: var(--t1);
font-family: var(--ui);
font-size: 11px;
font-weight: 700;
letter-spacing: 1.5px;
text-transform: uppercase;
transition: all var(--ease);
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
}
.cc-auth-tab:not(:last-child) {
border-right: 1px solid var(--bd);
}
.cc-auth-tab .cc-tab-icon {
font-size: 9px;
opacity: 0.7;
}
.cc-auth-tab.active {
background: var(--g);
color: #000;
}
.cc-auth-tab:not(.active):hover {
background: var(--bg3);
color: var(--t0);
}
/* Forms */
.cc-auth-form {
display: none;
padding: 18px 20px 20px;
}
.cc-auth-form.active {
display: block;
animation: formSlide 0.18s ease;
}
@keyframes formSlide {
from { opacity: 0; transform: translateX(6px); }
to { opacity: 1; transform: translateX(0); }
}
.cc-form-hint {
font-family: var(--mono);
font-size: 10px;
color: var(--t1);
letter-spacing: 0.5px;
margin-bottom: 16px;
line-height: 1.5;
}
.cc-field {
margin-bottom: 13px;
}
.cc-field-label {
display: block;
font-family: var(--mono);
font-size: 9px;
color: var(--t1);
letter-spacing: 1.5px;
text-transform: uppercase;
margin-bottom: 5px;
}
.cc-field-note {
color: var(--t2);
font-size: 8px;
letter-spacing: 0.5px;
text-transform: lowercase;
}
.cc-input {
width: 100%;
background: var(--bgi);
border: 1px solid var(--bd);
border-radius: var(--r1);
color: var(--t0);
font-family: var(--mono);
font-size: 13px;
padding: 8px 11px;
outline: none;
transition: border-color var(--ease), box-shadow var(--ease);
}
.cc-input:focus {
border-color: var(--b);
box-shadow: 0 0 0 2px rgba(0,184,255,0.15);
}
.cc-input::placeholder { color: var(--t2); }
/* Buttons */
.cc-btn {
display: block;
width: 100%;
padding: 10px;
border: none;
border-radius: var(--r1);
font-family: var(--disp);
font-size: 10px;
font-weight: 700;
letter-spacing: 2.5px;
text-transform: uppercase;
transition: all var(--ease);
margin-top: 6px;
position: relative;
overflow: hidden;
}
.cc-btn::before {
content: '';
position: absolute;
inset: 0;
opacity: 0;
transition: opacity var(--ease);
background: rgba(255,255,255,0.08);
}
.cc-btn:hover::before { opacity: 1; }
.cc-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.cc-btn:disabled::before { display: none; }
.cc-btn-register {
background: var(--g);
color: #000;
box-shadow: 0 0 15px rgba(0,255,159,0.25);
}
.cc-btn-register:hover:not(:disabled) {
box-shadow: var(--glowg);
}
.cc-btn-login {
background: var(--b);
color: #000;
box-shadow: 0 0 15px rgba(0,184,255,0.2);
}
.cc-btn-login:hover:not(:disabled) {
box-shadow: var(--glowb);
}
.cc-btn-inner { pointer-events: none; }
/* Error */
.cc-auth-error {
font-family: var(--mono);
font-size: 10px;
color: var(--r);
text-align: center;
padding: 0 20px 14px;
min-height: 0;
max-height: 0;
overflow: hidden;
opacity: 0;
transition: all 0.18s ease;
letter-spacing: 0.3px;
}
.cc-auth-error.visible {
max-height: 40px;
opacity: 1;
}
/* ──────────────────────────────────────────────────────────────────────────
CHAT SCREEN
────────────────────────────────────────────────────────────────────────── */
/* User bar */
.cc-userbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 5px 12px;
background: var(--bgp);
border-bottom: 1px solid var(--bd);
flex-shrink: 0;
gap: 8px;
}
.cc-userbar-left {
display: flex;
align-items: center;
gap: 7px;
min-width: 0;
}
.cc-you-label {
font-family: var(--mono);
font-size: 9px;
color: var(--t1);
letter-spacing: 1px;
flex-shrink: 0;
}
.cc-you-name {
font-family: var(--mono);
font-size: 11px;
font-weight: 600;
padding: 2px 8px;
border-radius: 2px;
border: 1px solid currentColor;
flex-shrink: 0;
max-width: 100px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.cc-day-tag {
font-family: var(--mono);
font-size: 9px;
color: var(--t1);
letter-spacing: 0.5px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
min-width: 0;
}
.cc-userbar-right { flex-shrink: 0; }
.cc-logout-btn {
background: none;
border: 1px solid var(--r);
color: var(--r);
font-family: var(--mono);
font-size: 9px;
letter-spacing: 1px;
padding: 3px 9px;
border-radius: var(--r1);
text-transform: uppercase;
transition: all var(--ease);
}
.cc-logout-btn:hover {
background: var(--r);
color: #000;
box-shadow: var(--glowr);
}
/* Messages */
.cc-messages {
flex: 1;
overflow-y: auto;
display: flex;
flex-direction: column;
padding: 6px 0 4px;
scroll-behavior: smooth;
}
.cc-msg {
display: flex;
align-items: baseline;
padding: 2px 12px;
font-family: var(--mono);
font-size: 13px;
line-height: 1.65;
flex-shrink: 0;
transition: background var(--ease);
}
.cc-msg:hover { background: rgba(255,255,255,0.02); }
.cc-msg-time {
font-size: 9px;
color: var(--t2);
min-width: 44px;
flex-shrink: 0;
margin-right: 7px;
padding-top: 2px;
letter-spacing: 0.5px;
}
.cc-msg-user {
font-size: 12px;
font-weight: 600;
flex-shrink: 0;
min-width: 0;
max-width: 86px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.cc-msg-sep {
color: var(--t2);
margin: 0 7px;
flex-shrink: 0;
}
.cc-msg-text {
color: var(--t0);
word-break: break-word;
flex: 1;
min-width: 0;
}
.cc-msg-own .cc-msg-text { color: #ddeeff; }
.cc-voice-message {
display: inline-flex;
align-items: center;
gap: 8px;
width: min(100%, 390px);
}
.cc-voice-label {
color: var(--b);
font-size: 9px;
letter-spacing: 1px;
flex-shrink: 0;
}
.cc-voice-message audio {
display: none;
}
.cc-msg-voice-playing {
background: rgba(0,255,159,0.06);
box-shadow: inset 2px 0 0 var(--g);
}
/* New message animation */
.cc-msg-new {
animation: msgIn 0.2s ease;
}
@keyframes msgIn {
from { opacity: 0; transform: translateX(-5px); }
to { opacity: 1; transform: translateX(0); }
}
/* Loading / empty states */
.cc-loading-msg {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 14px;
color: var(--t1);
font-family: var(--mono);
font-size: 10px;
letter-spacing: 2px;
}
.cc-spin {
width: 22px; height: 22px;
border: 2px solid var(--bd);
border-top-color: var(--g);
border-radius: 50%;
animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cc-empty-day {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
font-family: var(--mono);
font-size: 10px;
color: var(--t2);
letter-spacing: 2px;
padding: 20px;
text-align: center;
}
/* Scroll-to-bottom */
.cc-scroll-to-bottom {
position: absolute;
bottom: 56px;
right: 12px;
width: 27px; height: 27px;
background: var(--bg1);
border: 1px solid var(--b);
color: var(--b);
border-radius: 50%;
display: none;
align-items: center;
justify-content: center;
font-size: 13px;
z-index: 20;
box-shadow: var(--glowb);
transition: all var(--ease);
}
.cc-body.cc-has-voice .cc-scroll-to-bottom { bottom: 100px; }
.cc-scroll-to-bottom.visible { display: flex; }
.cc-scroll-to-bottom:hover { background: var(--b); color: #000; }
/* Voice compose */
.cc-voice-compose {
display: flex;
align-items: center;
gap: 8px;
min-height: 40px;
padding: 5px 10px;
background: var(--bg1);
border-top: 1px solid var(--bd);
flex-shrink: 0;
font-family: var(--mono);
}
.cc-voice-record {
display: inline-flex;
align-items: center;
gap: 6px;
height: 28px;
padding: 0 9px;
background: transparent;
border: 1px solid var(--p);
border-radius: var(--r1);
color: var(--p);
font-family: var(--mono);
font-size: 9px;
letter-spacing: 1px;
}
.cc-voice-record:hover,
.cc-voice-record.recording {
background: rgba(255,45,120,0.12);
box-shadow: var(--glowp);
}
.cc-voice-record:disabled {
opacity: 0.45;
cursor: wait;
}
.cc-voice-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: currentColor;
}
.cc-voice-record.recording .cc-voice-dot {
animation: dot-blink 0.8s ease-in-out infinite;
}
.cc-voice-status {
color: var(--t1);
font-size: 9px;
letter-spacing: 0.5px;
white-space: nowrap;
}
.cc-voice-queue {
display: inline-flex;
align-items: center;
gap: 5px;
height: 28px;
padding: 0 8px;
background: transparent;
border: 1px solid var(--b);
border-radius: var(--r1);
color: var(--b);
font-family: var(--mono);
font-size: 8px;
letter-spacing: 0.7px;
white-space: nowrap;
}
.cc-voice-queue span {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 16px;
height: 16px;
padding: 0 4px;
border-radius: 8px;
background: rgba(0,184,255,0.14);
}
.cc-voice-queue:hover:not(:disabled),
.cc-voice-queue.blocked {
background: rgba(0,184,255,0.1);
box-shadow: var(--glowb);
}
.cc-voice-queue.playing {
border-color: var(--g);
color: var(--g);
}
.cc-voice-queue:disabled {
opacity: 0.35;
cursor: default;
}
.cc-voice-autoplay {
display: inline-flex;
align-items: center;
gap: 5px;
margin-left: auto;
color: var(--t1);
font-size: 9px;
white-space: nowrap;
cursor: pointer;
}
.cc-voice-autoplay input { accent-color: var(--g); }
.cc-voice-autoplay + .cc-voice-autoplay { margin-left: 0; }
.cc-voice-review {
display: flex;
align-items: center;
gap: 5px;
min-width: 0;
}
.cc-voice-review[hidden] { display: none; }
.cc-voice-review audio { display: none; }
.cc-voice-review .cc-cyber-audio { width: 230px; min-width: 200px; }
/* Cyberpunk audio console */
.cc-cyber-audio {
--cc-audio-progress: 0%;
display: inline-grid;
grid-template-columns: 26px 20px minmax(78px, 1fr) auto 34px;
align-items: center;
gap: 6px;
width: min(100%, 310px);
min-width: 230px;
height: 34px;
padding: 3px 6px 3px 4px;
color: var(--g);
background:
linear-gradient(90deg, rgba(0,255,159,.07), transparent 38%),
var(--bg2);
border: 1px solid rgba(0,255,159,.32);
border-radius: 2px;
box-shadow: inset 0 0 12px rgba(0,0,0,.55), 0 0 8px rgba(0,255,159,.08);
position: relative;
overflow: hidden;
vertical-align: middle;
}
.cc-cyber-audio::after {
content: '';
position: absolute;
inset: 0;
background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,255,159,.025) 3px 4px);
pointer-events: none;
}
.cc-cyber-audio.playing {
border-color: var(--g);
box-shadow: inset 0 0 14px rgba(0,255,159,.08), 0 0 10px rgba(0,255,159,.22);
}
.cc-audio-play,
.cc-audio-mute {
position: relative;
z-index: 1;
height: 24px;
color: var(--g);
background: rgba(0,255,159,.04);
border: 1px solid rgba(0,255,159,.42);
border-radius: 1px;
font: 7px var(--mono);
letter-spacing: .5px;
}
.cc-audio-play { width: 26px; }
.cc-audio-play:hover,
.cc-audio-mute:hover,
.cc-audio-mute.active {
color: #020806;
background: var(--g);
box-shadow: var(--glowg);
}
.cc-audio-play:focus-visible,
.cc-audio-mute:focus-visible,
.cc-audio-seek:focus-visible {
outline: 1px solid var(--b);
outline-offset: 2px;
}
.cc-audio-play-icon {
display: block;
width: 0;
height: 0;
margin: auto;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-left: 8px solid currentColor;
}
.cc-cyber-audio.playing .cc-audio-play-icon {
width: 7px;
height: 10px;
border: 0;
border-left: 3px solid currentColor;
border-right: 3px solid currentColor;
}
.cc-audio-signal {
position: relative;
z-index: 1;
height: 16px;
display: flex;
align-items: center;
justify-content: center;
gap: 2px;
}
.cc-audio-signal i {
display: block;
width: 2px;
height: 4px;
background: var(--b);
box-shadow: 0 0 4px rgba(0,184,255,.65);
}
.cc-cyber-audio.playing .cc-audio-signal i {
animation: ccAudioSignal .7s ease-in-out infinite alternate;
}
.cc-cyber-audio.playing .cc-audio-signal i:nth-child(2) { animation-delay: -.4s; }
.cc-cyber-audio.playing .cc-audio-signal i:nth-child(3) { animation-delay: -.2s; }
.cc-cyber-audio.playing .cc-audio-signal i:nth-child(4) { animation-delay: -.55s; }
@keyframes ccAudioSignal {
from { height: 4px; opacity: .45; }
to { height: 15px; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
.cc-cyber-audio.playing .cc-audio-signal i { animation: none; height: 10px; }
}
.cc-audio-seek {
position: relative;
z-index: 1;
width: 100%;
height: 12px;
margin: 0;
appearance: none;
-webkit-appearance: none;
background: transparent;
cursor: pointer;
}
.cc-audio-seek::-webkit-slider-runnable-track {
height: 3px;
background: linear-gradient(90deg, var(--g) var(--cc-audio-progress), var(--bd) var(--cc-audio-progress));
box-shadow: 0 0 5px rgba(0,255,159,.2);
}
.cc-audio-seek::-moz-range-track { height: 3px; background: var(--bd); }
.cc-audio-seek::-moz-range-progress { height: 3px; background: var(--g); }
.cc-audio-seek::-webkit-slider-thumb {
width: 7px;
height: 13px;
margin-top: -5px;
appearance: none;
-webkit-appearance: none;
border: 0;
border-radius: 0;
background: var(--g);
box-shadow: 0 0 7px rgba(0,255,159,.8);
}
.cc-audio-seek::-moz-range-thumb {
width: 7px;
height: 13px;
border: 0;
border-radius: 0;
background: var(--g);
}
.cc-audio-time {
position: relative;
z-index: 1;
min-width: 70px;
color: var(--t1);
font: 8px var(--mono);
text-align: center;
white-space: nowrap;
}
.cc-audio-mute { width: 34px; }
.cc-voice-action {
height: 27px;
padding: 0 7px;
border: 1px solid var(--t1);
border-radius: var(--r1);
background: transparent;
color: var(--t1);
font-family: var(--mono);
font-size: 8px;
}
.cc-voice-action.send { border-color: var(--g); color: var(--g); }
.cc-voice-action:disabled { opacity: 0.35; cursor: not-allowed; }
/* Compose bar */
.cc-compose {
display: flex;
align-items: center;
gap: 7px;
padding: 7px 10px;
background: var(--bgp);
border-top: 1px solid var(--bd);
flex-shrink: 0;
position: relative;
}
.cc-compose::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0; height: 1px;
background: linear-gradient(90deg, transparent, rgba(0,184,255,0.45), transparent);
}
.cc-compose-input {
flex: 1;
background: var(--bgi);
border: 1px solid var(--bd);
border-radius: var(--r1);
color: var(--t0);
font-family: var(--mono);
font-size: 13px;
padding: 7px 10px;
outline: none;
height: 36px;
transition: border-color var(--ease), box-shadow var(--ease);
}
.cc-compose-input:focus {
border-color: var(--g);
box-shadow: 0 0 0 2px rgba(0,255,159,0.1);
}
.cc-compose-input::placeholder { color: var(--t2); }
.cc-compose-counter {
font-family: var(--mono);
font-size: 10px;
color: var(--t2);
min-width: 34px;
text-align: right;
flex-shrink: 0;
transition: color var(--ease);
}
.cc-compose-counter.warn { color: var(--o); }
.cc-compose-counter.danger { color: var(--r); }
.cc-compose-send {
width: 36px; height: 36px;
background: none;
border: 1px solid var(--g);
color: var(--g);
border-radius: var(--r1);
display: flex; align-items: center; justify-content: center;
font-size: 15px;
flex-shrink: 0;
transition: all var(--ease);
}
.cc-compose-send:hover {
background: var(--g);
color: #000;
box-shadow: var(--glowg);
}
.cc-compose-send:disabled {
opacity: 0.25;
cursor: not-allowed;
}
/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 420px) {
.cc-logo-sub { display: none; }
.cc-day-tag { display: none; }
.cc-msg-time { min-width: 36px; font-size: 8px; }
.cc-msg-user { max-width: 66px; font-size: 11px; }
.cc-auth-panel { max-width: 100%; }
.cc-auth-wrap { padding: 12px 10px; }
.cc-auth-form { padding: 14px 14px 16px; }
.cc-voice-compose { flex-wrap: wrap; }
.cc-voice-status { flex: 1; }
.cc-voice-queue { order: 3; }
.cc-voice-autoplay { margin-left: 0; }
.cc-voice-review { width: 100%; }
.cc-voice-review .cc-cyber-audio { flex: 1; min-width: 220px; }
.cc-voice-message { align-items: flex-start; flex-direction: column; gap: 3px; }
}
@media (max-height: 380px) {
.cc-header { height: 36px; }
.cc-logo-sub { display: none; }
.cc-auth-wrap { align-items: flex-start; }
}
/* ─── Full-page (index.html) embed ───────────────────────────────────────── */
html, body {
width: 100%; height: 100%;
margin: 0; padding: 0;
overflow: hidden;
}
#app {
width: 100%; height: 100%;
}
/* v4 application shell */
.cc-theme-text { width: auto; padding: 0 8px; font-family: var(--mono); font-size: 8px; }
.cc-auth-notice { margin: 12px 20px 0; padding: 8px; border: 1px solid var(--o); color: var(--o); font-family: var(--mono); font-size: 10px; }
.cc-app-nav { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--bgp); border-bottom: 1px solid var(--bd); flex-shrink: 0; }
.cc-app-nav button { padding: 8px 4px; border: 0; border-right: 1px solid var(--bd); background: transparent; color: var(--t1); font: 9px var(--mono); letter-spacing: 1px; }
.cc-app-nav button:last-child { border-right: 0; }
.cc-app-nav button.active { color: #000; background: var(--g); }
.cc-view { display: flex; flex: 1; min-height: 0; flex-direction: column; overflow: hidden; }
.cc-plan-badge { padding: 2px 6px; border: 1px solid var(--v); color: var(--v); border-radius: 2px; font: 8px var(--mono); text-transform: uppercase; }
.cc-compact-select { max-width: 220px; padding: 4px 7px; background: var(--bgi); color: var(--t0); border: 1px solid var(--bd); font: 10px var(--mono); }
.cc-recording-indicator { padding: 4px 12px; color: var(--p); background: rgba(255,45,120,.07); border-bottom: 1px solid rgba(255,45,120,.2); font: 10px var(--mono); }
.cc-page { flex: 1; overflow-y: auto; padding: 18px; }
.cc-page-head, .cc-card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cc-page-head { margin-bottom: 16px; }
.cc-page h2 { color: var(--b); font: 700 13px var(--disp); letter-spacing: 2px; }
.cc-page h3 { color: var(--g); font: 10px var(--mono); letter-spacing: 1.5px; margin-bottom: 10px; }
.cc-page h4 { color: var(--v); font: 700 12px var(--disp); letter-spacing: 1px; }
.cc-page p { color: var(--t1); font: 10px/1.5 var(--mono); margin-top: 4px; }
.cc-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-bottom: 12px; }
.cc-card { padding: 14px; margin-bottom: 12px; background: var(--bg1); border: 1px solid var(--bd); border-radius: var(--r2); }
.cc-form-grid { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(160px, 2fr) auto; gap: 8px; align-items: center; }
.cc-form-grid.compact { grid-template-columns: minmax(120px, 1fr) auto auto; margin-top: 10px; }
.cc-inline-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 31px; padding: 5px 10px; color: var(--b); border: 1px solid var(--b); border-radius: var(--r1); background: transparent; font: 9px var(--mono); text-decoration: none; }
.cc-inline-btn.primary { color: var(--g); border-color: var(--g); }
.cc-inline-btn.danger { color: var(--r); border-color: var(--r); }
.cc-inline-btn:disabled { opacity: .35; cursor: not-allowed; }
.cc-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.cc-empty-card { padding: 30px; color: var(--t1); border: 1px dashed var(--bd); text-align: center; font: 10px var(--mono); }
.cc-search-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 12px; }
.cc-archive-list { display: flex; flex-direction: column; gap: 6px; }
.cc-archive-row { display: grid; grid-template-columns: 145px 55px 1fr; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--bd); background: var(--bg1); font: 11px var(--mono); }
.cc-archive-row time { color: var(--t1); font-size: 9px; }
.cc-archive-row audio { display: none; }
.cc-type-tag { color: var(--o); font-size: 8px; text-transform: uppercase; }
.cc-switch { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--t0); font: 10px var(--mono); }
.cc-switch input { accent-color: var(--g); }
.cc-feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 7px; }
.cc-feature-list span { padding: 7px; border: 1px solid var(--bd); color: var(--t1); font: 9px var(--mono); text-transform: uppercase; }
.cc-feature-list b { display: block; color: var(--t0); margin-bottom: 3px; }
.cc-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 12px; }
.cc-plan { padding: 12px; border: 1px solid var(--bd); background: var(--bg2); }
.cc-price { margin: 8px 0; color: var(--g); font: 700 18px var(--disp); }
.cc-price small { color: var(--t1); font: 9px var(--mono); }
.cc-billing-card, .cc-feature-card { margin-top: 12px; }
@media (max-width: 620px) {
.cc-app-nav button { font-size: 8px; letter-spacing: 0; }
.cc-form-grid, .cc-form-grid.compact { grid-template-columns: 1fr; }
.cc-archive-row { grid-template-columns: 1fr; }
.cc-cyber-audio { min-width: 0; width: 100%; grid-template-columns: 26px 18px minmax(60px, 1fr) 64px 32px; }
.cc-compact-select { max-width: 145px; }
.cc-page { padding: 12px; }
}