@import "./color.css"; 
@import "./common.css"; 
@import "/tools/prompt/prompt.css";
@import "./font.css";

:root {
    font-size: 13px;
    --duration: 0.25s;
    --thin-duration: 0.2s;
    --duration-thin: var(--thin-duration);
    --duration-longer: 1s;
    --left-bar-width: 180px;
}

:root {
    --default-icon-width: 6.4vw;
    --tab-height: 55px;
    --box-padding: 22px;
    --box-shadow: 0 16px 24px 2px
    rgba(0, 0, 0, 0.14),
    0  6px 30px 5px rgba(0, 0, 0, 0.12),
    0  8px 10px -5px rgba(0, 0, 0, 0.4);
}
 
body {
    /* --font: Nunito, LantingHei SC, Microsoft YaHei; */
    display: grid;
    grid-template: auto 1fr / auto 1fr;
    height: 100vh;
    /* font-family: var(--font); */
    overflow-x: hidden;
    overflow-y: hidden;
    background: var(--color-surface-page);
    padding: 0;
    margin: 0;
}
left-bar {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    border-right: solid 3px var(--color-brand-strong);
}
tab-bar {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    height: var(--tab-height);
}
screen-box {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    overflow-y: scroll;
    height: 100%;
    position: relative;
    /* display: flex; */
}
screen-box > * {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 12px;
}
screen-box > *:not(.current) {
    display: none;
}
screen-box:empty {
    display: grid;
    place-content: center;
}
screen-box:empty::after {
    content: var(--org);
    font-size: 8rem;
    opacity: 0.10;
    filter: blur(3px);
}
screen-box::before, screen-box::after {
    content: "";
    background: url(/img/bg.webp) ;
    opacity: 0.1;
    filter: blur(20px) saturate(0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
screen-box::after {
    opacity: 0.15;
    background: linear-gradient(to top, var(--color-overlay-gradient), var(--color-surface-primary));
}
:not(:defined) {
    display:    inline-block;
    opacity: 0;
}
screen-box::-webkit-scrollbar {
    width: 0.4rem;
    height: 0.3rem;
}
screen-box::-webkit-scrollbar-track {
    background: var(--color-surface-inverse);
}
screen-box::-webkit-scrollbar-thumb {
    background: var(--color-brand-strong);
}
notification-list {
  /* position: fixed; */
  /* right: 0; */
  top: 60px;
}

