* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size-adjust: none;
  -webkit-tap-highlight-color: transparent;
}
body {
  line-height: 1;
  background: #14171f;
  color: rgba(238, 238, 238, 0.9);
  font-size: 14px;
  font-weight: 400;
  font-family: 'Pretendard', sans-serif;
  letter-spacing: -1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
ul,
ol,
dl,
li {
  list-style: none;
}
img,
fieldset,
iframe {
  border: none;
}
i,
em,
address {
  font-style: normal;
  font-weight: normal;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
input,
select,
button,
textarea {
  vertical-align: middle;
}
button {
  border: 0;
  font-family: inherit;
  background: transparent;
  cursor: pointer;
}
a {
  text-decoration: none;
  transition: 0.3s;
}

/* game */
#power-game {
  max-width: 1200px;
  width: 100%;
  margin: 20px auto;
}
.power-ui {
  position: relative;
  background: #1c212d;
}

/* game header */
.pw-header {
  padding: 8px;
  background: #2e313b;
  letter-spacing: 0;
}
.pw-header .pw-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 80px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.54);
}

.pw-header .pw-head-row .pw-info {
  display: flex;
  align-items: center;
}
.pw-header .pw-head-row .pw-info .pw-title {
  flex-shrink: 0;
}
.pw-header .pw-head-row .pw-info .pw-title .title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -1px;
  background: linear-gradient(to bottom, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pw-header .pw-head-row .pw-info .pw-title p {
  margin: 2px 0 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 0;
}
.pw-header .pw-head-row .pw-info .pw-title-icon {
  flex-shrink: 0;
  display: block;
  width: 26px;
  height: 26px;
  margin: 0 5px 0 0;
  background: url(./star.svg) no-repeat;
  background-size: 100% 100%;
}
.pw-header .pw-head-row .pw-round {
  flex-grow: 1;
}
.pw-header .pw-head-row .pw-round .date {
  display: inline-block;
  padding: 14px 24px;
  margin: 0 0 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.8);
}
.pw-header .pw-head-row .pw-round .round {
  color: #f7b400;
}

.pw-header .pw-head-row .pw-round-noti {
  margin-bottom: 0;
  margin-top: 5px;
  font-weight: bold;
  color:#ff6c6c;
  font-size:13px;
}

