/* Shared sponsor placements for the home page and app pages. */
.ad-rail{display:none}
.ad-panel{position:relative;padding:14px 10px 12px;border:1px solid #3c362f;border-radius:6px;background:linear-gradient(180deg,#2a2622,#141210);box-shadow:inset 0 1px #ffffff14,0 14px 34px #000b;color:#eee}
.ad-panel:before,.ad-panel:after{content:"";position:absolute;top:8px;width:8px;height:8px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#d8d2c6,#6d665c);box-shadow:0 0 0 1px #0008}
.ad-panel:before{left:8px}.ad-panel:after{right:8px}
.ad-plate{display:block;width:max-content;margin:0 auto 6px;padding:2px 10px;border:1px solid #6d5b3e;border-radius:3px;background:#1d1812;color:#ffb547;font:11px monospace;letter-spacing:.2em}
.ad-label{display:block;margin:0 0 6px;text-align:center;color:#aaa;font-size:10px}
.ad-content{display:flex;align-items:center;justify-content:center;gap:10px;overflow:hidden;border:1px dashed #7a5a2a;border-radius:4px;background:#1d1710;color:#e9b664;text-decoration:none;text-align:center;font-size:12px;line-height:1.4;padding:8px}
.ad-content img{width:72px;height:100px;object-fit:contain;flex:none}.ad-copy{display:grid;gap:5px}.ad-copy strong{font-size:12px}.ad-copy span{font-size:11px;text-decoration:underline}
.ad-rail .ad-content{width:160px;height:600px;flex-direction:column}.ad-rail .ad-content img{width:130px;height:340px}
.ad-band{max-width:780px;margin:22px auto}.ad-band .ad-content{height:90px}.ad-band .ad-content img{width:80px;height:70px}
.ad-band-mobile{display:none}
.ad-panel{width:100%}.ad-body{display:block;width:100%}.ad-content{width:100%;height:100%}
.ad-rail>div{width:180px}.ad-rail .ad-panel{width:180px}
.ad-rail .ad-body,.ad-rail .adsbygoogle{width:160px;min-height:600px;margin:auto}
.ad-band .ad-body,.ad-band .adsbygoogle{width:100%;min-height:90px}
@media(min-width:1500px){.ad-rail{display:flex;position:absolute;top:var(--rail-top,900px);z-index:3;flex-direction:column;gap:56px;width:180px}.ad-rail.left{left:max(16px,calc((100vw - 1400px)/4 - 90px))}.ad-rail.right{right:max(16px,calc((100vw - 1400px)/4 - 90px))}}
/* 両わきの枠が本文に重ならないよう、枠の幅＋すき間（片側 220px）だけ本文を内側に寄せる（会長の画面 1512px で本棚に重なった 11/10） */
@media(min-width:1500px) and (max-width:1839px){.room,.plugin-wrap,.gear-section,.room-guide,.benchwrap,.wrap{max-width:calc(100vw - 440px)!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}}
@media(min-width:761px){.ad-band-mobile{display:none!important}}
@media(max-width:760px){.ad-band{max-width:340px}.ad-band .ad-content{height:100px}.ad-band .ad-body,.ad-band .adsbygoogle,.ad-band-mobile .ad-body,.ad-band-mobile .adsbygoogle{min-height:100px}.ad-band-mobile{display:block;max-width:340px;margin:22px auto}.ad-band-mobile .ad-content{height:100px}}
