/* klimber.app public pages (2026-10-23) — transposed from design/web/annonce.html */
:root{--ink:#111;--dim:rgba(17,17,17,.62);--bg:#FAFAFA;--muted:#EFEFF1;--line:rgba(0,0,0,.08);--coral:#FF385C}
*{box-sizing:border-box;margin:0}
body{font-family:-apple-system,system-ui,"Helvetica Neue",sans-serif;background:var(--bg);color:var(--ink)}
a{color:inherit}
.top{display:flex;align-items:center;justify-content:space-between;padding:18px 40px;border-bottom:1px solid var(--line);background:#fff}
.wm{height:26px;width:auto;display:block}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--ink);color:#fff;border-radius:999px;padding:11px 20px;font-weight:600;font-size:14px;text-decoration:none}
.btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}
main{max-width:1120px;margin:0 auto;padding:28px 40px 60px}
main.narrow{max-width:640px;padding-top:80px;text-align:center}
main.narrow h1{font-size:28px;margin-bottom:10px}
.lead{color:var(--dim);font-size:16px;line-height:1.5;margin-bottom:26px}
.crumb{font-size:13px;color:var(--dim);margin-bottom:18px}
.crumb a{text-decoration:none}.crumb b{color:var(--ink);font-weight:600}
.grid{display:grid;grid-template-columns:fit-content(60%) minmax(320px,1fr);gap:44px;align-items:start}
/* The photo is its own frame (his ask 2026-10-24): whole, in its own shape,
   no black bands; its column is as wide as the picture */
