:root{
  --bg:#090a10;--panel:#10131e;--panel2:#151927;--line:#252b3f;--text:#f7f8ff;--muted:#9da7bf;
  --purple:#7c5cff;--pink:#ff4ca7;--orange:#ff7b32;--green:#4fe39b;--yellow:#ffd659;--blue:#48a8ff;
  --r:22px;--shadow:0 24px 80px rgba(0,0,0,.42)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:
 radial-gradient(circle at 80% -10%,rgba(124,92,255,.16),transparent 34%),
 radial-gradient(circle at 0 35%,rgba(255,76,167,.08),transparent 28%),var(--bg);
 color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.45;overflow-x:hidden}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #aa95ff;outline-offset:3px}
a{color:inherit;text-decoration:none}
.shell{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.ambient{position:fixed;border-radius:999px;filter:blur(100px);pointer-events:none;z-index:-1;opacity:.15}
.a1{width:380px;height:380px;background:#6a39ff;right:-150px;top:140px}.a2{width:300px;height:300px;background:#ff3b8b;left:-160px;top:700px}
.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;width:min(1240px,calc(100% - 28px));margin:auto;position:relative;z-index:20}
.brand{display:flex;align-items:center;gap:9px;font-weight:950;font-size:19px;letter-spacing:-.4px}
.brand-mark{width:34px;height:34px;border:1px solid #3b4055;border-radius:11px;display:grid;place-items:center;background:#141723}
.brand small{font-size:9px;color:#a797ff;border:1px solid #514786;border-radius:6px;padding:2px 5px;letter-spacing:.8px}
.top-actions{display:flex;gap:8px}.ghost-btn,.profile-pill{height:40px;border:1px solid var(--line);background:#111520;color:var(--text);border-radius:12px;padding:0 14px;font-weight:800}
.profile-pill{display:flex;align-items:center;gap:8px}.profile-pill span{width:25px;height:25px;border-radius:8px;background:linear-gradient(135deg,var(--purple),var(--pink));display:grid;place-items:center;font-size:12px}
.hero{min-height:560px;display:grid;grid-template-columns:1.15fr .85fr;gap:64px;align-items:center;padding-block:70px 80px}
.eyebrow{font-size:11px;font-weight:950;letter-spacing:1.8px;color:#a994ff}
.hero h1{font-size:clamp(46px,7vw,82px);line-height:.97;letter-spacing:-4px;margin:14px 0 22px;max-width:760px}
.hero h1 em{font-style:normal;background:linear-gradient(90deg,#ff6fbc,#ff8b42,#ffe27b);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-copy>p{font-size:19px;color:#b4bdd2;max-width:660px;margin:0 0 28px}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.big{min-height:52px;padding:0 22px}
.primary,.secondary,.challenge-btn,.mini-cta{border-radius:14px;font-weight:950;border:0}
.primary{background:linear-gradient(135deg,#7356ff,#9c5cff);color:white;box-shadow:0 12px 36px rgba(124,92,255,.25)}
.primary:hover{filter:brightness(1.08);transform:translateY(-1px)}
.secondary{background:#151927;color:#fff;border:1px solid #30364c}
.proof-row{display:flex;align-items:center;gap:12px;color:#7f8aa4;font-size:12px;margin-top:26px}.proof-row b{color:#d5dbeb}.proof-row i{width:3px;height:3px;background:#51596f;border-radius:50%}
.daily-card{background:linear-gradient(160deg,rgba(124,92,255,.22),rgba(255,76,167,.07) 50%,#111521);border:1px solid #373250;border-radius:28px;padding:28px;box-shadow:var(--shadow);position:relative;overflow:hidden}
.daily-card:after{content:"";position:absolute;width:160px;height:160px;border-radius:50%;background:#8b5fff33;right:-70px;top:-50px;filter:blur(10px)}
.daily-top{display:flex;justify-content:space-between;gap:10px;color:#b9aaff;font-size:10px;font-weight:950;letter-spacing:1.4px}
.live-dot{color:#7cffb3}.live-dot:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#46f48d;margin-right:5px;box-shadow:0 0 0 5px #46f48d18}
.daily-card h2{font-size:32px;letter-spacing:-1.3px;margin:34px 0 10px}.daily-card p{color:#bac2d5;font-size:16px;margin-bottom:22px}
.daily-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:15px}.daily-options span{padding:11px 12px;text-align:center;border:1px solid #343a50;border-radius:12px;background:#0d1018;font-weight:850}
.challenge-btn{width:100%;min-height:49px;background:#fff;color:#0a0b11}.challenge-btn:hover{background:#eeeaff}
.score-strip{display:grid;grid-template-columns:repeat(4,1fr) auto;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:18px;overflow:hidden;margin-bottom:100px}
.score-strip>div{background:#0e111a;padding:17px 20px;display:flex;flex-direction:column;gap:3px}.score-strip span{font-size:9px;color:#737f9a;font-weight:900;letter-spacing:1px}.score-strip b{font-size:18px}
.mini-cta{border-radius:0;background:#171b29;color:#c9bdff;padding:0 22px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:26px}.section-head h2{font-size:34px;letter-spacing:-1.5px;margin:6px 0 0}.section-head>p{max-width:380px;color:var(--muted)}
.compact{align-items:center}.templates,.leader-preview,.fresh{margin-bottom:100px}
.template-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.template-card{min-height:158px;text-align:left;color:white;border:1px solid var(--line);border-radius:20px;padding:22px;background:#111521;transition:.18s;position:relative;overflow:hidden}
.template-card:after{content:"";position:absolute;inset:auto -30px -60px auto;width:120px;height:120px;border-radius:50%;filter:blur(20px);opacity:.18}
.template-card:hover{transform:translateY(-3px);border-color:#4a526e}.template-card>span{display:block;font-size:28px;margin-bottom:28px}.template-card b{display:block;font-size:18px}.template-card small{color:#8d98b0}
.template-card.hot:after{background:#ff633b}.template-card.pick:after{background:#50a6ff}.template-card.opinion:after{background:#ff4ca7}.template-card.finish:after{background:#a06aff}.template-card.question:after{background:#48e0a2}.template-card.custom:after{background:#ffd659}
.text-btn{background:none;border:0;color:#b6a8ff;font-weight:850}
.leader-list{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#0e1119}
.leader-row{display:grid;grid-template-columns:50px minmax(0,1.7fr) 100px 100px 100px;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #1e2434}.leader-row:last-child{border:0}.leader-row:hover{background:#131725}
.rank-num{font-weight:950;color:#78839d}.rank-num.top{color:#ffd75d}.leader-copy{min-width:0}.leader-copy b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leader-copy small{color:#7f8aa3}.leader-score{font-size:24px;font-weight:950;color:#ff8a57}.leader-stat{font-size:12px;color:#aab3c7}
.how{margin-bottom:90px}.how-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:20px;overflow:hidden}.how-grid>div{padding:25px;border-right:1px solid var(--line);background:#0f121b}.how-grid>div:last-child{border:0}.how-grid strong{color:#4b536a;font-size:12px}.how-grid span{display:block;font-weight:950;margin:22px 0 5px}.how-grid p{color:#8893aa;margin:0;font-size:13px}
.ad-zone{border-top:1px solid #1c2130;border-bottom:1px solid #1c2130;padding:22px 0;margin-bottom:90px;min-height:72px}.ad-label{display:block;text-align:center;font-size:8px;letter-spacing:1.2px;color:#555e73;margin-bottom:8px}
.fresh-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.fresh-card{background:#10131d;border:1px solid var(--line);border-radius:18px;padding:18px;text-align:left;color:white}.fresh-card:hover{border-color:#404860}.fresh-card small{color:#8893aa}.fresh-card h3{font-size:17px;margin:15px 0 6px}.fresh-card p{color:#c8cede;margin:0 0 16px}.fresh-stats{display:flex;gap:12px;color:#79849d;font-size:11px}.fresh-score{float:right;color:#ff8a57;font-weight:950}
.footer{border-top:1px solid var(--line);padding:32px 0 45px;display:grid;grid-template-columns:1fr auto;gap:18px}.footer>div{display:flex;gap:14px;align-items:center}.footer span,.footer small{color:#778299}.footer button{background:none;border:0;color:#9ca7bd}.footer small{grid-column:1/-1;font-size:11px;max-width:840px}
.overlay{position:fixed;inset:0;background:rgba(4,5,10,.78);backdrop-filter:blur(14px);z-index:100;display:none;align-items:center;justify-content:center;padding:18px;overflow:auto}.overlay.open{display:flex}
.sheet{width:min(1100px,100%);max-height:min(900px,calc(100dvh - 36px));overflow:auto;scrollbar-width:none;background:#0f121b;border:1px solid #2c3348;border-radius:26px;box-shadow:var(--shadow);position:relative}
.close{position:absolute;right:15px;top:15px;width:38px;height:38px;border-radius:12px;border:1px solid #30374d;background:#171b28;color:white;font-size:24px;z-index:4}
.creator-sheet,.result-sheet{display:grid;grid-template-columns:1fr 1fr}.creator-left{padding:38px}.creator-left h2,.modal-head h2{font-size:36px;letter-spacing:-1.4px;margin:8px 0}.creator-left>p,.modal-head p{color:#8995ad}
.field{display:block;margin-top:17px;position:relative}.field>span{display:block;color:#78849d;font-size:9px;font-weight:950;letter-spacing:1.3px;margin-bottom:7px}.field input,.field textarea,.field select,.profile-sheet select{width:100%;border:1px solid #2c3348;background:#0a0d14;color:white;border-radius:13px;padding:13px 14px;resize:none}.field textarea:focus,.field input:focus,.field select:focus{border-color:#715de2}.field small{position:absolute;right:10px;bottom:8px;color:#566077;font-size:9px}
.pick-fields{display:grid;grid-template-columns:1fr 34px 1fr;gap:8px;align-items:end}.vs{height:45px;display:grid;place-items:center;font-size:10px;font-weight:950;color:#7b86a0}.hidden{display:none!important}
.switch-row{display:flex;align-items:center;gap:10px;margin:17px 0;color:#9aa5bc;font-size:12px}.switch-row input{display:none}.switch-row i{width:35px;height:20px;border-radius:20px;background:#33394b;position:relative}.switch-row i:before{content:"";position:absolute;width:14px;height:14px;border-radius:50%;background:#fff;left:3px;top:3px;transition:.2s}.switch-row input:checked+i{background:#7657ff}.switch-row input:checked+i:before{left:18px}
.create-submit{width:100%;min-height:49px}.tiny{font-size:10px!important;color:#5f6980!important}
.creator-preview{padding:38px;background:linear-gradient(145deg,#161b2a,#0c0f16);display:flex;flex-direction:column;justify-content:center}.preview-label{display:flex;justify-content:space-between;font-size:9px;color:#6f7a92;font-weight:950;letter-spacing:1px;margin-bottom:10px}
.share-card{aspect-ratio:1/1;background:
 radial-gradient(circle at 80% 10%,rgba(255,93,190,.34),transparent 25%),
 linear-gradient(145deg,#201a47,#0d1224 55%,#13172b);border:1px solid #494168;border-radius:24px;padding:30px;display:flex;flex-direction:column;box-shadow:0 28px 70px #0008;overflow:hidden}
.card-brand{font-size:11px;font-weight:950;letter-spacing:1.5px}.card-template{margin-top:auto;color:#ff8fc7;font-size:11px;font-weight:950;letter-spacing:2px}.card-prompt{font-size:clamp(18px,2.4vw,31px);font-weight:950;line-height:1.06;letter-spacing:-1px;margin:9px 0}.card-answer{font-size:clamp(22px,3.4vw,44px);font-weight:950;line-height:1.02;letter-spacing:-1.5px;color:#fff}.card-bottom{margin-top:auto;padding-top:18px;border-top:1px solid #ffffff1f;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;font-size:9px;font-weight:950;color:#aeb7cc}.card-site{min-width:0;text-align:center;color:#ff9bbe;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:.15px}.card-cta{text-align:right;white-space:nowrap}
.result-main{padding:34px}.result-banner{font-size:10px;letter-spacing:1.5px;font-weight:950;color:#70f6a5}.result-main h2{font-size:38px;letter-spacing:-1.5px;margin:8px 0}.result-main h2 em{color:#ff8e5e;font-style:normal}.result-main>p{color:#9aa5bb}
.result-card-wrap{position:relative;max-width:520px;margin:20px auto}.result-card{width:100%}.download-chip{position:absolute;right:12px;bottom:12px;border:1px solid #ffffff2b;background:#090b12cc;color:#fff;border-radius:11px;padding:8px 11px;font-size:11px}
.share-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.share-actions button{min-height:44px;border:0;border-radius:12px;color:white;font-weight:900}.x-share{background:#000}.fb-share{background:#2765d8}.copy-share{background:#1c2232}.native-share{background:linear-gradient(100deg,#ff653f,#ff3d91);box-shadow:0 8px 24px #ff3d9124}
.reward-note{background:#171b29;border:1px solid #262d40;border-radius:12px;padding:10px 12px;margin-top:10px;font-size:11px;color:#9ca7bd}
.score-panel{border-left:1px solid var(--line);background:#0b0e15;padding:38px;display:flex;flex-direction:column}.mega-score{display:flex;align-items:baseline;margin:18px 0}.mega-score b{font-size:82px;line-height:.8;letter-spacing:-5px;background:linear-gradient(180deg,#fff,#ff8e5f);-webkit-background-clip:text;background-clip:text;color:transparent}.mega-score span{color:#6f7990}
.rank-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:20px}.rank-grid div{background:#121621;border:1px solid #202639;border-radius:12px;padding:11px}.rank-grid span{display:block;color:#707b93;font-size:8px;font-weight:950}.rank-grid b{font-size:18px}
.metric-list{border-top:1px solid var(--line);margin-top:4px}.metric-list div{display:flex;justify-content:space-between;padding:12px 2px;border-bottom:1px solid #1d2231;font-size:12px}.metric-list span{color:#8f9ab1}.metric-list b{color:#fff}
.challenge-big,.react-btn{min-height:46px;border:0;border-radius:12px;font-weight:950;margin-top:12px}.challenge-big{background:linear-gradient(135deg,#ff6f36,#ff3b88);color:#fff}.react-btn{background:#1b2130;color:#ffc364;border:1px solid #30384d}.report-btn{margin-top:auto;padding-top:18px;background:none;border:0;color:#59647c;font-size:10px}
.leaderboard-sheet,.profile-sheet,.info-sheet{max-width:900px;padding:36px}.modal-head{margin-bottom:22px}.tabs{display:flex;gap:7px;margin-bottom:9px;overflow:auto}.tabs button{border:1px solid #2b3246;background:#111521;color:#8f9bb2;border-radius:12px;padding:10px 14px;font-weight:850;white-space:nowrap}.tabs button.active{background:#7860ff;color:white;border-color:#7860ff}.tabs.small button{padding:7px 11px;font-size:11px}.leader-table{margin-top:18px;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.profile-layout{display:grid;grid-template-columns:1fr .9fr;gap:28px}.profile-layout form .primary{width:100%;min-height:46px;margin-top:18px}.prefix{display:flex;align-items:center;border:1px solid #2c3348;background:#0a0d14;border-radius:13px;padding-left:13px}.prefix b{color:#657089}.prefix input{border:0!important;padding-left:3px!important}
.player-card{border:1px solid #343a50;border-radius:20px;background:linear-gradient(145deg,#1b1740,#0e121d);padding:26px;text-align:center}.player-avatar{width:70px;height:70px;border-radius:22px;margin:auto;background:linear-gradient(135deg,#785fff,#ff4ea7);display:grid;place-items:center;font-size:28px;font-weight:950}.player-card h3{font-size:25px;margin:12px 0 0}.player-card>span{color:#8d98af}.player-level{display:flex;justify-content:center;gap:8px;margin:17px 0}.player-level b,.player-level span{background:#0b0e16;border-radius:9px;padding:5px 8px;font-size:10px}.player-level b{color:#ffb25f}.player-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.player-stats div{background:#0b0e16;border-radius:11px;padding:10px 5px}.player-stats b{display:block}.player-stats span{font-size:7px;color:#69758e}
.score-explain{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:22px 0}.score-explain div{background:#121622;border:1px solid #232a3c;border-radius:13px;padding:14px}.score-explain b{display:block;margin-bottom:4px}.score-explain span{color:#8d98af;font-size:12px}.notice{border-left:3px solid #7b60ff;padding:12px 14px;background:#141725;color:#9ca6bb}
.skeleton{height:20px;background:linear-gradient(90deg,#171b27,#222838,#171b27);background-size:200% 100%;animation:sh 1.3s linear infinite;border-radius:8px}.skeleton.wide{height:54px;margin:7px}@keyframes sh{to{background-position:-200% 0}}
.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:#f5f6ff;color:#10121a;border-radius:12px;padding:11px 15px;font-weight:850;font-size:12px;opacity:0;pointer-events:none;z-index:200;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:900px){
 .hero{grid-template-columns:1fr;padding-top:48px;gap:28px}.hero h1{letter-spacing:-2.5px}.score-strip{grid-template-columns:repeat(2,1fr)}.score-strip .mini-cta{grid-column:1/-1;min-height:44px}
 .template-grid,.fresh-grid{grid-template-columns:repeat(2,1fr)}.how-grid{grid-template-columns:repeat(2,1fr)}.how-grid>div:nth-child(2){border-right:0}.how-grid>div:nth-child(-n+2){border-bottom:1px solid var(--line)}
 .creator-sheet,.result-sheet{grid-template-columns:1fr}.creator-preview{order:-1;padding:22px}.creator-preview .share-card{max-width:430px;width:100%;margin:auto}.score-panel{border-left:0;border-top:1px solid var(--line)}
 .share-actions{grid-template-columns:repeat(2,1fr)}.profile-layout{grid-template-columns:1fr}
}
@media(max-width:600px){
 .shell{width:min(100% - 22px,1180px)}.topbar{height:60px}.ghost-btn span,.profile-pill b{display:none}.hero{padding:35px 0 55px;min-height:auto}.hero h1{font-size:49px}.hero-copy>p{font-size:16px}.hero-actions>*{width:100%}.daily-card{padding:21px;border-radius:21px}.daily-card h2{font-size:26px;margin-top:26px}
 .score-strip{margin-bottom:72px}.score-strip>div{padding:13px}.section-head{align-items:flex-start;flex-direction:column;gap:9px}.section-head h2{font-size:28px}.section-head>p{margin:0}.compact{flex-direction:row;align-items:center}
 .template-grid{gap:8px}.template-card{min-height:132px;padding:16px}.template-card>span{margin-bottom:20px}.template-card b{font-size:15px}
 .leader-row{grid-template-columns:34px minmax(0,1fr) 70px}.leader-row .leader-stat:nth-last-child(-n+2){display:none}.how-grid{grid-template-columns:1fr 1fr}.how-grid>div{padding:17px}.fresh-grid{grid-template-columns:1fr}.footer{grid-template-columns:1fr}.footer>div{align-items:flex-start;flex-direction:column}.footer>div:nth-child(2){flex-direction:row;flex-wrap:wrap}
 .overlay{padding:0;align-items:flex-end}.sheet{max-height:94dvh;border-radius:24px 24px 0 0;border-bottom:0}.creator-left,.result-main,.score-panel,.leaderboard-sheet,.profile-sheet,.info-sheet{padding:24px 18px}.creator-preview{padding:55px 18px 18px}
 .share-card{padding:22px;border-radius:18px}.card-prompt{font-size:20px}.card-answer{font-size:29px}.result-main h2{font-size:31px}.mega-score b{font-size:70px}.score-explain{grid-template-columns:1fr}.rank-grid div{padding:9px 7px}.rank-grid b{font-size:16px}
}

.sheet::-webkit-scrollbar{display:none}

/* Viral Post v1.1 — intelligent card fitting */
.fit-feedback{margin:9px 0 2px;border:1px solid #252c3f;background:#111622;border-radius:11px;padding:9px 11px;color:#9ba7be;font-size:10px;font-weight:800;transition:.2s}
.fit-feedback[data-fit="punchy"]{border-color:#295b47;color:#72ecaa;background:#0f1b18}
.fit-feedback[data-fit="balanced"]{border-color:#344057;color:#b7c3d9}
.fit-feedback[data-fit="compact"]{border-color:#4a3c67;color:#c7b5ff;background:#151326}
.fit-feedback[data-fit="dense"]{border-color:#61402d;color:#ffc187;background:#1d1511}
.preview-label #previewScore{transition:.2s;color:#93a0ba}.preview-label #previewScore:not(:empty){color:#a99bff}

.share-card{
  --card-gap-scale:1;
  --prompt-size:clamp(18px,2.4vw,31px);
  --answer-size:clamp(22px,3.4vw,44px);
  min-width:0;
  contain:layout paint;
}
.card-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;white-space:nowrap}
.card-brand span{color:#ff9c6c;letter-spacing:.3px}
.card-content{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;justify-content:center;padding:calc(12px * var(--card-gap-scale)) 0;overflow:hidden}
.card-template{margin-top:0;flex:0 0 auto}
.card-prompt{
  font-size:var(--prompt-size);
  line-height:1.06;
  margin:calc(9px * var(--card-gap-scale)) 0 calc(12px * var(--card-gap-scale));
  text-wrap:balance;
  overflow-wrap:anywhere;
  word-break:normal;
  hyphens:auto;
  flex:0 0 auto;
}
.card-answer{
  font-size:var(--answer-size);
  line-height:1.04;
  letter-spacing:-1.15px;
  text-wrap:pretty;
  overflow-wrap:anywhere;
  word-break:normal;
  hyphens:auto;
  flex:0 1 auto;
}
.card-bottom{margin-top:0;flex:0 0 auto;padding-top:calc(15px * var(--card-gap-scale));align-items:center}
.card-bottom b{color:#ff9463;font-size:12px}

.share-card[data-fit="punchy"]{--prompt-size:clamp(20px,2.55vw,32px);--answer-size:clamp(30px,4vw,50px)}
.share-card[data-fit="balanced"]{--prompt-size:clamp(18px,2.25vw,28px);--answer-size:clamp(25px,3.3vw,40px)}
.share-card[data-fit="compact"]{--prompt-size:clamp(16px,1.9vw,24px);--answer-size:clamp(20px,2.65vw,32px)}
.share-card[data-fit="dense"]{--prompt-size:clamp(14px,1.65vw,20px);--answer-size:clamp(16px,2.1vw,25px);--card-gap-scale:.78}
.share-card[data-fit="compact"] .card-template,.share-card[data-fit="dense"] .card-template{font-size:9px;letter-spacing:1.5px}
.share-card[data-fit="dense"] .card-answer{line-height:1.08;letter-spacing:-.55px}
.share-card[data-fit="dense"] .card-bottom{font-size:8px}

.result-card-wrap{isolation:isolate}
.result-card{min-height:0}
.download-chip{z-index:3;backdrop-filter:blur(8px)}
.result-sheet{overflow:auto}
.result-main,.score-panel{min-width:0}

@media(max-width:900px){
  .result-sheet{display:block}
  .result-main{padding-bottom:26px}
  .score-panel{padding-top:26px}
}
@media(max-width:600px){
  .creator-preview .share-card,.result-card{width:min(100%,390px);margin-inline:auto}
  .share-card{padding:20px}
  .share-card[data-fit="punchy"]{--prompt-size:clamp(18px,5.3vw,24px);--answer-size:clamp(25px,7.4vw,34px)}
  .share-card[data-fit="balanced"]{--prompt-size:clamp(16px,4.7vw,21px);--answer-size:clamp(22px,6.2vw,29px)}
  .share-card[data-fit="compact"]{--prompt-size:clamp(14px,4vw,18px);--answer-size:clamp(18px,5.1vw,24px)}
  .share-card[data-fit="dense"]{--prompt-size:clamp(12px,3.45vw,16px);--answer-size:clamp(15px,4.15vw,20px)}
  .card-brand{font-size:9px}.card-bottom{gap:7px;font-size:7.5px;grid-template-columns:auto minmax(0,1fr)}.card-bottom .card-site{grid-column:1/-1;grid-row:2;text-align:left;font-size:7px}.card-bottom .card-cta{grid-column:2;grid-row:1}
  .fit-feedback{font-size:9px}
}


/* Viral Post v1.2 — visible identity + share attribution */
.creator-identity{margin:18px 0 4px;border:1px solid #343b52;background:linear-gradient(145deg,#121725,#0d1018);border-radius:16px;padding:14px;box-shadow:inset 0 1px #ffffff06;transition:.2s}
.creator-identity.needs-attention{border-color:#ff724f;box-shadow:0 0 0 4px #ff724f1a}
.identity-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.identity-head>div{display:flex;flex-direction:column;gap:2px}.identity-head span{font-size:9px;font-weight:950;letter-spacing:1.35px;color:#9c8cff}.identity-head b{font-size:10px;color:#7f8ba4;font-weight:700}.identity-status{border:1px solid #3b4359;border-radius:999px;padding:4px 7px;color:#8995ad!important;white-space:nowrap}.identity-status[data-ready="1"]{border-color:#285943;background:#0f1b17;color:#64e8a0!important}
.identity-grid{display:grid;grid-template-columns:1fr 1fr 142px;gap:8px}.mini-field>span{display:block;color:#69758e;font-size:8px;font-weight:950;letter-spacing:1px;margin:0 0 5px}.mini-field input,.mini-field select{width:100%;height:42px;border:1px solid #2b3246;background:#090c13;color:#fff;border-radius:11px;padding:0 11px;min-width:0}.mini-field input:focus,.mini-field select:focus{border-color:#715de2}.mini-prefix{display:flex;align-items:center;height:42px;border:1px solid #2b3246;background:#090c13;border-radius:11px;padding-left:10px}.mini-prefix b{color:#727f99}.mini-prefix input{border:0!important;height:40px;padding-left:4px}.identity-note{margin-top:9px;color:#7f8aa2;font-size:9px}.challenge-link-box{display:flex;align-items:center;gap:10px;background:#101522;border:1px solid #282f42;border-radius:13px;padding:10px 11px;margin:-5px auto 12px;max-width:520px}.challenge-link-box>div{min-width:0;flex:1}.challenge-link-box span{display:block;color:#68748e;font-size:7px;font-weight:950;letter-spacing:1px}.challenge-link-box code{display:block;margin-top:2px;color:#d7dded;font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.challenge-link-box button{border:1px solid #383f55;background:#1a2030;color:#fff;border-radius:9px;padding:7px 10px;font-size:10px;font-weight:900}.challenge-link-box button:hover{border-color:#6756c9}.card-owner{white-space:nowrap}
@media(max-width:700px){.identity-grid{grid-template-columns:1fr 1fr}.identity-grid .mini-field:last-child{grid-column:1/-1}.creator-identity{padding:12px}.identity-head b{font-size:9px}}


/* Viral Post v1.2.3 — zero-zoom result layout + always-visible sharing */
/* Keep the supplied A-Ads unit unchanged, but the game UI must always sit above it. */
.ad-zone #frame{z-index:1!important}
.overlay{z-index:100500;overscroll-behavior:contain}
.toast{z-index:100600}

/* Desktop: use the available width instead of forcing users to scroll below the card.
   The card stays large enough to read while the challenge URL + social buttons sit beside it. */
@media(min-width:901px){
  .creator-sheet,.result-sheet{
    width:min(1180px,calc(100vw - 20px));
    height:min(780px,calc(100dvh - 20px));
    max-height:calc(100dvh - 20px);
    overflow:hidden;
  }
  .creator-left,.creator-preview,.result-main,.score-panel{min-height:0;min-width:0}
  .creator-left,.score-panel{overflow:auto;scrollbar-width:none;overscroll-behavior:contain}
  .creator-left::-webkit-scrollbar,.score-panel::-webkit-scrollbar{display:none}
  .creator-preview{overflow:hidden}

  .result-sheet{
    grid-template-columns:minmax(0,1.16fr) minmax(400px,.84fr);
  }
  .result-main{
    padding:26px 28px;
    overflow:hidden;
    display:grid;
    grid-template-columns:minmax(280px,1fr) minmax(175px,.54fr);
    grid-template-areas:
      "banner banner"
      "headline headline"
      "sub sub"
      "card link"
      "card shares"
      "card reward";
    grid-template-rows:auto auto auto auto auto 1fr;
    column-gap:14px;
    row-gap:8px;
    align-content:start;
  }
  .result-banner{grid-area:banner}
  .result-main h2{grid-area:headline;margin:2px 0;font-size:34px;line-height:1.05}
  .result-main>p{grid-area:sub;margin:0;color:#9aa5bb;font-size:12px;line-height:1.4;max-width:95%}

  .result-card-wrap{
    grid-area:card;
    width:min(100%,clamp(278px,calc(100dvh - 320px),370px));
    max-width:none;
    margin:4px auto 0;
    align-self:start;
    justify-self:center;
  }
  .result-card{width:100%;padding:22px;border-radius:20px}
  .download-chip{right:9px;bottom:9px;padding:6px 9px;font-size:10px}

  .challenge-link-box{
    grid-area:link;
    width:100%;
    max-width:none;
    margin:4px 0 0;
    padding:10px;
    align-self:start;
    flex-direction:column;
    align-items:stretch;
    gap:7px;
  }
  .challenge-link-box code{font-size:9px}
  .challenge-link-box button{width:100%;min-height:34px}

  .share-actions{
    grid-area:shares;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px;
    align-self:start;
  }
  .share-actions button{min-height:42px;border-radius:10px;font-size:10px;padding:0 7px}
  .reward-note{
    grid-area:reward;
    align-self:start;
    margin:0;
    padding:9px 10px;
    font-size:9px;
    line-height:1.35;
  }

  .score-panel{padding:26px 30px}
  .mega-score{margin:13px 0}
  .mega-score b{font-size:70px;letter-spacing:-4px}
  .rank-grid{margin-bottom:11px}
  .rank-grid div{padding:9px}
  .rank-grid span{font-size:7px}
  .rank-grid b{font-size:16px}
  .metric-list{margin-top:0}
  .metric-list div{padding:10px 2px;font-size:11px}
  .challenge-big,.react-btn{min-height:42px;margin-top:9px}
  .report-btn{padding-top:10px;margin-top:auto}
}

/* Common laptop/browser heights: preserve the same no-scroll share layout and scale the square card first. */
@media(min-width:901px) and (max-height:760px){
  .creator-sheet,.result-sheet{height:calc(100dvh - 10px);max-height:calc(100dvh - 10px);border-radius:20px}
  .close{right:11px;top:11px;width:34px;height:34px;font-size:21px}
  .result-main{padding:18px 22px;column-gap:12px;row-gap:6px}
  .result-banner{font-size:8px}
  .result-main h2{font-size:29px;margin:0}
  .result-main>p{font-size:11px;line-height:1.32}
  .result-card-wrap{width:min(100%,clamp(260px,calc(100dvh - 315px),340px));margin-top:2px}
  .result-card{padding:19px}
  .challenge-link-box{margin-top:2px;padding:8px}
  .challenge-link-box span{font-size:6px}
  .challenge-link-box code{font-size:8px}
  .challenge-link-box button{min-height:31px;padding:5px 8px}
  .share-actions{gap:6px}
  .share-actions button{min-height:38px;font-size:9px}
  .reward-note{padding:7px 8px;font-size:8px}
  .score-panel{padding:20px 26px}
  .mega-score{margin:10px 0}.mega-score b{font-size:60px}
  .rank-grid{margin-bottom:8px}.rank-grid div{padding:7px}.rank-grid b{font-size:15px}
  .metric-list div{padding:8px 2px;font-size:10px}
  .challenge-big,.react-btn{min-height:38px;margin-top:7px;font-size:10px}
  .report-btn{padding-top:7px;font-size:9px}
}

/* Very short desktop windows still avoid browser zoom; only at this edge case do we permit
   a tiny internal score-panel scroll rather than hiding sharing controls. */
@media(min-width:901px) and (max-height:610px){
  .result-main{padding:14px 18px}
  .result-main>p{display:none}
  .result-card-wrap{width:min(100%,260px)}
  .score-panel{overflow:auto}
}

/* Mobile/tablet: one natural sheet. Sharing stays directly after the card and never sits under ads. */
@media(max-width:900px){
  .overlay{overflow:hidden}
  .sheet{width:100%;max-height:96dvh;overflow:auto;overscroll-behavior:contain}
  .creator-sheet,.result-sheet{height:auto}
  .result-sheet{display:block}
  .result-main{padding-bottom:22px}
  .score-panel{padding-top:24px}
  .ad-zone #frame{z-index:1!important}
}


/* Viral Post v1.2.4 — frictionless share-card delivery */
.reward-note b{color:#eef2ff}
.native-share{position:relative;overflow:hidden}
.native-share:after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 20%,#ffffff18 48%,transparent 72%);transform:translateX(-120%);transition:transform .35s}
.native-share:hover:after{transform:translateX(120%)}
@media(max-width:600px){.share-actions .native-share{grid-column:1/-1;min-height:46px;font-size:11px}.reward-note{line-height:1.4}}

/* Viral Post v1.2.5 — zero-zoom creator modal */
/* The publish CTA must always be visible at normal browser zoom. */
@media(min-width:901px){
  .creator-sheet{
    grid-template-columns:minmax(500px,.96fr) minmax(430px,1.04fr);
  }
  .creator-left{
    display:flex;
    flex-direction:column;
    height:100%;
    padding:26px 30px 22px;
    overflow:auto;
    scrollbar-width:none;
    overscroll-behavior:contain;
  }
  .creator-left::-webkit-scrollbar{display:none}
  .creator-left .eyebrow{flex:0 0 auto}
  .creator-left h2{
    flex:0 0 auto;
    font-size:32px;
    line-height:1.02;
    margin:5px 0 7px;
  }
  .creator-left>p{
    flex:0 0 auto;
    margin:0 0 2px;
    font-size:12px;
    line-height:1.35;
  }
  .creator-identity{
    flex:0 0 auto;
    margin:11px 0 2px;
    padding:11px 12px;
  }
  .identity-head{margin-bottom:8px}
  .identity-grid{gap:7px;grid-template-columns:1fr 1fr 132px}
  .mini-field input,.mini-field select,.mini-prefix{height:38px}
  .mini-prefix input{height:36px}
  .identity-note{margin-top:6px;font-size:8px;line-height:1.25}

  .creator-left .field{flex:0 0 auto;margin-top:10px}
  .creator-left .field>span{margin-bottom:5px}
  #promptInput{height:64px;min-height:64px;padding:11px 13px;line-height:1.35}
  #answerInput{height:102px;min-height:102px;padding:11px 13px;line-height:1.35}
  .pick-fields{flex:0 0 auto}
  .fit-feedback{flex:0 0 auto;margin:7px 0 1px;padding:7px 10px;line-height:1.25}
  .switch-row{flex:0 0 auto;margin:8px 0;color:#a7b0c3}

  /* Sticky is a safety net for unusually short browser windows. In normal laptop
     view it simply rests at the bottom of the form. */
  .create-submit{
    flex:0 0 auto;
    position:sticky;
    bottom:0;
    z-index:6;
    min-height:46px;
    margin-top:4px;
    box-shadow:0 -14px 26px #0f121be8,0 10px 30px #7657ff26;
  }
  .creator-left>.tiny{
    flex:0 0 auto;
    margin:7px 0 0;
    line-height:1.3;
  }

  .creator-preview{padding:28px 30px}
  .creator-preview .share-card{
    width:min(100%,470px);
    max-height:calc(100dvh - 120px);
    margin-inline:auto;
  }
}

/* Typical 100%-zoom laptop viewport. Compact whitespace before shrinking controls. */
@media(min-width:901px) and (max-height:820px){
  .creator-sheet{height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}
  .creator-left{padding:20px 26px 16px}
  .creator-left h2{font-size:29px;margin:3px 0 4px}
  .creator-left>p{font-size:11px;line-height:1.25}
  .creator-identity{margin-top:8px;padding:9px 10px}
  .identity-head{margin-bottom:6px}
  .identity-head b{font-size:9px}
  .identity-grid{gap:6px}
  .mini-field input,.mini-field select,.mini-prefix{height:35px}
  .mini-prefix input{height:33px}
  .identity-note{margin-top:4px}
  .creator-left .field{margin-top:7px}
  #promptInput{height:54px;min-height:54px}
  #answerInput{height:88px;min-height:88px}
  .fit-feedback{margin-top:5px;padding:6px 9px;font-size:9px}
  .switch-row{margin:6px 0;font-size:11px}
  .create-submit{min-height:43px}
  .creator-left>.tiny{font-size:8px!important;margin-top:5px}
  .creator-preview{padding:23px 28px}
  .creator-preview .share-card{width:min(100%,430px)}
}

/* Short desktop windows: keep all gameplay controls visible without browser zoom. */
@media(min-width:901px) and (max-height:700px){
  .creator-left{padding:16px 22px 12px}
  .creator-left>p{display:none}
  .creator-identity{margin-top:6px;padding:8px 9px}
  .identity-head b,.identity-note{display:none}
  .identity-head{margin-bottom:5px}
  .identity-grid{grid-template-columns:1fr 1fr 120px}
  .mini-field input,.mini-field select,.mini-prefix{height:33px}
  .mini-prefix input{height:31px}
  #promptInput{height:49px;min-height:49px}
  #answerInput{height:76px;min-height:76px}
  .fit-feedback{padding:5px 8px;margin-top:4px}
  .switch-row{margin:5px 0}
  .creator-left>.tiny{display:none}
  .create-submit{min-height:42px;margin-top:3px}
  .creator-preview{padding:19px 24px}
  .creator-preview .share-card{width:min(100%,390px)}
}

/* Keep mobile natural and scrollable; CTA remains easy to reach without covering fields. */
@media(max-width:900px){
  .create-submit{position:sticky;bottom:8px;z-index:6;box-shadow:0 -12px 24px #0f121bd9,0 8px 24px #7657ff24}
}

/* Viral Post v1.2.6 — compact creator: designed for 100% browser zoom */
@media(min-width:901px){
  #createOverlay{padding:12px}
  .creator-sheet{
    width:min(1040px,calc(100vw - 28px));
    height:min(690px,calc(100dvh - 24px));
    max-height:calc(100dvh - 24px);
    grid-template-columns:minmax(500px,1.08fr) minmax(380px,.92fr);
    overflow:hidden;
    border-radius:22px;
  }
  .creator-left{
    display:grid;
    grid-template-columns:minmax(0,1fr) 230px;
    grid-auto-rows:max-content;
    align-content:start;
    column-gap:12px;
    row-gap:0;
    height:100%;
    padding:20px 24px 18px;
    overflow:hidden;
  }
  .creator-left>.eyebrow,
  .creator-left>h2,
  .creator-left>p,
  .creator-left>.creator-identity,
  .creator-left>.field,
  .creator-left>.pick-fields,
  .creator-left>.fit-feedback,
  .creator-left>.tiny{
    grid-column:1/-1;
  }
  .creator-left .eyebrow{font-size:9px;letter-spacing:1.5px}
  .creator-left h2{
    font-size:28px;
    line-height:1;
    letter-spacing:-1px;
    margin:4px 0 5px;
  }
  .creator-left>p{
    margin:0;
    font-size:10px;
    line-height:1.25;
  }
  .creator-identity{
    margin:9px 0 1px;
    padding:9px 10px 8px;
    border-radius:13px;
  }
  .identity-head{margin-bottom:5px;align-items:center}
  .identity-head>div{display:flex;align-items:center;gap:8px}
  .identity-head>div>span{font-size:8px}
  .identity-head b{font-size:7px;font-weight:700;color:#6f7a92}
  .identity-status{font-size:7px;padding:3px 6px}
  .identity-grid{grid-template-columns:1fr 1fr 125px;gap:6px}
  .mini-field>span{font-size:7px;margin-bottom:3px}
  .mini-field input,.mini-field select,.mini-prefix{height:33px;border-radius:9px;font-size:11px}
  .mini-field input,.mini-field select{padding:6px 9px}
  .mini-prefix{padding-left:8px}
  .mini-prefix input{height:31px!important;padding:5px 6px!important}
  .identity-note{display:none}

  .creator-left .field{margin-top:8px}
  .creator-left .field>span{font-size:7px;margin-bottom:4px;letter-spacing:1.1px}
  #promptInput{
    height:48px;
    min-height:48px;
    padding:9px 11px;
    border-radius:10px;
    font-size:11px;
    line-height:1.25;
  }
  #answerInput{
    height:78px;
    min-height:78px;
    padding:9px 11px;
    border-radius:10px;
    font-size:11px;
    line-height:1.3;
  }
  .field small{font-size:7px;right:8px;bottom:6px}
  .pick-fields{gap:6px}
  .pick-fields .field{margin-top:7px}
  .pick-fields .field input{height:36px;padding:7px 9px;font-size:11px}
  .vs{height:36px}

  .fit-feedback{
    margin:6px 0 5px;
    padding:5px 8px;
    min-height:25px;
    display:flex;
    align-items:center;
    border-radius:9px;
    font-size:8px;
    line-height:1.2;
  }
  .switch-row{
    grid-column:1;
    margin:0;
    min-height:42px;
    align-self:center;
    font-size:9px;
    line-height:1.2;
  }
  .switch-row i{width:31px;height:18px;flex:0 0 auto}
  .switch-row i:before{width:12px;height:12px}
  .switch-row input:checked+i:before{left:16px}
  .create-submit{
    grid-column:2;
    position:static;
    width:100%;
    min-height:42px;
    height:42px;
    margin:0;
    align-self:center;
    border-radius:11px;
    font-size:11px;
    box-shadow:0 8px 24px #7657ff24;
  }
  .creator-left>.tiny{display:none}

  .creator-preview{
    padding:24px 28px;
    justify-content:center;
  }
  .preview-label{
    width:min(100%,380px);
    margin:0 auto 8px;
    font-size:7px;
  }
  .creator-preview .share-card{
    width:min(100%,380px);
    max-height:none;
    margin:auto;
    padding:24px;
    border-radius:20px;
  }
  .close{right:12px;top:12px;width:34px;height:34px;font-size:21px;border-radius:10px}
}

/* Typical laptop browser viewport: remove non-essential copy before shrinking controls. */
@media(min-width:901px) and (max-height:800px){
  .creator-sheet{
    height:min(650px,calc(100dvh - 16px));
    max-height:calc(100dvh - 16px);
  }
  .creator-left{padding:15px 22px 14px}
  .creator-left>p{display:none}
  .creator-left h2{font-size:25px;margin:3px 0 4px}
  .creator-identity{margin-top:6px;padding:7px 9px}
  .identity-head b{display:none}
  .mini-field input,.mini-field select,.mini-prefix{height:31px}
  .mini-prefix input{height:29px!important}
  .creator-left .field{margin-top:6px}
  #promptInput{height:43px;min-height:43px}
  #answerInput{height:68px;min-height:68px}
  .fit-feedback{margin:5px 0 4px;min-height:23px;padding:4px 7px}
  .switch-row,.create-submit{min-height:38px;height:38px}
  .creator-preview{padding:19px 24px}
  .preview-label{width:min(100%,350px);margin-bottom:6px}
  .creator-preview .share-card{width:min(100%,350px);padding:21px}
}

/* Short desktop windows: still no zoom and no hidden publish button. */
@media(min-width:901px) and (max-height:680px){
  #createOverlay{padding:5px}
  .creator-sheet{
    height:calc(100dvh - 10px);
    max-height:calc(100dvh - 10px);
    grid-template-columns:minmax(480px,1.12fr) minmax(340px,.88fr);
  }
  .creator-left{padding:11px 18px 10px;grid-template-columns:minmax(0,1fr) 205px}
  .creator-left .eyebrow{display:none}
  .creator-left h2{font-size:22px;margin:0 0 2px}
  .creator-identity{margin-top:4px;padding:6px 8px}
  .identity-head{display:none}
  .mini-field>span{font-size:6px}
  .mini-field input,.mini-field select,.mini-prefix{height:29px}
  .mini-prefix input{height:27px!important}
  #promptInput{height:39px;min-height:39px;padding:7px 9px}
  #answerInput{height:58px;min-height:58px;padding:7px 9px}
  .fit-feedback{min-height:21px;margin:4px 0 3px;font-size:7px}
  .switch-row,.create-submit{min-height:35px;height:35px}
  .creator-preview{padding:14px 20px}
  .preview-label{width:min(100%,315px)}
  .creator-preview .share-card{width:min(100%,315px);padding:18px}
}
