@import url("https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap");

* { box-sizing: border-box; }
:root { color-scheme: light; --shell-header: 56px; --shell-sidebar: 240px; --shell-ink: #0f0f0f; --shell-muted: #606060; --shell-line: #e5e5e5; }
html { min-width: 320px; min-height: 100%; }
body { margin: 0; min-height: 100vh; background: #fff; color: var(--shell-ink); font-family: Roboto, Arial, ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #1a73e8; outline-offset: 2px; }
.shell-icon { display: inline-block; font-size: 22px; line-height: 1; color: currentColor; }
.shell-icon::before { display: inline-block; }
.shell-topbar { position: fixed; z-index: 60; inset: 0 0 auto; display: grid; grid-template-columns: 1fr minmax(260px, 1.3fr) 1fr; align-items: center; height: var(--shell-header); padding: 0 24px; background: #fff; }
.shell-brand-wrap, .shell-header-actions, .shell-search { display: flex; align-items: center; }
.shell-brand-wrap { justify-self: start; gap: 15px; min-width: 0; }
.shell-menu { display: grid; flex: 0 0 auto; place-items: center; width: 40px; height: 40px; margin-left: -9px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #222; cursor: pointer; }
.shell-menu:hover, .shell-action:hover { background: #f2f2f2; }
.shell-menu .shell-icon { display: block; font-size: 22px; }
.shell-brand { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; font-family: "Silkscreen", "Courier New", monospace; font-size: 17px; font-weight: 750; letter-spacing: 0; white-space: nowrap; cursor: default; user-select: none; }
.shell-brand img { display: block; width: 32px; height: 32px; object-fit: contain; }
.shell-search { justify-self: center; width: min(100%, 620px); height: 40px; }
.shell-search input { flex: 1; width: 0; height: 100%; padding: 0 17px; border: 1px solid #c6c6c6; border-radius: 22px 0 0 22px; outline: 0; background: #fff; font: inherit; font-size: 14px; }
.shell-search input:focus { border-color: #6f97a5; }
.shell-search button { display: grid; flex: 0 0 auto; place-items: center; width: 58px; height: 40px; border: 1px solid #c6c6c6; border-left: 0; border-radius: 0 22px 22px 0; background: #f8f8f8; cursor: pointer; }
.shell-search button:hover { background: #f0f0f0; }
.shell-search button .shell-icon { font-size: 20px; }
.shell-header-actions { justify-self: end; gap: 10px; }
.shell-create { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 13px; border-radius: 20px; background: #f2f2f2; font-size: 13px; font-weight: 600; white-space: nowrap; }
.shell-create:hover { background: #e5e5e5; }
.shell-create .shell-icon { font-size: 18px; }
.shell-action { display: grid; place-items: center; width: 39px; height: 39px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.shell-action .shell-icon { display: block; font-size: 22px; }
.shell-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 32px; height: 32px; overflow: hidden; border: 1px solid rgba(0,0,0,.1); border-radius: 50%; background: #f2f2f2; color: #344c55; }
.shell-avatar .shell-icon { font-size: 19px; }
.shell-sidebar { position: fixed; z-index: 45; inset: var(--shell-header) auto 0 0; display: flex; flex-direction: column; width: var(--shell-sidebar); padding: 7px 12px 18px; overflow-x: hidden; overflow-y: auto; border-right: 1px solid #f4f4f4; background: #fff; transition: width .18s ease, transform .2s ease; }
.shell-nav-group { display: grid; gap: 3px; width: 100%; }
.shell-divider { flex: 0 0 1px; height: 1px; margin: 12px 0; background: var(--shell-line); }
.shell-nav { display: flex; align-items: center; gap: 22px; min-height: 42px; padding: 0 12px; overflow: hidden; border: 0; border-radius: 10px; background: transparent; color: #222; font: inherit; font-size: 13px; font-weight: 400; text-align: left; white-space: nowrap; cursor: pointer; }
.shell-nav:hover, .shell-nav.is-active { background: #f2f2f2; }
.shell-nav.is-active { font-weight: 400; }
.shell-nav .shell-icon { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; padding: 6px; border-radius: 12px; background: #f2f6f7; color: #536b73; font-weight: 400; transition: background .16s ease, color .16s ease; }
.shell-nav:hover .shell-icon { background: #eaf0f1; }
.shell-nav.is-active .shell-icon { background: #e2ecef; color: #35545e; }
.shell-nav span { overflow: hidden; text-overflow: ellipsis; }
.shell-sidebar-label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 12px 8px; color: #606060; font-size: 11px; font-weight: 650; letter-spacing: .15px; cursor: default; text-transform: uppercase; }
.shell-sidebar-label .shell-icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: -1px; font-size: 16px; }
.shell-following, .shell-conversations { display: grid; gap: 2px; }
.shell-following > a { display: flex; align-items: center; gap: 16px; min-height: 38px; padding: 0 12px; overflow: hidden; border-radius: 9px; color: #252525; font-size: 12px; }
.shell-following > a:hover { background: #f2f2f2; }
.shell-following img { display: block; flex: 0 0 auto; width: 23px; height: 23px; border-radius: 50%; object-fit: cover; }
.shell-following-empty { margin: 0; padding: 0 12px 6px; color: #777; font-size: 11px; }
.shell-conversations .shell-nav,
.shell-conversations .shell-nav:hover,
.shell-conversations .shell-nav:focus-visible,
.shell-conversations .shell-nav.is-active { background: transparent; box-shadow: none; }
.shell-conversations .shell-nav .shell-icon { background: transparent; }
.shell-sidebar-footer { margin-top: auto; padding: 15px 10px 0; color: #606060; font-size: 10px; line-height: 1.85; }
.shell-sidebar-footer a:hover { text-decoration: underline; text-underline-offset: 2px; }
.shell-scrim { display: none; }
.shell-notice { position: fixed; z-index: 100; right: auto; bottom: 22px; left: 50%; max-width: min(350px, calc(100vw - 34px)); padding: 12px 17px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: #484848; color: #fff; font-size: 12px; box-shadow: 0 8px 28px rgba(0,0,0,.2); opacity: 0; pointer-events: none; transform: translate(-50%, 12px) scale(.97); transition: opacity .22s ease, transform .28s cubic-bezier(.2,.8,.2,1); }
.shell-notice.is-visible { opacity: 1; transform: translate(-50%, 0) scale(1); }
.shell-notice.is-leaving { opacity: 0; transform: translate(-50%, 8px) scale(.97); }
.shell-main { min-height: 100vh; margin-left: var(--shell-sidebar); padding: calc(var(--shell-header) + 28px) 36px 38px; transition: margin-left .18s ease; }
.shell-content { width: min(1500px, 100%); margin: 0 auto; }
.shell-page-heading { margin-bottom: 25px; padding-bottom: 17px; border-bottom: 1px solid #e8ecee; }
.shell-page-heading h1 { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 680; letter-spacing: -.35px; }
.shell-page-heading p { margin: 7px 0 0; color: var(--shell-muted); font-size: 13px; line-height: 1.55; }
.shell-empty { display: grid; justify-items: center; min-height: 300px; margin-top: 18px; padding: 42px 20px; border-top: 1px solid #e8ecee; border-bottom: 1px solid #e8ecee; background: #f8fafb; text-align: center; }
.shell-empty-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 17px; border-radius: 16px; background: #eaf0f2; color: #35545e; }
.shell-empty-icon .shell-icon { font-size: 24px; }
.shell-empty-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.shell-empty h2 { margin: 0; font-size: 17px; font-weight: 650; }
.shell-empty p { max-width: 460px; margin: 8px 0 0; color: var(--shell-muted); font-size: 13px; line-height: 1.55; }
.shell-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 18px; }
.shell-empty-actions .section-action { text-decoration: none; }
.shell-empty-actions .section-action-primary { border-color: #202426; background: #202426; color: #fff; }
.shell-empty-actions .section-action-primary:hover { background: #394246; }
.shell-footer { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 48px; padding-top: 18px; border-top: 1px solid #eee; color: #707070; font-size: 11px; }
@media (min-width: 1101px) {
  .shell-sidebar.is-expanded { width: 250px; padding-right: 12px; padding-left: 12px; }
  .shell-sidebar.is-expanded .shell-nav { flex-direction: row; justify-content: flex-start; gap: 22px; min-height: 42px; padding: 0 12px; text-align: left; }
  .shell-sidebar.is-expanded .shell-nav span { width: auto; font-size: 13px; }
  .shell-sidebar.is-expanded .shell-nav-heading, .shell-sidebar.is-expanded .shell-following, .shell-sidebar.is-expanded .shell-sidebar-footer, .shell-sidebar.is-expanded .shell-conversations, .shell-sidebar.is-expanded .shell-nav[data-page="history"], .shell-sidebar.is-expanded .shell-nav[data-page="uploads"], .shell-sidebar.is-expanded .shell-nav[data-page="saved"], .shell-sidebar.is-expanded .shell-nav[data-page="liked"] { display: flex; }
  .shell-sidebar.is-expanded .shell-following, .shell-sidebar.is-expanded .shell-conversations { display: grid; }
  .shell-sidebar.is-expanded .shell-sidebar-footer { display: block; }
  .shell-sidebar.is-expanded .shell-following-divider, .shell-sidebar.is-expanded .shell-conversations-divider { display: block; }
  .shell-main.is-expanded { margin-left: 250px; }
}
@media (max-width: 1100px) {
  :root { --shell-sidebar: 82px; }
  .shell-sidebar { align-items: center; padding-right: 4px; padding-left: 4px; }
  .shell-nav-group { width: 100%; }
  .shell-nav { min-height: 69px; flex-direction: column; justify-content: center; gap: 5px; padding: 7px 1px; text-align: center; }
  .shell-nav .shell-icon { width: 34px; height: 34px; }
  .shell-nav span { width: 100%; font-size: 9px; }
  .shell-nav-heading, .shell-sidebar-footer, .shell-following, .shell-following-divider, .shell-conversations, .shell-conversations-divider, .shell-sidebar-label { display: none; }
  .shell-sidebar .shell-divider { display: block; }
  .shell-nav span { overflow: visible; white-space: normal; line-height: 1.15; }
  .shell-main { padding-right: 24px; padding-left: 24px; }
}
@media (max-width: 760px) {
  :root { --shell-header: 104px; }
  .shell-topbar { grid-template-columns: 1fr auto; grid-template-rows: 49px 44px; gap: 5px; padding: 0 12px; }
  .shell-brand-wrap { gap: 8px; }
  .shell-search { grid-column: 1 / -1; grid-row: 2; width: 100%; height: 38px; }
  .shell-search button, .shell-search input { height: 38px; }
  .shell-header-actions { grid-column: 2; grid-row: 1; gap: 4px; }
  .shell-create { min-height: 33px; padding: 0 10px; font-size: 12px; }
  .shell-sidebar { z-index: 70; inset: var(--shell-header) auto 0 0; align-items: stretch; width: 250px; padding: 6px 12px 18px; transform: translateX(-102%); box-shadow: 8px 0 26px rgba(0,0,0,.08); transition: transform .2s ease; }
  .shell-sidebar.is-open { transform: translateX(0); }
  .shell-sidebar.is-open .shell-nav { flex-direction: row; justify-content: flex-start; gap: 19px; min-height: 42px; padding: 0 12px; text-align: left; }
  .shell-sidebar.is-open .shell-nav span { width: auto; font-size: 13px; }
  .shell-sidebar.is-open .shell-nav-heading, .shell-sidebar.is-open .shell-following, .shell-sidebar.is-open .shell-sidebar-footer, .shell-sidebar.is-open .shell-conversations, .shell-sidebar.is-open .shell-nav[data-page="history"], .shell-sidebar.is-open .shell-nav[data-page="uploads"], .shell-sidebar.is-open .shell-nav[data-page="saved"], .shell-sidebar.is-open .shell-nav[data-page="liked"] { display: flex; }
  .shell-sidebar.is-open .shell-following, .shell-sidebar.is-open .shell-conversations { display: grid; }
  .shell-sidebar.is-open .shell-sidebar-footer { display: block; }
  .shell-sidebar.is-open .shell-following-divider, .shell-sidebar.is-open .shell-conversations-divider { display: block; }
  .shell-sidebar.is-open .shell-nav[data-shell-conversation] { display: flex; }
  .shell-scrim.is-visible { position: fixed; z-index: 65; inset: var(--shell-header) 0 0; display: block; background: rgba(0,0,0,.25); }
  .shell-nav { flex-direction: row; justify-content: flex-start; gap: 19px; min-height: 42px; padding: 0 12px; text-align: left; }
  .shell-nav span { width: auto; font-size: 13px; }
  .shell-nav-heading, .shell-sidebar-footer, .shell-following, .shell-following-divider, .shell-conversations, .shell-conversations-divider, .shell-sidebar-label, .shell-sidebar .shell-nav[data-page="history"], .shell-sidebar .shell-nav[data-page="uploads"], .shell-sidebar .shell-nav[data-page="saved"], .shell-sidebar .shell-nav[data-page="liked"] { display: flex; }
  .shell-following, .shell-conversations { display: grid; }
  .shell-sidebar-footer { display: block; }
  .shell-main { margin-left: 0; padding: calc(var(--shell-header) + 22px) 17px 30px; }
  .shell-page-heading h1 { font-size: 21px; }
  .shell-empty { padding: 57px 12px; }
}
@media (max-width: 430px) {
  .shell-topbar { padding-right: 8px; padding-left: 8px; }
  .shell-brand img { width: 27px; height: 27px; }
  .shell-brand { gap: 5px; font-size: 15px; }
  .shell-header-actions { gap: 1px; }
  .shell-action { width: 33px; height: 33px; }
}
