/* ─── CSS Variables ─────────────────────────────────────────── */
  :root{
    --bg-color:#ffffff;
    --text-main:#202124;
    --text-muted:#5f6368;
    --text-secondary:#6b6b6b;

    --primary-color:#0f766e;
    --primary-dark:#115e59;
    --accent-color:#15803d;

    --border-color:#e6e6e6;
    --drawer-bg:#ffffff;
    --hover-bg:#f7fbff;
    --divider-color:#f0f2f5;
    --footer-bg:#f9f9f9;

    --spacing-xs:4px;
    --spacing-sm:8px;
    --spacing-md:12px;
    --spacing-lg:16px;
    --spacing-xl:22px;

    --font-heading:'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif;
    --font-body:'Roboto',system-ui,-apple-system,'Segoe UI',sans-serif;

    --radius-sm:6px;
    --radius-md:8px;
    --radius-lg:10px;
    --radius-full:999px;

    --shadow-sm:0 2px 8px rgba(60,64,67,0.08);
    --shadow-md:0 6px 18px rgba(60,64,67,0.12);
    --shadow-lg:0 14px 40px rgba(15,23,42,0.18);
  }

  /* ─── Base Reset ───────────────────────────────────────────── */
  *,*::before,*::after{box-sizing:border-box}
  html,body{height:100%;margin:0;background:var(--bg-color);-webkit-font-smoothing:antialiased}
  body{color:var(--text-main);font-family:var(--font-body);font-size:15px;line-height:1.25}
  a{text-decoration:none;color:inherit}
  ul,ol{list-style:none;margin:0;padding:0}

  /* ─── Layout Structure ─────────────────────────────────────── */
  .page-wrapper{
    min-height:100vh;
    display:flex;
    justify-content:center;
    padding:var(--spacing-md) 0;
  }

  .page-container{
    width:393px;
    max-width:100%;
    padding:10px var(--spacing-md) var(--spacing-xl) var(--spacing-md);
    position:relative;
  }

  /* ─── Header ───────────────────────────────────────────────── */
  .top-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:6px;
    gap:var(--spacing-sm);
  }

  .top-bar-left{
    display:flex;
    align-items:center;
    gap:10px;
  }

  .menu-button{
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:var(--radius-md);
    cursor:pointer;
    background:linear-gradient(180deg,#fff,#fbfdff);
    border:1px solid rgba(0,0,0,0.04);
  }

  .menu-button .bars{display:inline-block}

  .menu-button .bar{
    width:18px;
    height:2.8px;
    background:#222;
    border-radius:2px;
    margin:3px 0;
    display:block;
  }

  .nav-tabs{
    display:flex;
    gap:var(--spacing-md);
    align-items:center;
  }

  .nav-tab{
    font-weight:700;
    font-size:14px;
    color:var(--text-muted);
    cursor:pointer;
    padding:6px 8px;
    border-radius:var(--radius-sm);
  }

  .nav-tab.active{
    color:var(--text-main);
    background:transparent;
  }

  .header-controls{
    display:flex;
    align-items:center;
    gap:10px;
  }

  .icon-button{
    width:36px;
    height:36px;
    border-radius:var(--radius-md);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    border:1px solid rgba(0,0,0,0.04);
    background:linear-gradient(180deg,#fff,#fbfdff);
  }

  .user-button{
    width:36px;
    height:36px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:16px;
    color:#0b63d6;
    background:linear-gradient(180deg,#fff,#f7fbff);
    border:2px solid rgba(0,0,0,0.06);
  }

  /* ─── Drawer ───────────────────────────────────────────────── */
  .drawer-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.35);
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease;
    z-index:999;
  }

  .drawer-overlay.show{
    opacity:1;
    pointer-events:auto;
  }

  .drawer{
    position:fixed;
    left:-320px;
    top:0;
    height:100%;
    width:300px;
    max-width:80%;
    background:var(--drawer-bg);
    box-shadow:var(--shadow-lg);
    z-index:1000;
    padding:18px var(--spacing-md);
    transition:left .28s cubic-bezier(.2,.9,.2,1);
    overflow:auto;
  }

  .drawer.show{
    left:0;
  }

  .drawer-header{
    display:flex;
    align-items:center;
    gap:10px;
    padding-bottom:var(--spacing-md);
    border-bottom:1px solid #f2f2f2;
    margin-bottom:var(--spacing-md);
  }

  .drawer-title{
    font-weight:700;
    font-size:26px;
    font-family:var(--font-heading);
  }

  .drawer-list{
    list-style:none;
    padding:0;
    margin:0;
  }

  .drawer-item{
    display:flex;
    align-items:center;
    gap:var(--spacing-md);
    padding:12px 6px;
    border-radius:var(--radius-md);
    cursor:pointer;
  }

  .drawer-item:hover{
    background:var(--hover-bg);
  }

  .drawer-item i{
    width:28px;
    text-align:center;
  }

  .drawer-divider{
    height:1px;
    background:var(--divider-color);
    margin:8px 2px;
    border-radius:2px;
  }

  /* ─── Branding ─────────────────────────────────────────────── */
  .brand-area{
    display:flex;
    justify-content:center;
    padding:20px 0;
  }

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

  .brand-name{
    font-family:var(--font-heading);
    font-weight:700;
    font-size:32px;
    text-align:center;
    margin-top:4px;
    background:linear-gradient(90deg,var(--primary-color),var(--primary-dark));
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }

  .tagline{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:12px 6px;
    color:var(--text-muted);
    font-size:14px;
    margin-bottom:var(--spacing-md);
    text-align:center;
    width:100%;
  }

  /* ─── Search ───────────────────────────────────────────────── */
  .search-form{
    display:flex;
    justify-content:center;
    margin-bottom:10px;
  }

  .search-container{
    width:92%;
    height:56px;
    border-radius:var(--radius-full);
    display:flex;
    align-items:center;
    padding:6px var(--spacing-md);
    box-shadow:var(--shadow-md);
    border:1px solid var(--border-color);
    background:#fff;
    position:relative;
  }

  .search-icon{
    font-size:18px;
    color:var(--text-secondary);
    flex:0 0 22px;
    margin-left:4px;
  }

  .search-input{
    border:0;
    outline:0;
    font-size:16px;
    flex:1;
    color:var(--text-main);
    background:transparent;
    padding:6px 120px 6px 6px;
    font-family:var(--font-body);
  }

  .search-input::-webkit-search-cancel-button{
    display:none;
  }

  .search-actions{
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    display:flex;
    align-items:center;
    gap:var(--spacing-md);
  }

  .search-actions .fa-microphone,
  .search-actions .fa-camera{
    display:none;
    font-size:18px;
    color:var(--text-secondary);
  }

  .clear-search-btn{
    display:none;
    width:32px;
    height:32px;
    border-radius:50%;
    align-items:center;
    justify-content:center;
    background:transparent;
    border:none;
    cursor:pointer;
  }

  .clear-search-btn.visible{
    display:flex;
  }

  .clear-search-btn svg{
    width:16px;
    height:16px;
  }

  /* ─── Focus Areas ──────────────────────────────────────────── */
  .focus-areas{
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:12px 6px;
    color:var(--text-muted);
    font-size:14px;
    margin-bottom:var(--spacing-md);
    text-align:center;
    width:100%;
  }

  .focus-label{
    margin-bottom:var(--spacing-sm);
  }

  .focus-list{
    display:flex;
    gap:var(--spacing-md);
    margin-top:var(--spacing-sm);
    flex-wrap:wrap;
    justify-content:center;
  }

  .focus-item{
    color:var(--primary-color);
    cursor:pointer;
    font-weight:500;
  }

  /* ─── Trending ─────────────────────────────────────────────── */
  .trending-section{
    padding:6px 4px;
  }

  .section-title{
    margin:6px 4px;
    font-size:18px;
    font-family:var(--font-heading);
    font-weight:600;
  }

  .trending-list{
    border-top:1px solid #eee;
  }

  .trending-item{
    display:flex;
    align-items:center;
    gap:var(--spacing-md);
    padding:12px 6px;
    border-bottom:1px solid #f6f6f6;
  }

  .trending-icon{
    width:20px;
    color:var(--text-secondary);
  }

  .trending-content{
    flex:1;
  }

  .trending-meta{
    color:var(--text-muted);
    font-size:13px;
    margin-top:4px;
  }

  .trending-link{
    display:flex;
    align-items:center;
    gap:var(--spacing-md);
    width:100%;
    text-decoration:none;
    color:inherit;
    padding:8px 6px;
  }

  .trending-link:hover{
    background:#f5f7fa;
    border-radius:var(--radius-md);
  }

  .trending-more{
    color:#9aa0a6;
    font-size:14px;
    margin-left:auto;
  }

  /* ─── Footer ───────────────────────────────────────────────── */
  .site-footer{
    background:var(--footer-bg);
    padding:30px 20px;
    text-align:center;
    border-top:1px solid #ddd;
    font-size:14px;
    color:#555;
    margin-top:var(--spacing-xl);
  }

  .footer-links{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
    margin-bottom:8px;
  }

  .footer-links a{
    color:#444;
    text-decoration:none;
  }

  .footer-links .cookie-pref{
    color:#777;
    font-weight:500;
  }

  .social-links{
    display:flex;
    justify-content:center;
    gap:12px;
    margin:12px 0;
  }

  .social-links a{
    background:#222;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    border-radius:50%;
    transition:background 0.3s;
  }

  .social-links img{
    width:18px;
    height:18px;
    filter:invert(1);
  }

  .social-links a:hover{
    background:#444;
  }

  .feedback-button{
    background:#fff;
    border:1px solid #444;
    padding:8px 20px;
    border-radius:24px;
    font-weight:500;
    cursor:pointer;
    margin-bottom:10px;
    transition:all 0.2s ease-in-out;
    font-family:var(--font-body);
  }

  .feedback-button:hover{
    background:#f1f1f1;
  }

  .footer-copyright{
    margin-top:10px;
    font-size:13px;
    color:#999;
  }

  /* ─── Responsive ───────────────────────────────────────────── */
  @media (min-width:700px){
    .page-container{
      width:640px;
    }

    .search-container{
      height:60px;
    }
  }