:root {
    --bl: #1a6fd4;
    --bld: #145bb0;
    --bll: #e8f1fc;
    --gn: #27ae60;
    --gnl: #eafaf1;
    --or: #f59e0b;
    --orl: #fffbeb;
    --rd: #e74c3c;
    --rdl: #fee2e2;
    --t: #1a1a2e;
    --t2: #4b5563;
    --t3: #9ca3af;
    --bd: #e5e7eb;
    --bg: #f4f7fb;
    --wh: #fff;
    --r: 12px;
    --sh: 0 2px 12px rgba(0, 0, 0, .07)
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent
}

html,
body {
    height: 100%;
    background: linear-gradient(135deg, #c5d3e8, #a8bcd4);
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    color: var(--t);
    line-height: 1.5
}

#dv {
    width: 390px;
    height: 844px;
    background: var(--bg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    border-radius: 44px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, .5), inset 0 0 0 1.5px rgba(255, 255, 255, .15);
    display: flex;
    flex-direction: column
}

@media(max-height:860px), (max-width:430px) {

    html,
    body {
        background: #f4f7fb
    }

    #dv {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        box-shadow: none;
        transform: none
    }
}

#sw {
    flex: 1;
    position: relative;
    overflow: hidden
}

.sc {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background: var(--bg);
    display: none;
    flex-direction: column
}

.sc.on {
    display: flex;
    animation: sIn .25s ease
}

