
    :root{
      --bg:#f7f6f2;
      --paper:#ffffff;
      --ink:#1c1c1c;
      --muted:#77736b;
      --line:#ded9cf;
      --soft:#eeeae2;
      --dark:#161616;
      --accent:#d9c8a9;
      --green:#dfe7d7;
      --blue:#d9e1ef;
      --rose:#eadedb;
      --shadow:0 18px 50px rgba(0,0,0,.07);
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      background:var(--bg);
      color:var(--ink);
      font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
      letter-spacing:.01em;
    }
    a{color:inherit;text-decoration:none}
    button{font:inherit}

    .site-header{
      height:86px;
      position:sticky;
      top:0;
      z-index:20;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:0 48px;
      background:rgba(247,246,242,.9);
      backdrop-filter:blur(18px);
      border-bottom:1px solid rgba(0,0,0,.06);
    }
    .brand{display:flex;align-items:center;gap:16px}
    .brand-mark{
      width:42px;height:42px;border-radius:50%;
      background:#111;color:#fff;display:grid;place-items:center;
      font-weight:700;font-size:18px;
    }
    .brand-text{font-size:16px;letter-spacing:.34em;text-transform:uppercase;white-space:nowrap}
    .nav{display:flex;gap:24px;font-size:15px}
    .nav a{padding:8px 0;position:relative}
    .nav a::after{content:"";position:absolute;left:0;bottom:2px;width:0;height:1px;background:#111;transition:.24s}
    .nav a:hover::after{width:100%}

    .hero{
      max-width:1500px;
      margin:0 auto;
      padding:72px 48px 68px;
      display:grid;
      grid-template-columns:1.02fr .98fr;
      gap:60px;
      align-items:center;
    }

    .prompt-gallery{
      min-height:620px;
      background:#171717;
      border:1px solid #222;
      box-shadow:var(--shadow);
      padding:34px;
      display:grid;
      grid-template-rows:auto 1fr;
      gap:20px;
      overflow:hidden;
    }

    .window-bar{
      height:42px;
      background:#2b2b2b;
      display:flex;
      align-items:center;
      gap:8px;
      padding:0 16px;
    }
    .window-dot{width:10px;height:10px;border-radius:50%;background:#d9c8a9}
    .prompt-board{
      background:#f4efe5;
      padding:32px;
      display:grid;
      grid-template-columns:.92fr 1.08fr;
      gap:22px;
      overflow:hidden;
    }
    .option-stack{
      display:grid;
      gap:10px;
      align-content:start;
    }
    .option-chip{
      background:#fff;
      border:1px solid #ded2bf;
      border-radius:999px;
      padding:11px 14px;
      font-size:13px;
      color:#4d4942;
      display:flex;
      justify-content:space-between;
      gap:10px;
    }
    .option-chip.active{
      background:#111;
      color:#fff;
      border-color:#111;
    }
    .prompt-output-demo{
      background:#111;
      color:#eee8dc;
      padding:24px;
      font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
      font-size:13px;
      line-height:1.85;
      min-height:410px;
      display:flex;
      align-items:flex-end;
    }

    .copy .eyebrow{
      text-transform:uppercase;
      letter-spacing:.26em;
      color:var(--muted);
      font-size:13px;
      font-weight:700;
      margin-bottom:18px;
    }
    h1{
      margin:0;
      font-size:clamp(46px,6.6vw,88px);
      line-height:.96;
      letter-spacing:.02em;
      text-wrap:balance;
    }
    .copy p{
      color:#4d4942;
      font-size:18px;
      line-height:1.75;
      margin:24px 0;
      max-width:620px;
    }

    .feature-list{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:12px;
      margin:26px 0;
    }
    .feature{
      background:#fff;
      border:1px solid var(--line);
      border-radius:18px;
      padding:16px;
      min-height:100px;
    }
    .feature strong{display:block;font-size:16px;margin-bottom:8px}
    .feature span{color:var(--muted);font-size:13px;line-height:1.55}

    .tagline{
      display:inline-flex;
      align-items:center;
      gap:8px;
      border:1px solid #111;
      border-radius:999px;
      padding:10px 15px;
      font-size:14px;
      margin-bottom:14px;
      background:#fff;
    }

    .actions{
      display:flex;
      gap:12px;
      flex-wrap:wrap;
      margin-top:26px;
    }
    .actions .primary-btn,
    .actions .secondary-btn,
    .modal-actions .primary-btn,
    .modal-actions .secondary-btn{
      min-width:260px;
      min-height:54px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      text-align:center;
    }
    .primary-btn,.secondary-btn{
      border:1px solid #111;
      padding:14px 26px;
      cursor:pointer;
      transition:.25s ease;
      background:#111;
      color:#fff;
    }
    .secondary-btn{
      background:#fff;
      color:#111;
      border-color:var(--line);
    }
    .primary-btn:hover,.secondary-btn:hover{
      transform:translateY(-2px);
      box-shadow:0 12px 28px rgba(0,0,0,.12);
    }

    .section{
      max-width:1500px;
      margin:0 auto;
      padding:80px 48px;
    }
    .section-head{
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:20px;
      margin-bottom:30px;
    }
    .section-title-main{
      margin:0;
      font-size:clamp(32px,4vw,56px);
      line-height:1.05;
      text-wrap:balance;
    }
    .section-desc{
      color:var(--muted);
      line-height:1.7;
      max-width:560px;
      margin:12px 0 0;
    }

    .category-grid{
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:24px;
    }
    .category-card{
      background:#fff;
      border:1px solid var(--line);
      border-radius:26px;
      padding:24px;
      min-height:220px;
      transition:.25s ease;
      cursor:pointer;
    }
    .category-card:hover{
      transform:translateY(-5px);
      box-shadow:var(--shadow);
      border-color:#111;
    }
    .category-mark{
      width:58px;height:58px;
      border-radius:50%;
      background:#111;
      color:#fff;
      display:grid;
      place-items:center;
      margin-bottom:26px;
      font-weight:700;
    }
    .category-card h3{
      margin:0 0 10px;
      font-size:23px;
      line-height:1.15;
    }
    .category-card p{
      margin:0;
      color:var(--muted);
      line-height:1.65;
      font-size:14px;
    }

    .workflow{
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:18px;
    }
    .step{
      background:#fff;
      border:1px solid var(--line);
      border-radius:24px;
      padding:24px;
      min-height:190px;
    }
    .step-num{
      width:38px;height:38px;border-radius:50%;
      background:#111;color:#fff;
      display:grid;place-items:center;
      margin-bottom:20px;
      font-size:14px;
    }
    .step h3{margin:0 0 10px;font-size:22px}
    .step p{margin:0;color:var(--muted);line-height:1.65;font-size:14px}

    .cta{
      background:#111;
      color:#fff;
      border-radius:34px;
      padding:56px;
      display:grid;
      grid-template-columns:1fr auto;
      gap:28px;
      align-items:center;
    }
    .cta h2{margin:0;font-size:48px;line-height:1.05}
    .cta p{color:#d6d1c8;line-height:1.7;max-width:620px}

    .footer{
      max-width:1500px;
      margin:0 auto;
      padding:50px 48px;
      border-top:1px solid rgba(0,0,0,.08);
      color:var(--muted);
    }



    /* Prompt case cards: added content module for Prompt Generator page */
    .prompt-case-grid{
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:24px;
    }
    .prompt-case-card{
      background:#fff;
      border:1px solid var(--line);
      border-radius:28px;
      overflow:hidden;
      cursor:pointer;
      transition:.25s ease;
      text-align:left;
      padding:0;
      color:inherit;
      box-shadow:none;
    }
    .prompt-case-card:hover{
      transform:translateY(-5px);
      box-shadow:var(--shadow);
      border-color:#111;
    }
    .prompt-case-img{
      width:100%;
      aspect-ratio:4/3;
      background:#eeeae2 center/cover no-repeat;
      overflow:hidden;
      transition:.35s ease;
    }
    .prompt-case-img img{
      width:100%;
      height:100%;
      display:block;
      object-fit:cover;
      transition:.35s ease;
    }
    .prompt-case-card:hover .prompt-case-img,
    .prompt-case-card:hover .prompt-case-img img{transform:scale(1.035)}
    .prompt-case-body{
      padding:20px 20px 22px;
    }
    .prompt-case-kicker{
      color:var(--muted);
      font-size:12px;
      letter-spacing:.18em;
      text-transform:uppercase;
      margin-bottom:9px;
    }
    .prompt-case-body h3{
      margin:0 0 10px;
      font-size:22px;
      line-height:1.2;
      text-wrap:balance;
    }
    .prompt-case-scene{
      margin:0 0 16px;
      color:var(--muted);
      font-size:14px;
      line-height:1.6;
    }
    .prompt-case-tags{
      display:flex;
      gap:8px;
      flex-wrap:wrap;
    }
    .prompt-case-tags span{
      border:1px solid var(--line);
      background:#f7f6f2;
      color:#4d4942;
      border-radius:999px;
      padding:7px 10px;
      font-size:12px;
      line-height:1;
    }
    .prompt-modal{
      position:fixed;
      inset:0;
      z-index:500;
      display:none;
      align-items:center;
      justify-content:center;
      padding:26px;
      background:rgba(17,17,17,.58);
      backdrop-filter:blur(12px);
    }
    .prompt-modal.open{display:flex;}
    .prompt-modal-card{
      width:min(1040px,100%);
      max-height:88vh;
      overflow:auto;
      background:#fff;
      border-radius:34px;
      box-shadow:0 30px 90px rgba(0,0,0,.25);
      display:grid;
      grid-template-columns:.95fr 1.05fr;
      gap:0;
      position:relative;
    }
    .prompt-modal-media{
      min-height:520px;
      background:#eeeae2;
      overflow:hidden;
    }
    .prompt-modal-media img{
      width:100%;
      height:100%;
      min-height:520px;
      object-fit:contain;
      display:block;
    }
    .prompt-modal-content{
      padding:38px;
      display:flex;
      flex-direction:column;
      gap:18px;
    }
    .prompt-modal-close{
      position:absolute;
      right:18px;
      top:18px;
      width:40px;
      height:40px;
      border-radius:50%;
      border:1px solid var(--line);
      background:rgba(255,255,255,.88);
      cursor:pointer;
      font-size:24px;
      line-height:1;
      z-index:2;
    }
    .prompt-modal-content h3{
      margin:0;
      font-size:36px;
      line-height:1.08;
    }
    .prompt-modal-meta{
      color:var(--muted);
      line-height:1.7;
      margin:0;
    }
    .prompt-text-box{
      background:#171717;
      color:#eee8dc;
      border-radius:24px;
      padding:22px;
      font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
      font-size:13px;
      line-height:1.8;
      white-space:pre-wrap;
      word-break:break-word;
      min-height:190px;
    }
    .copy-status{
      color:var(--muted);
      font-size:13px;
      min-height:18px;
    }
    .prompt-workflow-btn{
      text-decoration:none;
    }
    .prompt-workflow-btn[hidden]{
      display:none !important;
    }

    /* Keep prompt detail modal away from the fixed navigation, matching Inspiration Board spacing. */
    @media(min-width:761px){
      .prompt-modal{
        padding:118px 32px 40px;
        overflow:hidden;
      }
      .prompt-modal-card{
        width:min(1120px, calc(100vw - 72px));
        max-height:calc(100vh - 158px);
        margin:0 auto;
      }
    }
    /* v244: desktop prompt details keep the full case image visible while long Prompt text scrolls independently. */
    @media(min-width:1101px){
      .prompt-modal-card{
        height:min(760px, calc(100vh - 158px));
        overflow:hidden;
      }
      .prompt-modal-media{
        height:100%;
        min-height:0;
        display:flex;
        align-items:center;
        justify-content:center;
      }
      .prompt-modal-media img{
        height:100%;
        min-height:0;
      }
      .prompt-modal-content{
        min-height:0;
        overflow-y:auto;
        overscroll-behavior:contain;
        scrollbar-gutter:stable;
      }
      .prompt-modal-content > *{
        flex-shrink:0;
      }
    }
    @media(max-width:1100px){
      .prompt-case-grid{grid-template-columns:repeat(2,1fr)}
      .prompt-modal-card{grid-template-columns:1fr;max-height:86vh}
      .prompt-modal-media,.prompt-modal-media img{min-height:360px}
    }
    @media(min-width:761px) and (max-width:1100px){
      .prompt-modal-card{max-height:calc(100vh - 158px)}
    }
    @media(max-width:760px){
      .prompt-case-grid{grid-template-columns:1fr}

      /* v157 Mobile Prompt Case Modal: leave a clear gap below the sticky mobile header.
         The top offset is also updated by JS from the real header height, so Safari / in-app browsers stay stable. */
      .prompt-modal{
        --prompt-mobile-modal-top:124px;
        padding:124px 14px 22px !important;
        padding-top:calc(var(--prompt-mobile-modal-top, 124px) + env(safe-area-inset-top, 0px)) !important;
        align-items:flex-start !important;
        justify-content:center !important;
        overflow:hidden !important;
      }
      .prompt-modal-card{
        width:min(92vw, 560px) !important;
        border-radius:26px;
        max-height:calc(100vh - var(--prompt-mobile-modal-top, 124px) - 28px) !important;
        max-height:calc(100dvh - var(--prompt-mobile-modal-top, 124px) - 28px - env(safe-area-inset-top, 0px)) !important;
        margin:0 auto !important;
        overflow-y:auto;
        -webkit-overflow-scrolling:touch;
      }
      .prompt-modal-content{padding:28px 22px}
      .prompt-modal-content h3{font-size:28px}
      .prompt-modal-media,.prompt-modal-media img{min-height:260px}
    }

    @media(max-width:1100px){
      .hero{grid-template-columns:1fr}
      .category-grid,.workflow{grid-template-columns:repeat(2,1fr)}
      .cta{grid-template-columns:1fr}
    }
    @media(max-width:760px){
      .site-header{height:auto;padding:18px 20px}
      .nav{display:none}
      .hero,.section{padding:54px 20px}
      .prompt-gallery{min-height:auto;padding:20px}
      .prompt-board{grid-template-columns:1fr;padding:22px}
      .prompt-output-demo{min-height:260px}
      .feature-list,.category-grid,.workflow{grid-template-columns:1fr}
      .cta{padding:34px 24px}
      .cta h2{font-size:36px}
    }

  
    /* Unified BaoLong Lab header */
    .site-header{
      height:104px;
      position:sticky;
      top:0;
      z-index:100;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      padding:0 48px;
      background:rgba(247,246,242,.94);
      backdrop-filter:blur(18px);
      border-bottom:1px solid rgba(0,0,0,.06);
    }
    .brand{
      display:flex;
      align-items:center;
      gap:18px;
      min-width:330px;
      color:inherit;
      text-decoration:none;
    }
    .brand-logo-img{
      width:108px !important;
      height:108px !important;
      max-width:108px !important;
      max-height:108px !important;
      object-fit:contain;
      flex:0 0 auto;
      display:block;
      background:transparent !important;
      border-radius:0 !important;
    }
    .brand-mark{display:none !important;}
    .brand-text{
      font-size:16px;
      letter-spacing:.34em;
      text-transform:uppercase;
      white-space:nowrap;
    }
    .nav{
      display:flex;
      align-items:center;
      gap:24px;
      font-size:15px;
      color:#2a2927;
      flex:1;
      justify-content:center;
    }
    .nav a{
      position:relative;
      padding:8px 0;
      white-space:nowrap;
      color:inherit;
      text-decoration:none;
    }
    .nav a::after{
      content:"";
      position:absolute;
      left:0;
      bottom:2px;
      width:0;
      height:1px;
      background:#111;
      transition:.24s ease;
    }
    .nav a:hover::after{width:100%}
    .nav-dropdown{position:relative;display:flex;align-items:center;}
    .dropdown-content{
      display:none;
      position:absolute;
      top:34px;
      left:50%;
      transform:translateX(-50%);
      min-width:210px;
      background:#fff;
      border:1px solid #ded9cf;
      border-radius:18px;
      padding:10px;
      box-shadow:0 18px 45px rgba(0,0,0,.10);
      z-index:200;
    }
    .nav-dropdown:hover .dropdown-content{display:block;}
    .dropdown-content a{
      display:block;
      padding:10px 12px;
      border-radius:12px;
      font-size:14px;
      color:#2a2927;
    }
    .dropdown-content a::after{display:none}
    .dropdown-content a:hover{background:#f7f6f2;}
    .header-actions{
      display:flex;
      align-items:center;
      gap:14px;
      min-width:260px;
      justify-content:flex-end;
    }
    .pill-btn{
      border:1px solid #ded9cf;
      border-radius:999px;
      padding:10px 18px;
      background:rgba(255,255,255,.6);
      cursor:pointer;
      transition:.25s ease;
      color:#1c1c1c;
    }
    .pill-btn:hover{
      background:#111;
      color:#fff;
      border-color:#111;
      transform:translateY(-1px);
    }
    @media (max-width:1200px){
      .site-header{padding:0 28px}
      .brand{min-width:auto}
      .brand-logo-img{width:55px !important;height:55px !important;max-width:55px !important;max-height:55px !important;}
      .nav{gap:16px;font-size:14px}
      .header-actions{min-width:auto}
    }
    @media (max-width:900px){
      .site-header{height:auto;align-items:flex-start;padding:18px 20px;flex-wrap:wrap;}
      .brand-logo-img{width:44px !important;height:44px !important;max-width:44px !important;max-height:44px !important;}
      .nav{order:3;width:100%;justify-content:flex-start;overflow-x:auto;gap:18px;padding-top:8px;}
      .header-actions{display:none}
      .dropdown-content{left:0;transform:none;}
    }

  

    /* Mobile refinement: keep desktop unchanged, improve small-screen readability */
    @media (max-width:900px){
      body{
        overflow-x:hidden;
      }

      .site-header{
        height:auto !important;
        min-height:70px;
        padding:14px 16px !important;
        gap:12px;
        align-items:flex-start;
        flex-wrap:wrap;
      }

      .brand{
        min-width:0 !important;
        gap:10px;
      }

      .brand-logo-img{
        width:38px;
        height:auto;
      }

      .brand-text{
        font-size:13px !important;
        letter-spacing:.22em !important;
        white-space:nowrap;
      }

      .nav{
        display:flex !important;
        width:100%;
        gap:18px;
        overflow-x:auto;
        overflow-y:visible;
        padding:4px 0 8px;
        scrollbar-width:none;
        -webkit-overflow-scrolling:touch;
      }

      .nav::-webkit-scrollbar{
        display:none;
      }

      .nav a{
        font-size:14px;
        white-space:nowrap;
      }

      .nav-dropdown{
        flex:0 0 auto;
      }

      .dropdown-content{
        top:34px;
        left:0;
      }

      .header-actions{
        display:none !important;
      }

      .hero{
        min-height:auto !important;
        padding:48px 18px;
      }

      .section{
        padding:54px 18px !important;
      }

      .section-head{
        display:block !important;
      }

      .section-title{
        font-size:clamp(34px,11vw,54px) !important;
        line-height:1.02;
      }

      .section-desc{
        font-size:15px;
        line-height:1.75;
      }

      .tabs{
        display:flex;
        gap:10px;
        overflow-x:auto;
        flex-wrap:nowrap !important;
        justify-content:flex-start !important;
        padding-bottom:6px;
        -webkit-overflow-scrolling:touch;
      }

      .tabs::-webkit-scrollbar{
        display:none;
      }

      .tab{
        flex:0 0 auto;
        white-space:nowrap;
      }

      .masonry{
        grid-template-columns:1fr !important;
      }

      .pin{
        border-radius:24px !important;
      }

      .footer{
        display:block !important;
        padding:36px 18px !important;
        font-size:13px;
        line-height:1.7;
      }
    }



    /* Mobile horizontal scroll fix: only nav can scroll sideways, page content stays vertical */
    @media (max-width:900px){
      html,
      body{
        width:100%;
        max-width:100%;
        overflow-x:hidden !important;
      }

      body > *{
        max-width:100vw;
      }

      .site-header{
        max-width:100vw;
        overflow-x:hidden !important;
      }

      .nav{
        display:flex !important;
        width:100%;
        max-width:100%;
        min-width:0;
        overflow-x:auto !important;
        overflow-y:visible !important;
        flex-wrap:nowrap !important;
        justify-content:flex-start !important;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
      }

      .nav::-webkit-scrollbar{
        display:none;
      }

      main,
      .hero,
      .product-hero,
      .section,
      .masonry-wrap,
      .tool-band,
      .footer{
        max-width:100vw !important;
        overflow-x:hidden !important;
      }

      .hero-product-slide,
      .news-slide,
      .product-grid,
      .masonry,
      .tool-cards{
        max-width:100% !important;
      }

      img,
      video,
      canvas,
      svg{
        max-width:100%;
      }
    }




    /* Equal-width action buttons */
    @media (max-width:680px){
      .actions{
        align-items:stretch;
      }
      .actions .primary-btn,
      .actions .secondary-btn,
      .modal-actions .primary-btn,
      .modal-actions .secondary-btn{
        width:100%;
        max-width:360px;
        min-width:0;
      }
    }

    /* Mobile dropdown menu: desktop navigation remains unchanged */
    .mobile-menu-toggle,
    .mobile-menu-panel{
      display:none;
    }

    @media (max-width:900px){
      .site-header{
        position:sticky;
        top:0;
        display:flex;
        align-items:center !important;
        justify-content:space-between;
        flex-wrap:nowrap !important;
        overflow:visible !important;
      }

      .brand{
        flex:1 1 auto;
        min-width:0 !important;
      }

      .brand-text{
        max-width:calc(100vw - 120px);
        overflow:hidden;
        text-overflow:ellipsis;
      }

      .nav,
      .header-actions{
        display:none !important;
      }

      .mobile-menu-toggle{
        display:inline-flex;
        align-items:center;
        justify-content:center;
        flex:0 0 auto;
        border:1px solid var(--line);
        border-radius:999px;
        background:rgba(255,255,255,.76);
        padding:9px 14px;
        font-size:13px;
        color:#1c1c1c;
        cursor:pointer;
        letter-spacing:.04em;
      }

      .mobile-menu-panel{
        display:none;
        position:absolute;
        top:calc(100% + 8px);
        right:14px;
        left:14px;
        z-index:80;
        max-height:72vh;
        overflow-y:auto;
        background:rgba(255,255,255,.96);
        border:1px solid var(--line);
        border-radius:22px;
        box-shadow:0 20px 48px rgba(0,0,0,.14);
        padding:12px;
        backdrop-filter:blur(18px);
      }

      .mobile-menu-panel.open{
        display:block;
      }

      .mobile-menu-panel a{
        display:block;
        padding:12px 14px;
        border-radius:14px;
        color:#1c1c1c;
        font-size:15px;
        line-height:1.25;
      }

      .mobile-menu-panel a:hover{
        background:#f3f0e8;
      }

      .mobile-menu-group{
        margin:10px 8px 4px;
        color:var(--muted);
        font-size:11px;
        line-height:1;
        letter-spacing:.18em;
        text-transform:uppercase;
        font-weight:700;
      }

      html,
      body{
        overflow-x:hidden !important;
      }
    }
    /* v220 Prompt case local favorites */
    .prompt-case-card{
      position:relative;
      display:block;
    }
    .prompt-save-btn{
      position:absolute;
      top:12px;
      right:12px;
      z-index:6;
      width:36px;
      height:36px;
      border-radius:999px;
      border:1px solid rgba(17,17,17,.13);
      background:rgba(255,255,255,.88);
      color:#111;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      font-size:18px;
      line-height:1;
      cursor:pointer;
      box-shadow:0 14px 30px rgba(0,0,0,.13);
      backdrop-filter:blur(12px);
      transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
    }
    .prompt-save-btn:hover,
    .prompt-save-btn.saved{
      background:#111;
      color:#fff;
      border-color:#111;
      transform:translateY(-1px);
    }
    .prompt-save-btn:focus-visible,
    .prompt-favorite-filter-btn:focus-visible{
      outline:2px solid #111;
      outline-offset:3px;
    }
    .prompt-favorite-filter-bar{
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:14px;
      margin:0 0 22px;
      padding:13px 16px;
      border:1px solid rgba(17,17,17,.09);
      border-radius:999px;
      background:rgba(255,255,255,.72);
      box-shadow:0 18px 46px rgba(0,0,0,.045);
      backdrop-filter:blur(16px);
    }
    .prompt-favorite-copy{
      font-size:12px;
      letter-spacing:.03em;
      color:rgba(17,17,17,.54);
      white-space:nowrap;
    }
    .prompt-favorite-actions{
      display:flex;
      align-items:center;
      gap:8px;
      flex-wrap:wrap;
      justify-content:flex-end;
    }
    .prompt-favorite-filter-btn{
      border:1px solid rgba(17,17,17,.14);
      background:#fff;
      color:#111;
      border-radius:999px;
      padding:8px 13px;
      font-size:12px;
      line-height:1;
      cursor:pointer;
      transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
    }
    .prompt-favorite-filter-btn:hover,
    .prompt-favorite-filter-btn.active{
      background:#111;
      color:#fff;
      border-color:#111;
      transform:translateY(-1px);
    }
    .prompt-favorite-empty{
      margin:18px 0 0;
      padding:22px;
      border:1px dashed rgba(17,17,17,.18);
      border-radius:22px;
      background:rgba(255,255,255,.62);
      color:var(--muted);
      text-align:center;
      line-height:1.7;
      font-size:14px;
    }
    .prompt-favorite-empty[hidden]{
      display:none !important;
    }

    /* v255 Prompt card filter display fix */
    .prompt-case-card[hidden]{
      display:none !important;
    }

    /* v254 Prompt inspiration content-type filter */
    .prompt-type-filter-bar{
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:14px;
      margin:0 0 12px;
      padding:13px 16px;
      border:1px solid rgba(17,17,17,.09);
      border-radius:999px;
      background:rgba(255,255,255,.72);
      box-shadow:0 18px 46px rgba(0,0,0,.045);
      backdrop-filter:blur(16px);
    }
    .prompt-type-filter-copy{
      font-size:12px;
      letter-spacing:.03em;
      color:rgba(17,17,17,.54);
      white-space:nowrap;
    }
    .prompt-type-filter-actions{
      display:flex;
      align-items:center;
      gap:8px;
      flex-wrap:wrap;
      justify-content:flex-end;
    }
    .prompt-type-filter-btn{
      border:1px solid rgba(17,17,17,.14);
      background:#fff;
      color:#111;
      border-radius:999px;
      padding:8px 13px;
      font-size:12px;
      line-height:1;
      cursor:pointer;
      transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
    }
    .prompt-type-filter-btn:hover,
    .prompt-type-filter-btn.active{
      background:#111;
      color:#fff;
      border-color:#111;
      transform:translateY(-1px);
    }
    .prompt-type-filter-btn:focus-visible{
      outline:2px solid #111;
      outline-offset:3px;
    }
    .prompt-type-badge{
      position:absolute;
      top:12px;
      left:12px;
      z-index:5;
      display:inline-flex;
      align-items:center;
      min-height:30px;
      padding:6px 10px;
      border:1px solid rgba(17,17,17,.12);
      border-radius:999px;
      background:rgba(255,255,255,.88);
      color:#111;
      box-shadow:0 12px 26px rgba(0,0,0,.10);
      backdrop-filter:blur(12px);
      font-size:11px;
      font-weight:650;
      line-height:1;
      letter-spacing:.02em;
      pointer-events:none;
    }
    .prompt-type-badge[data-prompt-card-type="workflow"]{
      background:#111;
      color:#fff;
      border-color:#111;
    }
    @media(max-width:720px){
      .prompt-favorite-filter-bar{
        border-radius:22px;
        align-items:flex-start;
        flex-direction:column;
        padding:14px;
        margin-bottom:18px;
      }
      .prompt-favorite-copy{white-space:normal}
      .prompt-favorite-actions{justify-content:flex-start}
      .prompt-type-filter-bar{
        border-radius:22px;
        align-items:flex-start;
        flex-direction:column;
        padding:14px;
        margin-bottom:10px;
      }
      .prompt-type-filter-copy{white-space:normal}
      .prompt-type-filter-actions{justify-content:flex-start}
      .prompt-type-badge{
        top:10px;
        left:10px;
      }
      .prompt-save-btn{
        width:38px;
        height:38px;
        right:10px;
        top:10px;
      }
    }


