/* جهان ترانه — shared responsive application shell */

html { background: var(--od-bg-base); }
body {
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 45% at 72% -10%, rgba(139,92,246,.14), transparent 70%),
    var(--od-bg-base);
}
.skip-link {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: #0a0a0f;
  background: var(--od-accent);
  font-size: 12px;
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform var(--motion-fast) var(--motion-spring);
}
.skip-link:focus { transform: translateY(0); }

.jt-app { position: relative; min-height: 100dvh; background: transparent; }
.jt-main {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.jt-sidebar {
  background: linear-gradient(180deg, rgba(17,17,27,.9), rgba(8,8,13,.96));
  border-left: 1px solid rgba(255,255,255,.08);
  box-shadow: inset -1px 0 rgba(255,255,255,.02);
}
.jt-brand { padding: 8px 10px 25px; margin-bottom: 8px; }
.jt-brand-mark {
  width: 43px;
  height: 43px;
  border-radius: 14px;
}
.jt-brand strong { font-size: 17px; }
.jt-brand small { color: var(--tu-cyan); opacity: .75; }
.jt-nav-label {
  padding: 18px 12px 7px;
  color: var(--od-text-dim);
}
.jt-side-nav { gap: 5px; }
.jt-side-nav a {
  min-height: 45px;
  border-right: 3px solid transparent;
  border-radius: 12px;
  transition: color var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast), transform var(--motion-fast);
}
.jt-side-nav a:hover { transform: translateX(-3px); }
.jt-side-nav a.active {
  border-right-color: var(--od-accent);
  background: linear-gradient(90deg, rgba(30,215,96,.15), rgba(30,215,96,.025));
}
.jt-side-nav a svg { width: 20px; height: 20px; }
.jt-side-foot {
  gap: 8px;
  padding: 14px 8px 4px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.jt-user-card {
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
}
.jt-user-card:hover { border-color: rgba(30,215,96,.28); }
.jt-user-avatar { background: linear-gradient(135deg, var(--tu-glow), var(--tu-cyan)); color: #0a0a0f; }
.jt-side-chip.primary { min-height: 45px; border-radius: 13px; }

.jt-site-header {
  position: sticky;
  top: 0;
  z-index: 35;
  min-height: var(--header-h);
  padding: 12px clamp(16px, 3vw, 36px);
  background: rgba(10,10,15,.72);
  border-bottom: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  backdrop-filter: blur(22px) saturate(1.25);
}
.jt-header-start { gap: 22px; }
.jt-header-nav { gap: 5px; }
.jt-header-nav a {
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--od-text-muted);
  font-size: 12px;
  transition: color var(--motion-fast), background var(--motion-fast);
}
.jt-header-nav a:hover,
.jt-header-nav a.active {
  color: var(--od-text);
  background: rgba(255,255,255,.06);
}
.jt-header-nav a.active { color: var(--od-accent); }
.jt-search-bar {
  max-width: 390px;
  min-height: 42px;
  border-radius: 13px;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.08);
}
.jt-search-bar svg { width: 18px; height: 18px; }
.jt-search-bar input { font-size: 12px; }
.jt-header-actions { gap: 8px; }
.jt-header-btn {
  min-height: 38px;
  border-radius: 11px;
  font-size: 12px;
}
.jt-mobile-menu {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  color: var(--od-text);
  background: rgba(255,255,255,.05);
  cursor: pointer;
}
.jt-mobile-menu svg { width: 20px; height: 20px; }
.jt-mobile-menu:hover,
.jt-mobile-menu:focus-visible { border-color: var(--od-accent); color: var(--od-accent); }

.jt-page {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding-inline: clamp(16px, 3vw, 42px);
}
.jt-site-footer {
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(8,8,13,.5);
}
.jt-footer-grid { max-width: 1200px; margin-inline: auto; }
.jt-footer-grid strong { color: var(--od-text); }
.jt-footer-grid a:hover { color: var(--od-accent); }

@media (max-width: 1023px) {
  .jt-sidebar {
    width: min(290px, 86vw);
    padding-top: 22px;
    z-index: 60;
  }
  .jt-site-header { min-height: 62px; }
  .jt-header-start { gap: 10px; }
  .jt-header-nav { display: none; }
  .jt-search-bar { flex: 1; max-width: none; }
  .jt-header-actions .jt-header-btn.ghost { display: none; }
}
@media (max-width: 600px) {
  .jt-site-header {
    gap: 9px;
    padding: 9px 12px;
  }
  .jt-header-actions .jt-header-btn:not(.ghost) {
    display: grid;
    width: 42px;
    overflow: hidden;
    padding: 0;
    place-items: center;
    font-size: 0;
  }
  .jt-header-actions .jt-header-btn:not(.ghost)::after {
    content: "+";
    font-size: 20px;
    font-weight: 400;
  }
  .jt-search-bar input { font-size: 11px; }
  .jt-page { padding-inline: 12px; }
}
