body.hlg-ready .hiroba-cards,
body.hlg-ready .hiroba-rule,
body.hlg-ready .hiroba-arrow,
body.hlg-ready #comment-title,
body.hlg-ready #comment-box ol.comment-list,
body.hlg-ready #hhu-lounge{display:none !important}
body.hlg-ready .hiroba-hero{margin-bottom:14px;padding:22px 20px}
body.hlg-ready .hiroba-hero .hh-emoji{font-size:30px;margin-bottom:2px}
body.hlg-ready .hiroba-hero .hh-title{font-size:22px}
body.hlg-ready .hiroba-hero p{font-size:13.5px}
html.hlg-lock{overflow:hidden}

#hlg{--navy:#14213d;--line:#d6dfea;--ink:#1a2432;--mute:#4f5f73;--teal:#1f8a84;--q:#2a7fc9;--r:#e07a2a;--z:#2f9e63;font-size:15px;color:var(--ink);line-height:1.8;margin:0 0 24px}
#hlg *{box-sizing:border-box}
#hlg h3{margin:0;padding:0;border:0;background:none}

/* ロビー：廊下と扉 */
#hlg .hlg-hall{position:relative;background:linear-gradient(180deg,#f4f1ea 0%,#efe9df 100%);border:1px solid #e3dccf;border-radius:20px;padding:16px 18px 0;margin:0 0 14px;overflow:hidden}
#hlg .hlg-hall::before{content:"";position:absolute;left:0;right:0;top:0;height:9px;background:repeating-linear-gradient(90deg,#d9d1c2 0 22px,#e8e2d6 22px 44px);opacity:.9}
#hlg .hlg-hall-sign{display:flex;align-items:baseline;gap:12px;margin:8px 0 14px}
#hlg .hlg-hall-sign-t{font-size:15px;font-weight:900;letter-spacing:.18em;color:#fff;background:var(--navy);padding:4px 14px;border-radius:6px;box-shadow:0 2px 0 #0a1226}
#hlg .hlg-hall-sign-s{font-size:13.5px;color:#5b5346;font-weight:700}
#hlg .hlg-doors{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;position:relative;z-index:1}
#hlg .hlg-door{appearance:none;border:0;background:none;padding:0;cursor:pointer;text-align:center;font-family:inherit;color:var(--ink);display:flex;flex-direction:column;align-items:center}
#hlg .hlg-plate{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1.5px solid #cfc6b6;border-radius:8px;padding:5px 14px;font-size:15px;font-weight:900;color:#1a2432;box-shadow:0 2px 4px rgba(0,0,0,.08);margin-bottom:8px;position:relative}
#hlg .hlg-plate::before,#hlg .hlg-plate::after{content:"";position:absolute;top:50%;width:5px;height:5px;border-radius:50%;background:#b9ae9a;transform:translateY(-50%)}
#hlg .hlg-plate::before{left:5px}#hlg .hlg-plate::after{right:5px}
#hlg .hlg-plate-ic{width:20px;height:20px;border-radius:6px;background:var(--rc);color:#fff;font-size:12px;display:inline-flex;align-items:center;justify-content:center;font-weight:900}
#hlg .hlg-door-frame{display:block;width:100%;max-width:240px;padding:8px 8px 0;background:#c9bda7;border-radius:16px 16px 0 0;box-shadow:inset 0 0 0 3px #b5a88f}
#hlg .hlg-door-leaf{display:block;position:relative;height:200px;border-radius:10px 10px 0 0;background:linear-gradient(135deg,var(--rc),var(--rd));box-shadow:inset 0 0 0 2px rgba(255,255,255,.18),0 10px 20px rgba(0,0,0,.18);transform-origin:left center;transition:transform .25s ease,box-shadow .25s}
#hlg .hlg-door:hover .hlg-door-leaf{transform:perspective(900px) rotateY(-16deg);box-shadow:inset 0 0 0 2px rgba(255,255,255,.18),14px 12px 26px rgba(0,0,0,.28)}
#hlg .hlg-door-win{position:absolute;left:50%;top:22px;transform:translateX(-50%);width:92px;height:62px;border-radius:8px;background:linear-gradient(180deg,#fdfefe,#dceefb);border:3px solid rgba(255,255,255,.75);display:flex;align-items:baseline;justify-content:center;gap:3px;color:var(--rd);box-shadow:inset 0 0 12px rgba(0,0,0,.08)}
#hlg .hlg-door-win b{font-size:30px;font-weight:900;line-height:1}
#hlg .hlg-door-win small{font-size:12px;font-weight:800}
#hlg .hlg-door-panel{position:absolute;left:22px;right:22px;top:100px;height:40px;border:2px solid rgba(255,255,255,.35);border-radius:4px;box-shadow:inset 0 2px 6px rgba(0,0,0,.15)}
#hlg .hlg-door-panel2{top:150px;height:34px}
#hlg .hlg-door-knob{position:absolute;right:18px;top:118px;width:14px;height:14px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff6c8,#c79a2b 60%,#8a6410);box-shadow:0 1px 3px rgba(0,0,0,.4)}
#hlg .hlg-door-lamp{position:absolute;left:10px;top:8px;background:#ff5a3c;color:#fff;font-size:11px;font-weight:900;padding:2px 9px;border-radius:999px;box-shadow:0 0 0 3px rgba(255,90,60,.25),0 0 12px rgba(255,90,60,.8)}
#hlg .hlg-door-desc{display:block;font-size:13.5px;color:#2b3a4c;margin:10px 0 2px;line-height:1.55;min-height:2.4em;padding:0 6px}
#hlg .hlg-door-meta{display:block;font-size:12.5px;color:var(--mute)}
#hlg .hlg-door-mat{display:inline-block;margin:8px 0 14px;background:var(--rd);color:#fff;font-weight:900;font-size:13.5px;padding:7px 26px;border-radius:999px;box-shadow:0 4px 10px rgba(0,0,0,.18)}
#hlg .hlg-door:hover .hlg-door-mat{background:var(--rc)}
#hlg .hlg-floor{height:14px;margin:0 -18px;background:repeating-linear-gradient(90deg,#d8cdb8 0 60px,#cfc3ad 60px 120px);border-top:2px solid #bfb29b}
#hlg .hlg-lobby-write{display:flex;align-items:center;justify-content:center;gap:10px;font-size:14px;color:#3b4a5c;margin:0 0 18px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px 14px}
#hlg .hlg-desk-ic{width:24px;height:24px;border-radius:50%;background:var(--navy);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-size:13px;font-style:italic;font-family:Georgia,serif}
#hlg .hlg-btn-sm{padding:7px 16px;font-size:13px}
/* ロビーの掲示板 */
#hlg .hlg-board{background:#f7f3ea;border:1px solid #e3dccf;border-radius:18px;padding:12px 14px 14px;box-shadow:inset 0 0 0 6px #ece5d6}
#hlg .hlg-board-head{display:flex;align-items:baseline;gap:10px;margin:0 0 10px;padding:0 4px}
#hlg .hlg-board-t{font-size:16px;font-weight:900;color:var(--navy);border-left:5px solid var(--navy);padding-left:10px}
#hlg .hlg-board-head small{font-size:13px;color:#6b6252;font-weight:600}
#hlg .hlg-list-board .hlg-card{position:relative}
#hlg .hlg-list-board .hlg-card::before{content:"";position:absolute;left:50%;top:-6px;width:12px;height:12px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#ff8a7a,#c62a1a 70%);box-shadow:0 2px 3px rgba(0,0,0,.35);transform:translateX(-50%);z-index:2}