.photo{display:block}
.photo img{display:block;max-width:100%;max-height:min(78vh,760px);width:auto;height:auto;border-radius:22px}
.thumbs{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.thumbs a{display:block;width:86px;height:64px;border-radius:12px;overflow:hidden;opacity:.85}
.thumbs a:first-child{outline:2px solid var(--ink);opacity:1}
.thumbs img{width:100%;height:100%;object-fit:cover}
h1{font-size:30px;line-height:1.15;letter-spacing:-.01em;margin:4px 0 10px}
.meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.pill{background:var(--muted);border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600;text-decoration:none}
.pill .dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--coral);margin-right:6px;vertical-align:1px}
.desc{font-size:15.5px;line-height:1.55;color:#222;margin-bottom:22px;white-space:pre-line}
.tags{color:var(--dim);font-size:14px;margin-bottom:26px}
.who{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:22px}
.av{width:42px;height:42px;border-radius:50%;background:#111;color:#fff;display:grid;place-items:center;font-weight:700;text-transform:uppercase}
.cta .btn{width:100%;padding:15px;font-size:15px}
.note{font-size:12.5px;color:var(--dim);text-align:center;margin-top:10px;line-height:1.45}
.second{margin-top:12px}.second .btn{width:100%}
h2{font-size:19px;margin:54px 0 16px}
.tiles{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.tiles.big{grid-template-columns:repeat(4,1fr)}
.tile{position:relative;display:block;border-radius:16px;overflow:hidden;aspect-ratio:3/4;background:var(--muted);text-decoration:none}
.tile img{width:100%;height:100%;object-fit:cover;display:block}
.tile .noimg{position:absolute;inset:0;display:grid;place-items:center;padding:14px;text-align:center;font-weight:700;font-size:15px}
.tile span{position:absolute;left:5px;bottom:5px;background:rgba(0,0,0,.55);color:#fff;font-size:9.5px;font-weight:500;line-height:1.25;padding:1px 5px;border-radius:5px}
.tile em{position:absolute;left:0;right:0;bottom:0;padding:28px 10px 22px;font-style:normal;color:#fff;font-weight:600;font-size:13.5px;line-height:1.3;background:linear-gradient(transparent,rgba(0,0,0,.6))}
.head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:6px 0 24px}
.head h1{margin:0}
.towns{display:flex;flex-wrap:wrap;gap:8px;margin-top:40px}
.empty{padding:40px;border-radius:22px;background:#fff;border:1px solid var(--line);text-align:center;color:var(--dim)}
.foot{border-top:1px solid var(--line);padding:22px 40px;font-size:12.5px;color:var(--dim);display:flex;justify-content:space-between;gap:10px}
.foot a{text-decoration:none}
@media(max-width:760px){
  .top{padding:14px 16px}.wm{height:22px}
  main{padding:16px 16px 40px}
  .grid{grid-template-columns:1fr;gap:20px}
  h1{font-size:25px}
  .tiles,.tiles.big{grid-template-columns:repeat(2,1fr)}
  .head{flex-direction:column;align-items:flex-start}
  .foot{padding:18px 16px;flex-direction:column}
}
.right{display:flex;align-items:center;gap:18px}
.lang{font-size:13px;letter-spacing:.06em;display:flex;gap:10px;color:var(--dim)}
.lang b{color:var(--ink)}.lang a{text-decoration:none}
/* home (choice B) */
.navlink{font-size:14px;font-weight:600;text-decoration:none}
main.home{max-width:1240px;padding-top:34px}
h1.big{font-size:40px;letter-spacing:-.02em;line-height:1.1;margin:0}
.home .lead{margin:10px 0 24px;font-size:17px}
.frame{height:min(620px,72vh);border-radius:28px;overflow:hidden;border:1px solid var(--line);box-shadow:0 20px 60px rgba(0,0,0,.10);background:#FAFAFA}
.frame iframe{width:100%;height:100%;border:0;display:block}
h2.row{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
h2.row a{font-size:14px;font-weight:600}
.why{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.why div{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px}
.why b{display:block;font-size:17px;margin-bottom:6px}.why p{color:var(--dim);line-height:1.5;font-size:14.5px}
.more{margin-top:20px;font-weight:600}
@media(max-width:760px){h1.big{font-size:28px}.why{grid-template-columns:1fr}.navlink{display:none}.frame{height:68vh;border-radius:20px}}
/* header actions, anibis' place (2026-10-23) */
.act{display:inline-flex;align-items:center;gap:7px;font-size:14.5px;font-weight:600;text-decoration:none;color:var(--ink)}
.act svg{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.act[hidden]{display:none}
.right{gap:22px}
@media(max-width:760px){.hide-s{display:none}.act span{display:none}.right{gap:18px}}
.switch{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid var(--line);box-shadow:0 2px 8px rgba(0,0,0,.06)}
.switch svg{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:1.9}
.switch:hover{background:var(--muted)}
/* search bar under the header (2026-10-23) */
.searchbar{background:#fff;border-bottom:1px solid var(--line);padding:14px 40px 16px}
.sb{display:flex;max-width:1160px;margin:0 auto;border:2px solid var(--ink);border-radius:16px;overflow:hidden;height:56px;background:#fff}
.sb .q{flex:1;display:flex;align-items:center;gap:10px;padding:0 16px;min-width:0}
.sb svg{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;flex:none}
.sb input{flex:1;border:0;outline:0;font:inherit;font-size:17px;background:transparent;min-width:0;color:var(--ink)}
.sb .w{display:flex;align-items:center;gap:6px;padding:0 14px;border-left:1px solid var(--line);font-weight:600;font-size:15px}
.sb select{border:0;font:inherit;font-weight:600;background:transparent;color:var(--ink);cursor:pointer;-webkit-appearance:none;appearance:none;padding:0 2px}
.sb .dot{color:var(--dim)}
.sb button{border:0;background:var(--ink);color:#fff;font:inherit;font-weight:700;font-size:16px;padding:0 26px;cursor:pointer}
.chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center;max-width:1160px;margin:10px auto 0;font-size:13px;color:var(--dim)}
.chips a{background:var(--muted);border-radius:999px;padding:5px 12px;color:#333;font-weight:600;text-decoration:none}
mark{background:#FFE08A;color:inherit;border-radius:3px;padding:0 1px}
@media(max-width:760px){.searchbar{padding:10px 12px 12px}.sb{height:50px}.sb .w{display:none}.sb button{padding:0 16px}}
.tile em mark{color:var(--ink)}
/* « Mon profil ▾ » (his pick D, 2026-10-24) */
.acct{position:relative}
.acct[hidden]{display:none}
.acct>button{background:none;border:0;padding:0;cursor:pointer;font-family:inherit}
.acct .caret{width:16px;height:16px;margin-left:-3px}
.acct .who-label{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct .menu{position:absolute;top:calc(100% + 14px);right:0;width:300px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.14);padding:8px;z-index:50}
.acct .menu[hidden]{display:none}
.acct .who{display:flex;align-items:center;gap:12px;padding:12px 12px 14px;border-bottom:1px solid var(--line);margin-bottom:6px;min-width:0}
.acct .who>div:last-child{min-width:0}
.acct .who .av{width:40px;height:40px;flex:none;font-size:14px;background:#EFEFF1 center/cover;color:var(--ink);border:1px solid var(--line)}
.acct .who b{display:block;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct .who small{display:block;color:var(--dim);font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct .menu a,.acct .menu button{display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border:0;border-radius:12px;background:none;font:inherit;font-size:14.5px;font-weight:600;text-decoration:none;color:var(--ink);cursor:pointer;text-align:left}
.acct .menu a:hover,.acct .menu button:hover{background:var(--muted)}
.acct .menu svg{width:18px;height:18px;fill:none;stroke:var(--ink);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.acct .menu hr{border:0;border-top:1px solid var(--line);margin:6px 0}
.acct .count{margin-left:auto;font-size:12px;font-weight:700;background:var(--ink);color:#fff;border-radius:999px;padding:2px 8px}
.acct .count[hidden]{display:none}
@media(max-width:760px){.acct .menu{position:fixed;top:64px;left:12px;right:12px;width:auto}}
/* The mosaic as in the app (his pick 2026-10-24): varied heights, fine gaps */
.tiles.big{grid-template-columns:repeat(5,1fr);gap:8px;align-items:start}
.tiles.big .tile{aspect-ratio:var(--r,.75);border-radius:10px}
.tiles.big .tile::after{content:"";position:absolute;inset:0;border-radius:inherit;border:1px solid rgba(0,0,0,.12);pointer-events:none}
.tiles.big.mason{display:flex;align-items:flex-start}
.tiles.big .mcol{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
@media(max-width:999px){.tiles.big{grid-template-columns:repeat(4,1fr)}}
@media(max-width:759px){.tiles.big{grid-template-columns:repeat(3,1fr);gap:6px}.tiles.big .mcol{gap:6px}}
@media(max-width:519px){.tiles.big{grid-template-columns:repeat(2,1fr)}}
.farther{font-size:22px;letter-spacing:-.01em;margin:44px 0 18px}
#klMore{height:1px}
/* Tiles as in the app (his pick A, 2026-10-24): the photo and its distance,
   no title, no gradient; the title stays the image's alt and the post's page */
.tile em{display:none}
/* Home: the mosaic itself under the map (his ask 2026-10-27), then one
   button to the whole town page */
.homemosaic{position:relative}
.homemosaic.cut{max-height:1400px;overflow:hidden}
.homemosaic.cut::after{content:"";position:absolute;left:0;right:0;bottom:0;height:220px;background:linear-gradient(rgba(250,250,250,0),var(--bg,#fafafa));pointer-events:none}
.homeall{text-align:center;margin:26px 0 8px}
.homeall .btn{padding:14px 26px;font-size:15px}
