/* 건마나라 V49.3 — 로그인·가입·계정·쪽지·커뮤니티·업소등록·제휴점관리
 * 화면 표현 전용. PC 1025px+ / PHP 액션 / 광고·권한·DB 데이터 미변경.
 * 유의: 운영 member/main.php와 bbs/main.php는 모바일에서도 _pc 스킨을 사용함.
 */
.gm493-intro {display:none;}
@media screen and (max-width:1024px) {
  html.gm49-mobile .content-wrap.gm493-route {--gm493-purple:#7245b3;--gm493-deep:#332541;--gm493-muted:#82778c;--gm493-border:#eae3f1;--gm493-tint:#f7f2fd; background:#f7f6fb!important;}
  html.gm49-mobile .gm493-route>.wrap {max-width:100%!important;}
  html.gm49-mobile .gm493-route>.wrap>.content {width:100%!important;max-width:750px!important;min-width:0!important;float:none!important;transform:none!important;border:0!important;background:transparent!important;margin:0 auto!important;padding:14px 12px 25px!important;overflow:visible;}
  html.gm49-mobile .gm493-route .content * {box-sizing:border-box;}
  html.gm49-mobile .gm493-route .content {color:#352a40;font-size:15px;line-height:1.58;overflow-wrap:break-word;}
  html.gm49-mobile .gm493-route .content a {text-decoration:none;}
  html.gm49-mobile .gm493-route .content .gm493-fluid-image {max-width:100%;height:auto;}
  html.gm49-mobile .gm493-route .content :is(input,select,textarea,button) {font-family:inherit;font-size:15px;}
  html.gm49-mobile .gm493-route .content :is(input,select,textarea):focus-visible,html.gm49-mobile .gm493-route a:focus-visible {outline:2px solid #9f77cd;outline-offset:2px;}
  /* Mobile intro: consistent with the purple/white homepage, not a second PC header. */
  html.gm49-mobile .gm493-intro {display:block!important;margin:0 0 14px;padding:17px 16px 16px;border:1px solid #eee7f6;border-radius:18px;background:linear-gradient(142deg,#fff 56%,#f9f5ff);box-shadow:0 6px 23px rgba(65,44,109,.045);}
  html.gm49-mobile .gm493-intro-top {display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;}
  html.gm49-mobile .gm493-eyebrow {color:#9060c5;font-size:12px;font-weight:900;letter-spacing:1px;}
  html.gm49-mobile .gm493-home-link {font-size:13px;color:#8b7f98;font-weight:700;display:inline-flex;gap:5px;align-items:center;}
  html.gm49-mobile .gm493-intro-heading {display:flex;align-items:center;gap:11px;min-width:0;}
  html.gm49-mobile .gm493-intro-icon {width:46px;height:46px;flex:0 0 46px;border-radius:15px;display:flex;align-items:center;justify-content:center;background:#efe5fd;color:#7445b4;font-size:19px;}
  html.gm49-mobile .gm493-intro-heading>div {min-width:0;}
  html.gm49-mobile .gm493-intro-heading h1 {font-size:23px;font-weight:850;letter-spacing:-.85px;color:#352744;line-height:1.3;margin:0 0 4px;}
  html.gm49-mobile .gm493-intro-heading p {font-size:13.5px;color:#82748c;line-height:1.5;margin:0;word-break:keep-all;}
  html.gm49-mobile .gm493-tabstrip {display:flex;gap:7px;align-items:center;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin:16px -2px 0;padding:1px 2px 4px;}
  html.gm49-mobile .gm493-tabstrip::-webkit-scrollbar {display:none;}
  html.gm49-mobile .gm493-tabstrip a {display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:42px;flex:0 0 auto;white-space:nowrap;padding:9px 13px;border-radius:12px;border:1px solid #e7dbf3;color:#705b83;background:#fff;font-size:13px;font-weight:780;}
  html.gm49-mobile .gm493-tabstrip a.is-current {color:#fff;background:#7950ba;border-color:#7950ba;box-shadow:0 3px 8px rgba(93,57,142,.15);}
  html.gm49-mobile .gm493-quicklinks {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:17px;}
  html.gm49-mobile .gm493-quicklinks a {display:flex;align-items:center;justify-content:center;gap:5px;padding:8px 7px;min-height:46px;text-align:center;color:#6d4d94;background:#f5eefe;border:1px solid #e6d8f5;border-radius:12px;font-size:13px;font-weight:780;}
  html.gm49-mobile .gm493-minorlink {margin-top:15px;padding-top:12px;border-top:1px solid #f0e9f7;color:#887c91;font-size:13px;}
  html.gm49-mobile .gm493-minorlink a {margin-left:5px;color:#7445b3;font-weight:800;}
  /* Existing PC sub-page chrome is retained on desktop, suppressed only in mobile. */
  html.gm49-mobile .gm493-route :is(.gm36-crumbs,.gm36-intro,.gm37-board-tabs) {display:none!important;}
  html.gm49-mobile .gm493-route .gm36-page-shell {width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;}
  html.gm49-mobile .gm493-route .gm36-page-body {width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:16px 13px!important;border:1px solid #eee7f5!important;border-radius:17px!important;background:white!important;box-shadow:0 3px 12px rgba(60,38,96,.035)!important;}
  html.gm49-mobile .gm493-route .gm36-page-body::after {content:"";display:table;clear:both;}
  /* For server-detected mobile, the older content has no gm36 wrapper. */
  html.gm49-mobile .gm493-route .content> :is(.login-wrap,#pages_join,#paperlist,#bbslist,#bbswrite,.bbswrap,.gm36-page-shell) {max-width:100%!important;min-width:0!important;float:none!important;transform:none!important;margin-left:0!important;margin-right:0!important;}
  html.gm49-mobile .gm493-route:not(.gm493-paper) .content> :is(.login-wrap,#pages_join,#bbslist,#bbswrite,.bbswrap) {padding:15px 13px!important;border:1px solid #eee7f5;border-radius:16px;background:#fff;box-shadow:0 3px 12px rgba(60,38,96,.035);}
  /* Legacy titles repeated below the new mobile heading are unnecessary. */
  html.gm49-mobile .gm493-route .content :is(.bbs_title,.login-wrap>.title,#pages_join>h2) {display:none!important;}
  html.gm49-mobile .gm493-route .content :is(.msg,.guide,.hint,.job-adult-notice,.gm37-message-note) {max-width:100%;line-height:1.65;word-break:keep-all;}
  html.gm49-mobile .gm493-route :is(.pagebox01,.pagebox02,.pagebox,.pagenavi,.pagination) {clear:both;max-width:100%;overflow-x:auto;text-align:center;margin:16px auto!important;}
  html.gm49-mobile .gm493-route .content :is(button,.btn,.btnblue,.btngray,input[type="button"],input[type="submit"]) {cursor:pointer;max-width:100%;}
  html.gm49-mobile .gm493-route .content :is(input[type="text"],input[type="password"],input[type="email"],input[type="tel"],input[type="url"],input[type="search"],input[type="number"],select,textarea) {max-width:100%!important;min-height:44px;background:#fff!important;color:#3f334f!important;border:1px solid #e1d7ec!important;border-radius:10px!important;box-shadow:none!important;padding:10px 11px!important;line-height:1.4;}
  html.gm49-mobile .gm493-route .content :is(input,select,textarea):focus {border-color:#ae82dc!important;outline:2px solid rgba(137,82,194,.15)!important;}
  html.gm49-mobile .gm493-route .content :is(input[type="checkbox"],input[type="radio"]) {min-height:0!important;width:17px;height:17px;vertical-align:middle;accent-color:#7848b6;}
  html.gm49-mobile .gm493-route .content :is(.submitbox,.bottombox,.btnbox,.btn-wrap,.btnbox1) {max-width:100%;gap:8px;}
  html.gm49-mobile .gm493-route .content :is(.submitbox,.bottombox) {display:flex!important;flex-wrap:wrap;justify-content:center;align-items:center;margin:16px 0 0!important;}
  html.gm49-mobile .gm493-route .content :is(.submitbox,.bottombox) :is(input[type="submit"],input[type="button"],button,a.btn) {min-height:46px!important;min-width:95px;display:inline-flex;align-items:center;justify-content:center;flex:1 1 auto;padding:10px 13px!important;border-radius:11px!important;font-size:14px!important;font-weight:800!important;}
  html.gm49-mobile .gm493-route .content :is(.submitbox,.bottombox) :is(input[type="submit"],.btnblue,.btn-gray) {background:#7445b6!important;color:#fff!important;border:1px solid #7445b6!important;}
  html.gm49-mobile .gm493-route .content :is(.submitbox,.bottombox) :is(a.btn,.btngray,input[type="button"]) {background:#f4effa!important;color:#735a8a!important;border:1px solid #e1d5ef!important;}
  /* Login: original PC login form continues to submit into original action frame. */
  html.gm49-mobile .gm493-login .content :is(.login-wrap,#m_loginbox) {width:100%!important;max-width:590px!important;margin:0 auto!important;padding:20px 17px!important;border:1px solid #eae2f3;border-radius:18px;background:#fff;box-shadow:0 5px 20px rgba(63,38,115,.05);}
  html.gm49-mobile .gm493-login .login-wrap .form-wrap {width:100%!important;padding:0!important;margin:0!important;}
  html.gm49-mobile .gm493-login .login-wrap form,html.gm49-mobile .gm493-login #m_loginbox form {max-width:100%!important;margin:0!important;}
  html.gm49-mobile .gm493-login .login-wrap table {display:block;width:100%!important;max-width:100%!important;border:0!important;margin:0 0 13px!important;}
  html.gm49-mobile .gm493-login .login-wrap :is(tbody,tr) {display:block;width:100%!important;}
  html.gm49-mobile .gm493-login .login-wrap td {display:block!important;width:100%!important;padding:0!important;border:0!important;color:#625573;font-size:14px;font-weight:780;}
  html.gm49-mobile .gm493-login .login-wrap td:nth-child(odd) {margin:13px 0 5px;}
  html.gm49-mobile .gm493-login .login-wrap td input {width:100%!important;height:49px!important;margin:0!important;font-size:16px!important;}
  html.gm49-mobile .gm493-login .login-wrap center {margin:12px auto 18px!important;font-size:14px;color:#766783;}
  html.gm49-mobile .gm493-login .login-wrap form>.btn,html.gm49-mobile .gm493-login .login-wrap form>button {display:block!important;width:100%!important;min-height:48px!important;margin:8px 0!important;border:1px solid #e4d8f3!important;border-radius:12px!important;font-size:16px!important;font-weight:830!important;}
  html.gm49-mobile .gm493-login .login-wrap .btn-login {background:linear-gradient(110deg,#8c5cc9,#7140b4)!important;color:#fff!important;border-color:#7445b6!important;}
  html.gm49-mobile .gm493-login .login-wrap button.btn-success {background:#f4effa!important;color:#694795!important;}
  html.gm49-mobile .gm493-login #m_loginbox .xdiv {margin:10px 0;}
  html.gm49-mobile .gm493-login #m_loginbox input.xinput {width:100%!important;min-height:49px!important;}
  /* Member join/info/password/out: change fixed two-column tables into stacked fields. */
  html.gm49-mobile .gm493-route:is(.gm493-join,.gm493-info,.gm493-pw,.gm493-out) #pages_join {max-width:100%!important;width:100%!important;padding:17px 12px!important;background:white!important;border:1px solid #eee6f5;border-radius:16px;}
  html.gm49-mobile .gm493-route #pages_join form {max-width:100%!important;min-width:0!important;}
  html.gm49-mobile .gm493-route #pages_join table {display:block!important;width:100%!important;max-width:100%!important;table-layout:auto!important;border:0!important;margin:0 0 13px!important;}
  html.gm49-mobile .gm493-route #pages_join :is(thead,colgroup) {display:none!important;}
  html.gm49-mobile .gm493-route #pages_join :is(tbody,tr) {display:block!important;width:100%!important;max-width:100%!important;}
  html.gm49-mobile .gm493-route #pages_join tbody tr {padding:13px 0!important;border-bottom:1px solid #f1ebf5!important;}
  html.gm49-mobile .gm493-route #pages_join tbody tr:last-child {border-bottom:0!important;}
  html.gm49-mobile .gm493-route #pages_join td {display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;border:0!important;height:auto!important;padding:0!important;line-height:1.7!important;}
  html.gm49-mobile .gm493-route #pages_join td.key {margin:0 0 7px!important;font-size:14px!important;font-weight:800!important;color:#594967!important;}
  html.gm49-mobile .gm493-route #pages_join td.key span {color:#b06dcd;}
  html.gm49-mobile .gm493-route #pages_join td :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea) {width:100%;max-width:100%;margin:3px 0!important;}
  html.gm49-mobile .gm493-route #pages_join td :is(input[name^="birth_"],input[name^="tel"],select[name^="birth_"]) {width:auto!important;max-width:31%!important;min-width:24%!important;margin-right:3px!important;}
  html.gm49-mobile .gm493-route #pages_join td :is(.msg,.hint,div) {max-width:100%;}
  html.gm49-mobile .gm493-join #pages_join .join-step2 {max-width:100%;overflow-x:hidden;}
  html.gm49-mobile .gm493-join #pages_join .join-step2 [style*="padding: 15px 20px 15px 80px"] {padding:14px!important;}
  html.gm49-mobile .gm493-join #pages_join .join-step2 [style*="position: absolute;top: 20px;left: 20px"] {display:none!important;}
  html.gm49-mobile .gm493-join #pages_join :is(.agreebox,.agreecheck,.msg,.msg1) {max-width:100%;padding:12px!important;border-radius:10px!important;}
  html.gm49-mobile .gm493-join #pages_join .tab ul {display:flex;flex-wrap:wrap;gap:6px;padding:0;}
  html.gm49-mobile .gm493-join #pages_join .tab li {float:none;flex:1 1 auto;min-height:40px;padding:8px;border:1px solid #e7dbf3;border-radius:9px;background:#faf7ff;color:#705490;font-size:13px;}
  html.gm49-mobile .gm493-join #pages_join textarea {width:100%;}
  html.gm49-mobile .gm493-out #pages_join .msg {padding:13px!important;border:1px solid #f1d6d9!important;background:#fff8f9!important;color:#954b5a!important;border-radius:10px!important;}
  /* Message list: original PHP card rows, unread flag and checkboxes all preserved. */
  html.gm49-mobile .gm493-paper .content :is(.gm36-page-body,#paperlist) {max-width:100%!important;}
  html.gm49-mobile .gm493-paper .content>table[height="50"] {display:none!important;}
  html.gm49-mobile .gm493-paper .content :is(.gm36-page-body,#paperlist)>table[height="50"] {display:none!important;}
  html.gm49-mobile .gm493-paper .content .gm36-page-body>table[height="50"] {display:none!important;}
  html.gm49-mobile .gm493-paper .content .gm36-page-body>center {max-width:100%;padding:10px 9px;background:#fdf9ff;border:1px solid #f0e8f8;border-radius:11px;}
  html.gm49-mobile .gm493-paper .content .gm36-page-body>center font {font-size:12px!important;color:#776586!important;}
  html.gm49-mobile .gm493-paper .content #paperlist {margin:0!important;padding:0!important;width:100%!important;min-width:0!important;}
  html.gm49-mobile .gm493-paper .content #paperlist>.info {padding:10px 4px!important;color:#8b7b98!important;}
  html.gm49-mobile .gm493-paper .content #paperlist .article {float:none;color:#7b5b9b;font-size:14px;font-weight:800;}
  html.gm49-mobile .gm493-paper .content #paperlist form {width:100%!important;}
  html.gm49-mobile .gm493-paper .content #paperlist form>div[style*="border:1px solid"] {border:1px solid #e7ddf2!important;border-radius:13px!important;box-shadow:0 3px 12px rgba(68,43,102,.06)!important;margin:10px 0!important;padding:12px!important;background:#fff!important;}
  html.gm49-mobile .gm493-paper .content #paperlist form>div[style*="border:1px solid"] table {width:100%!important;min-width:0!important;table-layout:fixed!important;}
  html.gm49-mobile .gm493-paper .content #paperlist form>div[style*="border:1px solid"] table td {height:auto!important;min-width:0!important;font-size:13px!important;padding:5px 3px!important;vertical-align:top!important;}
  html.gm49-mobile .gm493-paper .content #paperlist form>div[style*="border:1px solid"] table td:first-child {width:30%!important;}
  html.gm49-mobile .gm493-paper .content #paperlist form>div[style*="border:1px solid"] table td:nth-child(2) {width:12%!important;}
  html.gm49-mobile .gm493-paper .content #paperlist form>div[style*="border:1px solid"] table td:last-child {width:58%!important;}
  html.gm49-mobile .gm493-paper .content #paperlist form>div[style*="border:1px solid"] table td a {color:#443650;font-size:13.5px!important;line-height:1.55;overflow-wrap:anywhere;}
  html.gm49-mobile .gm493-paper .content #paperlist img {max-width:30px;height:auto;}
  /* Board list, detail and write: keep existing categories, permissions, search and navigation. */
  html.gm49-mobile .gm493-board .content :is(#bbslist,.bbswrap,#bbswrite) {width:100%!important;max-width:100%!important;min-width:0!important;}
  html.gm49-mobile .gm493-board .content #bbslist .ca_list {display:flex!important;gap:7px;overflow-x:auto;margin:0 0 14px!important;padding:0 0 5px!important;scrollbar-width:none;}
  html.gm49-mobile .gm493-board .content #bbslist .ca_list li {float:none!important;flex:0 0 auto;}
  html.gm49-mobile .gm493-board .content #bbslist .ca_list li a {display:flex!important;align-items:center;min-height:39px;padding:8px 12px!important;border-radius:11px;border:1px solid #e8def2;background:#fbf9fd;font-size:13px;}
  html.gm49-mobile .gm493-board .content #bbslist .ca_list li.active a {background:#7647b7!important;color:white!important;border-color:#7647b7!important;}
  html.gm49-mobile .gm493-board .content #bbslist>.btnbox1 {display:flex!important;justify-content:flex-end;margin:0 0 12px!important;}
  html.gm49-mobile .gm493-board .content #bbslist .btnbox1 a {display:inline-flex;align-items:center;min-height:42px;padding:8px 15px;background:#784bb9;color:white;border-radius:10px;font-weight:800;font-size:14px;}
  html.gm49-mobile .gm493-board .content #bbslist>table {display:block!important;width:100%!important;max-width:100%!important;margin:0!important;border:0!important;table-layout:auto!important;}
  html.gm49-mobile .gm493-board .content #bbslist>table :is(caption,colgroup,thead) {display:none!important;}
  html.gm49-mobile .gm493-board .content #bbslist>table tbody {display:block!important;width:100%!important;}
  html.gm49-mobile .gm493-board .content #bbslist>table tbody tr {display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;margin:0 0 9px;padding:13px 12px;border:1px solid #e9e2f0;border-radius:12px;background:#fff;box-shadow:0 2px 9px rgba(68,38,105,.04);}
  html.gm49-mobile .gm493-board .content #bbslist>table tbody tr td {display:block!important;float:none!important;width:auto!important;min-width:0!important;height:auto!important;border:0!important;text-align:left!important;margin:0!important;padding:1px 0!important;white-space:normal!important;font-size:13px!important;color:#91869a!important;}
  html.gm49-mobile .gm493-board .content #bbslist>table tbody tr td[data-disp="pc"] {display:none!important;}
  html.gm49-mobile .gm493-board .content #bbslist>table tbody tr td.sbj {grid-column:1/-1;grid-row:1;font-size:15px!important;color:#3b3048!important;font-weight:790!important;line-height:1.55;}
  html.gm49-mobile .gm493-board .content #bbslist>table tbody tr td.sbj a {font-size:15px!important;color:#362940!important;overflow-wrap:anywhere;}
  html.gm49-mobile .gm493-board .content #bbslist>table tbody tr td.name {grid-column:1;grid-row:auto;}
  html.gm49-mobile .gm493-board .content #bbslist>table tbody tr.noticetr {background:#fcf9ff;border-color:#dbcaef;}
  html.gm49-mobile .gm493-board .content #bbslist :is(.searchform,.search-box,.searchbox) {max-width:100%;}
  html.gm49-mobile .gm493-board .content .bbswrap .bbsview {width:100%!important;max-width:100%!important;border:1px solid #e8e0f2;border-radius:14px;overflow:hidden;background:white;}
  html.gm49-mobile .gm493-board .content .bbswrap .binfo {min-width:0!important;padding:16px 13px!important;background:#faf8fd;}
  html.gm49-mobile .gm493-board .content .bbswrap .binfo .subject {float:none!important;font-size:20px!important;line-height:1.42!important;font-weight:850;color:#342642!important;overflow-wrap:anywhere;}
  html.gm49-mobile .gm493-board .content .bbswrap :is(#vContent,.cont,.contentbox,.viewcontent) {max-width:100%!important;height:auto!important;padding:13px!important;overflow-wrap:anywhere;}
  html.gm49-mobile .gm493-board .content .bbswrap :is(img,iframe,video) {max-width:100%;}
  html.gm49-mobile .gm493-board .content .bbswrap .btnbox {display:flex;flex-wrap:wrap;gap:7px;}
  /* BBS write and CP registration share writeTable. Keep required fields/checkboxes. */
  html.gm49-mobile .gm493-route:is(.gm493-board,.gm493-write) .content #bbswrite {padding:14px 12px!important;}
  html.gm49-mobile .gm493-route:is(.gm493-board,.gm493-write) #bbswrite form[name="writeForm"] {max-width:100%!important;min-width:0!important;}
  html.gm49-mobile .gm493-route:is(.gm493-board,.gm493-write) #bbswrite table.writeTable {display:block!important;max-width:100%!important;width:100%!important;border:0!important;table-layout:auto!important;}
  html.gm49-mobile .gm493-route:is(.gm493-board,.gm493-write) #bbswrite table.writeTable tbody {display:block!important;width:100%!important;}
  html.gm49-mobile .gm493-route:is(.gm493-board,.gm493-write) #bbswrite table.writeTable tr {display:block!important;max-width:100%!important;margin:0;padding:12px 0;border-bottom:1px solid #f0eaf5;}
  html.gm49-mobile .gm493-route:is(.gm493-board,.gm493-write) #bbswrite table.writeTable td {display:block!important;float:none!important;min-width:0!important;max-width:100%!important;width:100%!important;height:auto!important;border:0!important;padding:3px 0!important;text-align:left!important;}
  html.gm49-mobile .gm493-route:is(.gm493-board,.gm493-write) #bbswrite table.writeTable td.title {font-size:14px!important;font-weight:820!important;color:#554364!important;margin-bottom:3px!important;}
  html.gm49-mobile .gm493-route:is(.gm493-board,.gm493-write) #bbswrite table.writeTable td :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),textarea,select) {max-width:100%!important;width:100%!important;min-width:0!important;}
  html.gm49-mobile .gm493-route:is(.gm493-board,.gm493-write) #bbswrite textarea {min-height:125px;resize:vertical;}
  html.gm49-mobile .gm493-route:is(.gm493-board,.gm493-write) #bbswrite :is(.btnbox,.bottombox,.btnbox2) {display:flex!important;flex-wrap:wrap;justify-content:center;gap:8px;max-width:100%;}
  html.gm49-mobile .gm493-route:is(.gm493-board,.gm493-write) #bbswrite :is(.btnbox,.bottombox,.btnbox2) :is(button,.btn,input[type="submit"],input[type="button"],a) {min-height:46px;padding:9px 13px!important;border-radius:10px;font-size:14px!important;}
  html.gm49-mobile .gm493-write #bbswrite .writeTable :is(img,iframe) {max-width:100%!important;}
  html.gm49-mobile .gm493-write #bbswrite :is(.img_preview,.preview,.photo-list,.thumb) {max-width:100%;}
  /* Partner center: DB-stored HTML has no shipped source; use safe flexible panels
     and allow complex legacy data tables to scroll rather than hide their columns. */
  html.gm49-mobile .gm493-cpinfo .content :is(.gm36-page-body,.gm40-partner-dashboard,.gm41-partner-page,.gm41-partner-shell) {max-width:100%!important;min-width:0!important;overflow-wrap:anywhere;}
  html.gm49-mobile .gm493-cpinfo .content :is(.gm40-partner-menu,.gm40-dashboard-tabs,.gm40-partner-tabs,.gm41-partner-nav,.gm44-shop-menu) {display:flex;flex-wrap:wrap;gap:8px;max-width:100%;height:auto!important;}
  html.gm49-mobile .gm493-cpinfo .content :is(.gm40-partner-menu,.gm40-dashboard-tabs,.gm40-partner-tabs,.gm41-partner-nav,.gm44-shop-menu) a {display:inline-flex;align-items:center;min-height:42px;padding:8px 12px;background:#f5effc;color:#74539d;border:1px solid #e6d9f1;border-radius:10px;font-size:13px;font-weight:760;}
  html.gm49-mobile .gm493-cpinfo .content :is(.gm40-shop-row,.gm42-shop-row,.gm44-shop-row,.gm41-partner-card,.gm40-summary-box,.gm40-info-panel,.gm44-partner-card) {max-width:100%!important;min-width:0!important;height:auto!important;display:flex;flex-wrap:wrap;gap:8px 11px;padding:12px!important;margin:8px 0!important;border:1px solid #e9dff3;border-radius:12px;background:#fff;}
  html.gm49-mobile .gm493-cpinfo .content :is(.gm40-shop-row,.gm42-shop-row,.gm44-shop-row) :is(a,button) {white-space:normal;min-height:40px;}
  html.gm49-mobile .gm493-cpinfo .content :is(table,.gm40-shop-table,.gm40-legacy-tabs) {display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch;border-collapse:separate;border-spacing:0;}
  html.gm49-mobile .gm493-cpinfo .content table :is(td,th) {font-size:13px!important;padding:8px 7px!important;line-height:1.55!important;vertical-align:middle;}
  html.gm49-mobile .gm493-cpinfo .content :is(input,textarea,select) {max-width:100%!important;}
  html.gm49-mobile .gm493-cpinfo .content :is(.partner-info,.partner-btn,.gm40-partner-actions) {max-width:100%;height:auto!important;}
}
@media screen and (max-width:359px) {
  html.gm49-mobile .gm493-route>.wrap>.content {padding:11px 9px 25px!important;}
  html.gm49-mobile .gm493-intro {padding:14px 12px;}
  html.gm49-mobile .gm493-intro-heading h1 {font-size:21px;}
  html.gm49-mobile .gm493-quicklinks {gap:6px;}
  html.gm49-mobile .gm493-quicklinks a {font-size:12px;}
  html.gm49-mobile .gm493-route .gm36-page-body {padding:12px 9px!important;}
}
/* Narrow standalone compose/read popups: match same visual identity, keep forms. */
@media screen and (max-width:1024px) {
  html.gm493-popup body {background:#f7f6fb!important;overflow-x:hidden!important;font:15px/1.6 'Pretendard','Noto Sans KR','Malgun Gothic',sans-serif;color:#332941;}
  html.gm493-popup body * {box-sizing:border-box;}
  html.gm493-popup :is(.header-wrap,.menu-wrap,.gm5-header,.gm9-footer,.side-wrap,.btn-top) {display:none!important;}
  html.gm493-popup .content-wrap {width:100%!important;float:none!important;margin:0!important;padding:0 0 15px!important;background:#f7f6fb!important;}
  html.gm493-popup .content-wrap>.wrap {width:100%!important;max-width:100%!important;}
  html.gm493-popup .content-wrap>.wrap>.content {width:100%!important;max-width:750px!important;min-width:0!important;float:none!important;transform:none!important;margin:0 auto!important;padding:10px!important;border:0!important;}
  html.gm493-popup :is(.gm38-message-page,.gm38-message-content,.gm38-embedded-message,.gm37-message-shell) {width:100%!important;max-width:750px!important;min-width:0!important;margin:0 auto!important;padding:12px!important;box-sizing:border-box!important;}
  html.gm493-popup #paperbox,html.gm493-popup #paperbox.gm493-popup-paperbox {width:100%!important;max-width:100%!important;min-width:0!important;margin:0 auto!important;padding:14px 12px!important;border:1px solid #e9e0f2!important;border-radius:16px!important;background:white!important;box-shadow:0 4px 15px rgba(68,41,105,.055)!important;}
  html.gm493-popup .gm48-multi-heading {display:block!important;margin:0 0 13px!important;padding:0!important;text-align:left!important;}
  html.gm493-popup .gm48-multi-heading strong {display:block;color:#362641;font-size:20px;font-weight:850;line-height:1.4;}
  html.gm493-popup .gm48-multi-heading p {color:#88768f;font-size:13px;line-height:1.5;}
  html.gm493-popup .gm48-multi-eyebrow,html.gm493-popup .gm37-message-kicker {color:#8c5ac2;font-size:12px;font-weight:850;letter-spacing:1px;}
  html.gm493-popup .gm37-message-heading h1 {font-size:22px!important;line-height:1.35!important;}
  html.gm493-popup .gm37-message-tabs {display:flex!important;gap:7px;overflow-x:auto;white-space:nowrap;max-width:100%;margin-bottom:14px;padding:3px 0;}
  html.gm493-popup .gm37-message-tabs a {display:inline-flex;flex:0 0 auto;align-items:center;min-height:40px;border:1px solid #e5d9ee;border-radius:10px;padding:7px 10px;font-size:13px;}
  html.gm493-popup #paperbox .wrap {width:100%!important;max-width:100%!important;min-width:0!important;padding:0!important;}
  html.gm493-popup #paperbox :is(.i1,.sbj,.friend,.subject,.fwrap,.fbody,.footer) {max-width:100%!important;min-width:0!important;}
  html.gm493-popup #paperbox :is(input[type="text"],textarea,select) {max-width:100%!important;min-width:0!important;font-size:15px!important;}
  html.gm493-popup #paperbox input[name="id"] {width:calc(100% - 50px)!important;min-height:46px!important;padding:10px!important;border:1px solid #e3d7ef!important;border-radius:9px!important;}
  html.gm493-popup #paperbox textarea {width:100%!important;min-height:130px!important;padding:11px!important;border:1px solid #e0d4ee!important;border-radius:11px!important;}
  html.gm493-popup #paperbox .footer {display:flex!important;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:13px;}
  html.gm493-popup #paperbox .footer :is(input,button) {flex:1 1 120px;min-width:0!important;min-height:45px!important;border-radius:10px!important;font-size:15px!important;}
  html.gm493-popup #paperbox .footer :is(input[type="submit"],.btn-reply) {color:white!important;background:#7546b5!important;}
  html.gm493-popup #paperbox .contTap {display:flex!important;gap:5px;padding:0!important;margin:0 0 9px!important;}
  html.gm493-popup #paperbox .contTap li {min-width:0!important;flex:1 1 auto!important;padding:8px 6px!important;text-align:center;font-size:12px!important;}
  html.gm493-popup #paperbox .fwrap {overflow:auto!important;max-height:230px!important;}
  html.gm493-popup #paperbox .gm37-recipient,html.gm493-popup #paperbox .gm38-read-meta {max-width:100%;}
  html.gm493-popup iframe {max-width:100%!important;}
}