/* 部屋の中：壁と表札 */
#hlg .hlg-rhead{margin:0 0 12px}
#hlg .hlg-rnav{display:flex;align-items:center;gap:8px;margin:0 0 8px;flex-wrap:wrap}
#hlg .hlg-back{appearance:none;border:1.5px solid var(--line);background:#fff;color:#3b4a5c;border-radius:999px;padding:5px 14px;font-size:13.5px;font-weight:800;cursor:pointer;font-family:inherit}
#hlg .hlg-rtabs{display:flex;gap:6px;margin-left:auto;align-items:center}
#hlg .hlg-rtabs-l{font-size:12px;color:var(--mute);font-weight:700;margin-right:2px}
#hlg .hlg-rtab{appearance:none;border:1.5px solid var(--line);background:#fff;color:#3b4a5c;border-radius:8px;padding:4px 12px 4px 8px;font-size:13.5px;font-weight:800;cursor:pointer;font-family:inherit;display:inline-flex;align-items:center;gap:6px}
#hlg .hlg-rtab i{width:10px;height:14px;border-radius:3px 3px 0 0;background:linear-gradient(135deg,var(--rc),var(--rd));display:inline-block}
#hlg .hlg-rtab:hover{border-color:var(--rc);color:var(--rd)}
#hlg .hlg-wall{position:relative;display:flex;align-items:center;gap:18px;background:linear-gradient(180deg,var(--rc),var(--rd));color:#fff;border-radius:18px 18px 0 0;padding:18px 22px;box-shadow:0 6px 18px rgba(20,33,61,.18);overflow:hidden}
#hlg .hlg-wall::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.06) 0 2px,transparent 2px 46px);pointer-events:none}
#hlg .hlg-wall::after{content:"";position:absolute;left:0;right:0;bottom:0;height:8px;background:rgba(0,0,0,.18)}
#hlg .hlg-wall-plate{position:relative;display:flex;align-items:center;gap:14px;background:#fff;color:#1a2432;border-radius:10px;padding:12px 18px 12px 14px;flex:1;min-width:0;box-shadow:0 3px 0 rgba(0,0,0,.25),0 8px 18px rgba(0,0,0,.18)}
#hlg .hlg-wall-plate::before,#hlg .hlg-wall-plate::after{content:"";position:absolute;top:8px;width:7px;height:7px;border-radius:50%;background:#c8ccd3;box-shadow:inset 0 1px 2px rgba(0,0,0,.4)}
#hlg .hlg-wall-plate::before{left:8px}#hlg .hlg-wall-plate::after{right:8px}
#hlg .hlg-wall-ic{width:46px;height:46px;border-radius:12px;background:linear-gradient(135deg,var(--rc),var(--rd));color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-size:24px;flex:none}
#hlg .hlg-rname{margin:0 0 2px;color:var(--rd);font-size:21px;font-weight:900;line-height:1.3;letter-spacing:.02em}
#hlg .hlg-rdesc{margin:0 !important;font-size:13.5px;line-height:1.65;color:#3b4a5c}
#hlg .hlg-wall-stat{position:relative;text-align:center;color:#fff;flex:none;line-height:1.2}
#hlg .hlg-wall-stat b{display:block;font-size:30px;font-weight:900}
#hlg .hlg-wall-stat span{display:block;font-size:12px;opacity:.9}
#hlg .hlg-wall-stat em{display:inline-block;margin-top:5px;font-style:normal;font-size:11.5px;font-weight:900;background:#ff5a3c;padding:2px 9px;border-radius:999px;box-shadow:0 0 10px rgba(255,90,60,.7)}
#hlg .hlg-rwrite{position:relative;appearance:none;border:0;background:#fff;color:var(--rd);border-radius:999px;padding:12px 22px;font-size:15px;font-weight:900;cursor:pointer;font-family:inherit;box-shadow:0 4px 12px rgba(0,0,0,.22);white-space:nowrap;flex:none}
#hlg .hlg-rwrite:hover{transform:translateY(-1px)}
#hlg .hlg-count{font-size:13.5px;color:var(--mute);white-space:nowrap;align-self:center}
#hlg .hlg-inroom{background:color-mix(in srgb,var(--rc) 7%,#fff);border:1px solid color-mix(in srgb,var(--rc) 22%,#fff);border-top:0;border-radius:0 0 18px 18px;padding:14px;margin-top:-12px}
#hlg .hlg-inroom .hlg-card{border-left:5px solid var(--rc)}
#hlg .hlg-rhead + .hlg-bar{border-radius:0;margin:0;border-left:1px solid color-mix(in srgb,var(--rc) 22%,#fff);border-right:1px solid color-mix(in srgb,var(--rc) 22%,#fff);top:0}

