/* 상단바 (Main.qml topBar, components/TopBarApps.qml · StatusIcons.qml) */
#bar { position: fixed; left: 0; top: 0; right: 0; height: 62px; z-index: 150;
  background: linear-gradient(90deg, rgba(255,255,255,.80) 0%, rgba(250,252,255,.42) 23%, rgba(250,252,255,.059) 47%,
              rgba(250,252,255,.051) 63%, rgba(248,251,255,.36) 84%, rgba(251,252,255,.72) 100%); }
#bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(145,160,194,.24) 0%, rgba(145,160,194,.07) 25%, transparent 43%, transparent 68%, rgba(145,160,194,.24) 100%); }

/* 이름: Space Grotesk 22, "Tint" 600 · "OS" 480 */
#brand { position: absolute; left: 31px; top: 10px; height: 42px; display: flex; align-items: center; gap: 2px;
  font-family: "Space Grotesk", sans-serif; font-size: 22px; cursor: pointer; }
#brand .t { font-weight: 600; letter-spacing: -0.6px; color: var(--ink); }
#brand .o { font-weight: 480; color: var(--subtle); }

/* 즐겨찾기 앱: 칸 43 × 42, 사이 6, 아이콘 26 */
#apps { position: absolute; left: 190px; top: 10px; display: flex; gap: 6px; }
.bar-icon { position: relative; width: 43px; height: 42px; display: grid; place-items: center; }
.bar-icon img { width: 26px; height: 26px; }
/* 올렸을 때: 흰 바탕 #c7ffffff + 선 #a6ffffff (TopBarApps.qml plate) */
.bar-icon > svg.shape path { transition: fill 120ms, stroke 120ms; }
.bar-icon:hover > svg.shape path { fill: rgba(255,255,255,.78); stroke: rgba(255,255,255,.65); stroke-width: 1; }
/* 색상: 점 세 개 — 평소 회색, 올리면 R · G · B */
.palette .dot { fill: #63738C; stroke: none; transition: fill 160ms; }
.palette:hover .dot.r { fill: #E5484D; }
.palette:hover .dot.g { fill: #30A46C; }
.palette:hover .dot.b { fill: #3C56DD; }
/* 기본 디자인: 나눈 선이 양옆으로 (모션 "이동" 곡선) */
.layout .split { transition: transform 340ms cubic-bezier(.2,0,0,1); }
.layout:hover .split { animation: split 2.4s cubic-bezier(.2,0,0,1) infinite; }
@keyframes split { 0% { transform: translateX(0); } 30% { transform: translateX(7px); } 70% { transform: translateX(-3.5px); } 100% { transform: translateX(0); } }
/* 테마: 평소 빈 칸 셋, 올리면 클라우드 · 샌드 · 미드나잇 */
.themes .w { fill: transparent; transition: fill 160ms; }
.themes:hover .w.cloud { fill: #e9eef9; }
.themes:hover .w.sand { fill: #ece1d0; }
.themes:hover .w.night { fill: #323b5b; }

/* 오른쪽: 상태 아이콘(사이 12) → 시계, 오른쪽 여백 44 */
#right { position: absolute; right: 44px; top: 0; height: 62px; display: flex; align-items: center; }
#status { display: flex; align-items: center; gap: 12px; margin-right: 12px; }
.desks { position: relative; width: 30px; height: 30px; display: grid; place-items: center; }
.desks img { width: 20px; height: 20px; }
.st { width: 18px; height: 18px; }
.ime { position: relative; width: 43px; height: 42px; display: grid; place-items: center; font-size: 15px; font-weight: 650; color: var(--status); cursor: pointer; }
/* 올렸을 때: 바탕 rgba(255,255,255,.10), 선 rgba(32,43,67,.59) (StatusIcons.qml) */
.ime:hover > svg.shape path { fill: rgba(255,255,255,.10); stroke: rgba(32,43,67,.59); stroke-width: 1; }
#clock { position: relative; height: 36px; padding: 0 8px; display: flex; align-items: center; gap: 6px; }
#clock .d { font-size: 13px; font-weight: 690; }
#clock .h { font-size: 15px; font-weight: 800; }

/* Tint Control 손잡이: 85 × 3, 위 6, 가운데 */
#handle { position: fixed; top: 6px; left: 50%; width: 85px; height: 3px; margin-left: -42.5px; border-radius: 2px;
  background: var(--ink); opacity: .17; z-index: 170; }
