.bar { position: relative; z-index: 1000; display: flex; width: max-content; align-items: center; gap: 4px; line-height: 1; user-select: none; } .bar input:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; } .bar .clockButton { display: grid; width: auto; min-width: 70px; max-width: calc(100dvw - 34px); height: 44px; flex-shrink: 0; padding: 0 12px; place-items: center; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; } .clockLabel { overflow: hidden; max-width: 100%; text-overflow: ellipsis; } .statusButton { display: grid; width: 44px; height: 44px; flex-shrink: 0; padding: 0; place-items: center; } .withDetail { display: flex; width: auto; min-width: 44px; align-items: center; justify-content: center; gap: 5px; padding: 0 10px; } .detail { font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; } .popover { --widget-panel-width: 320px; --chrome-hover: var(--surface-control-hover); overflow: auto; box-sizing: border-box; border: 1px solid var(--chrome-border); border-radius: var(--radius-panel); background: var(--material-surface); box-shadow: var(--shadow-panel), var(--glass-edge); backdrop-filter: var(--glass-blur); color: var(--chrome-text); text-align: left; line-height: 1.4; scrollbar-color: var(--scrollbar) transparent; scrollbar-width: thin; animation: panel-in 160ms ease-out; transition: border-color 180ms ease, box-shadow 180ms ease; } .popover:is(:hover, :focus-within) { border-color: var(--accent-border); box-shadow: var(--shadow-glow), var(--glass-edge-active); } .systemPopover { padding: 20px; } .powerMenu { --widget-panel-width: 224px; padding: 6px; } .powerMenu button { display: flex; width: 100%; min-height: 44px; align-items: center; gap: 12px; padding: 0 12px; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--chrome-text); text-align: left; } .powerMenu button:is(:hover, :focus-visible) { outline: none; background: var(--chrome-hover); box-shadow: var(--control-glow), var(--glass-edge-active); } .powerMenu button:first-child { color: var(--accent-strong); } .menuDivider { height: 1px; margin: 5px 12px; background: var(--line); } .popover:focus { outline: none; } .popover:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; } .toggleRow, .settingHeading { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 16px; } .toggleRow strong, .settingHeading strong, .settingHeading label { font-size: 16px; font-weight: 500; } .settingHeading > span { font-size: 30px; font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: -1px; line-height: 1; } .settingHeading small { margin-left: 2px; font-size: 12px; letter-spacing: 0; } .toggle { transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease; } .toggle::before { transition: transform 140ms ease; } .wirelessList { margin: 16px -8px -8px; } .listHeading { margin: 0 8px 8px; color: var(--chrome-muted); font-size: 11px; font-weight: 500; } .wirelessItem { display: flex; width: 100%; min-height: 64px; align-items: center; gap: 12px; padding: 10px 8px; border: 1px solid transparent; border-radius: var(--radius-control); background: transparent; color: var(--chrome-text); text-align: left; } .wirelessItem > svg { flex-shrink: 0; } .wirelessItem[data-connected='true'] > svg { color: var(--accent-strong); } .wirelessItem:is(:hover, :focus-visible) { outline: none; border-color: var(--accent-border); background: var(--chrome-hover); box-shadow: var(--control-glow), var(--glass-edge-active); } .wirelessName { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; } .wirelessName strong { overflow: hidden; font-size: 13px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; } .wirelessName > span { font-size: 11px; color: var(--chrome-muted); } .wirelessOff { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 0 16px; color: var(--chrome-muted); text-align: center; font-size: 12px; } .wirelessOff strong { color: var(--chrome-text); font-size: 14px; font-weight: 500; } .volumeRow { display: flex; align-items: center; gap: 12px; margin-top: 24px; } .volumeSlider { flex: 1; min-width: 0; height: 28px; margin: 0; accent-color: var(--accent); cursor: pointer; transition: filter 180ms ease; } .volumeSlider:is(:hover, :focus-visible) { filter: drop-shadow( 0 0 8px color-mix(in srgb, var(--accent) 35%, transparent) ); } .batteryMeter { height: 8px; overflow: hidden; margin: 24px 0 20px; border: 1px solid var(--chrome-border); border-radius: var(--radius-round); background: var(--control-track); } .batteryMeter > span { display: block; width: 87%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-light), var(--accent)); } .batteryDescription { margin: 0; font-size: 13px; } .calendarPopover { padding: 22px; } .calendarHeading { padding-bottom: 20px; } .calendarHeading > div { display: flex; flex-direction: column; gap: 8px; } .calendarHeading strong { font-size: 20px; font-weight: 500; letter-spacing: -0.4px; } .calendarHeading > div > span { color: var(--chrome-muted); font-size: 12px; } .calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px 2px; font-size: 12px; font-variant-numeric: tabular-nums; } .calendar > span { display: grid; min-height: 34px; place-items: center; } .calendar .weekday { min-height: 26px; color: var(--chrome-muted); font-size: 11px; } .today { border: 1px solid var(--accent-border); border-radius: var(--radius-control); background: var(--accent-soft); box-shadow: var(--control-glow), var(--glass-edge-active); color: var(--accent); } @keyframes panel-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } } @media (prefers-reduced-motion: reduce) { .toggle, .toggle::before, .volumeSlider, .popover { transition: none; } .popover { animation: none; } } :global(:is([data-layout-widget], [data-widget-popover])) .bar { position: relative; inset: auto; max-width: 100%; } :global( [data-layout-widget]:is([data-frame-edge='left'], [data-frame-edge='right']) ) .withDetail { width: max-content; min-width: 44px; flex-direction: column; gap: 2px; padding: 2px 6px; } :global( [data-layout-widget]:is([data-frame-edge='left'], [data-frame-edge='right']) ) .detail { max-width: 100px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; }