* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; background: #eaf2f5; color: #102a36; font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif; }
.pillow-backdrop { position: fixed; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 25% 20%, #fff 0, transparent 55%), linear-gradient(135deg, #f7fafb, #dce9ee 55%, #b7ced8); }
.pillow-backdrop picture, .pillow-backdrop img { display: block; width: 100%; height: 100%; }
.pillow-backdrop img { object-fit: cover; object-position: center top; }
.country-modal { position: relative; display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: 1rem; background: rgba(7, 32, 43, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.country-modal__dialog { width: min(100%, 620px); padding: clamp(1.5rem, 5vw, 2.4rem); border: 1px solid #d8e6ec; border-radius: 22px; background: #f8fcfe; text-align: center; box-shadow: 0 28px 80px rgba(0, 0, 0, .4); }
.country-modal__eyebrow { margin: 0 0 .65rem; color: #105d7d; font-size: .8rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0 0 1rem; font-size: clamp(1.4rem, 4vw, 2rem); line-height: 1.45; letter-spacing: -.025em; overflow-wrap: anywhere; }
#country-description { margin: 0 auto 1.4rem; color: #52646d; font-size: .95rem; }
.country-modal__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.country-modal__option { display: flex; min-width: 0; min-height: 170px; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; padding: 1rem .65rem; border: 2px solid #cbdfe8; border-radius: 14px; background: #fff; color: #102a36; font: inherit; font-weight: 800; line-height: 1.3; cursor: pointer; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.country-modal__option img { display: block; width: 96px; height: 60px; max-width: 100%; object-fit: cover; border: 1px solid rgba(0, 0, 0, .15); border-radius: 4px; box-shadow: 0 4px 10px rgba(0, 0, 0, .12); }
.country-modal__option:hover { transform: translateY(-2px); border-color: #187ba3; box-shadow: 0 8px 20px rgba(16, 93, 125, .14); }
.country-modal__option:focus-visible { outline: 3px solid #105d7d; outline-offset: 3px; }
.country-modal__option:disabled { opacity: .6; cursor: wait; transform: none; }
.country-modal__status { margin: 1rem auto 0; color: #105d7d; font-size: .9rem; font-weight: 800; }
.country-modal__status[hidden] { display: none; }
.information-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1rem; margin-top: 1.2rem; font-size: .8rem; }
.information-links a { color: #105d7d; text-underline-offset: .2em; }
.information-links a:focus-visible { outline: 3px solid #105d7d; outline-offset: 3px; }
.information-page { min-height: 100vh; padding: clamp(1rem, 4vw, 3rem); }
.information-card { max-width: 800px; margin: 0 auto; padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid #d8e6ec; border-radius: 22px; background: #f8fcfe; overflow-wrap: anywhere; }
.information-card > .information-links { justify-content: flex-start; margin: 0 0 2rem; }
.information-card h2 { margin: 1.5rem 0 .5rem; font-size: 1.2rem; }
.information-card p { color: #52646d; }
@media (max-width: 560px) {
  .country-modal { padding: .65rem; }
  .country-modal__dialog { padding: 1.4rem 1rem 1.2rem; border-radius: 17px; }
  .country-modal__options { grid-template-columns: 1fr; gap: .65rem; }
  .country-modal__option { min-height: 105px; gap: .6rem; padding: .7rem 1rem; }
  .country-modal__option img { width: 72px; height: 45px; flex: none; }
}
@media (prefers-reduced-motion: reduce) { .country-modal__option { transition: none; } }
