.currency_compare { width:100%; max-width:760px; box-sizing:border-box; margin:16px 0; padding:16px; border:1px solid var(--gray-200); border-radius:10px; background:var(--white); color:var(--gray-700); }
.currency_compare[hidden],.currency_compare_result[hidden] { display:none; }
.currency_compare_heading { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 12px; margin-bottom:8px; }
.currency_compare_heading label { font-size:14px; font-weight:var(--medium); }
.currency_compare_heading span { font-size:12px; color:var(--gray-600); overflow-wrap:anywhere; }
.currency_compare_fields { display:flex; align-items:start; gap:8px; }
.currency_compare_amount { display:grid; grid-template-columns:minmax(0,1fr) 120px; flex:1; gap:8px; min-width:0; }
.currency_compare_amount > input { min-width:0; width:100%; height:44px; min-height:44px; box-sizing:border-box; border:1px solid var(--gray-300); border-radius:6px; padding:10px 12px; background:var(--white); color:var(--gray-700); font-size:14px; font-variant-numeric:tabular-nums; transform:none; }
.currency_compare_amount > div { min-width:0; }
.currency_compare_amount .select { width:100%; }
.currency_compare_amount .select_main { height:44px; min-height:44px; box-sizing:border-box; padding:8px 10px; border:1px solid var(--gray-300); border-radius:6px; background:var(--white); }
.currency_compare_amount.is-long-amount { grid-template-columns:minmax(0,1fr); }
.currency_compare_amount.is-long-amount > [data-currency-compare-unit] { width:120px; justify-self:end; }
.currency_compare_amount .select_text p { font-size:13px; white-space:normal; overflow-wrap:anywhere; }
.currency_compare_fields > button { flex-shrink:0; height:44px; min-height:44px; box-sizing:border-box; border-radius:6px; padding:10px 14px; font-size:13px; }
.currency_compare_apply { background:var(--orange-500,#ff962d); color:#241b12; }
.currency_compare_reset { border:1px solid var(--gray-300); background:var(--white); color:var(--gray-600); }
.currency_compare_fields :disabled { opacity:.5; cursor:not-allowed; }
.currency_compare_amount .select_main[aria-disabled="true"] { opacity:.5; pointer-events:none; }
.currency_compare_amount > input:focus-visible,.currency_compare_fields > button:focus-visible { outline:2px solid var(--orange-500,#ff962d); outline-offset:2px; }
.currency_compare_status { margin-top:8px; font-size:12px; line-height:1.6; color:var(--gray-600); overflow-wrap:anywhere; }
.currency_compare.is-invalid .currency_compare_status { color:#b33b27; }
.currency_compare_results[hidden] { display:none; }
#currencyCompareHost:has(.currency_compare_results:not([hidden])) ~ .sales_list { display:none; }
.currency_compare_results { margin:16px 0; }
.currency_compare_results .sec_header { display:block; margin-bottom:16px; }
.currency_compare_results .sec_header p { margin-top:6px; font-size:12px; line-height:1.5; color:var(--gray-600); }
.currency_compare_results .currency_compare_more { display:block; min-height:44px; margin:20px auto; padding:10px 20px; border:1px solid var(--gray-300); border-radius:6px; background:var(--white); color:var(--gray-700); font-size:14px; }
.currency_compare_results .currency_compare_more[hidden] { display:none; }
.currency_compare_results .currency_compare_more:disabled { opacity:.5; }
.currency_compare_results .currency_compare_more:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
.currency_compare_message { padding:24px 16px; border:1px solid var(--gray-200); border-radius:10px; text-align:center; color:var(--gray-700); }
.currency_compare_message p { line-height:1.6; overflow-wrap:anywhere; }
.currency_compare_message p + p { margin-top:6px; font-size:13px; color:var(--gray-600); }
.currency_compare_message button { min-height:44px; margin-top:14px; padding:8px 18px; border:1px solid var(--gray-300); border-radius:6px; background:var(--white); color:var(--gray-700); font-size:14px; }
.currency_compare_message button:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
:is(html.dark,body.dark) .currency_compare_message,:is(html.dark,body.dark) .currency_compare_message button { border-color:var(--dark-line); }
:is(html.dark,body.dark) .currency_compare_more { border-color:var(--dark-line); }
.currency_compare_result { display:flex; flex-direction:column; gap:4px; line-height:1.5; white-space:normal; overflow-wrap:anywhere; }
.item_price .currency_compare_result small { font-size:13px; font-weight:400; color:var(--gray-600); }
.item_price .currency_compare_result strong { font-size:18px; font-weight:700; color:#b75500; font-variant-numeric:tabular-nums; }
.item_price .currency_compare_reason { font-size:12px; font-weight:400; color:var(--gray-500); }
.item_price .currency_compare_result.is-unavailable strong { font-size:14px; color:var(--gray-600); }
.item_card.is-currency-comparing .currency_order_price { display:none; }
.item_card.is-currency-comparing .item_price > span:not(.currency_compare_result):not([data-currency-comparison]):not(.currency_seller_price) { display:none; }
.item_card.is-currency-comparing .item_price > [data-currency-comparison] { display:block; font-size:12px; font-weight:400; color:var(--gray-500); }
:is(html.dark,body.dark) .currency_compare { border-color:var(--dark-line); }
:is(html.dark,body.dark) .currency_compare_amount > input,:is(html.dark,body.dark) .currency_compare_amount .select_main,:is(html.dark,body.dark) .currency_compare_reset { border-color:var(--dark-line); }
:is(html.dark,body.dark) .currency_compare.is-invalid .currency_compare_status { color:#ffb4a5; }
:is(html.dark,body.dark) .item_price .currency_compare_result strong { color:#ffb26c; }
:is(html.dark,body.dark) .item_price .currency_compare_result.is-unavailable strong { color:var(--gray-600); }
@media(max-width:600px) {
    .currency_compare { padding:12px; }
    .currency_compare_fields { display:grid; grid-template-columns:1fr auto; }
    .currency_compare_amount { grid-column:1/-1; grid-template-columns:minmax(0,1fr) 110px; }
    .currency_compare_amount > input { font-size:16px; }
}
