.asr { margin: 20px 0; }
.asr * { box-sizing: border-box; }
.asr-group { border: 1px solid #e7e7e7; margin: 0 0 8px; border-radius: 4px; overflow: hidden; }
.asr-group summary { position: relative; display: block; cursor: pointer; padding: 12px 14px; font-weight: 700; color: #3a3a3a; background: #e7e7e7; list-style: none; }
.asr-group summary::-webkit-details-marker { display: none; }
.asr-group summary::after { content: '+'; float: right; font-size: 19px; line-height: 1; }
.asr-group[open] summary::after { content: '−'; }
.asr-options { display: flex; flex-wrap: wrap; gap: 10px 14px; padding: 13px 12px; }
.asr-option { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; font-weight: 400; line-height: 1.5; }
.asr-option input { accent-color: #ad7774; width: 16px; height: 16px; margin: 0; }
.asr-reset { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin: 12px 0 14px; padding: 8px 22px; border: 1px solid #b7b7b7; border-radius: 5px; background: #f5f5f5; color: #3a3a3a; font-size: 14px; font-weight: 600; line-height: 1.5; cursor: pointer; transition: background-color .15s, border-color .15s; }
.asr-reset:hover { background: #e7e7e7; border-color: #999; }
.asr-reset:focus-visible { outline: 2px solid #95645f; outline-offset: 3px; }
.asr-count { margin: 12px 0; color: #666; font-size: 14px; }
.asr-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 !important; margin: 0 !important; list-style: none !important; height: auto !important; }
.asr-card { display: block; min-width: 0; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.asr-card::before { display: none !important; }
.asr-card-trigger { display: block; border: 0; margin: 0; padding: 0; background: transparent; cursor: pointer; width: 100%; }
.asr-card-trigger:hover { opacity: .8; }
.asr-card img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.asr-no-image { display: grid; place-items: center; background: #eee; aspect-ratio: 1; }
.asr-bottom { text-align: center; margin: 18px 0; }
.asr-more { border: 2px solid #555; border-radius: 5px; padding: 12px 24px; cursor: pointer; background: #fff; color: #333; font-weight: bold; width: min(100%, 360px); }
.asr-more:disabled { opacity: .6; }
.asr-loading,.asr-empty,.asr-error { text-align: center; margin: 12px 0; }
.asr-error { color: #a33; }
.asr [hidden] { display: none !important; }
.asr-modal { position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.asr-modal-panel { position: relative; background: #fff; color: #333; width: min(540px, 100%); max-height: 90vh; overflow: auto; padding: 28px 20px 20px; text-align: center; border-radius: 6px; }
.asr-close { position: absolute; right: 10px; top: 5px; border: 0; background: transparent; cursor: pointer; font-size: 32px; line-height: 1; }
.asr-modal-image { display: block; width: 100%; height: auto; }
.asr-modal-title { font-size: 18px; margin: 12px 0 0; }
.asr-modal-english { color: #777; font-size: 14px; margin: 4px 0; }
.asr-modal-link { display: inline-block; background: #e3bbb8; color: #fff !important; border-radius: 5px; padding: 7px 30px; margin: 10px auto 0; text-decoration: none; }
body.asr-modal-open { overflow: hidden; }
@media (max-width:768px) { .asr-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
