@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
  :root{
    --bg:#ffffff; --surface:#ffffffdd; --surface2:#f2f3f7; --line:#e3e5ec;
    --lime:#8fc31f; --pink:#ff4d8d; --gold:#e8a800; --blue:#1c9fdb; --text:#14161c; --muted:#6b7280;
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  html,body{height:100%;}
  body{font-family:'Inter',system-ui,sans-serif; background:var(--bg); color:var(--text); -webkit-tap-highlight-color:transparent; overflow-x:hidden; padding-bottom:76px;}

  /* ===== Galaxy background (light-mode: soft pastel glow + colorful stars, no black space) ===== */
  #galaxy-canvas{position:fixed; inset:0; z-index:0; display:block;}
  #galaxy-glow{position:fixed; inset:0; z-index:0; pointer-events:none;
    background:radial-gradient(ellipse 60% 40% at 50% 20%, rgba(143,195,31,0.10), transparent 60%),
               radial-gradient(ellipse 50% 35% at 70% 60%, rgba(255,77,141,0.10), transparent 60%);}

  #topbar{position:sticky; top:0; z-index:20; backdrop-filter:blur(14px); background:rgba(255,255,255,0.75); border-bottom:1px solid var(--line); padding:14px 16px; display:flex; align-items:center; justify-content:space-between;}
  .brand{font-size:16px; font-weight:800; display:flex; align-items:center; gap:8px;}
  .brand-mark{width:26px;height:26px;border-radius:8px;background:linear-gradient(135deg,var(--lime),var(--pink));}
  .auth-btns{display:flex; gap:8px;}
  .btn-ghost{background:transparent; border:1px solid var(--line); color:var(--text); padding:8px 14px; border-radius:9px; font-size:12.5px; font-weight:700; cursor:pointer;}
  .btn-solid{background:var(--lime); border:none; color:#0b0e14; padding:8px 14px; border-radius:9px; font-size:12.5px; font-weight:800; cursor:pointer;}
  .icon-btn{background:var(--surface2); border:1px solid var(--line); color:var(--text); width:34px; height:34px; border-radius:9px; font-size:15px; cursor:pointer;}

  main{position:relative; z-index:5; padding:16px; max-width:1400px; margin:0 auto; display:flex; flex-direction:column; gap:20px;}
  @media(min-width:992px){
    main{flex-direction:row; align-items:flex-start;}
    .left-window{width:36%; position:sticky; top:80px; max-height:calc(100vh - 100px); overflow-y:auto;}
    .right-window{width:64%;}
  }
  .left-window, .right-window{width:100%;}
  .story-block{background:#fff; border:1px solid var(--line); border-radius:14px; padding:18px; margin-bottom:16px;}
  .story-block h3{font-size:14px; margin-bottom:8px;}
  .story-block p{font-size:12.5px; color:var(--muted); line-height:1.6; margin-bottom:10px;}
  .story-cta{background:linear-gradient(135deg,rgba(143,195,31,0.08),#fff); border:1px solid var(--lime);}
  .story-cta a{display:inline-block; background:var(--lime); color:#0b0e14; padding:10px 18px; border-radius:9px; text-decoration:none; font-weight:800; font-size:12.5px; margin-top:6px;}

  /* Wall of Love */
  .wall-grid{display:grid; grid-template-columns:1fr; gap:10px; margin-bottom:20px;}
  .wall-card{background:#fff; border:1px solid var(--line); border-radius:14px; padding:14px;}
  .wall-stars{color:var(--gold); font-size:13px; margin-bottom:6px;}
  .wall-quote{font-size:12.5px; color:var(--text); line-height:1.5; margin-bottom:8px;}
  .wall-author{font-size:11px; color:var(--muted); font-weight:700;}
  section.room{display:none;}
  section.room.active{padding-bottom:40px;}
  section.room.active{display:block;}
  h2.room-title{font-size:16px; margin-bottom:2px;}
  p.room-sub{color:var(--muted); font-size:12.5px; margin-bottom:14px;}
  .see-all{font-size:11.5px; color:var(--lime); cursor:pointer; font-weight:700;}
  .section-head{display:flex; justify-content:space-between; align-items:baseline; margin-bottom:4px;}

  .hero{padding:22px 4px 6px;}
  .hero h1{font-size:21px; margin-bottom:8px; line-height:1.3;}
  .hero p{font-size:13px; color:var(--muted); line-height:1.5; margin-bottom:14px;}
  .hero-video-wrap{aspect-ratio:16/9; background:#000; border-radius:14px; overflow:hidden; margin-bottom:14px; position:relative;}
  .hero-video-wrap iframe{width:100%; height:100%; border:0;}
  .hero-video-thumb{width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:#fff; font-size:14px; font-weight:700; cursor:pointer; background:linear-gradient(135deg,rgba(143,195,31,0.25),rgba(255,77,141,0.25)); text-align:center; padding:20px;}
  .hero-image-strip{display:flex; gap:8px; overflow-x:auto; padding-bottom:4px; margin-bottom:6px;}
  .hero-image-strip .hi-tile{flex:0 0 auto; width:100px; height:100px; border-radius:10px; overflow:hidden; cursor:pointer; position:relative; background:var(--surface2);}
  .hero-image-strip .hi-tile img{width:100%; height:100%; object-fit:cover;}
  .hero-image-strip .hi-empty{font-size:11px; color:var(--muted); padding:10px;}

  /* Free-until-threshold banner */
  .free-banner{background:linear-gradient(135deg,rgba(198,255,61,0.10),rgba(255,77,141,0.10)); border:1px solid var(--lime); border-radius:14px; padding:14px 16px; margin-bottom:20px;}
  .free-banner .fb-title{font-size:13px; font-weight:800; color:var(--lime); margin-bottom:4px;}
  .free-banner .fb-desc{font-size:11.5px; color:var(--muted); line-height:1.5; margin-bottom:10px;}
  .fb-track{height:8px; background:var(--surface2); border-radius:6px; overflow:hidden; border:1px solid var(--line); margin-bottom:6px;}
  .fb-fill{height:100%; background:linear-gradient(90deg,var(--lime),var(--gold)); width:0%; transition:width .5s;}
  .fb-count{font-size:10.5px; color:var(--muted);}

  .newsletter-masthead{padding:18px 4px 16px; border-bottom:2px solid var(--text); margin-bottom:16px;}
  .nm-badge{font-size:10px; font-weight:800; letter-spacing:1.2px; color:var(--pink); margin-bottom:8px;}
  .nm-title{font-family:Georgia,'Times New Roman',serif; font-size:26px; font-weight:700; color:var(--text); margin-bottom:6px; letter-spacing:-0.3px;}
  .nm-sub{font-size:12.5px; color:var(--muted); line-height:1.5; margin-bottom:14px;}
  .nm-write-btn{background:var(--text); color:#fff; border:none; padding:9px 18px; border-radius:24px; font-size:12px; font-weight:700; cursor:pointer;}

  .news-grid{display:grid; grid-template-columns:1fr; gap:0; margin-bottom:22px;}
  .news-card{background:#fff; border:none; border-bottom:1px solid var(--line); padding:18px 4px; border-radius:0;}
  .news-card:hover{background:var(--surface2);}
  .news-tag{font-size:9.5px; font-weight:800; letter-spacing:0.6px; padding:3px 9px; border-radius:4px; display:inline-block; margin-bottom:10px; text-transform:uppercase;}
  .news-tag.tech{background:#4dd0ff22; color:var(--blue);}
  .news-tag.money{background:#c6ff3d22; color:var(--lime);}
  .news-title{font-family:Georgia,'Times New Roman',serif; font-size:16.5px; font-weight:700; margin-bottom:6px; line-height:1.35; color:var(--text);}
  .news-summary{font-size:12.5px; color:var(--muted); line-height:1.6;}
  .news-source{font-size:10.5px; color:var(--muted); margin-top:10px; opacity:0.8; font-style:italic;}

  .offer-grid, .video-grid{display:grid; grid-template-columns:1fr; gap:10px; margin-bottom:22px;}
  .offer-card{background:var(--surface); backdrop-filter:blur(10px); border:1px solid var(--line); border-radius:14px; padding:14px; display:flex; align-items:center; justify-content:space-between; gap:10px;}
  .offer-info{display:flex; align-items:center; gap:12px;}
  .offer-icon{width:42px;height:42px;border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:18px;}
  .offer-name{font-size:13.5px; font-weight:700;}
  .offer-desc{font-size:11.5px; color:var(--muted); margin-top:2px;}
  .card-btn{background:var(--surface2); border:1px solid var(--line); color:var(--lime); padding:8px 14px; border-radius:9px; font-size:12px; font-weight:700; cursor:pointer;}
  .lock-note{font-size:10.5px; color:var(--gold); margin-top:4px;}

  .video-card{background:var(--surface); backdrop-filter:blur(10px); border:1px solid var(--line); border-radius:14px; padding:12px; display:flex; align-items:center; gap:12px;}
  .video-thumb{width:60px; height:60px; border-radius:10px; background:#000; display:flex; align-items:center; justify-content:center; font-size:18px; color:var(--muted); flex-shrink:0; cursor:pointer;}
  .video-title{font-size:12.5px; font-weight:700;}

  /* Full video grid (Videos room) */
  .video-full-grid{display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px;}
  .video-full-card{background:var(--surface); border:1px solid var(--line); border-radius:12px; overflow:hidden;}
  .video-full-thumb{aspect-ratio:9/16; background:#000; display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:22px; cursor:pointer;}
  .video-full-card iframe{width:100%; aspect-ratio:9/16; border:0; display:block;}
  .video-full-card .vlabel{padding:8px 10px; font-size:11.5px; color:var(--muted);}
  .video-full-wide{grid-column:1/-1;}
  .video-full-wide .video-full-thumb, .video-full-wide iframe{aspect-ratio:16/9;}
  .upload-card{background:var(--surface2); border:1px dashed var(--line); border-radius:14px; padding:16px; text-align:center; margin-bottom:16px;}
  .upload-card h3{font-size:13px; margin-bottom:6px; color:var(--gold);}
  .upload-card p{font-size:11.5px; color:var(--muted); margin-bottom:12px; line-height:1.5;}
  .btn-primary{background:var(--lime); color:#0b0e14; border:none; padding:10px 18px; border-radius:9px; font-weight:800; font-size:12.5px; cursor:pointer;}

  .watch-tabs{display:flex; gap:8px; margin-bottom:16px;}
  .watch-tab{padding:8px 16px; border-radius:20px; background:var(--surface); border:1px solid var(--line); font-size:12.5px; color:var(--muted); cursor:pointer;}
  .watch-tab.active{background:var(--lime); color:#0b0e14; border-color:var(--lime); font-weight:700;}
  .watch-panel{display:none;}
  .watch-panel.active{display:block;}
  .leftfeed-panel{display:none;}
  .leftfeed-panel.active{display:block;}
  .live-grid{display:grid; grid-template-columns:1fr; gap:12px;}
  .live-card{background:var(--surface); border:1px solid var(--line); border-radius:14px; overflow:hidden;}
  .live-card .live-frame-wrap{aspect-ratio:16/9; background:#000; position:relative;}
  .live-card iframe{width:100%; height:100%; border:0;}
  .live-thumb{width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:26px; cursor:pointer;}
  .live-dot{position:absolute; top:8px; left:8px; background:var(--pink); color:#fff; font-size:9px; font-weight:800; padding:3px 8px; border-radius:10px; display:flex; align-items:center; gap:4px; z-index:2;}
  .live-dot::before{content:''; width:6px; height:6px; border-radius:50%; background:#fff;}
  .live-meta{padding:10px 12px;}
  .live-title{font-size:12.5px; font-weight:700;}
  .live-platform{font-size:10.5px; color:var(--muted); margin-top:2px;}

  /* Games */
  .game-grid{display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px;}
  .game-card{background:var(--surface); border:1px solid var(--line); border-radius:14px; overflow:hidden; cursor:pointer; position:relative;}
  .game-thumb{height:64px; background:linear-gradient(135deg,var(--surface2),#000); display:flex; align-items:center; justify-content:center; font-size:30px;}
  .game-meta{padding:7px;}
  .game-name{font-size:10.5px; font-weight:700;}
  .game-dev{font-size:9px; color:var(--muted); margin-top:2px;}
  #game-stage{display:none; background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:16px; margin-top:14px;}
  .game-score-line{font-size:12.5px; color:var(--muted); margin-bottom:12px; text-align:center;}

  /* Quick Quiz */
  .quiz-question{font-size:15px; font-weight:700; margin-bottom:14px; text-align:center;}
  .quiz-options{display:grid; grid-template-columns:1fr; gap:8px;}
  .quiz-option{background:var(--surface2); border:1px solid var(--line); border-radius:10px; padding:12px; font-size:13px; cursor:pointer; text-align:left;}
  .quiz-option.correct{background:rgba(143,195,31,0.25); border-color:var(--lime);}
  .quiz-option.wrong{background:rgba(255,77,141,0.2); border-color:var(--pink);}

  /* Spin Wheel */
  .wheel-stage{display:flex; flex-direction:column; align-items:center; padding:10px 0;}
  .wheel-outer{position:relative; width:220px; height:220px; margin-bottom:16px;}
  .wheel-disc{width:100%; height:100%; border-radius:50%; border:6px solid var(--gold); transition:transform 4s cubic-bezier(.17,.67,.32,1.3); background:conic-gradient(var(--lime) 0deg 60deg, var(--pink) 60deg 120deg, var(--gold) 120deg 180deg, var(--blue) 180deg 240deg, var(--lime) 240deg 300deg, var(--pink) 300deg 360deg);}
  .wheel-pointer{position:absolute; top:-14px; left:50%; transform:translateX(-50%); font-size:22px;}
  .wheel-labels{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:800; color:#fff; pointer-events:none;}

  /* Scratch Card */
  .scratch-wrap{position:relative; width:100%; max-width:280px; margin:10px auto; aspect-ratio:3/2; border-radius:12px; overflow:hidden;}
  .scratch-prize{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:16px; font-weight:800; background:linear-gradient(135deg,var(--lime),var(--gold)); color:#0b0e14;}
  .scratch-canvas{position:absolute; inset:0; cursor:pointer; touch-action:none;}

  /* Memory Match */
  .memory-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:8px; max-width:320px; margin:0 auto;}
  .memory-card{aspect-ratio:1/1; background:var(--surface2); border:1px solid var(--line); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:22px; cursor:pointer;}
  .memory-card.flipped{background:var(--lime);}
  .memory-card.matched{background:var(--gold); opacity:0.6; cursor:default;}

  /* Reaction Time */
  .reaction-box{width:100%; max-width:280px; aspect-ratio:1/1; margin:10px auto; border-radius:16px; display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:700; color:#fff; cursor:pointer; transition:background .15s;}
  .reaction-box.waiting{background:var(--pink);}
  .reaction-box.go{background:var(--lime); color:#0b0e14;}

  .withdraw-card{background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:12px 14px; margin-bottom:8px; display:flex; justify-content:space-between; align-items:center; gap:10px;}
  .withdraw-amount{font-size:13px; font-weight:800; color:var(--lime);}
  .withdraw-meta{font-size:10.5px; color:var(--muted); margin-top:2px;}
  .withdraw-status{font-size:9.5px; font-weight:800; padding:3px 8px; border-radius:10px; white-space:nowrap; text-transform:uppercase;}
  .withdraw-status.pending{background:#f5e6a3; color:#8a6d00;}
  .withdraw-status.paid{background:#c9f5d8; color:#0a6b32;}
  .withdraw-status.rejected{background:#fbd4d4; color:#a30000;}
  #game-stage iframe{width:100%; aspect-ratio:4/3; border:0; border-radius:10px;}
  #game-stage .stage-title{font-size:13px; font-weight:700; padding:6px 4px;}
  .submit-game-card{background:var(--surface2); border:1px dashed var(--line); border-radius:14px; padding:16px; text-align:center; margin-top:16px;}
  .submit-game-card h3{font-size:13px; margin-bottom:6px; color:var(--gold);}
  .submit-game-card p{font-size:11.5px; color:var(--muted); margin-bottom:12px; line-height:1.5;}
  .sponsored-badge{position:absolute; top:6px; left:6px; background:var(--gold); color:#0b0e14; font-size:8.5px; font-weight:800; padding:2px 6px; border-radius:5px; z-index:2;}
  .plan-grid{display:grid; grid-template-columns:1fr; gap:10px; margin:14px 0;}
  .plan-card{background:var(--surface2); border:1px solid var(--line); border-radius:12px; padding:12px 14px; display:flex; justify-content:space-between; align-items:center; cursor:pointer;}
  .plan-card.selected{border-color:var(--lime); background:rgba(143,195,31,0.08);}
  .plan-name{font-size:12.5px; font-weight:700; color:var(--text);}
  .plan-desc{font-size:10.5px; color:var(--muted); margin-top:2px;}
  .plan-price{font-size:14px; font-weight:800; color:var(--gold);}

  .vast-player-wrap{position:relative; width:100%; aspect-ratio:16/9; background:#000; border-radius:10px; overflow:hidden;}
  .vast-player-empty{width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:11px; text-align:center; padding:16px; background:var(--surface2);}
  #vast-content-video, #vast-ad-container{position:absolute; inset:0; width:100%; height:100%;}

  /* Marketplace */
  .market-toolbar{display:flex; gap:8px; margin-bottom:14px;}
  .market-toolbar input{flex:1; padding:10px; border-radius:9px; border:1px solid var(--line); background:var(--surface); color:var(--text); font-size:13px;}
  .listing-grid{display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px;}
  .listing-card{background:var(--surface); border:1px solid var(--line); border-radius:14px; overflow:hidden; cursor:pointer; position:relative;}
  .listing-img{height:70px; background:var(--surface2); display:flex; align-items:center; justify-content:center; font-size:24px; color:var(--muted);}
  .listing-body{padding:8px;}
  .listing-price{font-size:12px; font-weight:800; color:var(--lime);}
  .listing-title{font-size:10px; margin-top:2px; color:var(--text);}
  .listing-loc{font-size:10px; color:var(--muted); margin-top:3px;}
  .fab{position:fixed; bottom:86px; right:16px; width:52px; height:52px; border-radius:50%; background:var(--lime); border:none; font-size:22px; font-weight:800; color:#0b0e14; cursor:pointer; z-index:15; box-shadow:0 4px 14px rgba(0,0,0,.4);}

  .modal-overlay{display:none; position:fixed; inset:0; background:rgba(0,0,0,.8); z-index:60; align-items:flex-end; justify-content:center;}
  .modal-sheet{background:var(--surface); backdrop-filter:blur(16px); border-radius:18px 18px 0 0; padding:20px; width:100%; max-width:480px; max-height:85vh; overflow-y:auto;}
  .modal-sheet h3{font-size:15px; margin-bottom:4px;}
  .modal-sheet p.sub{color:var(--muted); font-size:12.5px; margin-bottom:16px;}
  .modal-sheet input, .modal-sheet textarea{width:100%; padding:11px; margin-bottom:10px; border-radius:9px; border:1px solid var(--line); background:var(--bg); color:var(--text); font-size:13px;}
  .modal-sheet button.full{width:100%; padding:12px; border:none; border-radius:9px; background:var(--lime); color:#0b0e14; font-weight:800; font-size:14px; cursor:pointer; margin-top:4px;}
  .modal-close{float:right; background:none; border:none; color:var(--muted); font-size:18px; cursor:pointer;}
  .divider{display:flex; align-items:center; gap:10px; margin:14px 0; color:var(--muted); font-size:11px;}
  .divider::before, .divider::after{content:''; flex:1; height:1px; background:var(--line);}
  #google-btn{width:100%; background:var(--surface2); color:var(--text); border:1px solid var(--line); border-radius:9px; padding:11px; display:flex; align-items:center; justify-content:center; gap:10px; cursor:pointer; font-size:13px; font-weight:600;}
  #auth-toggle{text-align:center; margin-top:12px; font-size:13px; color:var(--muted); cursor:pointer;}
  #auth-toggle span{color:var(--lime); font-weight:600;}
  .chat-box{border:1px solid var(--line); border-radius:10px; padding:10px; height:220px; overflow-y:auto; margin-bottom:10px; background:var(--bg);}
  .chat-msg{font-size:12px; padding:6px 10px; border-radius:8px; margin-bottom:6px; max-width:80%;}
  .chat-msg.mine{background:var(--lime); color:#0b0e14; margin-left:auto;}
  .chat-msg.theirs{background:var(--surface2); color:var(--text);}
  .chat-input-row{display:flex; gap:8px;}
  .chat-input-row input{flex:1; margin:0;}
  .chat-input-row button{background:var(--lime); border:none; border-radius:9px; padding:0 16px; font-weight:800; cursor:pointer;}

  /* More menu */
  .more-tabs{display:flex; gap:8px; margin-bottom:16px; overflow-x:auto;}
  .more-tab{padding:8px 14px; border-radius:20px; background:var(--surface); border:1px solid var(--line); font-size:12px; color:var(--muted); white-space:nowrap; cursor:pointer;}
  .more-tab.active{background:var(--lime); color:#0b0e14; border-color:var(--lime); font-weight:700;}
  .more-panel{display:none;}
  .more-panel.active{display:block;}
  .aff-card{background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:14px; margin-bottom:10px; display:flex; justify-content:space-between; align-items:center; gap:10px;}
  .aff-name{font-size:13.5px; font-weight:700;}
  .aff-tag{font-size:11px; color:var(--pink); margin-top:2px;}
  .aff-btn{background:var(--pink); color:#fff; border:none; padding:8px 14px; border-radius:9px; font-size:12px; font-weight:700; cursor:pointer;}
  .about-block{background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:16px; margin-bottom:12px; font-size:12.5px; color:var(--muted); line-height:1.6;}
  .about-block h3{color:var(--text); font-size:13.5px; margin-bottom:8px;}
  .about-block a{color:var(--lime);}

  /* My Store */
  .store-setup{background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:16px; margin-bottom:16px;}
  .store-toggle{display:flex; align-items:center; justify-content:space-between; background:var(--surface2); border-radius:10px; padding:10px 14px; margin-top:10px;}
  .switch{position:relative; width:42px; height:24px;}
  .switch input{opacity:0; width:0; height:0;}
  .switch-track{position:absolute; inset:0; background:var(--line); border-radius:20px; cursor:pointer; transition:.2s;}
  .switch-track::before{content:''; position:absolute; width:18px; height:18px; left:3px; top:3px; background:#fff; border-radius:50%; transition:.2s;}
  .switch input:checked + .switch-track{background:var(--lime);}
  .switch input:checked + .switch-track::before{transform:translateX(18px);}
  .store-link-box{display:flex; gap:8px; align-items:center; margin-top:10px; background:var(--surface2); border-radius:9px; padding:8px 10px;}
  .store-link-box input{flex:1; border:none; background:transparent; font-size:11.5px; color:var(--muted);}
  .store-product-grid{display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; margin-top:14px;}
  .store-product-card{background:#fff; border:1px solid var(--line); border-radius:12px; padding:10px; position:relative;}
  .store-product-card .sp-icon{font-size:26px; margin-bottom:6px;}
  .store-product-card .sp-name{font-size:11px; font-weight:700;}
  .store-product-card .sp-price{font-size:11px; color:var(--lime); font-weight:800; margin-top:2px;}
  .store-product-card .sp-remove{position:absolute; top:6px; right:6px; background:var(--surface2); border:none; border-radius:6px; width:20px; height:20px; font-size:11px; color:var(--pink); cursor:pointer;}
  .public-store-banner{background:linear-gradient(135deg,rgba(143,195,31,0.10),rgba(255,77,141,0.08)); border:1px solid var(--lime); border-radius:16px; padding:20px; margin-bottom:20px; text-align:center;}
  .public-store-banner h1{font-size:20px; margin-bottom:4px;}
  .public-store-banner p{font-size:12.5px; color:var(--muted);}

  /* Content Repurposing tool */
  .repurpose-form textarea{width:100%; min-height:100px; padding:12px; border-radius:9px; border:1px solid var(--line); background:var(--bg); color:var(--text); font-size:13px; margin-bottom:10px;}
  .platform-chips{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px;}
  .platform-chip{padding:7px 14px; border-radius:18px; background:var(--surface2); border:1px solid var(--line); font-size:12px; color:var(--muted); cursor:pointer;}
  .platform-chip.active{background:var(--lime); color:#0b0e14; border-color:var(--lime); font-weight:700;}
  .repurpose-result{background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:14px; margin-top:12px; font-size:12.5px; white-space:pre-wrap; line-height:1.6; display:none;}

  /* Real Estate category */
  .category-chips{display:flex; gap:8px; margin-bottom:14px; overflow-x:auto;}
  .category-chip{padding:7px 14px; border-radius:18px; background:var(--surface2); border:1px solid var(--line); font-size:12px; color:var(--muted); white-space:nowrap; cursor:pointer;}
  .category-chip.active{background:var(--lime); color:#0b0e14; border-color:var(--lime); font-weight:700;}
  .property-badge{position:absolute; top:6px; left:6px; background:var(--blue); color:#fff; font-size:8.5px; font-weight:800; padding:2px 6px; border-radius:5px;}

  /* Social feed — Instagram-style 3x3 grid */
  .social-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:6px; margin-bottom:22px;}
  .social-tile{aspect-ratio:1/1; background:var(--surface); border:1px solid var(--line); border-radius:8px; position:relative; overflow:hidden; cursor:pointer; display:flex; align-items:center; justify-content:center; padding:8px; text-align:center;}
  .social-tile img{width:100%; height:100%; object-fit:cover;}
  .social-tile .st-title{font-size:10px; font-weight:700; color:var(--text); line-height:1.3;}
  .social-tile .st-badge{position:absolute; top:5px; right:5px; font-size:9px; background:var(--surface2); padding:2px 5px; border-radius:5px;}
  .social-tile .st-author{position:absolute; bottom:5px; left:5px; font-size:8.5px; color:#fff; background:rgba(0,0,0,0.5); padding:2px 6px; border-radius:5px;}

  /* AI Studio */
  .engine-chips{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px;}
  .engine-chip{padding:8px 14px; border-radius:18px; background:var(--surface2); border:1px solid var(--line); font-size:12px; color:var(--muted); cursor:pointer; display:flex; align-items:center; gap:6px;}
  .engine-chip.active{background:var(--lime); color:#0b0e14; border-color:var(--lime); font-weight:700;}
  .engine-chip.external{opacity:0.85;}
  .engine-note{font-size:11px; color:var(--gold); margin-bottom:14px; background:var(--surface2); padding:8px 12px; border-radius:9px; display:none;}
  .ai-output-img{width:100%; border-radius:10px; margin-top:10px; display:none;}

  /* Ad modals (owner revenue) */
  #preroll-modal, #shorts-ad-modal, #levelup-modal{display:none; position:fixed; inset:0; background:rgba(0,0,0,.85); z-index:70; align-items:center; justify-content:center; padding:20px;}
  .levelup-badge{font-size:14px; font-weight:800; color:var(--gold); margin-bottom:4px;}
  .levelup-level-num{font-size:24px; font-weight:800; color:var(--text); margin-bottom:6px;}

  .game-xp-hud{display:flex; align-items:center; gap:10px; background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:10px 14px; margin-bottom:14px;}
  .gxp-level{font-size:12.5px; font-weight:800; color:var(--gold); white-space:nowrap;}
  .gxp-track{flex:1; height:8px; background:var(--surface2); border-radius:6px; overflow:hidden;}
  .gxp-fill{height:100%; background:linear-gradient(90deg,var(--lime),var(--gold)); width:0%; transition:width .4s;}
  .gxp-count{font-size:10.5px; color:var(--muted); white-space:nowrap;}
  .ad-box{background:var(--surface); border:1px solid var(--lime); border-radius:16px; padding:22px; text-align:center; max-width:320px; width:100%;}
  .ad-slot{background:var(--surface2); border:1px dashed var(--line); border-radius:10px; padding:30px 10px; margin:14px 0; font-size:11px; color:var(--muted);}
  .ad-box button{background:var(--lime); border:none; padding:10px 22px; border-radius:9px; font-weight:800; cursor:pointer;}
  .ad-box button:disabled{background:var(--surface2); color:var(--muted); cursor:not-allowed;}

  /* Bottom mobile nav (no sidebar anywhere on the site) */
  #site-footer{position:relative; z-index:5; max-width:1400px; margin:0 auto; padding:24px 16px 100px; text-align:center; border-top:1px solid var(--line);}
  .footer-links{font-size:12px; margin-bottom:8px;}
  .footer-links a{color:var(--muted); text-decoration:none; margin:0 4px;}
  .footer-links a:hover{color:var(--lime);}
  .footer-links span{color:var(--line);}
  .footer-copy{font-size:11px; color:var(--muted);}

  #bottomnav{position:fixed; bottom:0; left:0; right:0; background:rgba(255,255,255,0.9); backdrop-filter:blur(14px); border-top:1px solid var(--line); display:flex; z-index:20;}
  #bottomnav button{flex:1; background:none; border:none; color:var(--muted); padding:10px 2px 8px; font-size:9.5px; display:flex; flex-direction:column; align-items:center; gap:4px; cursor:pointer;}
  #bottomnav button .ic{font-size:18px;}
  #bottomnav button.active{color:var(--lime);}