.pw-header .pw-head-row .time-box {
  display: block;
  margin: 0 10px 0 0;
  text-align: center;
}
.pw-header .pw-head-row .time-box p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  font-weight: 400;
  margin:0;
}
.pw-header .pw-head-row .time-box .end_time {
  color: rgba(255, 255, 255, 0.8);
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(to bottom, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pw-header .pw-head-row .time-reset {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 60px;
  background: #812222;
  border-radius: 5px;
}
.pw-header .pw-head-row .time-reset .pw-refresh-icon {
  width: 20px;
  height: 20px;
  background: url('./refresh.svg') no-repeat;
  background-size: 100% 100%;
  transform: rotate(0deg);
  transition: 0.3s;
}
.pw-header .pw-head-row .time-reset:hover .pw-refresh-icon {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .pw-header {
    padding: 6px;
    letter-spacing: -0.5px;
  }
  .pw-header .pw-head-row {
    padding: 8px;
  }
  .pw-header .pw-head-row .pw-info {
    flex-grow: 1;
    order: 1;
  }
  .pw-header .pw-head-row .pw-info .pw-title .title {
    font-size: 24px;
  }
  .pw-header .pw-head-row .pw-info .pw-title p {
    font-size: 13px;
    margin: 0;
  }
  .pw-header .pw-head-row .pw-info .pw-title-icon {
    flex-shrink: 0;
    display: block;
    width: 20px;
    height: 20px;
    margin: 0 3px 0 0;
    display: none;
  }
  .pw-header .pw-head-row .time-box {
    order: 1;
    margin: 0;
  }
  .pw-header .pw-head-row .time-box p {
    font-size: 14px;
    margin:0;
  }
  .pw-header .pw-head-row .time-box .end_time {
    font-size: 30px;
  }
  .pw-header .pw-head-row .time-reset {
    order: 3;
    width: 26px;
    height: 44px;
    margin: 0 0 0 5px;
  }
  .pw-header .pw-head-row .time-reset .pw-refresh-icon {
    width: 16px;
    height: 16px;
  }
  .pw-header .pw-head-row .pw-round {
    order: 4;
  }
  .pw-header .pw-head-row .pw-round .date {
    display: block;
    padding: 12px 24px;
    margin: 8px 0 0 0;
    text-align: center;
  }
}

/* game body */
.pw-body {
  position: relative;
  padding: 0 8px 8px 8px;
  background: #2e313b;
  letter-spacing: 0;
}
.pw-body .pw-content {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.6);
}
.pw-body .pw-content .pw-item-row {
  display: flex;
  flex-direction: column;
  border: 1px solid #23252c;
  background: #23252c;
  text-align: center;
}
.pw-body .pw-content .pw-item-row h1 {
  padding: 10px 0;
  font-size: 18px;
  font-weight: 400;
}
.pw-body .pw-content .pw-item-row .item-box-box {
  display: flex;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  gap: 14px;
  height: 100%;
  padding: 14px;
  background: rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .pw-body {
    padding: 0 6px 6px 6px;
  }
  .pw-body .pw-content {
    gap: 8px;
    padding: 6px;
  }
  .pw-body .pw-content .pw-item-row h1 {
    padding: 8px 0;
    font-size: 16px;
  }
  .pw-body .pw-content .pw-item-row .item-box-box {
    gap: 6px;
    padding: 6px;
  }
}

/* game button */
.pw-button {
  padding: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(0, 0, 0, 0.8);
  background: linear-gradient(to top, #14171f 0%, #282a33 100%);
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.pw-button:focus {
  outline: 0;
}
.pw-button .pw-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 10px;
  border-radius: 2px;
}
.pw-button .pw-btn .text-name {
  font-size: 16px;
  font-weight: 400;
}
.pw-button .pw-btn .text-odd {
  color: #d9b416;
  font-size: 14px;
  font-weight: 400;
}

@media (max-width: 768px) {
  .pw-button {
    padding: 4px;
  }
  .pw-button .pw-btn {
    justify-content: center !important;
    flex-direction: column;
    min-height: 50px;
    padding: 5px;
  }
}

/* game box split */
.pw-item-row.box-1 {
  flex: 1 1 50%;
}
.pw-item-row.box-2 {
  flex: 1 1 49%;
}

/* game button split */
.item-box-box.block-2 .pw-button {
  flex: 1 1 40%;
}
.item-box-box.block-3 .pw-button {
  flex: 1 1 30%;
}
.item-box-box.block-4 .pw-button {
  flex: 1 1 40%;
}
.item-box-box.block-5 .pw-button {
  flex: 1 1 30%;
}
.item-box-box.block-6 .pw-button {
  flex: 1 1 20%;
}

@media (max-width: 768px) {
  .item-box-box.block-2 .pw-button {
    flex: 1 1 40%;
  }
  .item-box-box.block-2 .pw-button {
    flex: 1 1 40%;
  }
  .item-box-box.block-3 .pw-button {
    flex: 1 1 30%;
  }
  .item-box-box.block-4 .pw-button {
    flex: 1 1 40%;
  }
  .item-box-box.block-5 .pw-button {
    flex: 1 1 30%;
  }
  .item-box-box.block-6 .pw-button {
    flex: 1 1 20%;
  }
}

/* game button color */
.pw-button.active .pw-btn,
.pw-button:hover .pw-btn {
  border: 1px solid rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}
.pw-button.active .pw-btn .text-name,
.pw-button:hover .pw-btn .text-name {
  color: #eee;
}
.btn-color-1.active,
.btn-color-1:hover{
  background: linear-gradient(to top, #0f284b 10%, #094b98 100%);
}
.btn-color-2.active,
.btn-color-2:hover  {
  background: linear-gradient(to top, #4b0f0f 10%, #8d1414 100%);
}
.btn-color-3.active,
.btn-color-3:hover {
  background: linear-gradient(to top, #43240d 10%, #8d4c14 100%);
}
.btn-color-4.active,
.btn-color-4:hover {
  background: linear-gradient(to top, #2e390b 10%, #508d14 100%);
}
.btn-color-5.active,
.btn-color-5:hover {
  background: linear-gradient(to top, #0b3917 10%, #148d22 100%);
}
.btn-color-6.active,
.btn-color-6:hover {
  background: linear-gradient(to top, #0b3439 10%, #14718d 100%);
}
.btn-color-7.active,
.btn-color-7:hover {
  background: linear-gradient(to top, #311741 10%, #702b9b 100%);
}
.btn-color-8.active,
.btn-color-8:hover {
  background: linear-gradient(to top, #411732 10%, #9b2b70 100%);
}

.tc-1 {
  color: #3391ff;
}
.tc-2 {
  color: #ea2525;
}
.tc-3 {
  color: #e07315;
}
.tc-4 {
  color: #95ce14;
}
.tc-5 {
  color: #0ee22e;
}
.tc-6 {
  color: #19d2d9;
}
.tc-7 {
  color: #bc68f0;
}
.tc-8 {
  color: #ea4aac;
}
.tc-9 {
  color: #eee;
}

/* game cover */
.pw-body .pw-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 8;
}
.pw-body .pw-cover.on {
  display: flex;
}
.pw-body .pw-cover .pw-lock-icon {
  width: 50px;
  height: 50px;
  background: url('./lock.svg') no-repeat;
  background-size: 100% 100%;
  opacity: 0.8;
}

/* game betting */
.power-bet {
  padding: 0 8px 8px 8px;
  background: #2e313b;
  letter-spacing: 0;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}
.pw-bet-wrap {
  display: flex;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.6);
}

.pw-bet-row {
  flex-grow: 1;
}
.pw-bet-row .bet-info-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 10px 0;
}
.pw-bet-row .bet-info-box .line-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 20%;
  height: 50px;
  padding: 0 10px;
  border: 1px solid #252730;
  background: rgba(0, 0, 0, 0.4);
  font-size: 16px;
  border-radius: 3px;
}
.pw-bet-row .bet-info-box .line-box input {
  flex-grow: 1;
  width: 100%;
  height: 36px;
  padding: 0 0 0 10px;
  background: transparent;
  border: 0 !important;
  text-align: right;
  font-size: 18px;
  font-weight: 500;
}
.pw-bet-row .bet-info-box .line-box input:focus {
  outline: none !important;
}
.pw-bet-row .bet-info-box .line-box .label {
  flex-shrink: 0;
  color: #aaa !important;
}
.pw-bet-row .bet-info-box .line-box .text-my input {
  color: #bc75d1 !important;
}
.pw-bet-row .bet-info-box .line-box .text-odd input {
  color: #20acce !important;
}
.pw-bet-row .bet-info-box .line-box .text-bet input {
  color: #de6336 !important;
}
.pw-bet-row .bet-info-box .line-box .text-win input {
  color: #d4a526 !important;
}

.money-button-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.money-button-box > button {
  flex: 1 1 20%;
  height: 50px;
  padding: 0 10px;
  background: #999;
  color: #ddd;
  font-size: 18px;
  font-weight: 500;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.5px;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5), 0 0 5px rgba(0, 0, 0, 0.5);
}
.money-button-box .btn-money {
  background: #252730;
  border: 1px solid #343743;
}
.money-button-box .btn-max {
  background: #0e521b;
  border: 0px solid #116520;
}
.money-button-box .btn-reset {
  background: #721e1e;
  border: 0px solid #912828;
}
.money-button-box .btn-change {
  background: #ab9f1a;
  border: 0px solid #dfcf1d;
}
.money-button-box .btn-money:hover,
.money-button-box .btn-money:focus {
  background: #393c4a;
}
.money-button-box .btn-max:hover,
.money-button-box .btn-max:focus {
  background: #107122;
}
.money-button-box .btn-reset:hover,
.money-button-box .btn-reset:focus {
  background: #9a2a2a;
}

.money-button-box .btn-change:hover,
.money-button-box .btn-change:focus {
  background: #dfcf1d;
}

.pw-bet-now {
  flex-grow: 0;
}
.pw-bet-now .button-now {
  width: 150px;
  height: 100%;
  margin: 0 0 0 10px;
  border: 0px solid #144e91;
  background: #07356a;
  font-size: 24px;
  color: #eee;
  font-weight: 500;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5), 0 0 5px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.pw-bet-now .button-now:hover {
  background: #0a4384;
}

@media (max-width: 768px) {
  .power-bet {
    padding: 0 6px 6px 6px;
  }
  .pw-bet-wrap {
    padding: 6px;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.4);
  }

  .pw-bet-row .bet-info-box {
    gap: 6px;
    margin: 0 0 6px 0;
  }
  .pw-bet-row .bet-info-box .line-box {
    flex: 1 1 40%;
    height: 46px;
    font-size: 14px;
    padding: 0 5px;
    letter-spacing: -1px;
  }
  .pw-bet-row .bet-info-box .line-box input {
    padding: 0 0 0 5px;
    font-size: 16px;
  }

  .money-button-box {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .money-button-box > button {
    flex: 1 1 30%;
    height: 46px;
    padding: 0 5px;
    font-size: 16px;
  }

  .pw-bet-now {
    margin-top: 6px;
  }
  .pw-bet-now .button-now {
    width: 100%;
    height: 56px;
    margin: 0;
    font-size: 20px;
  }
}

/* power list */
.power-list {
  margin: 10px 0 0 0;
}
.power-list h1 {
  padding: 10px 10px;
  font-size: 26px;
  font-weight: 500;
}

.pw-list-wrap {
  letter-spacing: 0;
}
.pw-list-wrap .pw-list-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  height: 46px;
  background: #2e313b;
}
.pw-list-wrap .pw-list-header > span {
  flex-shrink: 0;
  text-align: center;
  font-size: 14px;
  color: #eee;
}
.pw-list-wrap .pw-list-body {
  border: 1px solid #2e313b;
}
.pw-list-wrap .pw-list-body .pw-list-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 46px;
  border-bottom: 1px solid #2e313b;
}
.pw-list-wrap .pw-list-body .pw-list-row > span {
  flex-shrink: 0;
  text-align: center;
  font-size: 14px;
}

.pw-list-wrap .time {
  order: 1;
  width: 150px;
  color: #999;
}
.pw-list-wrap .info {
  order: 2;
  flex-grow: 1;
  color: #ddd;
}
.pw-list-wrap .odd {
  order: 3;
  width: 100px;
  color: #20acce;
}
.pw-list-wrap .bet {
  order: 4;
  width: 180px;
  color: #de6336;
}
.pw-list-wrap .prize {
  order: 5;
  width: 180px;
  color: #d4a526;
}
.pw-list-wrap .result {
  order: 6;
  width: 100px;
}
.pw-list-wrap .more {
  order: 7;
  width: 80px;
}

.pw-list-wrap .text-win {
  color: #1b9aea;
}
.pw-list-wrap .text-lose {
  color: #d42626;
}
.pw-list-wrap .text-cancel {
  color: #c980e3;
}

.list-dell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0 auto;
  background: #721e1e;
  border-radius: 2px;
}
.list-dell .pw-recycle-icon {
  width: 18px;
  height: 18px;
  background: url('./trash.svg');
    no-repeat;
  background-size: 100% 100%;
}

@media (max-width: 768px) {
  .power-list h1 {
    font-size: 22px;
  }

  .pw-list-wrap .pw-list-header {
    min-height: 36px;
    height: auto;
    line-height: 1.3;
    padding: 5px 0;
    margin: 0 0 10px 0;
  }
  .pw-list-wrap .pw-list-header > span {
    flex: 1 1 30%;
  }
  .pw-list-wrap .pw-list-header > span.more {
    display: none;
  }
  .pw-list-wrap .pw-list-body {
    border: none;
  }
  .pw-list-wrap .pw-list-body .pw-list-row {
    min-height: 46px;
    line-height: 1.5;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #14171f;
    background: #252730;
  }
  .pw-list-wrap .pw-list-body .pw-list-row > span {
    flex: 1 1 30%;
    line-height: 30px;
    text-align: center;
    border-left: 1px solid #14171f;
    border-top: 1px solid #14171f;
  }

  .pw-list-wrap .time {
    order: 1;
    width: auto;
  }
  .pw-list-wrap .info {
    order: 7;
    font-size: 16px !important;
  }
  .pw-list-wrap .odd {
    order: 2;
    width: auto;
  }
  .pw-list-wrap .bet {
    order: 3;
    width: auto;
  }
  .pw-list-wrap .prize {
    order: 4;
    width: auto;
  }
  .pw-list-wrap .result {
    order: 5;
    width: auto;
  }
  .pw-list-wrap .more {
    order: 6;
    width: auto;
  }

  .list-dell {
    width: 100%;
    height: 30px;
    border-radius: 0;
  }
}
