[data-locale-open][hidden],.locale-picker[hidden]{display:none!important}
.locale-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 12px;border:1px solid #d9c4c2;border-radius:9px;background:#fff;color:#342727;font:600 13px/1.4 Arial,sans-serif;cursor:pointer;white-space:nowrap;flex:0 0 auto}
.locale-trigger svg{width:18px;height:18px;flex-shrink:0}
.locale-footer-trigger{margin-top:16px;white-space:normal;text-align:left}
.locale-trigger:focus-visible,.locale-dialog button:focus-visible,.locale-dialog select:focus-visible{outline:3px solid #9a3035;outline-offset:3px}
.locale-modal-open{overflow:hidden}
.locale-dialog{width:calc(100% - 32px);max-width:480px;max-height:calc(100dvh - 32px);box-sizing:border-box;margin:auto;padding:28px;border:1px solid #d9c4c2;border-radius:18px;background:#fff;color:#342727;overflow:auto;box-shadow:0 24px 80px #20101540;font-family:Arial,'Noto Sans JP','Yu Gothic',Meiryo,sans-serif}
.locale-dialog::backdrop{background:rgb(27 19 21 / .6)}
.locale-dialog:not([open]){display:none}
.locale-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px}
.locale-dialog h2{font-size:25px;line-height:1.35;margin:0;letter-spacing:0}
.locale-close{display:grid;place-items:center;min-width:44px;min-height:44px;flex-shrink:0;border:1px solid #dccbc9;border-radius:50%;font-size:26px;line-height:1;background:white;color:#342727;cursor:pointer}
.locale-dialog label,.locale-region-label{display:block;font-weight:700;font-size:15px;margin-bottom:8px}
.locale-dialog select{display:block;width:100%;min-height:50px;padding:12px;border:1px solid #9f8582;border-radius:8px;background:#fff;color:#342727;font-size:16px;line-height:1.5;font-family:inherit}
.locale-region-label{margin-top:20px}
.locale-dialog output{display:block;font-size:17px;line-height:1.6}
.locale-dialog p{font-size:14px;line-height:1.7;margin:14px 0;color:#594b49;overflow-wrap:anywhere}
.locale-status{padding:12px;border-radius:8px;background:#fff4f0;min-height:3em}
.locale-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end;margin-top:24px}
.locale-actions button{min-height:46px;padding:11px 18px;cursor:pointer;border:1px solid #d9c4c2;border-radius:8px;font:600 15px/1.5 Arial,sans-serif;background:#fff;color:#342727}
.locale-actions [data-locale-apply]{background:#a3313b;color:white;border-color:#a3313b}
.locale-options p{margin:5px 10px;font-size:12px;line-height:1.6;color:#594b49}
@media(max-width:760px){.headrow>.locale-trigger{order:2;margin-left:0}.locale-dialog{padding:22px}.locale-dialog h2{font-size:23px}.locale-actions{flex-direction:column-reverse}.locale-actions button{width:100%}}
@media(max-width:420px){.headrow>.locale-trigger{font-size:12px;padding:8px}.locale-dialog{padding:20px;max-height:calc(100dvh - 20px)}}
