*,
*:before,
*:after {
    box-sizing: border-box
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: Microsoft YaHei, PingFang SC, -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: manipulation
}

.app-container {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: hidden
}

.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://prod-alicdn-community.kurobbs.com/forum/4b7d66489982496e9d8b5cdaa730059b20260118.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1
}

.bg-layer:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0000004d
}

.app-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px 40px;
    background: #f0f0f580;
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    box-shadow: 0 2px 20px #0000001a, inset 0 1px #fff6
}

.app-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0;
    flex: 1;
    min-width: 0
}

.title-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -.8px
}

.title-sub {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    letter-spacing: 1px
}

.header-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 4px 12px #00000026, inset 0 1px #ffffff1a;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px;
    flex-shrink: 0;
    white-space: nowrap
}

.header-btn:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #fff3;
    transform: translate(-50%, -50%);
    transition: width .6s, height .6s;
    max-width: 200%;
    max-height: 200%
}

.header-btn:active:before {
    width: 300px;
    height: 300px
}

.header-btn svg {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1
}

.header-btn:active {
    transform: translateY(0)
}

.header-btn span {
    position: relative;
    z-index: 1
}

.app-main {
    position: relative;
    z-index: 5;
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 32px;
    max-width: 1600px;
    margin: 0 auto
}

.account-card {
    position: relative;
    background: #f0f0f580;
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    border-radius: 20px;
    padding: 0;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    border: 1px solid rgba(255, 255, 255, .45);
    box-shadow: 0 4px 24px #0000001f, inset 0 1px #fff6;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    -webkit-tap-highlight-color: transparent
}

.account-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0000000d, #00000026, #0000000d);
    opacity: 0;
    transition: opacity .3s
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    background: #f0f0f514;
    backdrop-filter: blur(6px) saturate(130%);
    -webkit-backdrop-filter: blur(6px) saturate(130%)
}

.card-header-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 0
}

.card-avatar {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    position: relative
}

.card-avatar:after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #ffffffe6, #fff6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .3s
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, .85);
    box-shadow: 0 4px 16px #0000001f, inset 0 1px #ffffff80;
    transition: transform .3s, box-shadow .3s
}

.card-header-info {
    flex: 1;
    min-width: 0
}

.card-player-id {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    letter-spacing: -.8px;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(255, 255, 255, .9), 0 0 8px rgba(255, 255, 255, .3)
}

.card-phone {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, .6)
}

.card-header-actions {
    display: flex;
    align-items: center;
    gap: 8px
}

.card-action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffffbf;
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    border: 1.5px solid rgba(255, 255, 255, .5);
    border-radius: 10px;
    color: #1a1a1a;
    cursor: pointer;
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-width: 44px;
    min-height: 44px;
    box-shadow: inset 0 1px #fff9
}

.card-action-btn svg {
    width: 18px;
    height: 18px;
    transition: transform .3s
}

.card-action-btn:active {
    transform: translateY(0)
}

.card-refresh:disabled {
    opacity: .5;
    cursor: not-allowed
}

.card-body {
    padding: 24px 28px;
    flex: 1;
    background: #f0f0f508;
    backdrop-filter: blur(2px) saturate(110%);
    -webkit-backdrop-filter: blur(2px) saturate(110%)
}

.card-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px;
    color: #666
}

.loading-spinner-small {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(0, 0, 0, .08);
    border-top-color: #1a1a1a;
    border-radius: 50%;
    animation: spin .8s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.card-record-info {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.record-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f0f0f533;
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
    border: 1.5px solid rgba(255, 255, 255, .3);
    border-radius: 12px;
    transition: all .25s;
    box-shadow: inset 0 1px #ffffff40
}

.record-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, .6)
}

.record-label svg {
    width: 18px;
    height: 18px;
    color: #999
}

.record-value {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 700;
    font-family: Consolas, Monaco, monospace;
    letter-spacing: -.3px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, .8)
}

.card-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center
}

