#easy-shell {
    --easy-r:    22px;
    --easy-r-md: 16px;
    --easy-r-sm: 12px;
    --easy-pill: 999px;
    --easy-soft:  color-mix(in srgb, var(--ui-text) 6%, transparent);
    --easy-soft2: color-mix(in srgb, var(--ui-text) 11%, transparent);
    --easy-edge:  color-mix(in srgb, var(--ui-text) 12%, transparent);
    --easy-card:  color-mix(in srgb, var(--ui-bg) 70%, var(--ui-bg-deep));

    position: fixed; inset: 0; z-index: 9000;
    padding: 12px;
    box-sizing: border-box;
    background: var(--ui-bg-deep);
    color: var(--ui-text);
    font-family: var(--ui-font);
    font-size: 13px;
    animation: easy-in .22s ease-out;
}
.easy-window {
    height: 100%;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 330px;
    grid-template-rows: 60px minmax(0, 1fr);
    grid-template-areas: "top top top" "left center right";
    gap: 12px;
    min-height: 0;
}
@keyframes easy-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

#easy-shell button { font-family: inherit; }
#easy-shell svg { display: block; flex-shrink: 0; }

.easy-top, .easy-left, .easy-center, .easy-right {
    background: var(--ui-bg);
    border: 1px solid var(--easy-edge);
    border-radius: var(--easy-r);
    min-height: 0;
    box-sizing: border-box;
}
.easy-top {
    background-image: linear-gradient(102deg,
        color-mix(in srgb, var(--ui-accent) 26%, transparent) 0%,
        color-mix(in srgb, var(--ui-accent) 10%, transparent) 32%,
        transparent 70%);
}
.easy-left {
    background-image:
        linear-gradient(168deg,
            color-mix(in srgb, var(--ui-accent) 24%, transparent) 0%,
            color-mix(in srgb, var(--ui-accent) 9%, transparent) 24%,
            transparent 56%),
        radial-gradient(130% 50% at 0% 100%,
            color-mix(in srgb, var(--ui-accent) 16%, transparent) 0%,
            transparent 70%);
}

.easy-block-h {
    font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ui-text-muted); padding: 4px 6px 8px;
}
.easy-muted { color: var(--ui-text-muted); font-size: 12px; padding: 6px; line-height: 1.45; }

.easy-top {
    grid-area: top;
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
    padding: 0 14px 0 10px;
}
.easy-logo {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 5px 10px; border-radius: var(--ui-radius-sm);
    border: 1px solid transparent; background: transparent;
    color: var(--ui-brand-mark); opacity: .8;
    cursor: pointer; line-height: 1;
    transition: background .15s, color .15s, border-color .15s, opacity .15s;
}
.easy-logo:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; opacity: 1; }
.easy-logo:focus-visible { outline: 1px solid var(--ui-border-focus); outline-offset: 1px; }

.easy-drawer-btn {
    display: none; align-items: center; justify-content: center;
    width: 38px; height: 38px; flex: 0 0 auto;
    border-radius: 999px; border: 1px solid var(--easy-edge);
    background: var(--easy-soft); color: var(--ui-text-dim); cursor: pointer;
}
.easy-drawer-btn:hover { background: var(--easy-soft2); color: var(--ui-text); }
.easy-scrim { display: none; }
@media (max-width: 860px) { .easy-scrim:not([hidden]) { display: block; } }

.easy-tabs { display: flex; justify-content: center; gap: 6px; }
.easy-tab {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: var(--easy-pill);
    border: 1px solid transparent; background: transparent;
    color: var(--ui-text-dim); font-size: 12.5px; font-weight: 600; cursor: pointer;
    transition: background .14s, color .14s, border-color .14s;
}
.easy-tab:hover { background: var(--easy-soft); color: var(--ui-text); }
.easy-tab.active { background: var(--easy-soft2); border-color: var(--easy-edge); color: var(--ui-text); }

