845 lines
18 KiB
CSS
845 lines
18 KiB
CSS
:root {
|
|
--bg-primary: #080a10;
|
|
--bg-secondary: #0f1422;
|
|
--bg-card: rgba(18, 24, 38, 0.75);
|
|
--bg-card-hover: rgba(26, 35, 56, 0.9);
|
|
--border-color: rgba(99, 120, 160, 0.25);
|
|
--border-focus: #38bdf8;
|
|
|
|
--text-main: #f0f4fc;
|
|
--text-muted: #8e9bb5;
|
|
--text-highlight: #ffffff;
|
|
|
|
--accent-cyan: #38bdf8;
|
|
--accent-green: #34d399;
|
|
--accent-gold: #fbbf24;
|
|
--accent-purple: #c084fc;
|
|
--accent-red: #f87171;
|
|
|
|
--glow-cyan: 0 0 20px rgba(56, 189, 248, 0.35);
|
|
--glow-gold: 0 0 20px rgba(251, 191, 36, 0.35);
|
|
--glow-purple: 0 0 20px rgba(192, 132, 252, 0.35);
|
|
|
|
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
--radius-sm: 6px;
|
|
--radius-md: 10px;
|
|
--radius-lg: 16px;
|
|
--transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-family);
|
|
background-color: var(--bg-primary);
|
|
background-image:
|
|
radial-gradient(circle at 10% 10%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
|
|
radial-gradient(circle at 90% 90%, rgba(168, 85, 247, 0.08) 0%, transparent 45%),
|
|
linear-gradient(180deg, rgba(8, 10, 16, 0.95) 0%, rgba(12, 16, 26, 0.98) 100%);
|
|
color: var(--text-main);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
line-height: 1.5;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
/* Header */
|
|
.app-header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 50;
|
|
background: rgba(8, 10, 16, 0.88);
|
|
backdrop-filter: blur(16px);
|
|
border-bottom: 1px solid var(--border-color);
|
|
padding: 0.75rem 1.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.85rem;
|
|
}
|
|
|
|
.brand-icon {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: var(--radius-md);
|
|
background: linear-gradient(135deg, #0284c7, #6366f1);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: var(--glow-cyan);
|
|
font-size: 1.35rem;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
border: 1px solid rgba(56, 189, 248, 0.4);
|
|
}
|
|
|
|
.brand-title {
|
|
font-size: 1.35rem;
|
|
font-weight: 800;
|
|
letter-spacing: -0.025em;
|
|
background: linear-gradient(90deg, #ffffff, #cbd5e1, #38bdf8);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.brand-subtitle {
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.header-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
/* Server Mode Selector */
|
|
.server-mode-badge {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
padding: 0.4rem 0.85rem;
|
|
background: rgba(2, 132, 199, 0.15);
|
|
border: 1px solid rgba(56, 189, 248, 0.4);
|
|
border-radius: 9999px;
|
|
font-size: 0.825rem;
|
|
font-weight: 700;
|
|
color: var(--accent-cyan);
|
|
}
|
|
|
|
.server-mode-select {
|
|
background: transparent;
|
|
border: none;
|
|
color: inherit;
|
|
font-size: inherit;
|
|
font-weight: inherit;
|
|
cursor: pointer;
|
|
outline: none;
|
|
}
|
|
|
|
.server-mode-select option {
|
|
background: var(--bg-secondary);
|
|
color: var(--text-main);
|
|
}
|
|
|
|
.connection-pill {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.4rem 0.85rem;
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 9999px;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.connection-pill:hover {
|
|
border-color: var(--text-muted);
|
|
}
|
|
|
|
.status-dot {
|
|
width: 9px;
|
|
height: 9px;
|
|
border-radius: 50%;
|
|
background-color: var(--accent-red);
|
|
box-shadow: 0 0 8px var(--accent-red);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.status-dot.connected {
|
|
background-color: var(--accent-green);
|
|
box-shadow: 0 0 10px var(--accent-green);
|
|
}
|
|
|
|
/* Navigation Tabs */
|
|
.nav-tabs {
|
|
display: flex;
|
|
gap: 0.35rem;
|
|
background: var(--bg-secondary);
|
|
padding: 0.5rem 1.5rem;
|
|
border-bottom: 1px solid var(--border-color);
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.tab-btn {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
padding: 0.6rem 1.1rem;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
white-space: nowrap;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.tab-btn:hover {
|
|
color: var(--text-main);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.tab-btn.active {
|
|
color: #fff;
|
|
background: rgba(56, 189, 248, 0.15);
|
|
border: 1px solid rgba(56, 189, 248, 0.35);
|
|
box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
|
|
}
|
|
|
|
/* Main Container */
|
|
.main-container {
|
|
flex: 1;
|
|
padding: 1.5rem;
|
|
max-width: 1400px;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.tab-content {
|
|
display: none;
|
|
animation: fadeIn 0.25s ease-out;
|
|
}
|
|
|
|
.tab-content.active {
|
|
display: block;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(6px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
/* Grids */
|
|
.grid-2 {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
.grid-3 {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
.grid-4 {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
/* Cards */
|
|
.card {
|
|
background: var(--bg-card);
|
|
backdrop-filter: blur(14px);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
padding: 1.25rem;
|
|
transition: var(--transition);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.card:hover {
|
|
background: var(--bg-card-hover);
|
|
border-color: rgba(99, 120, 160, 0.5);
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 1.05rem;
|
|
font-weight: 700;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 0.85rem;
|
|
color: var(--text-highlight);
|
|
}
|
|
|
|
.card-subtitle {
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* Stat Box */
|
|
.stat-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.stat-number {
|
|
font-size: 2.25rem;
|
|
font-weight: 800;
|
|
color: var(--accent-cyan);
|
|
line-height: 1;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
padding: 0.6rem 1.15rem;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
border: 1px solid transparent;
|
|
transition: var(--transition);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, #0284c7, #2563eb);
|
|
color: #fff;
|
|
border-color: rgba(56, 189, 248, 0.4);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
box-shadow: var(--glow-cyan);
|
|
filter: brightness(1.1);
|
|
}
|
|
|
|
.btn-success {
|
|
background: linear-gradient(135deg, #059669, #10b981);
|
|
color: #fff;
|
|
border-color: rgba(52, 211, 153, 0.4);
|
|
}
|
|
|
|
.btn-success:hover {
|
|
box-shadow: 0 0 15px rgba(52, 211, 153, 0.4);
|
|
filter: brightness(1.1);
|
|
}
|
|
|
|
.btn-gold {
|
|
background: linear-gradient(135deg, #d97706, #f59e0b);
|
|
color: #fff;
|
|
border-color: rgba(251, 191, 36, 0.5);
|
|
}
|
|
|
|
.btn-gold:hover {
|
|
box-shadow: var(--glow-gold);
|
|
filter: brightness(1.1);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: var(--text-main);
|
|
border-color: var(--border-color);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
border-color: var(--text-muted);
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 0.35rem 0.65rem;
|
|
font-size: 0.775rem;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Honkai: Star Rail Themed Avatar Cards & Portraits
|
|
========================================================================== */
|
|
|
|
.avatar-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
min-height: 220px;
|
|
position: relative;
|
|
cursor: pointer;
|
|
border-width: 1.5px;
|
|
}
|
|
|
|
/* 5-Star Card Theme */
|
|
.avatar-card.card-rarity-5 {
|
|
border-color: rgba(251, 191, 36, 0.4);
|
|
background: linear-gradient(145deg, rgba(251, 191, 36, 0.05) 0%, rgba(18, 24, 38, 0.8) 100%);
|
|
}
|
|
|
|
.avatar-card.card-rarity-5:hover {
|
|
border-color: rgba(251, 191, 36, 0.8);
|
|
box-shadow: var(--glow-gold);
|
|
}
|
|
|
|
/* 4-Star Card Theme */
|
|
.avatar-card.card-rarity-4 {
|
|
border-color: rgba(192, 132, 252, 0.35);
|
|
background: linear-gradient(145deg, rgba(192, 132, 252, 0.05) 0%, rgba(18, 24, 38, 0.8) 100%);
|
|
}
|
|
|
|
.avatar-card.card-rarity-4:hover {
|
|
border-color: rgba(192, 132, 252, 0.8);
|
|
box-shadow: var(--glow-purple);
|
|
}
|
|
|
|
.avatar-badge-rarity {
|
|
position: absolute;
|
|
top: 0.85rem;
|
|
right: 0.85rem;
|
|
font-size: 0.75rem;
|
|
padding: 0.15rem 0.5rem;
|
|
border-radius: var(--radius-sm);
|
|
font-weight: 800;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.rarity-5 {
|
|
background: rgba(251, 191, 36, 0.2);
|
|
border: 1px solid rgba(251, 191, 36, 0.6);
|
|
color: var(--accent-gold);
|
|
}
|
|
|
|
.rarity-4 {
|
|
background: rgba(192, 132, 252, 0.2);
|
|
border: 1px solid rgba(192, 132, 252, 0.6);
|
|
color: var(--accent-purple);
|
|
}
|
|
|
|
.avatar-header-info {
|
|
display: flex;
|
|
gap: 0.85rem;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Circular / Rounded Avatar Portrait */
|
|
.avatar-image-container {
|
|
position: relative;
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
background: var(--bg-secondary);
|
|
border: 2px solid var(--border-color);
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.card-rarity-5 .avatar-image-container {
|
|
border-color: var(--accent-gold);
|
|
}
|
|
|
|
.card-rarity-4 .avatar-image-container {
|
|
border-color: var(--accent-purple);
|
|
}
|
|
|
|
.avatar-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.avatar-card:hover .avatar-img {
|
|
transform: scale(1.12);
|
|
}
|
|
|
|
.avatar-icon-placeholder {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: var(--bg-secondary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: bold;
|
|
font-size: 1.25rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.avatar-name {
|
|
font-size: 1.05rem;
|
|
font-weight: 800;
|
|
color: var(--text-highlight);
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.avatar-subinfo {
|
|
font-size: 0.775rem;
|
|
margin-top: 0.35rem;
|
|
display: flex;
|
|
gap: 0.4rem;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Star Rail Element Badges */
|
|
.element-badge {
|
|
padding: 0.15rem 0.45rem;
|
|
border-radius: 4px;
|
|
font-size: 0.725rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.elem-fire { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }
|
|
.elem-ice { background: rgba(56, 189, 248, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.4); }
|
|
.elem-lightning { background: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.4); }
|
|
.elem-wind { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
|
|
.elem-physical { background: rgba(156, 163, 175, 0.2); color: #e5e7eb; border: 1px solid rgba(156, 163, 175, 0.4); }
|
|
.elem-quantum { background: rgba(99, 102, 241, 0.2); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.4); }
|
|
.elem-imaginary { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
|
|
|
|
.path-badge {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 1px solid var(--border-color);
|
|
color: var(--text-main);
|
|
padding: 0.15rem 0.45rem;
|
|
border-radius: 4px;
|
|
font-size: 0.725rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Eidolon Selector */
|
|
.eidolon-selector {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 1rem;
|
|
background: rgba(0, 0, 0, 0.35);
|
|
padding: 0.5rem 0.75rem;
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.eidolon-buttons {
|
|
display: flex;
|
|
gap: 0.3rem;
|
|
}
|
|
|
|
.eidolon-pip {
|
|
width: 25px;
|
|
height: 25px;
|
|
border-radius: 4px;
|
|
border: 1px solid var(--border-color);
|
|
background: transparent;
|
|
color: var(--text-muted);
|
|
font-size: 0.75rem;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.eidolon-pip:hover {
|
|
border-color: var(--accent-cyan);
|
|
color: var(--text-main);
|
|
}
|
|
|
|
.eidolon-pip.active {
|
|
background: linear-gradient(135deg, #0284c7, #38bdf8);
|
|
border-color: #38bdf8;
|
|
color: #0b0d14;
|
|
box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Party / Lineup Builder
|
|
========================================================================== */
|
|
.lineup-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
.lineup-slot-card {
|
|
background: var(--bg-card);
|
|
border: 2px dashed var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
padding: 1.25rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
min-height: 200px;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
position: relative;
|
|
}
|
|
|
|
.lineup-slot-card.filled {
|
|
border-style: solid;
|
|
border-color: rgba(56, 189, 248, 0.4);
|
|
background: linear-gradient(180deg, rgba(56, 189, 248, 0.08) 0%, rgba(18, 24, 38, 0.85) 100%);
|
|
}
|
|
|
|
.lineup-slot-card:hover {
|
|
border-color: var(--accent-cyan);
|
|
box-shadow: var(--glow-cyan);
|
|
}
|
|
|
|
.lineup-slot-img {
|
|
width: 72px;
|
|
height: 72px;
|
|
border-radius: 50%;
|
|
border: 2px solid var(--accent-cyan);
|
|
object-fit: cover;
|
|
margin-bottom: 0.75rem;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.lineup-slot-num {
|
|
position: absolute;
|
|
top: 0.75rem;
|
|
left: 0.75rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 800;
|
|
color: var(--accent-cyan);
|
|
background: rgba(2, 132, 199, 0.2);
|
|
padding: 0.2rem 0.5rem;
|
|
border-radius: 9999px;
|
|
border: 1px solid rgba(56, 189, 248, 0.3);
|
|
}
|
|
|
|
/* Ex Rank Toggle Switch */
|
|
.ex-switch-card {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 1rem 1.25rem;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-md);
|
|
margin-bottom: 0.75rem;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.ex-switch-card:hover {
|
|
background: var(--bg-card-hover);
|
|
border-color: rgba(99, 120, 160, 0.45);
|
|
}
|
|
|
|
.switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 48px;
|
|
height: 26px;
|
|
}
|
|
|
|
.switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0; left: 0; right: 0; bottom: 0;
|
|
background-color: #374151;
|
|
transition: .3s;
|
|
border-radius: 34px;
|
|
}
|
|
|
|
.slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 18px;
|
|
width: 18px;
|
|
left: 4px;
|
|
bottom: 4px;
|
|
background-color: white;
|
|
transition: .3s;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
input:checked + .slider {
|
|
background-color: var(--accent-green);
|
|
box-shadow: 0 0 10px var(--accent-green);
|
|
}
|
|
|
|
input:checked + .slider:before {
|
|
transform: translateX(22px);
|
|
}
|
|
|
|
/* Forms */
|
|
.form-group {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.form-label {
|
|
display: block;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
margin-bottom: 0.35rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.form-input, .form-select {
|
|
width: 100%;
|
|
padding: 0.65rem 0.85rem;
|
|
background: rgba(10, 13, 20, 0.7);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-main);
|
|
font-size: 0.9rem;
|
|
outline: none;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.form-input:focus, .form-select:focus {
|
|
border-color: var(--accent-cyan);
|
|
box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
|
|
}
|
|
|
|
/* JSON Editor */
|
|
.json-editor-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.json-textarea {
|
|
width: 100%;
|
|
height: 480px;
|
|
padding: 1rem;
|
|
font-family: "Fira Code", Consolas, "Courier New", monospace;
|
|
font-size: 0.85rem;
|
|
background: #07090e;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-md);
|
|
color: #38bdf8;
|
|
resize: vertical;
|
|
line-height: 1.4;
|
|
outline: none;
|
|
}
|
|
|
|
.json-textarea:focus {
|
|
border-color: var(--accent-cyan);
|
|
}
|
|
|
|
/* Toast */
|
|
.toast-container {
|
|
position: fixed;
|
|
bottom: 1.5rem;
|
|
right: 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
z-index: 1000;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.toast {
|
|
pointer-events: auto;
|
|
min-width: 280px;
|
|
max-width: 420px;
|
|
padding: 0.85rem 1.15rem;
|
|
border-radius: var(--radius-md);
|
|
background: rgba(18, 24, 38, 0.95);
|
|
backdrop-filter: blur(14px);
|
|
border: 1px solid var(--border-color);
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
|
|
font-size: 0.875rem;
|
|
color: var(--text-main);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
animation: slideInRight 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.toast.success { border-left: 4px solid var(--accent-green); }
|
|
.toast.error { border-left: 4px solid var(--accent-red); }
|
|
.toast.info { border-left: 4px solid var(--accent-cyan); }
|
|
|
|
@keyframes slideInRight {
|
|
from { transform: translateX(100%); opacity: 0; }
|
|
to { transform: translateX(0); opacity: 1; }
|
|
}
|
|
|
|
/* Modals */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.75);
|
|
backdrop-filter: blur(8px);
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 999;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.modal-overlay.active {
|
|
display: flex;
|
|
}
|
|
|
|
.modal-content {
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
max-width: 600px;
|
|
width: 100%;
|
|
padding: 1.75rem;
|
|
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
|
|
animation: fadeIn 0.2s ease-out;
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1.25rem;
|
|
border-bottom: 1px solid var(--border-color);
|
|
padding-bottom: 0.75rem;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 900px) {
|
|
.lineup-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.app-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
.header-controls {
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
}
|
|
.lineup-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|