@keyframes sIn {
    from {
        opacity: .7;
        transform: translateX(14px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.sc.bk {
    animation: sBk .25s ease
}

@keyframes sBk {
    from {
        opacity: .7;
        transform: translateX(-14px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

#tb {
    height: 54px;
    background: var(--wh);
    border-top: .5px solid var(--bd);
    display: flex;
    flex-shrink: 0
}

#tb.hide {
    display: none
}

.ti {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    font-size: 10px;
    color: var(--t3);
    position: relative;
    border: none;
    background: none;
    font-family: inherit
}

.ti.on {
    color: var(--bl)
}

.ti-ic {
    font-size: 22px;
    line-height: 1
}

.ti-bd {
    position: absolute;
    top: 2px;
    right: calc(50% - 18px);
    background: var(--rd);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 8px;
    min-width: 14px;
    text-align: center
}

.nb {
    height: 44px;
    background: var(--wh);
    border-bottom: .5px solid var(--bd);
    display: flex;
    align-items: center;
    padding: 0 16px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 20
}

.nb-back {
    font-size: 14px;
    color: var(--bl);
    cursor: pointer;
    padding-right: 8px;
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap
}

.nb-back::before {
    content: '‹';
    font-size: 26px;
    line-height: 1;
    margin-right: 2px
}

.nb-t {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 17px;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none
}

.nb-r {
    margin-left: auto;
    font-size: 13px;
    color: var(--bl);
    cursor: pointer
}

.card {
    background: var(--wh);
    border-radius: var(--r);
    margin: 10px 12px 0;
    padding: 16px;
    box-shadow: var(--sh)
}

.cl-list {
    background: var(--wh);
    border-radius: var(--r);
    margin: 10px 12px 0;
    overflow: hidden;
    box-shadow: var(--sh)
}

.cl {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: .5px solid var(--bd);
    cursor: pointer;
    text-decoration: none;
    color: inherit
}

.cl:last-child {
    border-bottom: none
}

.cl:active {
    background: #f9f9f9
}

.cl-ic {
    font-size: 20px;
    margin-right: 12px;
    width: 26px;
    text-align: center;
    flex-shrink: 0
}

.cl-bd {
    flex: 1;
    min-width: 0
}

.cl-tt {
    font-size: 14px
}

.cl-st {
    font-size: 12px;
    color: var(--t3);
    margin-top: 2px
}

.cl-r {
    display: flex;
    align-items: center;
    gap: 4px
}

.cl-v {
    font-size: 13px;
    color: var(--t3)
}

.arr::after {
    content: '›';
    font-size: 20px;
    color: var(--t3)
}

.bd-bl {
    background: var(--bll);
    color: #1e40af;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block
}

.bd-gn {
    background: var(--gnl);
    color: #065f46;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block
}

.bd-or {
    background: var(--orl);
    color: #92400e;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block
}

.bd-rd {
    background: var(--rdl);
    color: #991b1b;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block
}

.bd-gy {
    background: #f3f4f6;
    color: #6b7280;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
    outline: none
}

.btn:active {
    transform: scale(.97)
}

.btn-p {
    background: linear-gradient(135deg, #1a6fd4, #2b90e8);
    color: #fff;
    padding: 14px;
    width: 100%;
    box-shadow: 0 4px 14px rgba(26, 111, 212, .3)
}

.btn-g {
    background: linear-gradient(135deg, #27ae60, #34d399);
    color: #fff;
    padding: 14px;
    width: 100%;
    box-shadow: 0 4px 14px rgba(39, 174, 96, .3)
}

.btn-o {
    background: var(--wh);
    border: 1.5px solid var(--bl);
    color: var(--bl);
    padding: 11px 20px
}

.btn-d {
    background: var(--rdl);
    color: var(--rd);
    padding: 11px 20px;
    border: none
}

.btn-sm {
    padding: 7px 16px;
    font-size: 13px
}

.btn-xs {
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 8px
}

.btn-dis {
    opacity: .45;
    pointer-events: none
}

.inp-wrap {
    background: var(--wh);
    border-radius: var(--r);
    margin: 10px 12px 0;
    box-shadow: var(--sh);
    overflow: hidden
}

.inp-row {
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 52px;
    border-bottom: .5px solid var(--bd)
}

.inp-row:last-child {
    border-bottom: none
}

.inp-lb {
    font-size: 14px;
    width: 68px;
    flex-shrink: 0
}

.inp-f {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: inherit;
    color: var(--t);
    background: transparent
}

.inp-f::placeholder {
    color: var(--t3)
}

.inp-ac {
    font-size: 13px;
    color: var(--bl);
    cursor: pointer;
    white-space: nowrap;
    margin-left: 8px;
    flex-shrink: 0
}

.inp-ac.dis {
    color: var(--t3);
    pointer-events: none
}

.inp {
    width: 100%;
    border: 1.5px solid var(--bd);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--t);
    background: var(--wh);
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s
}

.inp:focus {
    border-color: var(--bl)
}

.inp::placeholder {
    color: var(--t3)
}

.ul-box {
    border: 2px dashed var(--bd);
    border-radius: 10px;
    height: 86px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    background: #fafafa;
    transition: all .2s;
    position: relative;
    overflow: hidden;
}

.ul-box:active {
    background: var(--bll)
}

.ul-box.done {
    border: 2px solid var(--gn);
    background: var(--gnl)
}

.ul-box span {
    font-size: 24px
}

.ul-box p {
    font-size: 11px;
    color: var(--t3)
}

.ul-box.done p {
    color: var(--gn);
    font-weight: 500
}

.ul-img-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.banner {
    margin: 10px 12px 0;
    border-radius: var(--r);
    overflow: hidden;
    background: linear-gradient(135deg, #0f3d7a, #1a6fd4 60%, #2b90e8);
    color: #fff;
    padding: 20px;
    position: relative;
    min-height: 130px
}

.banner h2 {
    font-size: 18px;
    font-weight: 700
}

.banner p {
    font-size: 12px;
    opacity: .82;
    margin-top: 5px
}

.banner-deco {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    opacity: .15;
    pointer-events: none
}

.banner-tags {
    position: absolute;
    bottom: 14px;
    left: 20px;
    display: flex;
    gap: 6px
}

.b-tag {
    background: rgba(255, 255, 255, .2);
    border-radius: 100px;
    padding: 3px 10px;
    font-size: 11px
}

.qg {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--wh);
    border-radius: var(--r);
    margin: 10px 12px 0;
    padding: 4px 0;
    box-shadow: var(--sh)
}

.qi {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 4px;
    cursor: pointer
}

.qi:active .qi-ic {
    transform: scale(.88)
}

.qi-ic {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: transform .1s
}

.qi-lb {
    font-size: 11px;
    color: var(--t2)
}

.art {
    background: var(--wh);
    border-radius: 10px;
    margin: 8px 12px 0;
    padding: 14px;
    display: flex;
    gap: 12px;
    cursor: pointer;
    box-shadow: var(--sh)
}

.art:active {
    opacity: .85
}

.art-th {
    width: 68px;
    height: 52px;
    border-radius: 8px;
    background: var(--bll);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0
}

.art-t {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.art-m {
    font-size: 11px;
    color: var(--t3);
    margin-top: 5px
}

.sh {
    padding: 14px 16px 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--t3);
    display: flex;
    justify-content: space-between;
    align-items: center
}

.sh-more {
    font-size: 12px;
    color: var(--bl);
    font-weight: 400;
    cursor: pointer
}

.st-card {
    border-radius: var(--r);
    padding: 18px;
    margin: 10px 12px 0;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff
}

.st-card.gn {
    background: linear-gradient(135deg, #27ae60, #34d399)
}

.st-card.or {
    background: linear-gradient(135deg, #f59e0b, #fbbf24)
}

.st-card.rd {
    background: linear-gradient(135deg, #e74c3c, #f87171)
}

.st-card.gy {
    background: linear-gradient(135deg, #6b7280, #9ca3af)
}

.st-ic {
    font-size: 38px
}

.st-tt {
    font-size: 17px;
    font-weight: 700
}

.st-st {
    font-size: 12px;
    opacity: .85;
    margin-top: 3px
}

.ic-card {
    background: var(--wh);
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border: 2px solid var(--bd);
    transition: all .2s
}

.ic-card.sel {
    border-color: var(--bl);
    background: #f0f7ff
}

.ic-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bll);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0
}

.ic-nm {
    font-size: 14px;
    font-weight: 600
}

.ic-ad {
    font-size: 12px;
    color: var(--t3);
    margin-top: 2px
}

.ic-ck {
    margin-left: auto;
    font-size: 20px;
    color: var(--bl);
    display: none
}

.ic-card.sel .ic-ck {
    display: block
}

.pkg-card {
    background: var(--wh);
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 16px;
    cursor: pointer;
    border: 2px solid var(--bd);
    transition: all .2s;
    position: relative;
    overflow: hidden
}

.pkg-card.sel {
    border-color: var(--bl)
}

.pkg-card.sel::after {
    content: '已选';
    position: absolute;
    top: 6px;
    right: -10px;
    background: var(--bl);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 16px;
    transform: rotate(45deg) translateX(6px);
    pointer-events: none
}

.pkg-nm {
    font-size: 16px;
    font-weight: 700
}

.pkg-pr {
    font-size: 24px;
    font-weight: 800;
    color: var(--rd);
    margin: 5px 0
}

.pkg-pr small {
    font-size: 13px;
    font-weight: 400;
    color: var(--t3)
}

.pkg-ds {
    font-size: 12px;
    color: var(--t3)
}

.pkg-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px
}

.pkg-tag {
    background: var(--bll);
    color: var(--bl);
    border-radius: 4px;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 500
}

.rec-lb {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 0 0 10px 0
}

.or-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: .5px solid var(--bd);
    font-size: 13px
}

.or-row:last-child {
    border-bottom: none
}

.or-lb {
    color: var(--t3)
}

.or-vl {
    font-weight: 500
}

.or-total .or-vl {
    font-size: 20px;
    font-weight: 800;
    color: var(--rd)
}

.steps {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: var(--wh);
    border-bottom: .5px solid var(--bd)
}

.stp {
    flex: 1;
    text-align: center;
    position: relative
}

.stp:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 11px;
    left: 55%;
    right: -5%;
    height: 2px;
    background: var(--bd);
    z-index: 0
}

.stp.dn:not(:last-child)::after,
.stp.ac:not(:last-child)::after {
    background: var(--bl)
}

.stp-d {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bd);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin: 0 auto 4px;
    position: relative;
    z-index: 1;
    transition: all .3s
}

.stp.ac .stp-d {
    background: var(--bl);
    box-shadow: 0 2px 8px rgba(26, 111, 212, .4)
}

.stp.dn .stp-d {
    background: var(--gn)
}

.stp-l {
    font-size: 11px;
    color: var(--t3)
}

.stp.ac .stp-l {
    color: var(--bl);
    font-weight: 600
}

.stp.dn .stp-l {
    color: var(--gn)
}

.qr-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px
}

.qr-box {
    width: 196px;
    height: 196px;
    background: var(--wh);
    border: 2px solid var(--bd);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
    padding: 10px;
    display: grid;
    place-items: center;
    overflow: hidden
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(21, 1fr);
    width: 176px;
    height: 176px;
    gap: 0
}

.qr-c {
    background: #111
}

.qr-w {
    background: #fff
}

.ex-stat {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 16px 0
}

.ex-s {
    background: var(--wh);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    box-shadow: var(--sh)
}

.ex-sv {
    font-size: 20px;
    font-weight: 700;
    color: var(--bl)
}

.ex-sl {
    font-size: 11px;
    color: var(--t3);
    margin-top: 2px
}

.prog-bar {
    flex: 1;
    height: 4px;
    background: var(--bd);
    border-radius: 2px;
    overflow: hidden
}

.prog-fill {
    height: 100%;
    background: var(--bl);
    border-radius: 2px;
    transition: width .3s
}

.q-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--wh);
    border: 2px solid var(--bd);
    border-radius: 10px;
    padding: 13px;
    cursor: pointer;
    transition: all .15s;
    margin-bottom: 8px
}