/* ツールバー */
#hlg .hlg-bar{position:sticky;top:0;z-index:5;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px;margin:0 0 12px;box-shadow:0 2px 10px rgba(20,33,61,.06)}
#hlg .hlg-tab{appearance:none;border:1.5px solid var(--line);background:#f6f8fb;color:#3b4a5c;border-radius:999px;padding:6px 14px;font-size:14px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-family:inherit}
#hlg .hlg-tab b{font-size:11px;background:#e6ecf4;color:#3b4a5c;border-radius:999px;padding:0 7px;line-height:1.6}
#hlg .hlg-tab.on{background:var(--navy);border-color:var(--navy);color:#fff}
#hlg .hlg-tab.on b{background:rgba(255,255,255,.22);color:#fff}
#hlg .hlg-tab-open{border-color:#f0c9a6;background:#fff6ec;color:#b35a10}
#hlg .hlg-tab-open b{background:#f6d7bb;color:#9a4a08}
#hlg .hlg-tab-open.on{background:#d9651a;border-color:#d9651a;color:#fff}
#hlg .hlg-tab-open.on b{background:rgba(255,255,255,.25);color:#fff}
#hlg .hlg-search{display:flex;gap:8px;align-items:stretch}
#hlg .hlg-search input{flex:1;min-width:0;border:1.5px solid var(--line);border-radius:10px;padding:10px 14px;font-size:15px;background:#fafcfd}
#hlg .hlg-search input:focus{outline:2px solid rgba(42,127,201,.35);border-color:var(--q)}
#hlg .hlg-search select{border:1.5px solid var(--line);border-radius:10px;padding:0 10px;font-size:14px;background:#fff;color:#3b4a5c}

