.sms-form { box-sizing: border-box; width: min(100%, 760px); max-width: 760px; margin-left: auto; margin-right: auto; padding: 1.5rem; border: 1px solid #d9dce5; border-radius: 12px; background: #fff; }
.sms-form label { display: block; font-weight: 600; }
.sms-form input:not([type="file"]), .sms-form textarea { box-sizing: border-box; width: 100%; margin-top: .4rem; padding: .75rem; border: 1px solid #aeb4c2; border-radius: 6px; font: inherit; }
.sms-form button { padding: .75rem 1.1rem; border: 0; border-radius: 6px; background: #203a78; color: #fff; font-weight: 700; cursor: pointer; }
.sms-notice { margin: 1rem 0; padding: .8rem 1rem; border-left: 4px solid; background: #f5f6fa; }
.sms-notice--success { border-color: #16803a; }
.sms-notice--error { border-color: #bd2c2c; }
.sms-dashboard { overflow-x: auto; }
.sms-dashboard table { width: 100%; border-collapse: collapse; }
.sms-dashboard th, .sms-dashboard td { padding: .75rem; border-bottom: 1px solid #d9dce5; text-align: left; }
.sms-status { display: inline-block; padding: .2rem .55rem; border-radius: 999px; background: #e7e9ef; font-size: .85em; }
.sms-status--publish { background: #d9f5e2; color: #17652f; }
.sms-status--pending { background: #fff0c2; color: #714f00; }
.sms-form select { box-sizing: border-box; width: 100%; margin-top: .4rem; padding: .75rem; border: 1px solid #48627f; border-radius: 8px; }
.mp-dashboard > header { margin-bottom: 2rem; padding: 2rem; border-radius: 24px; color: #fff; background: radial-gradient(circle at 85% 20%, #174c72, #0d1730 58%); }
.mp-dashboard > header span { color: #5ee7ff; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.mp-dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.5rem; align-items: start; }
.mp-dashboard .sms-form { color: #eef7ff; background: #142a45; border-color: #24496c; }
.mp-owner-list article { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: .6rem 0; padding: 1rem; border-radius: 12px; background: #142a45; }
.mp-owner-list article strong { margin-right: auto; }
.mp-card-grid,.mp-family-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1.25rem; }
.mp-card,.mp-family-gallery > a { overflow: hidden; padding: 1rem; border-radius: 22px; color: #fff; background: #142a45; text-decoration: none; }
.mp-card img,.mp-family-gallery img { width: 100%; aspect-ratio: 1/1; border-radius: 16px; object-fit: cover; transition: transform .3s ease; }
.mp-family-gallery > a:hover img { transform: scale(.92); }
.mp-family-gallery > .mp-gallery-video { overflow: hidden; padding: 1rem; border-radius: 22px; color: #fff; background: #142a45; }
.mp-family-gallery .mp-gallery-video video { display: block; width: 100%; max-height: 420px; border-radius: 16px; background: #000; }
.mp-family-gallery .mp-gallery-video a { color: inherit; }
.mp-family-gallery span { display: block; padding-top: .65rem; font-weight: 700; }
.mp-memory-media { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); }
.mp-memory-media figure { margin: 0; padding: 1rem; border-radius: 18px; background: #142a45; }
.mp-memory-media img,.mp-memory-media video { max-width: 100%; height: auto; border-radius: 12px; }
.mp-document { display: flex; min-height: 180px; align-items: center; justify-content: center; font-size: 1.1rem; }

/* MartinPlanet family hub -------------------------------------------------- */
.mp-dashboard,
.mp-card-grid,
.mp-family-gallery,
.mp-memory-media {
  --mp-night: #081426;
  --mp-panel: #122b49;
  --mp-panel-light: #1a3b5e;
  --mp-line: rgba(130, 219, 255, .24);
  --mp-cyan: #38d6ff;
  --mp-violet: #8b6cff;
  --mp-text: #f4f9ff;
  --mp-muted: #bed0df;
}

.mp-dashboard {
  max-width: 1180px;
  margin-inline: auto;
  color: var(--mp-text);
}

.mp-dashboard > header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid var(--mp-line);
  box-shadow: 0 24px 70px rgba(1, 8, 22, .28);
  background:
    radial-gradient(circle at 88% 16%, rgba(56, 214, 255, .28) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 31%, rgba(255, 255, 255, .7) 0 1px, transparent 2px),
    radial-gradient(circle at 92% 65%, rgba(139, 108, 255, .7) 0 2px, transparent 3px),
    radial-gradient(circle at 75% 70%, rgba(56, 214, 255, .55) 0 1px, transparent 2px),
    linear-gradient(130deg, #0b1930, #123c61 62%, #152451);
}

.mp-dashboard > header::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(130px, 24vw, 260px);
  aspect-ratio: 1;
  right: clamp(-60px, -4vw, -20px);
  bottom: clamp(-120px, -10vw, -70px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #75eaff, #166490 46%, #091b38 70%);
  box-shadow: -18px -10px 50px rgba(56, 214, 255, .16);
  opacity: .58;
}

.mp-dashboard > header h2 {
  margin: .25rem 0 .45rem;
  color: var(--mp-text);
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.05;
}

.mp-dashboard > header p {
  max-width: 40rem;
  margin: 0;
  color: var(--mp-muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.mp-dashboard-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.75rem);
}

.mp-dashboard-grid > .sms-form:first-child { grid-column: span 6; }
.mp-dashboard-grid > .sms-form:not(:first-child) { grid-column: span 3; }

.mp-dashboard .sms-form {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--mp-line);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0, 7, 20, .2);
  background: linear-gradient(145deg, rgba(26, 59, 94, .98), rgba(12, 31, 55, .98));
}

.mp-dashboard .sms-form h2 {
  margin-top: 0;
  color: var(--mp-text);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.mp-dashboard .sms-form label {
  color: var(--mp-text);
  font-size: .95rem;
}

.mp-dashboard .sms-form input:not([type="file"]),
.mp-dashboard .sms-form textarea,
.mp-dashboard .sms-form select {
  min-height: 48px;
  border: 1px solid rgba(159, 204, 232, .48);
  border-radius: 11px;
  color: #0b1a2d;
  background: #f7fbff;
  box-shadow: inset 0 1px 2px rgba(1, 14, 30, .08);
}

.mp-dashboard .sms-form textarea { min-height: 118px; resize: vertical; }
.mp-dashboard .sms-form select[multiple] { min-height: 150px; }

.mp-dashboard .sms-form input[type="file"] {
  display: block;
  width: 100%;
  margin-top: .55rem;
  padding: .7rem;
  border: 1px dashed rgba(94, 231, 255, .5);
  border-radius: 11px;
  color: var(--mp-muted);
  background: rgba(3, 15, 32, .3);
}

.mp-dashboard .sms-form input::file-selector-button {
  margin-right: .75rem;
  padding: .55rem .8rem;
  border: 0;
  border-radius: 8px;
  color: #061425;
  background: #7de9ff;
  font-weight: 800;
  cursor: pointer;
}

.mp-dashboard .sms-form button {
  min-height: 48px;
  padding-inline: 1.35rem;
  border-radius: 999px;
  color: #061425;
  background: linear-gradient(100deg, var(--mp-cyan), #8ce9ff);
  box-shadow: 0 8px 24px rgba(56, 214, 255, .18);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.mp-dashboard .sms-form button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 30px rgba(56, 214, 255, .28);
}

.mp-dashboard .sms-form input:focus-visible,
.mp-dashboard .sms-form textarea:focus-visible,
.mp-dashboard .sms-form select:focus-visible,
.mp-dashboard .sms-form button:focus-visible,
.mp-owner-list a:focus-visible,
.mp-card:focus-visible,
.mp-family-gallery > a:focus-visible,
.mp-memory-media a:focus-visible {
  outline: 3px solid #ffdc68;
  outline-offset: 3px;
}

.mp-dashboard > h2 {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  color: var(--mp-text);
}

.mp-owner-list {
  display: grid;
  gap: .75rem;
}

.mp-owner-list article {
  margin: 0;
  border: 1px solid var(--mp-line);
  background: linear-gradient(110deg, rgba(20, 42, 69, .98), rgba(20, 55, 84, .92));
}

.mp-owner-list article span {
  padding: .25rem .65rem;
  border-radius: 999px;
  color: var(--mp-muted);
  background: rgba(2, 15, 32, .35);
  font-size: .82rem;
}

.mp-owner-list article a {
  padding: .45rem .7rem;
  border-radius: 8px;
  color: var(--mp-cyan);
  font-weight: 700;
  text-decoration: none;
}

.mp-owner-list article a:hover { color: #fff; background: rgba(56, 214, 255, .13); }

.mp-card-grid,
.mp-family-gallery {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.mp-card,
.mp-family-gallery > a {
  position: relative;
  min-width: 0;
  border: 1px solid var(--mp-line);
  color: var(--mp-text);
  background: linear-gradient(150deg, var(--mp-panel-light), var(--mp-panel));
  box-shadow: 0 16px 42px rgba(1, 8, 22, .2);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.mp-card:hover,
.mp-family-gallery > a:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 231, 255, .62);
  box-shadow: 0 22px 50px rgba(1, 8, 22, .3);
}

.mp-card img,
.mp-family-gallery img {
  display: block;
  background: #071528;
  transition: transform .35s ease, filter .35s ease;
}

/* Deliberate zoom-out reveals a slim space-colored frame on hover. */
.mp-card:hover img,
.mp-family-gallery > a:hover img {
  transform: scale(.94);
  filter: saturate(1.08) brightness(1.04);
}

.mp-card h2 {
  margin: .9rem 0 .35rem;
  color: var(--mp-text);
  font-size: 1.25rem;
}

.mp-card p { margin-bottom: .25rem; color: var(--mp-muted); }

.mp-memory-media {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  margin-block: 1.5rem;
}

.mp-memory-media figure {
  overflow: hidden;
  border: 1px solid var(--mp-line);
  color: var(--mp-text);
  background: linear-gradient(145deg, var(--mp-panel-light), var(--mp-panel));
}

.mp-memory-media img,
.mp-memory-media video,
.mp-memory-media audio { display: block; width: 100%; }

.mp-memory-media figcaption { padding-top: .75rem; text-align: center; }
.mp-memory-media figcaption a { color: var(--mp-cyan); font-weight: 800; }

.sms-notice {
  border-radius: 10px;
  color: #112137;
}

@media (max-width: 760px) {
  .mp-dashboard-grid > .sms-form:first-child,
  .mp-dashboard-grid > .sms-form:not(:first-child) { grid-column: 1 / -1; }

  .mp-dashboard .sms-form { padding: 1.15rem; }
  .mp-owner-list article { align-items: flex-start; }
  .mp-owner-list article strong { flex-basis: 100%; }
}

@media (max-width: 430px) {
  .mp-dashboard > header { border-radius: 18px; }
  .mp-dashboard > header::after { opacity: .35; }
  .mp-card-grid,
  .mp-family-gallery { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .mp-dashboard .sms-form button,
  .mp-card,
  .mp-family-gallery > a,
  .mp-card img,
  .mp-family-gallery img { transition: none; }

  .mp-dashboard .sms-form button:hover,
  .mp-card:hover,
  .mp-family-gallery > a:hover,
  .mp-card:hover img,
  .mp-family-gallery > a:hover img { transform: none; }
}

.mp-reactions,.mp-reaction-form,.mp-favorite-form{display:inline-flex;align-items:center}.mp-reactions{flex-wrap:wrap;gap:.5rem;margin:1.25rem 0}.mp-reaction-form{margin:0}.mp-reaction,.mp-favorite-button{border:1px solid rgba(76,207,255,.32);border-radius:999px;background:rgba(13,31,54,.88);color:#f5fbff;padding:.55rem .85rem;cursor:pointer}.mp-reaction.is-selected,.mp-favorite-button.is-favorite{border-color:#42d9ff;background:rgba(0,174,239,.2);box-shadow:0 0 18px rgba(0,174,239,.2)}.mp-reaction:focus-visible,.mp-favorite-button:focus-visible,.mp-emoji-button:focus-visible{outline:3px solid #ffd45a;outline-offset:3px}.mp-reaction-emoji{font-size:1.2rem}.mp-reaction-count{margin-left:.3rem}.mp-favorite-form{margin:1rem 0}.mp-viewed-by{margin:1.5rem 0;padding:1rem 1.25rem;border:1px solid rgba(76,207,255,.22);border-radius:18px;background:rgba(21,44,73,.72)}.mp-viewed-by__list{display:grid;gap:.65rem;list-style:none;margin:0;padding:0}.mp-viewed-by__list li{display:grid;grid-template-columns:2rem 1fr auto;gap:.65rem;align-items:center}.mp-viewed-by__avatar{display:grid;width:2rem;height:2rem;place-items:center;border-radius:50%;background:#00aeef;color:#071522;font-weight:800}.mp-viewed-by time{font-size:.85rem;opacity:.75}.mp-comments{clear:both;margin-top:2rem}.mp-comment-form textarea{padding:.8rem;border:1px solid rgba(76,207,255,.3);border-radius:12px;background:#f8fbff;color:#10243d}.mp-emoji-button{cursor:pointer}@media(max-width:600px){.mp-viewed-by__list li{grid-template-columns:2rem 1fr}.mp-viewed-by time{grid-column:2}}

.mp-locator{max-width:1180px;margin:40px auto;padding:32px;color:#eaf6ff}
.mp-locator header{max-width:780px;margin-bottom:24px}
.mp-locator h1{margin:8px 0 12px;color:#fff;font-size:clamp(38px,6vw,68px)}
.mp-locator header p,.mp-locator__privacy{color:#b9c9d9}
#martinplanet-locator-map{width:100%;height:min(68vh,680px);min-height:440px;border:1px solid rgba(108,236,255,.25);border-radius:18px;overflow:hidden;box-shadow:0 20px 55px rgba(0,0,0,.35)}
.mp-locator .leaflet-popup-content{color:#07111e}
.mp-locator .leaflet-popup-content strong{display:block;margin-bottom:4px}
@media(max-width:700px){.mp-locator{padding:20px}#martinplanet-locator-map{min-height:380px}}

.martinplanet-login{width:min(100%,460px)!important;max-width:460px!important;margin:0 auto 1.5rem!important;padding:1.25rem 1.35rem!important;border-radius:18px!important}
.martinplanet-login h2{margin:0 0 .25rem!important;font-size:clamp(1.45rem,3vw,1.85rem)!important}
.martinplanet-login>p{margin:.25rem 0 .9rem!important}
.martinplanet-login .login-username,.martinplanet-login .login-password{margin:0 0 .7rem!important}
.martinplanet-login label{font-size:.94rem}
.martinplanet-login input[type="text"],.martinplanet-login input[type="password"]{min-height:44px!important;padding:.65rem .8rem!important}
.martinplanet-login .login-remember{margin:.2rem 0 .8rem!important}
.martinplanet-login .login-remember label{display:flex;align-items:center;gap:.55rem;font-weight:500}
.martinplanet-login .login-remember input{width:auto!important;margin:0!important}
.martinplanet-login .login-submit{margin:0!important}
.martinplanet-login .login-submit input{min-height:42px;padding:.65rem 1.15rem!important}
.mp-three-file-upload{display:grid;gap:.75rem;margin:1rem 0;padding:1rem;border:1px solid rgba(109,211,255,.24);border-radius:14px}.mp-three-file-upload legend{padding:0 .35rem;color:#fff;font-weight:800}.mp-three-file-upload label{display:block;font-weight:700}.mp-three-file-upload input[type="file"]{display:block;width:100%;box-sizing:border-box;margin-top:.35rem}.mp-three-file-upload small{color:#bfd3e5}

.mp-profile-directory{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.35rem;margin:2rem 0}
.mp-profile-card{overflow:hidden;border:1px solid rgba(76,207,255,.24);border-radius:22px;background:linear-gradient(145deg,rgba(21,44,73,.96),rgba(7,21,38,.96));color:#eef8ff;text-decoration:none;box-shadow:0 16px 40px rgba(0,0,0,.22);transition:transform .2s ease,border-color .2s ease}
.mp-profile-card:hover{transform:translateY(-5px);border-color:#42d9ff;color:#fff}
.mp-profile-card__photo{display:grid;aspect-ratio:1/1;place-items:center;overflow:hidden;background:radial-gradient(circle at 35% 25%,#1f77a7,#0b1e36)}
.mp-profile-card__photo img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.mp-profile-card:hover .mp-profile-card__photo img{transform:scale(1.035)}
.mp-profile-card__photo span{display:grid;width:7rem;height:7rem;place-items:center;border-radius:50%;background:rgba(66,217,255,.16);color:#8feaff;font-size:4rem;font-weight:800}
.mp-profile-card__body{padding:1.2rem 1.25rem 1.4rem}.mp-profile-card__body h2{margin:0 0 .35rem;color:#fff;font-size:1.45rem}.mp-profile-card__body p{margin:.4rem 0;color:#c4d4e4}.mp-profile-card__role{color:#68dcff!important;font-weight:800}.mp-profile-card__place{display:block;margin-top:.75rem;color:#e6f5ff;font-size:.9rem}
.mp-member-profile{max-width:1080px;margin:1.5rem auto 3rem;color:#eaf6ff}
.mp-member-profile__hero{display:grid;grid-template-columns:minmax(180px,300px) 1fr;gap:clamp(1.5rem,4vw,3.5rem);align-items:center;padding:clamp(1.25rem,4vw,3rem);border:1px solid rgba(76,207,255,.24);border-radius:28px;background:radial-gradient(circle at 10% 20%,rgba(0,174,239,.2),transparent 34%),linear-gradient(145deg,#152d4a,#071522);box-shadow:0 24px 60px rgba(0,0,0,.3)}
.mp-member-profile__photo{display:grid;aspect-ratio:1/1;place-items:center;overflow:hidden;border:4px solid rgba(125,228,255,.35);border-radius:50%;background:#102b48;box-shadow:0 0 0 10px rgba(66,217,255,.06)}
.mp-member-profile__photo img{width:100%;height:100%;object-fit:cover}.mp-member-profile__photo span{font-size:clamp(5rem,11vw,9rem);font-weight:800;color:#74e0ff}
.mp-member-profile__hero h1{margin:.35rem 0;color:#fff;font-size:clamp(2.5rem,6vw,5rem);line-height:1}.mp-member-profile__role{margin:.75rem 0;color:#74e0ff;font-size:1.25rem;font-weight:800}
.mp-member-profile__facts{display:flex;flex-wrap:wrap;gap:.65rem;margin:1.25rem 0}.mp-member-profile__facts span{padding:.55rem .8rem;border:1px solid rgba(76,207,255,.2);border-radius:999px;background:rgba(5,19,35,.58);font-size:.92rem}
.mp-profile-edit,.mp-profile-view{display:inline-block;margin-top:.5rem;padding:.7rem 1rem;border-radius:999px;background:#39baf2;color:#061526!important;font-weight:800;text-decoration:none}.mp-profile-view{margin-left:.75rem}
.mp-member-profile__about,.mp-member-profile__memories{margin-top:1.5rem;padding:clamp(1.25rem,3vw,2rem);border:1px solid rgba(76,207,255,.18);border-radius:22px;background:rgba(13,31,54,.82)}
.mp-profile-memory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem}.mp-profile-memory-grid>a{overflow:hidden;border:1px solid rgba(76,207,255,.16);border-radius:16px;background:#091a2d;color:#fff;text-decoration:none}.mp-profile-memory-grid img,.mp-memory-placeholder{display:grid;width:100%;aspect-ratio:4/3;place-items:center;object-fit:cover;background:#102b48;font-size:2rem}.mp-profile-memory-grid strong,.mp-profile-memory-grid small{display:block;padding:.7rem .85rem 0}.mp-profile-memory-grid small{padding-top:0;padding-bottom:.8rem;color:#aebed0}
.mp-profile-form__current-photo img{width:110px;height:110px;object-fit:cover;border:3px solid #42d9ff;border-radius:50%}
body.single-mp_profile .entry-meta,body.single-mp_profile .post-meta,body.single-mp_profile .comments-area{display:none!important}
.post-share,.social-share,.share-buttons,.share_icon,.share-button,.social-share-icon-main,.sharedaddy,.sd-sharing-enabled,.addtoany_share_save_container,.heateor_sss_sharing_container,[class*="share-links"],[class*="social-share"]{display:none!important}
@media(max-width:700px){.mp-member-profile__hero{grid-template-columns:1fr;text-align:center}.mp-member-profile__photo{width:min(72vw,260px);margin:auto}.mp-member-profile__facts{justify-content:center}.mp-profile-directory{grid-template-columns:1fr 1fr}.mp-profile-card__body{padding:1rem}.mp-profile-card__body p:not(.mp-profile-card__role),.mp-profile-card__place{display:none}}
.mp-profile-archive{max-width:1180px;margin:2rem auto 4rem;padding:0 1.25rem;color:#eaf6ff}.mp-profile-archive__header{max-width:760px;margin-bottom:2rem}.mp-profile-archive__header h1{margin:.35rem 0;color:#fff;font-size:clamp(2.5rem,6vw,4.75rem)}.mp-profile-archive__header p{color:#bfd0df;font-size:1.1rem}
.mp-member-profile__gallery{margin-top:1.5rem;padding:clamp(1.25rem,3vw,2rem);border:1px solid rgba(76,207,255,.18);border-radius:22px;background:rgba(13,31,54,.82)}
.mp-profile-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem}.mp-profile-photo-grid figure{overflow:hidden;margin:0;border-radius:16px;background:#081a2c}.mp-profile-photo-grid img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}.mp-profile-photo-grid figcaption{padding:.75rem 1rem;color:#dceeff}
.mp-profile-gallery-manager{grid-column:1/-1}.mp-profile-gallery-manager__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem;margin-top:1.5rem}.mp-profile-gallery-manager__grid form{padding:1rem;border:1px solid rgba(76,207,255,.2);border-radius:16px;background:rgba(5,19,35,.6)}.mp-profile-gallery-manager__grid img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:12px}.mp-profile-gallery-manager__actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}.mp-profile-gallery-manager__actions button{flex:1 1 auto}.mp-profile-gallery-manager .mp-delete-button{background:#8f2f45;color:#fff}.mp-import-path code{display:block;overflow-wrap:anywhere;margin-top:.4rem;padding:.7rem;border-radius:8px;background:#061526;color:#8feaff}
@media(max-width:430px){.mp-profile-directory,.mp-profile-photo-grid{grid-template-columns:1fr}}
.mp-import-panel{grid-column:1/-1}.mp-import-panel__paths{display:grid;gap:.65rem;margin:1rem 0}.mp-import-panel__paths p{margin:0;padding:.8rem;border:1px solid rgba(76,207,255,.18);border-radius:10px;background:rgba(5,19,35,.52)}.mp-import-panel__paths strong,.mp-import-panel__paths code{display:block}.mp-import-panel__paths code{overflow-wrap:anywhere;margin-top:.35rem;color:#8feaff}
.mp-family-section{max-width:1180px;margin:2rem auto 4rem;padding:0 1.25rem;color:#eaf6ff}.mp-family-section__header{max-width:760px;margin-bottom:2rem}.mp-family-section__header h1{margin:.35rem 0;color:#fff;font-size:clamp(2.5rem,6vw,4.75rem)}.mp-family-section__header p{color:#bfd0df;font-size:1.1rem}.mp-family-section .mp-event-form{margin-top:2rem}

/* Compact inner-page title band; the homepage is intentionally excluded. */
body:not(.home) .banner-image{padding:1.25rem 0!important}
body:not(.home) .banner-content-box{padding:1rem 0!important}
body:not(.home) .middle-align{padding-top:1rem!important}

/* Unified member profile page. */
.mp-your-profile{display:grid;gap:1.5rem;max-width:1180px;margin:0 auto 1.5rem;padding:0 1.25rem}
.mp-your-profile>.sms-form,.martinplanet-preferences{width:100%;max-width:900px;margin:0 auto}
.mp-your-profile .mp-profile-gallery-manager{width:100%}
.mp-profile-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:1rem}
.mp-profile-actions .mp-profile-view{margin:0}
.martinplanet-preferences>h2,.martinplanet-preferences>p{max-width:900px;margin-left:auto;margin-right:auto}
.mp-owner-list .mp-trash-form{display:inline-flex;margin:0}
.mp-owner-list .mp-trash-button{padding:.55rem .85rem;border:1px solid rgba(255,116,145,.45);border-radius:999px;background:#8f2f45;color:#fff;cursor:pointer}
.mp-discussion-card .mp-owner-actions{display:flex;align-items:center;gap:.75rem}.mp-discussion-card .mp-owner-actions form{display:inline-flex;margin:0}.mp-discussion-card .mp-owner-actions button{padding:.45rem .75rem;border:1px solid rgba(255,116,145,.45);border-radius:999px;background:#8f2f45;color:#fff;cursor:pointer}
.mp-stargaze-history{max-width:1180px;margin:2rem auto}
.mp-discussions-title{margin:.35rem 0;color:#fff;font-size:clamp(2rem,4vw,3.25rem);font-weight:800;line-height:1.1}
.mp-empty-actions{display:flex;flex-wrap:wrap;gap:.75rem}.mp-empty-actions a{display:inline-block;padding:.7rem 1rem;border-radius:999px;background:#39baf2;color:#061526!important;font-weight:800;text-decoration:none}
.mp-gallery-intro{margin:0 0 1.25rem;color:#bfd0df}.mp-gallery-empty{padding:2rem;border:1px solid rgba(76,207,255,.2);border-radius:18px;background:rgba(13,31,54,.82);text-align:center}

/* Center and simplify every creator panel on Your Profile. */
.mp-your-profile-page{display:grid;gap:1.5rem;width:100%;max-width:1180px;margin:0 auto;padding:0 1.25rem;box-sizing:border-box}
.mp-your-profile-page .mp-your-profile{margin:0 auto;padding:0}
.mp-your-profile-page>.martinplanet-preferences,.mp-your-profile-page>.mp-creator-hub{width:100%;max-width:900px;margin:0 auto}
.mp-your-profile-page>.mp-creator-hub{display:grid;gap:1.5rem}
.mp-your-profile-page>.mp-creator-hub>.mp-dashboard,.mp-your-profile-page>.mp-creator-hub>.sms-form{width:100%;max-width:900px;margin:0 auto;box-sizing:border-box}
.mp-your-profile-page .mp-creator-hub>header,.mp-your-profile-page .mp-dashboard>header{width:100%;max-width:900px;margin-left:auto;margin-right:auto;box-sizing:border-box}
.mp-your-profile-page .mp-dashboard-grid{grid-template-columns:minmax(0,900px);justify-content:center}
.mp-your-profile-page .mp-dashboard-grid>.sms-form:first-child,.mp-your-profile-page .mp-dashboard-grid>.sms-form:not(:first-child){grid-column:1/-1;width:100%;max-width:900px;margin-left:auto;margin-right:auto;box-sizing:border-box}
.mp-your-profile-page .mp-dashboard .sms-form{max-width:900px}
.mp-your-profile-page .sms-form input:not([type="file"]),.mp-your-profile-page .sms-form textarea,.mp-your-profile-page .sms-form select,.mp-your-profile-page .sms-form input[type="file"]{width:100%;box-sizing:border-box}
.mp-your-profile-page .mp-profile-gallery-manager,.mp-your-profile-page .mp-profile-form,.mp-your-profile-page .martinplanet-preferences,.mp-your-profile-page .mp-creator-hub,.mp-your-profile-page .sms-form{justify-self:center;text-align:left}
.mp-your-profile-page .mp-profile-gallery-manager>h2,.mp-your-profile-page .mp-profile-gallery-manager>p,.mp-your-profile-page .mp-profile-form>h2{text-align:center}
.mp-your-profile-page .mp-import-panel{display:none!important}
.mp-discussions{max-width:1040px;margin:0 auto;padding:0 1.25rem;color:#eef8ff}.mp-discussions>header{margin-bottom:1.5rem;padding:1.5rem 1.75rem;border:1px solid rgba(76,207,255,.25);border-radius:22px;background:linear-gradient(135deg,rgba(20,58,91,.96),rgba(10,27,49,.96));box-shadow:0 18px 44px rgba(0,0,0,.2)}.mp-discussions>header span{color:#67e1ff;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.mp-discussion-feed{display:grid;gap:1.5rem}.mp-discussion-card{overflow:hidden;padding:clamp(1.1rem,3vw,1.8rem);border:1px solid rgba(76,207,255,.22);border-radius:22px;background:linear-gradient(145deg,rgba(21,44,73,.96),rgba(8,23,42,.96));box-shadow:0 16px 42px rgba(0,0,0,.2)}.mp-discussion-card>header{padding-bottom:1rem;border-bottom:1px solid rgba(76,207,255,.16)}.mp-discussion-card h2{margin:0}.mp-discussion-card h2 a{color:#fff}.mp-discussion-body{padding:1rem 0}.mp-discussion-comments{margin-top:1rem;padding:1rem;border:1px solid rgba(76,207,255,.14);border-radius:16px;background:rgba(3,16,31,.38)}.mp-inline-comment-form{margin-top:1rem;padding:1rem;border-radius:14px;background:rgba(20,52,82,.72)}.mp-inline-comment-form textarea{box-sizing:border-box;width:100%;border-radius:10px}
.mp-stargaze-feed{max-width:1100px;margin:1.5rem auto 3rem;padding:0 1.25rem;color:#eef8ff}.mp-stargaze-feed>header{margin-bottom:1.5rem;padding:1.5rem 1.75rem;border:1px solid rgba(76,207,255,.24);border-radius:22px;background:linear-gradient(135deg,#113451,#111d3e)}.mp-stargaze-feed>header span{color:#67e1ff;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.mp-stargaze-feed>header h2{margin:.3rem 0;color:#fff}.mp-stargaze-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.4rem}.mp-stargaze-card{overflow:hidden;border:1px solid rgba(76,207,255,.22);border-radius:22px;background:linear-gradient(145deg,rgba(21,44,73,.98),rgba(8,23,42,.98));box-shadow:0 16px 42px rgba(0,0,0,.24)}.mp-stargaze-card__image img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.mp-stargaze-card__body{padding:1.25rem}.mp-stargaze-card__body h3{margin:0 0 .35rem;color:#fff}.mp-stargaze-card__byline{color:#a9c6da;font-size:.9rem}.mp-stargaze-card__comment{margin:1rem 0;color:#eef8ff}.mp-stargaze-card__details{display:grid;gap:.35rem;margin:1rem 0 0;padding:1rem 1rem 1rem 2rem;border-radius:12px;background:rgba(5,18,34,.55);color:#bfe3f3;font-size:.9rem}
@media(max-width:600px){.mp-your-profile-page{padding:0 .75rem}.mp-your-profile-page>.martinplanet-preferences,.mp-your-profile-page>.mp-creator-hub,.mp-your-profile-page>.mp-creator-hub>.mp-dashboard,.mp-your-profile-page>.mp-creator-hub>.sms-form,.mp-your-profile-page .mp-dashboard-grid>.sms-form{width:100%;max-width:100%;min-width:0}.mp-your-profile-page .sms-form{padding:1rem}.mp-your-profile-page .sms-form input,.mp-your-profile-page .sms-form textarea,.mp-your-profile-page .sms-form select{min-width:0;max-width:100%}.mp-discussions,.mp-stargaze-feed{padding:0 .75rem}}


/* Compact MartinPlanet device shortcut strip */
.mp-shortcut-panel{display:flex;align-items:center;gap:12px;width:100%;max-width:900px;box-sizing:border-box;margin:0 auto 14px;padding:9px 11px;border:1px solid rgba(118,191,255,.3);border-radius:12px;background:linear-gradient(135deg,rgba(5,20,48,.95),rgba(32,15,65,.92));box-shadow:0 8px 20px rgba(0,0,0,.18);color:#f6fbff}
.mp-shortcut-heading{display:flex;align-items:center;gap:8px;flex:0 1 230px;min-width:170px;margin:0}
.mp-shortcut-heading h2{margin:0;color:#fff;font-size:1rem;line-height:1.15}
.mp-shortcut-heading p{margin:2px 0 0;color:#cfe7ff;font-size:.75rem;line-height:1.2}
.mp-shortcut-main-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.11);font-size:19px}
.mp-shortcut-grid{display:grid;grid-template-columns:repeat(4,minmax(82px,1fr));gap:6px;flex:1;min-width:0}
.mp-shortcut-choice{position:relative;min-width:0;min-height:40px;box-sizing:border-box;padding:5px 7px;border:1px solid rgba(255,255,255,.17);border-radius:9px;background:rgba(255,255,255,.07);color:#fff!important;text-align:left;text-decoration:none!important;font-size:.78rem;line-height:1.1;transition:background .18s ease,border-color .18s ease}
a.mp-shortcut-choice,.mp-shortcut-choice[data-mp-install],.mp-shortcut-choice summary{display:grid;grid-template-columns:22px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:5px}
a.mp-shortcut-choice:hover,a.mp-shortcut-choice:focus-visible,.mp-shortcut-choice[data-mp-install]:hover,.mp-shortcut-choice[data-mp-install]:focus-visible,.mp-shortcut-choice:focus-within{background:rgba(255,255,255,.14);border-color:#9ad7ff}
.mp-shortcut-choice>span,.mp-shortcut-choice summary>span{grid-row:1/3;display:block;margin:0;font-size:17px;text-align:center}
.mp-shortcut-choice strong,.mp-shortcut-choice small{display:block;white-space:nowrap}
.mp-shortcut-choice small{margin:1px 0 0;color:#cfe7ff;font-size:.68rem}
.mp-shortcut-choice summary{list-style:none;cursor:pointer}
.mp-shortcut-choice summary::-webkit-details-marker{display:none}
.mp-shortcut-choice ol{position:absolute;z-index:20;top:calc(100% + 7px);right:0;width:250px;box-sizing:border-box;margin:0;padding:12px 12px 7px 28px;border:1px solid rgba(118,191,255,.35);border-radius:10px;background:#091a34;box-shadow:0 12px 28px rgba(0,0,0,.45);color:#eef7ff;font-size:.78rem;line-height:1.35}
.mp-shortcut-choice li{margin:0 0 6px}
.mp-shortcut-choice[hidden]{display:none!important}
.mp-shortcut-choice[data-mp-install]{font:inherit;cursor:pointer}
.mp-single-device .mp-shortcut-grid{grid-template-columns:minmax(150px,210px);justify-content:end}
.mp-shortcut-status{grid-column:1/-1;margin:2px 0 0;color:#d9e9ff;font-size:.72rem;line-height:1.25}
.mp-shortcut-status[hidden]{display:none!important}
@media (max-width:720px){.mp-shortcut-panel{align-items:stretch;flex-direction:column;gap:7px;padding:8px 9px}.mp-shortcut-heading{flex:0 0 auto;min-width:0}.mp-shortcut-heading p{display:none}.mp-shortcut-grid{grid-template-columns:repeat(4,minmax(65px,1fr))}.mp-shortcut-choice{padding:5px}.mp-shortcut-choice small{display:none}}
@media (max-width:440px){.mp-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mp-shortcut-choice ol{right:auto;left:0;width:min(250px,80vw)}}


/* MartinPlanet front-end password recovery */
.martinplanet-password-reset{width:min(100%,540px)!important;max-width:540px!important;margin:0 auto 2rem!important;padding:clamp(1.25rem,4vw,2rem)!important;border:1px solid rgba(76,207,255,.28)!important;border-radius:22px!important;background:linear-gradient(145deg,rgba(21,44,73,.96),rgba(7,21,38,.96))!important;box-shadow:0 20px 52px rgba(0,0,0,.3);color:#eef8ff}
.martinplanet-password-reset h2{margin:.25rem 0 .55rem!important;color:#fff;font-size:clamp(1.7rem,4vw,2.35rem)!important}
.martinplanet-password-reset>p{color:#c9dbea}
.martinplanet-password-reset label{display:grid;gap:.4rem;color:#eef8ff;font-weight:700}
.martinplanet-password-reset input{box-sizing:border-box;width:100%;min-height:48px;padding:.7rem .85rem;border:1px solid rgba(76,207,255,.32);border-radius:11px;background:#f8fbff;color:#10243d}
.martinplanet-password-reset button,.martinplanet-password-reset .mp-auth-button{display:inline-block;min-height:46px;box-sizing:border-box;padding:.75rem 1.15rem;border:0;border-radius:999px;background:#39baf2;color:#061526!important;font-weight:800;text-decoration:none;cursor:pointer}
.martinplanet-password-reset .mp-auth-kicker{margin:0!important;color:#67e1ff!important;font-size:.78rem;font-weight:800;letter-spacing:.12em}
.martinplanet-password-reset .martinplanet-login__help{margin-bottom:0!important}

/* Separate registration page link inside the member sign-in card. */
.martinplanet-login__title-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 .25rem}
.martinplanet-login__title-row h2{margin:0!important}
.martinplanet-login__join{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:.45rem .8rem;border:1px solid rgba(103,225,255,.42);border-radius:999px;background:rgba(57,186,242,.12);color:#eefaff!important;font-size:.88rem;font-weight:800;line-height:1;text-decoration:none!important;white-space:nowrap}
.martinplanet-login__join:hover,.martinplanet-login__join:focus-visible{border-color:#67e1ff;background:rgba(57,186,242,.24);color:#fff!important}
@media(max-width:480px){.martinplanet-login__title-row{align-items:flex-start;flex-direction:column;gap:.6rem}.martinplanet-login__join{align-self:flex-start}}

/* Your Profile creator navigation */
.mp-creator-navigation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;width:100%;max-width:900px;box-sizing:border-box;margin:0 auto 18px;padding:8px;border:1px solid rgba(118,191,255,.28);border-radius:14px;background:linear-gradient(135deg,rgba(5,20,48,.95),rgba(32,15,65,.92));box-shadow:0 10px 26px rgba(0,0,0,.2)}
.mp-creator-navigation__link{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:7px 9px;border:1px solid rgba(255,255,255,.13);border-radius:10px;background:rgba(255,255,255,.06);color:#eaf8ff!important;font-size:.82rem;font-weight:800;line-height:1.15;text-align:center;text-decoration:none!important}
.mp-creator-navigation__link:hover,.mp-creator-navigation__link:focus-visible{border-color:#9ad7ff;background:rgba(95,211,255,.14)}
.mp-creator-navigation__link.is-active{border-color:#67e1ff;background:linear-gradient(135deg,rgba(57,186,242,.28),rgba(126,100,255,.25));box-shadow:inset 0 0 0 1px rgba(103,225,255,.18)}
.mp-creator-view{width:100%;max-width:900px;box-sizing:border-box;margin:0 auto}
.mp-creator-view[hidden]{display:none!important}
.mp-creator-hub>.mp-creator-view>.mp-dashboard,.mp-creator-hub>.mp-creator-view>.sms-form{width:100%;max-width:900px;margin-left:auto;margin-right:auto;box-sizing:border-box}
.mp-creator-view--account{display:grid;gap:1.5rem}
.mp-creator-view--account>.martinplanet-preferences{width:100%;max-width:900px;box-sizing:border-box;margin:0 auto}
@media(max-width:720px){.mp-creator-navigation{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.mp-creator-navigation__link:first-child{grid-column:1/-1}.mp-creator-navigation__link{min-height:42px;padding:6px;font-size:.76rem}}

/* Private locator address pin editor. */
#mp-locator-address-map{width:100%;height:420px;min-height:320px;margin:12px 0 18px;border:1px solid rgba(108,236,255,.25);border-radius:16px;overflow:hidden;box-shadow:0 14px 36px rgba(0,0,0,.28)}
#mp-locator-editor-status{display:inline-block;margin-left:.5rem;color:#b9dff2;font-size:.9rem}
.mp-locator-use-location{margin:0}
@media(max-width:700px){#mp-locator-address-map{height:360px;min-height:300px}#mp-locator-editor-status{display:block;margin:.6rem 0 0}}

/* MartinPlanet – tighter spacing (paste into Appearance > Customize > Additional CSS) */
body .mp-home-tools { padding: 40px 0 44px; }
body .mp-home-tools__header { margin-bottom: 18px; gap: 16px; }
body .mp-home-panels { padding: 36px 0; gap: 12px; }
body .mp-home-motto { padding: clamp(36px, 6vw, 64px) 0; }
body .mp-home-motto * { margin-top: 0; margin-bottom: 0; }

@media (max-width: 768px) {
  body .mp-home-tools { padding: 28px 0 30px; }
  body .mp-home-tools__header { flex-direction: column; align-items: flex-start; margin-bottom: 14px; }
  body .mp-home-panels { padding: 24px 0; grid-template-columns: 1fr; }
  body .mp-home-motto { padding: 32px 0; }
}

/* Upload spinner */
.mp-spinner{display:inline-block;flex:0 0 auto;width:22px;height:22px;border:3px solid rgba(0,160,220,.3);border-top-color:#00a8e8;border-radius:50%;animation:mp-spin .8s linear infinite}
@keyframes mp-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.mp-spinner{animation-duration:2.4s}}