.card-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: .5;
    filter: grayscale(.3)
}

.card-empty p {
    margin: 0 0 20px;
    font-size: 15px;
    color: #666;
    font-weight: 500
}

.card-fetch-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #1e1e1ef2, #282828f2);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 2px 8px #0000001a, inset 0 1px #ffffff1a
}

.card-fetch-btn:active {
    transform: translateY(0)
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    width: 100%;
    overflow-x: hidden
}

#loginContainer {
    position: relative;
    background: #f0f0f580;
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    border-radius: 24px;
    padding: 52px;
    border: 1px solid rgba(255, 255, 255, .45);
    box-shadow: 0 12px 48px #00000026, inset 0 1px #fff6, inset 0 -1px #ffffff4d;
    max-width: 460px;
    width: 100%;
    animation: slideUp .4s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden
}

#loginContainer:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent)
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.login-header {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    justify-content: space-between
}

.banner {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, .65);
    box-shadow: 0 6px 20px #0000001f, inset 0 1px 2px #fff9, inset 0 -1px 2px #ffffff4d;
    margin-right: .5rem;
    transition: transform .3s;
    background: #ffffff59;
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%)
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.banner-text {
    flex: 1;
    padding-right: 1rem;
    margin-left: .5rem
}

.welcome-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: .3rem;
    letter-spacing: -.8px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, .8)
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: .3rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, .8)
}

.kurobbs-text {
    font-size: .9rem;
    color: #333;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, .6)
}

.input-group {
    margin-bottom: 1.75rem
}

label {
    display: block;
    margin-bottom: .6rem;
    color: #1a1a1a;
    font-weight: 600;
    font-size: .95rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, .8)
}

input[type=tel],
input[type=text] {
    width: 100%;
    padding: 16px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-radius: 12px;
    background: #ffffff8c;
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    font-size: 16px;
    color: #1a1a1a;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    box-shadow: inset 0 1px 2px #fff9, 0 2px 8px #0000000d;
    -webkit-appearance: none;
    appearance: none
}

input[type=tel]::placeholder,
input[type=text]::placeholder {
    color: #999
}

input[type=tel]:focus,
input[type=text]:focus {
    outline: none;
    border-color: #ffffffbf;
    background: #fffc;
    backdrop-filter: blur(14px) saturate(190%);
    -webkit-backdrop-filter: blur(14px) saturate(190%);
    box-shadow: 0 0 0 4px #ffffff59, inset 0 1px 2px #ffffffb3, 0 4px 12px #0000001a;
    transform: translateY(-1px)
}

.verification-group {
    display: flex;
    gap: 12px
}

.verification-group input {
    flex: 1
}

#loginForm button[type=submit] {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 4px 16px #00000026, inset 0 1px #ffffff1a;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 48px
}

#loginForm button[type=submit]:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #fff3;
    transform: translate(-50%, -50%);
    transition: width .6s, height .6s
}

#loginForm button[type=submit]:active:before {
    width: 300px;
    height: 300px
}

#loginForm button[type=submit]:active:not(:disabled) {
    transform: translateY(0)
}

#loginForm button[type=submit]:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none
}

#getCodeBtn {
    padding: 16px 24px;
    background: #fff9;
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 2px solid rgba(255, 255, 255, .55);
    border-radius: 12px;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    white-space: nowrap;
    box-shadow: inset 0 1px 2px #fff9, 0 2px 8px #0000000d;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 48px
}

#getCodeBtn:active:not(:disabled) {
    transform: translateY(0)
}

#getCodeBtn:disabled {
    opacity: .5;
    cursor: not-allowed
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    background: #ffffff80;
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 12px;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    box-shadow: inset 0 1px 2px #ffffff80, 0 2px 6px #0000000d;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px
}

.back-btn:active {
    transform: translateY(0)
}

