/* 카지노핫썰 모바일 전용 UI - PC 스타일과 분리 */
.cm-header{display:none;}
.cm-drawer:not([open]),.cm-search:not([open]){display:none!important;}
@media(max-width:767px){
html body.cm-mobile-ready{--cm-gold:#F4BE24;--cm-bg:#171717;--cm-panel:#222;--cm-line:#363636;margin:0!important;padding-top:0!important;min-width:0!important;background:var(--cm-bg)!important;color:#eee!important;font-size:14px!important;-webkit-text-size-adjust:100%;}
body.cm-mobile-ready *,body.cm-mobile-ready *::before,body.cm-mobile-ready *::after{box-sizing:border-box;}
html body.cm-mobile-ready #hd{display:none!important;}
html body.cm-mobile-ready .cm-header{display:block!important;position:sticky!important;top:0!important;z-index:100!important;width:100%!important;background:#191919!important;border-bottom:1px solid #40391f!important;box-shadow:0 5px 18px #0003!important;}
.cm-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;height:66px;padding:8px 14px;}
.cm-logo{display:flex;align-items:center;min-width:0;color:#F4BE24;font-size:21px;font-weight:900;}
html body.cm-mobile-ready .cm-logo img{display:block!important;width:164px!important;max-width:calc(100vw - 124px)!important;height:46px!important;max-height:46px!important;object-fit:contain!important;}
.cm-actions{display:flex;gap:6px;flex:0 0 auto;}
html body.cm-mobile-ready .cm-icon-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;padding:8px!important;border:1px solid #444!important;border-radius:10px!important;background:#282828!important;color:#F4BE24!important;cursor:pointer;}
.cm-icon-button svg{display:block;width:22px;height:22px;flex-shrink:0;}
html body.cm-mobile-ready .cm-quick{display:flex!important;align-items:center!important;gap:4px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;padding:0 10px 10px!important;margin:0!important;-webkit-overflow-scrolling:touch;}
.cm-quick::-webkit-scrollbar{display:none;}
html body.cm-mobile-ready .cm-quick-link{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;padding:0 12px!important;height:38px!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;color:#ccc!important;font-size:13px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important;text-decoration:none!important;}
html body.cm-mobile-ready .cm-quick-link[aria-current=page]{background:#F4BE24!important;color:#171717!important;border-color:#F4BE24!important;}
body.cm-mobile-ready.cm-dialog-open{overflow:hidden!important;}
html body.cm-mobile-ready .cm-drawer,html body.cm-mobile-ready .cm-search{position:fixed!important;inset:0 0 0 auto!important;width:min(90vw,390px)!important;height:100%!important;height:100dvh!important;max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;border:0!important;border-left:1px solid #47402a!important;background:#1c1c1c!important;color:#eee!important;overflow:auto!important;overscroll-behavior:contain;box-shadow:-16px 0 50px #0005!important;}
.cm-drawer::backdrop,.cm-search::backdrop{background:#000a;backdrop-filter:blur(3px);}
.cm-drawer-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;background:#1c1c1c;border-bottom:1px solid #3a3424;}
html body.cm-mobile-ready .cm-drawer-head h2{margin:0!important;padding:0!important;color:#F4BE24!important;font-size:19px!important;line-height:1.5!important;border:0!important;}
.cm-drawer-body{padding:16px 16px calc(24px + env(safe-area-inset-bottom));}
.cm-account{margin-bottom:20px;}
.cm-auth-links{display:flex;gap:8px;flex-wrap:wrap;}
html body.cm-mobile-ready .cm-auth-links a{display:flex!important;align-items:center!important;justify-content:center!important;flex:1!important;min-height:44px!important;padding:10px!important;border:1px solid #4b4530!important;border-radius:9px!important;background:#2c291e!important;color:#F4BE24!important;font-size:13px!important;font-weight:700!important;white-space:nowrap;text-decoration:none!important;}
.cm-menu-group{margin:0 0 12px;padding:15px;border:1px solid #393939;border-radius:12px;background:#242424;}
html body.cm-mobile-ready .cm-menu-group h3{margin:0 0 10px!important;padding:0!important;font-size:15px!important;color:#eee!important;}
html body.cm-mobile-ready .cm-menu-group h3 a{display:block!important;padding:4px 0!important;color:#eee!important;text-decoration:none!important;}
.cm-sub-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;}
html body.cm-mobile-ready .cm-sub-links a{display:flex!important;align-items:center!important;min-height:40px!important;padding:7px 9px!important;border-radius:7px!important;background:#2f2f2f!important;color:#bdbdbd!important;font-size:12px!important;line-height:1.5!important;text-decoration:none!important;overflow-wrap:anywhere;}
html body.cm-mobile-ready .cm-drawer a[aria-current=page]{color:#F4BE24!important;background:#34301f!important;}
html body.cm-mobile-ready .cm-member-holder{display:block!important;margin:0!important;padding:0!important;width:100%!important;}
.cm-search-form{display:grid;grid-template-columns:minmax(0,1fr) 68px;gap:10px;padding:24px 16px;}
.cm-search-form label{grid-column:1 / -1;font-size:13px;color:#bbb;}
html body.cm-mobile-ready .cm-search-form input[type=search]{width:100%!important;min-width:0!important;height:46px!important;padding:0 12px!important;border:1px solid #484848!important;border-radius:9px!important;background:#282828!important;color:#fff!important;font-size:16px!important;}
.cm-search-form button{border:0;border-radius:9px;background:#F4BE24;color:#111;font-size:14px;font-weight:800;}
.cm-header a:focus-visible,.cm-header button:focus-visible,.cm-drawer a:focus-visible,.cm-drawer button:focus-visible,.cm-search button:focus-visible{outline:2px solid #F4BE24;outline-offset:2px;}
/* 메인/게시판 폭과 흐름 */
html body.cm-mobile-ready #wrapper{width:100%!important;min-width:0!important;overflow:visible!important;}
html body.cm-mobile-ready #container_wr{display:flex!important;flex-direction:column!important;gap:22px!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0 auto!important;padding:16px 12px 28px!important;}
html body.cm-mobile-ready #container{float:none!important;position:static!important;order:0!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important;}
html body.cm-mobile-ready .tanga-board-side-login{float:none!important;position:static!important;order:1!important;display:block!important;width:100%!important;max-width:100%!important;margin:0!important;}
html body.cm-mobile-ready #wrapper>#container{padding:16px 12px 28px!important;}
html body.cm-mobile-ready .tanga-side-login-card,html body.cm-mobile-ready .tanga-side-telegram-banner{margin-bottom:14px!important;}
html body.cm-mobile-ready .tanga-main-story-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;margin-bottom:20px!important;}
html body.cm-mobile-ready .tanga-main-story-box,html body.cm-mobile-ready .tanga-main-news-feed-box,html body.cm-mobile-ready .tanga-main-official-wrap{border:1px solid #3a3a3a!important;border-top:2px solid #F4BE24!important;border-radius:12px!important;background:#222!important;box-shadow:none!important;margin-top:0!important;margin-bottom:20px!important;overflow:hidden!important;}
html body.cm-mobile-ready .tanga-main-story-head,html body.cm-mobile-ready .tanga-main-official-head{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:50px!important;padding:12px 14px!important;background:#242424!important;border-bottom:1px solid #393939!important;}
html body.cm-mobile-ready .tanga-main-story-head h2,html body.cm-mobile-ready .tanga-main-official-head h2{margin:0!important;font-size:16px!important;color:#F4BE24!important;line-height:1.5!important;}
html body.cm-mobile-ready .tanga-main-story-head a,html body.cm-mobile-ready .tanga-main-official-head a{color:#ccc!important;font-size:12px!important;}
html body.cm-mobile-ready .tanga-main-story-list{margin:0!important;padding:0 14px!important;}
html body.cm-mobile-ready .tanga-main-story-list li{padding:12px 0!important;border-bottom:1px solid #343434!important;}
html body.cm-mobile-ready .tanga-main-story-list li a{min-height:24px!important;padding:0!important;font-size:13px!important;}
html body.cm-mobile-ready .tanga-main-official-viewport{overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;}
html body.cm-mobile-ready .tanga-main-official-track{gap:12px!important;padding:14px!important;transform:none!important;}
html body.cm-mobile-ready .tanga-main-official-item{flex:0 0 78%!important;width:78%!important;min-width:0!important;max-width:300px!important;scroll-snap-align:center;border:1px solid #49412a!important;border-radius:10px!important;}
html body.cm-mobile-ready .tanga-main-official-thumb{aspect-ratio:720 / 500!important;}
html body.cm-mobile-ready .tanga-main-official-thumb img{height:100%!important;object-fit:contain!important;}
html body.cm-mobile-ready .tanga-main-news-feed-box{padding:12px!important;}
html body.cm-mobile-ready .tanga-main-news-feed-nav{display:flex!important;gap:6px!important;margin:0 0 8px!important;}
html body.cm-mobile-ready .tanga-main-news-feed-nav a{display:flex!important;align-items:center!important;justify-content:center!important;flex:1!important;min-width:0!important;height:38px!important;margin:0!important;padding:0 4px!important;border:1px solid #414141!important;border-radius:7px!important;font-size:12px!important;background:#2b2b2b!important;color:#ccc!important;}
html body.cm-mobile-ready .tanga-main-news-feed-nav a.active{background:#F4BE24!important;color:#111!important;border-color:#F4BE24!important;}
html body.cm-mobile-ready .tanga-main-news-feed-item{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;gap:11px!important;padding:14px 0!important;}
html body.cm-mobile-ready .tanga-main-news-feed-thumb{width:92px!important;height:72px!important;min-width:0!important;border-radius:7px!important;overflow:hidden!important;}
html body.cm-mobile-ready .tanga-main-news-feed-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;}
html body.cm-mobile-ready .tanga-main-news-feed-title{font-size:14px!important;line-height:1.5!important;margin-bottom:7px!important;}
html body.cm-mobile-ready .tanga-main-news-feed-meta{display:flex!important;flex-wrap:wrap!important;gap:5px!important;font-size:10px!important;color:#aaa!important;}
html body.cm-mobile-ready .tanga-main-news-feed-summary{display:none!important;}
html body.cm-mobile-ready .tanga-main-guide-hero{min-height:230px!important;padding:22px 16px!important;background-position:center!important;}
html body.cm-mobile-ready .tanga-main-guide-hero-copy{width:100%!important;max-width:100%!important;}
html body.cm-mobile-ready .tanga-main-guide-title{font-size:18px!important;line-height:1.5!important;}
html body.cm-mobile-ready .tanga-main-guide-item{font-size:13px!important;line-height:1.8!important;}
/* 게시판, 검색, 댓글 */
html body.cm-mobile-ready #bo_list,html body.cm-mobile-ready #bo_v,html body.cm-mobile-ready #bo_w{min-width:0!important;width:100%!important;margin-left:0!important;margin-right:0!important;}
html body.cm-mobile-ready .tanga-official-grid,html body.cm-mobile-ready .tanga-scam-grid,html body.cm-mobile-ready .tanga-sponsor-grid{grid-template-columns:minmax(0,1fr)!important;gap:18px!important;}
html body.cm-mobile-ready .tanga-official-info{margin-top:12px!important;}
html body.cm-mobile-ready .tanga-eye-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
html body.cm-mobile-ready #bo_v_con{font-size:14px!important;line-height:1.9!important;overflow-wrap:anywhere;}
html body.cm-mobile-ready #bo_v_con img,html body.cm-mobile-ready .tanga-view-content img{max-width:100%!important;height:auto!important;display:block;margin:12px auto;}
html body.cm-mobile-ready #bo_v_con iframe{width:100%!important;aspect-ratio:16 / 9!important;height:auto!important;}
html body.cm-mobile-ready #bo_v_con table{display:block;max-width:100%;overflow-x:auto;}
html body.cm-mobile-ready #bo_sch,html body.cm-mobile-ready .tanga-scam-search,html body.cm-mobile-ready .tanga-official-search{float:none!important;width:100%!important;max-width:100%!important;margin:24px auto 18px!important;clear:both!important;}
html body.cm-mobile-ready #bo_sch form,html body.cm-mobile-ready .tanga-scam-search form,html body.cm-mobile-ready .tanga-official-search form{display:grid!important;grid-template-columns:80px minmax(0,1fr) 54px!important;gap:6px!important;width:100%!important;}
html body.cm-mobile-ready #bo_sch input,html body.cm-mobile-ready #bo_sch select,html body.cm-mobile-ready #bo_sch button{min-width:0!important;width:100%!important;max-width:100%!important;height:40px!important;border-radius:7px!important;font-size:12px!important;}
html body.cm-mobile-ready .pg_wrap{float:none!important;display:flex!important;justify-content:center!important;margin:22px auto!important;}
html body.cm-mobile-ready .pg_page,html body.cm-mobile-ready .pg_current{min-width:26px!important;width:auto!important;height:30px!important;line-height:30px!important;margin:0 2px!important;padding:0 6px!important;border:0!important;background:transparent!important;color:#bbb!important;font-size:12px!important;box-shadow:none!important;}
html body.cm-mobile-ready .pg_current{color:#F4BE24!important;}
html body.cm-mobile-ready #wr_content,html body.cm-mobile-ready #wr_subject,html body.cm-mobile-ready #wr_name,html body.cm-mobile-ready #wr_password{max-width:100%!important;font-size:16px!important;}
html body.cm-mobile-ready #bo_vc_w textarea{width:100%!important;min-height:100px!important;font-size:16px!important;background:#252525!important;color:#eee!important;border:1px solid #454545!important;border-radius:8px!important;}
html body.cm-mobile-ready .tanga-comment-actionbar{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:7px!important;}
html body.cm-mobile-ready .casino-footer__grid{grid-template-columns:minmax(0,1fr)!important;gap:22px!important;}
html body.cm-mobile-ready #ft{min-width:0!important;width:100%!important;}
html body.cm-mobile-ready .casino-contact-modal__dialog{width:calc(100% - 28px)!important;max-height:calc(100dvh - 40px)!important;overflow:auto!important;}
}
@media(min-width:768px){.cm-header,.cm-drawer,.cm-search{display:none!important;}}
@media(max-width:767px){
html body.cm-mobile-ready .tanga-main-story-list a{color:#eee!important;}
html body.cm-mobile-ready .tanga-main-official-slider{padding:0!important;}
html body.cm-mobile-ready .tanga-main-story-hot{color:#F4BE24!important;background:#3d3520!important;}
html body.cm-mobile-ready .tanga-main-story-date{color:#929292!important;font-size:10px!important;white-space:nowrap!important;}
}
@media(max-width:767px){html body.cm-mobile-ready .tanga-main-news-feed-nav a:first-child{background:#F4BE24!important;color:#111!important;border-color:#F4BE24!important;}}
