/* Five familiar studyroom skins. Every concept uses the same dimensions. */
body.mh-original.mh-five{background:#eef1f1!important;background-image:linear-gradient(#ffffff66 1px,transparent 1px),linear-gradient(90deg,#ffffff66 1px,transparent 1px)!important;background-size:20px 20px!important;padding:24px 20px;color:#2e4959;min-width:0}
body.mh-five #frame{--c-cover:#9ab9c8;--c-paper:#fcfcf9;--c-card:#fffefa;--c-ink:#28465b;--c-muted:#71828a;--c-accent:#4e7f89;--c-soft:#edf4f4;--c-line:#cbd7d9;--c-font:Pretendard,"Malgun Gothic",sans-serif;--mh-ink:var(--c-ink);--mh-accent:var(--c-accent);--mh-soft:var(--c-soft);--mh-line:var(--c-line);box-sizing:border-box;width:100%!important;max-width:1280px!important;margin:0 auto!important;padding:36px 16px 16px!important;border:1px solid color-mix(in srgb,var(--c-cover) 65%,#456)!important;border-radius:22px!important;background:linear-gradient(120deg,#ffffff20,transparent),var(--c-cover)!important;box-shadow:0 3px 0 color-mix(in srgb,var(--c-cover) 75%,#223),0 12px 30px #263f5015!important;color:var(--c-ink);font-family:var(--mh-room-font,var(--c-font))!important;overflow:visible}
body.mh-five #frame[data-skin="cream"]{--c-cover:#cfbda2;--c-paper:#faf6ed;--c-card:#fffdf7;--c-ink:#624b35;--c-muted:#8c7a66;--c-accent:#967048;--c-soft:#f1e8d8;--c-line:#dfd1bd;--c-font:"Noto Serif KR",Batang,serif}
body.mh-five #frame[data-skin="sage"]{--c-cover:#a5b29a;--c-paper:#fbfcf6;--c-card:#fffffa;--c-ink:#40563c;--c-muted:#7c8876;--c-accent:#6b855b;--c-soft:#edf2e8;--c-line:#d1dacc}
body.mh-five #frame[data-skin="peach"]{--c-cover:#c89da2;--c-paper:#fffbf8;--c-card:#fffdfb;--c-ink:#6c414b;--c-muted:#a08489;--c-accent:#a36572;--c-soft:#faedf0;--c-line:#e7ced3}
body.mh-five #frame[data-skin="navy"]{--c-cover:#34485a;--c-paper:#faf9f3;--c-card:#fffdf8;--c-ink:#2f4050;--c-muted:#7c8590;--c-accent:#6b7d8b;--c-soft:#edf0f1;--c-line:#d5d3c7;--c-font:"Noto Serif KR",Batang,serif}
body.mh-five #frame .stitch{border:1px dashed #ffffff9e!important;border-radius:14px;padding:10px!important;box-shadow:none!important;background:transparent}
body.mh-five #frame .paper{padding:22px 20px 14px!important;background:var(--c-paper)!important;border:1px solid #ffffffa0!important;border-radius:12px!important;box-shadow:inset 0 1px 0 #fff!important}
body.mh-five #frame .mh-cover-brand{top:8px;left:29px;min-height:18px;font:600 10px/1.5 var(--mh-room-font,var(--c-font));color:#fff!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;white-space:nowrap}
body.mh-five #frame .views{top:7px;right:28px;color:#fff!important;font-size:12px;line-height:1.4}
body.mh-five #frame .views :is(small,b){color:#fff!important}body.mh-five #frame .views b{font-size:15px}
body.mh-five #frame .heading{padding:0 0 15px;margin:0 0 12px;min-height:44px;border-bottom:1px solid var(--c-line);gap:14px}
body.mh-five #frame .heading h1{font-size:27px!important;font-weight:720;line-height:1.45;letter-spacing:-.8px;color:var(--mh-custom-title,var(--c-ink))!important;font-family:var(--mh-room-font,var(--c-font))!important}
body.mh-five #frame .heading p{font-size:11px!important;color:var(--mh-custom-body,var(--c-muted))!important}
body.mh-five #frame .mh-controls{display:flex;gap:6px;align-items:center;flex:none}body.mh-five #frame .mh-music{font-size:10px!important;min-height:27px;padding:4px 8px}
body.mh-five #frame .mh-social-bar{margin:0 0 13px;padding:0;gap:10px;font-size:11px}
body.mh-five #frame .mh-social-bar :is(button,label){min-height:28px;font-size:11px!important;padding:4px 9px}
body.mh-five:not(.mh-board-view) #frame .main{display:grid!important;grid-template-columns:minmax(190px,23%) minmax(0,1fr) 88px!important;grid-template-rows:auto;gap:15px!important;align-items:stretch}
body.mh-five #frame .profile{display:flex!important;flex-direction:column;grid-column:auto;grid-row:auto;min-height:530px;padding:20px 17px 14px!important;border:1px solid var(--c-line)!important;background:var(--c-card)!important;border-radius:10px!important;box-shadow:0 2px 4px #23400008!important;position:relative;gap:0}
body.mh-five #frame .profile:before,body.mh-five #frame .profile:after{display:none!important}
body.mh-five #frame .profile-photo.mh-round-photo{width:154px;height:154px;margin:0 auto 27px!important;max-width:100%;border:4px solid var(--c-card)!important;outline:1px solid var(--c-line)!important;outline-offset:3px;background:var(--c-soft)!important;color:var(--c-muted);box-shadow:none!important;overflow:visible}
body.mh-five #frame .profile-photo img{border-radius:50%;height:100%;width:100%;object-fit:cover}
body.mh-five #frame .profile-photo[role="button"]:after{display:block!important;inset:auto auto -21px 50%!important;transform:translateX(-50%);padding:2px 7px!important;font:500 9px/1.4 var(--mh-room-font,var(--c-font))!important;border:1px solid var(--c-line);border-radius:4px;background:var(--c-card);color:var(--c-muted);box-shadow:none}
body.mh-five #frame .profile-name{font-size:22px!important;line-height:1.5;margin:0 0 4px;color:var(--mh-custom-title,var(--c-ink))!important;font-family:inherit!important}
body.mh-five #frame .role{font-size:12px!important;line-height:1.6;color:var(--mh-custom-body,var(--c-muted))!important;white-space:normal}
body.mh-five #frame .quote{display:block!important;margin:20px 0;padding:14px 0 0;border-top:1px dashed var(--c-line);flex:1;min-height:110px}
body.mh-five #frame .quote .label{display:block!important;font-size:11px;font-weight:650;color:var(--c-accent)}
body.mh-five #frame .quote p{font-size:13px!important;line-height:1.8;margin:10px 0 0;white-space:pre-line;color:var(--mh-custom-body,var(--c-ink))!important}
body.mh-five #frame .mood{display:flex!important;gap:6px;padding:6px 8px;margin-top:auto;border:1px solid var(--c-line);border-radius:5px;background:var(--c-soft)!important;color:var(--c-muted);font-size:10px;box-shadow:none}
body.mh-five #frame .mood b{font-size:10px;color:var(--c-accent);font-weight:550}
body.mh-five #frame .profile-foot{display:none}
body.mh-five #frame .mh-profile-actions{display:flex;gap:4px;align-items:center;justify-content:space-between;margin:12px 0 0;padding:10px 0 0;border-top:1px solid var(--c-line)}
body.mh-five #frame .content{grid-column:auto;grid-row:auto;width:100%;min-width:0;box-sizing:border-box;padding:16px 17px!important;border:1px solid var(--c-line)!important;border-radius:10px!important;background:var(--c-card)!important;box-shadow:0 2px 4px #23400008!important}
body.mh-five #frame .section-title{margin:0;padding:0 0 10px;border-bottom:1px solid var(--c-line)}
body.mh-five #frame .section-title h2{font-size:19px;color:var(--mh-custom-title,var(--c-ink))!important;font-family:inherit!important}
body.mh-five #frame .section-title>span{font-size:10px;color:var(--c-muted)}
body.mh-five #frame .mh-home-link{display:flex;align-items:center;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--c-line);background:transparent!important;box-shadow:none!important;border-radius:0!important;font-size:12px;min-height:39px}
body.mh-five #frame .mh-home-link>span{color:var(--mh-custom-body,var(--c-ink))!important;font-size:12px!important}body.mh-five #frame .mh-home-link>small{font-size:10px;color:var(--c-muted)}
body.mh-five #frame .room-head{display:flex;justify-content:space-between;margin:18px 0 9px;padding:0;font-size:12px;color:var(--c-accent)}
body.mh-five #frame .room-head span:last-child{font-size:8px;opacity:.6}
body.mh-five #frame .miniroom{border:1px solid var(--c-line);border-radius:10px;background:var(--c-soft);padding:7px;box-shadow:inset 0 1px 0 #fff;overflow:hidden;aspect-ratio:auto}
body.mh-five #frame .miniroom .room-art{display:block;width:100%;height:auto;max-height:400px;object-fit:contain;border-radius:6px}
body.mh-five #frame .bubble{top:17px;right:14px;background:var(--c-card);color:var(--c-muted);border:1px solid var(--c-line);font-size:10px;padding:7px 9px;box-shadow:0 2px 4px #1231}
body.mh-five #frame .room-caption{font-size:10px;color:var(--c-muted);margin-top:7px}
body.mh-five #frame .tabs{display:flex!important;flex-direction:column!important;gap:8px;padding:8px 0 0!important;margin:0!important;grid-column:auto;grid-row:auto;align-self:start;width:88px;position:static!important}
body.mh-five #frame .tabs .tab{display:flex;justify-content:center;align-items:center;gap:4px;width:88px!important;min-height:48px!important;height:48px!important;box-sizing:border-box;font-size:16px!important;line-height:1.35!important;white-space:nowrap!important;letter-spacing:-.6px;padding:6px 3px!important;border:1px solid var(--c-line)!important;border-radius:7px!important;background:var(--c-soft)!important;color:var(--mh-custom-menu,var(--c-ink))!important;box-shadow:0 2px 0 color-mix(in srgb,var(--c-line) 75%,transparent)!important;font-family:inherit!important}
body.mh-five #frame .tabs .tab:before{display:none!important}
body.mh-five #frame .tabs .tab[aria-current="page"],body.mh-five #frame .tabs .tab[aria-expanded="true"]{background:var(--c-accent)!important;border-color:var(--c-accent)!important;color:#fff!important;box-shadow:inset 0 1px 0 #ffffff30,0 2px 0 var(--c-line)!important}
body.mh-five #frame .tabs .mh-settings-tab{margin-top:8px!important}body.mh-five #frame .tabs .tab svg{width:13px;height:13px;flex:none}
body.mh-five #frame :is(button,input,textarea,select){font-family:var(--mh-room-font,var(--c-font))!important;transition:background-color .15s,color .15s,box-shadow .15s}
body.mh-five #frame :is(.mh-social-bar button,.mh-social-bar label,.mh-profile-name-link,.mh-music,.skin){border:1px solid var(--c-line)!important;border-radius:5px!important;background:var(--mh-control-bg,var(--c-soft))!important;color:var(--mh-control-ink,var(--c-ink))!important;box-shadow:0 1px 1px #2341!important;white-space:nowrap}
body.mh-five #frame[data-body-custom="true"] :is(button:not(.mh-cover-brand):not(.mh-subscriber-stat),.mh-social-bar label){color:var(--mh-custom-body)!important;background:var(--mh-control-bg)!important}
body.mh-five #frame[data-menu-custom="true"] .tabs .tab{background:var(--mh-custom-menu-bg)!important;color:var(--mh-custom-menu)!important}
body.mh-five #frame .tail{display:flex;justify-content:space-between;margin-top:13px;padding:0;color:var(--c-muted);font-size:9px;border:0}
body.mh-five #frame .tail strong{font-weight:400}
/* Border choices alter the frame and its buttons, never the layout. */
body.mh-five[data-room-border="clean"] #frame .stitch{border-style:solid!important;border-color:#ffffff80!important}
body.mh-five[data-room-border="double"] #frame .stitch{border:3px double #fff9!important;padding:8px!important}
body.mh-five[data-room-border="round"] #frame{border-radius:29px!important}
body.mh-five[data-room-border="round"] #frame .tabs .tab{border-radius:17px!important}
body.mh-five[data-room-border="round"] #frame :is(.mh-social-bar button,.mh-social-bar label,.mh-profile-name-link,.mh-music){border-radius:14px!important}
body.mh-five[data-room-border="book"] #frame .tabs .tab{border-radius:2px 8px 8px 2px!important;border-left-width:4px!important}
body.mh-five[data-room-border="book"] #frame .stitch{border:1px solid #ffffffa0!important;border-left-width:4px!important;padding-left:7px!important}
body.mh-five[data-room-border="double"] #frame .tabs .tab{border-style:double!important;border-width:3px!important}
body.mh-five.mh-board-view #frame .main{display:grid!important;grid-template-columns:minmax(0,1fr) 88px!important;gap:15px!important}
body.mh-five.mh-board-view #frame .profile{display:none!important}
body.mh-five.mh-board-view #frame .heading .mh-heading-photo{width:38px;height:38px;margin-right:8px;flex:none}
body.mh-five #frame [hidden]{display:none!important}
/* A single concept picker with only three appearance adjustments. */
.mh-five-settings{width:330px!important;padding:18px!important;max-height:calc(100dvh - 32px)!important;height:min(850px,calc(100dvh - 32px))!important;inset:16px 16px auto auto;background:#fcfcfa!important;border:1px solid #d6dfdf!important;border-radius:15px;box-shadow:0 15px 45px #20394925}
.mh-five-settings #mhSettingsForm{height:100%;display:flex;flex-direction:column;min-height:0;font-family:Pretendard,"Malgun Gothic",sans-serif}
.mh-five-settings header{display:flex;align-items:center;justify-content:space-between;margin:0;padding:0;border:0;flex:none}.mh-five-settings header h2{font:700 19px/1.4 inherit;color:#304b57;margin:0}.mh-five-settings #mhClose{font-size:22px;border:0;background:transparent;box-shadow:none;padding:0 4px;min-height:28px;color:#899b9d}
.mh-five-settings .mh-settings-intro{font-size:11px;line-height:1.5;margin:7px 0 14px;color:#809193;flex:none}
.mh-five-body{overflow:auto;min-height:0;flex:1;scrollbar-width:thin;padding:3px;overscroll-behavior:contain}
.mh-five-settings fieldset{border:0;padding:0;margin:0 0 15px}.mh-five-settings legend{font-size:12px;font-weight:650;margin-bottom:9px;color:#536d73}
.mh-five-settings .mh-concept-choices{display:grid;grid-template-columns:1fr;gap:7px}
.mh-five-settings .mh-concept-choices button{display:flex;align-items:center;gap:10px;position:relative;min-height:59px;width:100%;padding:8px 10px;border:1px solid #dce4e4;border-radius:9px;background:#fff;text-align:left;cursor:pointer;color:#405b66;box-shadow:0 1px 2px #223d4e08;flex-shrink:0}
.mh-five-settings .mh-concept-choices button>span:nth-child(2){min-width:0;display:block;flex:1}
.mh-five-settings .mh-concept-choices strong{display:block;font-size:12px;font-weight:700;white-space:nowrap;line-height:1.5}.mh-five-settings .mh-concept-choices small{display:block;font-size:10px;color:#8c989a;line-height:1.5;white-space:nowrap}
.mh-five-settings .mh-concept-choices button[aria-pressed="true"]{border-color:#6f999d;box-shadow:0 0 0 2px #81a5a729}
.mh-five-settings .mh-concept-check{font-size:15px;color:#527d83;visibility:hidden}.mh-five-settings button[aria-pressed="true"] .mh-concept-check{visibility:visible}
.mh-concept-mini{display:grid!important;grid-template-columns:12px 29px 7px;grid-template-rows:6px 23px;gap:2px;width:62px;height:42px;box-sizing:border-box;padding:5px 4px;border:1px solid #86a6b6;border-radius:5px;background:#9ebcca;flex:none;overflow:hidden}
.mh-concept-mini:before{content:'';grid-column:1/4;background:#fff9;border-radius:1px}.mh-concept-mini i{background:#fff9;border-radius:2px}.mh-concept-mini b{background:linear-gradient(#fff9 0 30%,#c2b091 30% 75%,#faf2dd 75%);border-radius:2px}.mh-concept-mini em{background:repeating-linear-gradient(#f9f8f4 0 5px,transparent 5px 8px);border-radius:1px}
[data-mh-preset="cafe"] .mh-concept-mini{background:#c9b18e;border-color:#aa8d69}[data-mh-preset="garden"] .mh-concept-mini{background:#a6b295;border-color:#829470}[data-mh-preset="rose"] .mh-concept-mini{background:#c696a0;border-color:#ad7e89;border-radius:8px}[data-mh-preset="navy"] .mh-concept-mini{background:#394e62;border-color:#b9a37b}
.mh-five-settings .mh-design-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;border-radius:7px;background:#eef2f2;padding:3px;margin:7px 0 10px}
.mh-five-settings .mh-design-tabs button{font:600 12px/1.4 inherit;min-height:33px;box-shadow:none;border:0;border-radius:5px;background:transparent;color:#879496;padding:6px;cursor:pointer}
.mh-five-settings .mh-design-tabs button[aria-selected="true"]{background:#fff;color:#3c6268;box-shadow:0 1px 4px #1231}
.mh-five-settings .mh-five-panel{min-height:120px;padding:0 2px 8px}.mh-five-settings .mh-five-panel[hidden]{display:none!important}.mh-five-settings .mh-five-panel>p{font-size:10px;color:#8e9b9c;margin:0 0 4px}
.mh-five-color{display:grid;grid-template-columns:1fr 35px 43px;align-items:center;gap:8px;padding:6px 0;font-size:11px;color:#5a737a}
.mh-five-color input[type="color"]{width:35px;height:29px;border:1px solid #d6e0e2;background:#fff;border-radius:5px;padding:2px;cursor:pointer}.mh-five-color button{min-height:27px;padding:3px 5px;font:500 10px/1.4 inherit;border:1px solid #d6e0e2;border-radius:5px;background:white;color:#9aa7a8;cursor:pointer}.mh-five-color button[aria-pressed="true"]{color:#4e7880;background:#edf5f4;border-color:#b5cdcc}
.mh-five-fonts,.mh-five-borders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.mh-five-fonts label,.mh-five-borders label{display:flex;flex-direction:column;align-items:center;gap:5px;padding:9px 3px;cursor:pointer;border:1px solid #dbe5e5;border-radius:6px;background:#fff;font-size:10px;color:#71878b;position:relative}
.mh-five-fonts input,.mh-five-borders input{position:absolute;opacity:0;width:1px;height:1px}.mh-five-fonts strong{font-size:20px;font-weight:500;color:#405d65}.mh-five-fonts [data-font="serif"] strong{font-family:"Noto Serif KR",Batang,serif}.mh-five-fonts [data-font="dotum"] strong{font-family:Dotum,sans-serif}
.mh-five-fonts label:has(:checked),.mh-five-borders label:has(:checked){border-color:#78a0a4;background:#f1f7f6;box-shadow:0 0 0 1px #78a0a433}
.mh-five-borders i{display:block;width:32px;height:18px;border:1px dashed #839d9f;border-radius:3px}.mh-five-borders [data-border="clean"] i{border-style:solid}.mh-five-borders [data-border="double"] i{border:3px double #839d9f}.mh-five-borders [data-border="round"] i{border-style:solid;border-radius:12px}.mh-five-borders [data-border="book"] i{border-style:solid;border-left-width:4px;border-radius:0 5px 5px 0}
.mh-five-settings .mh-settings-extra{max-height:none;overflow:visible;margin:5px 0;padding-top:9px;border-top:1px solid #e1e8e7}.mh-five-settings .mh-settings-extra summary{font-size:11px;color:#788f91;cursor:pointer}.mh-five-settings .mh-account{display:flex;gap:9px;margin:10px 0}.mh-five-settings .mh-avatar{width:35px;height:35px;overflow:hidden;flex:none;border-radius:50%;background:#ecf2f2}.mh-five-settings .mh-avatar img{width:100%;height:100%;object-fit:cover}.mh-five-settings .mh-account strong{display:block;font-size:11px}.mh-five-settings .mh-account button{font-size:10px;padding:2px 4px;min-height:24px}.mh-five-settings .mh-field{display:block;font-size:11px;margin:10px 0;color:#647f83}.mh-five-settings :is(textarea,select){display:block;width:100%;box-sizing:border-box;padding:7px;border:1px solid #cddcdd;border-radius:5px;margin-top:4px;font:12px/1.5 inherit;background:white;color:#405d65}.mh-five-settings .mh-file{font-size:10px;display:block;margin:10px 0}.mh-five-settings .mh-file input{width:100%;font-size:10px}.mh-five-settings .mh-file span{font-size:9px;color:#99a5a6}.mh-five-settings .mh-audio-row{display:flex;gap:5px;align-items:center;font-size:10px}.mh-five-settings .mh-audio-row label{min-width:0;flex:1}.mh-five-settings .mh-audio-row input{max-width:120px}.mh-five-settings .mh-audio-row button{font-size:10px;padding:3px 5px;min-height:26px}.mh-five-settings .mh-check{font-size:10px;color:#789092}
.mh-five-settings .mh-local{font-size:9px;line-height:1.5;color:#94a4a5;flex:none;margin:9px 0 3px}.mh-five-settings .mh-settings-message{color:#a25a59;font-size:11px;margin:2px 0;max-height:32px;overflow:auto;flex:none}.mh-five-settings footer{display:grid;grid-template-columns:1fr 1.3fr;gap:7px;margin-top:7px;padding-top:10px;border-top:1px solid #dfe7e7;flex:none;background:none}.mh-five-settings footer button{min-height:40px;border:1px solid #cbdcdd;border-radius:7px;background:white;color:#69858a;font:600 12px/1.4 inherit;cursor:pointer}.mh-five-settings footer .mh-save{background:#426f76;border-color:#426f76;color:#fff}.mh-five-settings :focus-visible{outline:2px solid #7ba2ad;outline-offset:3px}.mh-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(min-width:1101px){body.mh-five.mh-styling #frame{width:calc(100% - 350px)!important;margin-left:0!important}body.mh-five.mh-styling:not(.mh-board-view) #frame .main{grid-template-columns:minmax(160px,23%) minmax(0,1fr) 82px!important;gap:12px!important}body.mh-five.mh-styling.mh-board-view #frame .main{grid-template-columns:minmax(0,1fr) 82px!important;gap:12px!important}body.mh-five.mh-styling #frame .tabs,body.mh-five.mh-styling #frame .tabs .tab{width:82px!important}}
@media(max-width:900px){body.mh-five{padding:18px 12px}body.mh-five #frame .heading h1{font-size:23px!important}body.mh-five #frame .heading p{display:none}body.mh-five:not(.mh-board-view) #frame .main{grid-template-columns:minmax(155px,25%) minmax(0,1fr) 74px!important;gap:10px!important}body.mh-five #frame .profile{padding:15px 12px!important}body.mh-five #frame .profile-photo.mh-round-photo{width:115px;height:115px}body.mh-five #frame .tabs,body.mh-five #frame .tabs .tab{width:74px!important}body.mh-five #frame .tabs .tab{font-size:14px!important}body.mh-five.mh-board-view #frame .main{grid-template-columns:minmax(0,1fr) 74px!important}}
@media(max-width:640px){body.mh-original.mh-five{padding:8px 6px 14px}body.mh-five #frame{padding:29px 7px 7px!important;border-radius:14px!important}body.mh-five #frame .stitch{padding:6px!important;border-radius:10px}body.mh-five #frame .paper{padding:13px 10px 10px!important;border-radius:7px!important}body.mh-five #frame .mh-cover-brand{font-size:8px!important;top:7px;left:15px}body.mh-five #frame .views{top:7px;right:15px;font-size:9px}body.mh-five #frame .views small{font-size:8px}body.mh-five #frame .views b{font-size:11px}body.mh-five #frame .heading{margin-bottom:9px;padding-bottom:9px;gap:5px;flex-wrap:wrap}body.mh-five #frame .heading h1{font-size:22px!important}body.mh-five #frame .mh-controls{margin-left:auto}body.mh-five #frame .mh-music{font-size:9px!important;padding:3px 5px;min-height:24px}body.mh-five #frame .mh-social-bar{gap:5px;margin-bottom:9px}body.mh-five #frame .mh-social-bar :is(button,label){font-size:9px!important;padding:3px 5px;min-height:25px}body.mh-five:not(.mh-board-view) #frame .main,body.mh-five.mh-board-view #frame .main{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}body.mh-five #frame .tabs{grid-row:1;grid-column:1;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));width:100%!important;gap:4px;padding:0!important;flex-direction:row!important}body.mh-five #frame .tabs .tab{width:100%!important;height:35px!important;min-height:35px!important;font-size:13px!important;padding:4px 1px!important;border-radius:5px!important;letter-spacing:-.7px}body.mh-five #frame .tabs .tab svg{width:10px;height:10px}body.mh-five #frame .tabs .mh-settings-tab{margin-top:0!important}body.mh-five #frame .profile{grid-row:2;grid-column:1;min-height:0;display:grid!important;grid-template-columns:86px minmax(0,1fr);gap:1px 13px;padding:13px 12px!important}body.mh-five #frame .profile .profile-photo.mh-round-photo{grid-row:1/4;grid-column:1;width:76px;height:76px;margin:0 0 18px!important;border-width:3px!important;outline-offset:2px}body.mh-five #frame .profile-name{font-size:18px!important;margin:0;grid-column:2;grid-row:1}body.mh-five #frame .role{font-size:10px!important;grid-column:2;grid-row:2}body.mh-five #frame .quote{grid-column:2;grid-row:3;min-height:0;padding:0;margin:3px 0 0;border:0}body.mh-five #frame .quote .label{display:none!important}body.mh-five #frame .quote p{font-size:11px!important;line-height:1.6;margin:0}body.mh-five #frame .mood,body.mh-five #frame .mh-profile-actions{display:none!important}body.mh-five #frame .content{grid-row:3;grid-column:1;padding:11px 10px!important}body.mh-five.mh-board-view #frame .content{grid-row:2}body.mh-five.mh-board-view #frame .profile{display:none!important}body.mh-five #frame .section-title h2{font-size:16px}body.mh-five #frame .mh-home-link{padding:8px 0;min-height:33px}body.mh-five #frame .mh-home-link>span{font-size:11px!important}body.mh-five #frame .mh-home-link>small{font-size:9px}body.mh-five #frame .bubble{font-size:8px;padding:5px;max-width:65%;top:11px;right:11px}body.mh-five #frame .room-head{margin-top:12px}body.mh-five #frame .tail{font-size:8px}body.mh-five #frame .tail>span{display:none}.mh-five-settings{inset:auto 6px 6px!important;width:calc(100% - 12px)!important;height:min(680px,78dvh)!important;max-height:78dvh!important;padding:14px!important}.mh-five-settings .mh-concept-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.mh-five-settings .mh-concept-choices button{padding:7px;gap:6px;min-height:57px}.mh-five-settings .mh-concept-choices small{display:none}.mh-five-settings .mh-concept-choices strong{font-size:10px}.mh-five-settings .mh-concept-mini{width:44px;height:33px;grid-template-columns:8px 19px 5px;grid-template-rows:4px 18px;padding:4px 3px;gap:1px}.mh-five-settings .mh-concept-check{font-size:11px}.mh-five-settings .mh-settings-intro{margin-bottom:10px}.mh-five-settings .mh-five-panel{min-height:115px}}
@media(prefers-reduced-motion:reduce){body.mh-five #frame :is(button,input,textarea,select){transition:none}}

#mhFiveSettings #mhSettingsForm{--mh-control-ink:#49636a;--mh-control-bg:#fff}
#mhFiveSettings #mhSettingsForm .mh-save{color:#fff!important;background:#426f76!important;border-color:#426f76!important}
#mhFiveSettings #mhSettingsForm .mh-design-tabs button{background:transparent!important;color:#879496!important}
#mhFiveSettings #mhSettingsForm .mh-design-tabs button[aria-selected="true"]{background:#fff!important;color:#3c6268!important}
#mhFiveSettings #mhSettingsForm [data-color-auto][aria-pressed="true"]{background:#edf5f4!important;color:#4e7880!important}
#mhFiveSettings header h2{font-family:inherit;font-size:19px;font-weight:700;line-height:1.4}
body.mh-five #frame[data-body-custom="true"] .tabs .tab[aria-current="page"],body.mh-five #frame[data-menu-custom="true"] .tabs .tab[aria-current="page"]{outline:2px solid currentColor;outline-offset:-5px}
body.mh-five #frame .miniroom{min-height:0!important;height:auto!important;aspect-ratio:auto!important;display:block}
body.mh-five #frame .tabs .tab svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:360px){#mhFiveSettings .mh-concept-mini{width:36px;height:30px;grid-template-columns:6px 15px 4px}#mhFiveSettings .mh-concept-choices strong{font-size:9px}#mhFiveSettings .mh-concept-check{display:none}#mhFiveSettings .mh-concept-choices button{gap:5px;padding:6px}}
body.mh-five #frame .miniroom .room-art{position:static!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;max-height:none!important;transform:none!important}

/* Compact header actions and locally hosted optional fonts. */
body.mh-five #frame .mh-controls{margin:0;flex-wrap:wrap;justify-content:flex-end;gap:6px}
body.mh-five #frame .mh-controls .mh-social-bar{margin:0;padding:0;display:flex;gap:6px}
body.mh-five #frame .mh-controls .mh-social-bar :is(button,a){min-height:27px;padding:4px 8px;font-size:10px!important;white-space:nowrap}
.mh-five-fonts [data-font="gowundodum"] strong{font-family:"Room Gowun Dodum",sans-serif}
.mh-five-fonts [data-font="gowunbatang"] strong{font-family:"Room Gowun Batang",serif}
.mh-five-fonts [data-font="plex"] strong{font-family:"Room IBM Plex Sans KR",sans-serif}
@media(max-width:640px){body.mh-five #frame .heading .mh-controls{display:flex!important;flex-direction:row!important;width:100%;margin-top:8px;gap:5px}body.mh-five #frame .mh-controls .mh-social-bar{flex-wrap:wrap;justify-content:flex-end}body.mh-five #frame .mh-controls .mh-social-bar :is(button,a){font-size:9px!important;padding:4px 6px}}

/* Text color choices: automatic or seven readable fixed colors per area. */
#mhFiveSettings .mh-text-palette{padding:0;margin:0 0 12px;border:0;min-width:0}
#mhFiveSettings .mh-text-palette legend{font-size:12px;font-weight:600;color:#526b75;margin-bottom:7px}
#mhFiveSettings .mh-text-palette>div{display:flex;align-items:center;gap:7px}
#mhFiveSettings #mhSettingsForm .mh-color-auto{flex:none;border:1px solid #cbd8dc!important;background:white!important;color:#536d78!important;border-radius:5px!important;padding:4px 7px;font-size:10px;min-height:27px;box-shadow:none!important;cursor:pointer}
#mhFiveSettings #mhSettingsForm .mh-color-dot{width:25px;height:25px;min-height:25px;padding:0;flex:none;border:2px solid white!important;border-radius:50%!important;background:var(--swatch)!important;color:white!important;box-shadow:0 0 0 1px #c5d1d5!important;cursor:pointer;display:grid;place-items:center;font-size:12px}
#mhFiveSettings .mh-color-dot span{visibility:hidden}#mhFiveSettings .mh-color-dot[aria-pressed="true"] span{visibility:visible}
#mhFiveSettings #mhSettingsForm [data-text-key][aria-pressed="true"]{outline:2px solid #456e7b;outline-offset:2px}
@media(max-width:360px){#mhFiveSettings .mh-text-palette>div{gap:5px}#mhFiveSettings #mhSettingsForm .mh-color-dot{width:23px;height:23px;min-height:23px}#mhFiveSettings #mhSettingsForm .mh-color-auto{padding:4px}}

body.mh-five #frame .mh-music-credit{font-size:9px!important;color:var(--mh-custom-body,var(--c-muted))!important;white-space:nowrap;padding:2px 0;text-decoration:underline;background:transparent!important;border:0!important;box-shadow:none!important}body.mh-five #frame .mh-music{max-width:200px}#mhFiveSettings #mhTrack{font-family:inherit;font-size:12px}

/* Clearly visible play control; attribution stays away from the header. */
body.mh-five #frame :is(#mhMusic,#mhPublicMusic){display:inline-flex;align-items:center;gap:6px;min-height:34px!important;padding:6px 11px;font-size:11px!important;font-weight:700;background:color-mix(in srgb,var(--c-accent) 78%,#182d2d)!important;color:#fff!important;border:1px solid color-mix(in srgb,var(--c-accent) 65%,#182d2d)!important;box-shadow:0 2px 3px #253b4018!important;cursor:pointer}
body.mh-five #frame :is(#mhMusic,#mhPublicMusic) span{color:inherit!important}
body.mh-five #frame :is(#mhMusic,#mhPublicMusic):hover{background:color-mix(in srgb,var(--c-accent) 65%,#182d2d)!important}
body.mh-five #frame :is(#mhMusic,#mhPublicMusic):focus-visible{outline:3px solid var(--c-cover);outline-offset:3px}
body.mh-five #frame :is(#mhMusic,#mhPublicMusic):disabled{background:#eee!important;color:#777!important;border-color:#ddd!important;box-shadow:none!important;cursor:default}
#mhFiveSettings .mh-music-credit{display:block;width:fit-content;margin-top:8px;font-size:10px;color:#6c7c82;text-decoration:underline}
body.mh-five #frame .tail .mh-music-credit{margin-left:auto;font-size:9px!important}
@media(max-width:640px){body.mh-five #frame :is(#mhMusic,#mhPublicMusic){min-height:30px;padding:5px 8px;font-size:10px!important}}

body.mh-five #frame :is(#mhMusic,#mhPublicMusic) .mh-play-icon{display:inline-flex;flex:none;align-items:center;justify-content:center;width:22px;height:22px;font-family:"Segoe UI Symbol",sans-serif;font-size:19px!important;line-height:1}
body.mh-five #frame .mh-social-bar .mh-social-discover{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px!important;padding:6px 11px;font-size:11px!important;font-weight:700;background:var(--c-soft)!important;color:var(--c-ink)!important;border:1px solid var(--c-accent)!important;box-shadow:0 2px 3px #253b4012!important}
body.mh-five #frame .mh-social-bar .mh-social-discover span{color:inherit!important}
body.mh-five #frame .mh-social-bar .mh-social-discover:hover{background:color-mix(in srgb,var(--c-soft) 75%,var(--c-cover))!important}
body.mh-five #frame .mh-social-bar .mh-social-discover:focus-visible{outline:3px solid var(--c-cover);outline-offset:3px}
body.mh-five #frame .mh-social-bar .mh-social-discover:disabled{opacity:.6;cursor:wait}
@media(max-width:640px){body.mh-five #frame .mh-controls{flex-wrap:wrap;max-width:100%}body.mh-five #frame .mh-social-bar .mh-social-discover{font-size:10px!important;padding:5px 8px;min-height:32px}body.mh-five #frame :is(#mhMusic,#mhPublicMusic) .mh-play-icon{width:20px;height:20px;font-size:18px!important}}

body.mh-five #frame .mh-profile-actions .mh-profile-name-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:32px;padding:5px 10px;box-sizing:border-box;text-align:center;font-family:inherit;font-size:11px;line-height:1.4;max-width:100%;flex:1 1 auto}
body.mh-five #frame .mh-profile-name-link span{display:block;flex:0 1 auto;white-space:nowrap;line-height:1.4}
body.mh-five #frame .mh-profile-name-link small{display:block;flex:none;line-height:1;color:inherit}
body.mh-five #frame .mh-profile-actions>.mh-profile-relation{flex:none;margin-left:4px}

body.mh-five.mh-visitor #frame .mh-profile-actions{align-items:stretch;gap:0}
body.mh-five #frame .mh-profile-follow-row{display:flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:nowrap;width:100%;margin:0}
body.mh-five #frame .mh-profile-follow-row .mh-profile-subscribe{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:32px;margin:0;padding:5px 11px;font-family:inherit;line-height:1.4;white-space:nowrap;flex:none}
body.mh-five #frame .mh-profile-follow-row .mh-profile-relation{margin:0;line-height:1.4;white-space:nowrap}

/* Relationships: room's count above, viewer's shortcuts below the profile. */
body.mh-five #frame .views .mh-subscriber-stat{display:inline-flex;align-items:baseline;gap:4px;white-space:nowrap;margin:0;padding:0;border:0;background:transparent;box-shadow:none;color:inherit;font-family:inherit;line-height:inherit}
body.mh-five #frame .views button.mh-subscriber-stat{cursor:pointer}
body.mh-five #frame .views button.mh-subscriber-stat:hover{text-decoration:underline;text-underline-offset:3px}
body.mh-five #frame .views button.mh-subscriber-stat:focus-visible{outline:2px solid white;outline-offset:3px}
body.mh-five #frame .mh-profile-follow-row{gap:6px}
body.mh-five #frame .mh-profile-follow-row :is(.mh-profile-subscribe,.mh-profile-following,.mh-profile-name-link){display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:32px;flex:1 1 auto;padding:5px 6px;font-family:inherit;font-size:10px!important;line-height:1.4;white-space:nowrap;letter-spacing:-.3px;box-sizing:border-box}
body.mh-five #frame .mh-profile-following{border:1px solid var(--c-accent)!important;border-radius:5px;background:var(--c-soft)!important;color:var(--c-ink)!important;box-shadow:0 1px 1px #2341;cursor:pointer}
body.mh-five #frame .mh-profile-following:hover{background:var(--c-line)!important}
.mh-social-person a{flex:1;min-width:0;line-height:1.5;text-underline-offset:3px}
@media(max-width:640px){body.mh-five #frame{padding-top:51px!important}body.mh-five #frame .views{top:29px;left:15px;right:15px;justify-content:flex-end;gap:8px}body.mh-five #frame .profile .mh-profile-actions{display:flex!important;grid-column:1/-1;grid-row:5;margin-top:8px;padding-top:8px}body.mh-five #frame .mh-profile-follow-row{justify-content:flex-start}body.mh-five #frame .mh-profile-follow-row :is(.mh-profile-subscribe,.mh-profile-following,.mh-profile-name-link){flex:0 1 auto;padding:5px 10px;font-size:11px!important}}

body.mh-five #frame .views{top:15px}
body.mh-five #frame .profile-photo.mh-round-photo{width:min(190px,100%);height:auto;aspect-ratio:1;margin:0 auto 12px!important;flex:none}
body.mh-five #frame .profile-photo[role="button"]:after{display:none!important}
body.mh-five #frame .mh-photo-change{display:inline-flex;align-items:center;justify-content:center;align-self:center;flex:none;min-height:26px;padding:3px 11px;margin:0 auto 14px;border:1px solid var(--c-line);border-radius:5px;background:var(--c-soft);color:var(--c-ink);font:600 10px/1.4 var(--mh-room-font,var(--c-font));cursor:pointer;box-shadow:0 1px 2px #2340000a}
body.mh-five #frame .mh-photo-change:hover{border-color:var(--c-accent);background:var(--c-line)}
body.mh-five #frame .mh-photo-change:focus-visible{outline:2px solid var(--c-accent);outline-offset:3px}
@media(min-width:641px) and (max-width:900px){body.mh-five #frame .profile-photo.mh-round-photo{width:min(136px,100%)}body.mh-five #frame .mh-profile-follow-row :is(.mh-profile-subscribe,.mh-profile-following,.mh-profile-name-link){font-size:8.5px!important;padding:5px 4px}}
@media(max-width:640px){body.mh-five #frame{padding-top:57px!important}body.mh-five #frame .views{top:35px}body.mh-five #frame .profile{grid-template-columns:104px minmax(0,1fr)}body.mh-five #frame .profile .profile-photo.mh-round-photo{width:92px;height:92px;margin:0 auto 6px!important}body.mh-five #frame .mh-photo-change{grid-column:1;grid-row:4;justify-self:center;margin:0 auto 3px;min-height:25px;font-size:10px;padding:3px 8px}}

/* Cover labels stay on the cover, not on a body-button color swatch. */
body.mh-five #frame[data-body-custom="true"] .mh-cover-brand{background:transparent!important;color:#fff!important;border:0!important;box-shadow:none!important}
#mhFiveSettings .mh-settings-extra summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px;box-sizing:border-box;padding:9px 11px;border:1px solid #c6d7d8;border-radius:7px;background:#edf4f4;color:#345c62;font-size:15px;font-weight:700;line-height:1.4;list-style:none}
#mhFiveSettings .mh-settings-extra summary::-webkit-details-marker{display:none}
#mhFiveSettings .mh-settings-extra summary:after{content:'＋';font-size:20px;line-height:1;flex:none}
#mhFiveSettings .mh-settings-extra[open] summary:after{content:'−'}
#mhFiveSettings .mh-settings-extra summary:hover{background:#e2eeee;border-color:#85a7aa}
#mhFiveSettings .mh-settings-extra summary:focus-visible{outline:2px solid #4e7f89;outline-offset:3px}
#mhFiveSettings .mh-settings-extra .mh-field{font-size:13px;font-weight:600;color:#405f65}
#mhFiveSettings .mh-settings-extra :is(select,textarea){font-family:inherit;font-size:13px;line-height:1.5}
#mhFiveSettings .mh-settings-extra :is(.mh-account strong,.mh-check,.mh-audio-row){font-size:12px}
#mhFiveSettings .mh-settings-extra :is(.mh-account button,.mh-audio-row button){font-size:12px;min-height:30px;padding:4px 8px}

body.mh-five #frame .tabs #mhDecorate{display:flex;align-items:center;justify-content:center;gap:0}
body.mh-five #frame .tabs #mhDecorate svg{display:block!important;width:21px;height:21px;flex:none}
@media(max-width:640px){body.mh-five #frame .tabs:has(#mhDecorate){grid-template-columns:repeat(4,minmax(0,1fr)) 36px}body.mh-five #frame .tabs:not(:has(#mhDecorate)){grid-template-columns:repeat(4,minmax(0,1fr))}body.mh-five #frame .tabs #mhDecorate svg{width:20px;height:20px}}

/* Slim navigation gives the paper more room while keeping its outer frame stable. */
@media(min-width:641px){
 body.mh-five:not(.mh-board-view) #frame .main{grid-template-columns:minmax(190px,23%) minmax(0,1fr) 72px!important;gap:12px!important}
 body.mh-five.mh-board-view #frame .main{grid-template-columns:minmax(0,1fr) 72px!important;gap:12px!important}
 body.mh-five #frame .tabs{width:72px}
 body.mh-five #frame .tabs .tab{width:72px!important;font-size:13.5px!important}
}
@media(max-width:640px){
 body.mh-original.mh-five{padding-left:4px!important;padding-right:4px!important}
 body.mh-five #frame .tabs .tab{font-size:10.5px!important;padding-left:2px!important;padding-right:2px!important}
 body.mh-five #frame .tabs:has(#mhDecorate){grid-template-columns:repeat(4,minmax(0,1fr)) 30px}
}

/* Approved bookmark tabs across the paper edge. */
@media(min-width:641px){body.mh-five #frame .tabs{transform:translateX(-26px);position:relative!important;z-index:5}body.mh-five #frame .tabs .tab{border-radius:3px 9px 9px 3px!important;box-shadow:2px 3px 5px #28465b28!important}}@media(max-width:640px){body.mh-five #frame .tabs{position:relative!important;z-index:5;transform:translateY(14px);margin-bottom:0!important}body.mh-five #frame .tabs .tab{border-radius:8px 8px 2px 2px!important;box-shadow:1px -2px 4px #28465b16!important}body.mh-five #frame .profile,body.mh-five #frame .content{padding-top:22px!important}}
