:root{--p:#f32daf;--p2:#ff63c9;--c:#27c9eb;--ink:#fff9ff;--mut:#c7a9cf}
html.cn1-home-prod,body.cn1-home-prod{margin:0!important;width:100%!important;height:100%!important;overflow:hidden!important;background:#050207!important}
body.cn1-home-prod>:not(#cn1-home-prod):not(#modal){display:none!important}
#cn1-home-prod{position:fixed;inset:0;z-index:2147483000;pointer-events:auto;overflow:auto;-webkit-overflow-scrolling:touch;background:radial-gradient(circle at 50% -8%,rgba(105,18,92,.24),transparent 27%),linear-gradient(#09030c,#050207 72%);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#cn1-home-prod *{box-sizing:border-box}#cn1-home-prod button{font:inherit}
.cn1h-shell{width:min(100%,980px);margin:auto;padding:14px 14px max(108px,calc(env(safe-area-inset-bottom) + 94px))}
.cn1h-head{display:flex;align-items:center;gap:12px;padding:3px 4px 11px}
.cn1h-logo{width:58px;height:58px;flex:none;border:1.5px solid var(--p);border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#2d0b2a,#08030b);box-shadow:0 0 20px rgba(243,45,175,.25);font:1000 italic 23px "Comic Sans MS","Segoe Print",cursive}
.cn1h-brand{flex:1}.cn1h-brand h1{margin:0;font-size:24px;line-height:1}.cn1h-brand p{margin:4px 0 0;font-size:11px;color:#c6a5ce;font-weight:700}
.cn1h-sound{border:1px solid rgba(243,45,175,.72);border-radius:12px;padding:10px 15px;background:#19091d;color:white;font-size:11px;font-weight:900}
.cn1h-scribble{width:92px;color:#fa37b5;font:1000 italic 11px/1.03 "Comic Sans MS","Segoe Print",cursive;transform:rotate(-4deg)}
.cn1h-hero{position:relative;height:clamp(340px,42dvh,390px);min-height:340px;max-height:390px;overflow:hidden;border:1.5px solid var(--p);border-radius:24px;box-shadow:0 0 28px rgba(243,45,175,.19);background:linear-gradient(90deg,rgba(4,2,7,.90) 0 43%,rgba(5,3,8,.34) 61%,rgba(4,2,6,.08) 100%),url("./assets/lower-rooms-prod1.webp") center/cover no-repeat}
.cn1h-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.03),transparent 55%,rgba(0,0,0,.26));pointer-events:none}
.cn1h-herocopy{position:absolute;z-index:2;left:27px;top:31px;width:min(58%,485px);text-shadow:0 3px 15px #000}
.cn1h-herocopy h2{margin:0 0 12px;font-size:clamp(58px,10vw,100px);line-height:.76;letter-spacing:-.06em;font-weight:1000}
.cn1h-lead{margin:0;font-size:20px;letter-spacing:.1em;font-weight:1000}.cn1h-mode{margin:6px 0 18px;font-size:17px;letter-spacing:.19em}
.cn1h-notes{border-left:3px solid var(--p);padding-left:13px;display:grid;gap:2px;font-size:11px;letter-spacing:.11em;font-weight:800}
.cn1h-actions{display:flex;gap:10px;margin-top:23px}.cn1h-actions button{flex:1;border:0;border-radius:15px;color:#fff;font-size:18px;font-weight:1000;padding:15px 8px;box-shadow:0 9px 25px #0008}
.cn1h-solo{background:linear-gradient(#ff5ac8,#ed29ad)}.cn1h-multi{background:linear-gradient(#3ad7f4,#17afd9)}
.cn1h-section{display:flex;align-items:center;justify-content:space-between;padding:14px 5px 8px}.cn1h-section h3{margin:0;font-size:16px;letter-spacing:.24em}.cn1h-section span{font-size:8px;color:#bca4c5;letter-spacing:.17em}
.cn1h-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.cn1h-card{position:relative;min-height:244px;overflow:hidden;border:1px solid rgba(243,45,175,.82);border-radius:18px;background:#120716}
.cn1h-card.slots{background:linear-gradient(90deg,rgba(7,3,10,.91) 0 45%,rgba(7,3,10,.19) 76%),url("./assets/eggplant-slots-prod1.webp") center/cover no-repeat}
.cn1h-card.bad{background:linear-gradient(90deg,rgba(13,4,16,.90) 0 43%,rgba(13,4,16,.18) 70%),url("./assets/bad-decisions-character-prod1.webp?v=cn1bad-prod1b") right bottom / 68% auto no-repeat,radial-gradient(circle at 80% 35%,rgba(243,45,175,.22),transparent 34%),linear-gradient(145deg,#200b24,#09040c 62%)}
.cn1h-badchar{position:absolute;right:-6%;bottom:-27%;width:72%;height:auto;filter:drop-shadow(0 10px 24px #0008)}
.cn1h-cardcopy{position:absolute;z-index:3;left:16px;top:16px;bottom:14px;width:59%;display:flex;flex-direction:column;align-items:flex-start}.cn1h-cardcopy h4{margin:0 0 12px;font-size:28px;line-height:.88;letter-spacing:-.035em}.cn1h-cardcopy p{margin:0;font-size:10px;line-height:1.35;font-weight:700}.cn1h-cardcopy button{margin-top:auto;border:0;border-radius:12px;padding:10px 18px;background:linear-gradient(#ff58c7,#ec2aac);color:#fff;font-size:12px;font-weight:1000}
.cn1h-stats{display:grid;grid-template-columns:1.45fr .72fr .72fr;gap:7px;margin-top:9px}.cn1h-stat{min-height:92px;border:1px solid #b865ae47;border-radius:15px;background:linear-gradient(#140918,#0b060d);padding:12px}.cn1h-level{display:flex;align-items:center;gap:11px}.cn1h-dot{width:62px;height:62px;flex:none;border-radius:14px;border:1px solid #dc2ca6;display:grid;place-items:center;color:#f23caf;font-size:42px}.cn1h-leveldata{flex:1}.cn1h-leveldata .line{font-size:13px;color:#c9b2d1}.cn1h-leveldata .line b{font-size:23px;color:#fff}.cn1h-bar{height:9px;border:1px solid #5f465e;border-radius:99px;background:#050306;overflow:hidden;margin:6px 0}.cn1h-fill{display:block;height:100%;background:linear-gradient(90deg,#ff34b7,#87dcf3)}.cn1h-xptxt{font-size:10px;color:#bea7c6;font-weight:900}.cn1h-mini{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.cn1h-mini strong{font-size:22px}.cn1h-mini span{margin-top:4px;color:#c4a7cd;font-size:8px;letter-spacing:.1em;font-weight:900}
.cn1h-sign{min-height:64px;margin-top:9px;border:1px solid #dc2ca69f;border-radius:15px;padding:0 17px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;background:linear-gradient(90deg,#160819,#0d0610)}.cn1h-sign .crown{color:#f33bb2;font-size:20px}.cn1h-sign b{color:#e26fc7;font-size:8px;letter-spacing:.25em}.cn1h-sign em{color:#fa42b7;font:20px "Comic Sans MS","Segoe Print",cursive}
.cn1h-nav{position:sticky;bottom:7px;z-index:20;pointer-events:auto;margin-top:8px;border:1px solid #aa4ca054;border-radius:21px;display:grid;grid-template-columns:repeat(5,1fr);gap:2px;padding:5px;background:#0f0712f0;backdrop-filter:blur(14px);box-shadow:0 13px 35px #0008}.cn1h-nav button{border:0;border-radius:16px;background:transparent;color:#a98ab9;padding:8px 2px;display:grid;place-items:center;gap:2px}.cn1h-nav button span{font-size:16px}.cn1h-nav button b{font-size:8px}.cn1h-nav button.active{color:#fff;background:linear-gradient(#f635b761,#631a5a47);border:1px solid #ee36b2b3}.cn1h-build{text-align:center;margin-top:6px;color:#ccbAd144;font-size:6px;letter-spacing:.12em}
@media(max-width:560px){
.cn1h-shell{padding:9px 8px max(90px,calc(env(safe-area-inset-bottom) + 80px))}.cn1h-head{min-height:52px;gap:7px;padding-bottom:7px}.cn1h-logo{width:42px;height:42px;border-radius:9px;font-size:16px}.cn1h-brand h1{font-size:18px}.cn1h-brand p{font-size:8px;margin-top:2px}.cn1h-sound{padding:7px 9px;font-size:8px;border-radius:9px}.cn1h-scribble{width:59px;font-size:7px}
.cn1h-hero{height:clamp(260px,37dvh,275px);min-height:260px;max-height:275px;border-radius:17px}.cn1h-herocopy{left:16px;top:12px;width:62%}.cn1h-herocopy h2{font-size:44px;margin-bottom:6px}.cn1h-lead{font-size:11px}.cn1h-mode{font-size:9px;margin:3px 0 8px}.cn1h-notes{font-size:6.5px;padding-left:7px;border-left-width:2px}.cn1h-actions{margin-top:9px;gap:6px}.cn1h-actions button{font-size:11px;padding:8px 5px;border-radius:10px}
.cn1h-section{padding:7px 4px 4px}.cn1h-section h3{font-size:11px}.cn1h-section span{font-size:5px}.cn1h-grid{gap:5px}.cn1h-card{min-height:138px;border-radius:13px}.cn1h-cardcopy{left:9px;top:9px;bottom:8px;width:61%}.cn1h-cardcopy h4{font-size:18px;margin-bottom:6px}.cn1h-cardcopy p{font-size:6.5px}.cn1h-cardcopy button{padding:7px 10px;border-radius:8px;font-size:8px}.cn1h-badchar{width:76%;right:-14%;bottom:-29%}
.cn1h-stats{gap:4px;margin-top:6px}.cn1h-stat{min-height:67px;border-radius:11px;padding:8px}.cn1h-level{gap:6px}.cn1h-dot{width:44px;height:44px;font-size:28px;border-radius:10px}.cn1h-leveldata .line{font-size:8px}.cn1h-leveldata .line b{font-size:16px}.cn1h-bar{height:6px;margin:4px 0}.cn1h-xptxt{font-size:7px}.cn1h-mini strong{font-size:14px}.cn1h-mini span{font-size:5px}
.cn1h-sign{min-height:45px;margin-top:6px;border-radius:11px;padding:0 10px}.cn1h-sign .crown{font-size:14px}.cn1h-sign b{font-size:5px;letter-spacing:.19em}.cn1h-sign em{font-size:13px}.cn1h-nav{margin-top:6px;border-radius:17px;padding:3px}.cn1h-nav button{padding:6px 1px;border-radius:13px}.cn1h-nav button span{font-size:13px}.cn1h-nav button b{font-size:6px}}

.cn1h-card.bad .cn1h-badchar{display:none!important}


/* CN1_HOME_MODAL_LAYER_V3 */

#cn1-home-prod.cn1-home-modal-locked{
  overflow:hidden!important;
  overscroll-behavior:none!important;
  touch-action:none!important;
}

body.cn1-home-prod > #modal{
  display:none!important;
  pointer-events:none!important;
}

body.cn1-home-prod.cn1-home-modal-open > #modal.active{
  display:block!important;
  position:fixed!important;
  inset:0!important;
  z-index:2147483646!important;

  overflow-y:auto!important;
  overflow-x:hidden!important;

  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch;

  touch-action:pan-y!important;
  pointer-events:auto!important;
}

body.cn1-home-prod.cn1-home-modal-open > #modal.active .modal-card,
body.cn1-home-prod.cn1-home-modal-open > #modal.active .modal-card *{
  pointer-events:auto!important;
}

/* /CN1_HOME_MODAL_LAYER_V3 */

/* ===== CN1 HOME — TELEGRAM DESKTOP COMPACT V1 =====
   Physical desktop client, even when Telegram's WebView is <560px.
   Mobile layout remains untouched.
*/
html.cn1-client-desktop .cn1h-hero{
  height:225px!important;
  min-height:225px!important;
  max-height:225px!important;
}

