/* 积分商城：手机版是原来 app191 m/points-*.tpl 的样子；电脑版在外面加原来 points_index_pc 的背景框。 */
html { height: 100%; }
body { margin: 0; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; color: #4f1300; }
[hidden] { display: none !important; }
.bg { animation: slide 30s ease-in-out infinite alternate; background-image: linear-gradient(-60deg, #fc6767 50%, #fad26d 50%);
  bottom: 0; left: -50%; opacity: .5; position: fixed; right: -50%; top: 0; z-index: -1; }
.bg2 { animation-direction: alternate-reverse; animation-duration: 40s; }
.bg3 { animation-duration: 50s; }
@keyframes slide { 0% { transform: translateX(-25%); } 100% { transform: translateX(25%); } }

.wrap { max-width: 640px; margin: 0 auto; padding: 0 0 2rem; position: relative; }
.top { display: flex; align-items: center; justify-content: space-between; padding: .5rem; }
.top .back img { width: 2rem; }
.who { font-size: .9rem; color: #650000; font-weight: bold; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who a { color: #650000; margin-left: .5rem; }
.btns { display: flex; justify-content: space-around; margin: 1rem 0; }
.btns a { flex: 1; margin: 0 2%; background: #fff3d8; border-radius: 1rem; box-shadow: 0 0 .25em #a4550040; text-align: center;
  padding: .6rem 0; color: #b96900; font-weight: bold; font-size: .85rem; text-decoration: none; cursor: pointer; }
.btns a img { width: 40px; display: block; margin: 0 auto .2rem; }
.content { background: linear-gradient(#ffefba, #fff); border-radius: 1em; box-shadow: 0 0 .25em rgba(0, 0, 0, .25); padding: 3vmin; overflow: hidden; }
.list:after { content: ""; display: block; clear: both; }
.item { width: 47%; float: left; margin: 1.5%; background: #fff; border-radius: .5rem; padding-bottom: .6rem; text-align: center; }
.item img { width: 100%; border-radius: .5rem .5rem 0 0; aspect-ratio: 1 / 1; object-fit: cover; background: #fff7e6; }
.item .t { font-size: .9rem; line-height: 1.5; height: 3em; overflow: hidden; margin: .3rem .5rem; }
.item .w { display: flex; justify-content: space-between; align-items: center; margin: 0 .5rem; }
.item .price { font-size: 1rem; }
.item .price small { font-size: .7rem; }
.item .go { background: #000; color: #fff; padding: .35rem .8rem; font-size: .8rem; border-radius: 1rem; text-decoration: none; }
.item .go.off { background: #999; }
.empty { text-align: center; padding: 2rem 0; color: #a45500; }

.detail img.main { width: 80%; margin: 5% 10%; }
.detail h1 { font-size: 1.1rem; text-align: center; margin: .3rem 0; }
.detail .cost { text-align: center; color: #ff7e2e; font-weight: bold; }
.intro { white-space: pre-line; line-height: 1.6; margin: 1rem .5rem; font-size: .95rem; }
.intro-img { width: 100%; display: block; margin: .3rem 0; }
.verify { background: #fff; padding: .8rem; border-radius: 1rem; margin: 1rem 0; }
.verify h2 { color: #ff9f2c; font-size: 1.05rem; margin: 0 0 .5rem; text-align: center; }
.row { display: flex; gap: .4rem; margin: .45rem 0; }
.row select, .row input { flex: 1; min-width: 0; font-size: .95rem; padding: .5rem; border: 1px solid #e6cfa5; border-radius: .4rem; background: #fff; }
.row button.code { flex: 0 0 7.5rem; }
.note { font-size: .8rem; color: #a45500; margin: .3rem 0; }
button { cursor: pointer; border: 0; border-radius: .4rem; padding: .55rem 1rem; font-size: .95rem; color: #fff; background: #fc6767; }
button.dark { background: #000; }
button.light { background: #fff3d8; color: #b96900; }
button:disabled { opacity: .55; cursor: default; }
.actions { text-align: center; margin: 1rem 0; }
.actions button { margin: 0 .4rem; min-width: 6rem; }

.form .row label { flex: 0 0 5rem; line-height: 2.3rem; font-size: .9rem; }

table.records { width: 100%; border-collapse: collapse; font-size: .85rem; background: #fff; border-radius: .5rem; overflow: hidden; }
table.records th, table.records td { padding: .5rem .3rem; border-bottom: 1px solid #f3e3c3; text-align: left; }
table.records th { background: #fff3d8; color: #b96900; }
.st0 { color: #ff7e2e; } .st1 { color: #2e9d4c; } .st2 { color: #999; }

.mask { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 900; display: flex; align-items: center; justify-content: center; }
.box { background: #fff; border-radius: .8rem; width: 86%; max-width: 360px; padding: 1.2rem 1rem; text-align: center; }
.box .msg { margin: 0 0 1rem; line-height: 1.6; white-space: pre-line; }
.box .big { font-size: 1.8rem; color: #ff7e2e; font-weight: bold; }
.box input { display: block; width: 100%; box-sizing: border-box; margin: .4rem 0; padding: .6rem; font-size: 1rem; border: 1px solid #e6cfa5; border-radius: .4rem; }
.box h3 { margin: 0 0 .6rem; color: #650000; }

/* 电脑版：原来 points_index_pc 的背景框，中间是手机宽度的商城 */
body.pc { background: #c97b80; }
body.pc .pc-frame { background: url(https://cdn.191game.com/m/jifen/img/pcbg1.png) no-repeat center top; min-height: 100vh; padding-top: 110px; }
body.pc .wrap { max-width: 430px; background: rgba(255, 255, 255, .25); border-radius: 1rem; min-height: 680px; }
body.pc .side { position: fixed; top: 180px; width: 176px; text-align: center; color: #b6252f; font-weight: bold; font-size: 14px; }
body.pc .side img { width: 176px; display: block; margin-bottom: .5rem; }
body.pc .side.l { left: calc(50% - 440px); }
body.pc .side.r { right: calc(50% - 440px); }
body.pc .bg { display: none; }
@media (max-width: 900px) { body.pc .side { display: none; } }
