/* ÐžÑÐ½Ð¾Ð²Ð½Ñ‹Ðµ ÑÑ‚Ð¸Ð»Ð¸ Ð´Ð»Ñ Ð²ÑÐµÐ³Ð¾ ÑÐ°Ð¹Ñ‚Ð° */
:root{
      --card-radius: 12px;
      --card-bg: rgba(255,255,255,.06);
      --card-border: rgba(148,163,184,.18);
      --shadow: 0 10px 25px rgba(15,23,42,.30);
      --shadow-hover: 0 18px 40px rgba(0,0,0,.28);
      --muted: rgb(100,116,139);
      --line: rgba(148,163,184,.18);
      --star: #f59e0b;
      --star-off: rgba(148,163,184,.55);
      --header-h: 72px;
      --sidebar-w: 280px;
      --bg: #161b28;
      --surface: rgba(255,255,255,.06);
      --text: #e5e7eb;
      --muted2: rgba(226,232,240,.72);
      --border: rgba(148,163,184,.18);
      --primary: #00bcd4;
      --primary2:#0ea5e9;

      /* Ð£ÐœÐ•ÐÐ¬Ð¨Ð•ÐÐÐ«Ð• ÐšÐÐ Ð¢ÐžÐ§ÐšÐ˜ */
      --cover-h: 170px;
      --cover-pad: 14px;
      --cover-icon: 56px;
      --cover-icon-radius: 16px;
      --cover-title-size: 16px;
      --module-name-size: 16px;
      --module-desc-size: 12.5px;
      --btn-buy-pad-y: 8px;
      --btn-buy-pad-x: 14px;

      /* Ð¡ÐµÑ‚ÐºÐ° ÐºÐ°Ñ€Ñ‚Ð¾Ñ‡ÐµÐº */
      --grid-gap: 16px;

      /* Ð¤ÑƒÑ‚ÐµÑ€ */
      --footer-bg: #21283b9c;
    }

    /* Ð¡Ð²ÐµÑ‚Ð»Ð°Ñ Ñ‚ÐµÐ¼Ð° (Ð¿ÐµÑ€ÐµÐºÐ»ÑŽÑ‡ÐµÐ½Ð¸Ðµ) */
    html[data-theme="light"]{
      --bg: #f4f7fb;
      --surface: #ffffff;
      --text: #0f172a;
      --muted2: rgba(100,116,139,1);
      --border: rgba(148,163,184,.25);

      --line: rgba(226,232,240,.9);

      --footer-bg: rgba(255,255,255,.85);
      --card-bg: #ffffff;
      --card-border: rgba(148,163,184,.35);
      --shadow: 0 10px 25px rgba(15,23,42,.08);
      --shadow-hover: 0 14px 32px rgba(15,23,42,.14);

      --star-off: rgba(148,163,184,.6);
    }

    *{ box-sizing: border-box; }

    body{
      padding: 0;
      margin: 0;
      background: var(--bg);
      color: var(--text);
      font-family: 'Roboto', "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
    }

    a{ color: inherit; }

    /* =========================================================
       Ð›Ð•Ð™ÐÐ£Ð¢: Ð²ÐµÑ€Ñ…Ð½ÑÑ ÑˆÐ°Ð¿ÐºÐ° + Ð»ÐµÐ²Ñ‹Ð¹ ÑÐ°Ð¹Ð´Ð±Ð°Ñ€ + ÐºÐ¾Ð½Ñ‚ÐµÐ½Ñ‚
       ========================================================= */

    .app{ min-height: 100vh; }

    /* Ð¨ÐÐŸÐšÐ */
    .app-header{
      position: sticky;
      top: 0;
      z-index: 60;
      height: var(--header-h);
      display:flex;
      align-items:center;
      background: #21283b9c;
      border-bottom: 1px solid rgba(148,163,184,.18);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    html[data-theme="light"] .app-header{
      background: rgba(255,255,255,.85);
      border-bottom: 1px solid rgba(226,232,240,.9);
    }

    .header-inner{
      width: 100%;
      height: 100%;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 14px;
      padding: 0 14px;
    }

    .left-pack{
      display:flex;
      align-items:center;
      gap: 12px;
      min-width: 0;
    }

    .hamburger{
      width: 42px;
      height: 42px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,.06);
      color: var(--text);
      display:none;
      align-items:center;
      justify-content:center;
      cursor:pointer;
      box-shadow: 0 10px 18px rgba(0,0,0,.15);
      transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
    }
    html[data-theme="light"] .hamburger{ background: rgba(255,255,255,.65); }
    .hamburger:hover{
      transform: translateY(-1px);
      box-shadow: var(--shadow);
      border-color: rgba(148,163,184,.38);
    }
    .hamburger svg{
      width: 20px;
      height: 20px;
      fill:none;
      stroke: currentColor;
      stroke-width:2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .brand{
      display:flex;
      align-items:center;
      gap: 12px;
      min-width: 0;
    }

    .brand-badge{
      width: 38px;
      height: 38px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      box-shadow: 0 10px 18px rgba(0,188,212,.22);
      display:flex;
      align-items:center;
      justify-content:center;
      flex: 0 0 auto;
    }
    .brand-badge svg{
      width: 22px;
      height: 22px;
      fill:none;
      stroke:#fff;
      stroke-width:2.2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .brand-text{
      display:flex;
      flex-direction:column;
      gap: 2px;
      min-width: 0;
    }
    .brand-text strong{
      font-size: 20px;
      font-weight: 600;
      letter-spacing: -.02em;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
      line-height: 1.1;
    }
    .brand-text span{
      font-size: 12px;
      color: var(--muted2);
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
      line-height: 1.1;
    }

    .header-actions{
      display:flex;
      align-items:center;
      gap: 10px;
      min-width: 0;
    }

    .badge-dle{
      height: 40px;
      display:inline-flex;
      align-items:center;
      gap: 8px;
      padding: 0 12px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,.06);
      box-shadow: 0 10px 18px rgba(0,0,0,.15);
      font-weight: 900;
      letter-spacing: .02em;
      white-space: nowrap;
    }
    html[data-theme="light"] .badge-dle{
      background: rgba(255,255,255,.65);
      box-shadow: 0 10px 18px rgba(15,23,42,.06);
    }
    .badge-dle i{
      font-style: normal;
      font-weight: 900;
      font-size: 12px;
      padding: 3px 8px;
      border-radius: 999px;
      border: 1px solid rgba(239,68,68,.35);
      background: rgba(239,68,68,.14);
      color: rgba(254,202,202,.95);
    }
    html[data-theme="light"] .badge-dle i{
      color: rgba(127,29,29,1);
      border-color: rgba(239,68,68,.35);
      background: rgba(239,68,68,.10);
    }

    .icon-btn{
      height: 40px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,.06);
      color: var(--text);
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap: 8px;
      padding: 0 12px;
      cursor:pointer;
      user-select:none;
      box-shadow: 0 10px 18px rgba(0,0,0,.15);
      transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
      white-space: nowrap;
    }
    html[data-theme="light"] .icon-btn{
      background: rgba(255,255,255,.65);
      box-shadow: 0 10px 18px rgba(15,23,42,.06);
    }
    .icon-btn:hover{
      box-shadow: var(--shadow);
      border-color: rgba(148,163,184,.38);
    }
    .icon-btn:active{ transform: translateY(0); }
    .icon-btn:focus-visible{
      outline: 2px solid rgba(14,165,233,.55);
      outline-offset: 2px;
    }
    .icon-btn svg{
      width: 18px;
      height: 18px;
      fill:none;
      stroke: currentColor;
      stroke-width:2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    /* User dropdown */
    .user-wrap{ position: relative; }
    .user-box{
      display:flex;
      align-items:center;
      gap: 10px;
      padding: 6px 10px 6px 8px;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,.06);
      box-shadow: 0 10px 18px rgba(0,0,0,.15);
      cursor:pointer;
      transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
      user-select: none;
      white-space: nowrap;
    }
    html[data-theme="light"] .user-box{
      background: rgba(255,255,255,.65);
      box-shadow: 0 10px 18px rgba(15,23,42,.06);
    }
    .user-box:hover{
      transform: translateY(-1px);
      box-shadow: var(--shadow);
      border-color: rgba(148,163,184,.38);
    }
    .user-box:focus-visible{
      outline: 2px solid rgba(14,165,233,.55);
      outline-offset: 2px;
    }

    .user-avatar{
      width: 34px;
      height: 34px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      box-shadow: 0 10px 18px rgba(14,165,233,.18);
      flex: 0 0 auto;
      position:relative;
      overflow:hidden;
    }
    .user-avatar::after{
      content:"";
      position:absolute;
      inset:-16px;
      background:
        radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.7px) 0 0 / 18px 18px,
        radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.7px) 9px 9px / 18px 18px;
      opacity:.7;
      transform: rotate(-6deg);
      pointer-events:none;
    }
    .user-meta{
      display:flex;
      flex-direction:column;
      gap: 2px;
      min-width: 0;
    }
    .user-meta b{
      font-size: 13px;
      line-height: 1.1;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .user-meta i{
      font-style: normal;
      font-size: 12px;
      line-height: 1.1;
      color: var(--muted2);
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }

    .user-caret{
      margin-left: 6px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      opacity:.9;
    }
    .user-caret svg{
      width: 16px;
      height: 16px;
      fill:none;
      stroke: currentColor;
      stroke-width:2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .dropdown{
      position:absolute;
      top: calc(100% + 10px);
      right: 0;
      width: 240px;
      border-radius: 14px;
      background: rgba(15,23,42,.72);
      border: 1px solid rgba(148,163,184,.20);
      box-shadow: 0 22px 60px rgba(0,0,0,.35);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      overflow:hidden;
      transform-origin: top right;
      transform: translateY(-6px) scale(.98);
      opacity: 0;
      pointer-events: none;
      transition: opacity .14s ease, transform .14s ease;
      z-index: 70;
    }
    html[data-theme="light"] .dropdown{
      background: rgba(255,255,255,.92);
      border-color: rgba(148,163,184,.30);
      box-shadow: 0 18px 50px rgba(15,23,42,.14);
    }
    .dropdown.open{
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0) scale(1);
    }
    .dropdown-head{
      padding: 12px 12px 10px;
      border-bottom: 1px solid rgba(148,163,184,.18);
    }
    html[data-theme="light"] .dropdown-head{
      border-bottom-color: rgba(226,232,240,.9);
    }
    .dropdown-head b{ display:block; font-size: 13px; font-weight: 900; }
    .dropdown-head span{ display:block; font-size: 12px; color: var(--muted2); margin-top: 2px; }

    .dropdown-list{
      padding: 8px;
      display:flex;
      flex-direction:column;
      gap: 6px;
    }
    .dd-item{
      display:flex;
      align-items:center;
      gap: 10px;
      padding: 10px 10px;
      border-radius: 12px;
      border: 1px solid rgba(148,163,184,.18);
      background: rgba(255,255,255,.06);
      cursor:pointer;
      transition: transform .12s ease, border-color .12s ease, background .12s ease;
      text-decoration:none;
    }
    html[data-theme="light"] .dd-item{ background: rgba(15,23,42,.03); }
    .dd-item:hover{
      transform: translateY(-1px);
      border-color: rgba(148,163,184,.35);
      background: rgba(255,255,255,.10);
    }
    html[data-theme="light"] .dd-item:hover{ background: rgba(15,23,42,.06); }
    .dd-item svg{
      width: 18px;
      height: 18px;
      fill:none;
      stroke: currentColor;
      stroke-width:2;
      stroke-linecap: round;
      stroke-linejoin: round;
      opacity:.95;
      flex: 0 0 auto;
    }
    .dd-item span{
      font-size: 13px;
      font-weight: 800;
    }

    /* ÐžÐ¡ÐÐžÐ’ÐÐžÐ™ WRAPPER */
    .app-body{
      position:relative;
      min-height: calc(100vh - var(--header-h));
    }

    /* SIDEBAR desktop */
    .left-sidebar{
      position: fixed;
      top: var(--header-h);
      left: 0;
      width: var(--sidebar-w);
      height: calc(100vh - var(--header-h));
      /* background: rgba(15,23,42,.55); */
      border-right: 1px solid rgba(148,163,184,.18);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      z-index: 40;
      display:flex;
      flex-direction:column;
    }
    html[data-theme="light"] .left-sidebar{
      background: rgba(255,255,255,.85);
      border-right-color: rgba(226,232,240,.9);
    }

    .sidebar-head{
      padding: 14px 14px 10px;
      border-bottom: 1px solid var(--line);
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 10px;
    }
    .sidebar-head strong{
      font-size: 14px;
      letter-spacing: -.01em;
      font-weight: 900;
    }
    .sidebar-head span{
      font-size: 12px;
      color: var(--muted2);
    }

    .sidebar-nav{
      padding: 12px 12px 14px;
      display:flex;
      flex-direction:column;
      gap: 8px;
      overflow:auto;
    }

    .cat-link{
      display:flex;
      align-items:center;
      gap: 10px;
      padding: 10px 10px;
      border-radius: 12px;
      border: 1px solid rgba(148,163,184,.18);
      background: rgba(255,255,255,.06);
      color: var(--text);
      transition: transform .12s ease, border-color .12s ease, background .12s ease;
      text-decoration: none;
    }
    html[data-theme="light"] .cat-link{
      background: rgba(255,255,255,.65);
      border-color: rgba(148,163,184,.25);
    }
    .cat-link:hover{
      border-color: rgba(148,163,184,.35);
      background: rgba(255,255,255,.10);
    }
    html[data-theme="light"] .cat-link:hover{ background: rgba(255,255,255,.85); }

    .cat-link svg{
      width: 18px;
      height: 18px;
      fill:none;
      stroke: currentColor;
      stroke-width:2;
      stroke-linecap: round;
      stroke-linejoin: round;
      opacity:.95;
      flex: 0 0 auto;
    }

    .cat-text{
      display:flex;
      flex-direction:column;
      gap: 2px;
      min-width: 0;
    }
    .cat-text b{
      font-size: 13px;
      line-height: 1.15;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
      font-weight: 900;
    }
    .cat-text i{
      font-style: normal;
      font-size: 12px;
      color: var(--muted2);
      line-height: 1.15;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }

    .sidebar-footer{
      margin-top: auto;
      padding: 12px 14px 14px;
      border-top: 1px solid var(--line);
      display:flex;
      flex-direction:column;
      gap: 10px;
    }

    .tg-links{
      display:flex;
      flex-wrap:wrap;
      gap: 8px;
    }
    .tg-btn{
      display:inline-flex;
      align-items:center;
      gap: 8px;
      padding: 9px 10px;
      border-radius: 12px;
      border: 1px solid rgba(148,163,184,.18);
      background: rgba(255,255,255,.06);
      color: var(--text);
      cursor:pointer;
      transition: transform .12s ease, border-color .12s ease, background .12s ease;
      font-size: 12px;
      font-weight: 900;
      text-decoration:none;
      white-space: nowrap;
    }
    html[data-theme="light"] .tg-btn{
      background: rgba(255,255,255,.65);
      border-color: rgba(148,163,184,.25);
    }
    .tg-btn:hover{
      transform: translateY(-1px);
      border-color: rgba(148,163,184,.35);
      background: rgba(255,255,255,.10);
    }
    html[data-theme="light"] .tg-btn:hover{ background: rgba(255,255,255,.85); }
    .tg-btn svg{
      width: 16px;
      height: 16px;
      fill:none;
      stroke: currentColor;
      stroke-width:2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .site-created{
      font-size: 12px;
      color: var(--muted2);
      display:flex;
      align-items:center;
      gap: 8px;
    }
    .site-created svg{
      width: 16px;
      height: 16px;
      fill:none;
      stroke: currentColor;
      stroke-width:2;
      stroke-linecap: round;
      stroke-linejoin: round;
      opacity:.9;
    }

    /* ÐšÐ¾Ð½Ñ‚ÐµÐ½Ñ‚ */
    .content{
      margin-left: var(--sidebar-w);
      padding: 22px 0 0;
    }

    /* ÐšÐ¾Ð½Ñ‚ÐµÐ¹Ð½ÐµÑ€ */
    .container{
      max-width: 1180px;
      width: 100%;
      margin: 0 auto;
      padding: 0 16px;
    }

    /* Ð—Ð°Ð³Ð¾Ð»Ð¾Ð²Ð¾Ðº */
    .section-head{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:16px;
      margin-bottom: 14px;
    }
    .section-title{
      font-size: 24px;
      font-weight: 300;
      letter-spacing: -.02em;
      margin:0;
      line-height: 1.15;
    }
    .section-title small{
      font-weight: 700;
      font-size: 13px;
      color: var(--muted2);
      margin-left: 10px;
    }
    .section-link{
      font-size: 13px;
      font-weight: 400;
      color: #ffffff;
      display:inline-flex;
      align-items:center;
      gap:8px;
      padding: 8px 12px;
      border-radius: 12px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(148,163,184,.18);
      text-decoration:none;
      box-shadow: 0 10px 18px rgba(0,0,0,.12);
    }
    html[data-theme="light"] .section-link{
      background: rgba(255,255,255,.65);
      border-color: rgba(226,232,240,.9);
      color: #0d518d;
      box-shadow: 0 10px 18px rgba(15,23,42,.06);
    }
    .section-link:hover{
      border-color: rgba(148,163,184,.35);
      background: rgba(255,255,255,.10);
    }
    html[data-theme="light"] .section-link:hover{
      background: rgba(255,255,255,.9);
      border-color: rgba(148,163,184,.45);
    }

    /* Ð’Ð«Ð ÐÐ’ÐÐ˜Ð’ÐÐÐ˜Ð• Ð‘Ð›ÐžÐšÐžÐ’ ÐœÐžÐ”Ð£Ð›Ð•Ð™: Ð¸ÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÐµÐ¼ CSS Grid, Ð½Ðµ bootstrap row/col */
    .modules-grid{
      display:grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: var(--grid-gap);
      align-items: stretch;
    }

    /* ÐšÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ° */
    .module-card{
      background: var(--card-bg);
      border-radius: var(--card-radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      border: 1px solid var(--card-border);
      transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
      height: 100%;
      display:flex;
      flex-direction:column;
      min-width: 0;
    }
    .module-card:hover{
      transform: translateY(-3px);
      box-shadow: var(--shadow-hover);
      border-color: rgba(148,163,184,.28);
    }

    /* Ð’ÐµÑ€Ñ…Ð½ÑÑ Ð¾Ð±Ð»Ð¾Ð¶ÐºÐ° */
    .module-cover{
      position:relative;
      height: var(--cover-h);
      display:flex;
      align-items:center;
      justify-content:center;
      padding: var(--cover-pad);
      color:#fff;
      overflow:hidden;
    }
    .module-cover::before{
      content:"";
      position:absolute;
      inset:-40px;
      background:
        radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.6px) 0 0 / 22px 22px,
        radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.6px) 11px 11px / 22px 22px;
      opacity:.75;
      transform: rotate(-4deg);
      pointer-events:none;
    }
    .module-cover::after{
      content:"";
      position:absolute;
      inset:0;
      background: linear-gradient(to bottom, rgba(0,0,0,.0), rgba(0,0,0,.22));
      pointer-events:none;
    }

    .bg-violet{ background: linear-gradient(135deg, #3b2a5f, #4a3a72); }
    .bg-slate{  background: linear-gradient(135deg, #214a57, #2e5a6b); }
    .bg-indigo{ background: linear-gradient(135deg, #38448e, #2f3a78); }
    .bg-green{  background: linear-gradient(135deg, #1fb55e, #2aa35c); }
    .bg-purple{ background: linear-gradient(135deg, #7b3ac4, #6b45a7); }
    .bg-navy{   background: linear-gradient(135deg, #1b2f6b, #1f3a7a); }

    /* Ð‘ÐµÐ¹Ð´Ð¶Ð¸ */
    .chips{
      position:absolute;
      top: 10px;
      left: 10px;
      display:flex;
      flex-direction:column;
      gap:6px;
      z-index:2;
    }
    .chip{
      display:inline-flex;
      align-items:center;
      gap:6px;
      padding: 4px 8px;
      font-size: 12px;
      font-weight: 900;
      border-radius: 9px;
      background: rgba(255,255,255,.16);
      border: 1px solid rgba(255,255,255,.22);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      width: fit-content;
      line-height: 1.2;
    }
    .chip--green{
      background: rgba(34,197,94,.22);
      border-color: rgba(34,197,94,.35);
    }
    .chip--blue{
      background: rgba(59,130,246,.22);
      border-color: rgba(59,130,246,.35);
    }

    /* Ð¦ÐµÐ½Ñ‚Ñ€ Ð¾Ð±Ð»Ð¾Ð¶ÐºÐ¸ */
    .cover-center{
      position:relative;
      z-index:2;
      width:100%;
      display:grid;
      grid-template-columns: var(--cover-icon) 1fr;
      gap: 12px;
      align-items:center;
      max-width: 360px;
    }
    .cover-icon{
      width: var(--cover-icon);
      height: var(--cover-icon);
      border-radius: var(--cover-icon-radius);
      background: rgba(255,255,255,.14);
      border: 1px solid rgba(255,255,255,.2);
      display:flex;
      align-items:center;
      justify-content:center;
      box-shadow: 0 10px 18px rgba(0,0,0,.18);
    }
    .cover-icon svg{
      width: 34px;
      height: 34px;
      fill: none;
      stroke: #fff;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      opacity: .95;
    }
    .cover-title{
      margin:0;
      font-size: var(--cover-title-size);
      font-weight: 900;
      line-height: 1.15;
      text-shadow: 0 2px 10px rgba(0,0,0,.25);
    }
    .cover-brand{
      position:absolute;
      left: 50%;
      bottom: 10px;
      transform: translateX(-50%);
      z-index:2;
      font-size: 10px;
      font-weight: 950;
      letter-spacing: .10em;
      color: rgba(15,23,42,.92);
      background: rgba(255,255,255,.86);
      border: 1px solid rgba(255,255,255,.9);
      padding: 3px 8px;
      border-radius: 7px;
      text-transform: uppercase;
      white-space: nowrap;
    }

    /* Ð¢ÐµÐ»Ð¾ ÐºÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ¸ */
    .module-body{
      padding: 12px 14px 8px;
      flex: 1 1 auto;
      min-width: 0;
    }
    .module-name{
      margin:0 0 6px;
      font-size: var(--module-name-size);
      font-weight: 950;
      color: var(--text);
      letter-spacing: -.01em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .module-desc{
      margin:0;
      color: var(--muted2);
      font-size: var(--module-desc-size);
      line-height: 1.52;
      min-height: 52px;
    }
    .module-divider{
      height:1px;
      background: var(--line);
      margin: 10px 0;
    }

    /* ÐÐ¸Ð¶Ð½ÑÑ Ð¿Ð°Ð½ÐµÐ»ÑŒ */
    .module-footer{ padding: 0 14px 12px; }
    .module-bottom{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 10px;
    }
    .buy-wrap{
      display:flex;
      align-items:center;
      gap: 10px;
      min-width: 0;
    }
    .btn-buy{
      border-radius: 12px;
      padding: var(--btn-buy-pad-y) var(--btn-buy-pad-x);
      font-weight: 950;
      box-shadow: 0 14px 22px rgba(0, 188, 212, .18);
      white-space: nowrap;
      border: 0;
      cursor: pointer;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color:#fff;
      transition: transform .12s ease, filter .12s ease;
    }
    .btn-buy:hover{ filter: brightness(1.05); transform: translateY(-1px); }
    .btn-buy:active{ filter: brightness(.98); transform: translateY(0); }

    .price{
      font-size: 18px;
      font-weight: 950;
      letter-spacing: -.02em;
      color: var(--text);
      white-space: nowrap;
    }

    .meta-right{
      display:flex;
      align-items:center;
      gap: 10px;
      margin-left:auto;
      white-space: nowrap;
    }

    .stars{ display:inline-flex; align-items:center; gap: 3px; }
    .star{ width: 18px; height: 18px; display:inline-block; }
    .star svg{ width: 18px; height: 18px; fill: var(--star-off); }
    .star.on svg{ fill: var(--star); }

    .count{
      display:inline-flex;
      align-items:center;
      gap: 6px;
      color: var(--muted2);
      font-size: 13px;
      font-weight: 900;
    }
    .count svg{
      width: 16px;
      height: 16px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      opacity: .9;
    }

    /* ÐšÐ ÐÐ¡Ð˜Ð’Ð«Ð™ Ð¤Ð£Ð¢Ð•Ð  */
    .page-footer{
      margin-top: 22px;
      border-radius: 18px;
      border: 1px solid rgba(148,163,184,.18);
      background: var(--footer-bg);
      overflow:hidden;
      box-shadow: var(--shadow);
    }
    html[data-theme="light"] .page-footer{
      border-color: rgba(226,232,240,.9);
    }

    .footer-top{
      padding: 18px 18px 12px;
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap: 16px;
      flex-wrap: wrap;
      position: relative;
    }
    .footer-top::before{
      content:"";
      position:absolute;
      inset:-40px;
      background:
        radial-gradient(rgba(255,255,255,.10) 1px, transparent 1.6px) 0 0 / 22px 22px,
        radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.6px) 11px 11px / 22px 22px;
      opacity:.6;
      transform: rotate(-3deg);
      pointer-events:none;
    }
    html[data-theme="light"] .footer-top::before{
      opacity:.35;
    }

    .footer-brand{
      position: relative;
      z-index: 1;
      display:flex;
      align-items:center;
      gap: 12px;
      min-width: 240px;
      flex: 1 1 280px;
    }
    .footer-badge{
      width: 44px;
      height: 44px;
      border-radius: 14px;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      box-shadow: 0 14px 26px rgba(14,165,233,.20);
      display:flex;
      align-items:center;
      justify-content:center;
      flex: 0 0 auto;
    }
    .footer-badge svg{
      width: 24px;
      height: 24px;
      fill:none;
      stroke:#fff;
      stroke-width:2.2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .footer-brand b{
      display:block;
      font-size: 14px;
      font-weight: 950;
      letter-spacing: -.01em;
    }
    .footer-brand span{
      display:block;
      margin-top: 2px;
      font-size: 12px;
      color: var(--muted2);
      max-width: 520px;
    }

    .footer-actions{
      position: relative;
      z-index: 1;
      display:flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items:center;
      justify-content:flex-end;
      flex: 1 1 320px;
    }

    .footer-pill{
      display:inline-flex;
      align-items:center;
      gap: 8px;
      padding: 10px 12px;
      border-radius: 14px;
      border: 1px solid rgba(148,163,184,.18);
      background: rgba(255,255,255,.06);
      text-decoration:none;
      font-size: 12px;
      font-weight: 950;
      color: var(--text);
      transition: transform .12s ease, border-color .12s ease, background .12s ease;
      white-space: nowrap;
    }
    html[data-theme="light"] .footer-pill{ background: rgba(255,255,255,.65); }
    .footer-pill:hover{
      border-color: rgba(148,163,184,.35);
      background: rgba(255,255,255,.10);
    }
    html[data-theme="light"] .footer-pill:hover{ background: rgba(255,255,255,.92); }
    .footer-pill svg{
      width: 16px;
      height: 16px;
      fill:none;
      stroke: currentColor;
      stroke-width:2;
      stroke-linecap: round;
      stroke-linejoin: round;
      opacity:.95;
    }

    .footer-bottom{
      border-top: 1px solid rgba(148,163,184,.18);
      padding: 12px 18px 14px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 10px;
      flex-wrap: wrap;
      color: var(--muted2);
      font-size: 12px;
      position: relative;
    }
    html[data-theme="light"] .footer-bottom{
      border-top-color: rgba(226,232,240,.9);
    }
    .footer-bottom b{ color: var(--text); font-weight: 950; }

    /* =========================================================
       ÐœÐ¾Ð±Ð¸Ð»ÑŒÐ½Ñ‹Ð¹ sidebar (drawer)
       ========================================================= */

    .drawer-overlay{
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.45);
      opacity: 0;
      pointer-events: none;
      transition: opacity .16s ease;
      z-index: 80;
    }
    .drawer-overlay.open{
      opacity: 1;
      pointer-events: auto;
    }

    .drawer{
      position: fixed;
      top: 0;
      left: 0;
      height: 100vh;
      width: min(86vw, 340px);
      background: rgba(15,23,42,.82);
      border-right: 1px solid rgba(148,163,184,.18);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transform: translateX(-104%);
      transition: transform .18s ease;
      z-index: 90;
      display:flex;
      flex-direction:column;
    }
    html[data-theme="light"] .drawer{
      background: rgba(255,255,255,.92);
      border-right-color: rgba(226,232,240,.9);
    }
    .drawer.open{ transform: translateX(0); }

    .drawer-top{
      height: var(--header-h);
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding: 0 12px;
      border-bottom: 1px solid rgba(148,163,184,.18);
    }
    html[data-theme="light"] .drawer-top{
      border-bottom-color: rgba(226,232,240,.9);
    }
    .drawer-top b{ font-weight: 950; font-size: 14px; }
    .drawer-close{
      width: 42px;
      height: 42px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,.06);
      color: var(--text);
      display:flex;
      align-items:center;
      justify-content:center;
      cursor:pointer;
    }
    html[data-theme="light"] .drawer-close{ background: rgba(255,255,255,.65); }
    .drawer-close svg{
      width: 18px;
      height: 18px;
      fill:none;
      stroke: currentColor;
      stroke-width:2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .drawer-body{ padding: 12px; overflow:auto; }
    .drawer-body .sidebar-nav{ padding: 0; }
    .drawer-body .sidebar-footer{ padding: 12px 0 0; border-top: 1px solid var(--line); margin-top: 12px; }

    /* =========================================================
       ÐÐ”ÐÐŸÐ¢Ð˜Ð’
       ========================================================= */

    @media (max-width: 1100px){
      .modules-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    @media (max-width: 860px){
      .hamburger{ display:flex; }
      .left-sidebar{ display:none; } /* Ð¿Ñ€ÑÑ‡ÐµÐ¼ desktop sidebar */
      .content{ margin-left: 0; padding-top: 18px; }
      .brand-text span{ display:none; }
      .badge-dle{ display:none; } /* Ð½Ð° Ð¾Ñ‡ÐµÐ½ÑŒ ÑƒÐ·ÐºÐ¸Ñ… Ð¼Ð¾Ð¶ÐµÑ‚ Ð¼ÐµÑˆÐ°Ñ‚ÑŒ */
    }

    @media (max-width: 560px){
      :root{
        --cover-h: 158px;
        --cover-icon: 52px;
        --cover-title-size: 15px;
        --grid-gap: 12px;
      }
      .modules-grid{ grid-template-columns: 1fr; }
      .section-head{ flex-direction:column; align-items:flex-start; }
      .section-link{ width: 100%; justify-content:center; }
      .user-meta{ display:none; }
      .badge-dle{ display:inline-flex; height: 38px; } /* Ð²ÐµÑ€Ð½ÐµÐ¼, ÐµÑÐ»Ð¸ Ð²Ð»ÐµÐ·ÐµÑ‚ */
      .icon-btn{ padding: 0 10px; }
    }

    @media (max-width: 420px){
      .badge-dle{ display:none; } /* ÐµÑÐ»Ð¸ ÑÐ¾Ð²ÑÐµÐ¼ Ð¼Ð°Ð»Ð¾ Ð¼ÐµÑÑ‚Ð° */
      .header-actions{ gap: 8px; }
      .dropdown{ width: 220px; }
    }


/* ÐšÐ¾Ð½Ñ‚ÐµÐ¹Ð½ÐµÑ€ */
.container {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

/* Ð¥Ð»ÐµÐ±Ð½Ñ‹Ðµ ÐºÑ€Ð¾ÑˆÐºÐ¸ */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--muted2);
}

.breadcrumb-separator {
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 600;
}

/* ÐšÐ½Ð¾Ð¿ÐºÐ¸ */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.btn-telegram {
    background: #0088cc;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    text-decoration: none;
}

.btn-telegram:hover {
    background: #0077b3;
}

.btn-telegram svg {
    width: 20px;
    height: 20px;
}

/* ÐœÐ¾Ð´Ð°Ð»ÑŒÐ½Ñ‹Ðµ Ð¾ÐºÐ½Ð° */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background: var(--surface);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 20px;
}

/* Ð£Ð²ÐµÐ´Ð¾Ð¼Ð»ÐµÐ½Ð¸Ñ */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 300px;
    max-width: 400px;
}

.notification-success {
    border-left: 4px solid #10b981;
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-info {
    border-left: 4px solid #3b82f6;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

/* Ð—Ð°Ð³Ñ€ÑƒÐ·Ñ‡Ð¸Ðº */
.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--muted2);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ÐŸÐ¾Ð¸ÑÐº */
.search-container {
    position: relative;
}

.search-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 16px 10px 40px;
    color: var(--text);
    width: 250px;
    font-size: 14px;
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    width: 300px;
    background: rgba(255, 255, 255, 0.1);
}

.search-container svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--muted2);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: background 0.2s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-result-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-info h4 {
    margin: 0 0 4px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-info p {
    margin: 0;
    font-size: 12px;
    color: var(--muted2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--muted2);
}

/* Ð¤Ð¸Ð»ÑŒÑ‚Ñ€Ñ‹ */
.toolbar {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.search {
    flex: 1;
    min-width: 200px;
}

.filters {
    display: flex;
    gap: 12px;
}

.select {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 16px;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    min-width: 180px;
    transition: all 0.2s;
}

.select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

/* ÐŸÐ°Ð³Ð¸Ð½Ð°Ñ†Ð¸Ñ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0;
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 16px;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.pagination-btn svg {
    width: 16px;
    height: 16px;
}

.pagination-numbers {
    display: flex;
    gap: 4px;
}

.pagination-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s;
}

.pagination-number:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.pagination-current {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-weight: 600;
}

/* Ð¡Ñ‚Ð°Ñ‚Ð¸ÑÑ‚Ð¸ÐºÐ° */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s;
}

.stat-card:hover {
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--muted2);
    margin-top: 4px;
}

/* ÐšÐ°Ñ‚ÐµÐ³Ð¾Ñ€Ð¸Ð¸ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.category-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: all 0.2s;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.category-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.category-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.category-info p {
    margin: 0;
    font-size: 14px;
    color: var(--muted2);
    line-height: 1.5;
}

/* ÐžÑÐ¾Ð±ÐµÐ½Ð½Ð¾ÑÑ‚Ð¸ */
.features-section {
    margin: 40px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.feature-card p {
    margin: 0;
    font-size: 14px;
    color: var(--muted2);
    line-height: 1.5;
}

/* Ð¡Ñ‚Ñ€Ð°Ð½Ð¸Ñ†Ð° Ð¿Ñ€Ð¾Ð´ÑƒÐºÑ‚Ð° */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin: 24px 0;
}

@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
}

.product-cover {
    position: relative;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}

.product-cover-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
}

.product-cover-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.product-cover-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.product-cover-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.product-title {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.product-developer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    z-index: 2;
}

.product-info {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted2);
}

.product-meta-item svg {
    width: 18px;
    height: 18px;
}

/* Ð¡Ð»Ð°Ð¹Ð´ÐµÑ€ ÑÐºÑ€Ð¸Ð½ÑˆÐ¾Ñ‚Ð¾Ð² */
.screenshots-slider {
    margin: 20px 0;
}

.screenshot-item {
    padding: 0 10px;
}

.screenshot-item a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.2s;
}

.screenshot-item a:hover {
    transform: translateY(-2px);
}

.screenshot-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ÐšÐ¾Ð¼Ð¼ÐµÐ½Ñ‚Ð°Ñ€Ð¸Ð¸ */
.comment-form {
    margin-bottom: 30px;
}

.comment-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    color: var(--text);
    font-size: 14px;
    margin-bottom: 12px;
    resize: vertical;
    min-height: 100px;
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.comments-list {
    margin-top: 20px;
}

.comment-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-avatar svg {
    width: 100%;
    height: 100%;
    color: var(--muted2);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.comment-header strong {
    font-size: 14px;
}

.comment-date {
    font-size: 12px;
    color: var(--muted2);
}

.comment-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
}

.comment-actions {
    margin-top: 8px;
}

.comment-reply {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 12px;
    cursor: pointer;
    padding: 0;
}

.comment-reply:hover {
    text-decoration: underline;
}

/* Ð¡Ð°Ð¹Ð´Ð±Ð°Ñ€ Ð¿Ñ€Ð¾Ð´ÑƒÐºÑ‚Ð° */
.side-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.side-card h3 {
    margin: 0 0 20px;
    font-size: 18px;
}

.kv {
    margin-bottom: 20px;
}

.kv-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.kv-row:last-child {
    border-bottom: none;
}

.kv-row b {
    font-size: 14px;
    color: var(--muted2);
}

.kv-row span {
    font-size: 14px;
    font-weight: 600;
}

.rating {
    text-align: center;
    margin: 20px 0;
}

.rating-value {
    font-size: 24px;
    font-weight: 700;
    margin: 8px 0;
}

.rating-count {
    font-size: 14px;
    color: var(--muted2);
    font-weight: normal;
}

.user-rating {
    margin-top: 16px;
}

.rating-stars-select {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

.star-select {
    cursor: pointer;
    color: var(--star-off);
    transition: color 0.2s;
}

.star-select:hover,
.star-select:hover ~ .star-select {
    color: var(--star);
}

.btn-wide {
    width: 100%;
    justify-content: center;
}

.mini-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.mini-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    transform: translateX(4px);
}

.mini-item b {
    font-size: 14px;
}

.mini-item span {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

/* Ð¡Ñ‚Ñ€Ð°Ð½Ð¸Ñ†Ð° Ð¿Ð¾Ð¸ÑÐºÐ° */
.search-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin: 24px 0;
}

@media (max-width: 768px) {
    .search-layout {
        grid-template-columns: 1fr;
    }
}

.filter-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.filter-card h3 {
    margin: 0 0 16px;
    font-size: 16px;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    transition: all 0.2s;
}

.filter-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.filter-item.active {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.filter-count {
    font-size: 12px;
    color: var(--muted2);
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    transition: all 0.2s;
}

.tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.tag.active {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border-color: rgba(14, 165, 233, 0.3);
}

.tag-count {
    font-size: 12px;
    color: var(--muted2);
}

/* ÐŸÑ€Ð¾Ñ„Ð¸Ð»ÑŒ */
.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-large svg {
    width: 100%;
    height: 100%;
    color: var(--muted2);
}

.profile-info {
    flex: 1;
}

.profile-name {
    margin: 0 0 16px;
    font-size: 28px;
    font-weight: 800;
}

.profile-stats {
    display: flex;
    gap: 30px;
}

.profile-stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
}

.stat-label {
    font-size: 14px;
    color: var(--muted2);
    margin-top: 4px;
}

.profile-tabs {
    display: flex;
    gap: 1px;
    background: var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.profile-tab {
    flex: 1;
    background: var(--card-bg);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: all 0.2s;
}

.profile-tab:hover {
    background: rgba(255, 255, 255, 0.05);
}

.profile-tab.active {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
}

.profile-tab svg {
    width: 20px;
    height: 20px;
}

.tab-badge {
    background: var(--primary);
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
}

/* ÐŸÐ¾ÐºÑƒÐ¿ÐºÐ¸ */
.purchases-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.purchase-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.2s;
}

.purchase-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.purchase-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.purchase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.purchase-image svg {
    width: 100%;
    height: 100%;
    color: var(--muted2);
    padding: 20px;
}

.purchase-info {
    flex: 1;
}

.purchase-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.purchase-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.purchase-order,
.purchase-date {
    font-size: 14px;
    color: var(--muted2);
}

.purchase-status {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-paid {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-completed {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.purchase-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.purchase-actions {
    display: flex;
    gap: 8px;
}

/* ÐÐ°ÑÑ‚Ñ€Ð¾Ð¹ÐºÐ¸ */
.settings-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text);
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted2);
}

.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox,
.radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox input,
.radio input {
    margin: 0;
}

.checkbox span,
.radio span {
    font-size: 14px;
}

.settings-danger {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(239, 68, 68, 0.3);
}

.settings-danger h3 {
    color: #ef4444;
    margin-bottom: 16px;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    transform: translateY(-1px);
}

/* ÐŸÑƒÑÑ‚Ð¾Ðµ ÑÐ¾ÑÑ‚Ð¾ÑÐ½Ð¸Ðµ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted2);
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: var(--border);
}

.empty-state h3 {
    margin: 0 0 12px;
    font-size: 24px;
    color: var(--text);
}

.empty-state p {
    margin: 0 0 24px;
    font-size: 16px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ÐÐ´Ð°Ð¿Ñ‚Ð¸Ð²Ð½Ð¾ÑÑ‚ÑŒ */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .purchase-card {
        flex-direction: column;
        text-align: center;
    }
    
    .purchase-meta {
        justify-content: center;
    }
    
    .purchase-actions {
        width: 100%;
        justify-content: center;
    }
}

/* ============ Post page ============ */
    .crumbs{
      display:flex;
      align-items:center;
      gap: 10px;
      flex-wrap: wrap;
      color: var(--muted2);
      font-size: 12px;
      margin-bottom: 10px;
    }
    .crumbs a{
      color: var(--muted2);
      border: 1px solid rgba(148,163,184,.18);
      background: rgba(255,255,255,.06);
      padding: 6px 10px;
      border-radius: 999px;
      transition: transform .12s ease, border-color .12s ease, background .12s ease, color .12s ease;
    }
    html[data-theme="light"] .crumbs a{ background: rgba(255,255,255,.7); border-color: rgba(148,163,184,.25); }
    .crumbs a:hover{ transform: translateY(-1px); border-color: rgba(148,163,184,.35); color: var(--text); background: rgba(255,255,255,.10); }
    html[data-theme="light"] .crumbs a:hover{ background: rgba(255,255,255,.92); }

    .post-layout{
      display:grid;
      grid-template-columns: minmax(0, 1fr) 360px;
      gap: var(--content-gap);
      align-items:start;
    }

    .card{
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--card-radius);
      box-shadow: var(--shadow);
      overflow:hidden;
      min-width: 0;
    }

    /* Hero */
    .post-hero{
      position:relative;
      min-height: var(--hero-h);
      background: linear-gradient(135deg, rgba(0,188,212,.22), rgba(14,165,233,.18));
      border-bottom: 1px solid rgba(148,163,184,.18);
      overflow:hidden;
    }
    html[data-theme="light"] .post-hero{
      background: linear-gradient(135deg, rgba(0,188,212,.18), rgba(14,165,233,.12));
      border-bottom-color: rgba(226,232,240,.9);
    }
    .post-hero::before{
      content:"";
      position:absolute;
      inset:-50px;
      background:
        radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.6px) 0 0 / 22px 22px,
        radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.6px) 11px 11px / 22px 22px;
      opacity:.65;
      transform: rotate(-3deg);
      pointer-events:none;
    }
    .post-hero::after{
      content:"";
      position:absolute;
      inset:0;
      background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.32));
      pointer-events:none;
    }
    .hero-inner{
      position:relative;
      z-index: 1;
      padding: 16px 16px 14px;
      display:flex;
      flex-direction:column;
      gap: 10px;
    }
    .hero-top{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 10px;
      flex-wrap: wrap;
    }
    .hero-title{
      margin:0;
      font-size: 22px;
      font-weight: 950;
      letter-spacing: -.02em;
      line-height: 1.15;
    }
    .hero-sub{
      margin:0;
      color: var(--muted2);
      font-size: 12.5px;
      line-height: 1.4;
    }
    .hero-actions{
      display:flex;
      align-items:center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .pill{
      display:inline-flex;
      align-items:center;
      gap: 8px;
      padding: 8px 10px;
      border-radius: 999px;
      border: 1px solid var(--pill-border);
      background: var(--pill-bg);
      font-size: 12px;
      font-weight: 950;
      color: var(--text);
      white-space: nowrap;
      box-shadow: 0 10px 18px rgba(0,0,0,.12);
    }
    html[data-theme="light"] .pill{ box-shadow: 0 10px 18px rgba(15,23,42,.06); }

    .pill svg{
      width: 16px; height: 16px;
      fill:none; stroke: currentColor; stroke-width:2;
      stroke-linecap: round; stroke-linejoin: round;
      opacity: .95;
    }

    .btn-primary{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap: 8px;
      padding: 10px 14px;
      border-radius: 12px;
      border: 0;
      cursor: pointer;
      font-weight: 950;
      color:#fff;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      box-shadow: 0 16px 26px rgba(14,165,233,.18);
      transition: transform .12s ease, filter .12s ease;
      white-space: nowrap;
    }
    .btn-primary:hover{ transform: translateY(-1px); filter: brightness(1.05); }
    .btn-primary:active{ transform: translateY(0); filter: brightness(.98); }
    .btn-primary svg{
      width: 18px; height: 18px;
      fill:none; stroke:#fff; stroke-width:2;
      stroke-linecap: round; stroke-linejoin: round;
    }

    .btn-ghost{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap: 8px;
      padding: 10px 12px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,.06);
      cursor:pointer;
      font-weight: 950;
      color: var(--text);
      transition: transform .12s ease, border-color .12s ease, background .12s ease;
      white-space: nowrap;
    }
    html[data-theme="light"] .btn-ghost{ background: rgba(255,255,255,.7); }
    .btn-ghost:hover{ transform: translateY(-1px); border-color: rgba(148,163,184,.35); background: rgba(255,255,255,.10); }
    html[data-theme="light"] .btn-ghost:hover{ background: rgba(255,255,255,.92); }
    .btn-ghost svg{
      width: 18px; height: 18px;
      fill:none; stroke: currentColor; stroke-width:2;
      stroke-linecap: round; stroke-linejoin: round;
    }

    /* Post content */
    .post-body{ padding: 14px 16px 16px; }
    .post-body h2{
      font-size: 16px;
      font-weight: 950;
      margin: 0 0 10px;
      letter-spacing: -.01em;
    }
    .post-body p{
      margin: 0 0 10px;
      color: var(--muted2);
      line-height: 1.7;
      font-size: 13.5px;
    }
    .post-body ul{
      margin: 0 0 12px 18px;
      color: var(--muted2);
      line-height: 1.65;
      font-size: 13.5px;
    }

    .callout{
      margin: 12px 0 14px;
      padding: 12px 12px;
      border-radius: 14px;
      border: 1px solid rgba(56,189,248,.22);
      background: var(--accent-soft);
      color: var(--text);
    }
    .callout b{ font-weight: 950; }
    .callout p{ margin: 6px 0 0; color: var(--muted2); }

    .divider{
      height: 1px;
      background: var(--line);
      margin: 12px 0;
    }

    /* Code block */
    pre{
      margin: 0 0 12px;
      padding: 12px;
      border-radius: 14px;
      background: var(--code-bg);
      border: 1px solid var(--code-border);
      overflow:auto;
      box-shadow: 0 10px 18px rgba(0,0,0,.10);
    }
    code{
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      font-size: 12.5px;
      color: var(--text);
      line-height: 1.55;
      white-space: pre;
    }

    /* Sidebar cards */
    .side-stack{
      display:flex;
      flex-direction:column;
      gap: var(--content-gap);
      position: sticky;
      top: calc(var(--header-h) + 14px);
    }
    .side-card{ padding: 14px; }
    .side-card h3{
      margin:0 0 10px;
      font-size: 14px;
      font-weight: 950;
      letter-spacing: -.01em;
    }
    .kv{
      display:flex;
      flex-direction:column;
      gap: 10px;
    }
    .kv-row{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap: 10px;
      padding: 10px 10px;
      border-radius: 12px;
      border: 1px solid rgba(148,163,184,.18);
      background: rgba(255,255,255,.06);
    }
    html[data-theme="light"] .kv-row{ background: rgba(15,23,42,.03); border-color: rgba(148,163,184,.25); }
    .kv-row b{
      font-size: 12px;
      color: var(--muted2);
      font-weight: 900;
    }
    .kv-row span{
      font-size: 12px;
      font-weight: 950;
      color: var(--text);
      white-space: nowrap;
    }
    .rating{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 10px;
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px solid var(--line);
    }
    .stars{ display:inline-flex; align-items:center; gap: 3px; }
    .star{ width: 18px; height: 18px; display:inline-block; }
    .star svg{ width: 18px; height: 18px; fill: var(--star-off); }
    .star.on svg{ fill: var(--star); }
    .count{
      display:inline-flex; align-items:center; gap: 6px;
      color: var(--muted2); font-size: 12px; font-weight: 950;
    }
    .count svg{
      width: 16px; height: 16px;
      fill:none; stroke: currentColor; stroke-width: 2;
      stroke-linecap: round; stroke-linejoin: round;
      opacity:.9;
    }

    .btn-wide{ width: 100%; justify-content:center; }

    .mini-list{
      display:flex;
      flex-direction:column;
      gap: 8px;
    }
    .mini-item{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 10px;
      padding: 10px 10px;
      border-radius: 12px;
      border: 1px solid rgba(148,163,184,.18);
      background: rgba(255,255,255,.06);
      transition: transform .12s ease, border-color .12s ease, background .12s ease;
    }
    html[data-theme="light"] .mini-item{ background: rgba(15,23,42,.03); border-color: rgba(148,163,184,.25); }
    .mini-item:hover{
      transform: translateY(-1px);
      border-color: rgba(148,163,184,.35);
      background: rgba(255,255,255,.10);
    }
    html[data-theme="light"] .mini-item:hover{ background: rgba(15,23,42,.06); }
    .mini-item b{
      font-size: 13px;
      font-weight: 950;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
      max-width: 220px;
    }
    .mini-item span{
      font-size: 12px;
      font-weight: 950;
      color: var(--muted2);
      white-space: nowrap;
    }
	
	/* ============ LAYOUT ============ */
    .app-body{
      position:relative;
      min-height: calc(100vh - var(--header-h));
    }

    .left-sidebar{
      position: fixed;
      top: var(--header-h);
      left: 0;
      width: var(--sidebar-w);
      height: calc(100vh - var(--header-h));
      background: #21283b9c;
      border-right: 1px solid rgba(148,163,184,.18);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      z-index: 40;
      display:flex;
      flex-direction:column;
    }
    html[data-theme="light"] .left-sidebar{
      background: rgba(255,255,255,.85);
      border-right-color: rgba(226,232,240,.9);
    }

    .sidebar-head{
      padding: 14px 14px 10px;
      border-bottom: 1px solid var(--line);
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 10px;
    }
    .sidebar-head strong{
      font-size: 14px;
      font-weight: 500;
      letter-spacing: -.01em;
    }
    .sidebar-head span{ font-size: 12px; color: var(--muted2); }

    .sidebar-nav{
      padding: 12px 12px 14px;
      display:flex;
      flex-direction:column;
      gap: 8px;
      overflow:auto;
    }

    .cat-link{
      display:flex;
      align-items:center;
      gap: 10px;
      padding: 10px 10px;
      border-radius: 12px;
      border: 1px solid rgba(148,163,184,.18);
      background: rgba(255,255,255,.06);
      color: var(--text);
      transition: transform .12s ease, border-color .12s ease, background .12s ease;
    }
    html[data-theme="light"] .cat-link{
      background: rgba(255,255,255,.65);
      border-color: rgba(148,163,184,.25);
    }
    .cat-link:hover{
      border-color: rgba(148,163,184,.35);
      background: rgba(255,255,255,.10);
    }
    html[data-theme="light"] .cat-link:hover{ background: rgba(255,255,255,.85); }

    .cat-link svg{
      width: 25px;
      height: 25px;
      fill:none;
      stroke: currentColor;
      stroke-width:2;
      stroke-linecap: round;
      stroke-linejoin: round;
      opacity:.95;
      flex: 0 0 auto;
    }
    .cat-text{ display:flex; flex-direction:column; gap:2px; min-width:0; }
    .cat-text b{
      font-size: 16px;
      font-weight: 500;
      line-height: 1.15;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .cat-text i{
      font-style: normal; font-size: 12px; color: var(--muted2);
      line-height: 1.15;
      white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
    }

    .sidebar-footer{
      margin-top: auto;
      padding: 12px 14px 14px;
      border-top: 1px solid var(--line);
      display:flex;
      flex-direction:column;
      gap: 10px;
    }
    .tg-links{ display:flex; flex-wrap:wrap; gap:8px; }
    .tg-btn{
      display:inline-flex;
      align-items:center;
      gap: 8px;
      padding: 9px 10px;
      border-radius: 12px;
      border: 1px solid rgba(148,163,184,.18);
      background: rgba(255,255,255,.06);
      cursor:pointer;
      transition: transform .12s ease, border-color .12s ease, background .12s ease;
      font-size: 12px;
      font-weight: 950;
      white-space: nowrap;
    }
    html[data-theme="light"] .tg-btn{
      background: rgba(255,255,255,.65);
      border-color: rgba(148,163,184,.25);
    }
    .tg-btn:hover{ transform: translateY(-1px); border-color: rgba(148,163,184,.35); background: rgba(255,255,255,.10); }
    html[data-theme="light"] .tg-btn:hover{ background: rgba(255,255,255,.85); }
    .tg-btn svg{
      width: 16px; height: 16px;
      fill:none; stroke: currentColor; stroke-width:2;
      stroke-linecap: round; stroke-linejoin: round;
    }
    .site-created{
      font-size: 12px;
      color: var(--muted2);
      display:flex;
      align-items:center;
      gap: 8px;
    }
    .site-created svg{
      width: 16px; height: 16px;
      fill:none; stroke: currentColor; stroke-width:2;
      stroke-linecap: round; stroke-linejoin: round;
      opacity:.9;
    }

    .content{
      margin-left: var(--sidebar-w);
      padding: 20px 0 0;
    }
    .container{
      max-width: 1180px;
      width: 100%;
      margin: 0 auto;
      padding: 0 16px;
    }

    /* ============ LIST PAGE ============ */
    .page-head{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 14px;
    }
    .page-title{
      margin:0;
      font-size: 24px;
      font-weight: 950;
      letter-spacing: -.02em;
      line-height: 1.15;
    }
    .page-title small{
      font-weight: 800;
      font-size: 12px;
      color: var(--muted2);
      margin-left: 10px;
      letter-spacing: .02em;
    }

    .toolbar{
      display:flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items:center;
      width: 100%;
      margin-bottom: 14px;
    }

    .search{
      flex: 1 1 320px;
      display:flex;
      align-items:center;
      gap: 10px;
      padding: 10px 12px;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,.06);
      box-shadow: 0 10px 18px rgba(0,0,0,.10);
    }
    html[data-theme="light"] .search{
      background: rgba(255,255,255,.75);
      box-shadow: 0 10px 18px rgba(15,23,42,.06);
    }
    .search svg{
      width: 18px; height: 18px;
      fill:none; stroke: currentColor; stroke-width:2;
      stroke-linecap: round; stroke-linejoin: round;
      opacity:.9;
      flex: 0 0 auto;
    }
    .search input{
      width: 100%;
      border: 0;
      outline: none;
      background: transparent;
      color: var(--text);
      font-size: 13px;
      font-weight: 800;
    }
    .search input::placeholder{ color: rgba(226,232,240,.55); }
    html[data-theme="light"] .search input::placeholder{ color: rgba(100,116,139,.7); }

    .filters{
      display:flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items:center;
      flex: 0 0 auto;
    }
    .select{
      height: 42px;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,.06);
      color: var(--text);
      padding: 0 12px;
      font-weight: 900;
      font-size: 13px;
      cursor:pointer;
      box-shadow: 0 10px 18px rgba(0,0,0,.10);
      outline: none;
    }
    html[data-theme="light"] .select{
      background: rgba(255,255,255,.75);
      box-shadow: 0 10px 18px rgba(15,23,42,.06);
    }

    /* Grid (Ð½Ð¾Ñ€Ð¼Ð°Ð»ÑŒÐ½Ð¾ Ð²Ñ‹Ñ€Ð¾Ð²Ð½ÐµÐ½Ð½Ñ‹Ð¹, Ð±ÐµÐ· bootstrap ÐºÐ¾Ð½Ñ„Ð»Ð¸ÐºÑ‚Ð¾Ð²) */
    .grid{
      display:grid;
      grid-template-columns: repeat(3, minmax(0,1fr));
      gap: var(--gap);
      align-items: stretch;
    }

    .module-card{
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--card-radius);
      box-shadow: var(--shadow);
      overflow:hidden;
      display:flex;
      flex-direction:column;
      min-width: 0;
      transition: transform .16s ease, box-shadow .16s ease;
    }
    .module-card:hover{
      transform: translateY(-2px);
      box-shadow: var(--shadow-hover);
    }

    .cover{
      position: relative;
      height: var(--cover-h);
      padding: 12px;
      display:flex;
      align-items:flex-end;
      overflow:hidden;
    }
    .cover::before{
      content:"";
      position:absolute;
      inset:-40px;
      background:
        radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.6px) 0 0 / 22px 22px,
        radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.6px) 11px 11px / 22px 22px;
      opacity:.7;
      transform: rotate(-4deg);
      pointer-events:none;
    }
    .cover::after{
      content:"";
      position:absolute;
      inset:0;
      background: linear-gradient(to bottom, rgba(0,0,0,.00), rgba(0,0,0,.35));
      pointer-events:none;
    }

    .bg-violet{ background: linear-gradient(135deg, #3b2a5f, #4a3a72); }
    .bg-slate{  background: linear-gradient(135deg, #214a57, #2e5a6b); }
    .bg-indigo{ background: linear-gradient(135deg, #38448e, #2f3a78); }
    .bg-green{  background: linear-gradient(135deg, #1fb55e, #2aa35c); }
    .bg-purple{ background: linear-gradient(135deg, #7b3ac4, #6b45a7); }
    .bg-navy{   background: linear-gradient(135deg, #1b2f6b, #1f3a7a); }
    .bg-red{    background: linear-gradient(135deg, #c13a3a, #b13a4e); }

    .chips{
      position:absolute;
      top: 10px;
      left: 10px;
      z-index:2;
      display:flex;
      flex-direction: inherit;
      gap: 6px;
      flex-wrap:wrap;
      max-width: calc(100% - 20px);
    }
    .chip{
      display:inline-flex;
      align-items:center;
      gap:6px;
      padding: 5px 8px;
      font-size: 12px;
      border-radius: 999px;
      background: rgba(255,255,255,.16);
      border: 1px solid rgba(255,255,255,.22);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      width: fit-content;
      color: #fff;
      font-weight: 900;
      white-space: nowrap;
    }
    .chip--green{
      background: var(--chip-green-bg);
      border-color: var(--chip-green-br);
      color: #eafff2;
    }
    .chip--blue{
      background: var(--chip-blue-bg);
      border-color: var(--chip-blue-br);
      color: #eaf2ff;
    }

    .cover-title{
      position:relative;
      z-index:2;
      margin:0;
      font-weight: 950;
      letter-spacing: -.02em;
      color:#fff;
      text-shadow: 0 2px 12px rgba(0,0,0,.35);
      font-size: 16px;
      line-height: 1.2;
      max-width: 100%;
    }

    .card-body{
      padding: 12px 12px 10px;
      flex: 1 1 auto;
      display:flex;
      flex-direction:column;
      gap: 8px;
      min-width: 0;
    }

    .name{
      margin:0;
      font-size: 15px;
      font-weight: 950;
      letter-spacing: -.01em;
      white-space: nowrap;
      overflow:hidden;
      text-overflow: ellipsis;
    }
    .desc{
      margin:0;
      color: var(--muted2);
      font-size: 12.8px;
      line-height: 1.6;
      display:-webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow:hidden;
      min-height: 62px;
    }
    .divider{
      height:1px;
      background: var(--line);
      margin-top: 2px;
    }

    .card-footer{
      padding: 0 12px 12px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 10px;
      flex-wrap: wrap;
    }
    .buy-wrap{
      display:flex;
      align-items:center;
      gap: 10px;
      min-width: 0;
    }
    .btn-buy{
      border: 0;
      border-radius: 12px;
      padding: 10px 12px;
      font-weight: 950;
      color:#fff;
      cursor:pointer;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      box-shadow: 0 14px 26px rgba(14,165,233,.18);
      transition: transform .12s ease, filter .12s ease;
      white-space: nowrap;
      font-size: 13px;
    }
    .btn-buy:hover{ transform: translateY(-1px); filter: brightness(1.05); }
    .btn-buy:active{ transform: translateY(0); filter: brightness(.98); }

    .price{
      font-size: 16px;
      font-weight: 950;
      letter-spacing: -.01em;
      white-space: nowrap;
    }

    .meta-right{
      display:flex;
      align-items:center;
      gap: 10px;
      white-space: nowrap;
      margin-left:auto;
    }

    .stars{ display:inline-flex; align-items:center; gap: 3px; }
    .star{ width: 16px; height: 16px; display:inline-block; }
    .star svg{ width: 16px; height: 16px; fill: var(--star-off); }
    .star.on svg{ fill: var(--star); }

    .count{
      display:inline-flex;
      align-items:center;
      gap: 6px;
      color: var(--muted2);
      font-size: 12px;
      font-weight: 950;
    }
    .count svg{
      width: 16px;
      height: 16px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      opacity:.9;
    }

    /* Pagination */
    .pager{
      margin-top: 16px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 10px;
      flex-wrap: wrap;
      padding: 12px;
      border-radius: 18px;
      border: 1px solid rgba(148,163,184,.18);
      background: rgba(255,255,255,.06);
      box-shadow: var(--shadow);
    }
    html[data-theme="light"] .pager{
      background: rgba(255,255,255,.88);
      border-color: rgba(226,232,240,.9);
      box-shadow: 0 10px 25px rgba(15,23,42,.08);
    }
    .pager b{ font-weight: 950; }
    .pager-actions{ display:flex; gap: 10px; flex-wrap: wrap; }
    .btn-ghost{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap: 8px;
      padding: 10px 12px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,.06);
      cursor:pointer;
      font-weight: 950;
      color: var(--text);
      transition: transform .12s ease, border-color .12s ease, background .12s ease;
      white-space: nowrap;
    }
    html[data-theme="light"] .btn-ghost{ background: rgba(255,255,255,.7); }
    .btn-ghost:hover{ transform: translateY(-1px); border-color: rgba(148,163,184,.35); background: rgba(255,255,255,.10); }
    html[data-theme="light"] .btn-ghost:hover{ background: rgba(255,255,255,.92); }
    .btn-ghost svg{
      width: 18px; height: 18px;
      fill:none; stroke: currentColor; stroke-width:2;
      stroke-linecap: round; stroke-linejoin: round;
    }