.q-opt:active {
    background: var(--bll)
}

.q-opt.sel {
    border-color: var(--bl);
    background: var(--bll)
}

.q-opt.ok {
    border-color: var(--gn) !important;
    background: var(--gnl) !important
}

.q-opt.ng {
    border-color: var(--rd) !important;
    background: var(--rdl) !important
}

.q-circ {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--bd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all .15s
}

.q-opt.sel .q-circ {
    border-color: var(--bl);
    background: var(--bl);
    color: #fff
}

.q-opt.ok .q-circ {
    border-color: var(--gn);
    background: var(--gn);
    color: #fff
}

.q-opt.ng .q-circ {
    border-color: var(--rd);
    background: var(--rd);
    color: #fff
}

.res-circ {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 6px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 28px auto 16px
}

.res-circ.gn {
    border-color: var(--gn)
}

.res-circ.rd {
    border-color: var(--rd)
}

.res-circ .rs {
    font-size: 42px;
    font-weight: 800
}

.res-circ.gn .rs {
    color: var(--gn)
}

.res-circ.rd .rs {
    color: var(--rd)
}

.hi {
    background: var(--wh);
    border-radius: 10px;
    margin: 8px 12px 0;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: var(--sh)
}

.hi:active {
    opacity: .85
}

.hi-ic {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0
}