/* カード一覧 */
#hlg .hlg-list{display:flex;flex-direction:column;gap:12px}
#hlg .hlg-empty{background:#f6f8fb;border:1px dashed var(--line);border-radius:14px;padding:22px;text-align:center;color:var(--mute)}
#hlg .hlg-card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 2px 8px rgba(20,33,61,.05);overflow:hidden;transition:box-shadow .15s}
#hlg .hlg-card:hover{box-shadow:0 6px 18px rgba(20,33,61,.1)}
#hlg .hlg-card.open{box-shadow:0 8px 24px rgba(20,33,61,.12);border-color:#c9d6e6}
#hlg .hlg-card-admin{background:#fbfcfe}
#hlg .hlg-head{appearance:none;border:0;background:none;width:100%;text-align:left;cursor:pointer;padding:16px 20px 14px;display:block;font-family:inherit;color:inherit}
#hlg .hlg-head-top{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:5px}
#hlg .hlg-g{display:inline-block;background:var(--gc);color:#fff;font-size:12px;font-weight:800;padding:3px 11px;border-radius:999px;line-height:1.6;letter-spacing:.03em}
#hlg .hlg-st{display:inline-block;font-size:12px;font-weight:800;padding:2px 10px;border-radius:999px;line-height:1.6;border:1.5px solid}
#hlg .hlg-st-ok{color:#187a52;border-color:#9fd8bc;background:#eafaf2}
#hlg .hlg-st-wait{color:#b35a10;border-color:#f0c9a6;background:#fff6ec}
#hlg .hlg-st-info{color:#3b4a5c;border-color:#d6dee8;background:#f3f6fa}
#hlg .hlg-when{margin-left:auto;font-size:13px;color:var(--mute);white-space:nowrap}
#hlg .hlg-when i{font-style:normal;margin-left:5px;color:#9aa8b8}
#hlg .hlg-title{font-size:17.5px;font-weight:800;line-height:1.55;color:var(--ink);margin:4px 0 6px}
#hlg .hlg-ex{font-size:14px !important;color:#3f4e60;line-height:1.75 !important;margin:0 0 10px !important;padding:0 !important;display:-webkit-box !important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:3.3em}
#hlg .hlg-card.open .hlg-ex{display:none !important}
#hlg .hlg-head-bot{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--mute)}
#hlg .hlg-who{font-weight:700;color:#3b4a5c}
#hlg .hlg-who::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#b8c4d3;margin-right:6px;vertical-align:1px}
#hlg .hlg-cnt-0{color:#aab5c2}
#hlg .hlg-more{margin-left:auto;font-weight:800;color:var(--q);font-size:13px;background:#eaf3fc;border-radius:999px;padding:3px 12px}
#hlg .hlg-more::after{content:"▾";margin-left:3px;display:inline-block;transition:transform .2s}
#hlg .hlg-card.open .hlg-more::after{transform:rotate(180deg)}
#hlg .hlg-more-c,#hlg .hlg-card.open .hlg-more-o{display:none}
#hlg .hlg-card.open .hlg-more-c{display:inline}

