/* AriLikesWatches
   Theme comes straight from the logo: electric blue, violet, and magenta.
   One typeface (Outfit, SIL Open Font License), self-hosted. */

@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/outfit-latin-wght-normal.woff2") format("woff2");
}

:root {
  --blue: #4064EE;
  --violet: #8A45C4;
  --magenta: #E52687;
  --ink: #1B1550;        /* text and footer, a deep indigo pulled from the logo's purples */
  --ink-soft: #4A4570;   /* secondary text */
  --mist: #F6F4FD;       /* page background */
  --line: #DDD8F2;
  --grad: linear-gradient(140deg, #3F5FEA 0%, #6C4DD9 40%, #B53AA6 72%, #D91E7C 100%);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--mist); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: inherit; text-decoration-color: var(--magenta); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.masthead :focus-visible, .links-body :focus-visible, .panel :focus-visible { outline-color: #fff; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 20; }
.skip:focus { left: 8px; }

.icon { width: 1em; height: 1em; }

/* ---------- Masthead (header + hero) ---------- */
.masthead {
  background: var(--grad); color: #fff; padding-bottom: 64px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);
}
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--wrap); margin: 0 auto; padding: 16px 20px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand img { width: 42px; height: 42px !important; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9); }
.brand span { display: none; }
.site-nav { display: flex; gap: 6px; font-weight: 500; }
.site-nav a { color: #fff; text-decoration: none; padding: 8px 10px; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: #fff; }

.hero {
  max-width: var(--wrap); margin: 0 auto; padding: 12px 20px 8px;
  display: grid; gap: 28px; align-items: center; text-align: center;
}
.hero-logo { order: -1; }
.hero-logo img {
  width: min(72vw, 320px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.92), 0 26px 50px rgba(20, 10, 80, 0.4);
}
h1 { margin: 0 0 14px; font: 800 clamp(2.1rem, 9.4vw, 3.7rem)/1 var(--font); letter-spacing: -0.03em; }
.lede { margin: 0 auto 28px; max-width: 30rem; font-size: 1.2rem; line-height: 1.5; color: rgba(255, 255, 255, 0.94); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--font); text-decoration: none; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-white { background: #fff; color: var(--ink); cursor: pointer; }
.btn-white:hover { background: var(--mist); }
.btn-line { background: transparent; border-color: rgba(255, 255, 255, 0.9); color: #fff; cursor: pointer; }
.btn-line:hover { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); cursor: pointer; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

@media (min-width: 520px) { .brand span { display: inline; } }
@media (min-width: 860px) {
  .masthead { padding-bottom: 88px; }
  .hero { grid-template-columns: 1.1fr 0.9fr; gap: 64px; text-align: left; padding-top: 40px; }
  .hero-logo { order: 0; }
  .hero-logo img { width: min(100%, 400px); margin: 0 0 0 auto; }
  .lede { margin-left: 0; }
  .actions { justify-content: flex-start; }
}

/* ---------- Sections ---------- */
.block { max-width: var(--wrap); margin: 0 auto; padding: 48px 20px; }
h2 { margin: 0 0 14px; font: 700 clamp(1.9rem, 5.5vw, 2.6rem)/1.05 var(--font); letter-spacing: -0.015em; }
.block p { max-width: 34rem; margin: 0 0 18px; }
.muted { color: var(--ink-soft); }

/* Video feed */
.feed { display: grid; gap: 22px; }
.player { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: 18px; overflow: hidden; }
.player iframe, .player .thumb-btn { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.thumb-btn { padding: 0; margin: 0; background: none; cursor: pointer; }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.thumb-btn .play {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px;
  border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 3px #fff, 0 10px 24px rgba(20, 10, 80, 0.4);
}
.thumb-btn .play::after {
  content: ""; position: absolute; left: 29px; top: 22px;
  border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent;
}
.thumb-btn:hover .play { transform: scale(1.06); }
.feed-title { margin: 12px 0 0; font-weight: 600; max-width: 40rem; }
.feed-more { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.feed-more a { text-decoration: none; display: block; }
.feed-more .player { border-radius: 12px; }
.feed-more .feed-title { font-size: 0.95rem; line-height: 1.35; }
.feed-more a:hover .feed-title { text-decoration: underline; text-decoration-color: var(--magenta); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (min-width: 860px) {
  .feed { grid-template-columns: 1.6fr 1fr; align-items: start; gap: 32px; }
  .feed-more { grid-template-columns: 1fr; }
}

/* Social list */
.follow { display: grid; gap: 24px; }
.social-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.social {
  display: flex; align-items: center; gap: 16px; padding: 16px 10px;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
  transition: background-color .15s;
}
.social:hover { background: #fff; }
.ico {
  flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: 22px;
}
.txt { display: flex; flex-direction: column; min-width: 0; }
.txt strong { font-weight: 600; font-size: 1.15rem; line-height: 1.25; }
.txt .sub { color: var(--ink-soft); font-size: 0.97rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 860px) {
  .follow { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
}

/* Gradient panel (map teaser) */
.panel { background: var(--grad); color: #fff; border-radius: 28px; padding: 40px 28px; }
.panel p { color: rgba(255, 255, 255, 0.95); }
.panel .actions { justify-content: flex-start; }
@media (min-width: 860px) { .panel { padding: 56px 56px; } }

.contact a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; margin-top: 32px; }
.site-footer .inner {
  max-width: var(--wrap); margin: 0 auto; padding: 28px 20px 36px;
  display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: space-between; align-items: center;
}
.foot-brand { display: flex; align-items: center; gap: 12px; font-size: 0.97rem; color: rgba(255, 255, 255, 0.85); }
.foot-brand img { width: 36px; height: 36px; border-radius: 50%; }
.foot-social { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.foot-social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5); color: #fff; font-size: 19px; transition: background-color .15s, color .15s;
}
.foot-social a:hover { background: #fff; color: var(--ink); }
.site-footer :focus-visible { outline-color: #fff; }

/* ---------- Simple pages (map placeholder) ---------- */
.hero-simple { max-width: 720px; margin: 0 auto; padding: 24px 20px 8px; text-align: center; }
.hero-simple h1 { font-size: clamp(2.6rem, 10vw, 4.2rem); }
.hero-simple .lede { margin: 0 auto 14px; }
.hero-simple .actions { margin-top: 18px; }
.page-fill { min-height: 8vh; }

/* ---------- /links (bio page) ---------- */
.links-body { background: var(--grad); color: #fff; min-height: 100vh; }
.links-page { max-width: 480px; margin: 0 auto; padding: 40px 20px 56px; text-align: center; }
.links-page .avatar {
  width: 128px; height: 128px; margin: 0 auto 18px; border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.92), 0 18px 34px rgba(20, 10, 80, 0.4);
}
.links-page h1 { margin: 0 0 6px; font-size: clamp(1.7rem, 8.6vw, 2.2rem); }
.links-page .tag { margin: 0 0 28px; color: rgba(255, 255, 255, 0.94); }
.pill-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; text-align: left; }
.pill {
  display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 64px; padding: 9px 22px 9px 10px;
  background: #fff; color: var(--ink); border-radius: 999px; text-decoration: none;
  box-shadow: 0 8px 20px rgba(20, 10, 80, 0.22); transition: background-color .15s;
}
.pill:hover { background: var(--mist); }
.pill .ico { width: 44px; height: 44px; font-size: 21px; }
.pill .txt strong { font-size: 1.08rem; }
.links-foot { margin-top: 28px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }
.links-foot a { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* ================= Added: utilities ================= */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.masthead-slim { padding-bottom: 56px; }

/* ================= Added: TikTok strip ================= */
.tt-strip.has-videos {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px;
  -webkit-overflow-scrolling: touch;
}
.tt-card { flex: 0 0 325px; scroll-snap-align: start; }
.tt-strip .tt-fallback { background: #fff; border: 1px solid var(--line); border-radius: 18px; max-width: 420px; padding: 16px 18px; }

/* ================= Added: video placeholders ================= */
.feed-more .player img.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player .cover { position: absolute; inset: 0; background: var(--grad); }
.player .cover-text { position: absolute; left: 18px; bottom: 14px; font-weight: 700; font-size: 1.15rem; color: #fff; }

/* ================= Added: community map ================= */
.map-block { padding-top: 32px; }
.search { display: flex; gap: 10px; margin: 0 0 14px; }
.search input { flex: 1; min-width: 0; }
.search .btn-solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.search .btn-solid:hover { background: #2A2280; }
#map {
  height: min(66vh, 580px); min-height: 380px; border-radius: 22px; overflow: hidden; isolation: isolate;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(60, 40, 160, 0.16); background: #E9E6F7;
}
.leaflet-container { font-family: var(--font); }
.leaflet-tile-pane { filter: saturate(0.85) hue-rotate(8deg); }
.status { min-height: 1.6em; margin: 12px 0 0; }

.pin span {
  position: relative; display: block; width: 30px; height: 30px; border-radius: 50%; background: var(--grad);
  box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(20, 10, 80, 0.4);
}
.pin span::after { content: ""; position: absolute; inset: 9px; border: 2px solid #fff; border-radius: 50%; }
.cluster span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff;
  font: 700 15px var(--font); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.92), 0 8px 18px rgba(20, 10, 80, 0.35);
}

.leaflet-popup-content-wrapper { border-radius: 16px; }
.leaflet-popup-content { margin: 14px 16px; line-height: 1.4; }
.pop-name { display: block; font-size: 1.1rem; color: var(--ink); }
.pop-area { color: var(--ink-soft); font-size: 0.95rem; margin: 2px 0 6px; }
.badge {
  display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--grad); color: #fff;
  font-size: 0.8rem; font-weight: 600; line-height: 1.5;
}
.pop-links, .member-links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.leaflet-container .pop-links a, .member-links a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--mist);
  color: var(--ink); text-decoration: none; font-size: 0.92rem; font-weight: 500; border: 1px solid var(--line);
}
.leaflet-container .pop-links a:hover, .member-links a:hover { background: var(--ink); color: #fff; }
.pop-links .icon, .member-links .icon { font-size: 15px; }

.member-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.member { display: grid; gap: 6px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.member-info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.member-info strong { font-size: 1.1rem; }
.member-info .sub { color: var(--ink-soft); }
.link-btn {
  justify-self: start; padding: 6px 0; margin-top: 2px; background: none; border: 0; color: var(--ink); cursor: pointer;
  font: 600 0.95rem var(--font); text-decoration: underline; text-decoration-color: var(--magenta);
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}
@media (min-width: 860px) { .member-list { grid-template-columns: 1fr 1fr; } }

/* ---------- join form ---------- */
.join-grid { display: grid; gap: 28px; }
.how { margin: 18px 0 0; padding-left: 1.2rem; color: var(--ink-soft); max-width: 34rem; }
.how li { margin: 0 0 10px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px 22px; box-shadow: 0 14px 34px rgba(60, 40, 160, 0.08); }
.form-card h3 { margin: 0 0 8px; font-size: 1.45rem; line-height: 1.2; }
.form-card p { margin: 0 0 14px; }
@media (min-width: 860px) { .join-grid { grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; } .form-card { padding: 32px; } }

.field { margin: 0 0 18px; }
.field label { display: block; margin: 0 0 6px; font-weight: 600; }
input[type="text"], input[type="search"], input[type="password"] {
  width: 100%; min-height: 50px; padding: 0 16px; border: 1.5px solid #C4BEE6; border-radius: 14px;
  background: #fff; color: var(--ink); font: inherit; -webkit-appearance: none; appearance: none;
}
input:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
input[aria-invalid="true"] { border-color: #C4133F; }
.hint { margin: 6px 0 0; color: var(--ink-soft); font-size: 0.94rem; }
.err { margin: 6px 0 0; color: #B0103A; font-size: 0.95rem; font-weight: 500; }
fieldset.socials { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
fieldset.socials legend { padding: 0; font-weight: 600; }
fieldset.socials .hint.req { margin: 2px 0 14px; }
.social-field { margin-bottom: 14px; }
.social-field label { display: flex; align-items: center; gap: 10px; }
.social-field .ico { width: 32px; height: 32px; font-size: 16px; }
.check { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 14px; font-weight: 400; }
.check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--violet); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-grad { width: 100%; background: var(--grad); color: #fff; border-color: transparent; margin-top: 6px; }
.btn-grad:hover { filter: brightness(1.06); }
.btn-grad:disabled, .btn:disabled { opacity: 0.65; cursor: progress; }
.btn-solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.form-msg { min-height: 1.4em; margin: 12px 0 0; color: var(--ink-soft); }
.form-msg.bad { color: #B0103A; font-weight: 500; }
.copy-row { display: grid; gap: 10px; margin-top: 4px; }
.form-card .actions { justify-content: flex-start; }
#mine { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
#remove-panel { margin-bottom: 22px; padding: 18px; border-radius: 16px; background: var(--mist); }

/* ---------- admin ---------- */
.admin { max-width: 760px; }
.login-card { max-width: 420px; }
.admin-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.admin-head .actions { justify-content: flex-start; }
.admin h2 { margin-top: 26px; }
.admin-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 14px; }
.admin-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.admin-item-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.admin-item-head strong { font-size: 1.1rem; }
.admin-item-head .sub { color: var(--ink-soft); font-size: 0.93rem; }
.admin-links { list-style: none; margin: 8px 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.admin-item .btn { min-height: 42px; padding: 0 20px; }
.admin-item .actions { justify-content: flex-start; }

/* ================= Added: video picks and TikTok row ================= */
.feed-more .pick { display: block; width: 100%; padding: 0; background: none; border: 0; text-align: left; color: inherit; font: inherit; cursor: pointer; }
.feed-more .pick:hover .feed-title { text-decoration: underline; text-decoration-color: var(--magenta); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.feed-more .pick .feed-title { display: block; }
.tt-card { flex: 0 0 min(270px, 74vw); scroll-snap-align: start; }
.tt-media { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--ink); }
.tt-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tt-media .thumb-btn { position: absolute; inset: 0; width: 100%; height: 100%; }
.tt-media .cover { position: absolute; inset: 0; background: var(--grad); }
.tt-title {
  margin: 10px 0 2px; font-weight: 600; font-size: 0.97rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tt-card .link-btn { padding: 4px 0; }

/* ================= Added: shop ================= */
.shop-block { padding-top: 32px; }
.block p.disclosure {
  max-width: none; margin: 0 0 22px; padding: 14px 18px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; font-size: 0.97rem; color: var(--ink-soft);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.chip {
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent;
  color: var(--ink); font: 600 0.95rem var(--font); cursor: pointer; transition: background-color .15s, color .15s;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.shop-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shop-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.shop-card.is-draft { opacity: 0.8; }
.shop-media { position: relative; aspect-ratio: 4 / 3; background: var(--ink); }
.shop-media img { width: 100%; height: 100%; object-fit: cover; }
.shop-media.is-tile { display: grid; place-items: center; background: var(--grad); color: #fff; }
.shop-media.is-tile .icon { width: 64px; height: 64px; }
.shop-badge { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(20, 10, 80, 0.2); }
.shop-tag {
  position: absolute; left: 12px; bottom: 12px; padding: 3px 10px; border-radius: 999px;
  background: rgba(27, 21, 80, 0.85); color: #fff; font-size: 0.8rem; font-weight: 500;
}
.shop-draft { position: absolute; top: 12px; right: 12px; padding: 3px 10px; border-radius: 999px; background: #fff; color: #B0103A; font-size: 0.8rem; font-weight: 600; }
.shop-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.shop-card .shop-name { margin: 0; font: 700 1.2rem/1.25 var(--font); letter-spacing: -0.01em; }
.shop-card .shop-note { margin: 0; max-width: none; color: var(--ink-soft); }
.shop-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: auto; padding-top: 10px; }
.shop-actions .btn { min-height: 46px; padding: 0 20px; }
.shop-actions .hint { margin: 0; }
.shop-empty h2 { margin-bottom: 10px; }
.shop-empty p { margin: 0 0 18px; }
.shop-empty .actions { justify-content: flex-start; }

/* ================= Added: place search in the join form ================= */
.place-search { display: flex; gap: 10px; }
.place-search input { flex: 1; min-width: 0; }
.place-search .btn { min-height: 50px; padding: 0 20px; }
.place-results { list-style: none; margin: 10px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.place-option { display: block; width: 100%; padding: 12px 14px; text-align: left; background: #fff; border: 0; border-top: 1px solid var(--line); color: var(--ink); font: inherit; cursor: pointer; }
.place-results li:first-child .place-option { border-top: 0; }
.place-option:hover { background: var(--mist); }
#place-map { height: 230px; margin-top: 12px; border-radius: 16px; overflow: hidden; isolation: isolate; box-shadow: 0 0 0 1px var(--line); background: #E9E6F7; }
#place-status:empty { display: none; }
input[type="search"] { -webkit-appearance: none; appearance: none; }

/* ================= Added: admin panel ================= */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.tab {
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent;
  color: var(--ink); font: 600 1rem var(--font); cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; margin: 0 0 22px; }
.admin-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.admin-card > p { margin: 0 0 14px; }
.admin-card .field:last-child { margin-bottom: 0; }
.field textarea {
  width: 100%; min-height: 92px; padding: 12px 16px; border: 1.5px solid #C4BEE6; border-radius: 14px; background: #fff;
  color: var(--ink); font: inherit; resize: vertical;
}
.field select {
  width: 100%; min-height: 50px; padding: 0 12px; border: 1.5px solid #C4BEE6; border-radius: 14px; background: #fff; color: var(--ink); font: inherit;
}
.field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.two { display: grid; gap: 0 14px; }
@media (min-width: 620px) { .two { grid-template-columns: 1fr 1fr; } }
.photo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.photo-preview { width: 96px; height: 72px; border-radius: 12px; background: var(--mist); object-fit: cover; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.form-actions .btn { min-height: 46px; padding: 0 22px; }
.notice { margin: 0 0 18px; padding: 12px 16px; border-radius: 14px; background: #FFF1D6; color: #5E3B00; font-weight: 500; }
.notice.good { background: #E4F6EA; color: #10502A; }
.admin-rows { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.admin-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.admin-row img, .admin-row .thumb-tile { width: 72px; height: 54px; flex: none; border-radius: 10px; object-fit: cover; background: var(--mist); }
.admin-row .thumb-tile { display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 24px; }
.admin-row .info { flex: 1 1 180px; min-width: 0; }
.admin-row .info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-row .info .sub { color: var(--ink-soft); font-size: 0.9rem; }
.admin-row .btns { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
@media (min-width: 760px) { .admin-row .btns { width: auto; } }
.admin-row .btns .btn { min-height: 38px; padding: 0 14px; font-size: 0.9rem; }
.state { display: inline-block; margin-left: 8px; padding: 1px 9px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; background: #E4F6EA; color: #10502A; vertical-align: 2px; }
.state.off { background: #EDEAF7; color: var(--ink-soft); }
.admin-preview { margin-top: 8px; }
.admin-preview .shop-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tools-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
