.mhp{--pk:#ff6fb5;--pk2:#ffa9d3;--pkL:#ffe8f3;--pkLL:#fff6fa;--rd:#e5408f;--pl:#7a2c58;--sk:#8fd3ff;--skD:#4a9fe0;--mt:#bff0dc;--yl:#ffe27a}
.mhp *, .mhp{box-sizing:border-box;margin:0;padding:0}
.mhp{position:relative;min-height:100vh;overflow-x:hidden;font-family:'Pretendard','Noto Sans KR','Noto Sans CJK KR',sans-serif;color:var(--pl);line-height:1.5;
  background:radial-gradient(circle at 85% 8%,rgba(255,255,255,.9),transparent 40%),linear-gradient(170deg,#fff7fb 0%,#ffe3f0 50%,#ffd3e8 100%)}
.mhp .pat{position:fixed;inset:0;pointer-events:none;background:
  radial-gradient(circle at 12px 12px,rgba(255,111,181,.18) 3px,transparent 4px) 0 0/44px 44px,
  radial-gradient(circle at 34px 34px,rgba(255,255,255,.95) 5px,transparent 6px) 0 0/44px 44px}
.mhp .band{position:fixed;left:0;right:0;height:22px;z-index:5;background:repeating-linear-gradient(90deg,var(--pk) 0 22px,#ff8fc6 22px 44px);border-color:#fff;border-style:solid}
.mhp .band.t{top:0;border-width:0 0 4px}
.mhp .band.b{bottom:0;border-width:4px 0 0}
.mhp .band::after{content:"";position:absolute;left:0;right:0;height:8px;background:radial-gradient(circle at 8px 0,#fff 6px,transparent 7px) 0 0/16px 8px}
.mhp .band.t::after{bottom:-12px}
.mhp .band.b::after{top:-12px;transform:scaleY(-1)}
.mhp .sp{position:fixed;pointer-events:none;color:#fff;text-shadow:0 0 8px #ff9fcf,0 0 2px #ff6fb5;font-size:20px;z-index:2}
.mhp .wrap{position:relative;z-index:1;max-width:1440px;margin:0 auto;padding:44px 40px 60px}
.mhp .win{position:relative;background:rgba(255,255,255,.9);border-radius:22px;box-shadow:0 0 0 3px #fff,0 0 0 5.5px var(--pk2),0 10px 24px rgba(229,64,143,.18)}
.mhp .ttl{position:absolute;top:-17px;left:22px;z-index:3;background:linear-gradient(180deg,#ff9fcd,#ff5aa8);color:#fff;font-weight:900;font-size:16px;padding:5px 20px;border-radius:999px;box-shadow:0 0 0 3px #fff,0 3px 0 3px var(--rd);letter-spacing:.03em}
.mhp .ttl small{font-size:10px;letter-spacing:.2em;margin-left:8px;opacity:.85}
.mhp .ttl.sky{background:linear-gradient(180deg,#a9dcff,#5fb0f0);box-shadow:0 0 0 3px #fff,0 3px 0 3px #3a86c8}
.mhp .top{display:flex;align-items:flex-start;justify-content:space-between}
.mhp .logo .jp{font-family:'Noto Sans CJK JP';font-weight:900;font-size:21px;letter-spacing:.06em;color:#fff;text-shadow:2px 2px 0 var(--pk),-2px -2px 0 var(--pk),2px -2px 0 var(--pk),-2px 2px 0 var(--pk),0 3px 0 var(--pk),3px 0 0 var(--pk),0 -3px 0 var(--pk),-3px 0 0 var(--pk)}
.mhp .logo .main{position:relative;display:inline-block;font-weight:900;font-size:76px;line-height:1;margin-top:4px;color:#fff;-webkit-text-stroke:14px var(--pl);paint-order:stroke fill;filter:drop-shadow(0 8px 10px rgba(229,64,143,.3))}
.mhp .logo .main::after{content:attr(data-t);position:absolute;left:0;top:0;color:#fff;-webkit-text-stroke:7px var(--pk);paint-order:stroke fill}
.mhp .logo .main::before{content:attr(data-t);position:absolute;left:0;top:0;z-index:2;color:transparent;background:linear-gradient(180deg,#fff 45%,#ffd3e9 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-stroke:0}
.mhp .logo .gen{position:absolute;right:-70px;top:14px;width:72px;transform:rotate(12deg)}
.mhp .logo .sub{display:flex;align-items:center;gap:10px;margin-top:10px}
.mhp .ribbon{display:inline-block;background:linear-gradient(180deg,#ff9ccc,#ff5aa8);color:#fff;font-weight:900;font-size:12px;padding:3px 14px;border-radius:4px;box-shadow:0 2px 0 var(--rd)}
.mhp .logo .sub i{font-style:italic;font-family:'Noto Serif CJK KR',serif;font-size:14px;color:var(--rd);letter-spacing:.12em}
.mhp .util{display:flex;gap:7px;margin-top:8px;justify-content:flex-end}
.mhp .util a, .mhp .util>span{background:rgba(255,255,255,.95);border-radius:999px;padding:4px 14px;font-size:13px;font-weight:700;box-shadow:0 0 0 2px var(--pk2)}
.mhp .util .n{background:var(--pk);color:#fff;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--pk2)}
.mhp .util .ad{background:var(--pl);color:#fff;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--pk2)}
.mhp .rooms{display:flex;gap:10px;margin-top:26px}
.mhp .room{flex:1;display:flex;align-items:center;gap:8px;height:52px;padding:0 14px;border-radius:999px;
  background:linear-gradient(180deg,#fff 0%,#fff 48%,#ffe3f1 52%,#ffd2e8 100%);box-shadow:0 0 0 2.5px #fff,0 0 0 4.5px var(--pk2),0 4px 10px rgba(229,64,143,.2)}
.mhp .room svg{width:22px;height:22px;flex:0 0 auto}
.mhp .room div{line-height:1.15}
.mhp .room small{display:block;font-size:10px;font-weight:900;letter-spacing:.12em;color:var(--pk)}
.mhp .room b{font-weight:900;font-size:15.5px;white-space:nowrap}
.mhp .room.on{background:linear-gradient(180deg,#ff9fcd 0%,#ff7ab9 48%,#ff5aa8 52%,#ff6fb5 100%)}
.mhp .room.on b, .mhp .room.on small{color:#fff}
.mhp .bc{display:flex;align-items:center;margin-top:24px;height:46px;border-radius:999px;overflow:hidden;background:linear-gradient(90deg,#fff,#fff0f7);box-shadow:0 0 0 3px #fff,0 0 0 5px var(--pk2)}
.mhp .bc .tag{flex:0 0 auto;height:100%;display:flex;align-items:center;background:linear-gradient(180deg,#ffe98f,#ffd24d);font-weight:900;font-size:15px;padding:0 20px 0 18px;border-radius:0 999px 999px 0;color:var(--pl)}
.mhp .bc .msg{font-weight:700;font-size:15px;padding:0 22px;white-space:nowrap}
.mhp .bc .msg b{color:var(--rd)}
.mhp .grid{display:grid;grid-template-columns:340px 1fr 370px;gap:30px;margin-top:40px;align-items:start}
.mhp .id{overflow:hidden;padding:0}
.mhp .id .hd{background:linear-gradient(180deg,#ff9fcd,#ff6fb5);padding:12px 18px 10px;display:flex;justify-content:space-between;align-items:center;color:#fff;font-weight:900}
.mhp .id .hd small{font-size:10px;letter-spacing:.25em;color:#fff3a8}
.mhp .id .bd{display:flex;gap:14px;padding:16px 16px 10px}
.mhp .id .ph{width:108px;height:135px;flex:0 0 auto;border-radius:14px;background:url(girl.jpg) 50% 12%/240% auto;box-shadow:0 0 0 3px #fff,0 0 0 5px var(--pk2)}
.mhp .id dt{font-size:10px;font-weight:900;color:var(--pk);letter-spacing:.15em}
.mhp .id dd{font-weight:900;font-size:14.5px;margin-bottom:5px}
.mhp .id dd.nm{font-size:21px}
.mhp .id .say{margin:4px 16px 12px;background:var(--pkLL);border-radius:16px;padding:9px 14px;font-size:13.5px;font-weight:700;box-shadow:0 0 0 2px var(--pk2);position:relative}
.mhp .id .say::before{content:"";position:absolute;left:26px;top:-9px;border:7px solid transparent;border-bottom-color:var(--pk2);border-top:0}
.mhp .id .ft{display:flex;align-items:center;justify-content:space-between;border-top:2.5px dashed var(--pk2);padding:10px 16px 12px}
.mhp .bar{height:30px;width:150px;opacity:.75;background:repeating-linear-gradient(90deg,var(--pl) 0 3px,transparent 3px 5px,var(--pl) 5px 6px,transparent 6px 9px,var(--pl) 9px 13px,transparent 13px 15px)}
.mhp .stamp{border:3px solid var(--rd);color:var(--rd);border-radius:50%;width:66px;height:66px;display:grid;place-items:center;text-align:center;font-weight:900;font-size:12px;line-height:1.1;transform:rotate(-14deg);opacity:.8}
.mhp .mini{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:26px}
.mhp .mini div{text-align:center;padding:9px 0;border-radius:18px;box-shadow:0 0 0 2.5px #fff,0 0 0 4.5px var(--pk2)}
.mhp .mini b{display:block;font-weight:900;font-size:23px;line-height:1.15}
.mhp .mini small{font-size:11px;font-weight:700;opacity:.75}
.mhp .mini div:nth-child(1){background:linear-gradient(180deg,#fff,#ffe1ef)}
.mhp .mini div:nth-child(2){background:linear-gradient(180deg,#fff,#dff1ff)}
.mhp .mini div:nth-child(3){background:linear-gradient(180deg,#fff,#fff3c4)}
.mhp .go{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:20px;height:58px;border-radius:999px;font-weight:900;font-size:20px;color:#fff;
  background:linear-gradient(180deg,#ff9fcd 0%,#ff7ab9 48%,#ff5aa8 52%,#ff6fb5 100%);box-shadow:0 0 0 3px #fff,0 0 0 5.5px var(--pk2),0 8px 16px rgba(229,64,143,.3)}
.mhp .go i{font-style:normal;color:#fff3a8}
.mhp .board{padding:26px 26px 22px;background:linear-gradient(180deg,rgba(234,252,244,.95),rgba(214,245,232,.95));box-shadow:0 0 0 3px #fff,0 0 0 5.5px #8fdcbc,0 10px 24px rgba(60,160,120,.15)}
.mhp .board .ttl{background:linear-gradient(180deg,#8fe0bd,#4cbf92);box-shadow:0 0 0 3px #fff,0 3px 0 3px #2f9a70}
.mhp .board .wk{position:absolute;right:22px;top:14px;font-size:12.5px;font-weight:900;color:#2f9a70;letter-spacing:.05em}
.mhp .tt{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:8px}
.mhp .tt div{position:relative;background:rgba(255,255,255,.8);border-radius:16px;padding:12px 4px;text-align:center;min-height:104px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 0 0 2px #c2eedb}
.mhp .tt i{font-style:normal;font-size:11px;color:#3aa57d;font-weight:900;letter-spacing:.05em}
.mhp .tt b{font-size:15px;font-weight:900;line-height:1.35;margin-top:4px;word-break:keep-all}
.mhp .tt small.sub{display:inline-block;margin:5px auto 0;font-size:10px;font-weight:900;color:#b07800;background:#fff3c4;border-radius:999px;padding:1px 7px;line-height:1.4;white-space:nowrap}
.mhp .tt .done{opacity:.45}
.mhp .tt .done b{text-decoration:line-through}
.mhp .tt .now{background:linear-gradient(180deg,#fff,#ffe3f1);box-shadow:0 0 0 2.5px #fff,0 0 0 4.5px var(--pk);transform:translateY(-4px)}
.mhp .tt .now::after{content:"♥ NOW";position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:var(--pk);color:#fff;font-weight:900;font-size:10.5px;padding:1px 9px;border-radius:999px;box-shadow:0 0 0 2px #fff;white-space:nowrap}
.mhp .spin{display:flex;gap:14px;align-items:flex-start;margin-top:18px;background:rgba(255,255,255,.85);border-radius:16px;padding:12px 14px;box-shadow:0 0 0 2px #c2eedb}
.mhp .spin .who{flex:0 0 auto;text-align:center}
.mhp .spin .who .av{width:54px;height:54px;border-radius:50%;background:linear-gradient(180deg,#bfe4ff,#79bdf0);box-shadow:0 0 0 2.5px #fff,0 0 0 4.5px var(--sk);position:relative;overflow:hidden}
.mhp .spin .who .av::before{content:"";position:absolute;left:50%;top:10px;width:18px;height:18px;border-radius:50%;background:rgba(122,44,88,.4);transform:translateX(-50%)}
.mhp .spin .who .av::after{content:"";position:absolute;left:50%;bottom:-6px;width:34px;height:24px;border-radius:50% 50% 0 0;background:rgba(122,44,88,.4);transform:translateX(-50%)}
.mhp .spin .who small{display:block;font-size:11px;font-weight:900;margin-top:5px;color:var(--skD)}
.mhp .spin p{font-size:14.5px;line-height:1.75}
.mhp .spin p b{color:var(--rd)}
.mhp .spin p u{text-decoration-color:var(--yl);text-decoration-thickness:4px}
.mhp .feedh{display:flex;align-items:center;gap:10px;margin:40px 0 32px} /* v1.80.3 이름표가 제목에 안 겹치게 */
.mhp .feedh .ttl{position:static}
.mhp .feedh span{background:#fff;border-radius:999px;padding:3px 12px;font-size:12.5px;font-weight:900;box-shadow:0 0 0 2px var(--pk2)}
.mhp .dlg{position:relative;margin:0 0 26px;padding:24px 20px 12px 96px;min-height:88px}
.mhp .dlg .av{position:absolute;left:18px;top:16px;width:60px;height:60px;border-radius:50%;box-shadow:0 0 0 3px #fff,0 0 0 5px var(--pk2);overflow:hidden}
.mhp .dlg .av::before{content:"";position:absolute;left:50%;top:12px;width:20px;height:20px;border-radius:50%;background:rgba(122,44,88,.4);transform:translateX(-50%)}
.mhp .dlg .av::after{content:"";position:absolute;left:50%;bottom:-6px;width:38px;height:26px;border-radius:50% 50% 0 0;background:rgba(122,44,88,.4);transform:translateX(-50%)}
.mhp .dlg .nm{position:absolute;left:92px;top:-14px;background:linear-gradient(180deg,#ff9fcd,#ff5aa8);color:#fff;font-weight:900;font-size:14px;padding:3px 16px;border-radius:999px;box-shadow:0 0 0 2.5px #fff,0 2px 0 2.5px var(--rd)}
.mhp .dlg .nm.s{background:linear-gradient(180deg,#a9dcff,#5fb0f0);box-shadow:0 0 0 2.5px #fff,0 2px 0 2.5px #3a86c8}
.mhp .dlg .nm em{font-style:normal;font-size:10px;margin-left:6px;background:#fff;color:var(--pk);border-radius:999px;padding:0 7px;vertical-align:1px}
.mhp .dlg .nm.s em{color:var(--skD)}
.mhp .dlg .t{font-size:15.5px;line-height:1.6}
.mhp .dlg .t i{color:#b98aa6}
.mhp .dlg .r{font-size:11.5px;color:#c07ea2;margin-top:4px;font-weight:700;letter-spacing:.04em}
.mhp .dlg .nx{position:absolute;right:18px;bottom:10px;color:var(--pk);font-size:13px}
.mhp .paper{padding:28px 20px 18px;background:linear-gradient(180deg,#fffdf6,#fff8ec)}
.mhp .paper .mast{text-align:center;border-bottom:3px double var(--pk2);padding-bottom:8px}
.mhp .paper .mast b{font-family:'Noto Serif CJK KR',serif;font-weight:900;font-size:28px;letter-spacing:.06em}
.mhp .paper .mast small{display:block;font-size:10.5px;font-weight:700;letter-spacing:.15em;color:var(--pk)}
.mhp .paper h4{margin:12px 0 6px;font-weight:900;font-size:20px;line-height:1.35}
.mhp .paper h4 mark{background:linear-gradient(180deg,transparent 40%,#ffe27a 40%);color:var(--rd);padding:0 3px}
.mhp .paper .lead{font-size:13px;line-height:1.7;color:#8a5f78}
.mhp .cap{margin-top:16px;background:var(--pkLL);border-radius:14px;padding:12px 14px 10px;font-size:13.5px;position:relative;box-shadow:0 0 0 2px var(--pk2)}
.mhp .cap::before{content:"✦ 지문 캡쳐";position:absolute;top:-11px;left:12px;background:var(--pk);color:#fff;border-radius:999px;font-size:10.5px;font-weight:900;padding:1px 9px;box-shadow:0 0 0 2px #fff}
.mhp .cap i{color:#b98aa6}
.mhp .paper .more{display:flex;flex-direction:column;gap:7px;margin-top:14px;border-top:2px dashed var(--pk2);padding-top:12px}
.mhp .paper .more div{font-size:13px;font-weight:700;display:flex;justify-content:space-between}
.mhp .paper .more div span{font-weight:700;color:#fff;font-size:10.5px;background:var(--pk2);border-radius:999px;padding:0 8px}
.mhp .jail{margin-top:34px;padding:28px 18px 12px;background:linear-gradient(180deg,#fff,#fff4f8)}
.mhp .jail .ttl{background:repeating-linear-gradient(-45deg,#ffd24d 0 10px,#ff6fb5 10px 20px);text-shadow:0 1px 0 var(--rd),0 0 3px var(--rd)}
.mhp .jail li{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:8px 2px;border-bottom:2px dashed var(--pkL);font-size:14px;font-weight:700}
.mhp .jail li:last-child{border:0}
.mhp .jail li span{font-size:11.5px;color:var(--rd);background:var(--pkL);border-radius:999px;padding:1px 10px}
.mhp .class{margin-top:44px}
.mhp .class .hd{display:flex;align-items:center;gap:14px;margin-bottom:28px}
.mhp .class .hd .ttl{position:static;font-size:18px}
.mhp .class .hd .cnt{font-weight:900;font-size:14px}
.mhp .facts{display:flex;gap:8px;margin-left:auto}
.mhp .facts span{background:#fff;border-radius:999px;padding:4px 14px;font-weight:900;font-size:13px;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--pk2)}
.mhp .facts span i{font-style:normal;color:var(--pk)}
.mhp .pols{display:grid;grid-template-columns:repeat(8,1fr);gap:18px}
.mhp .pol{position:relative;background:#fff;border-radius:16px;padding:8px 8px 10px;box-shadow:0 0 0 3px #fff,0 0 0 5px var(--pk2),0 8px 16px rgba(229,64,143,.15)}
.mhp .pol:nth-child(odd){transform:rotate(-2deg)}
.mhp .pol:nth-child(even){transform:rotate(2deg) translateY(6px)}
.mhp .pol .im{aspect-ratio:4/5;height:auto;border-radius:10px;position:relative;overflow:hidden;background:radial-gradient(circle,rgba(255,255,255,.65) 30%,transparent 32%) 0 0/12px 12px}
.mhp .pol .im::before{content:"";position:absolute;left:50%;top:18px;width:44px;height:44px;border-radius:50%;background:rgba(122,44,88,.35);transform:translateX(-50%)}
.mhp .pol .im::after{content:"";position:absolute;left:50%;bottom:-6px;width:82px;height:56px;border-radius:50% 50% 0 0;background:rgba(122,44,88,.35);transform:translateX(-50%)}
.mhp .pol.m .im{background-color:#ffc6e2}
.mhp .pol.b .im{background-color:#c4e6ff}
.mhp .pol b{display:block;text-align:center;font-weight:900;font-size:14.5px;margin-top:7px}
.mhp .pol small{display:block;text-align:center;font-size:11px;color:#b77a9d}
.mhp .pol .fac{position:absolute;right:-8px;top:-12px;font-size:10.5px;font-weight:900;border-radius:999px;padding:1px 9px;color:#fff;box-shadow:0 0 0 2px #fff}
.mhp .fac.s{background:var(--pk)}
.mhp .fac.t{background:#c99a5b}
.mhp .fac.x{background:#c9b3c1}
.mhp .pol.new{background:rgba(255,255,255,.5);box-shadow:0 0 0 3px #fff,0 0 0 5px var(--pk2)}
.mhp .pol.new .im{background:repeating-linear-gradient(45deg,#fff 0 8px,#ffeef6 8px 16px)}
.mhp .pol.new .im::before, .mhp .pol.new .im::after{background:rgba(122,44,88,.12)}
.mhp a{color:inherit;text-decoration:none}
.mhp a.room:hover, .mhp a.go:hover, .mhp a.pol:hover{filter:brightness(1.03);transform:translateY(-2px)}
.mhp a.room, .mhp a.go, .mhp a.pol{transition:transform .15s,filter .15s}
.mhp .util a:hover{color:var(--rd)}
.mhp .util .money{background:linear-gradient(180deg,#fff7c9,#ffe27a);box-shadow:0 0 0 2px #fff,0 0 0 4px #f2c94c}
.mhp .util .hp{background:#fff;color:#e5405c;box-shadow:0 0 0 2px #fff,0 0 0 4px #ff9fb0}
.mhp .util .hp.ko{background:#6b6170;color:#fff;box-shadow:0 0 0 2px #fff,0 0 0 4px #9a8fa0}
.mhp .bc .msg{overflow:hidden;flex:1;min-width:0}
.mhp .bc .msg span{display:inline-block;white-space:nowrap;animation:mhp-mq 40s linear infinite}
@keyframes mhp-mq{to{transform:translateX(-50%)}}
.mhp .bomb{display:flex;align-items:center;gap:8px;flex:0 0 auto;height:100%;padding:0 20px;background:linear-gradient(180deg,#5a2a40,#2a1420);color:#fff;font-weight:900;font-size:14px;border-radius:999px 0 0 999px}
.mhp .bomb b{color:#ffe27a;font-family:'Noto Sans Mono CJK KR',monospace;letter-spacing:.05em}
.mhp .stc{display:inline-block;font-style:normal;font-size:10.5px;font-weight:900;border-radius:999px;padding:0 8px;color:#fff;background:var(--pk2);vertical-align:2px}
.mhp .stc.jail{background:#3a1a2a}
.mhp .stc.dead{background:#6b6b6b}
.mhp .stc.beast{background:#c99a5b}
.mhp .stc.slave{background:#7a2c58}
.mhp .stc.brain{background:linear-gradient(90deg,#8a5cf5,#c35cf5)}
.mhp .stc.ny{background:#ff8fc6}
.mhp .stc.brain{background:#7a3cff}
.mhp .id .ph{background-size:cover!important;background-position:center!important;background-color:var(--pkL)!important}
.mhp .id .ph.none, .mhp .pol .im.none, .mhp .dlg .av.none{position:relative}
.mhp .id .ph.none::before{content:"";position:absolute;left:50%;top:22px;width:46px;height:46px;border-radius:50%;background:rgba(122,44,88,.35);transform:translateX(-50%)}
.mhp .id .ph.none::after{content:"";position:absolute;left:50%;bottom:-6px;width:84px;height:56px;border-radius:50% 50% 0 0;background:rgba(122,44,88,.35);transform:translateX(-50%)}
.mhp .pol .im.has{background-size:cover;background-position:center}
.mhp .pol .im.has::before, .mhp .pol .im.has::after{display:none}
.mhp .dlg .av.has{background-size:cover;background-position:center 15%}
.mhp .dlg .av.has::before, .mhp .dlg .av.has::after{display:none}
.mhp .pols{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
.mhp .emp{padding:18px;text-align:center;color:#c07ea2;font-weight:700;font-size:13.5px}
.mhp .guest{padding:30px 22px;text-align:center}
.mhp .guest p{font-weight:700;line-height:1.8;margin-bottom:16px}
.mhp .guest a{display:inline-block;margin:4px;padding:9px 22px;border-radius:999px;font-weight:900;background:linear-gradient(180deg,#fff,#ffe3f1);box-shadow:0 0 0 2.5px #fff,0 0 0 4.5px var(--pk2)}
.mhp .jail li a{display:contents}
@media(max-width:1200px){.mhp .grid{grid-template-columns:320px 1fr}
.mhp .grid>div:nth-child(3){grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:30px}
.mhp .grid>div:nth-child(3) .jail{margin-top:0}
}
@media(max-width:820px){.mhp .wrap{padding:36px 16px 50px}
.mhp .top{flex-direction:column;gap:14px}
.mhp .util{flex-wrap:wrap;justify-content:flex-end;align-self:flex-end}   /* v2.8.139 폰: 위 버튼 줄 오른쪽으로 */
.mhp .logo .main{font-size:52px}
.mhp .logo .gen{right:-56px;width:56px}
.mhp .rooms{flex-wrap:wrap}
.mhp .room{flex:1 1 40%}
.mhp .bc .tag{font-size:13px;padding:0 12px}
.mhp .grid{grid-template-columns:1fr}
.mhp .grid>div:nth-child(3){grid-template-columns:1fr}
.mhp .tt{grid-template-columns:repeat(3,1fr)}
.mhp .facts{display:none}
}


/* 로비 서열표 */
.mhp .ttl.gold{background:linear-gradient(180deg,#ffe48a,#f5b82e);box-shadow:0 0 0 3px #fff,0 3px 0 3px #c98a00;text-shadow:0 1px 0 #b07800}
.mhp .rankw{margin-top:34px;padding:28px 18px 12px;background:linear-gradient(180deg,#fff,#fffaf0)}
.mhp .rankw ol{margin:0;padding:0}
.mhp .rankw li{list-style:none;display:flex;align-items:center;gap:10px;padding:7px 2px;border-bottom:2px dashed var(--pkL)}
.mhp .rankw li:last-child{border:0}
.mhp .rankw .n{flex:0 0 26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font:900 13px/1 sans-serif;color:#fff;background:var(--pk2)}
.mhp .rankw .r1 .n{background:linear-gradient(180deg,#ffe48a,#f5b82e);box-shadow:0 0 0 2px #fff,0 0 0 3.5px #f5b82e}
.mhp .rankw .r2 .n{background:linear-gradient(180deg,#eef1f5,#b7c0cc)}
.mhp .rankw .r3 .n{background:linear-gradient(180deg,#f6c9a0,#d08a52)}
.mhp .rankw .av{flex:0 0 34px;height:34px;border-radius:50%;background:#ffe3f0 radial-gradient(circle at 50% 38%,#f3b6d3 22%,transparent 23%) center/cover;box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--pk2)}
.mhp .rankw .r1 .av{box-shadow:0 0 0 2px #fff,0 0 0 3.5px #f5b82e}
.mhp .rankw .nm{flex:1;min-width:0;font-size:14px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mhp .rankw .bar{display:block;height:5px;margin-top:4px;border-radius:5px;background:var(--pkL);overflow:hidden}
.mhp .rankw .bar i{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#ff9cc8,var(--rd))}
.mhp .rankw .r1 .bar i{background:linear-gradient(90deg,#ffd75e,#f5a400)}
.mhp .rankw em{font-style:normal;font-size:12.5px;font-weight:900;color:var(--rd);white-space:nowrap}
.mhp .rankw li.me{background:var(--pkLL);border-radius:12px}
.mhp .rankw .mine{margin-top:6px;text-align:center;font-size:12.5px;font-weight:700;color:#a0607e}
.mhp .rankw .mine b{color:var(--rd)}
.mhp .rankw .rkgo{display:block;text-align:center;font-size:12.5px;font-weight:900;color:#e5408f;padding:6px 0 2px}

/* 로비 문의 · 질의응답 */
.mhp .qnaw{margin-top:34px;padding:28px 16px 12px;background:linear-gradient(180deg,#fff,#f4faff)}
.mhp .qnaw form{display:flex;flex-direction:column;gap:7px}
.mhp .qnaw select,.mhp .qnaw textarea{width:100%;box-sizing:border-box;border:0;border-radius:12px;background:#fff;box-shadow:0 0 0 2px #cfe8ff;padding:8px 11px;font:inherit;font-size:13.5px;color:#5a2440}
.mhp .qnaw textarea{resize:vertical;min-height:64px}
.mhp .qnaw .qrow{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12.5px;font-weight:700;color:#5a7aa0}
.mhp .qnaw .qrow small{font-weight:600;color:#8aa6c4}
.mhp .qnaw button{border:0;cursor:pointer;border-radius:999px;padding:7px 18px;font:inherit;font-weight:900;color:#fff;background:linear-gradient(180deg,#a9dcff,#5fb0f0);box-shadow:0 0 0 2px #fff,0 2px 0 2px #3a86c8}
.mhp .qnaw .mine{margin:10px 0 0;padding:0}
.mhp .qnaw .mine li{list-style:none;font-size:12.5px;font-weight:700;padding:6px 2px;border-bottom:2px dashed #e3f1ff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mhp .qnaw .mine li:last-child{border:0}
.mhp .qnaw .mine span{font-size:10.5px;border-radius:999px;padding:1px 8px;margin-right:6px;color:#fff;background:#5fb0f0}.mhp .qnaw .mine span.wt{background:#ffb84d}
.mhp .qnaw .mine i{font-style:normal;color:#a0607e;font-size:11px}
.mhp .qnaw .qmsg{border-radius:10px;padding:7px 10px;margin-bottom:8px;font-size:12.5px;font-weight:800}
.mhp .qnaw .qmsg.ok{background:#e3f6ec;color:#2f8a55}.mhp .qnaw .qmsg.no{background:#ffe8ec;color:#c0344a}
.mhp .qnaw .rkgo{display:block;text-align:center;font-size:12.5px;font-weight:900;color:#3a86c8;padding:8px 0 2px}

/* 로비 정렬 (v1.31) */
.mhp .rooms>*{flex:1 1 0;min-width:0}
.mhp .rooms .mh-rw{display:flex}.mhp .rooms .mh-rw>.room{flex:1;min-width:0}
.mhp .room{justify-content:center;padding:0 10px}
.mhp .room div{text-align:left}
.mhp .paper .nimg{display:block;margin:12px 0 2px;border-radius:12px;overflow:hidden;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--pk2)}
.mhp .paper .nimg img{display:block;width:100%;max-height:230px;object-fit:cover}
.mhp .grid>div>.qnaw{margin-top:40px}

/* 오늘의 시간표: 21시 이벤트 칸 */
.mhp .tt .ev{background:linear-gradient(180deg,#fffbe8,#ffeeb0);box-shadow:0 0 0 2px #f5c542}
.mhp .tt .ev i{color:#b07800}
.mhp .tt .ev::before{content:"EVENT";position:absolute;bottom:-9px;left:50%;transform:translateX(-50%);background:#f5b82e;color:#fff;font-weight:900;font-size:10px;padding:0 8px;border-radius:999px;box-shadow:0 0 0 2px #fff;letter-spacing:.08em}
.mhp .tt .ev.now{background:linear-gradient(180deg,#fff,#ffe3f1)}
.mhp .board .tt{margin-top:24px}
.mhp .tt a{position:relative;background:rgba(255,255,255,.8);border-radius:16px;padding:12px 4px;text-align:center;min-height:104px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 0 0 2px #c2eedb;color:inherit;text-decoration:none}
.mhp .tt a.ev{background:linear-gradient(180deg,#fffbe8,#ffeeb0);box-shadow:0 0 0 2px #f5c542}.mhp .tt a.ev:hover{transform:translateY(-2px)}
.mhp .tt a.done{opacity:.45}.mhp .tt a.now{background:linear-gradient(180deg,#fff,#ffe3f1);box-shadow:0 0 0 2.5px #fff,0 0 0 4.5px var(--pk);transform:translateY(-4px)}

/* v1.41 로비 '시스템 안내' 바로가기 */
.mhp .sysg{display:flex;flex-direction:column;position:relative;margin-top:14px;padding:12px 40px 12px 18px;border-radius:18px;background:#fff;box-shadow:0 0 0 3px #fff,0 0 0 5px var(--pk2),0 6px 14px rgba(229,64,143,.12);text-decoration:none}
.mhp .sysg b{font-size:16px;font-weight:900;color:var(--rd)}
.mhp .sysg span{font-size:12px;color:#9b6a86;margin-top:2px}
.mhp .sysg i{position:absolute;right:16px;top:50%;transform:translateY(-50%);font-style:normal;font-size:24px;font-weight:900;color:var(--pk)}
.mhp .sysg:hover{background:#fff7fb}

/* v1.54.6 단체사진 · 학생증 사진 = 증명사진과 같은 4:5 (800×1000 그림이 잘리지 않고 딱 맞음) */

/* 스마트폰 (v1.55.4) */
@media(max-width:600px){
.mhp .rooms{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 8px;margin-top:20px}
.mhp .rooms>*{min-width:0}
.mhp .rooms .mh-rw{min-width:0}
.mhp .room{height:46px;padding:0 6px;gap:0;justify-content:center}
.mhp .room svg{display:none}
.mhp .room div{text-align:center}
.mhp .room b{font-size:13.5px;letter-spacing:-.02em}
.mhp .room small{font-size:8.5px;letter-spacing:.08em}
.mhp .bc{height:42px;margin-top:18px}.mhp .bc .tag{font-size:12px;padding:0 10px}.mhp .bc .msg{font-size:13.5px;padding:0 14px}
.mhp .board .wk{position:static;display:block;text-align:right;margin:-6px 2px 8px}
.mhp .util a,.mhp .util>span{padding:6px 13px}
}

/* 세뇌 · 뇨타 · 풍유환 배지 */
.mh-stb{display:inline-block;font-style:normal;font-size:10.5px;font-weight:900;border-radius:999px;padding:0 8px;color:#fff;vertical-align:2px;margin-left:3px;line-height:1.6}
.mh-stb-brain{background:linear-gradient(90deg,#8a5cf5,#c35cf5)}.mh-stb-nyota{background:#4fa6ec}.mh-stb-pung{background:#ff7f6e}
/* v1.87.1 로비 교실: 나레이션 · NPC · 답글 · v1.87.4 나레이션은 파스텔 라벤더 (분홍 홈페이지와 맞춤) */
.mhp .dlg .av.nar{display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 35% 30%,#fff 0,#f3ecff 35%,#dccdfb 100%);color:#9370e3;font-size:28px;text-shadow:0 0 8px #fff,0 1px 0 #fff;box-shadow:0 0 0 3px #fff,0 0 0 5px #cdb9f6}
.mhp .dlg .av.nar::before,.mhp .dlg .av.nar::after{display:none}
.mhp .dlg.nar{box-shadow:0 0 0 2.5px #dccdfb,0 6px 14px rgba(150,120,220,.12)}
.mhp .dlg.nar .nm{background:linear-gradient(180deg,#d6c6ff,#a98cf0);box-shadow:0 0 0 2.5px #fff,0 2px 0 2.5px #8f72de}
.mhp .dlg.nar .t{font-style:italic;color:#6e5a9e}
.mhp .dlg.nar .r{color:#a08cc8}.mhp .dlg.nar .nx{color:#b39af0}
.mhp .dlg.npc .nm{background:linear-gradient(180deg,#c9b8ff,#8f78e6);box-shadow:0 0 0 2.5px #fff,0 2px 0 2.5px #5e4bb5}
.mhp .dlg.npc .nm em{color:#6a55b0}
.mhp .dlg.re .r{color:#b08aa8}

/* v2.8.42 로비 위쪽 버튼: 올리거나 누른 버튼이 분홍 (분홍 테마일 때만) */
html:not(.mh-ht):not(.mh-jail) .mhp .util a{transition:background .15s,color .15s,box-shadow .15s}
html:not(.mh-ht):not(.mh-jail) .mhp .util a:hover,html:not(.mh-ht):not(.mh-jail) .mhp .util a:focus-visible{background:linear-gradient(180deg,#ffa8d2,#ff6fb5);color:#fff;box-shadow:0 0 0 2px #fff,0 3px 0 #ff9fcd}
html:not(.mh-ht):not(.mh-jail) .mhp .util a:active{background:linear-gradient(180deg,#ff7ab9,#e5408f);color:#fff;box-shadow:0 0 0 2px #fff,0 1px 0 #d43f89;transform:translateY(2px)}
/* v2.8.43 알림(새 알림) · 교무실 버튼: 꽉 찬 핫핑크 대신 타이틀과 같은 반짝 분홍 · 다른 버튼에 올리면 잠시 흰색 */
html:not(.mh-ht):not(.mh-jail) .mhp .util .n{background:linear-gradient(180deg,#ffa8d2,#ff6fb5);color:#fff;box-shadow:0 0 0 2px #fff,0 0 0 3.5px #ffb3d4,0 3px 0 3.5px #ff9fcd}
html:not(.mh-ht):not(.mh-jail) .mhp .util .ad{background:linear-gradient(180deg,#b06a92,#7a2c58);color:#fff;box-shadow:0 0 0 2px #fff,0 0 0 3.5px #e7b3cf,0 3px 0 3.5px #c98ab0}
html:not(.mh-ht):not(.mh-jail) .mhp .util:hover .n:not(:hover){background:rgba(255,255,255,.95);color:var(--pl);box-shadow:0 0 0 2px var(--pk2)}

/* v2.8.108 단체사진: 증명사진처럼 뒤에 핫핑크 → 연핑크 그라데이션 (테마와 상관없이 고정) */
.mhp .pol .im,.gph .pol .im,.mhp .id .ph{--idbg:radial-gradient(ellipse 70% 55% at 50% 36%,rgba(255,255,255,.5),transparent 70%),linear-gradient(180deg,#ff8cc0 0%,#ffb8d8 45%,#ffeaf4 100%)}
.mhp .pol .im.has,.gph .pol .im[style]{background-color:#ff8cc0;background-size:cover,cover;background-position:center,center;background-repeat:no-repeat}
.mhp .id .ph[style*=url]{background-size:cover,cover!important;background-position:center,center!important;background-repeat:no-repeat}   /* v2.8.109 내 학생증 사진도 */