.easy-top-right { display: flex; align-items: center; gap: 10px; }
.easy-chip {
    display: inline-flex; align-items: center; gap: 8px; max-width: 280px;
    padding: 7px 12px; border-radius: var(--easy-pill);
    border: 1px solid var(--easy-edge); background: var(--easy-soft);
    color: var(--ui-text-dim); font-size: 12px; cursor: pointer;
    transition: background .14s, color .14s, border-color .14s;
}
.easy-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.easy-chip:hover:not(:disabled) { background: var(--easy-soft2); color: var(--ui-text); }
.easy-chip:disabled { opacity: .55; cursor: default; }
.easy-chip.ok { color: var(--ui-text); border-color: color-mix(in srgb, var(--ui-accent) 55%, transparent); }
.easy-chip.pending { color: #d4a24a; border-color: color-mix(in srgb, #d4a24a 55%, transparent); }
.easy-account { display: inline-flex; align-items: center; }

.easy-left { grid-area: left; display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; overflow: hidden; }
.easy-current {
    padding: 12px 14px; border-radius: var(--easy-r-md);
    background: var(--easy-soft); border: 1px solid var(--easy-edge);
}
.easy-current-name { font-weight: 700; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    width: 100%;
    cursor: text;
}
.easy-current-sub { font-size: 11.5px; color: var(--ui-text-muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.easy-btn {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 10px 14px; border-radius: var(--easy-r-md);
    border: 1px solid var(--easy-edge); background: var(--easy-soft);
    color: var(--ui-text); font-size: 12.5px; cursor: pointer; text-align: left;
    transition: background .14s, border-color .14s, transform .08s;
}
.easy-btn:hover { background: var(--easy-soft2); }
.easy-btn:active { transform: scale(.985); }
.easy-btn-primary { background: color-mix(in srgb, var(--ui-accent) 28%, transparent); border-color: color-mix(in srgb, var(--ui-accent) 50%, transparent); font-weight: 600; }
.easy-btn-primary:hover { background: color-mix(in srgb, var(--ui-accent) 38%, transparent); }
.easy-recent-h { margin-top: 8px; }
.easy-recent {
    flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 2px;
    padding: 6px; border-radius: var(--easy-r-md);
    background: var(--easy-soft); border: 1px solid var(--easy-edge);
}
.easy-recent .easy-muted { padding: 4px 4px 6px; }
.easy-version {
    flex: 0 0 auto; padding: 6px 4px 2px;
    font-size: 10px; line-height: 1; letter-spacing: .04em;
    color: var(--ui-text); opacity: .42;
    user-select: text;
}
.easy-recent-item {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 8px 10px; border-radius: var(--easy-r-sm);
    border: 1px solid transparent; background: transparent; color: var(--ui-text-dim);
    font-size: 12.5px; cursor: pointer; text-align: left;
}
.easy-recent-item:hover { background: var(--easy-soft2); color: var(--ui-text); }
.easy-recent-dot {
    width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--easy-soft2); font-weight: 700; font-size: 12px; color: var(--ui-text);
}
.easy-recent-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.easy-center { grid-area: center; display: flex; flex-direction: column; min-width: 0; overflow: hidden; position: relative; }
.easy-feed { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 20px 8px; scroll-behavior: smooth; }
.easy-empty {
    height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    color: var(--ui-text-muted); text-align: center; font-size: 13px; line-height: 1.5; padding: 24px; max-width: 420px; margin: 0 auto;
}

.easy-thread { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.easy-msg { max-width: 78%; padding: 11px 15px; border-radius: var(--easy-r); line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.easy-msg.q { align-self: flex-end; background: color-mix(in srgb, var(--ui-accent) 30%, transparent); border: 1px solid color-mix(in srgb, var(--ui-accent) 45%, transparent); border-bottom-right-radius: 8px; }
.easy-msg.a { align-self: flex-start; background: var(--easy-soft); border: 1px solid var(--easy-edge); border-bottom-left-radius: 8px; position: relative; }
.easy-msg.a p { margin: 0 0 8px; }
.easy-msg.a p:last-of-type { margin-bottom: 0; }
.easy-msg.a.pending { color: var(--ui-text-muted); font-style: italic; }
.easy-msg-tools { display: flex; justify-content: flex-end; margin-top: 8px; }
.easy-msg-acts { display: flex; justify-content: flex-end; gap: 4px; margin-top: 6px; opacity: 0; transition: opacity .12s; }
.easy-msg.q:hover .easy-msg-acts, .easy-msg.q:focus-within .easy-msg-acts { opacity: 1; }
@media (hover: none) { .easy-msg-acts { opacity: 1; } }
.easy-msg-act {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; flex: 0 0 auto;
    border-radius: 8px; border: 1px solid transparent; background: transparent;
    color: var(--ui-text-dim); cursor: pointer; padding: 0;
}
.easy-msg-act:hover { background: var(--easy-soft2); color: var(--ui-text); }
.easy-msg-act:focus-visible { outline: 1px solid var(--ui-border-focus); outline-offset: 1px; }
.easy-feed[data-section="text"] { display: flex; flex-direction: column; }
.easy-feed[data-section="text"] > .easy-msg { margin-bottom: 8px; }

.easy-card {
    border-radius: var(--easy-r); overflow: hidden;
    background: var(--easy-card); border: 1px solid var(--easy-edge);
    display: flex; flex-direction: column;
    transition: border-color .14s, transform .12s;
}
.easy-card-media { cursor: zoom-in; }
.easy-card:hover { border-color: color-mix(in srgb, var(--ui-text) 22%, transparent); }
.easy-card-media { position: relative; aspect-ratio: 16 / 9; background: var(--ui-bg-input); display: flex; align-items: center; justify-content: center; }
.easy-card-media img, .easy-card-media video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.easy-card-ph { color: var(--ui-text-muted); display: flex; align-items: center; justify-content: center; }
.easy-card-media.easy-card-wave { aspect-ratio: auto; height: 72px; background: #000; }
.easy-card-media.easy-card-wave canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.easy-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--easy-edge);
    background: color-mix(in srgb, var(--ui-bg-deep) 70%, transparent); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    opacity: .85; transition: opacity .12s, transform .12s;
}
.easy-card:hover .easy-play { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
.easy-card-busy {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    background: color-mix(in srgb, var(--ui-bg-deep) 62%, transparent); color: var(--ui-text); font-size: 12px;
}
.easy-spin {
    width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid var(--easy-edge); border-top-color: var(--ui-accent-hover);
    animation: easy-spin .8s linear infinite;
}
@keyframes easy-spin { to { transform: rotate(360deg); } }
.easy-card-meta { padding: 10px 12px 11px; display: flex; flex-direction: column; gap: 6px; }
.easy-card-prompt { font-size: 12.5px; line-height: 1.4; max-height: 3.6em; overflow: hidden; }
.easy-card-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.easy-card-status { font-size: 11px; color: var(--ui-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.easy-mini {
    display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0;
    padding: 4px 9px; border-radius: var(--easy-pill);
    border: 1px solid var(--easy-edge); background: var(--easy-soft); color: var(--ui-text-dim);
    font-size: 10.5px; font-weight: 700; letter-spacing: .04em; cursor: pointer;
}
.easy-mini:hover { background: var(--easy-soft2); color: var(--ui-text); }

.easy-prompt { padding: 8px 16px 16px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.easy-prompt-row { display: flex; gap: 8px; flex-wrap: wrap; }
.easy-prompt-box {
    display: flex; align-items: flex-end; gap: 8px;
    padding: 8px 8px 8px 18px; border-radius: var(--easy-r);
    background: var(--ui-bg-input); border: 1px solid var(--easy-edge);
    transition: border-color .14s, box-shadow .14s;
}
.easy-prompt-box:focus-within { border-color: var(--ui-border-focus); box-shadow: 0 0 0 3px var(--ui-accent-glow); }
.easy-input {
    flex: 1; min-height: 24px; max-height: 220px; resize: none; border: none; outline: none;
    background: transparent; color: var(--ui-text); font: inherit; font-size: 14px; line-height: 1.5; padding: 4px 0;
}
.easy-input:focus, .easy-input:focus-visible { outline: none; }
.easy-input::placeholder { color: var(--ui-text-muted); }
.easy-input:disabled { opacity: .5; }
.easy-send {
    display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
    min-height: 36px; padding: 0 16px; border-radius: var(--ui-radius-sm);
    border: 1px solid var(--ui-accent); color: #fff; background: var(--ui-accent);
    font-size: 13px; font-weight: 600; cursor: pointer;
    transition: background .14s, border-color .14s, opacity .12s;
}
.easy-send:hover:not(:disabled) { background: var(--ui-accent-hover); border-color: var(--ui-accent-hover); }
.easy-send:disabled { background: var(--easy-soft); color: var(--ui-text-muted); border-color: var(--easy-edge); cursor: default; }
.easy-prompt-hint { min-height: 14px; font-size: 11px; color: var(--ui-text-muted); padding: 0 12px; }
.easy-pick.ok { color: var(--ui-text); }

.easy-right { grid-area: right; display: flex; flex-direction: column; padding: 14px 12px; overflow: hidden; }
.easy-panel-host { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; }
.easy-panel-host .aig-panel, .easy-panel-host .vai-panel { height: auto; min-height: 0; }
.easy-panel-host .aig-sec, .easy-panel-host .vai-sec {
    border: 1px solid var(--easy-edge); border-radius: var(--easy-r-md);
    background: var(--easy-soft); margin-bottom: 8px; padding: 11px 12px;
}
.easy-panel-host .aig-sec:last-child, .easy-panel-host .vai-sec:last-child { border-bottom: 1px solid var(--easy-edge); }
.easy-panel-host .aig-dock, .easy-panel-host .vai-dock {
    border: 1px solid var(--easy-edge); border-radius: var(--easy-pill);
    background: var(--easy-soft); padding: 6px 12px; margin: 0 0 8px;
}
.easy-panel-host .aig-dock-row, .easy-panel-host .vai-dock-row { justify-content: flex-start; }
.easy-panel-host .vai-title { display: none; }
.easy-sec { border: 1px solid var(--easy-edge); border-radius: var(--easy-r-md); background: var(--easy-soft); padding: 11px 12px; display: flex; flex-direction: column; gap: 8px; }
.easy-sec-h { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ui-text-dim); }

.easy-row2 { display: flex; flex-direction: column; gap: 6px; }
.easy-subs-h { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-right: 2px; }
.easy-subs { flex: 1 1 40%; min-height: 60px; overflow-y: auto; display: flex; flex-direction: column; gap: 3px; }
.easy-sub {
    display: flex; align-items: center; gap: 8px; width: 100%;
    padding: 7px 9px; border-radius: var(--easy-r-sm);
    border: 1px solid transparent; background: transparent; color: var(--ui-text-dim);
    font-size: 12.5px; cursor: pointer; text-align: left;
}
.easy-sub:hover { background: var(--easy-soft); color: var(--ui-text); }
.easy-sub.active { background: var(--easy-soft2); border-color: var(--easy-edge); color: var(--ui-text); }
.easy-sub.branch { margin-left: 18px; width: calc(100% - 18px); }
.easy-sub-arrow { color: var(--ui-text-muted); display: inline-flex; }
.easy-sub-thumb { width: 34px; height: 22px; object-fit: contain; border-radius: 6px; flex-shrink: 0; background: #000; }
.easy-sub-dot { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--easy-soft2); font-size: 10.5px; font-weight: 700; color: var(--ui-text); }
.easy-sub-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.easy-sub-count { font-size: 10.5px; color: var(--ui-text-muted); font-weight: 700; }
.easy-sub.busy .easy-sub-count::after { content: ''; display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: var(--ui-accent-hover); animation: easy-pulse 1s ease-in-out infinite; vertical-align: middle; }
@keyframes easy-pulse { 50% { opacity: .3; } }
.easy-recent { flex: 1 1 30%; }

.easy-feed-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 2px 4px 14px; border-bottom: 1px solid var(--easy-edge); margin-bottom: 14px; }
.easy-feed-title { font-weight: 700; font-size: 14px; }
.easy-feed-sub { font-size: 11.5px; color: var(--ui-text-muted); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.easy-feed-tools { display: flex; align-items: center; gap: 8px; }
.easy-busy-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ui-text-dim); }
.easy-busy-sec { font-variant-numeric: tabular-nums; opacity: .8; }
.easy-busy-tag .easy-spin { width: 14px; height: 14px; }
.easy-empty-sm { height: auto; padding: 32px 24px; }

.easy-card.active { border-color: color-mix(in srgb, var(--ui-accent) 60%, transparent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ui-accent) 25%, transparent); }
.easy-card-tag { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ui-accent-hover); margin-left: 6px; }
.easy-card-acts { display: inline-flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.easy-mini-danger:hover { color: #e07070; border-color: color-mix(in srgb, #e07070 45%, transparent); }

.easy-plus {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; align-self: flex-end;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--easy-edge); background: var(--easy-soft); color: var(--ui-text-dim); cursor: pointer;
    transition: background .14s, color .14s;
}
.easy-plus:hover:not(:disabled) { background: var(--easy-soft2); color: var(--ui-text); }
.easy-plus:disabled { opacity: .5; cursor: default; }
.easy-att {
    display: inline-flex; align-items: center; gap: 7px; max-width: 240px;
    padding: 5px 6px 5px 8px; border-radius: var(--easy-pill);
    border: 1px solid var(--easy-edge); background: var(--easy-soft); color: var(--ui-text-dim); font-size: 11.5px;
}
.easy-att img { width: 28px; height: 18px; object-fit: contain; border-radius: 5px; background: #000; }
.easy-att-open { cursor: zoom-in; }
.easy-att-open:hover { border-color: var(--easy-edge-hi, var(--easy-edge)); color: var(--ui-text); }
.easy-att-open .easy-att-x { cursor: pointer; }
.easy-att > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.easy-att-x {
    width: 18px; height: 18px; border-radius: 50%; border: none; background: transparent; color: var(--ui-text-muted);
    font-size: 14px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.easy-att-x:hover { background: var(--easy-soft2); color: var(--ui-text); }

.easy-sub { position: relative; }
.easy-sub-more { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 6px; color: var(--ui-text-muted); opacity: 0; flex: 0 0 auto; }
.easy-sub:hover .easy-sub-more, .easy-sub.active .easy-sub-more { opacity: 1; }
.easy-sub-more:hover { background: var(--easy-soft2); color: var(--ui-text); }
.easy-menu {
    position: fixed; z-index: 99500;
    width: max-content; min-width: 190px; max-width: 280px;
    display: flex; flex-direction: column; gap: 6px; padding: 8px;
    background: var(--ui-bg); border: 1px solid var(--easy-edge); border-radius: var(--easy-r);
    box-shadow: var(--ui-shadow);
}
.easy-btn-danger { color: var(--ui-danger-text); border-color: color-mix(in srgb, var(--ui-danger-text) 40%, transparent); }
.easy-sub-rename {
    flex: 1; min-width: 0; font: inherit; color: var(--ui-text);
    background: var(--ui-bg-input); border: 1px solid var(--ui-border-focus);
    border-radius: var(--easy-r-sm); padding: 2px 6px;
}

.easy-current-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.easy-save { display: inline-flex; align-items: center; gap: 5px; flex: 1; min-width: 0; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.easy-save-now {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; padding: 0; border-radius: 7px;
    border: 1px solid var(--ui-border); background: var(--ui-surface-2, rgba(255,255,255,.05));
    color: var(--ui-text); cursor: pointer;
}
.easy-save-now:hover:not(:disabled) { background: var(--ui-surface-3, rgba(255,255,255,.1)); }
.easy-save-now:disabled { opacity: .5; cursor: default; }
.easy-save.ok { color: #68d391; }
.easy-save.busy { color: #e2b85c; }
.easy-save.warn { color: var(--ui-danger-text); }
.easy-save.wait { color: #81a9d3; }

.easy-chat { display: flex; flex-direction: column; gap: 18px; padding: 4px 2px 8px; }
.easy-turn { display: flex; flex-direction: column; gap: 8px; }
.easy-turn > .easy-msg.q { align-self: flex-end; max-width: min(68%, 560px); }
.easy-turn > .easy-card { align-self: flex-start; width: min(100%, 420px); }
.easy-turn.pending > .easy-card { opacity: .85; }
.easy-card-skeleton .easy-card-media {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 16 / 9;
    background: linear-gradient(100deg, var(--easy-soft) 30%, var(--easy-soft2) 50%, var(--easy-soft) 70%);
    background-size: 220% 100%;
    animation: easy-skel 1.2s linear infinite;
}
@keyframes easy-skel { from { background-position: 120% 0; } to { background-position: -120% 0; } }

.easy-send-price { display: inline-flex; align-items: center; flex: 0 0 auto; }
.easy-send-price .vai-dock,
.easy-send-price .aig-dock {
    padding: 0; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    min-height: 0; flex: 0 0 auto;
}
.easy-send-price .vai-dock-row,
.easy-send-price .aig-dock-row { gap: 0; }
.easy-send-price .aig-progress { display: none; }
.easy-send-price .vai-price-badge,
.easy-send-price .aig-price-badge,
.easy-price-badge {
    display: inline-flex; align-items: center; gap: 5px; margin: 0; min-height: 0;
    padding: 6px 11px; border-radius: var(--easy-pill);
    border: 1px solid var(--easy-edge); background: var(--easy-soft);
    font-size: 11.5px; font-weight: 600; color: var(--ui-text-dim); white-space: nowrap;
}
.easy-price-ic, .easy-send-price .vai-price-ic, .easy-send-price .aig-price-ic { display: inline-flex; }

.easy-msg.n { align-self: stretch; max-width: none; background: transparent; border: 1px dashed var(--easy-edge); color: var(--ui-text-dim); }
.easy-msg.n.pending { font-style: italic; color: var(--ui-text-muted); }
.easy-review { align-self: stretch; }
.easy-msg-files { margin-top: 8px; font-size: 11px; color: color-mix(in srgb, var(--ui-text) 65%, transparent); }

@media (max-width: 1100px) {
    .easy-window { grid-template-columns: 220px minmax(0, 1fr) 290px; }
}
@media (max-width: 860px) {
    #easy-shell { padding: 8px; padding-top: calc(8px + env(safe-area-inset-top, 0px)); }
    .easy-window {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr);
        grid-template-areas: "top" "center";
        gap: 8px;
    }
    .easy-drawer-btn {
        display: inline-flex; position: absolute; top: 10px; z-index: 4;
        background: color-mix(in srgb, var(--ui-bg) 82%, transparent);
        backdrop-filter: blur(8px);
        box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
        transition: opacity .18s ease, visibility .18s;
    }
    .easy-drawer-l { left: 10px; }
    .easy-drawer-r { right: 10px; }
    #easy-shell.drawer-left  .easy-drawer-btn,
    #easy-shell.drawer-right .easy-drawer-btn { opacity: 0; visibility: hidden; pointer-events: none; }
    .easy-feed { padding-top: 58px; }
    .easy-top { display: grid; grid-template-columns: auto minmax(0, 1fr); row-gap: 6px; column-gap: 6px; padding: 6px 8px; }
    .easy-logo { grid-column: 1; grid-row: 1; padding: 2px 4px; }
    .easy-top-right { grid-column: 2 / -1; grid-row: 1; justify-self: end; gap: 6px; }
    .easy-logo svg { width: 30px; height: 30px; }
    .easy-tabs { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
    .easy-tabs::-webkit-scrollbar { display: none; }
    .easy-tab { padding: 7px 11px; font-size: 12px; flex: 0 0 auto; }
    .easy-folder span { max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

    .easy-left, .easy-right {
        position: fixed; top: 0; bottom: 0; z-index: 3;
        width: min(84vw, 380px); max-width: 100%;
        border-radius: 0; border-top: 0; border-bottom: 0;
        padding-top: calc(8px + env(safe-area-inset-top, 0px));
        overflow-y: auto;
        transition: transform .22s ease;
        will-change: transform;
    }
    .easy-left  { left: 0;  transform: translateX(-102%); border-left: 0; }
    .easy-right { right: 0; transform: translateX(102%);  border-right: 0; }
    #easy-shell.drawer-left  .easy-left  { transform: none; }
    #easy-shell.drawer-right .easy-right { transform: none; }
    .easy-scrim { position: fixed; inset: 0; z-index: 2; background: rgba(0, 0, 0, .5); }

    .easy-center { grid-area: center; }
    .easy-prompt { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
    .easy-msg { max-width: 92%; }
}
@media (max-width: 560px) {
    .easy-account .tok-num { display: none; }
    .easy-send { padding: 0 12px; }
}

.easy-drawer-x {
    display: none; position: absolute; top: calc(6px + env(safe-area-inset-top, 0px)); right: 6px; z-index: 1;
    width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0;
    border: 0; border-radius: var(--ui-radius-sm); background: none; color: var(--ui-text); cursor: pointer;
}
#easy-shell.easy-phone [data-act="pro"] { display: none; }
@media (max-width: 699px) and (orientation: portrait) {
    .easy-left, .easy-right { width: 100%; }
    .easy-drawer-x { display: inline-flex; }
    .easy-left > .easy-block-h:first-of-type, .easy-right > #easy-panel-title { min-height: 44px; padding-right: 52px; display: flex; align-items: center; }
}

.easy-send.ds-genbtn { min-height: 40px; gap: 7px; padding: 0 14px; font-size: 13px; letter-spacing: 0; }
.easy-send .easy-send-price:empty { display: none; }
.easy-send .easy-send-price .vai-price-badge,
.easy-send .easy-send-price .aig-price-badge,
.easy-send .easy-price-badge { padding: 0; border: 0; background: none; color: inherit; font-size: 13px; font-weight: 700; gap: 4px; }
.easy-send .easy-send-price svg { width: 14px; height: 14px; }
.easy-send .easy-send-price .aig-price-ic, .easy-send .easy-send-price .vai-price-ic { opacity: 1; }
.easy-prompt-hint:empty { display: none; }
