@charset "UTF-8";
@import url(/css/mobile/public/fonts.css?1);

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, menu, nav, section, time, mark, audio, video, details, summary { 
    margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 100%;
	font-weight: normal;
	vertical-align: baseline;
	font-weight: 500;
	}

html { height:100% }
body { font-size: 12px; font-family: 'Pretendard','맑은 고딕','Malgun Gothic'; color: #242424; background-color: #ffffff;height:100%;} 

h1, h2, h3, h4, h5, h6 { margin: 0; }
b { font-weight: bold; }
p { margin: 0; }
a { display: inline-block; color: #242424; outline:0; text-decoration:none; }
a:hover, a:link, a:visited, a:focus { outline:0; text-decoration:none; }
ul {list-style: none;}
img,
object,
embed {max-width: 100%;}

/* wrap */
 #wrap{width:100%;background:#fff;}
.header {
  display: flex;                /* 플렉스 컨테이너로 설정 */
  justify-content: space-between; /* 좌우 공간 균등 분배 */
  align-items: center;          /* 세로 가운데 정렬 */
  width: 100%;                  /* 화면 전체폭 */
  padding: 16px;
  box-sizing: border-box;
  border-bottom:1px solid #e6e8e9
}
/* 삭제 2026-05-22
.header > div {
  flex: 1;                      
  display: flex;
  align-items: center;
  justify-content: center;     
} */


.header .center img {
  width: 120px;                 /* 로고 크기 */
  height: auto;
  max-width: 100%;
}
.container{padding:0 24px;text-align:center}

.event_container {
    position: relative; /* 자식 요소인 .float의 기준점이 됩니다 */
    width: 100%;
    max-width: 720px; /* 이미지 최대 너비에 맞춤 */
    margin: 0 auto;
}


/* 1. 메인 페이지 및 래퍼 스크롤바 완전 박멸 (삼성 브라우저 전용 대응) */
html, body, #wrap {
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    
    /* IE, Edge */
    -ms-overflow-style: none !important;
    /* Firefox */
    scrollbar-width: none !important;
}

/* Chrome, Safari, 삼성 브라우저, 안드로이드 내장 브라우저 */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
#wrap::-webkit-scrollbar {
    /* 너비와 높이를 0으로 만들어 물리적 공간을 제거 */
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent !important;
    
    /* 삼성 브라우저/크롬에서 간혹 나타나는 트랙과 핸들 강제 투명화 */
    -webkit-appearance: none;
}

/* 스크롤바의 구성 요소별로 다시 한번 투명하게 강제 지정 */
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
#wrap::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0) !important;
    background-color: transparent !important;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
#wrap::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0) !important;
    background-color: transparent !important;
}

/*실시간 당첨 내역*/
.event_container.p3-live-body {
  position: relative;
  display: block;

  height: 100vh;
  height: 100dvh;
  min-height: 0;

  overflow-x: hidden;
  overflow-y: auto;
}
.p3-live {
  height: 35px;
  overflow: hidden;
  position: sticky;
  top: 0;
  flex-shrink: 0;
  z-index: 21;
  background: #f6f7fb;
  transition: transform 0.3s ease;   /* 부드러운 숨김/표시 */
}

.p3-live.hide {
  transform: translateY(-100%);      /* 위로 밀어 숨김 */
}
.p3-live__viewport { height: 100%; overflow: hidden; }
.p3-live__list {
  display: flex;
  flex-direction: column;
  will-change: transform;
}
.p3-live__item {
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 13px;
  font-weight: 500;
  color: #242424;
  white-space: nowrap;
  letter-spacing: -0.2px
}
.p3-live__item .point { color:#1bb597 ;font-weight: 700;}
.p3-live__item .time {
  color: #888;
  font-weight: 500;
  margin-left: 0.25rem;
}
