
      :root {
        --bg: #fffaf2;
        --bg2: #fff1d6;
        --panel: rgba(255, 255, 255, 0.86);
        --panel-strong: rgba(255, 255, 255, 0.96);
        --ink: #1f2328;
        --muted: #5b6470;
        --line: rgba(31, 35, 40, 0.1);
        --line-strong: rgba(31, 35, 40, 0.18);
        --saffron: #f59e0b;
        --saffron2: #ffb74d;
        --saffron3: #ea8c00;
        --green: #2f7d4a;
        --blue: #1d4ed8;
        --shadow: 0 22px 54px rgba(31, 35, 40, 0.1);
        --shadow-soft: 0 12px 28px rgba(31, 35, 40, 0.08);
        --radius: 22px;
        --radius-lg: 30px;
        --sans:
          "DM Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont,
          "Segoe UI", sans-serif;
        --mono:
          ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
          "Liberation Mono", "Courier New", monospace;
      }

      * {
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

      html,
      body {
        margin: 0;
        padding: 0;
      }

      body {
        font-family: var(--sans);
        color: var(--ink);
        background:
          radial-gradient(
            1100px 620px at 0% 0%,
            rgba(245, 158, 11, 0.16),
            transparent 60%
          ),
          radial-gradient(
            900px 580px at 100% 8%,
            rgba(255, 183, 77, 0.16),
            transparent 58%
          ),
          linear-gradient(180deg, #fffdf8 0%, var(--bg) 48%, var(--bg2) 100%);
        min-height: 100vh;
      }

      a {
        color: inherit;
        text-decoration: none;
      }

      img {
        max-width: 100%;
        display: block;
      }

      .wrap {
        width: min(1280px, calc(100% - 28px));
        margin: 0 auto;
      }

      .app-shell {
        display: flex;
        min-height: 100vh;
      }

      .app-main {
        flex: 1 1 auto;
        min-width: 0;
      }

      .side-nav {
        width: 270px;
        flex: 0 0 270px;
        position: sticky;
        top: 0;
        height: 100vh;
        padding: 18px 14px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        background: linear-gradient(
          180deg,
          rgba(255, 250, 242, 0.96),
          rgba(255, 245, 230, 0.92)
        );
        border-right: 1px solid rgba(31, 35, 40, 0.08);
        backdrop-filter: blur(14px);
        z-index: 60;
      }

      .side-brand {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 8px 8px 14px;
        border-bottom: 1px solid rgba(31, 35, 40, 0.08);
      }

      .side-brand-logo {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        background: conic-gradient(
          from 220deg,
          var(--saffron),
          var(--saffron2),
          #ffe1a8,
          var(--saffron)
        );
        box-shadow: 0 12px 24px rgba(245, 158, 11, 0.22);
        position: relative;
        flex: 0 0 auto;
      }

      .side-brand-logo::before {
        content: "";
        position: absolute;
        inset: 9px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.86);
      }

      .side-brand strong,
      .side-brand span {
        display: block;
      }

      .side-brand strong {
        font-size: 14px;
        line-height: 1.2;
      }

      .side-brand span {
        font-size: 12px;
        color: var(--muted);
        margin-top: 3px;
      }

      .side-links {
        display: grid;
        gap: 8px;
        overflow: auto;
        padding-right: 4px;
      }

      .side-link {
        width: 100%;
        text-align: left;
        padding: 11px 13px;
        border-radius: 16px;
        border: 1px solid rgba(31, 35, 40, 0.08);
        background: rgba(255, 255, 255, 0.8);
        color: var(--ink);
        font: 800 13px var(--sans);
        box-shadow: 0 8px 18px rgba(31, 35, 40, 0.06);
        transition:
          transform 0.16s ease,
          box-shadow 0.16s ease,
          background 0.16s ease,
          border-color 0.16s ease;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .side-link:hover {
        transform: translateY(-1px);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 14px 24px rgba(31, 35, 40, 0.08);
      }

      .side-link.active {
        background: linear-gradient(
          180deg,
          rgba(245, 158, 11, 0.18),
          rgba(255, 183, 77, 0.12)
        );
        border-color: rgba(234, 140, 0, 0.22);
      }

      .side-link-btn {
        appearance: none;
      }

      .side-foot {
        margin-top: auto;
        display: grid;
        gap: 8px;
      }

      .side-mini {
        padding: 10px 12px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.76);
        border: 1px solid rgba(31, 35, 40, 0.08);
        font-size: 12px;
        font-weight: 800;
      }

      .side-toggle {
        display: none;
        position: fixed;
        left: 14px;
        bottom: 14px;
        z-index: 10001;
        width: 48px;
        height: 48px;
        border: none;
        border-radius: 50%;
        background: #1f2328;
        color: #fff;
        font-size: 22px;
        box-shadow: 0 18px 38px rgba(31, 35, 40, 0.24);
        cursor: pointer;
      }

      .topbar {
        position: sticky;
        top: 0;
        z-index: 50;
        backdrop-filter: blur(16px);
        background: linear-gradient(
          180deg,
          rgba(255, 250, 242, 0.92),
          rgba(255, 250, 242, 0.68)
        );
        border-bottom: 1px solid var(--line);
      }

      .topbar-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 12px 0;
      }

      .brand {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
      }

      .logo {
        width: 46px;
        height: 46px;
        border-radius: 16px;
        background: conic-gradient(
          from 220deg,
          var(--saffron),
          var(--saffron2),
          #ffe1a8,
          var(--saffron)
        );
        box-shadow: 0 14px 28px rgba(245, 158, 11, 0.24);
        position: relative;
        flex: 0 0 auto;
      }

      .logo::before {
        content: "";
        position: absolute;
        inset: 10px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.82);
        border: 1px solid rgba(31, 35, 40, 0.08);
      }

      .brand-copy h1 {
        margin: 0;
        font-size: 16px;
        line-height: 1.1;
        letter-spacing: 0.2px;
      }

      .brand-copy p {
        margin: 4px 0 0;
        font-size: 12px;
        color: var(--muted);
      }

      .nav {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
      }

      .btn,
      .chip,
      .seg-btn,
      .ghost-btn,
      .tool-mini-btn {
        border: 1px solid rgba(31, 35, 40, 0.12);
        background: rgba(255, 255, 255, 0.82);
        color: var(--ink);
        border-radius: 999px;
        padding: 10px 14px;
        font-weight: 800;
        font-size: 13px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        cursor: pointer;
        transition:
          transform 0.16s ease,
          box-shadow 0.16s ease,
          background 0.16s ease,
          border-color 0.16s ease;
        box-shadow: 0 10px 24px rgba(31, 35, 40, 0.07);
        user-select: none;
        -webkit-tap-highlight-color: transparent;
      }

      .btn:hover,
      .chip:hover,
      .seg-btn:hover,
      .ghost-btn:hover,
      .tool-mini-btn:hover {
        transform: translateY(-1px);
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 16px 28px rgba(31, 35, 40, 0.1);
      }

      .btn.primary {
        background: linear-gradient(
          180deg,
          rgba(245, 158, 11, 0.98),
          rgba(255, 183, 77, 0.98)
        );
        border-color: rgba(234, 140, 0, 0.28);
        color: #251a0a;
      }

      .btn.dark {
        background: #1f2328;
        color: #fff;
        border-color: #1f2328;
      }

      .btn.green {
        background: rgba(47, 125, 74, 0.12);
        border-color: rgba(47, 125, 74, 0.22);
      }

      .hero {
        padding: 20px 0 16px;
      }

      .hero-card {
        position: relative;
        overflow: hidden;
        background: linear-gradient(
          180deg,
          rgba(255, 255, 255, 0.88),
          rgba(255, 255, 255, 0.76)
        );
        border: 1px solid rgba(31, 35, 40, 0.08);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow);
        padding: 24px;
        isolation: isolate;
      }

      .hero-card::before {
        content: "";
        position: absolute;
        inset: auto -70px -70px auto;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        background: radial-gradient(
          circle at center,
          rgba(255, 183, 77, 0.4),
          rgba(255, 183, 77, 0)
        );
        z-index: -1;
      }

      .hero-card::after {
        content: "";
        position: absolute;
        inset: -70px auto auto -70px;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: radial-gradient(
          circle at center,
          rgba(245, 158, 11, 0.16),
          rgba(245, 158, 11, 0)
        );
        z-index: -1;
      }

      .hero-grid {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 18px;
        align-items: start;
      }

      .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.78);
        border: 1px solid rgba(31, 35, 40, 0.1);
        font-size: 12px;
        font-weight: 900;
      }

      .eyebrow i {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--saffron);
        box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.12);
        display: inline-block;
      }

      .hero-title {
        margin: 14px 0 10px;
        font-size: clamp(32px, 5vw, 54px);
        line-height: 0.98;
        letter-spacing: -1.4px;
      }

      .hero-sub {
        margin: 0;
        font-size: 15px;
        color: var(--muted);
        line-height: 1.65;
        max-width: 74ch;
      }

      .hero-actions {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 18px;
      }

      .hero-stats {
        margin-top: 18px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
      }

      .stat,
      .mini,
      .feature,
      .seo-card,
      .faq-card {
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(31, 35, 40, 0.08);
        border-radius: 20px;
        box-shadow: var(--shadow-soft);
      }

      .stat {
        padding: 14px;
      }

      .stat strong {
        display: block;
        font-size: 18px;
        line-height: 1;
        margin-bottom: 6px;
      }

      .stat span {
        color: var(--muted);
        font-size: 12px;
        line-height: 1.45;
      }

      .hero-side {
        display: grid;
        gap: 12px;
      }

      .mini {
        padding: 16px;
      }

      .mini h3 {
        margin: 0 0 8px;
        font-size: 14px;
      }

      .mini p {
        margin: 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.6;
      }

      .mini .mono {
        font-family: var(--mono);
        font-size: 12px;
        color: #995700;
        font-weight: 700;
      }

      .section {
        padding: 10px 0 18px;
      }

      .section-head {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 14px;
      }

      .section-head h2 {
        margin: 0;
        font-size: 28px;
        letter-spacing: -0.7px;
      }

      .section-head p {
        margin: 7px 0 0;
        color: var(--muted);
        font-size: 14px;
        max-width: 74ch;
        line-height: 1.6;
      }

      .toolbar {
        background: var(--panel);
        border: 1px solid rgba(31, 35, 40, 0.08);
        border-radius: 26px;
        box-shadow: var(--shadow);
        padding: 14px;
        display: grid;
        gap: 12px;
      }

      .toolbar-row {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
      }

      .search-wrap {
        flex: 1 1 340px;
        position: relative;
      }

      .search {
        width: 100%;
        padding: 14px 16px 14px 46px;
        border-radius: 18px;
        border: 1px solid rgba(31, 35, 40, 0.12);
        background: rgba(255, 255, 255, 0.9);
        font: 700 14px var(--sans);
        color: var(--ink);
        outline: none;
      }

      .search:focus {
        border-color: rgba(245, 158, 11, 0.34);
        box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
      }

      .search-icon {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        opacity: 0.72;
        pointer-events: none;
      }

      .chips {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
      }

      .chip.active,
      .seg-btn.active {
        background: rgba(245, 158, 11, 0.18);
        border-color: rgba(234, 140, 0, 0.26);
        box-shadow: 0 12px 24px rgba(245, 158, 11, 0.1);
      }

      .seg {
        display: flex;
        gap: 8px;
        padding: 6px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.76);
        border: 1px solid rgba(31, 35, 40, 0.1);
      }

      .main-grid {
        margin-top: 14px;
        display: grid;
        grid-template-columns: 390px 1fr;
        gap: 14px;
        align-items: start;
      }

      .card {
        background: var(--panel);
        border: 1px solid rgba(31, 35, 40, 0.08);
        border-radius: 28px;
        box-shadow: var(--shadow);
        overflow: hidden;
      }

      .left-panel,
      .viewer {
        display: flex;
        flex-direction: column;
      }

      .panel-head {
        padding: 16px 16px 12px;
        border-bottom: 1px solid rgba(31, 35, 40, 0.08);
        background: linear-gradient(
          180deg,
          rgba(255, 255, 255, 0.82),
          rgba(255, 255, 255, 0.6)
        );
      }

      .panel-head h3 {
        margin: 0;
        font-size: 18px;
        letter-spacing: -0.3px;
      }

      .panel-head p {
        margin: 6px 0 0;
        font-size: 13px;
        color: var(--muted);
        line-height: 1.55;
      }

      .tool-list {
        padding: 12px;
        display: grid;
        gap: 10px;
        max-height: 860px;
        overflow: auto;
      }

      .tool-card {
        position: relative;
        border: 1px solid rgba(31, 35, 40, 0.08);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.84);
        padding: 14px;
        box-shadow: 0 10px 24px rgba(31, 35, 40, 0.07);
        cursor: pointer;
        transition:
          transform 0.16s ease,
          box-shadow 0.16s ease,
          border-color 0.16s ease,
          background 0.16s ease;
      }

      .tool-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 32px rgba(31, 35, 40, 0.11);
        background: rgba(255, 255, 255, 0.94);
      }

      .tool-card.active {
        border-color: rgba(234, 140, 0, 0.28);
        background: linear-gradient(
          180deg,
          rgba(255, 246, 229, 0.98),
          rgba(255, 255, 255, 0.92)
        );
        box-shadow: 0 20px 36px rgba(245, 158, 11, 0.1);
      }

      .tool-top {
        display: flex;
        gap: 12px;
        align-items: flex-start;
      }

      .tool-icon {
        width: 50px;
        height: 50px;
        border-radius: 16px;
        display: grid;
        place-items: center;
        font-size: 22px;
        flex: 0 0 auto;
        background: linear-gradient(
          135deg,
          rgba(245, 158, 11, 0.22),
          rgba(255, 183, 77, 0.12)
        );
        border: 1px solid rgba(234, 140, 0, 0.1);
      }

      .tool-copy {
        min-width: 0;
        flex: 1 1 auto;
      }

      .tool-copy h4 {
        margin: 0;
        font-size: 16px;
        line-height: 1.15;
        letter-spacing: -0.3px;
      }

      .tool-copy p {
        margin: 6px 0 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.55;
      }

      .tool-meta {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin-top: 10px;
      }

      .tag {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 999px;
        border: 1px solid rgba(31, 35, 40, 0.1);
        background: rgba(255, 255, 255, 0.8);
        font-size: 11px;
        font-weight: 900;
        color: #2b3138;
      }

      .tag.favorite-tag {
        color: #8a4e00;
        background: rgba(255, 244, 221, 0.9);
      }

      .tool-actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin-top: 12px;
      }

      .tool-mini-btn {
        border-radius: 14px;
        padding: 9px 11px;
        font-size: 12px;
        font-weight: 900;
      }

      .tool-mini-btn.starred {
        background: rgba(245, 158, 11, 0.18);
        border-color: rgba(234, 140, 0, 0.24);
      }

      .viewer-top {
        padding: 14px;
        border-bottom: 1px solid rgba(31, 35, 40, 0.08);
        background: linear-gradient(
          180deg,
          rgba(255, 255, 255, 0.84),
          rgba(255, 255, 255, 0.62)
        );
        display: grid;
        gap: 12px;
      }

      .viewer-head {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
        align-items: flex-start;
      }

      .viewer-title .pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 7px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.84);
        border: 1px solid rgba(31, 35, 40, 0.08);
        font-size: 11px;
        font-weight: 900;
        color: #8a4d00;
        margin-bottom: 8px;
      }

      .viewer-title h3 {
        margin: 0;
        font-size: 24px;
        letter-spacing: -0.6px;
        line-height: 1.08;
      }

      .viewer-title p {
        margin: 7px 0 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.6;
        max-width: 76ch;
      }

      .viewer-actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
      }

      .info-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
      }

      .info {
        padding: 12px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.82);
        border: 1px solid rgba(31, 35, 40, 0.08);
      }

      .info b {
        display: block;
        font-size: 12px;
        margin-bottom: 4px;
      }

      .info span,
      .info a {
        font-size: 12px;
        color: var(--muted);
        line-height: 1.5;
        display: block;
        word-break: break-word;
      }

      .info a:hover {
        color: var(--blue);
      }

      .info code {
        font-family: var(--mono);
        font-size: 11px;
        color: #8a4d00;
      }

      .frame-wrap {
        padding: 14px;
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      .quick-links {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
        gap: 12px;
      }

      .quick-link {
        border: 1px solid rgba(31, 35, 40, 0.08);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.84);
        padding: 14px;
        display: flex;
        gap: 12px;
        align-items: center;
        min-width: 0;
        min-height: 76px;
        text-align: left;
        transition:
          transform 0.16s ease,
          box-shadow 0.16s ease,
          background 0.16s ease;
        box-shadow: 0 10px 22px rgba(31, 35, 40, 0.07);
        cursor: pointer;
      }

      .quick-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 32px rgba(31, 35, 40, 0.1);
        background: rgba(255, 255, 255, 0.96);
      }

      .qicon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        display: grid;
        place-items: center;
        background: linear-gradient(
          135deg,
          rgba(245, 158, 11, 0.2),
          rgba(255, 183, 77, 0.1)
        );
        border: 1px solid rgba(234, 140, 0, 0.08);
        flex: 0 0 44px;
        font-size: 20px;
      }

      .qtext {
        min-width: 0;
        flex: 1 1 auto;
      }

      .qtext strong {
        display: block;
        font-size: 14px;
        line-height: 1.2;
        white-space: normal;
        word-break: break-word;
      }

      .qtext span {
        display: block;
        color: var(--muted);
        font-size: 11px;
        margin-top: 4px;
        white-space: normal;
        word-break: break-word;
      }

      .frame-shell {
        position: relative;
        border-radius: 26px;
        overflow: hidden;
        border: 1px solid rgba(31, 35, 40, 0.1);
        background:
          linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.32),
            rgba(255, 255, 255, 0.06)
          ),
          linear-gradient(135deg, #fff7e8, #fffdf8);
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.52),
          0 18px 36px rgba(31, 35, 40, 0.08);
      }

      .browser-bar {
        height: 52px;
        border-bottom: 1px solid rgba(31, 35, 40, 0.08);
        background: linear-gradient(
          180deg,
          rgba(255, 255, 255, 0.86),
          rgba(255, 255, 255, 0.68)
        );
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 0 14px;
      }

      .browser-dots {
        display: flex;
        gap: 8px;
        align-items: center;
        flex: 0 0 auto;
      }

      .browser-dots span {
        width: 11px;
        height: 11px;
        border-radius: 50%;
        display: block;
        border: 1px solid rgba(31, 35, 40, 0.08);
      }

      .browser-dots span:nth-child(1) {
        background: #ffb4a8;
      }

      .browser-dots span:nth-child(2) {
        background: #ffe08a;
      }

      .browser-dots span:nth-child(3) {
        background: #bce9b7;
      }

      .browser-url {
        min-width: 0;
        flex: 1 1 auto;
        border: 1px solid rgba(31, 35, 40, 0.08);
        background: rgba(255, 255, 255, 0.86);
        border-radius: 999px;
        padding: 10px 14px;
        font: 700 12px var(--mono);
        color: #7b4a00;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      iframe {
        width: 100%;
        height: 760px;
        border: 0;
        display: block;
        background: #fff;
      }

      .feature-band,
      .seo-grid,
      .faq-grid {
        display: grid;
        gap: 14px;
      }

      .feature-band {
        margin-top: 14px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .feature {
        padding: 18px;
      }

      .feature h3,
      .seo-card h3,
      .faq-card h3 {
        margin: 0 0 8px;
        font-size: 16px;
        letter-spacing: -0.2px;
      }

      .feature p,
      .seo-card p,
      .faq-card p,
      .seo-card li {
        margin: 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.65;
      }

      .seo-grid {
        grid-template-columns: 1.2fr 0.8fr;
      }

      .seo-card {
        padding: 18px;
      }

      .seo-card ul {
        margin: 12px 0 0;
        padding-left: 18px;
      }

      .text-links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 14px;
      }

      .text-links a {
        color: #8a4e00;
        border-bottom: 1px dashed rgba(138, 78, 0, 0.4);
      }

      .text-links a:hover {
        color: var(--blue);
        border-color: rgba(29, 78, 216, 0.4);
      }

      .faq-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .faq-card {
        padding: 18px;
      }

      .books-widget {
        margin-top: 14px;
      }

      .books-wrap {
        background: linear-gradient(180deg, #fff8eb, #fffdf7);
        border: 1px solid #ead9b3;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: var(--shadow-soft);
      }

      .books-head {
        padding: 22px 20px 16px;
        background: linear-gradient(135deg, #fff7e6, #fff4d6);
        border-bottom: 1px solid #ead9b3;
      }

      .books-badge {
        display: inline-block;
        padding: 6px 10px;
        border-radius: 999px;
        background: var(--saffron);
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 10px;
      }

      .books-head h2 {
        margin: 0 0 8px;
        font-size: 26px;
        line-height: 1.2;
      }

      .books-head p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.65;
      }

      .books-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        padding: 20px;
      }

      .book-card {
        background: #fff;
        border: 1px solid #eee2c5;
        border-radius: 18px;
        padding: 16px;
        display: flex;
        gap: 14px;
        align-items: flex-start;
        min-width: 0;
      }

      .book-cover {
        width: 110px;
        flex: 0 0 110px;
      }

      .book-cover img {
        width: 100%;
        aspect-ratio: 2 / 3;
        object-fit: cover;
        border-radius: 12px;
        border: 1px solid #eee2c5;
        background: #fff7e6;
      }

      .book-body {
        min-width: 0;
        flex: 1;
      }

      .book-body h3 {
        margin: 0 0 8px;
        font-size: 17px;
        line-height: 1.35;
        font-weight: 800;
      }

      .book-body p {
        margin: 0 0 12px;
        color: #4b5563;
        font-size: 14px;
        line-height: 1.65;
      }

      .book-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 0 0 14px;
        padding: 0;
        list-style: none;
      }

      .book-tags li {
        padding: 6px 10px;
        border-radius: 999px;
        background: #fff7e6;
        border: 1px solid #f4dfab;
        font-size: 12px;
        color: #8a5a00;
        font-weight: 700;
      }

      .book-actions {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
      }

      .book-btn {
        display: inline-block;
        border-radius: 10px;
        padding: 10px 14px;
        font-size: 13px;
        font-weight: 800;
        transition: 0.2s ease;
        border: 1px solid transparent;
      }

      .book-btn.primary {
        background: var(--saffron);
        color: #fff;
      }

      .book-btn.primary:hover {
        background: var(--saffron3);
      }

      .book-btn.secondary {
        background: #fff;
        color: var(--ink);
        border-color: #ead9b3;
      }

      .book-btn.secondary:hover {
        background: #fff9ec;
      }

      .books-foot {
        padding: 0 20px 20px;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.6;
      }

      .footer {
        padding: 24px 0 34px;
        color: var(--muted);
        font-size: 12px;
      }

      .footer-box {
        background: rgba(255, 255, 255, 0.68);
        border: 1px solid rgba(31, 35, 40, 0.08);
        border-radius: 24px;
        box-shadow: var(--shadow-soft);
        padding: 16px 18px;
        display: flex;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
      }

      .footer-box a {
        color: #8a4e00;
      }

      .footer-box a:hover {
        color: var(--blue);
      }

      .empty-state {
        border: 1px dashed rgba(31, 35, 40, 0.18);
        border-radius: 20px;
        padding: 18px;
        background: rgba(255, 255, 255, 0.76);
        color: var(--muted);
      }

      .hidden {
        display: none !important;
      }

      .install-fab {
        position: fixed;
        right: 18px;
        bottom: 18px;
        z-index: 9999;
        display: none;
        align-items: center;
        gap: 10px;
        padding: 13px 18px;
        border: 1px solid rgba(234, 140, 0, 0.22);
        border-radius: 999px;
        background: linear-gradient(180deg, #f59e0b, #ffb74d);
        color: #251a0a;
        font: 900 14px var(--sans);
        box-shadow:
          0 18px 38px rgba(245, 158, 11, 0.22),
          0 8px 18px rgba(31, 35, 40, 0.14);
        cursor: pointer;
        transition:
          transform 0.18s ease,
          box-shadow 0.18s ease,
          opacity 0.18s ease;
        -webkit-tap-highlight-color: transparent;
      }

      .install-fab:hover {
        transform: translateY(-2px);
        box-shadow:
          0 22px 42px rgba(245, 158, 11, 0.26),
          0 10px 22px rgba(31, 35, 40, 0.16);
      }

      .install-fab:active {
        transform: translateY(0);
      }

      .install-fab-icon {
        font-size: 18px;
        line-height: 1;
      }

      .install-fab-text {
        line-height: 1;
        white-space: nowrap;
      }

      .install-fab.show {
        display: inline-flex;
        animation: installFabIn 0.28s ease;
      }

      .install-fab.pulse {
        animation:
          installFabIn 0.28s ease,
          installPulse 1.8s ease-in-out infinite 0.5s;
      }

      .install-toast {
        position: fixed;
        left: 18px;
        right: 18px;
        bottom: 86px;
        z-index: 9998;
        display: none;
        justify-content: center;
        pointer-events: none;
      }

      .install-toast.show {
        display: flex;
        animation: installToastIn 0.28s ease;
      }

      .install-toast-card {
        width: min(560px, 100%);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 14px;
        border-radius: 22px;
        border: 1px solid rgba(31, 35, 40, 0.08);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 20px 40px rgba(31, 35, 40, 0.14);
        backdrop-filter: blur(12px);
        pointer-events: auto;
      }

      .install-toast-copy {
        display: flex;
        flex-direction: column;
        gap: 5px;
        min-width: 0;
      }

      .install-toast-copy strong {
        font-size: 14px;
        line-height: 1.2;
      }

      .install-toast-copy span {
        color: var(--muted);
        font-size: 13px;
        line-height: 1.55;
      }

      .install-toast-actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
      }

      .install-toast-btn {
        border: 1px solid rgba(31, 35, 40, 0.12);
        background: rgba(255, 255, 255, 0.9);
        color: var(--ink);
        border-radius: 999px;
        padding: 10px 14px;
        font: 800 13px var(--sans);
        cursor: pointer;
        transition:
          transform 0.16s ease,
          box-shadow 0.16s ease,
          background 0.16s ease;
      }

      .install-toast-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(31, 35, 40, 0.1);
      }

      .install-toast-btn.primary {
        background: linear-gradient(180deg, #f59e0b, #ffb74d);
        border-color: rgba(234, 140, 0, 0.22);
        color: #251a0a;
      }

      .live-class-section {
        padding-top: 4px;
      }

      .live-class-card {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 18px;
        padding: 22px;
        border-radius: 30px;
        border: 1px solid rgba(31, 35, 40, 0.08);
        background:
          radial-gradient(
            circle at top right,
            rgba(245, 158, 11, 0.15),
            transparent 34%
          ),
          linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.92),
            rgba(255, 255, 255, 0.82)
          );
        box-shadow: var(--shadow);
        overflow: hidden;
      }

      .live-class-copy h2 {
        margin: 12px 0 10px;
        font-size: clamp(26px, 4vw, 38px);
        line-height: 1.02;
        letter-spacing: -0.9px;
      }

      .live-class-copy p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.7;
        max-width: 70ch;
      }

      .live-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.86);
        border: 1px solid rgba(31, 35, 40, 0.08);
        font-size: 12px;
        font-weight: 900;
        color: #8a4d00;
      }

      .live-badge i {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #ef4444;
        box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.12);
        display: inline-block;
      }

      .live-meta {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-top: 16px;
      }

      .live-meta-box {
        padding: 14px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.86);
        border: 1px solid rgba(31, 35, 40, 0.08);
        box-shadow: var(--shadow-soft);
      }

      .live-meta-box strong {
        display: block;
        font-size: 12px;
        margin-bottom: 4px;
      }

      .live-meta-box span {
        display: block;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.5;
      }

      .live-actions {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 18px;
      }

      .live-class-side {
        display: grid;
        gap: 14px;
        align-content: center;
      }

      .live-visual {
        position: relative;
        min-height: 240px;
        border-radius: 28px;
        border: 1px solid rgba(31, 35, 40, 0.08);
        background:
          radial-gradient(
            circle at center,
            rgba(255, 183, 77, 0.22),
            transparent 45%
          ),
          linear-gradient(180deg, #fff9ee, #fff4dc);
        display: grid;
        place-items: center;
        overflow: hidden;
      }

      .live-ring {
        width: 180px;
        height: 180px;
        border-radius: 50%;
        border: 18px solid rgba(245, 158, 11, 0.14);
        box-shadow:
          0 0 0 18px rgba(245, 158, 11, 0.08),
          0 0 0 36px rgba(245, 158, 11, 0.05);
        animation: livePulse 2.2s ease-in-out infinite;
      }

      .live-center {
        position: absolute;
        width: 88px;
        height: 88px;
        border-radius: 24px;
        display: grid;
        place-items: center;
        font-size: 40px;
        background: linear-gradient(180deg, #f59e0b, #ffb74d);
        box-shadow: 0 18px 36px rgba(245, 158, 11, 0.24);
      }

      .live-note {
        padding: 16px;
        border-radius: 20px;
        border: 1px solid rgba(31, 35, 40, 0.08);
        background: rgba(255, 255, 255, 0.82);
        box-shadow: var(--shadow-soft);
      }

      .live-note strong {
        display: block;
        font-size: 14px;
        margin-bottom: 6px;
      }

      .live-note p {
        margin: 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.6;
      }

      .live-modal {
        position: fixed;
        inset: 0;
        z-index: 10020;
      }

      .live-modal-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(31, 35, 40, 0.46);
        backdrop-filter: blur(4px);
      }

      .live-modal-card {
        position: relative;
        width: min(760px, calc(100% - 28px));
        margin: 7vh auto 0;
        padding: 22px;
        border-radius: 28px;
        background: linear-gradient(
          180deg,
          rgba(255, 255, 255, 0.97),
          rgba(255, 255, 255, 0.92)
        );
        border: 1px solid rgba(31, 35, 40, 0.08);
        box-shadow: 0 30px 70px rgba(31, 35, 40, 0.2);
      }

      .live-modal-close {
        position: absolute;
        right: 14px;
        top: 14px;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(31, 35, 40, 0.1);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.9);
        cursor: pointer;
        font-size: 18px;
      }

      .live-modal-head h3 {
        margin: 12px 0 8px;
        font-size: 28px;
        letter-spacing: -0.6px;
      }

      .live-modal-head p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.65;
        max-width: 68ch;
      }

      .live-modal-grid {
        display: grid;
        gap: 16px;
        margin-top: 18px;
      }

      .live-modal-info {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
      }

      .live-modal-actions {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
      }

      @keyframes livePulse {
        0%,
        100% {
          transform: scale(0.98);
        }
        50% {
          transform: scale(1.03);
        }
      }

      @keyframes installFabIn {
        from {
          opacity: 0;
          transform: translateY(10px) scale(0.96);
        }
        to {
          opacity: 1;
          transform: translateY(0) scale(1);
        }
      }

      @keyframes installToastIn {
        from {
          opacity: 0;
          transform: translateY(10px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      @keyframes installPulse {
        0%,
        100% {
          box-shadow:
            0 18px 38px rgba(245, 158, 11, 0.22),
            0 8px 18px rgba(31, 35, 40, 0.14);
        }
        50% {
          box-shadow:
            0 22px 46px rgba(245, 158, 11, 0.34),
            0 10px 22px rgba(31, 35, 40, 0.16);
        }
      }

      @media (max-width: 1180px) {
        .main-grid {
          grid-template-columns: 1fr;
        }

        .tool-list {
          max-height: none;
        }

        .seo-grid {
          grid-template-columns: 1fr;
        }
      }

      @media (max-width: 1100px) {
        .side-nav {
          position: fixed;
          left: 0;
          top: 0;
          transform: translateX(-100%);
          transition: transform 0.22s ease;
          box-shadow: 0 24px 48px rgba(31, 35, 40, 0.18);
        }

        .side-nav.open {
          transform: translateX(0);
        }

        .side-toggle {
          display: grid;
          place-items: center;
        }
      }

      @media (max-width: 980px) {
        .hero-grid,
        .live-class-card,
        .live-modal-info {
          grid-template-columns: 1fr;
        }

        .hero-stats,
        .info-grid,
        .feature-band,
        .faq-grid,
        .live-meta {
          grid-template-columns: 1fr;
        }

        .books-grid {
          grid-template-columns: 1fr;
        }

        .quick-links {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
      }

      @media (max-width: 640px) {
        .wrap {
          width: min(100% - 18px, 1280px);
        }

        .topbar-inner {
          align-items: flex-start;
        }

        .nav {
          justify-content: flex-start;
        }

        .hero-card,
        .toolbar,
        .panel-head,
        .viewer-top,
        .seo-card,
        .faq-card,
        .feature {
          padding-left: 16px;
          padding-right: 16px;
        }

        .section-head h2,
        .books-head h2 {
          font-size: 24px;
        }

        .quick-links {
          grid-template-columns: 1fr;
        }

        .browser-url {
          font-size: 11px;
        }

        iframe {
          height: 620px;
        }

        .book-card {
          flex-direction: column;
        }

        .book-cover {
          width: 140px;
          flex-basis: auto;
        }

        .install-fab {
          right: 14px;
          bottom: 14px;
          padding: 12px 16px;
        }

        .install-toast {
          left: 12px;
          right: 12px;
          bottom: 78px;
        }

        .install-toast-card {
          flex-direction: column;
          align-items: stretch;
        }

        .install-toast-actions {
          justify-content: stretch;
        }

        .install-toast-btn {
          flex: 1 1 auto;
        }
      }
    

/* Notifications */
.notify-btn {
  position: relative;
  gap: 8px;
}
.notify-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.24);
}
.notify-badge.hidden { display:none; }
.notify-panel.hidden { display:none; }
.notify-panel {
  position: fixed;
  inset: 0;
  z-index: 1300;
}
.notify-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(8px);
}
.notify-card {
  position: absolute;
  top: 18px;
  right: 18px;
  width: min(420px, calc(100vw - 24px));
  max-height: min(80vh, 760px);
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(217,119,6,0.18);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}
.notify-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding: 20px 20px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}
.notify-eyebrow {
  display:inline-block;
  margin-bottom:6px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#d97706;
}
.notify-head h3 { margin:0; font-size: 24px; }
.notify-head p { margin:6px 0 0; color: var(--muted); }
.notify-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(148, 163, 184, 0.12);
  cursor: pointer;
  font-size: 18px;
}
.notify-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding: 14px 20px 10px;
}
.notify-status {
  padding: 0 20px 12px;
  color: var(--muted);
  font-size: 14px;
}
.notify-list {
  padding: 0 14px 16px;
  overflow: auto;
  display:grid;
  gap: 12px;
}
.notify-empty {
  padding: 26px 18px;
  border-radius: 22px;
  background: rgba(248, 250, 252, 0.92);
  border: 1px dashed rgba(148, 163, 184, 0.4);
  text-align:center;
  color: var(--muted);
}
.notify-item {
  display:block;
  padding: 16px;
  border-radius: 22px;
  text-decoration:none;
  color: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,248,239,0.98));
  border: 1px solid rgba(217,119,6,0.14);
  box-shadow: 0 10px 24px rgba(15,23,42,0.07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.notify-item:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(15,23,42,0.12); }