.hi-sc {
    font-size: 20px;
    font-weight: 700
}

.hi-sc.p {
    color: var(--gn)
}

.hi-sc.f {
    color: var(--rd)
}

.vc {
    background: var(--wh);
    border-radius: 10px;
    margin: 8px 12px 0;
    padding: 14px;
    box-shadow: var(--sh);
    cursor: pointer
}

.vc:active {
    opacity: .85
}

.vc-h {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px
}

.vc-ac {
    font-size: 15px;
    font-weight: 600
}

.vc-sc {
    font-size: 16px;
    font-weight: 800;
    color: var(--rd)
}

.vc-m {
    font-size: 12px;
    color: var(--t3)
}

.pf-h {
    background: linear-gradient(135deg, #0f3d7a, #1a6fd4);
    color: #fff;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 14px
}

.pf-av {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    flex-shrink: 0
}

.pf-nm {
    font-size: 20px;
    font-weight: 700
}

.pf-ph {
    font-size: 13px;
    opacity: .8;
    margin-top: 3px
}

.pf-stats {
    display: flex;
    gap: 24px;
    margin-top: 12px
}

.pf-s .psv {
    font-size: 18px;
    font-weight: 700
}

.pf-s .psl {
    font-size: 11px;
    opacity: .7
}

.oc {
    background: var(--wh);
    border-radius: 10px;
    margin: 8px 12px 0;
    padding: 14px;
    box-shadow: var(--sh);
    cursor: pointer
}

.oc:active {
    opacity: .85
}

.oc-h {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px
}

.oc-n {
    font-size: 15px;
    font-weight: 600
}

.oc-d {
    font-size: 12px;
    color: var(--t3)
}

.oc-f {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: .5px solid var(--bd)
}

.oc-p {
    font-size: 18px;
    font-weight: 800;
    color: var(--rd)
}

.msg {
    background: var(--wh);
    border-radius: 10px;
    margin: 8px 12px 0;
    padding: 14px;
    box-shadow: var(--sh);
    cursor: pointer;
    transition: all .2s
}

.msg.unrd {
    border-left: 3px solid var(--bl)
}

.msg-h {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px
}

.msg-t {
    font-size: 14px;
    font-weight: 600
}

.msg-tm {
    font-size: 11px;
    color: var(--t3)
}

.msg-c {
    font-size: 13px;
    color: var(--t3);
    line-height: 1.5
}

.pay-spin {
    width: 64px;
    height: 64px;
    border: 4px solid var(--bll);
    border-top-color: var(--bl);
    border-radius: 50%;
    animation: sp .8s linear infinite;
    margin: 0 auto
}

@keyframes sp {
    to {
        transform: rotate(360deg)
    }
}

.pay-ok {
    font-size: 72px;
    animation: pop .4s cubic-bezier(.34, 1.56, .64, 1)
}

@keyframes pop {
    from {
        transform: scale(0);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

.empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    gap: 10px;
    color: var(--t3);
    text-align: center
}

.empty-ic {
    font-size: 52px
}

#toast {
    position: fixed;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(0, 0, 0, .8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    transition: all .25s;
    pointer-events: none;
    z-index: 999;
    max-width: 280px;
    text-align: center
}

#toast.on {
    opacity: 1;
    transform: translateX(-50%) translateY(0)
}

.face-area {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid var(--bl);
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 76px;
    background: var(--bll);
    position: relative;
    overflow: hidden
}

.face-scan {
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--bl), transparent);
    animation: scan 2s ease-in-out infinite
}

