/*!
 *  Font Awesome 4.6.3 by @davegandy - @fontawesome
 *  License - /license (Font: SIL OFL 1.1, CSS: MIT License)
 *  本地化精简版 - 包含项目所需图标
 */

@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fontawesome-webfont.eot?v=4.6.3');
  src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'),
       url('../fonts/fontawesome-webfont.woff2?v=4.6.3') format('woff2'),
       url('../fonts/fontawesome-webfont.woff?v=4.6.3') format('woff'),
       url('../fonts/fontawesome-webfont.ttf?v=4.6.3') format('truetype'),
       url('../fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Size Variants */
.fa-lg { font-size: 1.33333333em; line-height: 0.75em; vertical-align: -15%; }
.fa-2x { font-size: 2em; }
.fa-3x { font-size: 3em; }
.fa-4x { font-size: 4em; }
.fa-5x { font-size: 5em; }

/* Fixed Width */
.fa-fw { width: 1.28571429em; text-align: center; }

/* List Icons */
.fa-ul { padding-left: 0; margin-left: 2.14285714em; list-style-type: none; }
.fa-ul > li { position: relative; }
.fa-li { position: absolute; left: -2.14285714em; width: 2.14285714em; top: 0.14285714em; text-align: center; }

/* Spinning Icons */
.fa-spin { animation: fa-spin 2s infinite linear; }
.fa-pulse { animation: fa-spin 1s infinite steps(8); }
@keyframes fa-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(359deg); } }

/* Rotated & Flipped Icons */
.fa-rotate-90 { transform: rotate(90deg); }
.fa-rotate-180 { transform: rotate(180deg); }
.fa-rotate-270 { transform: rotate(270deg); }
.fa-flip-horizontal { transform: scale(-1, 1); }
.fa-flip-vertical { transform: scale(1, -1); }

/* Stacked Icons */
.fa-stack { position: relative; display: inline-block; width: 2em; height: 2em; line-height: 2em; vertical-align: middle; }
.fa-stack-1x, .fa-stack-2x { position: absolute; left: 0; width: 100%; text-align: center; }
.fa-stack-1x { line-height: inherit; }
.fa-stack-2x { font-size: 2em; }

/* ========== 项目使用的图标 ========== */

/* Navigation & UI */
.fa-home:before { content: "\f015"; }
.fa-search:before { content: "\f002"; }
.fa-bars:before { content: "\f0c9"; }
.fa-times:before { content: "\f00d"; }
.fa-check:before { content: "\f00c"; }
.fa-check-circle:before { content: "\f058"; }
.fa-times-circle:before { content: "\f057"; }
.fa-info-circle:before { content: "\f05a"; }
.fa-exclamation-circle:before { content: "\f06a"; }
.fa-question-circle:before { content: "\f059"; }
.fa-chevron-left:before { content: "\f053"; }
.fa-chevron-right:before { content: "\f054"; }
.fa-chevron-up:before { content: "\f077"; }
.fa-chevron-down:before { content: "\f078"; }
.fa-arrow-left:before { content: "\f060"; }
.fa-arrow-right:before { content: "\f061"; }
.fa-arrow-up:before { content: "\f062"; }
.fa-arrow-down:before { content: "\f063"; }
.fa-angle-left:before { content: "\f104"; }
.fa-angle-right:before { content: "\f105"; }
.fa-angle-up:before { content: "\f106"; }
.fa-angle-down:before { content: "\f107"; }
.fa-caret-down:before { content: "\f0d7"; }
.fa-caret-up:before { content: "\f0d8"; }
.fa-caret-left:before { content: "\f0d9"; }
.fa-caret-right:before { content: "\f0da"; }

/* User & Auth */
.fa-user:before { content: "\f007"; }
.fa-user-plus:before { content: "\f234"; }
.fa-users:before { content: "\f0c0"; }
.fa-sign-in:before { content: "\f090"; }
.fa-sign-out:before { content: "\f08b"; }
.fa-lock:before { content: "\f023"; }
.fa-unlock:before { content: "\f09c"; }
.fa-key:before { content: "\f084"; }
.fa-envelope:before { content: "\f0e0"; }
.fa-envelope-o:before { content: "\f003"; }