/* スレッド */
#hlg .hlg-thread{display:none;border-top:1px solid var(--line);background:#f3f6fa;padding:16px 20px 18px}
#hlg .hlg-card.open .hlg-thread{display:block}
#hlg .hlg-msg{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 20px 16px;margin:0 0 12px;position:relative}
#hlg .hlg-msg-root{border-left:4px solid var(--navy)}
#hlg .hlg-msg-a{border-left:4px solid var(--teal);background:#f3fbfa;border-color:#cfe8e5}
#hlg .hlg-replies{padding-left:18px;position:relative}
#hlg .hlg-replies::before{content:"";position:absolute;left:8px;top:0;bottom:12px;border-left:2px dashed #c7d3e0}
#hlg .hlg-msg-head{display:flex;align-items:center;gap:8px;margin-bottom:6px;flex-wrap:wrap}
#hlg .hlg-av{width:32px;height:32px;border-radius:50%;object-fit:cover;background:#dbe3ee;color:#3b4a5c;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;flex:none}
#hlg .hlg-av-a{background:var(--teal);color:#fff}
#hlg .hlg-msg-name{font-weight:800;font-size:14.5px;color:#1a2432}
#hlg .hlg-msg-date{margin-left:auto;font-size:13px;color:var(--mute)}
#hlg .hlg-msg-body{max-width:1080px}
#hlg .hlg-msg-body p{margin:0 0 12px !important;padding:0 !important;font-size:15.5px;line-height:1.95;color:#1a2432}
#hlg .hlg-msg-body p:last-child{margin-bottom:0}
#hlg .hlg-lead{font-weight:700;color:#0f6b66;background:#e5f4f2;border-radius:8px;padding:10px 14px}
#hlg .hlg-sec{margin:10px 0 6px;border:1px solid #d6e9e7;border-radius:10px;overflow:hidden}
#hlg .hlg-sec-h{background:#e5f4f2;color:#0f6b66;font-weight:800;padding:8px 12px;font-size:15px;display:flex;align-items:center;gap:8px}
#hlg .hlg-sec-n{background:var(--teal);color:#fff;border-radius:6px;min-width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;flex:none}
#hlg .hlg-sec p{padding:10px 14px;margin:0}
#hlg .hlg-note{font-size:13px;color:#5a6878;background:#f3f6fa;border-radius:8px;padding:7px 10px;margin-top:8px !important;line-height:1.7}
#hlg .hlg-msg-reply{text-align:right;margin-top:4px}
#hlg .hlg-mini{appearance:none;border:1px solid var(--line);background:#fff;color:#3b4a5c;border-radius:999px;padding:2px 12px;font-size:11.5px;cursor:pointer;font-family:inherit}
#hlg .hlg-thread-foot{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#hlg .hlg-btn{appearance:none;border:0;cursor:pointer;background:var(--navy);color:#fff;border-radius:999px;padding:9px 20px;font-size:13.5px;font-weight:800;font-family:inherit;box-shadow:0 3px 8px rgba(20,33,61,.25)}
#hlg .hlg-btn:hover{opacity:.92}
#hlg .hlg-link{font-size:12px;color:var(--mute);text-decoration:underline}
#hlg .hlg-rule{margin-top:14px;font-size:13px;color:#5f5440;background:#fdf7ec;border:1px solid #efe0bf;border-radius:12px;padding:9px 14px;line-height:1.8}