.notify-item.unread {
  border-color: rgba(217,119,6,0.38);
  box-shadow: 0 14px 30px rgba(217,119,6,0.14);
}
.notify-item-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}
.notify-item-title {
  margin:0;
  font-size:16px;
  font-weight:800;
}
.notify-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 0 0 6px rgba(249,115,22,0.12);
}
.notify-item-meta {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  font-size:12px;
  color: var(--muted);
  margin-top: 10px;
}
.notify-item-message { margin:0; color: var(--ink); line-height:1.6; }
.notify-tag {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 10px;
  border-radius:999px;
  background: rgba(217,119,6,0.1);
  color:#b45309;
  font-weight:700;
}
.notify-toast-stack {
  position: fixed;
  right: 18px;
  bottom: 96px;
  z-index: 1400;
  display: grid;
  gap: 10px;
}
.notify-toast {
  width: min(360px, calc(100vw - 24px));
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(17,24,39,0.94);
  color: #fff;
  box-shadow: 0 20px 40px rgba(15,23,42,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  animation: notifyIn .25s ease;
}
.notify-toast strong { display:block; margin-bottom:4px; }
.notify-toast a { color:#fdba74; }
@keyframes notifyIn {
  from { transform: translateY(12px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
@media (max-width: 720px) {
  .notify-card {
    top: 10px;
    right: 10px;
    left: 10px;
    width: auto;
    max-height: calc(100vh - 20px);
  }
  .notify-actions .btn { flex: 1 1 140px; }
  .notify-toast-stack { right: 10px; left: 10px; bottom: 86px; }
  .notify-toast { width: auto; }
}

