body { margin: 0; background: #0d0d0d; color: #a3a3a3; font-family: 'Courier New', monospace; font-size: 12px; line-height: 1.6; }
.rif-layout { max-width: 900px; margin: 40px auto; padding: 0 15px; box-sizing: border-box; }
.rif-header { border: 2px solid #1a1a1a; padding: 25px; background: #050505; margin-bottom: 30px; text-align: center; }
.rif-logo img { height: 20px; filter: grayscale(1) invert(1) brightness(1.2); margin-bottom: 15px; }
.rif-nav { display: flex; justify-content: center; gap: 30px; border-top: 1px solid #1a1a1a; padding-top: 15px; }
.rif-nav a { color: #555; text-decoration: none; font-size: 12px; font-weight: bold; }
.rif-nav a:hover, .rif-nav .active { color: #c2410c; text-shadow: 0 0 8px rgba(194,65,12,0.4); }
.rif-notice-bar { border: 1px dashed #c2410c; padding: 15px; background: #050505; margin-bottom: 30px; }
.rif-notice-title { font-weight: bold; color: #c2410c; margin-bottom: 5px; }
.rif-cat-hd { font-size: 13px; font-weight: bold; margin: 35px 0 15px; border-bottom: 1px solid #1a1a1a; padding-bottom: 5px; color: #c2410c; }
.rif-list { display: flex; flex-direction: column; gap: 20px; }
.rif-card { display: flex; background: #050505; border: 2px solid #1a1a1a; padding: 20px; text-decoration: none; color: #fff; align-items: center; justify-content: space-between; position: relative; }
.rif-card:hover { border-color: #c2410c; background: #0a0a0a; }
.rif-card::after { content: "⇾ ⇾ ⇾ [流向]"; position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 9px; color: #222; }
.rif-list a:last-child .rif-card::after { display: none; }
.rif-info-side { display: flex; align-items: center; gap: 20px; flex: 1; }
.rif-img-box { width: 60px; height: 60px; background: #000; border: 1px solid #1a1a1a; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.rif-img-box img { width: 50%; height: 50%; object-fit: contain; filter: grayscale(1) sepia(1) saturate(5) hue-rotate(330deg); }
.rif-name { font-size: 13px; font-weight: bold; color: #fff; margin-bottom: 5px; }
.rif-price { font-size: 15px; font-weight: bold; color: #c2410c; }
.rif-tag-auto { position: absolute; top: 12px; right: 12px; font-size: 9px; border: 1px solid #c2410c; padding: 1px 5px; color: #c2410c; background: rgba(194,65,12,0.08); }
.rif-trade-node { border: 2px solid #1a1a1a; display: flex; flex-wrap: wrap; background: #050505; }
.rif-media-side { flex: 0 0 35%; padding: 40px; display: flex; align-items: center; border-right: 1px solid #1a1a1a; box-sizing: border-box; background: #000; }
.rif-media-side img { width: 100%; filter: grayscale(1); }
.rif-form-side { flex: 1; padding: 40px; min-width: 320px; box-sizing: border-box; }
.rif-title { font-size: 16px; font-weight: bold; margin-bottom: 15px; border-bottom: 1px solid #1a1a1a; padding-bottom: 10px; }
.rif-tag-status { display: inline-block; padding: 3px 8px; border: 1px solid #1a1a1a; font-size: 10px; margin-bottom: 20px; color: #555; }
.rif-price-node { margin-bottom: 25px; padding: 20px; background: #000; border: 1px solid #1a1a1a; display: flex; justify-content: space-between; align-items: center; }
.rif-input { width: 100%; height: 42px; background: #000; border: 1px solid #1a1a1a; color: #c2410c; padding: 0 15px; box-sizing: border-box; outline: none; }
.rif-input:focus { border-color: #c2410c; }
.rif-btn-submit { width: 100%; height: 46px; background: #c2410c; color: #fff; border: none; cursor: pointer; font-size: 12px; font-weight: bold; transition: 0.2s; }
.rif-btn-submit:hover { opacity: 0.9; }
.rif-btn-submit:disabled { background: #050505; color: #1a1a1a; border: 1px solid #1a1a1a; cursor: not-allowed; }
.rif-desc-box { margin-top: 30px; border: 1px solid #1a1a1a; padding: 30px; background: #050505; }
.rif-desc-title { font-size: 11px; font-weight: bold; margin-bottom: 15px; border-left: 2px solid #c2410c; padding-left: 10px; }
.rif-ls-container { border: 1px solid #1a1a1a; background: #000; }
.rif-ls-th { display: flex; padding: 12px 20px; background: #050505; border-bottom: 1px solid #1a1a1a; color: #555; }
.rif-ls-tr { display: flex; padding: 16px 20px; border-bottom: 1px solid #1a1a1a; align-items: center; }
.rif-ls-tr:last-child { border-bottom: none; }
.rif-cl-name { flex: 2; } .rif-cl-name a { color: #fff; text-decoration: none; font-weight: bold; }
.rif-cl-mode, .rif-cl-price, .rif-cl-stock { flex: 0.8; text-align: center; }
.rif-cl-opt { flex: 0.6; text-align: right; }
.rif-btn-go { display: inline-block; background: #c2410c; color: #fff; padding: 4px 15px; text-decoration: none; font-size: 11px; font-weight: bold; }
.rif-checkout-node { background: #050505; border: 1px solid #1a1a1a; padding: 30px; max-width: 520px; margin: 40px auto; }
.rif-data-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed #1a1a1a; }
.rif-money-total { font-size: 18px; font-weight: bold; color: #c2410c; }
.rif-gateway-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 15px; }
.rif-gateway-btn { background: #000; border: 1px solid #1a1a1a; padding: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.rif-gateway-btn img { height: 24px; filter: grayscale(1); }
.rif-auth-node { background: #050505; border: 1px solid #1a1a1a; overflow: hidden; max-width: 440px; margin: 40px auto; }
.rif-auth-tab { display: flex; background: #000; border-bottom: 1px solid #1a1a1a; }
.rif-auth-link { flex: 1; text-align: center; line-height: 48px; color: #555; text-decoration: none; border-right: 1px solid #1a1a1a; }
.rif-auth-link:last-child { border-right: none; }
.rif-auth-link.is-active { background: #050505; color: #fff; font-weight: bold; position: relative; }
.rif-auth-link.is-active::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: #c2410c; }
.rif-mini-table { margin-top: 20px; border: 1px solid #1a1a1a; overflow: hidden; }
.rif-mini-row { display: flex; padding: 10px; border-bottom: 1px solid #1a1a1a; align-items: center; color: #555; }
.rif-mini-h { background: #000; }
.rif-m-node { border: 1px solid #1a1a1a; margin-bottom: 10px; background: #000; overflow: hidden; }
.rif-m-trigger { padding: 12px; display: flex; justify-content: space-between; cursor: pointer; }
.rif-footer { border-top: 1px solid #1a1a1a; padding-top: 25px; margin-top: 40px; font-size: 11px; text-align: center; color: #555; }
.rif-footer a { color: #555; text-decoration: none; margin: 0 10px; }
@media (max-width: 768px) {
    .rif-card { flex-direction: column; align-items: flex-start; gap: 15px; }
    .rif-footer-meta { width: 100%; display: flex; justify-content: space-between; }
    .rif-trade-node { flex-direction: column; }
    .rif-media-side { border-right: none; }
}
