* {
    box-sizing: border-box;
    min-width: 0;
}
body.fairly-body {
    margin: 0;
    padding: 0;
    background: #fdfcfb;
    color: #292524;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
}
img {
    max-width: 100%;
    height: auto;
}
a {
    text-decoration: none;
    color: inherit;
}
.fairly-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.fairly-top-nav {
    background: #ffffff;
    border-bottom: 1px solid #e7e5e4;
}
.fairly-nav-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}
.fairly-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #1c1917;
}
.fairly-brand img {
    height: 34px;
}
.fairly-nav-list {
    display: flex;
    gap: 12px;
}
.fairly-nav-a {
    font-size: 14px;
    color: #57534e;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s;
}
.fairly-nav-a:hover, .fairly-nav-a.active {
    background: #f5f5f4;
    color: #0c0a09;
}
.fairly-main-content {
    padding-top: 24px;
    padding-bottom: 60px;
}
.fairly-notice-board {
    background: #ffffff;
    border: 1px solid #e7e5e4;
    border-left: 4px solid #ea580c;
    padding: 10px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.fairly-tag-label {
    background: #ffedd5;
    color: #c2410c;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}
.fairly-notice-msg {
    font-size: 13px;
    color: #44403c;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fairly-split-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
}
.fairly-panel {
    background: #ffffff;
    border: 1px solid #e7e5e4;
    border-radius: 10px;
    padding: 20px;
}
.fairly-panel-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}
.fairly-mark-bar {
    width: 4px;
    height: 18px;
    background: #ea580c;
    border-radius: 2px;
}
.fairly-panel-head h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1c1917;
}
.fairly-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.fairly-card-show {
    border: 1px solid #e7e5e4;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    gap: 12px;
    background: #fafaf9;
}
.fairly-card-thumb {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #e7e5e4;
}
.fairly-card-thumb img {
    max-height: 60px;
}
.fairly-card-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.fairly-mini-pill {
    align-self: flex-start;
    background: #ffedd5;
    color: #c2410c;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}
.fairly-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #1c1917;
    margin: 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
}
.fairly-card-action {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fairly-cost {
    color: #ea580c;
    font-size: 16px;
    font-weight: 700;
}
.fairly-btn-go {
    background: #ea580c;
    color: #ffffff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
}
.fairly-news-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fairly-news-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 6px;
    background: #fafaf9;
    border: 1px solid #f5f5f4;
    transition: all 0.2s;
}
.fairly-news-row:hover {
    background: #f5f5f4;
}
.fairly-news-tag {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}
.fairly-news-title {
    font-size: 13px;
    color: #292524;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fairly-matrix-quad {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.fairly-quad-card {
    border: 1px solid #e7e5e4;
    border-radius: 6px;
    background: #ffffff;
    padding: 12px;
    display: flex;
    flex-direction: column;
}
.fairly-quad-thumb {
    height: 100px;
    background: #fafaf9;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.fairly-quad-thumb img {
    max-height: 70px;
}
.fairly-quad-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.fairly-quad-name {
    font-size: 13px;
    font-weight: 600;
    color: #1c1917;
    margin-bottom: 6px;
    height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fairly-quad-flex {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fairly-quad-btn {
    background: #1c1917;
    color: #ffffff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 3px;
}
.fairly-detail-split {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
}
.fairly-cover-box {
    border: 1px solid #e7e5e4;
    border-radius: 8px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafaf9;
}
.fairly-cover-box img {
    max-height: 180px;
}
.fairly-detail-title {
    margin: 8px 0 16px 0;
    font-size: 19px;
    color: #1c1917;
}
.fairly-price-badge-row {
    background: #fafaf9;
    border-radius: 6px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.fairly-cost-label {
    font-size: 12px;
    color: #78716c;
}
.fairly-big-cost {
    color: #ea580c;
    font-size: 22px;
    font-weight: 700;
}
.fairly-stock-tag {
    font-size: 12px;
    color: #78716c;
}
.fairly-input-group {
    margin-bottom: 12px;
}
.fairly-input-group label {
    display: block;
    font-size: 12px;
    color: #44403c;
    margin-bottom: 4px;
}
.fairly-ctrl {
    width: 100%;
    height: 38px;
    border: 1px solid #d6d3d1;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 13px;
}
.fairly-btn-large {
    display: block;
    background: #ea580c;
    color: #ffffff;
    text-align: center;
    height: 42px;
    line-height: 42px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
}
.fairly-desc-deck {
    margin-top: 30px;
    border-top: 1px solid #e7e5e4;
    padding-top: 20px;
}
.fairly-desc-tab {
    font-size: 15px;
    font-weight: 700;
    color: #ea580c;
    border-left: 3px solid #ea580c;
    padding-left: 8px;
    margin-bottom: 16px;
}
.fairly-desc-text {
    line-height: 1.8;
    font-size: 14px;
    color: #57534e;
    word-break: break-word;
}
.fairly-desc-text p {
    margin-bottom: 14px;
}
.fairly-footer {
    background: #292524;
    padding: 24px 0;
    text-align: center;
    color: #a8a29e;
}
.fairly-foot-links {
    font-size: 13px;
    margin-bottom: 8px;
}
.fairly-dot {
    margin: 0 8px;
}
.fairly-copy-text {
    font-size: 12px;
}
.fairly-tip-box {
    background: #fff7ed;
    border: 1px solid #ffedd5;
    color: #9a3412;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 16px;
}
.fairly-tab-ribbon {
    display: flex;
    border-bottom: 1px solid #e7e5e4;
    margin-bottom: 20px;
}
.fairly-t-link {
    padding: 8px 16px;
    font-size: 13px;
    color: #78716c;
    border-bottom: 2px solid transparent;
}
.fairly-t-link.active {
    color: #ea580c;
    border-bottom-color: #ea580c;
    font-weight: 700;
}
.fairly-empty {
    text-align: center;
    color: #a8a29e;
    padding: 30px 0;
    font-size: 13px;
}
.fairly-auth-card {
    max-width: 400px;
    margin: 30px auto;
    text-align: center;
}
.fairly-pay-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f4;
    font-size: 14px;
}
@media (max-width: 768px) {
    .fairly-split-layout { grid-template-columns: 1fr !important; }
    .fairly-showcase-grid { grid-template-columns: 1fr !important; }
    .fairly-matrix-quad { grid-template-columns: repeat(2, 1fr) !important; }
    .fairly-detail-split { grid-template-columns: 1fr !important; }
    .fairly-nav-list { display: none; }
}
