/* A-098: adopted structure with owner-approved original banknote image marks. */
.adopted-banknotes .banknotes-intro{margin:0 12px 18px;font-size:14px;line-height:1.55;color:var(--rates-muted)}
.adopted-banknotes .banknotes-section-heading{font-family:var(--font-body);font-size:15px;font-weight:600;line-height:1.4;color:var(--rates-muted);margin:0 12px 12px}
.adopted-banknotes .banknotes-card{background:#fff;border:1px solid var(--rates-line);border-radius:16px;overflow:hidden}
.adopted-banknotes .banknote-currency{border:0;border-bottom:1px solid var(--rates-line);border-radius:0;background:#fff;margin:0;padding:0}
.adopted-banknotes .banknote-currency>summary{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:52px;padding:13px 42px 13px 20px;font-size:17px;font-weight:600;line-height:1.4}
.adopted-banknotes .banknote-currency>summary span{font-size:13px;font-weight:400;color:var(--rates-muted)}
.adopted-banknotes .banknote-currency>summary::after,.adopted-banknotes .other-banknotes>summary::after{content:'';position:absolute;right:22px;width:7px;height:7px;border-right:1.5px solid var(--rates-muted);border-bottom:1.5px solid var(--rates-muted);rotate:45deg}
.adopted-banknotes .banknote-currency[open]>summary{background:#f5f7fa;border-bottom:1px solid var(--rates-line)}
.adopted-banknotes .banknote-currency[open]>summary::after,.adopted-banknotes .other-banknotes[open]>summary::after{rotate:225deg}
.adopted-banknotes .banknote-content{padding:13px 16px 18px}
.adopted-banknotes .banknote-enlarge-hint{display:flex;align-items:center;gap:7px;font-size:13px;line-height:1.4;color:var(--rates-muted);margin:0 0 14px}
.adopted-banknotes .banknote-mark-legend{font-size:13px;line-height:1.5;color:var(--rates-muted);margin:0 0 12px}
.adopted-banknotes .banknote-zoom-icon{width:16px;height:16px;flex:none}
.adopted-banknotes .banknote-pending-note{margin:0 0 12px}
.adopted-banknotes .banknote-pending-note h3{font-size:15px;font-weight:600;line-height:1.4;color:var(--rates-muted);margin:0 0 4px}
.adopted-banknotes .banknote-pending-note p{font-size:12px;line-height:1.5;color:var(--rates-muted)}
.adopted-banknotes .banknote-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.adopted-banknotes .banknote-grid figure{margin:0;min-width:0}
.adopted-banknotes .banknote-grid figcaption{font-size:12px;line-height:1.4;margin:6px 0 0;color:var(--rates-muted)}
.adopted-banknotes .banknote-preview{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-width:0;aspect-ratio:1.76;border:1px solid var(--rates-line);border-radius:11px;background:#f5f7fa;color:var(--rates-muted);padding:7px;text-decoration:none;overflow:hidden}
.adopted-banknotes .banknote-placeholder{font-family:var(--font-body);font-size:13px;font-weight:400;border-style:dashed;cursor:zoom-in}
.adopted-banknotes .banknote-preview>.banknote-zoom-icon{position:absolute;right:7px;bottom:7px;color:#1b4c9a}
.adopted-banknotes .banknote-preview img{display:block;width:100%;height:100%;max-height:none;object-fit:contain}
.adopted-banknotes .banknote-status{font-size:16px;font-weight:600;line-height:1.4;margin:0 0 10px}
.adopted-banknotes .banknote-status-ok{color:#24724e}
.adopted-banknotes .banknote-status-ng{color:#b53c2c}
.adopted-banknotes .banknote-grid+.banknote-status,.adopted-banknotes .banknote-grid+.banknote-pending-note{margin-top:18px}
.adopted-banknotes .other-banknotes{margin:0;border:0;padding:0}
.adopted-banknotes .other-banknotes>summary{position:relative;display:flex;align-items:center;justify-content:center;min-height:49px;padding:12px 40px;font-size:15px;font-weight:600;line-height:1.4;color:#1b4c9a}
.adopted-banknotes .other-banknotes>summary::after{border-color:currentColor}
.adopted-banknotes .other-banknotes[open]>summary{border-bottom:1px solid var(--rates-line)}
.adopted-banknotes .other-banknotes .banknote-currency:last-child{border-bottom:0}
.adopted-banknotes .condition-notes{margin:20px 0 0;padding:0;border:0;border-radius:0;background:transparent}
.adopted-banknotes .condition-card{background:#fff;border:1px solid var(--rates-line);border-radius:16px;padding:16px}
.adopted-banknotes .condition-card>p{font-size:14px;line-height:1.55}
.adopted-banknotes .condition-image-grid{margin-top:16px}
.adopted-banknotes .condition-image-grid .banknote-preview{aspect-ratio:210/130;padding:0;border-radius:8px}
.adopted-banknotes .condition-card ul{display:flex;flex-direction:column;gap:12px;list-style:none;margin:16px 0 0;padding:0}
.adopted-banknotes .condition-card li{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;line-height:1.4}
.adopted-banknotes .condition-card .top-icon{color:var(--rates-muted);width:20px;height:20px}
.adopted-banknotes .banknote-dialog{width:calc(100% - 24px);max-width:900px;max-height:calc(100dvh - 32px);padding:16px;border:1px solid var(--rates-line);border-radius:16px;color:#172235;background:#fff;font-family:var(--font-body);overflow:auto}
.adopted-banknotes .banknote-dialog::backdrop{background:rgba(16,30,49,.72)}
.adopted-banknotes:has(.banknote-dialog[open]){overflow:hidden}
.adopted-banknotes .banknote-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.adopted-banknotes .banknote-dialog-header h2{font-size:17px;font-weight:600;line-height:1.4;margin:0}
.adopted-banknotes .banknote-dialog-close{font-family:var(--font-body);font-size:14px;font-weight:500;background:#f5f7fa;border:1px solid var(--rates-line);border-radius:8px;min-height:44px;padding:8px 14px;color:#1b3358;flex:none}
.adopted-banknotes .banknote-dialog-scroll{overflow:auto;max-height:65dvh}
.adopted-banknotes .banknote-dialog-image{width:100%;height:auto;max-height:65dvh;object-fit:contain;display:block}
.adopted-banknotes .banknote-dialog-placeholder{aspect-ratio:1.76;display:flex;align-items:center;justify-content:center;background:#f5f7fa;border:1px dashed #b4c4d9;border-radius:11px;color:var(--rates-muted);font-size:18px}
.adopted-banknotes .banknote-dialog [hidden]{display:none}
.adopted-banknotes .banknote-dialog-note{margin-top:12px;font-size:13px;line-height:1.5;color:var(--rates-muted)}
.adopted-banknotes .banknote-preview:focus-visible,.adopted-banknotes summary:focus-visible,.adopted-banknotes .banknote-dialog-close:focus-visible{outline:3px solid #1b4c9a;outline-offset:-3px}
html[lang=en] .adopted-banknotes .banknote-currency>summary strong{font-size:17px}
@media(max-width:360px){.adopted-banknotes .rates-page-heading{gap:8px;padding:0}.adopted-banknotes .rates-page-heading h1{font-size:23px}.adopted-banknotes .banknote-currency>summary{padding-left:16px}.adopted-banknotes .banknote-content{padding-left:12px;padding-right:12px}.adopted-banknotes .banknotes-intro{margin-left:8px;margin-right:8px}.adopted-banknotes .banknote-grid{gap:8px}}
/* A-101: PC only; retain the accepted two-column mobile and condition examples. */
@media screen and (min-width:900px){
 .adopted-banknotes main{max-width:900px}
 .adopted-banknotes .banknote-grid:not(.condition-image-grid){grid-template-columns:repeat(3,minmax(0,1fr))}
}
