.corner { position: relative; z-index: 1000; max-width: 100%; color: var(--chrome-text); } .panel button, .toast button { cursor: pointer; transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease; } .panel button:focus-visible, .toast button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; } .panel button:is(:hover, :focus-visible, :active):not(:disabled), .toast button:is(:hover, :focus-visible, :active):not(:disabled) { box-shadow: var(--control-glow), var(--glass-edge-active); } .bar { display: flex; width: max-content; } .trigger { position: relative; display: inline-flex; width: max-content; align-items: center; justify-content: flex-start; gap: 9px; padding: 0 10px; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; text-align: left; white-space: nowrap; } .trigger[data-display-expanded='false'] { width: 44px; justify-content: center; padding: 0; } .trigger[data-unread='true'] { color: var(--accent); } .trigger[data-unread='false']:not([aria-expanded='true']) { color: var(--chrome-muted); } .panel, .toast { --widget-panel-width: 390px; overflow: auto; 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); overscroll-behavior: contain; scrollbar-color: var(--scrollbar) transparent; scrollbar-width: thin; animation: panel-in 160ms ease-out; transition: border-color 180ms ease, box-shadow 180ms ease; } .panel:is(:hover, :focus-within), .toast:is(:hover, :focus-within) { border-color: var(--accent-border); box-shadow: var(--shadow-glow), var(--glass-edge-active); } .panel { --chrome-hover: var(--surface-control-hover); display: flex; flex-direction: column; overflow: hidden; } .heading { display: flex; flex-shrink: 0; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding: 14px 14px 14px 22px; border-bottom: 1px solid var(--line); background: var(--surface-subtle); } .heading h2 { margin: 0; font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -0.6px; } .markRead { display: inline-flex; flex-shrink: 0; min-height: 44px; align-items: center; justify-content: center; gap: 7px; margin-left: auto; padding: 0 8px; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--chrome-text); font-size: 11px; } .markRead:hover:not(:disabled) { background: var(--chrome-hover); } .markRead:disabled { opacity: 0.4; cursor: default; } .list { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-color: var(--scrollbar) transparent; scrollbar-width: thin; } .notification { position: relative; display: flex; gap: 14px; padding: 20px 20px 6px; } .notification::before { content: ''; position: absolute; top: 0; bottom: 0; left: 34px; width: 1px; background: color-mix(in srgb, var(--accent) 27%, transparent); } .notification:first-child::before { top: 34px; } .notification:last-child::before { bottom: calc(100% - 34px); } .notification[data-unread='true']::before { background: linear-gradient( color-mix(in srgb, var(--accent-bright) 44%, transparent), color-mix(in srgb, var(--accent) 50%, transparent) ); box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 8%, transparent); } .itemIcon { position: relative; z-index: 1; display: grid; flex-shrink: 0; width: 29px; height: 29px; place-items: center; border: 1px solid var(--chrome-border); border-radius: var(--radius-control); background: var(--surface-control); color: var(--chrome-muted); box-shadow: var(--glass-edge); } .notification[data-unread='true'] .itemIcon { border-color: var(--accent-border); background: var(--accent-soft); box-shadow: var(--control-glow), var(--glass-edge-active); color: var(--accent); } :global([data-presentation='realistic']) .itemIcon { border-color: transparent; background: transparent; box-shadow: none; } .itemContent { flex: 1; min-width: 0; padding-top: 2px; } .itemMeta { display: flex; min-height: 16px; align-items: center; gap: 8px; padding-right: 24px; color: var(--chrome-muted); font-size: 11px; } .itemMeta > span:first-child { color: var(--chrome-text); font-weight: 500; } .unreadDot { width: 5px; height: 5px; flex-shrink: 0; border-radius: var(--radius-round); background: var(--accent); } .itemContent h3 { margin: 9px 18px 6px 0; font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: -0.2px; } .itemContent p { margin: 0; color: var(--chrome-muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; } .openButton { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; margin: 4px 0 0 -8px; padding: 0 8px; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--accent); font-size: 12px; font-weight: 500; } .openButton:hover { background: var(--chrome-hover); } .dismissButton { position: absolute; top: 6px; right: 6px; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--chrome-muted); } .dismissButton:hover { background: var(--chrome-hover); color: var(--chrome-text); } .empty { display: flex; min-height: 200px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 24px; } .empty > span { margin-bottom: 18px; color: var(--chrome-muted); } .empty h3 { margin: 0 0 8px; font-size: 20px; font-weight: 500; letter-spacing: -0.4px; } .empty p { margin: 0; color: var(--chrome-muted); font-size: 12px; line-height: 1.5; } .previewTools { display: flex; flex-shrink: 0; align-items: center; justify-content: flex-end; padding: 4px 14px; border-top: 1px solid var(--line); } .previewButton { display: inline-flex; flex-shrink: 0; min-height: 44px; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--chrome-muted); font-size: 11px; } .previewButton:hover { background: var(--chrome-hover); color: var(--chrome-text); } .toast { --chrome-hover: var(--surface-control-hover); padding: 12px 20px 16px; } .toastTop { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -6px -12px 0 0; } .toastTop > span { display: inline-flex; align-items: center; gap: 8px; color: var(--chrome-muted); font-size: 11px; } .toastTop > span > svg { color: var(--accent); } .toastDismiss { display: grid; flex-shrink: 0; width: 44px; height: 44px; padding: 0; place-items: center; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--chrome-muted); } .toastDismiss:hover { background: var(--chrome-hover); color: var(--chrome-text); } .toast h3 { margin: 8px 0; font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -0.4px; } .toast > p { margin: 0 0 18px; color: var(--chrome-muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; } .toastFooter { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); } .toastFooter > span { display: inline-flex; align-items: center; gap: 7px; color: var(--chrome-muted); font-size: 11px; } .toastOpen { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border: 1px solid var(--accent-border); border-radius: var(--radius-control); background: var(--accent-soft); box-shadow: var(--glass-edge); color: var(--accent); font-size: 12px; } .toastOpen:hover { background: var(--chrome-hover); } @keyframes panel-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } } @media (width <= 760px) { .corner { flex: none; } .corner .bar { height: 44px; padding: 0; border: 0; background: transparent; box-shadow: none; } .corner .bar::before { content: none; } } @media (height <= 480px) { .panel { display: block; overflow: auto; } .list { overflow: visible; } } @media (prefers-reduced-motion: reduce) { .corner button, .panel, .toast { transition: none; } .panel, .toast { animation: none; } } @media (width <= 760px) { :global(:is([data-layout-widget], [data-widget-popover])) .corner .bar { height: 54px; padding: var(--shell-padding); border: var(--shell-border-width) solid var(--chrome-border); box-shadow: var(--shadow-panel); } :global(:is([data-layout-widget], [data-widget-popover])) .corner .bar::before { content: ''; } } @media (width <= 760px) { :global([data-layout-widget][data-merged]) .corner .bar { height: 44px; padding: 0; border: 0; background: transparent; box-shadow: none; } :global([data-layout-widget][data-merged]) .corner .bar::before { content: none; } } :global( [data-layout-widget]:is([data-frame-edge='left'], [data-frame-edge='right']) ) .corner .bar { height: auto; } :global( [data-layout-widget]:is([data-frame-edge='left'], [data-frame-edge='right']) ) .trigger[data-display-expanded='true'] { width: 44px; height: auto; min-height: 44px; flex-direction: column; justify-content: center; padding: 10px 0; } :global( [data-layout-widget]:is([data-frame-edge='left'], [data-frame-edge='right']) ) .triggerText { writing-mode: vertical-rl; }