/* 底部导航 + 我的 模块（Web 端通用，daishou 主题） */

.gy-hidden { display: none !important; }

/* 给底部固定导航留出空间 */
body.gy-has-tabbar { padding-bottom: 96px; }

/* ---------------- 底部导航 ---------------- */
.gy-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: flex;
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(74, 185, 216, .18);
    box-shadow: rgba(45, 90, 105, .08) 0 -4px 16px;
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.gy-tabbar-item {
    flex: 1;
    height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 12px;
    color: #8a919c;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}
.gy-tabbar-item.active { color: #4ab9d8; font-weight: 600; }
.gy-tabbar-icon { font-size: 20px; line-height: 1; }

/* ---------------- 我的 ---------------- */
.gy-mine { padding: 20px 22px 26px; }
.gy-mine-title { font-size: 18px; font-weight: 700; color: #172033; text-align: center; }
.gy-mine-sub { font-size: 13px; color: #6b8a9a; text-align: center; margin: 8px 0 20px; line-height: 1.55; }

.gy-field { margin-bottom: 14px; }
.gy-field input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid rgba(74, 185, 216, .28);
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: #355a6e;
    box-sizing: border-box;
}
.gy-field input:focus { border-color: #4ab9d8; box-shadow: 0 0 0 3px rgba(74, 185, 216, .18); }
.gy-code-field { display: flex; gap: 10px; }
.gy-code-field input { flex: 1; }
.gy-code-field button {
    flex: 0 0 120px;
    border: 1px solid rgba(74, 185, 216, .38);
    border-radius: 10px;
    background: #eef8fd;
    color: #2c6e86;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.gy-code-field button:disabled { opacity: .6; cursor: not-allowed; }

.gy-btn {
    width: 100%;
    padding: 13px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #3a9fc4, #4ab9d8 45%, #5ec4e8);
    box-shadow: rgba(58, 159, 196, .35) 0 4px 18px;
    cursor: pointer;
}
.gy-btn:disabled { opacity: .6; cursor: not-allowed; box-shadow: none; }

/* 个人中心 */
.gy-user-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid rgba(74, 185, 216, .18);
    border-radius: 14px;
    padding: 18px;
    box-shadow: rgba(0, 0, 0, .04) 0 1px 3px;
}
.gy-avatar {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #eef3f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #b9c6d0;
    cursor: pointer;
}
.gy-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gy-user-main { flex: 1; min-width: 0; }
.gy-nick-row { display: flex; align-items: center; gap: 10px; }
.gy-nick { font-size: 17px; font-weight: 700; color: #172033; word-break: break-all; }
.gy-nick-edit { flex-shrink: 0; font-size: 12px; color: #4ab9d8; cursor: pointer; }
.gy-user-id { font-size: 13px; color: #94a3b8; margin-top: 6px; }
.gy-nick-input {
    width: 100%;
    padding: 8px 10px;
    font-size: 15px;
    border: 1px solid rgba(74, 185, 216, .28);
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
}
.gy-nick-actions { margin-top: 8px; display: flex; gap: 10px; }
.gy-nick-actions span { font-size: 13px; padding: 6px 14px; border-radius: 8px; cursor: pointer; }
.gy-nick-actions .gy-save { background: #4ab9d8; color: #fff; }
.gy-nick-actions .gy-cancel { background: #eef3f7; color: #5f6368; }

.gy-menu {
    background: #fff;
    border: 1px solid rgba(74, 185, 216, .18);
    border-radius: 14px;
    margin-top: 16px;
    overflow: hidden;
}
.gy-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    cursor: pointer;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .05);
}
.gy-menu-item:last-child { box-shadow: none; }
.gy-menu-item:active { background: #f6fafc; }
.gy-menu-ic { font-size: 18px; }
.gy-menu-label { flex: 1; font-size: 15px; color: #1e293b; }
.gy-menu-arrow { color: #cbd5e1; font-size: 20px; }

/* 我的秘钥 */
.gy-keys { margin-top: 16px; }
.gy-keys-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #355a6e;
    margin-bottom: 10px;
}
.gy-keys-clear { color: #dc2626; cursor: pointer; font-size: 13px; }
.gy-keys-list {
    background: #fff;
    border: 1px solid rgba(74, 185, 216, .18);
    border-radius: 12px;
    overflow: hidden;
}
.gy-key-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    cursor: pointer;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .05);
}
.gy-key-item:last-child { box-shadow: none; }
.gy-key-item:active { background: #f6fafc; }
.gy-key-main { flex: 1; min-width: 0; }
.gy-key-sn { font-size: 14px; color: #172033; word-break: break-all; }
.gy-key-type { display: inline-block; margin-top: 4px; font-size: 12px; color: #4ab9d8; background: #eef8fd; border-radius: 4px; padding: 1px 8px; }
.gy-key-time { font-size: 12px; color: #94a3b8; flex-shrink: 0; }
.gy-key-empty { padding: 20px; text-align: center; font-size: 13px; color: #94a3b8; }

/* 二维码弹窗 */
.gy-mask {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.gy-mask-box {
    width: 100%;
    max-width: 320px;
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    text-align: center;
}
.gy-mask-box img { width: 100%; max-width: 240px; display: block; margin: 0 auto 14px; }
.gy-mask-close { font-size: 14px; color: #5f6368; border: 1px solid #d8e1eb; border-radius: 8px; padding: 8px 0; cursor: pointer; }
