/* ================= 核心风格复刻 ================= */
body {
    background: url('http://www.fillster.com/images/backgrounds/76a.jpg') fixed repeat;
    background-color: #000000;
    font-family: "宋体", SimSun, Verdana, Arial, sans-serif;
    font-size: 12px;
    color: #FFFFFF;
    margin: 0;
    padding: 20px 0;
}

a {
    color: #BEA703;
    text-decoration: none;
}
a:hover {
    color: #7FFF00;
    text-decoration: underline;
    font-weight: bold;
}

/* ================= 布局框架 ================= */
.container {
    width: 800px;
    margin: 0 auto;
    background-color: transparent;
}

.nav-bar {
    background-color: #2A2A2A;
    border: 2px solid #FF0000;
    padding: 10px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}
.nav-bar a {
    color: #FFFFFF;
    margin: 0 15px;
}
.nav-bar a:hover { color: #7FFF00; }

.visitor-counter {
    font-size: 10px;
    color: #888;
    margin-top: 5px;
    font-weight: normal;
}
.visitor-counter span {
    color: #FF0000;
    font-weight: bold;
    font-size: 13px;
}

.left-column {
    float: left;
    width: 300px;
}
.right-column {
    float: right;
    width: 480px;
}

/* ================= 通用盒子样式 ================= */
.box {
    background-color: #2A2A2A;
    border: 2px solid #FF0000;
    margin-bottom: 15px;
    padding: 12px;
}
.box-title {
    color: #FF0000;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 12px;
    text-transform: uppercase;
    border-bottom: 1px dashed #FF0000;
    padding-bottom: 5px;
}

/* ================= 个人信息 ================= */
.profile-header { display: flex; gap: 15px; margin-bottom: 15px; }
.profile-pic { border: 1px solid #FFFFFF; width: 120px; height: auto; }
.profile-details p { margin: 5px 0; }

table.interests {
    width: 100%;
    border-collapse: collapse;
    background-color: #1A1A1A;
}
table.interests td {
    padding: 6px;
    border: 1px solid #FF0000;
}
table.interests td:first-child {
    font-weight: bold;
    width: 35%;
    color: #7FFF00;
    background-color: #333333;
}

/* ================= 复古音乐播放器 (Winamp 风格) ================= */
.retro-player {
    background: linear-gradient(180deg, #2A2A2A 0%, #1A1A1A 100%);
    border: 1px solid #555;
    border-top-color: #666;
    border-left-color: #666;
    border-right-color: #333;
    border-bottom-color: #333;
    padding: 8px;
}

.player-display {
    background-color: #001100;
    border: 2px inset #333;
    padding: 8px 10px;
    margin-bottom: 6px;
    overflow: hidden;
}
.player-display-title {
    color: #00FF00;
    font-family: "Courier New", "宋体", monospace;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    text-shadow: 0 0 6px #00FF00;
}

.player-time-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-family: "Courier New", monospace;
    font-size: 11px;
    color: #00FF00;
    text-shadow: 0 0 4px #00FF00;
}

.player-progress-wrap {
    flex: 1;
    height: 10px;
    background-color: #0A0A0A;
    border: 1px inset #333;
    cursor: pointer;
    position: relative;
}
.player-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #006600, #00FF00);
    transition: width 0.3s linear;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
}
.player-btn {
    background: linear-gradient(180deg, #444 0%, #222 100%);
    border: 1px outset #555;
    color: #DDD;
    font-size: 14px;
    width: 32px;
    height: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-family: inherit;
}
.player-btn:hover {
    background: linear-gradient(180deg, #555 0%, #333 100%);
    color: #7FFF00;
}
.player-btn:active {
    border-style: inset;
    background: linear-gradient(180deg, #222 0%, #111 100%);
}
.player-btn-play {
    width: 40px;
    font-size: 16px;
    color: #00FF00;
}

.player-volume-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 10px;
}
.volume-icon {
    font-size: 12px;
}
.player-volume {
    width: 60px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #333;
    outline: none;
    cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 16px;
    background: linear-gradient(180deg, #666 0%, #333 100%);
    border: 1px outset #555;
    cursor: pointer;
}

.player-playlist {
    background-color: #0A0A0A;
    border: 1px inset #333;
    max-height: 120px;
    overflow-y: auto;
}
.playlist-item {
    padding: 4px 8px;
    cursor: pointer;
    color: #BBB;
    font-size: 11px;
    border-bottom: 1px solid #1A1A1A;
}
.playlist-item:hover {
    background-color: #1A1A1A;
    color: #FFFFFF;
}
.playlist-item.active {
    background-color: #000033;
    color: #00FF00;
    font-weight: bold;
}
.playlist-empty {
    color: #555;
    text-align: center;
    padding: 10px;
    font-size: 11px;
}

/* 播放器滚动条 */
.player-playlist::-webkit-scrollbar { width: 8px; }
.player-playlist::-webkit-scrollbar-track { background: #0A0A0A; }
.player-playlist::-webkit-scrollbar-thumb { background: #333; border: 1px solid #222; }

/* ================= 日志 ================= */
.blog-entry {
    margin-bottom: 15px;
    border-bottom: 1px dotted #FF0000;
    padding-bottom: 10px;
}
.blog-entry:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.blog-title { color: #7FFF00; font-weight: bold; font-size: 14px; }
.blog-date { font-size: 10px; color: #BEA703; margin-top: 3px; }
.blog-content { line-height: 1.5; margin-top: 8px; }
.blog-content.collapsed {
    max-height: 4.5em; /* ~3行 */
    overflow: hidden;
    position: relative;
}
.blog-content.collapsed::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2em;
    background: linear-gradient(transparent, #1A1A1A);
    pointer-events: none;
}
.blog-toggle {
    color: #BEA703;
    font-size: 11px;
    cursor: pointer;
    margin-top: 4px;
    display: inline-block;
}
.blog-toggle:hover {
    color: #7FFF00;
    text-decoration: underline;
}

/* ================= 留言板 ================= */
.guestbook-form {
    background-color: #1A1A1A;
    border: 1px solid #FF0000;
    padding: 10px;
    margin-bottom: 10px;
}
.form-row {
    margin-bottom: 8px;
}
.form-row label {
    display: inline-block;
    width: 45px;
    color: #7FFF00;
    font-weight: bold;
    font-size: 12px;
    vertical-align: top;
    padding-top: 4px;
}
.form-row input,
.form-row textarea {
    width: calc(100% - 55px);
    background-color: #0A0A0A;
    border: 1px solid #FF0000;
    color: #FFFFFF;
    padding: 5px;
    font-family: "宋体", SimSun, Verdana, Arial, sans-serif;
    font-size: 12px;
    resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #7FFF00;
    box-shadow: 0 0 4px rgba(127, 255, 0, 0.3);
}

.guestbook-actions {
    text-align: right;
    margin-bottom: 8px;
}
.clear-link, .clear-link:visited {
    color: #555 !important;
    font-size: 10px;
    font-weight: normal !important;
}
.clear-link:hover { color: #FF0000 !important; }

.comment {
    background-color: #1A1A1A;
    padding: 8px 10px;
    margin-bottom: 8px;
    border: 1px solid #333;
}
.comment-name {
    color: #BEA703;
    font-weight: bold;
}
.comment-date {
    font-size: 10px;
    color: #666;
    margin: 2px 0 4px 0;
}
.comment-text {
    color: #DDD;
    word-wrap: break-word;
    line-height: 1.5;
}
.no-comments {
    text-align: center;
    color: #555;
    padding: 15px;
    font-style: italic;
}

.btn {
    background-color: #FF0000;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    padding: 5px 15px;
    cursor: pointer;
    font-weight: bold;
    font-family: "宋体", SimSun, Verdana, Arial, sans-serif;
}
.btn:hover { background-color: #7FFF00; color: #000; border-color: #000; }
.btn-small {
    font-size: 10px;
    padding: 2px 8px;
    margin-top: 6px;
}
.blog-admin-actions {
    margin-top: 6px;
}

/* ================= 全宽页面（日志页、留言板页） ================= */
.page-full {
    width: 100%;
}
.page-subtitle {
    color: #666;
    font-size: 10px;
    margin-bottom: 12px;
    text-align: right;
}

/* ================= 通用 ================= */
.clear { clear: both; }
.footer { text-align: center; margin-top: 20px; font-size: 10px; color: #888; }
