/* 2739: store tiles (src/stores/tiles.js; picture docs/design/sketches/2739-a.html). Prefixed st-/sa- so no global class is taken. */
.st-sec { margin: 0; padding: 22px 0 8px; }
.st-h { font: 700 clamp(22px, 5.6vw, 26px)/1.15 var(--serif, Georgia, serif); margin: 0 0 4px; text-wrap: balance; }
.st-sub { margin: 0 0 12px; font-size: 15px; opacity: .78; }
.st-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.st-t { display: block; position: relative; border-radius: 14px; overflow: hidden; min-width: 0; color: inherit; text-decoration: none; background: var(--surface, var(--surface-2, rgba(127,127,127,.08))); box-shadow: 0 0 0 1px rgba(127,127,127,.28); }
.st-t:focus-visible { outline: 3px solid var(--accent, currentColor); outline-offset: 2px; }
.st-art { display: block; position: relative; aspect-ratio: 1/1.02; overflow: hidden; container-type: inline-size; }
.st-cap { display: block; padding: 10px 12px 12px; }
.st-nm { display: flex; gap: 7px; align-items: center; font-weight: 650; font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.st-ln { display: block; margin-top: 3px; font-size: 14px; line-height: 1.35; opacity: .8; }
.st-pr { position: absolute; top: 8px; right: 8px; z-index: 2; background: rgba(255,253,247,.95); color: #1d1a16; border-radius: 99px; font-weight: 700; font-size: 13px; padding: 3px 9px; white-space: nowrap; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; }
.st-tag { position: absolute; top: 8px; left: 8px; z-index: 2; background: rgba(20,20,18,.8); color: #fff; border-radius: 99px; font-size: 12px; padding: 3px 8px; font-weight: 600; }
.st-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--d); flex: none; }
@media (prefers-color-scheme: dark) { .st-dot { background: var(--dd); } }
.st-wide { display: none; }
.st-all { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; grid-column: 1/-1; padding: 14px 16px; min-height: 64px; background: transparent; box-shadow: none; border: 1.5px dashed rgba(127,127,127,.7); }
.st-all .st-cap { padding: 0; flex: 1; }
.st-minis { display: flex; flex: none; }
.st-minis i { width: 34px; height: 34px; border-radius: 9px; margin-left: -8px; background: var(--d); border: 2px solid var(--bg, #fff); }
.st-minis i:first-child { margin-left: 0; }
@media (prefers-color-scheme: dark) { .st-minis i { background: var(--dd); } }
.st-go { font-size: 26px; font-weight: 700; color: var(--accent, currentColor); }
/* the shop window */
.st-occ { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 14px; scrollbar-width: none; }
.st-occ a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 99px; font-weight: 600; font-size: 15px; color: inherit; text-decoration: none; box-shadow: 0 0 0 1px rgba(127,127,127,.4); }
.st-occ a[aria-current] { background: var(--ink, #1d1a16); color: var(--bg, #fff); box-shadow: none; }
.st-sect { grid-column: 1/-1; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin: 18px 0 0; font-weight: 600; }
.st-feat { grid-column: 1/-1; }
.st-feat .st-art { aspect-ratio: auto; height: clamp(200px, 56vw, 300px); }
.st-feat .st-art > .sa > * { zoom: .7; }
.st-feat .st-nm { font-size: 19px; }
.st-feat .st-ln { font-size: 15px; }
@media (min-width: 700px) {
  .st-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .st-wide { display: block; }
  .st-all { grid-column: auto; flex-direction: column; justify-content: center; text-align: center; padding: 18px; }
  .st-all .st-cap { flex: none; }
  .st-minis i { width: 44px; height: 44px; }
  .st-feat { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
  .st-feat .st-art { height: auto; flex: 1; min-height: 300px; }
  .st-feat .st-art > .sa > * { zoom: 1; }
  .st-win .st-wide { display: block; }
}
/* the art: sizes in cqw so a scene scales with its tile */
.sa { position: absolute; inset: 0; }
.sa > * { position: absolute; }
.sa i, .sa b, .sa u, .sa em, .sa s { display: block; text-decoration: none; font-style: normal; }
.sa-wall { background: #ece6dc url(/store-art/wall.jpg) 40% 18%/150% auto; }
.sa-fr { left: 50%; top: 50%; width: 50cqw; aspect-ratio: 4/5; transform: translate(-50%,-52%); background: #fff; border: 2.4cqw solid #181715; padding: 3.6cqw; box-shadow: 0 2cqw 4cqw rgba(0,0,0,.28); }
.sa-fr i { width: 100%; height: 100%; background-size: cover; background-position: center; }
.sa-card { background: #d8e6da; }
.sa-pc { left: 50%; top: 48%; width: 48cqw; aspect-ratio: 3/4; transform: translate(-50%,-52%) rotate(-2deg); background: #fff; padding: 3cqw 3cqw 0; box-shadow: 0 2cqw 4cqw rgba(0,0,0,.2); border-radius: 1.2cqw; }
.sa-pc i { height: 68%; background-size: cover; background-position: center; border-radius: .6cqw; }
.sa-pc u { display: flex; gap: 1cqw; align-items: center; margin-top: 3cqw; }
.sa-pc u s { width: 6cqw; height: 6cqw; border-radius: 50%; background: #2e6b4f; }
.sa-pc u em { display: flex; gap: .8cqw; align-items: center; height: 6cqw; }
.sa-pc u em b { width: .9cqw; background: #2e6b4f; border-radius: 1cqw; }
.sa-hol { background: #244b3a; }
.sa-hc { left: 50%; top: 50%; width: 50cqw; aspect-ratio: 3/4.1; transform: translate(-50%,-52%) rotate(2.5deg); background: #f4ecda; box-shadow: 0 2cqw 4cqw rgba(0,0,0,.35); padding: 4cqw 4cqw 0; text-align: center; }
.sa-hc i { height: 68%; border-radius: 50cqw 50cqw .6cqw .6cqw; background-size: cover; background-position: center; }
.sa-hc b { font: 400 6.6cqw/1 var(--serif, Georgia, serif); color: #244b3a; margin-top: 2.6cqw; }
.sa-hc b em { color: #a83a2a; font-style: italic; display: inline; }
.sa-bday { background: #fbeeee center/190% auto no-repeat; }
.sa-leave { background: #cfe4e6; }
.sa-lv { left: 50%; top: 50%; height: 86%; aspect-ratio: 720/1010; transform: translate(-50%,-50%) rotate(3deg); background-size: cover; background-position: center; box-shadow: 0 2cqw 4cqw rgba(0,0,0,.3); }
.sa-lv.b { transform: translate(-62%,-48%) rotate(-7deg); filter: brightness(.92); }
.sa-wed { background: #efdcdd; }
.sa-tent { left: 50%; top: 52%; height: 92%; aspect-ratio: 1200/1800; transform: translate(-50%,-50%); background-size: cover; background-position: center; box-shadow: 0 2cqw 4cqw rgba(0,0,0,.28); }
.sa-grad { background: #1f3a6b; }
.sa-sign { left: 50%; top: 50%; width: 70cqw; aspect-ratio: 4/5; transform: translate(-50%,-50%) rotate(-2deg); background: #fbf7ec; border: 1.4cqw solid #e8b931; display: grid; place-items: center; text-align: center; box-shadow: 0 2cqw 4cqw rgba(0,0,0,.4); padding: 3cqw; }
.sa-sign i { width: 30cqw; height: 30cqw; border-radius: 50%; background-size: cover; background-position: center; border: 1cqw solid #1f3a6b; margin: 0 auto; }
.sa-sign b { font: 400 9cqw/1 var(--serif, Georgia, serif); color: #1f3a6b; }
.sa-sign span { display: block; font-size: 5cqw; color: #7a5e12; letter-spacing: .14em; margin-top: 1.6cqw; }
.sa-post { background: #dde3ff; }
.sa-ph1 { left: 16cqw; top: 12cqw; width: 68cqw; height: 74cqw; border-radius: 3cqw; background: #fff; border: 1.2cqw solid #fff; overflow: hidden; box-shadow: 0 2cqw 4cqw rgba(0,0,0,.25); }
.sa-ph1 i { position: absolute; inset: 0; background-size: cover; background-position: center; }
.sa-ph1 u { position: absolute; left: 3cqw; bottom: 3cqw; display: flex; text-decoration: none; }
.sa-ph1 s { width: 11cqw; height: 11cqw; border-radius: 50%; background: var(--c); border: .9cqw solid #fff; margin-inline-end: -3cqw; }
.sa-mx { background: linear-gradient(160deg, #a3134f, #6f0f3a); }
.sa-book { left: 50%; top: 57%; width: 52cqw; aspect-ratio: 3/4.1; transform: translate(-50%,-52%) rotate(-3deg); background: #fff8f1; border-radius: .8cqw 1.8cqw 1.8cqw .8cqw; box-shadow: inset 3cqw 0 0 rgba(0,0,0,.07), 0 2.4cqw 5cqw rgba(0,0,0,.45); overflow: hidden; text-align: center; }
.sa-book .pic { display: block; height: 20cqw; background: top/100% 100% no-repeat; }
.sa-book b { font: italic 400 8.6cqw/1 Georgia, serif; color: #7d1a4f; margin-top: 5cqw; }
.sa-book .sub { display: block; font: 400 4cqw Georgia, serif; color: #5b3a2a; margin: 2cqw auto 0; border-top: .5cqw solid #b8862b; width: 20cqw; padding-top: 2cqw; }
.sa-jp { background: #f1e6d5; }
.sa-nen { left: 50%; top: 50%; width: 66cqw; aspect-ratio: 2/3; transform: translate(-50%,-50%) rotate(2deg); background: #fffdf7; box-shadow: 0 2cqw 4cqw rgba(0,0,0,.25); padding: 4cqw; display: grid; grid-template-rows: 1fr auto auto; gap: 2cqw; }
.sa-nen i { background-size: cover; background-position: center; min-height: 0; }
.sa-nen b { font: 400 12cqw/1 "Hiragino Mincho ProN", "Yu Mincho", serif; color: #a8261d; text-align: center; }
.sa-nen em { font: normal 4.4cqw "Hiragino Mincho ProN", serif; text-align: center; color: #444; }
.sa-stamp { left: 8cqw; bottom: 8cqw; width: 11cqw; height: 11cqw; background: #a8261d; color: #fff; display: grid; place-items: center; font: 400 6cqw "Hiragino Mincho ProN", serif; border-radius: 1cqw; transform: rotate(6deg); }
[dir="rtl"] .st-pr { right: auto; left: 8px; }
[dir="rtl"] .st-tag { left: auto; right: 8px; }
[dir="rtl"] .st-go { transform: scaleX(-1); }
