* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      background: #0f1115;
      color: #e8eef2;
      line-height: 1.7;
      font-size: 1rem;
      padding: 0 16px;
      max-width: 1400px;
      margin: 0 auto;
      text-rendering: optimizeSpeed;
    }
    .theme-light {
      background: #f6f7fc;
      color: #1e1e2f;
    }
    a {
      color: #ff7a1a;
      text-decoration: none;
      border-bottom: 1px solid rgba(255, 122, 26, .3);
      transition: all .15s ease;
    }
    a:hover {
      color: #ffb347;
      border-bottom-color: #ffb347;
    }
    nav a, .no-border {
      border-bottom: none;
    }
    h1, h2, h3, h4 {
      font-weight: 650;
      line-height: 1.25;
      letter-spacing: -0.02em;
      margin-top: 1.8rem;
      margin-bottom: 0.6rem;
      color: #ffffff;
    }
    .theme-light h1, .theme-light h2, .theme-light h3, .theme-light h4 {
      color: #0f1a2e;
    }
    h1 {
      font-size: 2.4rem;
      margin-top: 1rem;
    }
    h2 {
      font-size: 1.9rem;
      border-bottom: 2px solid rgba(255, 122, 26, .25);
      padding-bottom: 0.4rem;
      margin-top: 2.6rem;
    }
    h3 {
      font-size: 1.45rem;
      margin-top: 1.8rem;
    }
    h4 {
      font-size: 1.15rem;
      margin-top: 1.4rem;
    }
    p {
      margin-bottom: 1.2rem;
      max-width: 75ch;
    }
    ul, ol {
      margin: 0.75rem 0 1.5rem 1.5rem;
    }
    li {
      margin-bottom: 0.5rem;
    }
    img {
      max-width: 100%;
      height: auto;
      border-radius: 16px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.4);
      margin: 2rem 0;
    }
    .container {
      display: flex;
      flex-wrap: nowrap;
      gap: 24px;
      margin-top: 1.5rem;
    }
    .main-content {
      flex: 1 1 72%;
      min-width: 0;
    }
    .sidebar {
      flex: 1 1 28%;
      background: rgba(255,255,255,0.03);
      border-radius: 24px;
      padding: 1.5rem 1.2rem;
      height: fit-content;
      position: sticky;
      top: 20px;
      border: 1px solid rgba(255,255,255,0.05);
    }
    .theme-light .sidebar {
      background: #ffffff;
      border-color: #e4e7f0;
    }
    .header {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      padding: 20px 0 10px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .my-logo {
      font-size: 2rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      background: linear-gradient(135deg, #ff7a18, #ff0080);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      border-bottom: none;
    }
    .my-logo:hover {
      opacity: 0.85;
      border-bottom: none;
    }
    .header-right {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .burger {
      display: none;
      background: none;
      border: none;
      color: white;
      font-size: 2rem;
      cursor: pointer;
      padding: 0 10px;
    }
    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
      margin: 0;
      font-weight: 500;
    }
    .nav-links a {
      color: #f0f0f0;
      font-size: .95rem;
    }
    .theme-light .nav-links a { color: #1e1e2f; }
    .nav-links a:hover { color: #ff7a1a; }
    .breadcrumb {
      font-size: 0.85rem;
      padding: 1rem 0 0.2rem;
      color: #b0b8c2;
    }
    .breadcrumb i {
      margin: 0 6px;
      font-size: 0.65rem;
      color: #ff7a1a;
    }
    .stat-box {
      background: rgba(0,0,0,0.25);
      border-radius: 14px;
      padding: 18px 16px;
      border-left: 4px solid #ff7a1a;
      margin: 1.2rem 0;
    }
    .stat-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: 12px;
      margin: 20px 0;
    }
    .stat-card {
      background: #1b1f2a;
      padding: 14px;
      border-radius: 14px;
      text-align: center;
      border: 1px solid rgba(255,255,255,0.06);
    }
    .theme-light .stat-card { background: #f0f3fa; border-color: #ddd; }
    .stat-card .big {
      font-size: 1.8rem;
      font-weight: 700;
      color: #ff7a1a;
    }
    .btn-like {
      display: inline-block;
      background: #ff7a1a;
      border: none;
      color: white;
      padding: 0.6rem 1.4rem;
      border-radius: 60px;
      font-weight: 600;
      cursor: pointer;
      transition: all .2s;
    }
    .btn-like:hover { background: #ff983f; transform: scale(1.02); }
    .friend-link {
      display: block;
      border-top: 1px solid rgba(255,255,255,0.1);
      margin-top: 2.5rem;
      padding-top: 1.5rem;
      font-size: 0.9rem;
    }
    .friend-link a {
      display: inline-flex;
      margin-right: 1.2rem;
      align-items: center;
      gap: 5px;
    }
    .footer {
      text-align: center;
      padding: 2.2rem 0 1.5rem;
      color: #7b8494;
      font-size: 0.85rem;
    }
    .search-form {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin: 20px 0;
      background: rgba(255,255,255,0.03);
      padding: 18px;
      border-radius: 18px;
    }
    .search-form input {
      padding: 14px 16px;
      border-radius: 60px;
      border: 1px solid #3a4150;
      background: #161b22;
      color: white;
      font-size: 1rem;
    }
    .search-form button {
      background: #ff7a1a;
      border: none;
      padding: 14px 22px;
      border-radius: 60px;
      font-weight: 600;
      color: #0f1115;
      cursor: pointer;
    }
    .theme-light .search-form { background: white; }
    .theme-light .search-form input { background: #f2f4fa; border-color: #ccc; color: #1e1e2f; }
    .comment, .score-form {
      background: rgba(0,0,0,0.25);
      padding: 1rem 1.2rem;
      border-radius: 18px;
      margin: 24px 0;
    }
    .score-form input, .score-form textarea, .comment input, .comment textarea {
      width: 100%;
      padding: 12px;
      background: #1b1f2a;
      border: 1px solid #353b48;
      border-radius: 14px;
      margin: 8px 0;
      color: white;
    }
    .theme-light .score-form input, .theme-light .comment input, .theme-light .comment textarea { background: #fff; color: #222; }
    .score-stars i {
      font-size: 1.6rem;
      color: #ffb400;
      margin: 0 4px;
    }
    @media (max-width: 980px) {
      .container { flex-direction: column; }
      .sidebar { position: static; width: 100%; }
    }
    @media (max-width: 820px) {
      .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
        background: #181c25;
        padding: 1rem;
        border-radius: 16px;
        margin-top: 1rem;
      }
      .nav-links.open {
        display: flex;
      }
      .burger {
        display: block;
      }
      .header {
        flex-wrap: wrap;
      }
      h1 { font-size: 2rem; }
      .theme-light .nav-links { background: #ffffff; }
    }
