body { background-color: #f2ece4; color: #2d241d; font-family: "Courier New", Courier, "Lucida Console", "Georgia", "PingFang SC", serif; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
* { box-sizing: border-box; border-radius: 0 !important; }

.tty-wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* 终端顶栏 */
.tty-header { background: #fdfaf6; border-bottom: 2px solid #2d241d; position: sticky; top: 0; z-index: 100; height: 70px; display: flex; align-items: center; }
.tty-nav-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.tty-logo img { height: 26px; border: 1px solid #2d241d; padding: 2px; }

.tty-menu { list-style: none; display: flex; gap: 40px; margin: 0; padding: 0; }
.tty-menu a { font-size: 14px; color: #7a6e60; font-weight: bold; transition: 0.3s; padding: 24px 0; border-bottom: 2px solid transparent; }
.tty-menu a:hover, .tty-active { color: #bc2c3d !important; border-bottom: 2px solid #bc2c3d; }

.tty-user-btn { font-size: 13px; color: #f2ece4; background: #2d241d; padding: 8px 24px; border-radius: 0 !important; font-weight: bold; border: 1px solid #2d241d; transition: 0.3s; }
.tty-user-btn:hover { background: transparent; color: #2d241d; box-shadow: 0 0 15px rgba(44, 36, 29, 0.4); }

/* 系统通知条 */
.tty-notice { background: #ffffff; border: 1px solid #2d241d; border-left: 4px solid #bc2c3d; padding: 18px 25px; margin: 30px 0; display: flex; align-items: center; gap: 15px; }
.tty-notice-dot { width: 8px; height: 8px; background: #bc2c3d; border-radius: 50% !important; flex-shrink: 0; }
.tty-notice-txt { font-size: 14px; color: #2d241d; line-height: 1.6; }

/* 列表标题 */
.tty-sec-title { font-size: 18px; font-weight: bold; color: #bc2c3d; margin: 45px 0 20px; display: flex; align-items: center; gap: 10px; }
.tty-sec-title::before { content: "::"; color: #bc2c3d; font-weight: bold; }

/* 纸质列表流 */
.tty-list-box { display: flex; flex-direction: column; gap: 12px; margin-bottom: 60px; }
.tty-list-row { background: #ffffff; border: 1px solid #2d241d; padding: 20px 24px; display: flex; align-items: center; transition: 0.3s; border-radius: 0 !important; box-shadow: 3px 3px 0px #2d241d; }
.tty-list-row:hover { border-color: #bc2c3d; background: #fdfaf6; box-shadow: 5px 5px 0px #bc2c3d; transform: translate(-2px, -2px); }

.tty-item-img { width: 56px; height: 56px; overflow: hidden; flex-shrink: 0; margin-right: 25px; border: 1px solid #2d241d; background: #fdfaf6; padding: 4px; }
.tty-item-img img { width: 100%; height: 100%; object-fit: contain; }

.tty-item-body { flex-grow: 1; display: flex; flex-direction: column; gap: 8px; }
.tty-item-name { font-size: 16px; font-weight: bold; color: #2d241d; }
.tty-item-meta { display: flex; align-items: center; gap: 16px; font-size: 12px; font-weight: bold; color: #7a6e60; }
.tty-badge-auto { color: #bc2c3d; background: rgba(188, 44, 61, 0.1); padding: 2px 8px; border-radius: 4px !important; border: 1px solid rgba(188, 44, 61, 0.2); }
.tty-badge-hand { color: #2d241d; background: #fdfaf6; padding: 2px 8px; border-radius: 4px !important; border: 1px solid #2d241d; }
.tty-item-stock { color: #7a6e60; }

.tty-item-action { display: flex; align-items: center; gap: 35px; margin-left: 20px; }
.tty-item-price { font-size: 20px; font-weight: bold; color: #bc2c3d; font-family: monospace; }
.tty-btn-buy { background: #fdfaf6; color: #2d241d; padding: 8px 24px; font-size: 13px; font-weight: 600; border-radius: 6px !important; border: 1px solid #2d241d; cursor: pointer; transition: 0.2s; }
.tty-list-row:hover .tty-btn-buy { background: #2d241d; color: #f2ece4; }

/* 详情页面 */
.tty-detail-split { display: flex; gap: 40px; margin-top: 30px; align-items: flex-start; }
.tty-detail-visual { width: 45%; background: #ffffff; border: 1px solid #2d241d; padding: 24px; display: flex; justify-content: center; align-items: center; box-shadow: 4px 4px 0 rgba(44, 36, 29, 0.05); }
.tty-detail-visual img { width: 100%; border: 1px solid #2d241d; }
.tty-detail-right { flex-grow: 1; background: #ffffff; padding: 40px; border: 1px solid #2d241d; border-radius: 12px !important; box-shadow: 5px 5px 0 #bc2c3d; }

.tty-detail-h1 { font-size: 22px; font-weight: 700; color: #2d241d; margin-bottom: 25px; line-height: 1.4; }
.tty-price-ribbon { background: #f2ece4; padding: 20px 25px; margin-bottom: 30px; display: flex; align-items: baseline; gap: 15px; border-left: 4px solid #bc2c3d; border-top: 1px solid #2d241d; border-bottom: 1px solid #2d241d; }
.tty-detail-price { font-size: 34px; font-weight: 700; color: #bc2c3d; font-family: monospace; }
.tty-detail-stock-txt { margin-left: auto; color: #7a6e60; font-size: 13px; font-weight: 600; }

.tty-f-row { margin-bottom: 22px; }
.tty-f-label { display: block; font-size: 12px; font-weight: bold; color: #7a6e60; margin-bottom: 10px; text-transform: uppercase; }
.tty-f-input { width: 100%; padding: 14px 16px; border: 1px solid #2d241d; background: #f2ece4; font-size: 14px; color: #2d241d; transition: 0.2s; outline: none; font-family: inherit; }
.tty-f-input:focus { border-color: #bc2c3d; box-shadow: 0 0 10px rgba(188, 44, 61, 0.1); }
.tty-btn-submit { width: 100%; background: #bc2c3d; color: #f2ece4; padding: 16px; font-size: 16px; font-weight: bold; border: none; cursor: pointer; transition: 0.2s; }
.tty-btn-submit:hover { background: #9d1c2c; box-shadow: 0 0 20px rgba(188, 44, 61, 0.3); }
.tty-btn-submit:disabled { background: #f2ece4; color: #7a6e60; cursor: not-allowed; box-shadow: none; }

.tty-desc-container { background: #ffffff; padding: 40px; border: 1px solid #2d241d; margin-top: 40px; }
.tty-desc-title { font-size: 18px; font-weight: bold; color: #2d241d; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #2d241d; display: flex; align-items: center; gap: 10px; }
.tty-desc-title::before { content: "::"; color: #bc2c3d; font-weight: bold; }
.tty-desc-html { line-height: 1.8; font-size: 14px; color: #7a6e60; }

.tty-footer { text-align: center; padding: 40px 0; margin-top: 60px; color: #7a6e60; font-size: 13px; border-top: 1px solid #2d241d; background: #ffffff; }

@media (max-width: 900px) {
    .tty-detail-split { flex-direction: column; }
    .tty-detail-visual, .tty-detail-right { width: 100%; }
}
@media (max-width: 768px) {
    header ul { display: none !important; }
    tr img, div img { max-width: 100%; }
    .tty-list-row { flex-direction: column; align-items: flex-start; padding: 20px; }
    .tty-item-img { margin-bottom: 15px; margin-right: 0; }
    .tty-item-action { margin-left: 0; margin-top: 20px; width: 100%; justify-content: space-between; border-top: 1px solid #2d241d; padding-top: 15px; }
}\n