/* Actions */
.fa-plus:before { content: "\f067"; }
.fa-minus:before { content: "\f068"; }
.fa-edit:before { content: "\f044"; }
.fa-pencil:before { content: "\f040"; }
.fa-trash:before { content: "\f1f8"; }
.fa-trash-o:before { content: "\f014"; }
.fa-save:before { content: "\f0c7"; }
.fa-copy:before { content: "\f0c5"; }
.fa-download:before { content: "\f019"; }
.fa-upload:before { content: "\f093"; }
.fa-share:before { content: "\f064"; }
.fa-share-alt:before { content: "\f1e0"; }
.fa-refresh:before { content: "\f021"; }
.fa-sync:before { content: "\f021"; }
.fa-sync-alt:before { content: "\f2f1"; }
.fa-redo:before { content: "\f01e"; }
.fa-undo:before { content: "\f0e2"; }

/* Media & Audio */
.fa-play:before { content: "\f04b"; }
.fa-pause:before { content: "\f04c"; }
.fa-stop:before { content: "\f04d"; }
.fa-forward:before { content: "\f04e"; }
.fa-backward:before { content: "\f04a"; }
.fa-volume-up:before { content: "\f028"; }
.fa-volume-down:before { content: "\f027"; }
.fa-volume-off:before { content: "\f026"; }
.fa-headphones:before { content: "\f025"; }
.fa-microphone:before { content: "\f130"; }
.fa-microphone-slash:before { content: "\f131"; }

/* Learning & Education */
.fa-book:before { content: "\f02d"; }
.fa-book-open:before { content: "\f518"; }
.fa-graduation-cap:before { content: "\f19d"; }
.fa-trophy:before { content: "\f091"; }
.fa-star:before { content: "\f005"; }
.fa-star-o:before { content: "\f006"; }
.fa-star-half-o:before { content: "\f123"; }
.fa-certificate:before { content: "\f0a3"; }
.fa-lightbulb-o:before { content: "\f0eb"; }

/* Heart & Favorites */
.fa-heart:before { content: "\f004"; }
.fa-heart-o:before { content: "\f08a"; }

/* Writing & Notes */
.fa-sticky-note:before { content: "\f249"; }
.fa-sticky-note-o:before { content: "\f24a"; }
.fa-comment:before { content: "\f075"; }
.fa-comment-o:before { content: "\f0e5"; }
.fa-comments:before { content: "\f086"; }
.fa-comments-o:before { content: "\f0e6"; }
.fa-quote-left:before { content: "\f10d"; }
.fa-quote-right:before { content: "\f10e"; }

/* Settings & Tools */
.fa-cog:before { content: "\f013"; }
.fa-cogs:before { content: "\f085"; }
.fa-gear:before { content: "\f013"; }
.fa-gears:before { content: "\f085"; }
.fa-wrench:before { content: "\f0ad"; }
.fa-sliders:before { content: "\f1de"; }

/* Time & Calendar */
.fa-clock-o:before { content: "\f017"; }
.fa-calendar:before { content: "\f073"; }
.fa-calendar-o:before { content: "\f133"; }
.fa-calendar-check-o:before { content: "\f274"; }
.fa-calendar-alt:before { content: "\f073"; }
.fa-history:before { content: "\f1da"; }

/* Charts & Stats */
.fa-bar-chart:before { content: "\f080"; }
.fa-line-chart:before { content: "\f201"; }
.fa-pie-chart:before { content: "\f200"; }
.fa-chart-line:before { content: "\f201"; }
.fa-signal:before { content: "\f012"; }

/* Devices */
.fa-mobile:before { content: "\f10b"; }
.fa-mobile-alt:before { content: "\f3cd"; }
.fa-tablet:before { content: "\f10a"; }
.fa-desktop:before { content: "\f108"; }
.fa-laptop:before { content: "\f109"; }

/* Globe & Language */
.fa-globe:before { content: "\f0ac"; }
.fa-language:before { content: "\f1ab"; }
.fa-flag:before { content: "\f024"; }

/* Gaming */
.fa-gamepad:before { content: "\f11b"; }
.fa-keyboard-o:before { content: "\f11c"; }
.fa-keyboard:before { content: "\f11c"; }

/* Fire & Energy */
.fa-fire:before { content: "\f06d"; }
.fa-bolt:before { content: "\f0e7"; }
.fa-rocket:before { content: "\f135"; }