.back-btn svg {
    width: 16px;
    height: 16px;
    transition: transform .3s
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0000008c;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 20px;
    animation: fadeIn .3s ease
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.record-modal {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: #fffffff5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 64px #00000040;
    border: 1px solid rgba(255, 255, 255, .4);
    animation: modalSlideUp .4s cubic-bezier(.4, 0, .2, 1)
}

@keyframes modalSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(.95)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    background: #ffffffb3
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 14px
}

.title-icon {
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 2px
}

.modal-title h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -.5px
}

.modal-actions {
    display: flex;
    gap: 10px
}

.modal-btn {
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
    border: 1.5px solid transparent
}

.btn-refresh {
    background: #3b82f61f;
    border-color: #3b82f633;
    color: #2563eb
}

.btn-copy {
    background: #10b9811f;
    border-color: #10b98133;
    color: #10b981
}

.btn-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: #0000000d;
    border: 1.5px solid rgba(0, 0, 0, .08);
    color: #666;
    border-radius: 8px
}

.btn-close svg {
    width: 18px;
    height: 18px;
    transition: transform .3s
}

.modal-btn:disabled {
    opacity: .5;
    cursor: not-allowed
}

.modal-btn:active:not(:disabled) {
    transform: translateY(0)
}

.modal-body {
    position: relative;
    padding: 28px;
    min-height: 160px;
    background: #fffffff5
}

.modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 50px;
    color: #666
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3.5px solid rgba(0, 0, 0, .08);
    border-top-color: #1a1a1a;
    border-radius: 50%;
    animation: spin .8s linear infinite
}

.modal-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    text-align: center
}

.modal-empty .empty-icon {
    font-size: 56px;
    margin-bottom: 20px;
    opacity: .4;
    filter: grayscale(.3)
}

.modal-empty h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #1a1a1a;
    font-weight: 700
}

.modal-empty p {
    margin: 0;
    font-size: 15px;
    color: #666
}

.record-info {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #00000005;
    border: 1.5px solid rgba(0, 0, 0, .05);
    border-radius: 12px;
    transition: all .25s
}

.info-label {
    font-size: 14px;
    color: #666;
    font-weight: 600
}

.info-value {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 700;
    font-family: Consolas, Monaco, monospace
}

.loading-spinner-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3.5px solid rgba(0, 0, 0, .08);
    border-top-color: #1a1a1a;
    border-radius: 50%;
    animation: spin .8s linear infinite
}

