:root{--ink:#58483b;--wood:#d6bd9f;--cast-atlas:url('/game/r-8fbe23e88376718e/complete-cast.avif');--food-atlas:url('/game/r-8fbe23e88376718e/complete-food.avif');--building-atlas:url('/game/r-8fbe23e88376718e/complete-buildings.avif');--full-street:url('/game/r-8fbe23e88376718e/street-scene-v6-800.avif')}
body{color:#58483b;background:radial-gradient(ellipse at 8% 4%,#f7f3dd,transparent 47%),linear-gradient(155deg,#fff8e8,#edebdb 64%,#e7e4d5)}
.tk-person{width:calc(144px * var(--person-scale,1));height:calc(144px * var(--person-scale,1));background:var(--cast-atlas) var(--cast-x,0%) var(--cast-y,0%)/400% 400% no-repeat;filter:drop-shadow(0 3px 3px #80623c20);isolation:isolate}
.tk-person[data-character=baker]{--cast-y:33.333333%}.tk-person[data-character=cat]{--cast-y:66.666667%}.tk-person[data-character=raccoon]{--cast-y:100%}
.tk-person[data-mood=thinking]{--cast-x:33.333333%}.tk-person[data-mood=proud]{--cast-x:66.666667%}.tk-person[data-mood=surprised]{--cast-x:100%}
.tk-person.is-reacting{animation:painted-greet .55s ease-in-out}
@keyframes painted-greet{0%,100%{transform:rotate(0)}38%{transform:translateY(-3px) rotate(-4deg)}70%{transform:rotate(3deg)}}
.tk-art.art-sprite{display:inline-block;position:relative;vertical-align:middle;width:54px;height:54px;background:var(--sprite-atlas) var(--frame-x) var(--frame-y)/var(--sprite-size) no-repeat;border:0;box-shadow:none;border-radius:0;filter:none;pointer-events:none}
.tk-art.art-sprite::before,.tk-art.art-sprite::after,.coin::before{display:none;content:none}
.sprite-food{--sprite-atlas:var(--food-atlas);--sprite-size:500% 400%}
.sprite-dishes{--sprite-atlas:url('/game/r-8fbe23e88376718e/extra-dishes.webp');--sprite-size:500% 600%}
.sprite-ingredients{--sprite-atlas:url('/game/r-8fbe23e88376718e/extra-ingredients.webp');--sprite-size:600% 500%}
.coin,.coin.tiny-coin{background:var(--food-atlas) 100% 100%/500% 400% no-repeat;border:0;box-shadow:none}
.tk-shop,.before-after .tk-shop{--b-x:0%;background:var(--building-atlas) var(--b-x) var(--b-y)/200.252525% 500.757576% no-repeat;filter:none}
.tk-shop.unbuilt{--b-x:100%}
.tk-shop.stall{--b-y:2.6465028355387523%;--map-y:4.810583283223091%}
.tk-shop.bakery{--b-y:26.149968494013866%;--map-y:27.23992784125075%}
.tk-shop.rest{--b-y:48.645242596093254%;--map-y:48.707155742633795%}
.tk-shop.drinks{--b-y:70.82545683679899%;--map-y:69.87372218881539%}
.tk-shop.stove{--b-y:93.82482671707625%;--map-y:91.82200841852075%}
.street-social-layout{max-width:1040px;margin:auto;grid-template-columns:minmax(290px,1.03fr) minmax(286px,.86fr)}
.street-social-layout>.map.full-street{grid-area:map;position:relative;isolation:isolate;align-self:start;min-height:0;aspect-ratio:2/3;background:var(--full-street) center/100% 100% no-repeat;border:3px solid #d8c8a2;border-radius:23px;overflow:hidden}
.full-street::before,.full-street::after{display:none}
.full-street .map-heading{position:absolute;top:2.2%;left:50%;transform:translateX(-50%);width:max-content;max-width:94%;border:1px solid #e6cfa1;background:linear-gradient(#fff9e8f8,#f3e4c6ec);color:#674b30;padding:6px 16px;border-radius:10px 10px 16px 16px;font-size:clamp(16px,2.2vw,23px);line-height:1.25;z-index:8;text-align:center;box-shadow:0 3px 7px #795c3a20}
.map-heading small{display:block;font-size:11px;letter-spacing:.05em;margin-top:4px}
.map.full-street .map-lot{position:absolute;display:block;left:var(--lot-x);top:var(--lot-y);width:38%;max-width:none;aspect-ratio:1;min-height:44px;transform:translate(-50%,-90%);padding:0;margin:0;border:0;background:transparent}
.full-street .lot-0{--lot-x:25%;--lot-y:34%}.full-street .lot-1{--lot-x:75%;--lot-y:47%}.full-street .lot-2{--lot-x:25%;--lot-y:60%}.full-street .lot-3{--lot-x:75%;--lot-y:73%}.full-street .lot-4{--lot-x:25%;--lot-y:86%}
.map.full-street .map-lot .tk-shop{inset:0;position:absolute;width:100%;height:100%;scale:1;transform:none;max-width:none;margin:0;background:var(--building-atlas) 8.033826% var(--map-y)/247.8125% 619.6875% no-repeat;filter:drop-shadow(1px 3px 2px #73552526);pointer-events:none}
.map.full-street .map-lot .tk-shop.unbuilt{background-position:91.966173% var(--map-y)}
.map.full-street .place-sign{position:absolute;left:50%;bottom:-3px;transform:translateX(-50%);min-width:44px;max-width:100%;width:max-content;padding:3px 7px;border-radius:7px;border:1px solid #c6ab7e;background:linear-gradient(#fff6db,#efdcb8);box-shadow:0 2px 4px #59442d36}
.map.full-street .place-sign small{font-size:clamp(9px,1vw,11px);font-weight:650}
.map.full-street .place-sign b{font-size:clamp(11px,1.2vw,15px);color:#64492d}
.map.full-street .available .place-sign{background:#ffe8a9;border-color:#bc9257}
.map-friend{position:absolute;z-index:5;transform:translate(-50%,-85%);background:none;padding:0;border:0;min-width:44px;min-height:44px;width:15%;aspect-ratio:1;touch-action:manipulation}
.map-friend .tk-person{display:block;width:100%;height:100%;filter:drop-shadow(1px 2px 1px #56412529)}
.map-friend.c1{left:53%;top:58%}.map-friend.c2{left:49%;top:39%}
.map-friend small{position:absolute;left:50%;top:-8px;transform:translateX(-50%);padding:2px 5px;border-radius:7px 7px 7px 2px;background:#fffae9;white-space:nowrap;color:#755d40;border:1px solid #e2d1b1;font-size:11px;pointer-events:none}
.full-street[data-region=river]{background-blend-mode:soft-light;background-color:#b7d9cb}
.full-street[data-region=night]{background-blend-mode:multiply;background-color:#aaa2ba}
.map.full-street .wear-sign{right:-3%;top:70%;max-width:95%}
.reception,.small-card,.page-frame,.panel{border-color:#ddc9ae;box-shadow:0 3px 0 #d2baa0,0 6px 13px #8d705220}
.reception{background:linear-gradient(135deg,#fff8e5,#f7ecd9)}
@media(max-width:650px){.street-social-layout>.map{order:0}.street-social-layout>.reception{order:1}.street-social-layout>.street-side{order:2}.street-social-layout>.map.full-street{aspect-ratio:2/3;max-width:460px;align-self:center}.map.full-street .place-sign{font-size:11px}.map-heading small{font-size:10px}}
@media(prefers-reduced-motion:reduce){.tk-person.is-reacting{animation:none}}
.street-social-layout>.map.full-street[data-region=river]{background:url('/game/r-8fbe23e88376718e/river-district.webp') center/100% 100% no-repeat}
.street-social-layout>.map.full-street[data-region=night]{background:url('/game/r-8fbe23e88376718e/night-district.webp') center/100% 100% no-repeat}
.tk-shop.noodles,.tk-shop.light,.map.full-street .map-lot .tk-shop.noodles,.map.full-street .map-lot .tk-shop.light{background:url('/game/r-8fbe23e88376718e/district-shops.webp') var(--local-shop-x,0%) center/200% 100% no-repeat}
.tk-shop.light{--local-shop-x:100%}
.town-shop-card .noodles.unbuilt,.town-shop-card .light.unbuilt{filter:saturate(.4);opacity:.72}
.full-street[data-region=river] .region-shop{--lot-x:24%;--lot-y:59%;width:40%}
.full-street[data-region=night] .region-shop{--lot-x:22%;--lot-y:62%;width:39%}