/* Files & Documents */
.fa-file:before { content: "\f15b"; }
.fa-file-o:before { content: "\f016"; }
.fa-file-text:before { content: "\f15c"; }
.fa-file-text-o:before { content: "\f0f6"; }
.fa-folder:before { content: "\f07b"; }
.fa-folder-o:before { content: "\f114"; }
.fa-folder-open:before { content: "\f07c"; }
.fa-folder-open-o:before { content: "\f115"; }

/* Links & External */
.fa-link:before { content: "\f0c1"; }
.fa-external-link:before { content: "\f08e"; }
.fa-chain:before { content: "\f0c1"; }

/* Location */
.fa-map-marker:before { content: "\f041"; }
.fa-map-marker-alt:before { content: "\f3c5"; }

/* Social Media */
.fa-weixin:before { content: "\f1d7"; }
.fa-wechat:before { content: "\f1d7"; }
.fa-qq:before { content: "\f1d6"; }
.fa-github:before { content: "\f09b"; }
.fa-github-alt:before { content: "\f113"; }
.fa-weibo:before { content: "\f18a"; }
.fa-twitter:before { content: "\f099"; }
.fa-facebook:before { content: "\f09a"; }
.fa-google:before { content: "\f1a0"; }

/* Theme */
.fa-sun-o:before { content: "\f185"; }
.fa-sun:before { content: "\f185"; }
.fa-moon-o:before { content: "\f186"; }
.fa-moon:before { content: "\f186"; }

/* Eye */
.fa-eye:before { content: "\f06e"; }
.fa-eye-slash:before { content: "\f070"; }

/* Thumbs */
.fa-thumbs-up:before { content: "\f164"; }
.fa-thumbs-down:before { content: "\f165"; }
.fa-thumbs-o-up:before { content: "\f087"; }
.fa-thumbs-o-down:before { content: "\f088"; }

/* Others */
.fa-spinner:before { content: "\f110"; }
.fa-circle-o-notch:before { content: "\f1ce"; }
.fa-bell:before { content: "\f0f3"; }
.fa-bell-o:before { content: "\f0a2"; }
.fa-tag:before { content: "\f02b"; }
.fa-tags:before { content: "\f02c"; }
.fa-bookmark:before { content: "\f02e"; }
.fa-bookmark-o:before { content: "\f097"; }
.fa-print:before { content: "\f02f"; }
.fa-phone:before { content: "\f095"; }
.fa-at:before { content: "\f1fa"; }
.fa-list:before { content: "\f03a"; }
.fa-list-ul:before { content: "\f0ca"; }
.fa-list-ol:before { content: "\f0cb"; }
.fa-th:before { content: "\f00a"; }
.fa-th-large:before { content: "\f009"; }
.fa-th-list:before { content: "\f00b"; }
.fa-filter:before { content: "\f0b0"; }
.fa-sort:before { content: "\f0dc"; }
.fa-sort-asc:before { content: "\f0de"; }
.fa-sort-desc:before { content: "\f0dd"; }


/* 基础链接样式 */
.login-auth-links{font-family:Arial,"Microsoft YaHei",sans-serif;font-size:14px;color:#333}.login-auth-links .auth-link{text-decoration:none;color:#555;transition:color .2s;font-weight:500;padding:0 5px}.login-auth-links .auth-link:hover{color:#667eea}.login-auth-links .auth-divider{color:#ddd;margin:0 2px}

/* 容器样式 */
.vip-login-wrapper{font-family:Arial,'Microsoft YaHei',sans-serif;position:relative;z-index:999999;line-height:1.5}
.vip-login-wrapper *{box-sizing:border-box;margin:0;padding:0}

/* 核心样式 */
.login_status {
    display: none; /* 下方有覆盖 */
    position: relative;
    margin: 15px 0;
}

.post-status {
    display: block;
    zoom: 1;

    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.post-status:hover {

    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 800;
    float: left;
    line-height: 36px;
    text-align: center;
    font-size: 16px;
    margin-right: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.user-name {
    display: none; /* 原样式设定隐藏 */
    float: left;
    line-height: 36px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-menu {
    position: fixed;
    background: #fff;
    width: 320px;
    border-radius: 8px;
    border: 1px solid #ddd \9;
    box-shadow: 0 0 30px rgba(0,0,0,0.15);
    padding: 12px;
    display: block;
    opacity: 0;
    visibility: hidden;
    -ms-transform: translateY(-10px) scale(0.98);
    transform: translateY(-10px) scale(0.98);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
    border-top: 5px solid #fff;
    margin-top: 8px;
    top: -9999px;
    left: -9999px;
}

.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
    z-index: -1;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-menu .arrow {
    position: absolute;
    top: -8px;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    z-index: 10000;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
    animation: arrowBreath 3s ease-in-out infinite;
}

.dropdown-menu:before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    z-index: 10000;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
    animation: arrowBreath 3s ease-in-out infinite;
    *display: none;
}

@keyframes arrowBreath {
    0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2)); }
    50% { transform: translateY(1px) scale(1.05); filter: drop-shadow(0 2px 3px rgba(0,0,0,0.25)); }
}