@media(max-width:768px) {
    .app-header {
        width: 100vw;
        padding: 16px 20px;
        margin: 0;
        left: 0;
        right: 0
    }

    .title-text {
        font-size: 20px
    }

    .title-sub {
        font-size: 11px
    }

    .header-btn {
        padding: 10px 14px;
        font-size: 13px
    }

    .header-btn span {
        display: none
    }

    .header-btn svg {
        width: 16px;
        height: 16px
    }

    .app-main {
        padding: 20px 12px
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .account-card {
        border-radius: 16px
    }

    .card-header {
        padding: 20px;
        flex-direction: row;
        align-items: flex-start;
        gap: 12px
    }

    .card-header-left {
        flex: 1;
        min-width: 0
    }

    .card-header-actions {
        flex-shrink: 0;
        justify-content: flex-end;
        gap: 6px;
        align-self: flex-start;
        margin-top: 0
    }

    .card-avatar {
        width: 56px;
        height: 56px
    }

    .card-player-id {
        font-size: 20px
    }

    .card-phone {
        font-size: 12px
    }

    .card-action-btn {
        width: 36px;
        height: 36px
    }

    .card-action-btn svg {
        width: 16px;
        height: 16px
    }

    .card-body {
        padding: 20px
    }

    .record-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 16px
    }

    .record-label {
        font-size: 13px
    }

    .record-label svg {
        width: 16px;
        height: 16px
    }

    .record-value {
        font-size: 14px;
        word-break: break-all;
        width: 100%
    }

    .card-loading {
        padding: 30px 20px
    }

    .card-empty {
        padding: 40px 20px
    }

    .card-empty-icon {
        font-size: 40px;
        margin-bottom: 16px
    }

    .card-empty p {
        font-size: 14px;
        margin-bottom: 16px
    }

    .card-fetch-btn {
        padding: 12px 20px;
        font-size: 13px
    }

    .login-wrapper {
        min-height: calc(100vh - 80px);
        padding: 20px 8px
    }

    #loginContainer {
        padding: 36px 28px;
        border-radius: 20px;
        max-width: calc(100% - 16px);
        width: calc(100% - 16px)
    }

    .login-header {
        margin-bottom: 2rem;
        flex-direction: row
    }

    .banner {
        width: 72px;
        height: 72px
    }

    .welcome-text {
        font-size: 1.4rem
    }

    .logo-text {
        font-size: .95rem
    }

    .kurobbs-text {
        font-size: .8rem
    }

    .input-group {
        margin-bottom: 1.5rem
    }

    label {
        font-size: .9rem;
        margin-bottom: .5rem
    }

    input[type=tel],
    input[type=text] {
        padding: 14px;
        font-size: 16px;
        border-radius: 10px
    }

    .verification-group {
        flex-direction: row;
        gap: 10px
    }

    .verification-group input {
        flex: 1
    }

    #getCodeBtn {
        padding: 14px 20px;
        font-size: 14px;
        white-space: nowrap
    }

    #loginForm button[type=submit] {
        padding: 14px;
        font-size: 16px
    }

    .back-btn {
        margin-top: 16px;
        padding: 12px;
        font-size: 13px
    }

    .toast-container {
        top: 16px;
        right: 12px;
        left: 12px;
        gap: 10px
    }

    .toast {
        min-width: auto;
        width: 100%;
        padding: 14px 20px;
        font-size: 13px
    }

    .modal-overlay {
        padding: 12px
    }

    .record-modal {
        margin: 0;
        max-width: none;
        border-radius: 16px
    }

    .modal-header {
        flex-direction: column;
        gap: 16px;
        padding: 20px
    }

    .modal-title h2 {
        font-size: 18px
    }

    .modal-actions {
        width: 100%;
        justify-content: stretch;
        gap: 8px
    }

    .modal-btn {
        flex: 1;
        padding: 10px;
        font-size: 13px
    }

    .modal-body {
        padding: 20px
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px
    }

    .info-value {
        font-size: 14px;
        word-break: break-all
    }
}

@media(max-width:375px) {
    .app-header {
        width: 100vw;
        padding: 14px 16px
    }

    .title-text {
        font-size: 18px
    }

    .title-sub {
        font-size: 10px
    }

    .app-main {
        padding: 16px 10px
    }

    .card-grid {
        gap: 16px
    }

    .card-header,
    .card-body {
        padding: 16px
    }

    #loginContainer {
        padding: 32px 24px;
        max-width: calc(100% - 16px);
        width: calc(100% - 16px)
    }

    .login-header {
        margin-bottom: 1.75rem
    }

    .banner {
        width: 64px;
        height: 64px
    }

    .welcome-text {
        font-size: 1.25rem
    }

    .logo-text {
        font-size: .9rem
    }

    .kurobbs-text {
        font-size: .75rem
    }

    .card-player-id {
        font-size: 18px
    }
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none
}

.toast {
    pointer-events: auto;
    min-width: 240px;
    padding: 16px 24px;
    border-radius: 12px;
    background: #1e1e1ef5;
    color: #fff;
    box-shadow: 0 6px 24px #00000040;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 14px;
    font-weight: 500;
    animation: toastSlideIn .3s cubic-bezier(.4, 0, .2, 1);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px)
}

@keyframes toastSlideIn {
    0% {
        transform: translate(120%);
        opacity: 0
    }

    to {
        transform: translate(0);
        opacity: 1
    }
}

.toast-info {
    border-left: 4px solid #3b82f6
}

.toast-success {
    border-left: 4px solid #10b981
}

.toast-error {
    border-left: 4px solid #ef4444
}