body{color:dimgray}body.story-parchment{/* parchment from legends.css */}.countries-header{max-width:1080px;margin:auto;padding:22px 24px 16px;text-align:center}.countries-header>a{display:block;text-align:left;font-size:16px;text-decoration:none;width:fit-content}.countries-header h1{font-size:clamp(32px,4vw,46px);margin:8px 0;color:teal}.countries-header p{font-family:Georgia,serif;font-size:19px;margin:0}.countries-main{max-width:1260px;margin:auto;padding:6px 24px 40px}.country-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.country-tile{position:relative;border:1px solid silver;border-radius:8px;background:linear-gradient(135deg,white,whitesmoke);color:dimgray;cursor:pointer;display:flex;flex-direction:column;align-items:center;min-width:0;padding:12px 10px 18px;box-shadow:0 3px 0 gainsboro;transition:transform .18s,box-shadow .18s,color .18s;text-align:center;touch-action:manipulation}.country-tile:nth-child(3n+2){background:linear-gradient(25deg,whitesmoke,white)}.country-tile:hover,.country-tile:active{transform:translateY(-5px) rotate(-.4deg);box-shadow:0 8px 0 gainsboro;color:teal;border-color:teal}.country-tile:focus-visible,a:focus-visible,#close:focus-visible{outline:3px solid crimson;outline-offset:4px}.tile-art{display:block;width:100%;height:158px;overflow:visible}.country-shape{fill:gainsboro;stroke:darkgray;stroke-width:.8;transition:stroke .18s}.texture{opacity:.37;stroke:none}.landmark-halo{fill:none;stroke:whitesmoke;stroke-width:5.5;stroke-linejoin:round;stroke-linecap:round}.landmark-line{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round;transform:rotate(-1deg);transform-origin:center}.country-tile:hover .country-shape{stroke:teal}.country-title{font-family:"Lithos Pro",Lithos,Georgia,serif;font-size:19px;font-weight:bold;line-height:1.2;color:inherit;margin:9px 0 7px}.landmark-name{font:13px/1.3 Georgia,serif;color:dimgray;min-height:34px;max-width:100%}.country-tile::after{content:"↗";position:absolute;right:10px;top:5px;color:crimson;font-size:17px}dialog{border:1px solid gray;border-top:5px solid teal;background:whitesmoke;border-radius:9px;padding:24px;width:min(600px,calc(100vw - 32px));max-height:85dvh;color:dimgray;box-shadow:0 18px 60px gray}dialog::backdrop{background:black;opacity:.4}.panel-open{overflow:hidden}.panel-top{display:flex;gap:18px;align-items:start;justify-content:space-between}.panel-top h2{font-size:28px;margin:6px 0 20px;color:teal}#panel-title:focus{outline:none}#close{flex:none;background:white;border:1px solid silver;border-radius:25px;color:dimgray;padding:9px 15px;font:16px/1.5 Arial,sans-serif;cursor:pointer;min-height:44px}#close:hover{color:crimson;border-color:crimson}#stories{list-style:none;padding:0;margin:0}#stories li{padding:18px 0;border-top:1px solid silver;font-size:21px;line-height:1.4}#stories a{display:inline-block;padding:6px 0;overflow-wrap:anywhere;text-underline-offset:4px}audio{display:block;width:100%;margin-top:12px}noscript{display:block;text-align:center;padding:24px}@media(max-width:1050px){.country-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:790px){.country-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.countries-main{padding:6px 18px 30px}.tile-art{height:145px}}@media(max-width:540px){.countries-header{padding:18px 16px}.countries-header p{font-size:17px}.countries-main{padding:4px 14px 28px}.country-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.country-tile{padding:9px 8px 13px}.tile-art{height:132px}.country-title{font-size:17px;margin-top:5px}.landmark-name{font-size:12px;min-height:32px}.panel-top h2{font-size:25px}dialog{padding:18px}#stories li{font-size:19px}}@media(prefers-reduced-motion:reduce){.country-tile{transition:none}}

/* parchment feel for countries explorer */
body, body.story-parchment{
  background-color:cornsilk;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.42  0 0 0 0 0.32  0 0 0 0 0.18  0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 15% 0%,rgba(255,250,240,.9),transparent 50%),
    linear-gradient(180deg,oldlace,cornsilk 40%,#ead7b0);
  background-attachment:fixed;
  color:#3b2a1a;
}
.countries-header h1{font-family:Palatino,"Palatino Linotype",Georgia,serif;color:#3b2112}
.countries-header p{color:#3b2a1a}
.countries-header>a{color:sienna}
.country-tile{
  background:linear-gradient(160deg,rgba(255,250,240,.98),rgba(250,235,205,.9));
  border:1px solid tan;
  border-radius:6px 12px 5px 10px / 10px 5px 12px 6px;
  box-shadow:inset 0 0 24px rgba(139,90,43,.1),0 6px 14px rgba(62,39,35,.1);
  color:#3b2a1a;
}
