#home{max-width:1000px;margin-inline:auto}
.home-carousel{position:relative;border-radius:18px;overflow:hidden;background:#0d3972;box-shadow:0 3px 12px #132b4b12}
.home-carousel-stage{position:relative;display:grid;grid-template-rows:minmax(0,1fr);aspect-ratio:1599/533;overflow:hidden}
.home-slide{grid-area:1/1;min-width:0;min-height:0;opacity:0;visibility:hidden;transition:opacity .35s ease,visibility .35s;pointer-events:none}
.home-slide.is-active{opacity:1;visibility:visible}
.home-slide[hidden]{display:none}
.home-slide picture,.home-slide img{display:block;width:100%;height:100%}
.home-slide img{object-fit:contain}
.home-carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:42px;height:42px;padding:10px;border-radius:50%;background:#092b54d9;color:#fff;z-index:1}
.home-carousel-arrow svg,.home-choice button svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.home-carousel-prev{left:10px}.home-carousel-next{right:10px}
.home-carousel-dots{position:absolute;z-index:2;bottom:12px;left:clamp(12px,6%,70px);display:flex;align-items:center;gap:2px;padding:0 4px;border-radius:20px;background:#092b5480}
.home-carousel-dots button{display:grid;place-items:center;width:28px;height:28px;padding:0;background:transparent;border-radius:50%}
.home-carousel-dots button::before{content:'';width:9px;height:9px;border:1px solid #fff;border-radius:50%}
.home-carousel-dots button[aria-current=true]::before{background:#fff}
.home-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:18px 0}
.home-choice{display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr);align-items:center;gap:18px;min-width:0;padding:20px;border:1px solid;border-radius:18px}
.home-choice-holder{background:#e5f9ed;border-color:#d0f2dd}.home-choice-owner{background:#e6f1ff;border-color:#d2e6ff}
.home-choice-art{display:block;width:100%;height:auto;aspect-ratio:640/480;object-fit:contain;border-radius:14px}
.home-choice-content{min-width:0}.home-choice h2{margin:0 0 8px;font-size:clamp(1.25rem,2vw,1.9rem);line-height:1.1}.home-choice-holder h2{color:#009445}.home-choice-owner h2{color:#1265d5}
.home-choice p{margin:0 0 14px;color:#263e5c;line-height:1.4}.home-choice button{width:100%;min-height:48px;display:flex;justify-content:space-between;align-items:center;gap:8px;border-radius:12px;padding:10px;line-height:1.2;font-size:clamp(.78rem,1.2vw,1rem)}
.home-choice button img,.home-choice button svg{flex:none;width:22px;height:22px;filter:brightness(0) invert(1)}.home-choice button span{min-width:0}.home-choice-holder button{background:#009d4d}.home-choice-owner button{background:#176be5}
.home-carousel button:focus-visible,.home-choice button:focus-visible{outline:3px solid #ffcb53;outline-offset:2px}
.recent-public h2{color:#132b4b;font-size:1.35rem;margin:24px 0 14px}.recent-public .grid:has(.empty){display:block}.recent-public .empty{display:flex;flex-direction:column;align-items:center;gap:8px;color:#516783;padding:20px;min-height:102px}.recent-empty-icon{width:34px;height:34px;opacity:.48}.recent-public>p{margin:14px 0}.recent-public>p button{min-height:44px}
.bottom [aria-current=page],.desktop-nav [aria-current=page]{color:#1265d5!important}.desktop-nav [aria-current=page]{box-shadow:inset 0 -2px #1265d5}
@media(min-width:760px){body .desktop-header{min-height:72px;padding:8px max(24px,calc((100vw - 1100px)/2));box-shadow:0 1px 6px #132b4b12}body .desktop-nav{gap:10px}body .desktop-nav button{border-radius:0}}
@media(max-width:759px){.app .top{height:78px;margin:0 0 10px;justify-content:flex-start}.app .top .brand{width:auto;max-width:190px;height:62px;object-fit:contain;object-position:left center}.home-cards{grid-template-columns:1fr;gap:12px;margin:14px 0}.home-choice{grid-template-columns:minmax(82px,34%) minmax(0,1fr);padding:12px;gap:12px}.home-choice h2{font-size:clamp(1.2rem,5vw,1.5rem)}.home-choice p{font-size:.88rem;margin-bottom:10px}.home-choice button{font-size:.78rem;min-height:44px;padding:8px;gap:5px}.home-choice button img,.home-choice button svg{width:19px;height:19px}.home-carousel-arrow{width:36px;height:36px;padding:9px}.recent-public h2{margin:18px 0 12px}.recent-public .empty{min-height:92px;padding:14px}}
@media(max-width:350px){.home-choice{grid-template-columns:minmax(75px,30%) minmax(0,1fr);gap:8px}.home-choice button{font-size:.73rem}.home-choice button img,.home-choice button svg{width:17px;height:17px}}
@media(max-width:759px){
  .home-carousel-arrow{display:none}
  .home-carousel-stage{aspect-ratio:960/576;touch-action:pan-y pinch-zoom}
  .shell .bottom{min-height:calc(60px + env(safe-area-inset-bottom));padding:4px max(14px,env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}
  .shell .bottom button{min-height:52px;padding:2px 0;justify-content:center;font-size:10px;line-height:1.1}
  .shell .bottom .nav-icon{width:21px;height:21px;margin-bottom:2px}
  .desktop-layout .app{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.home-slide{transition:none}}

#recentPublic{grid-template-columns:minmax(0,1fr);gap:18px}
@media(min-width:760px){#recentPublic{grid-template-columns:repeat(2,minmax(0,1fr))}}