.vip-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
}

.vip-status { font-size: 11px; opacity: 0.9; }
.vip-level { font-size: 15px; font-weight: 800; margin: 3px 0; }
.vip-action { background: rgba(255,255,255,0.25); color: #fff; padding: 4px 10px; border-radius: 4px; text-decoration: none; font-size: 11px; display: inline-block; margin-top: 3px; transition: all 0.3s ease; }
.vip-action:hover { background: rgba(255,255,255,0.35); transform: translateY(-1px); }

.menu-grid {
    display: block;
    margin: 0 -3px;
    overflow: hidden;
    padding-bottom: 8px;
}

.info-item {
    float: left;
    width: 48%;
    width: calc(50% - 6px);
    margin: 3px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    font-size: 11px;
    display: block;
    height: 38px;
    line-height: 18px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.info-item:hover { background: #e3f2fd; border-color: #90caf9; transform: translateY(-1px); }

.info-item.highlight:hover { background: rgba(230,57,70,0.1); border-color: #e63946; }
.info-item.highlight .value { color: #e63946; font-weight: 800; }

.info-item .label {
    color: #595d69;
    font-weight: 500;
    font-weight: bold;
    float: left;
    display: inline-block;
}

.label-blue { color: #667eea !important; }
.label-red { color: #e63946 !important; }
.label-pink { color: #ff6b6b !important; }
.label-yellow { color: #0534c0  !important; }
.label-cyan { color: #48dbfb !important; }
.label-green { color: #1dd1a1 !important; }

.info-item .value {
    color: #333;
    font-weight: 700;
    float: right;
}

.info-item:after {
    content: "";
    display: table;
    clear: both;
}

.logout-container {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid #e9ecef;
    text-align: center;
    clear: both;
}
.logout-btn {
    display: inline-block;
    background: transparent;
    color: #e63946;
    padding: 8px 16px;
    border-radius: 5px;
    border: 1px solid #e63946;
    font-weight: 700;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.logout-btn:hover {  color: #fff; transform: translateY(-1px); }

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    background: rgba(0,0,0,0.5);
    filter: alpha(opacity=50);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
}
.mobile-overlay.show {
    opacity: 1;
    filter: alpha(opacity=50);
    display: block;
}

@media (max-width: 600px) {
    .dropdown-menu {
        width: 100%;
        max-width: 100%;
        left: 0 !important;
        top: auto !important;
        bottom: 0;
        margin-top: 0;
        border-radius: 20px 20px 0 0;
        transform: translateY(120%) scale(1);
        padding: 20px;
        box-shadow: 0 -5px 30px rgba(0,0,0,0.15);
        transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .dropdown-menu.show {
        transform: translateY(0) scale(1);
    }

    .dropdown-menu .arrow, .dropdown-menu:before, .dropdown-menu::after {
        display: none;
    }

    .menu-grid {
        margin: 0;
    }

    .info-item {
        float: none;
        width: 100%;
        margin: 5px 0;
        padding: 12px 15px;
        font-size: 13px;
        min-height: 44px;
        height: auto;
    }

    .info-item .label i {
        font-size: 15px;
        width: 20px;
    }

    .logout-container {
        margin-top: 15px;
        padding-top: 15px;
    }

    .logout-btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
}

.login_status { display: inline-block !important; margin: 0 !important; }
.dropdown-menu { z-index: 999999 !important; }
.user-name { display: inline-block !important; margin-left: 5px; } /* 强制显示用户名，否则只有头像 */
.dropdown-menu, .dropdown-menu * {
    box-sizing: border-box !important;
}
.dropdown-menu {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    line-height: 1.5;
    text-align: left;
}