@keyframes scan {
    0% {
        top: 0
    }

    100% {
        top: 100%
    }
}

.coupon-row {
    display: flex;
    gap: 8px;
    align-items: center
}

.coupon-i {
    flex: 1;
    border: 1px solid var(--bd);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 14px;
    outline: none;
    font-family: inherit
}

.coupon-i:focus {
    border-color: var(--bl)
}

.ana-box {
    background: #f8f9ff;
    border-radius: 8px;
    padding: 10px;
    font-size: 12px;
    color: var(--t2);
    line-height: 1.6;
    margin-top: 8px;
    border-left: 3px solid var(--bl)
}

.school-box {
    background: var(--wh);
    border-radius: var(--r);
    margin: 10px 12px 0;
    padding: 16px;
    box-shadow: var(--sh)
}

.school-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px
}

.school-tt {
    font-size: 15px;
    font-weight: 700
}

.school-ds {
    font-size: 12px;
    color: var(--t3);
    line-height: 1.7
}

.school-note {
    background: #f8f9ff;
    border-radius: 10px;
    padding: 12px;
    font-size: 12px;
    color: var(--t2);
    line-height: 1.7;
    border-left: 3px solid var(--bl);
    margin-top: 12px
}

.school-ok {
    background: var(--gnl);
    border-left-color: var(--gn);
    color: #166534
}

.school-ops {
    display: grid;
    gap: 10px;
    margin-top: 12px
}

.school-opt {
    border: 1.5px solid var(--bd);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all .15s;
    background: var(--wh)
}

.school-opt.sel {
    border-color: var(--bl);
    background: #f0f7ff;
    box-shadow: 0 6px 18px rgba(26, 111, 212, .12)
}

.school-opt-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.school-opt-nm {
    font-size: 14px;
    font-weight: 600
}

.school-opt-sub {
    font-size: 12px;
    color: var(--t3);
    margin-top: 4px
}

.school-opt-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px
}

.school-ck {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--bd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: transparent;
    flex-shrink: 0
}

.school-opt.sel .school-ck {
    border-color: var(--bl);
    background: var(--bl);
    color: #fff
}

.school-actions {
    margin-top: 14px
}

.auth-lock {
    margin: 14px 12px 0;
    background: var(--orl);
    border-radius: 12px;
    padding: 14px;
    border-left: 3px solid var(--or);
    font-size: 12px;
    color: #92400e;
    line-height: 1.7
}

.modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .38);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 24px
}

.modal-mask.on {
    display: flex
}

.modal-card {
    width: 100%;
    max-width: 300px;
    background: var(--wh);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
    padding: 22px 18px 16px;
    text-align: center
}

.modal-tt {
    font-size: 17px;
    font-weight: 700
}

.modal-ds {
    font-size: 13px;
    color: var(--t3);
    line-height: 1.7;
    margin-top: 8px
}

.modal-ft {
    display: flex;
    gap: 10px;
    margin-top: 18px
}

.quiz-head {
    background: var(--wh);
    border-bottom: .5px solid var(--bd);
    padding: 12px 16px;
    flex-shrink: 0
}

.quiz-head-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px
}

.quiz-exit {
    border: none;
    background: transparent;
    color: var(--bl);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-family: inherit
}