/* ===================== KORVION v3.1 ===================== */
.v31dim { color: var(--dim, #a39cc4); font-size: 11px; }
.v31note { font-size: 11px; color: #c8c0e8; background: rgba(120, 100, 220, .14); border: 1px solid rgba(160, 140, 255, .25); border-radius: 8px; padding: 6px 8px; margin: 6px 0; line-height: 1.45; }
.v31empty { font-size: 12px; color: #a39cc4; padding: 14px 6px; text-align: center; }
.v31sel { flex: 1; min-width: 0; padding: 4px; border-radius: 8px; background: #1e1838; color: #fff; border: 1px solid #4a3a7a; }
.v31gold { background: linear-gradient(135deg, #ffd35a, #ff9a3a) !important; color: #2a1400 !important; font-weight: 900; }
.v31ward { display: flex; gap: 12px; overflow: hidden !important; }
.v31left { flex: 0 0 150px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 4px; }
.v31right { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 0; }
.v31list { flex: 1; overflow-y: auto; min-height: 0; padding-right: 2px; -webkit-overflow-scrolling: touch; }
.v31prev { width: 140px; height: 140px; image-rendering: pixelated; background: radial-gradient(circle at 50% 40%, #3a3270, #14102a 70%); border-radius: 14px; border: 1px solid #4a3a7a; cursor: pointer; }
.v31trad { font-size: 12px; line-height: 1.45; color: #f0e6c8; background: rgba(255, 210, 120, .1); border: 1px solid rgba(255, 210, 120, .3); border-radius: 8px; padding: 6px 8px; margin-bottom: 6px; }
.v31list .row img { width: 40px; height: 44px; object-fit: contain; }
@media (max-width: 640px), (max-height: 420px) { .v31left { flex-basis: 96px; } .v31prev { width: 92px; height: 92px; } }
/* tienda */
.v31shop { display: flex; flex-direction: column; overflow: hidden !important; }
.v31banner { font-size: 12px; line-height: 1.45; padding: 8px 10px; border-radius: 10px; margin-bottom: 6px; color: #fff4d8; background: linear-gradient(135deg, rgba(255, 170, 60, .22), rgba(200, 80, 255, .18)); border: 1px solid rgba(255, 200, 120, .35); }
.v31soon { font-size: 10px; font-weight: 900; letter-spacing: .08em; padding: 2px 8px; border-radius: 99px; background: #ff4a8a; color: #fff; margin-right: 6px; }
.v31grid { flex: 1; overflow-y: auto; min-height: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; padding: 4px 2px; -webkit-overflow-scrolling: touch; }
.v31card { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 8px; border-radius: 12px; background: linear-gradient(180deg, #2a2250, #1a1434); border: 1px solid #4a3a8a; font-size: 12px; }
.v31card.epic { border-color: #ffb040; box-shadow: 0 0 12px rgba(255, 170, 60, .35) inset; }
.v31card.lim { border-color: #ff60c0; box-shadow: 0 0 12px rgba(255, 90, 200, .3) inset; }
.v31card b { font-size: 13px; color: #fff; }
.v31card small { color: #b8b0d8; font-size: 11px; line-height: 1.3; flex: 1; }
.v31pimg { height: 84px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: radial-gradient(circle at 50% 45%, #4a3a90, #1a1434 75%); cursor: pointer; font-size: 30px; }
.v31pimg img { max-height: 80px; max-width: 100%; image-rendering: pixelated; }
.v31price { font-weight: 900; color: #ffd35a; font-size: 14px; }
.v31tags { position: absolute; top: 6px; left: 6px; display: flex; gap: 3px; z-index: 1; }
.v31tags span { font-size: 9px; font-weight: 900; padding: 1px 5px; border-radius: 6px; background: #ff4a8a; color: #fff; }
.v31lock { opacity: .75; }
#btn-shop { font-size: 15px; }
/* cuentas */
#v31auth { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 30%, rgba(60, 40, 120, .85), rgba(6, 4, 18, .96)); padding: 12px; }
#v31auth .box { width: min(420px, 94vw); max-height: 94vh; overflow-y: auto; background: #1a1434; border: 1px solid #4a3a8a; border-radius: 16px; padding: 18px; color: #fff; box-shadow: 0 10px 50px rgba(0, 0, 0, .6); }
#v31auth h2 { margin: 0 0 4px; font-size: 22px; letter-spacing: .06em; text-align: center; color: #ffd35a; }
#v31auth p { margin: 4px 0 10px; font-size: 12px; color: #c8c0e8; text-align: center; line-height: 1.45; }
#v31auth label { display: block; font-size: 12px; color: #c8c0e8; margin: 8px 0 3px; }
#v31auth input { width: 100%; box-sizing: border-box; padding: 9px 10px; border-radius: 10px; border: 1px solid #4a3a7a; background: #0f0b22; color: #fff; font-size: 15px; }
#v31auth .btn { width: 100%; margin-top: 10px; justify-content: center; }
#v31auth .err { color: #ff8080; font-size: 12px; min-height: 16px; margin-top: 6px; text-align: center; }
#v31auth .sep { display: flex; align-items: center; gap: 8px; color: #8078a8; font-size: 11px; margin: 12px 0 4px; }
#v31auth .sep:before, #v31auth .sep:after { content: ''; flex: 1; height: 1px; background: #3a2e6a; }
#v31auth .link { background: none; border: none; color: #9fd0ff; font-size: 12px; text-decoration: underline; cursor: pointer; display: block; margin: 10px auto 0; }
#v31gbtn { display: flex; justify-content: center; margin-top: 8px; min-height: 44px; }
#v31acct { position: fixed; z-index: 30; font-size: 11px; color: #c8c0e8; background: rgba(10, 8, 26, .7); border: 1px solid #3a2e6a; border-radius: 99px; padding: 3px 10px; top: calc(34px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); pointer-events: none; transition: opacity .6s; white-space: nowrap; }
.v31save { font-size: 11px; font-weight: 800; color: #60ff90; margin-left: 4px; }
.v31card.r_comun { border-color: #6a7080; }
.v31card.r_raro { border-color: #4080e0; box-shadow: 0 0 10px rgba(80, 160, 255, .25) inset; }
.v31card.r_epico { border-color: #a050f0; box-shadow: 0 0 12px rgba(190, 90, 255, .32) inset; }
.v31card.r_legendario { border-color: #ffb030; box-shadow: 0 0 14px rgba(255, 176, 48, .38) inset; }
.v31card.r_mitico { border-color: #ff4080; box-shadow: 0 0 16px rgba(255, 64, 128, .45) inset; background: linear-gradient(180deg, #3a1a40, #1a1434); }
.v31card.r_comun .v31tags span { background: #6a7080; } .v31card.r_raro .v31tags span { background: #3a7ae0; } .v31card.r_epico .v31tags span { background: #9040e0; } .v31card.r_legendario .v31tags span { background: #e09020; } .v31card.r_mitico .v31tags span { background: #ff3070; }
