/* 메인 페이지 모바일 메뉴만 — 서브페이지 #topmenu / #gnb_device 와 동일 톤 */
#shadow_device {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 900;
  background: #000;
  opacity: 0.7;
}

#gnb_src_home { display: none !important; }

#topmenu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 86vw;
  height: 100%;
  overflow: auto;
  background: #fff;
  z-index: 1010;
  box-shadow: 0 0 10px #333;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

html.mobile_open #topmenu {
  display: block;
  right: 0 !important;
  left: auto !important;
}

#topmenu .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 16px 0 20px;
  border-bottom: 2px solid #00876c;
  box-sizing: border-box;
}

#topmenu .top .logo {
  display: inline-block;
  flex-shrink: 0;
  width: 168px;
  height: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='34' viewBox='0 0 168 34'%3E%3Ctext x='0' y='26' font-family='gmarket, %22Noto Sans KR%22, Arial, sans-serif' font-size='24' font-weight='800' letter-spacing='-1' fill='%232f6bd8'%3ECOSS%3C/text%3E%3Ctext x='86' y='16' font-family='%22Noto Sans KR%22, Arial, sans-serif' font-size='11' font-weight='700' fill='%231b3b7a'%3E(%EC%A3%BC)%EC%BD%94%EC%8A%A4%3C/text%3E%3Ctext x='86' y='29' font-family='Arial, sans-serif' font-size='8' font-weight='600' letter-spacing='0.5' fill='%235b6b86'%3EPLAY FLOOR%3C/text%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

#topmenu .top .close {
  position: relative;
  top: auto;
  right: auto;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 0;
  background: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.01041 1.01034L13.0312 13.0312M1.01041 13.0312L13.0312 1.01034' stroke='%2300876C' stroke-width='1.5'/%3E%3C/svg%3E") center center no-repeat;
}

#gnb_device .th1 > a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 12px 20px;
  min-height: 56px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

#gnb_device .th1 > a,
#gnb_device .th1 > a > span {
  font-size: 19px;
  color: #000;
  font-family: gmarket, "Noto Sans KR", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

#gnb_device .th1 > a:before {
  content: " ";
  display: inline-block;
  width: 13px;
  height: 8px;
  position: absolute;
  right: 30px;
  top: 50%;
  margin-top: -4px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.824054 1.3224L0.645615 1.49917L0.823224 1.67678L5.64413 6.49764L5.64082 6.50094L5.81933 6.67771L6.32327 7.17678L6.32413 7.17763L6.49922 7.35273L6.50008 7.35188L6.50091 7.3527L6.67599 7.1776L6.67682 7.17678L7.18071 6.6776L7.35915 6.50083L7.35596 6.49764L12.1768 1.67685L12.3544 1.49925L12.1759 1.32247L11.6712 0.822474L11.4945 0.647352L11.3185 0.823301L6.50004 5.64173L1.68149 0.823223L1.50554 0.647274L1.32877 0.822396L0.824054 1.3224Z' fill='black' stroke='black' stroke-width='0.5'/%3E%3C/svg%3E");
}

#gnb_device .th1 > a.ov,
#gnb_device .th1 > a:focus,
#gnb_device .th1 > a:active {
  background-color: #00876c;
}

#gnb_device .th1 > a.ov span,
#gnb_device .th1 > a:focus span,
#gnb_device .th1 > a:active span {
  color: #fff;
  font-weight: 700;
}

#gnb_device .th1 > a.ov:before,
#gnb_device .th1 > a:focus:before,
#gnb_device .th1 > a:active:before {
  margin-top: -6px;
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.824054 6.6776L0.645615 6.50083L0.823224 6.32322L5.64413 1.50236L5.64082 1.49906L5.81933 1.32229L6.32327 0.823223L6.32413 0.822366L6.49922 0.647274L6.50008 0.648123L6.50091 0.647305L6.67599 0.822396L6.67682 0.823223L7.18071 1.3224L7.35915 1.49917L7.35596 1.50236L12.1768 6.32315L12.3544 6.50075L12.1759 6.67753L11.6712 7.17753L11.4945 7.35265L11.3185 7.1767L6.50004 2.35827L1.68149 7.17678L1.50554 7.35273L1.32877 7.1776L0.824054 6.6776Z' fill='white' stroke='white' stroke-width='0.5'/%3E%3C/svg%3E");
}

#gnb_device .th2 {
  display: none;
  padding: 9px 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  margin: 0;
  list-style: none;
}

#gnb_device .th2 > li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#gnb_device .th2 > li > a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 30px 10px 0;
  min-height: 51px;
  box-sizing: border-box;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: #282828;
  font-size: 16px;
  font-family: gmarket, "Noto Sans KR", sans-serif;
}

#gnb_device .th2 > li:last-child > a {
  border-bottom: 0;
}

#gnb_device .th2 > li > a > span {
  line-height: 1.35;
  flex: 1;
  padding-right: 8px;
  word-break: keep-all;
}

#gnb_device .th2 > li > a:after {
  content: "";
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  margin-left: auto;
  background-image: url("data:image/svg+xml,%3Csvg width='19' height='19' viewBox='0 0 19 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 19C2.23858 19 -9.78513e-08 16.7614 -2.18557e-07 14L-6.11959e-07 5C-7.32665e-07 2.23858 2.23858 2.1358e-08 5 -9.93477e-08L14 -4.9275e-07C16.7614 -6.13456e-07 19 2.23858 19 5L19 14C19 16.7614 16.7614 19 14 19L5 19Z' fill='%23EFF3F4'/%3E%3Cpath d='M8.4945 12.8506L7.78739 12.1435L11.3229 8.60795L12.03 9.31505L8.4945 12.8506Z' fill='%23888888'/%3E%3Cpath d='M12.03 9.31505L11.323 10.0222L7.7875 6.48664L8.4946 5.77953L12.03 9.31505Z' fill='%23888888'/%3E%3C/svg%3E");
}

#gnb_device .th2 > li > a:hover span,
#gnb_device .th2 > li > a:focus span {
  color: #00876c;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