/* 投稿モーダル */
.hlg-modal{display:none;position:fixed;inset:0;z-index:99999}
.hlg-modal.on{display:block}
.hlg-modal-bg{position:absolute;inset:0;background:rgba(14,22,38,.55)}
.hlg-modal-box{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(680px,94vw);max-height:92vh;overflow:auto;background:#fff;border-radius:18px;box-shadow:0 20px 60px rgba(0,0,0,.35);padding:16px 18px 18px;-webkit-overflow-scrolling:touch;font-size:14px}
.hlg-modal-head{display:flex;align-items:center;justify-content:space-between}
.hlg-modal-title{font-size:19px;font-weight:900;color:#14213d}
.hlg-modal-x{appearance:none;border:0;background:#eef2f7;color:#3b4a5c;width:34px;height:34px;border-radius:50%;font-size:20px;cursor:pointer;line-height:1}
.hlg-modal-sub{font-size:12.5px;color:#6b7a8c;margin:4px 0 10px}
.hlg-genres{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 10px}
.hlg-gp{appearance:none;border:2px solid var(--gc);color:var(--gc);background:#fff;border-radius:999px;padding:5px 16px;font-size:13.5px;font-weight:800;cursor:pointer;font-family:inherit}
.hlg-gp.on{background:var(--gc);color:#fff}
.hlg-modal-rule{font-size:11.5px;color:#7a8696;margin-top:10px;line-height:1.7}
body.hlg-on .hlg-modal #respond{margin:0 !important;padding:0 !important;border:0 !important;box-shadow:none !important;background:none !important;max-width:none !important;width:100% !important}
body.hlg-on .hlg-modal #respond .comment-reply-title,body.hlg-on .hlg-modal #respond #cancel-comment-reply-link,body.hlg-on .hlg-modal #respond .comment-notes,body.hlg-on .hlg-modal #respond .genre-picker{display:none !important}
body.hlg-on .hlg-modal #commentform .comment-flexbox{display:block !important;width:100% !important}
body.hlg-on .hlg-modal #commentform p{margin:0 0 10px !important;width:100% !important}
body.hlg-on .hlg-modal #commentform .comment-form-comment{width:100% !important}
body.hlg-on .hlg-modal #commentform textarea{width:100% !important;max-width:none !important;min-height:160px !important;height:auto !important;border:1.5px solid #cfd9e5 !important;border-radius:12px !important;padding:12px !important;font-size:15px !important;line-height:1.7 !important;background:#fafcfd !important;box-sizing:border-box !important;resize:vertical}
body.hlg-on .hlg-modal #commentform .comment-child-flex{display:grid !important;grid-template-columns:1fr 1fr;gap:10px;width:100% !important}
body.hlg-on .hlg-modal #commentform .comment-child-flex p{margin:0 !important;width:auto !important}
body.hlg-on .hlg-modal #commentform input[type=text],body.hlg-on .hlg-modal #commentform input[type=email]{width:100% !important;max-width:none !important;border:1.5px solid #cfd9e5 !important;border-radius:10px !important;padding:10px 12px !important;font-size:14px !important;background:#fafcfd !important;box-sizing:border-box !important;height:auto !important}
body.hlg-on .hlg-modal #commentform textarea:focus,body.hlg-on .hlg-modal #commentform input:focus{outline:2px solid rgba(42,127,201,.35) !important;border-color:#2a7fc9 !important}
body.hlg-on .hlg-modal #commentform .comment-form-url{display:none !important}
body.hlg-on .hlg-modal #commentform .comment-form-cookies-consent{font-size:12px;color:#6b7a8c;display:flex !important;align-items:flex-start;gap:6px}
body.hlg-on .hlg-modal #commentform .comment-form-cookies-consent input{margin-top:4px;width:auto !important}
body.hlg-on .hlg-modal #commentform input#siteguard_captcha{width:150px !important;border:1.5px solid #cfd9e5 !important;border-radius:10px !important;padding:8px 12px !important;font-size:16px !important;letter-spacing:.2em}
body.hlg-on .hlg-modal #commentform label[for=siteguard_captcha]{font-size:12.5px;color:#3b4a5c}
body.hlg-on .hlg-modal #commentform p.form-submit{margin-top:6px !important}
body.hlg-on .hlg-modal #commentform input#submit{width:100% !important;background:linear-gradient(135deg,#1e6fb8,#2a8fd8) !important;color:#fff !important;border:0 !important;border-radius:999px !important;padding:13px 20px !important;font-size:16px !important;font-weight:900 !important;cursor:pointer;box-shadow:0 4px 12px rgba(42,127,201,.35) !important;transform:none !important}

@media(max-width:700px){
  #hlg .hlg-hall{padding:12px 12px 0;border-radius:16px}
  #hlg .hlg-doors{grid-template-columns:1fr 1fr;gap:10px}
  #hlg .hlg-plate{font-size:12.5px;padding:4px 8px;gap:5px;white-space:nowrap;letter-spacing:-.01em}
  #hlg .hlg-plate::before,#hlg .hlg-plate::after{display:none}
  #hlg .hlg-wall-stat em{white-space:nowrap}
  #hlg .hlg-door-frame{max-width:none;padding:6px 6px 0}
  #hlg .hlg-door-leaf{height:150px}
  #hlg .hlg-door-win{width:74px;height:50px;top:16px}
  #hlg .hlg-door-win b{font-size:24px}
  #hlg .hlg-door-panel{top:78px;height:28px;left:16px;right:16px}
  #hlg .hlg-door-panel2{top:112px;height:24px}
  #hlg .hlg-door-knob{top:92px;right:12px;width:11px;height:11px}
  #hlg .hlg-door-desc{font-size:12.5px;min-height:0;margin:8px 0 2px}
  #hlg .hlg-door-meta{font-size:12px}
  #hlg .hlg-door-mat{font-size:12.5px;padding:6px 20px;margin:6px 0 12px}
  #hlg .hlg-floor{margin:0 -12px}
  #hlg .hlg-board{padding:10px 8px 10px;box-shadow:inset 0 0 0 4px #ece5d6}
  #hlg .hlg-wall{flex-wrap:wrap;padding:14px 12px;gap:10px}
  #hlg .hlg-wall-plate{flex:1 1 100%;padding:10px 14px 10px 12px;gap:10px}
  #hlg .hlg-wall-ic{width:38px;height:38px;font-size:20px}
  #hlg .hlg-rname{font-size:18px}
  #hlg .hlg-rdesc{font-size:12.5px}
  #hlg .hlg-wall-stat{flex:1;text-align:left;display:flex;align-items:baseline;gap:6px}
  #hlg .hlg-wall-stat b{font-size:22px}
  #hlg .hlg-rwrite{flex:1 1 auto;text-align:center;padding:10px 14px;font-size:14px}
  #hlg .hlg-rtabs{margin-left:0;width:100%;overflow-x:auto}
  #hlg .hlg-inroom{padding:8px}
  #hlg .hlg-count{display:none}
  #hlg .hlg-bar{border-radius:12px;padding:8px 10px}
  #hlg .hlg-tab{padding:4px 10px;font-size:12.5px;white-space:nowrap}
  #hlg .hlg-search select{padding:0 6px;font-size:12px}
  #hlg .hlg-head{padding:13px 14px 11px}
  #hlg .hlg-title{font-size:16px}
  #hlg .hlg-ex{font-size:13.5px !important}
  #hlg .hlg-msg-body p{font-size:15px}
  #hlg .hlg-when i{display:none}
  #hlg .hlg-thread{padding:10px 10px 12px}
  #hlg .hlg-replies{padding-left:12px}
  #hlg .hlg-replies::before{left:3px}
  #hlg .hlg-msg{padding:11px 13px 12px}
  .hlg-modal-box{width:100vw;max-height:100vh;height:100%;border-radius:0;left:0;top:0;transform:none;padding:14px 14px 90px}
  body.hlg-on .hlg-modal #commentform .comment-child-flex{grid-template-columns:1fr}
}

/* 幅の張り出し（1カラムテンプレの960pxを超えて表示） */
@media(min-width:1040px){
  body.hlg-ready .hiroba-hero,
  body.hlg-ready #hlg{width:min(1480px,calc(100vw - 48px));margin-left:calc(50% - min(740px,50vw - 24px));margin-right:0}
  body.hlg-ready .hiroba-hero{display:flex;align-items:center;justify-content:center;gap:18px;text-align:left;padding:18px 26px}
  body.hlg-ready .hiroba-hero .hh-emoji{margin:0;font-size:34px}
  body.hlg-ready .hiroba-hero .hh-title{margin:0}
  body.hlg-ready .hiroba-hero p{margin:0;font-size:14.5px}
  body.hlg-ready .hiroba-hero br{display:none}
  #hlg .hlg-thread{padding:14px 18px 16px}
  #hlg .hlg-msg-body p{font-size:16px}
  #hlg .hlg-head{padding:13px 18px 11px}
}
