/* Albatross OS 9.2: светофор как в macOS, заголовки обложек, темы оформления и новые фишки */

/* ---------- кнопки окна как в macOS ---------- */
.win__bar { height: 46px; }
.tl { gap: 9px; align-items: center; }
.tl i { position: relative; width: 14px; height: 14px; border-radius: 50%; font-size: 0; color: transparent; cursor: default;
  box-shadow: inset 0 0 0 0.6px rgba(0, 0, 0, 0.2), inset 0 1px 1.5px rgba(255, 255, 255, 0.45), 0 0.5px 1px rgba(0, 0, 0, 0.12); }
.tl i:nth-child(1) { background: radial-gradient(circle at 50% 30%, #ff8a82, #ff5f57 55%, #e2463d); }
.tl i:nth-child(2) { background: radial-gradient(circle at 50% 30%, #ffd468, #febc2e 55%, #df9f17); }
.tl i:nth-child(3) { background: radial-gradient(circle at 50% 30%, #5fdc71, #28c840 55%, #19a530); }
.tl svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.12s; pointer-events: none; }
.tl svg path { fill: none; stroke-width: 1.35; stroke-linecap: round; }
.tl i:nth-child(1) svg path { stroke: #7a0d07; }
.tl i:nth-child(2) svg path { stroke: #8a5300; }
.tl i:nth-child(3) svg path.f { fill: #0a5d16; stroke: none; }
.tl:hover svg { opacity: 0.8; }
.tl i:active { filter: brightness(0.82); }
.win.is-blur .tl:hover i:nth-child(1) { background: radial-gradient(circle at 50% 30%, #ff8a82, #ff5f57 55%, #e2463d) !important; }
.win.is-blur .tl:hover i:nth-child(2) { background: radial-gradient(circle at 50% 30%, #ffd468, #febc2e 55%, #df9f17) !important; }
.win.is-blur .tl:hover i:nth-child(3) { background: radial-gradient(circle at 50% 30%, #5fdc71, #28c840 55%, #19a530) !important; }

/* ---------- заголовки на обложках всегда помещаются ---------- */
.cover { container-type: inline-size; }
.cover b { font-size: clamp(17px, 13.5cqi, 56px); line-height: 0.95; max-width: 100%; overflow-wrap: anywhere; text-wrap: balance; }

/* ---------- новые элементы ---------- */
.lp { position: fixed; inset: 0; z-index: 7500; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; padding: 70px 6vw 40px;
  background: rgba(226, 236, 252, 0.55); backdrop-filter: blur(34px) saturate(1.6); -webkit-backdrop-filter: blur(34px) saturate(1.6); }
.lp[hidden] { display: none; }
.lp input { width: min(300px, 80vw); height: 34px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.6); padding: 0 14px; font: 500 14px var(--ui); color: var(--ink); outline: 0; text-align: center; }
.lp__grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(90px, 120px)); gap: 26px 20px; align-content: start; width: 100%; max-width: 1000px; justify-content: center; }
.lp__grid button { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; }
.lp__grid .app-ic { width: 76px; height: 76px; border-radius: 19px; transition: scale 0.2s var(--ease); }
.lp__grid button:hover .app-ic { scale: 1.08; }
.lp__grid span { font-size: 13px; font-weight: 500; text-align: center; line-height: 1.2; }
.lp__hint { color: var(--ink-3); font-size: var(--fs-s); margin: 0; }

.alba { position: fixed; z-index: 7400; right: 18px; bottom: 104px; width: min(420px, calc(100% - 24px)); max-height: 66vh; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(40px) saturate(1.9); -webkit-backdrop-filter: blur(40px) saturate(1.9); box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, 0.8); }
.alba[hidden] { display: none; }
.alba__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.alba__head b { font: 700 15px var(--brand); } .alba__head small { display: block; font-size: var(--fs-s); color: var(--ink-3); }
.alba__x { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: rgba(26, 43, 111, 0.07); font-size: 18px; cursor: pointer; }
.orb { width: 34px; height: 34px; border-radius: 50%; flex: none; position: relative; background: conic-gradient(from 0deg, #00b8ff, #6d3bff, #ff6ad5, #00b8ff); animation: spin 4s linear infinite; filter: saturate(1.2); }
.orb::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, rgba(255, 255, 255, 0.2) 60%); }
.orb.is-talk { animation-duration: 0.9s; }
@keyframes spin { to { rotate: 360deg; } }
.alba__log { flex: 1; overflow: auto; padding: 14px 16px; display: grid; gap: 10px; align-content: start; }
.alba__log p { margin: 0; padding: 10px 13px; border-radius: 16px; max-width: 88%; font-size: 14px; line-height: 1.45; white-space: pre-line; }
.alba__log .q { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.alba__log .a { background: rgba(26, 43, 111, 0.06); border-bottom-left-radius: 6px; }
.alba__acts { display: flex; flex-wrap: wrap; gap: 6px; }
.alba__acts button { padding: 6px 11px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: var(--fs-s); font-weight: 600; cursor: pointer; }
.alba form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.alba input { flex: 1; min-width: 0; height: 38px; border-radius: 99px; border: 1px solid var(--line); background: #fff; padding: 0 14px; font: 400 14px var(--ui); outline: 0; }
.alba form button { width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; cursor: pointer; }
.mb__alba { width: 26px; padding: 0 !important; display: grid !important; place-items: center; }
.mb__alba .orb { width: 16px; height: 16px; }
.mb__alba .orb::after { inset: 2px; }

.sticky { position: absolute; z-index: 3; width: 210px; min-height: 170px; display: flex; flex-direction: column; border-radius: 6px 6px 18px 6px; box-shadow: 0 18px 30px -16px rgba(26, 43, 111, 0.5); background: var(--sc, #fff6b8); rotate: var(--rot, -1.5deg); }
.sticky__bar { height: 22px; cursor: grab; display: flex; justify-content: flex-end; padding: 2px 4px; background: rgba(0, 0, 0, 0.05); border-radius: 6px 6px 0 0; }
.sticky__bar button { width: 18px; height: 18px; border-radius: 50%; font-size: 13px; line-height: 1; opacity: 0.5; cursor: pointer; }
.sticky__bar button:hover { opacity: 1; background: rgba(0, 0, 0, 0.08); }
.sticky__t { flex: 1; padding: 8px 12px 14px; font: 500 15px/1.4 var(--ui); color: #2a2f3a; outline: 0; user-select: text; white-space: pre-wrap; }
.sticky__t:empty::before { content: 'Запишите мысль'; color: rgba(0, 0, 0, 0.35); }

.wdg { position: absolute; z-index: 3; border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.38)); backdrop-filter: blur(24px) saturate(1.7); -webkit-backdrop-filter: blur(24px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, 0.75); box-shadow: 0 24px 60px -30px rgba(26, 43, 111, 0.55); cursor: grab; touch-action: none; }
.wdg--mon { width: 230px; padding: 14px 16px; }
.wdg--mon p { margin: 0 0 8px; display: flex; justify-content: space-between; font-size: var(--fs-s); }
.wdg--mon p b { font: 700 13px var(--brand); } .wdg--mon p span { color: var(--blue); font-weight: 700; font-variant-numeric: tabular-nums; }
.wdg--mon canvas { width: 100%; height: 56px; display: block; }

.keys { position: fixed; inset: 0; z-index: 7600; display: grid; place-items: center; pointer-events: none; }
.keys[hidden] { display: none; }
.keys__card { padding: 24px 28px; border-radius: 22px; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); box-shadow: var(--shadow); display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 10px 18px; align-items: center; font-size: 13.5px; }
.keys__card h4 { grid-column: 1 / -1; margin: 0 0 6px; font: 800 20px var(--brand); }
.keys__card kbd { font: 600 var(--fs-s)/1 var(--mono); padding: 5px 8px; border-radius: 6px; background: rgba(26, 43, 111, 0.08); white-space: nowrap; justify-self: start; }

.bigcur { position: fixed; z-index: 9999; width: 34px; height: 34px; pointer-events: none; transform-origin: 6px 4px; opacity: 0; }

.dock-peek { position: fixed; z-index: 5100; width: 230px; padding: 8px; border-radius: 16px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: var(--shadow); pointer-events: none; }
.dock-peek[hidden] { display: none; }
.dock-peek__view { height: 140px; border-radius: 10px; overflow: hidden; position: relative; background: #eef3fb; }
.dock-peek__view > .win { position: absolute !important; left: 0 !important; top: 0 !important; transform-origin: 0 0; pointer-events: none; display: flex !important; opacity: 1 !important; clip-path: none !important; }
.dock-peek p { margin: 8px 4px 2px; font-size: var(--fs-s); font-weight: 600; display: flex; justify-content: space-between; }
.dock-peek p small { color: var(--ink-3); font-weight: 500; }

/* пункт управления: темы и акцент */
.cc__theme { padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.75); display: grid; gap: 8px; }
.cc__theme > span { font-size: 13px; font-weight: 600; }
.th-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.th-list button { display: grid; gap: 4px; justify-items: center; font-size: var(--fs-xs); cursor: pointer; }
.th-list i { width: 100%; aspect-ratio: 1.15; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(13, 17, 23, 0.1); transition: scale 0.15s; position: relative; overflow: hidden; }
.th-list i::after { content: ''; position: absolute; left: 18%; top: 22%; width: 64%; height: 56%; background: var(--tw, #fff); border-radius: var(--tr, 4px); box-shadow: var(--ts, 0 2px 6px rgba(0, 0, 0, 0.15)); border: var(--tb, 0); }
.th-list button:hover i { scale: 1.06; }
.th-list button.is-on i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue); }
.acc-list { display: flex; gap: 8px; }
.acc-list button { width: 24px; height: 24px; border-radius: 50%; cursor: pointer; transition: scale 0.15s; }
.acc-list button:hover { scale: 1.12; }
.acc-list button.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px currentColor; }

/* круглая волна при смене темы */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* =====================================================================
   ТЕМА «АКВА 2001»: глянцевый гель, полоски, металл
   ===================================================================== */
html[data-theme='aqua'] .menubar { background: linear-gradient(#ffffff, #e9eef5); border-bottom: 1px solid #aab7c9; backdrop-filter: none; -webkit-backdrop-filter: none; }
html[data-theme='aqua'] .win { background: repeating-linear-gradient(0deg, #fff 0 2px, #ecf1f8 2px 4px); backdrop-filter: none; -webkit-backdrop-filter: none; border: 1px solid #93a6c2; border-radius: 10px; box-shadow: 0 22px 46px -10px rgba(0, 40, 110, 0.45); }
html[data-theme='aqua'] .win__bar { background: linear-gradient(#fbfbfd, #cfd8e5); border-bottom: 1px solid #9eaec5; }
html[data-theme='aqua'] .win__title { text-shadow: 0 1px 0 #fff; font-weight: 700; }
html[data-theme='aqua'] .tl i { width: 15px; height: 15px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35), 0 1px 1px rgba(0, 0, 0, 0.2); }
html[data-theme='aqua'] .tl i:nth-child(1) { background: radial-gradient(ellipse 55% 35% at 50% 22%, rgba(255, 255, 255, 0.95), transparent 70%), radial-gradient(circle at 50% 80%, #ffb3ad, #e8372c 70%); }
html[data-theme='aqua'] .tl i:nth-child(2) { background: radial-gradient(ellipse 55% 35% at 50% 22%, rgba(255, 255, 255, 0.95), transparent 70%), radial-gradient(circle at 50% 80%, #ffe6a3, #f0a400 70%); }
html[data-theme='aqua'] .tl i:nth-child(3) { background: radial-gradient(ellipse 55% 35% at 50% 22%, rgba(255, 255, 255, 0.95), transparent 70%), radial-gradient(circle at 50% 80%, #b4f5b4, #2aa52a 70%); }
html[data-theme='aqua'] .pbtn { border-radius: 99px; background: linear-gradient(#ffffff, #dfe6f0); border: 1px solid #9eaec5; box-shadow: inset 0 1px 0 #fff; }
html[data-theme='aqua'] .pbtn--blue { color: #fff; border-color: #1452c9; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); background: linear-gradient(#a6d4ff, #3b8cff 48%, #1f6fff 52%, #6ab8ff); }
html[data-theme='aqua'] .dock { border-radius: 8px; background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(220, 232, 250, 0.75)); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 1px 0 #fff inset, 0 18px 30px -12px rgba(0, 40, 110, 0.5); }
html[data-theme='aqua'] .app-ic { border-radius: 13px; }
html[data-theme='aqua'] .app-ic::after { background: radial-gradient(ellipse 80% 45% at 50% 8%, rgba(255, 255, 255, 0.85), transparent 72%); }
html[data-theme='aqua'] .side { background: linear-gradient(90deg, rgba(222, 232, 245, 0.9), rgba(236, 242, 250, 0.9)); }
html[data-theme='aqua'] .toast, html[data-theme='aqua'] .cc, html[data-theme='aqua'] .nc, html[data-theme='aqua'] .dropdown, html[data-theme='aqua'] .ctx { border-radius: 10px; border: 1px solid #a3b3ca; }
html[data-theme='aqua'] .dropdown button:hover, html[data-theme='aqua'] .ctx button:hover { background: linear-gradient(#5aa2ff, #1f6fff); }

/* =====================================================================
   ТЕМА «БРУТАЛИЗМ»: жёсткие рамки, тени без размытия, прямые углы
   ===================================================================== */
html[data-theme='brutal'] { --ink: #0d1117; --hard: 6px 6px 0 #0d1117; }
html[data-theme='brutal'] body { font-family: 'Exo 2', sans-serif; }
html[data-theme='brutal'] .wall { background: radial-gradient(#0d1117 1.1px, transparent 1.4px) 0 0 / 24px 24px, #eef1f5 !important; }
html[data-theme='brutal'] .wall__gl, html[data-theme='brutal'] .wall__logo, html[data-theme='swiss'] .wall__gl, html[data-theme='swiss'] .wall__logo { display: none !important; }
html[data-theme='brutal'] .wall::after { content: 'ALBATROSS'; position: absolute; left: 3vw; bottom: 13vh; font: 900 17vw/0.8 'Exo 2', sans-serif; color: transparent; -webkit-text-stroke: 2px #0d1117; letter-spacing: -0.02em; }
html[data-theme='brutal'] .menubar { background: #fff; border-bottom: 2.5px solid #0d1117; backdrop-filter: none; -webkit-backdrop-filter: none; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: var(--fs-s); }
html[data-theme='brutal'] .win { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border: 2.5px solid #0d1117; border-radius: 0; box-shadow: var(--hard); }
html[data-theme='brutal'] .win.is-blur { box-shadow: 3px 3px 0 #0d1117; }
html[data-theme='brutal'] .win__bar { background: #ffd400; border-bottom: 2.5px solid #0d1117; }
html[data-theme='brutal'] .win.is-blur .win__bar { background: #fff; }
html[data-theme='brutal'] .win__title { font: 800 13px/1 'Exo 2', sans-serif; text-transform: uppercase; letter-spacing: 0.08em; }
html[data-theme='brutal'] .tl i { border-radius: 0; box-shadow: 0 0 0 2px #0d1117; }
html[data-theme='brutal'] .tl i:nth-child(1) { background: #ff4b3e; } html[data-theme='brutal'] .tl i:nth-child(2) { background: #ffd400; } html[data-theme='brutal'] .tl i:nth-child(3) { background: #00d26a; }
html[data-theme='brutal'] .tl svg path { stroke: #0d1117; } html[data-theme='brutal'] .tl svg path.f { fill: #0d1117; }
html[data-theme='brutal'] .pbtn { border-radius: 0; border: 2px solid #0d1117; background: #fff; box-shadow: 3px 3px 0 #0d1117; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: var(--fs-s); transition: translate 0.1s, box-shadow 0.1s; }
html[data-theme='brutal'] .pbtn:hover { translate: -1px -1px; box-shadow: 4px 4px 0 #0d1117; }
html[data-theme='brutal'] .pbtn:active { translate: 2px 2px; box-shadow: 1px 1px 0 #0d1117; scale: 1; }
html[data-theme='brutal'] .pbtn--blue { background: var(--blue); color: #fff; }
html[data-theme='brutal'] .app-ic { border-radius: 0; box-shadow: 0 0 0 2px #0d1117, 4px 4px 0 #0d1117; }
html[data-theme='brutal'] .app-ic::after { display: none; }
html[data-theme='brutal'] .dock { border-radius: 0; background: #fff; border: 2.5px solid #0d1117; box-shadow: var(--hard); backdrop-filter: none; -webkit-backdrop-filter: none; }
html[data-theme='brutal'] .cover { border-radius: 0; }
html[data-theme='brutal'] .icon .lbl { background: #fff; border: 1.5px solid #0d1117; text-shadow: none; font-weight: 700; }
html[data-theme='brutal'] :is(.toast, .cc, .nc, .dropdown, .ctx, .spot, .alba, .wdg, .bird-w, .lp input, .keys__card, .dock-peek) { border-radius: 0; border: 2.5px solid #0d1117; box-shadow: var(--hard); backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
html[data-theme='brutal'] :is(.cc__t, .cc__s, .cc__walls, .cc__np, .cc__theme, .nc__cal, .nc__card, .about__stats div, .proj__m div, .toggle-row) { border-radius: 0; border: 2px solid #0d1117; background: #fff; }
html[data-theme='brutal'] .dropdown button:hover, html[data-theme='brutal'] .ctx button:hover { background: #0d1117; border-radius: 0; }
html[data-theme='brutal'] .lock b, html[data-theme='brutal'] .proj h3, html[data-theme='brutal'] .pane h4 { text-transform: uppercase; }
html[data-theme='brutal'] .lp { background: rgba(255, 212, 0, 0.82); backdrop-filter: none; }

/* =====================================================================
   ТЕМА «ГЛИНА»: мягкий пастельный объём, большие скругления
   ===================================================================== */
html[data-theme='clay'] { --clay: 18px 18px 40px rgba(108, 92, 180, 0.22), -10px -10px 26px rgba(255, 255, 255, 0.9), inset 2px 2px 5px rgba(255, 255, 255, 0.9), inset -3px -3px 8px rgba(108, 92, 180, 0.1); }
html[data-theme='clay'] body { background: #efeaff; }
html[data-theme='clay'] .menubar { background: rgba(245, 241, 255, 0.75); border-bottom: 0; }
html[data-theme='clay'] .win { background: #f6f3ff; border: 0; border-radius: 30px; box-shadow: var(--clay); backdrop-filter: none; -webkit-backdrop-filter: none; }
html[data-theme='clay'] .win__bar { height: 52px; padding: 0 20px; }
html[data-theme='clay'] .win__title { font: 700 14px var(--brand); color: #5b4fa8; }
html[data-theme='clay'] .tl { gap: 10px; }
html[data-theme='clay'] .tl i { width: 16px; height: 16px; box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.12), inset 2px 2px 4px rgba(255, 255, 255, 0.7), 2px 3px 6px rgba(108, 92, 180, 0.25); }
html[data-theme='clay'] .tl i:nth-child(1) { background: #ff9bb0; } html[data-theme='clay'] .tl i:nth-child(2) { background: #ffd98f; } html[data-theme='clay'] .tl i:nth-child(3) { background: #8fe3c0; }
html[data-theme='clay'] .pbtn { border-radius: 99px; border: 0; background: #f6f3ff; box-shadow: 5px 5px 12px rgba(108, 92, 180, 0.2), -4px -4px 10px #fff; }
html[data-theme='clay'] .pbtn--blue { background: var(--blue); color: #fff; box-shadow: 6px 8px 16px color-mix(in srgb, var(--blue) 40%, transparent), inset 2px 2px 4px rgba(255, 255, 255, 0.35); }
html[data-theme='clay'] .app-ic { border-radius: 24px; box-shadow: 6px 8px 16px rgba(108, 92, 180, 0.3), inset 3px 3px 6px rgba(255, 255, 255, 0.45), inset -3px -4px 8px rgba(0, 0, 0, 0.12); }
html[data-theme='clay'] .app-ic::after { display: none; }
html[data-theme='clay'] .dock { border-radius: 34px; background: #f3efff; border: 0; box-shadow: var(--clay); }
html[data-theme='clay'] .side { background: transparent; border-right: 0; }
html[data-theme='clay'] .side button.is-on { background: #fff; box-shadow: 4px 4px 10px rgba(108, 92, 180, 0.15); }
html[data-theme='clay'] .cover { border-radius: 24px; }
html[data-theme='clay'] :is(.toast, .cc, .nc, .dropdown, .ctx, .spot, .alba, .wdg, .bird-w, .keys__card, .dock-peek) { border-radius: 28px; border: 0; background: rgba(246, 243, 255, 0.95); box-shadow: var(--clay); }
html[data-theme='clay'] :is(.cc__t, .cc__s, .cc__walls, .cc__np, .cc__theme, .nc__cal, .nc__card, .about__stats div, .proj__m div, .toggle-row) { border-radius: 20px; background: #f8f6ff; box-shadow: inset 3px 3px 7px rgba(108, 92, 180, 0.1), inset -3px -3px 7px #fff; }
html[data-theme='clay'] .lp { background: rgba(236, 228, 255, 0.7); }

/* =====================================================================
   ТЕМА «ШВЕЙЦАРСКИЙ»: сетка, тонкие линии, строгая типографика
   ===================================================================== */
html[data-theme='swiss'] body { font-family: 'Onest', sans-serif; }
html[data-theme='swiss'] .wall { background: linear-gradient(90deg, rgba(13, 17, 23, 0.06) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%, #fbfbfb !important; }
html[data-theme='swiss'] .wall::before { content: ''; position: absolute; right: -8vmin; bottom: -14vmin; width: 62vmin; height: 62vmin; border-radius: 50%; background: var(--blue); }
html[data-theme='swiss'] .wall::after { content: 'Albatross\A Cyber\A Systems'; white-space: pre; position: absolute; left: max(290px, 22vw); top: 10vh; font: 800 7.4vw/0.86 'Onest', sans-serif; letter-spacing: -0.05em; color: #0d1117; }
html[data-theme='swiss'] .menubar { background: #fff; border-bottom: 1px solid #0d1117; backdrop-filter: none; -webkit-backdrop-filter: none; font-weight: 600; }
html[data-theme='swiss'] .win { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border: 1px solid #0d1117; border-radius: 2px; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.45); }
html[data-theme='swiss'] .win__bar { border-bottom: 1px solid #0d1117; }
html[data-theme='swiss'] .win__title { text-align: left; left: 96px; font-weight: 800; letter-spacing: -0.01em; }
html[data-theme='swiss'] .tl i { width: 13px; height: 13px; background: #fff !important; box-shadow: inset 0 0 0 1.5px #0d1117; }
html[data-theme='swiss'] .tl:hover i:nth-child(1) { background: var(--blue) !important; box-shadow: none; }
html[data-theme='swiss'] .tl:hover i:nth-child(2), html[data-theme='swiss'] .tl:hover i:nth-child(3) { background: #0d1117 !important; }
html[data-theme='swiss'] .tl svg path { stroke: #fff; } html[data-theme='swiss'] .tl svg path.f { fill: #fff; }
html[data-theme='swiss'] .pbtn { border-radius: 0; border: 1px solid #0d1117; background: #fff; font-weight: 700; }
html[data-theme='swiss'] .pbtn--blue { background: #0d1117; color: #fff; }
html[data-theme='swiss'] .pbtn--blue:hover { background: var(--blue); border-color: var(--blue); }
html[data-theme='swiss'] .app-ic { border-radius: 2px; box-shadow: none; }
html[data-theme='swiss'] .app-ic::after { display: none; }
html[data-theme='swiss'] .dock { border-radius: 0; background: #fff; border: 1px solid #0d1117; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
html[data-theme='swiss'] .cover { border-radius: 0; }
html[data-theme='swiss'] .side { background: #fff; }
html[data-theme='swiss'] .icon .lbl { text-shadow: none; background: rgba(255, 255, 255, 0.9); }
html[data-theme='swiss'] :is(.toast, .cc, .nc, .dropdown, .ctx, .spot, .alba, .wdg, .bird-w, .keys__card, .dock-peek) { border-radius: 2px; border: 1px solid #0d1117; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.4); }
html[data-theme='swiss'] :is(.cc__t, .cc__s, .cc__walls, .cc__np, .cc__theme, .nc__cal, .nc__card, .about__stats div, .proj__m div, .toggle-row) { border-radius: 0; background: #fff; border-top: 1px solid #0d1117; }
html[data-theme='swiss'] .lp { background: rgba(251, 251, 251, 0.93); backdrop-filter: none; }

@media (max-width: 760px) {
  .tl svg { display: none; }
  .tl i:nth-child(1) { box-shadow: none !important; width: auto !important; height: 32px !important; border-radius: 99px !important; white-space: nowrap; }
  html[data-theme='brutal'] .tl i:nth-child(1) { border-radius: 0 !important; box-shadow: 0 0 0 2px #0d1117 !important; }
  html[data-theme='swiss'] .tl i:nth-child(1) { border-radius: 0 !important; box-shadow: inset 0 0 0 1px #0d1117 !important; }
  /* на телефоне иконок больше, чем влезает в экран: сетка прокручивается сама, без размытия под ней */
  .lp { padding: 60px 16px 0; z-index: 8400; grid-template-rows: auto minmax(0, 1fr) auto; background: linear-gradient(180deg, #eef4fe, #e3ebfa); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .alba { z-index: 8450; }
  .lp__grid { grid-template-columns: repeat(4, 1fr); gap: 20px 8px; margin-top: 18px; padding: 6px 0 28px; min-height: 0; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; scrollbar-width: none; }
  .lp__grid::-webkit-scrollbar { display: none; }
  .lp__hint { padding: 10px 8px calc(14px + env(safe-area-inset-bottom)); text-align: center; }
  .lp__grid .app-ic { width: 60px; height: 60px; border-radius: 15px; }
  .lp__grid span { font-size: var(--fs-s); }
  .alba { right: 12px; bottom: 100px; }
  .desk .wdg, .sticky, .keys, .bigcur, .dock-peek { display: none !important; }
  html[data-theme='swiss'] .wall::after { font-size: 16vw; top: 12vh; }
  html[data-theme='brutal'] .wall::after { font-size: 24vw; }
}
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }
