/* HY STABLE GLOBAL 20260606
   공통 레이아웃/헤더/홍보띠/게시판 안정화 전용. 누적 rescue CSS를 정리한 경량판. */
:root{
  --hy-max:1180px;
  --hy-gutter:24px;
  --hy-text:#302936;
  --hy-muted:#756b76;
  --hy-line:#efdde8;
  --hy-line-strong:#e9c8da;
  --hy-soft:#fff8fc;
  --hy-card:#fff;
  --hy-point:#d66b9f;
  --hy-point-2:#e7b7d3;
  --hy-shadow:0 14px 36px rgba(60,38,58,.06);
  --hy-radius:22px;
}
*{box-sizing:border-box;}
html,body{width:100%;min-width:0;overflow-x:hidden!important;}
body{margin:0;color:var(--hy-text);background:#fff;font-family:"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:-.025em;}
a{color:inherit;text-decoration:none;}
img,video,iframe{max-width:100%;}
button,input,select,textarea{font-family:inherit;}
.sound_only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
.hy-container,.hy-sub-container{width:min(var(--hy-max),calc(100% - (var(--hy-gutter) * 2)))!important;max-width:var(--hy-max)!important;margin-left:auto!important;margin-right:auto!important;}
#hy-wrap{width:100%;min-width:0;background:#fff;}
.hy-main{width:100%;min-width:0;}
.hy-main--sub{padding:26px 0 64px;background:linear-gradient(180deg,#fff 0%,#fffafd 56%,#f8fbff 100%);}
.hy-main--home{padding:0;background:linear-gradient(180deg,#fff 0%,#fffafd 56%,#f8fbff 100%);}

/* 상단 홍보띠: 공통 head 기준, 모든 화면 동일 폭 */
.hy-top-promo{width:100%;margin:14px 0 10px!important;padding:0;background:transparent;border:0;}
.hy-top-promo__inner{position:relative;width:min(var(--hy-max),calc(100% - (var(--hy-gutter) * 2)))!important;margin:0 auto!important;padding:0!important;}
.hy-top-promo__viewport{position:relative;overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(70,45,65,.045);}
.hy-top-promo__slide{display:none;position:relative;}
.hy-top-promo__slide.is-active,.hy-top-promo__slide:first-child{display:block;}
.hy-top-promo__banner{position:relative;width:100%;overflow:hidden;background:#f8fbff;}
.hy-top-promo__banner-image{display:block;width:100%;height:auto;max-height:220px;object-fit:cover;}
.hy-top-promo__overlay{position:absolute;left:18px;right:18px;bottom:16px;display:flex;align-items:center;justify-content:center;gap:10px;pointer-events:none;}
.hy-top-promo__textbar{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;color:#493d49;background:#fff;border:1px solid var(--hy-line);border-radius:18px;}
.hy-top-promo__copy{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;font-size:14px;line-height:1.4;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.hy-top-promo__copy strong{font-weight:950;color:#2f2934;}
.hy-top-promo__copy em{font-style:normal;color:#6d626d;overflow:hidden;text-overflow:ellipsis;}
.hy-top-promo__btn{display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0 12px;border:1px solid var(--hy-line);border-radius:999px;background:#fff;color:#8b4a68;font-size:12px;font-weight:850;white-space:nowrap;pointer-events:auto;}
.hy-top-promo__counter{position:absolute;right:48px;bottom:8px;display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:999px;background:rgba(255,255,255,.84);color:#6b616b;font-size:11px;font-weight:850;}
.hy-top-promo__close{position:absolute;right:10px;bottom:8px;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:1px solid var(--hy-line);border-radius:50%;background:rgba(255,255,255,.92);color:#66515e;font-size:18px;line-height:1;cursor:pointer;}
.hy-top-promo.is-hidden{display:none!important;}
.hy-top-promo-reopen{display:none!important;}
.hy-top-promo-reopen.is-visible{display:inline-flex!important;position:fixed;right:18px;bottom:18px;z-index:60;align-items:center;justify-content:center;height:38px;padding:0 14px;border:1px solid var(--hy-line);border-radius:999px;background:#fff;color:#684b5e;font-size:12px;font-weight:850;box-shadow:0 12px 28px rgba(60,38,58,.08);}

/* 헤더: 로고 독립 / 검색창 중앙 / 회원영역 우측 */
.hy-header.hy-common-header,.hy-header{position:relative;z-index:80;width:100%;margin:0;padding:0;background:rgba(255,255,255,.985);border-bottom:1px solid #f0dfe8;box-shadow:0 8px 26px rgba(60,40,60,.025);}
.hy-header *{box-sizing:border-box;}
.hy-header>.hy-container.hy-header__inner{display:flex;flex-direction:column;gap:12px;width:min(var(--hy-max),calc(100% - (var(--hy-gutter) * 2)))!important;max-width:var(--hy-max)!important;margin:0 auto!important;padding:16px 0 14px!important;}
.hy-header__top{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(360px,430px) minmax(0,1fr)!important;align-items:center!important;gap:18px!important;width:100%!important;min-height:48px!important;margin:0!important;padding:0!important;}
.hy-header__left{display:flex!important;align-items:center!important;justify-content:flex-start!important;min-width:0!important;}
.hy-brand{display:block!important;margin:0!important;line-height:1!important;}
.hy-brand>a{display:inline-flex!important;align-items:center!important;gap:8px!important;color:inherit;text-decoration:none;}
.hy-brand__image-logo{display:block!important;width:auto!important;max-width:118px!important;max-height:42px!important;object-fit:contain!important;}
.hy-brand__mark{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:14px;background:#fff3f8;color:#cc6699;}
.hy-brand__text strong{display:block;font-size:19px;line-height:1.15;font-weight:900;color:#332b34;}
.hy-brand__text em{display:block;margin-top:3px;font-size:11px;font-style:normal;color:#938692;}
.hy-header-search{justify-self:center!important;display:flex!important;align-items:center!important;gap:7px!important;width:100%!important;height:46px!important;margin:0!important;padding:0 5px 0 15px!important;border:1px solid #efd4e3!important;border-radius:999px!important;background:#fff!important;box-shadow:0 10px 24px rgba(70,45,65,.045)!important;overflow:hidden!important;}
.hy-header-search__icon{flex:0 0 22px;display:inline-grid;place-items:center;width:22px;height:22px;font-size:14px;line-height:1;}
.hy-header-search input[type="search"]{flex:1 1 auto!important;min-width:0!important;height:42px!important;margin:0!important;padding:0 8px!important;border:0!important;background:transparent!important;color:#4d424c!important;-webkit-text-fill-color:#4d424c!important;font-size:14px!important;font-weight:650!important;line-height:42px!important;outline:0!important;box-shadow:none!important;}
.hy-header-search button{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:74px!important;height:36px!important;margin:0!important;padding:0 16px!important;border:0!important;border-radius:999px!important;background:#e5b8d2!important;color:#40273a!important;-webkit-text-fill-color:#40273a!important;font-size:13px!important;font-weight:950!important;line-height:1!important;white-space:nowrap!important;cursor:pointer!important;}
.hy-account{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important;white-space:nowrap!important;overflow:hidden!important;}
.hy-account__memo-link,.hy-account__name,.hy-account__link{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;height:38px!important;min-height:38px!important;max-height:38px!important;margin:0!important;padding:0 12px!important;border:1px solid #efd4e3!important;border-radius:999px!important;background:#fff!important;color:#493e49!important;-webkit-text-fill-color:#493e49!important;font-size:13px!important;font-weight:850!important;line-height:1!important;text-decoration:none!important;box-shadow:none!important;vertical-align:middle!important;overflow:hidden!important;white-space:nowrap!important;}
.hy-account__memo-link{flex:0 0 auto;min-width:64px;}
.hy-account__name{flex:0 1 148px;max-width:148px;padding-left:5px!important;}
.hy-account__link{flex:0 0 auto;min-width:68px;}
.hy-btn.hy-account__link{background:#f3d4e3!important;border-color:#f3d4e3!important;}
.hy-account__avatar,.hy-account__avatar-inner,.hy-account .hy-board-avatar{flex:0 0 30px!important;display:inline-grid!important;place-items:center!important;width:30px!important;min-width:30px!important;max-width:30px!important;height:30px!important;min-height:30px!important;max-height:30px!important;border-radius:50%!important;overflow:hidden!important;background:#fff3f8!important;}
.hy-account__avatar img,.hy-account__avatar-inner img,.hy-account .hy-board-avatar img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;}
.hy-account__name-text,.hy-account__label{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
.hy-account__name-text{max-width:82px!important;}
.hy-account__memo-link b[hidden]{display:none!important;}
.hy-account__memo-link b:not([hidden]){display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#df5b94;color:#fff;-webkit-text-fill-color:#fff;font-size:10px;}
.hy-menu-btn{display:none!important;}
.hy-nav{display:block!important;width:100%!important;margin:0!important;padding:0!important;}
.hy-nav>ul{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:8px 28px!important;width:100%!important;margin:0!important;padding:2px 0 0!important;list-style:none!important;}
.hy-nav li{position:relative;margin:0!important;padding:0!important;list-style:none!important;}
.hy-nav a{display:inline-flex!important;align-items:center!important;gap:9px!important;min-height:36px!important;padding:0!important;border:0!important;background:transparent!important;color:#514851!important;-webkit-text-fill-color:#514851!important;font-size:14px!important;font-weight:850!important;line-height:1!important;text-decoration:none!important;white-space:nowrap!important;}
.hy-nav a:hover{color:#b65083!important;-webkit-text-fill-color:#b65083!important;}
.hy-menu-emoji{display:inline-grid!important;place-items:center!important;width:28px!important;height:28px!important;min-width:28px!important;border:1px solid #f0dbe7!important;border-radius:10px!important;background:#fff8fc!important;font-size:14px!important;line-height:1!important;}
.hy-menu-copy{display:block;min-width:0;}
.hy-menu-label{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.hy-menu-desc{display:none!important;}
.hy-nav li ul{display:none!important;position:absolute;left:0;top:100%;z-index:50;min-width:180px;padding:8px;border:1px solid var(--hy-line);border-radius:16px;background:#fff;box-shadow:0 16px 34px rgba(60,38,58,.10);}
.hy-nav li:hover>ul{display:block!important;}
.hy-nav li ul a{display:flex!important;width:100%!important;min-height:34px!important;padding:0 10px!important;border-radius:10px!important;}

/* 공통 카드/게시판 안정화 */
.hy-home{padding:22px 0 58px;background:linear-gradient(180deg,#fff 0%,#fff9fc 42%,#f8fbff 100%);}
.hy-card,.hy-board-screen,.hy-board-rich,.hy-view-article,.hy-write-shell,.hy-mypage-card,.hy-comment-write,.hy-comments{border-color:var(--hy-line)!important;}
.hy-board-rich,.hy-board-screen,.hy-write-shell,#bo_v,.hy-basic-lounge-view,.hy-gallery-museum,.hy-comments,.hy-comment-write{width:min(var(--hy-max),calc(100% - (var(--hy-gutter) * 2)))!important;max-width:var(--hy-max)!important;margin:24px auto!important;box-sizing:border-box!important;color:var(--hy-text)!important;}
.hy-board-rich-hero,.hy-board-rich-toolbar,.hy-view-head,.hy-write-titlebar,.hy-view-card,.hy-view-content,#bo_v_con,.hy-write-card,.hy-write-native,.hy-comments,.hy-comment-write{border:1px solid var(--hy-line)!important;border-radius:var(--hy-radius)!important;background:#fff!important;box-shadow:var(--hy-shadow)!important;}
.hy-view-card,.hy-view-content,#bo_v_con,.hy-write-card,.hy-write-native,.hy-comments,.hy-comment-write{padding:22px!important;}
.hy-board-rich-hero,.hy-board-rich-toolbar,.hy-view-head,.hy-write-titlebar{padding:22px 24px!important;}
.hy-board-rich-hero h1,.hy-view-head h1,.hy-write-titlebar h1{margin:0!important;color:#2f2934!important;font-size:clamp(24px,3.2vw,34px)!important;line-height:1.18!important;letter-spacing:-.06em!important;}
.hy-board-rich-hero p,.hy-view-head p,.hy-write-titlebar p{margin:8px 0 0!important;color:var(--hy-muted)!important;font-size:14px!important;line-height:1.6!important;}
.hy-board-btn,.hy-view-actions a,.hy-write-actions a,.hy-write-actions button,.bo_fx a,.btn_confirm a,.btn_confirm button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:0 14px!important;border:1px solid var(--hy-line)!important;border-radius:999px!important;background:#fff!important;color:#5e5260!important;-webkit-text-fill-color:#5e5260!important;font-size:13px!important;font-weight:850!important;line-height:1!important;text-decoration:none!important;}
.hy-board-btn.is-primary,.btn_submit,.hy-write-actions .btn_submit{background:#d66b9f!important;border-color:#d66b9f!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
.hy-board-rich-grid,.hy-board-list,.hy-post-list,.hy-lounge-list,.hy-gallery-list{display:grid;gap:12px;margin:0;padding:0;list-style:none;}
.hy-board-rich-link,.hy-board-item,.hy-lounge-item,.hy-gallery-card{border:1px solid var(--hy-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 24px rgba(60,38,58,.04)!important;color:inherit!important;}
.hy-board-rich-link{display:grid!important;grid-template-columns:96px minmax(0,1fr) auto!important;gap:14px!important;align-items:center!important;padding:13px!important;}
.hy-board-rich-thumb,.hy-board-item__thumb,.hy-lounge-thumb,.hy-gallery-thumb{display:block!important;width:96px!important;aspect-ratio:4/3!important;border-radius:14px!important;overflow:hidden!important;background:#f8eff5!important;}
.hy-board-rich-thumb img,.hy-board-item__thumb img,.hy-lounge-thumb img,.hy-gallery-thumb img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;}
.hy-board-rich-title,.hy-board-item h2,.hy-lounge-item h2,.hy-gallery-card h2{display:block!important;margin:0!important;color:#302936!important;font-size:17px!important;font-weight:900!important;line-height:1.35!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;}
.hy-board-rich-meta,.hy-view-meta,.hy-board-meta,.hy-lounge-meta,.hy-gallery-meta{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;margin-top:8px!important;color:var(--hy-muted)!important;font-size:12px!important;line-height:1.45!important;}
.hy-board-rich-search,.hy-board-search,.bo_sch_wrap,.hy-board-filter{border:1px solid var(--hy-line)!important;border-radius:16px!important;background:#fff!important;}
.hy-board-rich-search input,.hy-board-rich-search select,.hy-board-search input,.hy-board-search select,.bo_sch input,.bo_sch select,.hy-write-field input,.hy-write-field select,.hy-write-field textarea,.hy-write-native input,.hy-write-native select,.hy-write-native textarea{border:1px solid #e7cfdb!important;border-radius:14px!important;background:#fff!important;color:#302936!important;-webkit-text-fill-color:#302936!important;box-shadow:none!important;}
#bo_v_con,.hy-view-content{font-size:16px!important;line-height:1.82!important;color:#332c38!important;word-break:keep-all!important;overflow-wrap:anywhere!important;}
#bo_v_con img,.hy-view-content img{max-width:100%!important;height:auto!important;border-radius:14px!important;}
.hy-board-avatar,.hy-view-author-avatar,.hy-comment-avatar,.cmt_avatar,.bo_vc_hd img,.bo_vc img[src*="profile"],.bo_vc img[src*="member"]{display:inline-block!important;width:40px!important;max-width:40px!important;height:40px!important;max-height:40px!important;border-radius:50%!important;object-fit:cover!important;overflow:hidden!important;vertical-align:middle!important;}
.hy-board-avatar img,.hy-view-author-avatar img,.hy-comment-avatar img,.cmt_avatar img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;}

/* 날씨/시계 위젯 텍스트 생노출 방지 */
.hy-status-widget,.hy-public-data-widget,.hy-weather-widget,.hy-clock-weather,.hy-pd-widget{display:block!important;margin:0 0 14px!important;padding:16px!important;border:1px solid var(--hy-line)!important;border-radius:20px!important;background:#fff!important;box-shadow:0 10px 24px rgba(60,38,58,.045)!important;color:#3c3440!important;font-size:14px!important;line-height:1.65!important;}
.hy-status-widget a,.hy-public-data-widget a,.hy-weather-widget a,.hy-clock-weather a,.hy-pd-widget a{display:inline-flex!important;align-items:center!important;min-height:32px!important;padding:0 11px!important;border:1px solid var(--hy-line)!important;border-radius:999px!important;background:#fff!important;color:#694d5f!important;font-size:12px!important;font-weight:850!important;}

/* 마이페이지 큰 규격 */
.hy-mypage-wrap,.hy-mypage-shell,.hy-mypage{width:min(var(--hy-max),calc(100% - (var(--hy-gutter) * 2)))!important;max-width:var(--hy-max)!important;margin:24px auto!important;box-sizing:border-box!important;}
.hy-mypage-shell{display:grid!important;grid-template-columns:220px minmax(0,1fr)!important;gap:20px!important;align-items:start!important;}
.hy-mypage-side-logo,.hy-mypage-side-card,.hy-mypage-side-nav,.hy-mypage-card,.hy-mypage-profile{border:1px solid var(--hy-line)!important;border-radius:20px!important;background:#fff!important;box-shadow:0 10px 24px rgba(60,38,58,.04)!important;}
.hy-mypage-card{padding:20px!important;}
.hy-mypage-hero{min-height:220px!important;border-radius:28px!important;overflow:hidden!important;background-size:cover!important;background-position:center!important;box-shadow:var(--hy-shadow)!important;}
.hy-mypage-grid,.hy-mypage-stat-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;}

@media (max-width:1120px){
  .hy-header__top{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"brand account"!important;}
  .hy-header__left{grid-area:brand;}
  .hy-header-search{display:none!important;}
  .hy-account{grid-area:account;}
}
@media (max-width:900px){
  :root{--hy-gutter:14px;}
  .hy-header>.hy-container.hy-header__inner{width:100%!important;max-width:none!important;padding:10px 12px!important;gap:9px!important;}
  .hy-header__top{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"brand menu" "account account"!important;gap:9px!important;min-height:0!important;}
  .hy-header__left{grid-area:brand!important;}
  .hy-brand__image-logo{max-width:92px!important;max-height:34px!important;}
  .hy-menu-btn{grid-area:menu!important;display:inline-flex!important;visibility:visible!important;pointer-events:auto!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-width:62px!important;height:36px!important;padding:0 11px!important;border:1px solid #efd4e3!important;border-radius:999px!important;background:#fff!important;color:#8c4067!important;-webkit-text-fill-color:#8c4067!important;font-size:12px!important;font-weight:950!important;}
  .hy-menu-btn b{display:inline!important;font-size:11px!important;}
  .hy-account{grid-area:account!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) 64px 64px!important;gap:6px!important;width:100%!important;overflow:visible!important;}
  .hy-account.hy-account--guest{grid-template-columns:1fr 1fr!important;}
  .hy-account__memo-link{width:42px!important;min-width:42px!important;padding:0!important;}
  .hy-account__memo-text{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;}
  .hy-account__name{max-width:none!important;justify-content:flex-start!important;padding:4px 8px 4px 4px!important;}
  .hy-account__link{min-width:0!important;height:36px!important;padding:0 7px!important;font-size:11.5px!important;}
  .hy-nav{display:none!important;}
  .hy-header.is-menu-open .hy-nav,.hy-nav.is-open{display:block!important;}
  .hy-nav>ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding-top:4px!important;}
  .hy-nav a{display:flex!important;justify-content:flex-start!important;min-height:42px!important;padding:8px 10px!important;border:1px solid #f0dfe9!important;border-radius:14px!important;background:#fff!important;font-size:13px!important;}
  .hy-top-promo{margin:10px 0 6px!important;}
  .hy-top-promo__viewport{border-radius:14px;}
  .hy-top-promo__banner-image{max-height:150px;}
  .hy-top-promo__textbar{min-height:40px;padding:0 12px;font-size:12px;}
  .hy-board-rich,.hy-board-screen,.hy-write-shell,#bo_v,.hy-basic-lounge-view,.hy-gallery-museum,.hy-comments,.hy-comment-write,.hy-mypage-wrap,.hy-mypage-shell,.hy-mypage{width:calc(100% - 24px)!important;margin:16px auto!important;}
  .hy-board-rich-link{grid-template-columns:82px minmax(0,1fr)!important;gap:10px!important;padding:11px!important;}
  .hy-board-rich-thumb{width:82px!important;}
  .hy-view-card,.hy-view-content,#bo_v_con,.hy-write-card,.hy-write-native,.hy-comments,.hy-comment-write{padding:17px!important;border-radius:20px!important;}
  .hy-mypage-shell{display:block!important;}
  .hy-mypage-side{display:none!important;}
  .hy-mypage-grid,.hy-mypage-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width:420px){
  .hy-account{grid-template-columns:40px minmax(0,1fr) 54px 54px!important;gap:5px!important;}
  .hy-account__link{font-size:10.8px!important;padding:0 5px!important;}
  .hy-nav>ul{grid-template-columns:1fr!important;}
}

/* HY FULL AUDIT 20260606 - 전체 화면 공통 규격/헤더/게시판/모바일 최종 보정 */
:root{--hy-max:1180px;--hy-gutter:24px;--hy-field-h:46px;}
#hd,#wrapper,#container,#contents,#bo_list,#bo_v,#bo_w,#new_sch,#fsearch,.mbskin,.hy-board-page,.hy-basic-board,.hy-gallery-board,.hy-attendance-board{max-width:100%;min-width:0;box-sizing:border-box;}
#container,#contents,.hy-main,.hy-main--sub,.hy-main--home{overflow-x:hidden;}
.tbl_wrap,.tbl_head01,.tbl_head02,.bo_fx,.bo_sch_wrap,.bo_sch,.pg_wrap,.list_01,.list_02{max-width:100%;min-width:0;box-sizing:border-box;}
.tbl_wrap table{width:100%;max-width:100%;}
input,select,textarea,button{max-width:100%;}

@media (min-width:769px){
  .hy-header .hy-header__top,#hy-wrap .hy-header .hy-header__top{display:grid!important;grid-template-columns:minmax(150px,1fr) minmax(360px,460px) minmax(310px,1fr)!important;grid-template-areas:"left search account"!important;align-items:center!important;gap:18px!important;}
  .hy-header .hy-header__left,#hy-wrap .hy-header .hy-header__left{grid-area:left!important;justify-content:flex-start!important;}
  .hy-header .hy-header-search,#hy-wrap .hy-header .hy-header-search{grid-area:search!important;justify-self:center!important;width:100%!important;max-width:460px!important;min-width:0!important;}
  .hy-header .hy-account,#hy-wrap .hy-header .hy-account{grid-area:account!important;justify-content:flex-end!important;}
  .hy-header .hy-menu-btn,#hy-wrap .hy-header .hy-menu-btn{display:none!important;}
  .hy-header .hy-nav,#hy-wrap .hy-header .hy-nav{display:block!important;}
  .hy-header .hy-nav>ul,#hy-wrap .hy-header .hy-nav>ul{justify-content:flex-start!important;}
}

@media (max-width:768px){
  body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px));}
  .hy-container,.hy-sub-container{width:calc(100% - 24px)!important;}
  .hy-header .hy-header__top,#hy-wrap .hy-header .hy-header__top{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"left menu" "account account"!important;}
  .hy-header .hy-header-search,#hy-wrap .hy-header .hy-header-search{display:none!important;visibility:hidden!important;}
  .hy-header .hy-menu-btn,#hy-wrap .hy-header .hy-menu-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;}
  .hy-header .hy-account,#hy-wrap .hy-header .hy-account{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;width:100%!important;overflow:visible!important;}
  .hy-header .hy-account__name--profile,#hy-wrap .hy-header .hy-account__name--profile{grid-column:1/-1!important;justify-self:center!important;width:min(100%,230px)!important;max-width:230px!important;}
  .hy-header .hy-account__memo-link,#hy-wrap .hy-header .hy-account__memo-link{display:none!important;}
  .hy-header .hy-account__link,#hy-wrap .hy-header .hy-account__link,.hy-header .hy-btn.hy-account__link,#hy-wrap .hy-header .hy-btn.hy-account__link{width:100%!important;min-width:0!important;height:32px!important;min-height:32px!important;padding:0 10px!important;font-size:12px!important;}
  .hy-header .hy-account.hy-account--guest,#hy-wrap .hy-header .hy-account.hy-account--guest{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .hy-header .hy-account.hy-account--guest .hy-account__link,#hy-wrap .hy-header .hy-account.hy-account--guest .hy-account__link{height:34px!important;}
  .hy-header .hy-nav,#hy-wrap .hy-header .hy-nav{display:none!important;}
  .hy-header.is-menu-open .hy-nav,#hy-wrap .hy-header.is-menu-open .hy-nav,.hy-header .hy-nav.is-open,#hy-wrap .hy-header .hy-nav.is-open{display:block!important;}
  .hy-header .hy-nav li:hover>ul,#hy-wrap .hy-header .hy-nav li:hover>ul{display:none!important;}
  .hy-top-promo__inner{width:calc(100% - 24px)!important;}
  .hy-top-promo__banner-image{max-height:160px!important;}
  .hy-top-promo__overlay{left:10px!important;right:10px!important;bottom:10px!important;}
  .hy-top-promo__textbar{min-height:34px!important;padding:0 12px!important;border-radius:14px!important;}
  .hy-top-promo__copy{font-size:12px!important;}
}

/* 게시판 기본/갤러리/출석체크가 같은 화면 폭과 버튼 규격을 쓰도록 보정 */
.hy-board-shell,.hy-basic-shell,.hy-gallery-shell,.hy-att-shell,#bo_list,#bo_v,#bo_w{width:min(var(--hy-max),calc(100% - 48px));max-width:var(--hy-max);margin-left:auto;margin-right:auto;}
.bo_v_com,.bo_fx,.bo_v_nb,.bo_vc_w,.bo_sch_wrap,.board-search,.hy-board-actions,.hy-basic-actions,.hy-gallery-actions{max-width:100%;min-width:0;}
.bo_fx a,.bo_fx button,.bo_v_com a,.bo_v_com button,.hy-board-actions a,.hy-board-actions button,.hy-basic-actions a,.hy-basic-actions button,.hy-gallery-actions a,.hy-gallery-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border-radius:12px;text-decoration:none;white-space:nowrap;}
@media (max-width:768px){
  .hy-board-shell,.hy-basic-shell,.hy-gallery-shell,.hy-att-shell,#bo_list,#bo_v,#bo_w{width:calc(100% - 24px)!important;}
  .bo_fx,.bo_v_com,.hy-board-actions,.hy-basic-actions,.hy-gallery-actions{display:flex;flex-wrap:wrap;gap:7px;}
  .bo_fx a,.bo_fx button,.bo_v_com a,.bo_v_com button,.hy-board-actions a,.hy-board-actions button,.hy-basic-actions a,.hy-basic-actions button,.hy-gallery-actions a,.hy-gallery-actions button{flex:1 1 auto;min-width:0;}
  .tbl_wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;}
}

/* 회원/확인/가입 화면은 전체적으로 한 규격 카드로 고정 */
.hy-member-page,.hy-clean-register,.hy-member-confirm-wrap,.ca-auth,.ca-lite-page,.ca-register-terms,.ca-recovery,.ca-result-page{overflow-x:hidden;}
.hy-member-card,.hy-clean-card,.hy-member-confirm-box,.ca-member-card,.ca-lite-card,.ca-recovery-card,.ca-result-card,.ca-terms-card{max-width:100%;}
.hy-clean-field.is-wide{grid-column:1/-1;}
.hy-clean-section{display:flex;align-items:center;gap:8px;margin:24px 0 13px;padding-top:18px;border-top:1px solid #f0e3eb;color:#493e49;font-size:15px;font-weight:950;letter-spacing:-.04em;}
.hy-clean-section:first-of-type{margin-top:0;padding-top:0;border-top:0;}
.hy-clean-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px;}
.hy-clean-profile-upload{display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px;align-items:start;}
.hy-clean-profile-preview{width:92px;height:92px;border:1px solid #ead3df;border-radius:22px;overflow:hidden;background:#fff8fc;}
.hy-clean-profile-preview img{display:block;width:100%;height:100%;object-fit:cover;}
.hy-clean-profile-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.hy-clean-captcha{max-width:100%;overflow:hidden;padding:12px;border:1px solid #ead3df;border-radius:16px;background:#fffafc;}
.hy-clean-captcha legend,.hy-clean-captcha caption{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;}
.hy-member-confirm-readonly{display:flex!important;align-items:center!important;}
@media (max-width:768px){
  .hy-clean-checks,.hy-clean-profile-controls{grid-template-columns:1fr!important;}
  .hy-clean-profile-upload{grid-template-columns:72px minmax(0,1fr)!important;}
  .hy-clean-profile-preview{width:72px!important;height:72px!important;border-radius:18px!important;}
}
