/*
 * Pó da Estrada — ajustes sobre o tema Porto (site público).
 * As cores da marca vêm do skin "podaestrada.css" (primária #8b5a2b).
 */

:root {
	--pe-brown: #8b5a2b;
	--pe-brown-dark: #6e4722;
	--pe-dark: #2b1d10;
	--pe-sand: #f6f0e8;
	--pe-line: #e7ddd0;
	/* Uma cor por tipo de local: pinos do mapa e botões de tipo (igual no app). */
	--pe-camping: #8b5a2b;
	--pe-trail: #2e7d32;
	--pe-park: #6a4c93;
	--pe-beach: #b26b00;
	--pe-waterfall: #1f78b4;
	--pe-mute: #6b7280;
}

/* Cabeçalho */
#header .header-logo img { object-fit: contain; }
/* Menu da conta: o tema já desenha a seta; a do Bootstrap duplicava. */
.account-menu > .dropdown-toggle::after { display: none; }
.account-avatar {
	width: 2rem; height: 2rem; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--pe-brown), #c48a4a);
	color: #fff; font-weight: 700; font-size: .8rem; text-transform: uppercase;
}
.account-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: #e0982e; }
.account-menu .dropdown-menu { min-width: 15rem; border-radius: 8px; border: 1px solid var(--pe-line); padding: .4rem 0; z-index: 1100; }
.account-menu .dropdown-item { font-size: .85rem; padding: .45rem 1rem; }
.account-menu .dropdown-item.active,
.account-menu .dropdown-item:active { background: var(--pe-sand); color: var(--pe-dark); }

/* Slider da home (owl-carousel-light do Porto) */
.home-slider .owl-item { background-color: var(--pe-dark); }
.home-slider .slide-overlay::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(rgba(20, 14, 8, .45), rgba(20, 14, 8, .6));
}
.home-slider .slide-default { background-image: linear-gradient(135deg, #3a2a1a, var(--pe-brown)); }

/* Faixa de busca abaixo do slider (home-intro do Porto) */
.home-intro .home-search { display: flex; gap: .5rem; flex-wrap: wrap; }
.home-intro .home-search .form-control,
.home-intro .home-search .form-select { min-height: 3rem; border: 0; }
.home-intro .home-search .form-control { flex: 1 1 14rem; }
.home-intro .home-search .form-select { flex: 0 0 11rem; }

/* Cartões de autenticação e formulários */
.auth-card { border: 0; box-shadow: 0 1rem 2.5rem rgba(43, 29, 16, .10); border-radius: 8px; }
.auth-card .card-body { padding: 2.5rem; }
@media (max-width: 575px) { .auth-card .card-body { padding: 1.5rem; } }
.btn-social {
	display: flex; align-items: center; justify-content: center; gap: .7rem; width: 100%;
	padding: .7rem 1rem; margin-bottom: .6rem; border: 1px solid var(--pe-line); border-radius: 50rem;
	background: #fff; color: #2f3542; font-weight: 600; font-size: .9rem; text-decoration: none;
}
.btn-social:hover { background: var(--pe-sand); color: var(--pe-dark); }
.divider-text { display: flex; align-items: center; gap: .8rem; color: #959ca9; font-size: .8rem; margin: 1rem 0 1.25rem; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: var(--pe-line); }

/* Caixas de marcar e botões de opção visíveis (o tema deixa a borda quase branca). */
.form-check-input { width: 1.15em; height: 1.15em; margin-top: .2em; border: 2px solid #9a8a78; }
.form-check-input:checked { background-color: var(--pe-brown); border-color: var(--pe-brown); }
.form-check-input:focus { border-color: var(--pe-brown); box-shadow: 0 0 0 .2rem rgba(139, 90, 43, .2); }
.form-control:focus, .form-select:focus { border-color: rgba(139, 90, 43, .5); box-shadow: 0 0 0 .2rem rgba(139, 90, 43, .15); }

/* Seções de conteúdo */
.section-sand { background: var(--pe-sand); }
.feature-box .feature-box-icon.bg-primary i { color: #fff; }
.page-header.page-header-classic { border-bottom: 1px solid var(--pe-line); }

/* ---------- Ficha do local (layout da página de produto do Porto) ---------- */

.mfp-title small { display: block; color: #b8a48c; margin-top: .2rem; }

.pd-stars-static { color: #e0a100; font-size: .9rem; letter-spacing: .05em; }
.pd-stars-static .far { color: #d9cfc2; }
.pd-stars { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.pd-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pd-stars label { font-size: 1.8rem; line-height: 1; color: #d9cfc2; cursor: pointer; }
.pd-stars input:checked ~ label, .pd-stars label:hover, .pd-stars label:hover ~ label { color: #e0a100; }
.pd-stars input:focus-visible + label { outline: 2px solid rgba(139, 90, 43, .5); border-radius: 4px; }
.pd-pre { white-space: pre-line; word-break: break-word; }
ul.comments .pd-avatar { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--pe-sand); color: var(--pe-brown); font-weight: 700; font-size: 1.1rem; }

.pd-track-trust { background: var(--pe-sand); border-radius: 4px; padding: .8rem 1rem; }
.pd-profile { position: relative; background: var(--pe-sand); border-radius: 4px; padding: .6rem .6rem 1.4rem 3.2rem; }
.pd-profile svg { display: block; width: 100%; height: 150px; }
.pd-profile .ymax, .pd-profile .ymin, .pd-profile .x0, .pd-profile .x1 { position: absolute; font-size: .72rem; color: var(--pe-mute); }
.pd-profile .ymax { top: .5rem; left: .5rem; }
.pd-profile .ymin { bottom: 1.4rem; left: .5rem; }
.pd-profile .x0 { bottom: .3rem; left: 3.2rem; }
.pd-profile .x1 { bottom: .3rem; right: .6rem; }
/* Perfil interativo: área do gráfico (mesma caixa do SVG), cursor e pontos de interesse. */
.pd-profile:focus-visible { outline: 2px solid var(--pe-brown); outline-offset: 2px; }
.pd-profile-plot { position: absolute; top: .6rem; right: .6rem; bottom: 1.4rem; left: 3.2rem; cursor: crosshair; touch-action: pan-y; }
.pd-profile-cursor { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed var(--pe-dark); pointer-events: none; }
.pd-profile-tip { position: absolute; left: 6px; transform: translateY(-120%); white-space: nowrap; background: var(--pe-dark); color: #fff; font-size: .72rem; font-weight: 600; padding: .15rem .45rem; border-radius: 4px; }
.pd-tip-left .pd-profile-tip { left: auto; right: 6px; }
.pd-profile-poi { position: absolute; width: 24px; height: 24px; margin: -26px 0 0 -12px; padding: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; line-height: 1; background: #fff; border: 2px solid var(--c, var(--pe-brown)); border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); cursor: pointer; }
.pd-profile-poi:hover, .pd-profile-poi:focus-visible { transform: scale(1.15); }
/* "Onde estou" no mapa da trilha. */
.pd-me-btn { width: 34px; height: 34px; border: 2px solid rgba(0, 0, 0, .2); border-radius: 4px; background: #fff; color: #1a73e8; font-size: 15px; cursor: pointer; }
.pd-me { display: block; width: 18px; height: 18px; border-radius: 50%; background: #1a73e8; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(26, 115, 232, .2); box-sizing: border-box; }
.pd-me-bar { position: absolute; left: 10px; right: 10px; bottom: 26px; z-index: 1000; background: rgba(43, 29, 16, .9); color: #fff; font-size: .8rem; font-weight: 600; padding: .4rem .7rem; border-radius: 6px; }
.pd-profile-me { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #1a73e8; border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(26, 115, 232, .25); pointer-events: none; }

.pd-point-thumb { width: 6rem; height: 4.5rem; border-radius: 4px; background: #efe7db center / cover no-repeat; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.pd-emergency { border-top: 3px solid #dc3545 !important; }

.pd-map { width: 100%; height: 420px; background: #efe7db; z-index: 0; }
.leaflet-container img { max-width: none !important; }
.pd-pin-wrap, .pd-poi-wrap { background: none; border: 0; }
.pd-pin { display: block; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.pd-pin.main { width: 22px; height: 22px; background: #2b1d10; }
.pd-pin.near { width: 16px; height: 16px; background: #8b5a2b; }
.pd-poi { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--c, #8b5a2b); font-size: 14px; line-height: 1; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.pd-pop a { font-weight: 600; }
.pd-pop small { display: block; color: var(--pe-mute); }
.pd-pop img { display: block; width: 180px; height: 110px; object-fit: cover; border-radius: 4px; margin-bottom: .4rem; }


/* ---------- Painel do usuário ---------- */
/* Painel do usuário */
.ud-hero { background: var(--pe-dark); color: #fff; padding: 2.5rem 0 0; }
.ud-avatar { width: 4.5rem; height: 4.5rem; border-radius: 50%; background: linear-gradient(135deg, #c48a4a, #8b5a2b) center / cover no-repeat; border: 3px solid rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; font-weight: 700; color: #fff; text-transform: uppercase; }
.ud-level { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #e0b27a; }
.ud-hello { color: #fff; font-size: 2rem; font-weight: 700; line-height: 1.15; margin: .15rem 0 .2rem; letter-spacing: -.01em; }
.ud-meta { color: rgba(255, 255, 255, .55); font-size: .88rem; margin: 0; }
.ud-hero .btn-outline.btn-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.ud-hero .btn-outline.btn-light:hover { background: #fff; color: var(--pe-dark); }
.ud-numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.ud-number { position: relative; padding: 1.1rem 1rem 1.25rem; border-left: 1px solid rgba(255, 255, 255, .1); transition: background .2s; }
.ud-number:first-child { border-left: 0; padding-left: 0; }
.ud-number:hover { background: rgba(255, 255, 255, .04); }
.ud-number strong { display: block; font-size: 1.9rem; font-weight: 700; line-height: 1; color: #fff; }
.ud-number .l { display: block; margin-top: .45rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #e0b27a; }
.ud-number .s { display: block; font-size: .78rem; color: rgba(255, 255, 255, .5); }
@media (max-width: 575px) { .ud-number:nth-child(odd) { border-left: 0; padding-left: 0; } .ud-hello { font-size: 1.6rem; } }
.ud-callout { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.25rem; border-radius: 6px; background: #fff7e6; border: 1px solid #f1d9a8; border-left: 4px solid #d99a2b; }
.ud-callout > i { font-size: 1.4rem; color: #b7791f; }
.ud-title { font-size: 1.1rem; font-weight: 700; color: var(--pe-dark); margin-bottom: 1rem; letter-spacing: -.01em; }
.ud-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.ud-action { display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem; border-radius: 6px; background: #fff; border: 1px solid var(--pe-line); color: inherit; text-decoration: none !important; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ud-action:hover { border-color: var(--pe-brown); box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .07); transform: translateY(-2px); }
.ud-action i { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--pe-sand); color: var(--pe-brown); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .4rem; }
.ud-action strong { color: var(--pe-dark); font-size: .98rem; }
.ud-action span { color: var(--pe-mute); font-size: .84rem; line-height: 1.5; }
@media (max-width: 575px) { .ud-actions { gap: .6rem; } .ud-action { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; row-gap: .1rem; padding: .9rem 1rem; } .ud-action i { grid-row: span 2; margin: 0; align-self: center; } }
.ud-panel { background: #fff; border: 1px solid var(--pe-line); border-radius: 6px; }
.ud-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; border-bottom: 1px solid var(--pe-line); padding: 0 .75rem; }
.ud-tabs .nav-link { border: 0; background: none; padding: 1rem .75rem .9rem; margin-bottom: -1px; border-bottom: 3px solid transparent; font-weight: 600; font-size: .92rem; color: var(--pe-mute); white-space: nowrap; }
.ud-tabs .nav-link span { display: inline-block; min-width: 1.5rem; margin-left: .3rem; padding: 0 .4rem; border-radius: 1rem; background: #f1ece5; font-size: .75rem; color: var(--pe-dark); text-align: center; }
.ud-tabs .nav-link:hover { color: var(--pe-dark); }
.ud-tabs .nav-link.active { color: var(--pe-dark); border-bottom-color: var(--pe-brown); }
.ud-tabs .nav-link.active span { background: var(--pe-brown); color: #fff; }
.ud-empty { text-align: center; padding: 2.5rem 1.5rem; }
.ud-empty > i { font-size: 1.8rem; color: #cbb89f; margin-bottom: .75rem; }
.ud-empty p { max-width: 30rem; margin: 0 auto; color: var(--pe-mute); font-size: .92rem; }
.ud-list { list-style: none; margin: 0; padding: 0 1.25rem; }
.ud-list li { display: flex; align-items: center; gap: .9rem; padding: .85rem 0; border-top: 1px solid #f0ebe4; }
.ud-list li:first-child { border-top: 0; }
.ud-ico { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--pe-sand); color: var(--pe-brown); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: .9rem; }
.ud-status { display: inline-block; padding: .2rem .6rem; border-radius: 1rem; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.ud-status-pending { background: #fff3d6; color: #8a5a00; }
.ud-status-ok { background: #e3f1e4; color: #1f5e23; }
.ud-status-no { background: #fbe6e4; color: #a12a1e; }
.ud-status-info { background: #eee9e2; color: #5b4a38; }
.ud-more { display: block; padding: .85rem 1.25rem; border-top: 1px solid var(--pe-line); font-size: .85rem; font-weight: 600; }
.ud-review { color: inherit; transition: border-color .2s; }
.ud-review:hover { border-color: var(--pe-brown) !important; }
.ud-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ud-fav { display: flex; flex-direction: column; gap: .15rem; color: inherit; text-decoration: none !important; }
.ud-fav img, .ud-fav-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; margin-bottom: .4rem; transition: opacity .2s; }
.ud-fav-ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #7a4b1f, #c48a4a); color: rgba(255, 255, 255, .8); font-size: 1.6rem; font-weight: 700; }
.ud-fav:hover img { opacity: .85; }
.ud-fav strong { color: var(--pe-dark); font-size: .88rem; }
.ud-fav small { color: var(--pe-mute); font-size: .75rem; }
.ud-points { font-size: 1.4rem; font-weight: 700; color: var(--pe-brown); }
.ud-points small { font-size: .75rem; color: var(--pe-mute); font-weight: 600; }
.ud-journey { list-style: none; margin: 0; padding: 0; }
.ud-journey li { position: relative; display: flex; align-items: center; gap: .75rem; padding: .4rem 0; color: #aaa; font-size: .88rem; }
.ud-journey li:not(:last-child)::after { content: ""; position: absolute; left: .6rem; top: 1.7rem; height: calc(100% - 1.1rem); border-left: 2px solid #eee; }
.ud-journey li.done:not(:last-child)::after { border-color: var(--pe-brown); }
.ud-journey .dot { width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 2px solid #ddd; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .55rem; color: #fff; flex: 0 0 auto; position: relative; z-index: 1; }
.ud-journey li.done { color: var(--pe-dark); }
.ud-journey li.done .dot { background: var(--pe-brown); border-color: var(--pe-brown); }
.ud-journey li.current .name { font-weight: 700; }
.ud-journey li.current .dot { box-shadow: 0 0 0 4px rgba(139, 90, 43, .18); }
.ud-journey .pts { margin-left: auto; font-size: .75rem; color: #aaa; }
.ud-links a, .ud-links button { display: flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%; padding: .7rem 0; border: 0; border-top: 1px solid #eee; background: none; color: #444; font-size: .9rem; text-align: left; text-decoration: none; }
.ud-links > :first-child { border-top: 0; }
.ud-links a:hover { color: var(--pe-brown); }
.min-width-0 { min-width: 0; }

/* ---------- Sugerir um local (assistente em etapas) ---------- */
.ct-steps { display: flex; list-style: none; margin: 0; padding: 0; border-bottom: 1px solid #eee; }
.ct-steps li { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem .5rem; font-size: .82rem; font-weight: 600; color: #aaa; cursor: pointer; position: relative; }
.ct-steps li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.ct-steps .n { width: 1.8rem; height: 1.8rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #ddd; font-size: .8rem; background: #fff; }
.ct-steps li.active { color: var(--pe-dark); }
.ct-steps li.active::after { background: var(--pe-brown); }
.ct-steps li.active .n { border-color: var(--pe-brown); background: var(--pe-brown); color: #fff; }
.ct-steps li.done { color: var(--pe-brown); }
.ct-steps li.done .n { border-color: var(--pe-brown); color: var(--pe-brown); }
@media (max-width: 575px) { .ct-steps .l { display: none; } }
#ct-form:not(.is-wizard) .ct-steps, #ct-form:not(.is-wizard) .ct-nav .btn:not([type=submit]) { display: none; }
#ct-form:not(.is-wizard) .ct-step { margin-bottom: 2.5rem; }
.is-wizard .ct-step:not(.active) { display: none; }
.ct-step { border: 0; padding: 0; margin: 0; min-width: 0; animation: ctIn .25s ease; }
@keyframes ctIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ct-step { animation: none; } }
.ct-title { float: none; width: auto; font-size: 1.35rem; font-weight: 700; color: var(--pe-dark); margin-bottom: .75rem; display: flex; align-items: center; gap: .6rem; }
.ct-title span { width: 2rem; height: 2rem; border-radius: 50%; background: var(--pe-sand); color: var(--pe-brown); display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; flex: 0 0 auto; }
.ct-title small { font-size: .85rem; font-weight: 400; color: #999; }
.ct-gps { display: flex; align-items: center; gap: 1rem; width: 100%; padding: 1.1rem 1.25rem; border: 2px solid var(--pe-brown); border-radius: 6px; background: #fff; color: var(--pe-dark); text-align: left; transition: background .2s; }
.ct-gps:hover { background: var(--pe-sand); }
.ct-gps i { width: 3rem; height: 3rem; border-radius: 50%; background: var(--pe-brown); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; flex: 0 0 auto; }
.ct-gps.loading i { animation: ctPulse 1s infinite; }
@keyframes ctPulse { 50% { opacity: .4; } }
.ct-gps strong { display: block; font-size: 1.05rem; }
.ct-gps small { color: #888; }
.ct-geo { margin: .8rem 0; font-size: .9rem; color: var(--pe-mute); }
.ct-geo.ok { color: #1f5e23; } .ct-geo.warn { color: #b45309; } .ct-geo.err { color: #b42318; }
#ct-map { height: clamp(260px, 40vh, 400px); border-radius: 6px; border: 1px solid var(--pe-line); }
.ct-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.ct-type { margin: 0; cursor: pointer; }
.ct-type input { position: absolute; opacity: 0; pointer-events: none; }
.ct-type .box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; height: 100%; padding: 1.25rem .75rem; border: 2px solid #e5e5e5; border-radius: 6px; transition: border-color .15s, background .15s; }
.ct-type .box i { font-size: 1.8rem; color: #bbb; margin-bottom: .25rem; }
.ct-type .box strong { color: var(--pe-dark); font-size: 1rem; }
.ct-type .box small { color: #999; font-size: .75rem; line-height: 1.35; }
.ct-type:hover .box { border-color: #cbb89f; }
.ct-type input:checked + .box { border-color: var(--pe-brown); background: var(--pe-sand); }
.ct-type input:checked + .box i { color: var(--pe-brown); }
.ct-type input:focus-visible + .box { outline: 2px solid rgba(139, 90, 43, .5); outline-offset: 2px; }
.ct-terms { border: 1px solid var(--pe-line); border-radius: 6px; padding: .75rem 1rem; font-size: .85rem; line-height: 1.55; }
.ct-terms summary { cursor: pointer; font-weight: 600; color: var(--pe-brown); }
.ct-nav { display: flex; gap: .75rem; justify-content: space-between; align-items: center; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid #eee; }
.ct-nav #ct-next, .ct-nav #ct-submit { margin-left: auto; }
.ct-photo-add { display: flex; align-items: center; gap: 1rem; width: 100%; margin: 0; padding: 1rem 1.25rem; border: 2px dashed #cbb89f; border-radius: 6px; background: #fdfaf6; color: var(--pe-dark); cursor: pointer; transition: background .2s, border-color .2s; }
.ct-photo-add:hover, #fotos:focus-visible + .ct-photo-add { border-color: var(--pe-brown); background: var(--pe-sand); }
.ct-photo-add i { width: 3rem; height: 3rem; border-radius: 50%; background: var(--pe-sand); color: var(--pe-brown); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; flex: 0 0 auto; }
.ct-photo-add strong { display: block; font-size: 1.05rem; }
.ct-photo-add small { color: #888; }
.ct-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem; }
.ct-previews:not(:empty) { margin-top: .75rem; }
.ct-preview { position: relative; aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: #efe7db; }
.ct-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ct-preview button { position: absolute; top: .25rem; right: .25rem; width: 1.6rem; height: 1.6rem; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: .75rem; display: inline-flex; align-items: center; justify-content: center; }
.ct-photo-auth { margin-top: 1rem; padding: .9rem 1rem; border-radius: 6px; background: var(--pe-sand); font-size: .9rem; }
.ct-more { border: 1px solid var(--pe-line); border-radius: 6px; padding: .8rem 1rem; }
.ct-more summary { cursor: pointer; font-weight: 600; color: var(--pe-brown); }
.ct-confirm { font-size: .92rem; }
@media (max-width: 575px) { .ct-nav .btn-lg { padding-left: 1.1rem !important; padding-right: 1.1rem !important; font-size: .9rem; white-space: nowrap; } }

/* ---------- Ficha do local em formato de artigo (enciclopédia colaborativa) ---------- */
.pd-cite { margin-left: .15rem; font-size: .7rem; }
.pd-cite a { text-decoration: none; }
.pd-refs { font-size: .88rem; padding-left: 1.5rem; }
.pd-refs li { margin-bottom: .3rem; }
.pd-refs li:target { background: #fff4e0; }
.pd-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.pd-photo-item { margin: 0; }
.pd-photo-item .pd-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #efe7db; cursor: zoom-in; }
.pd-photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pd-photo-item .pd-photo:hover img { transform: scale(1.05); }
.pd-photo-item figcaption { font-size: .76rem; color: var(--pe-mute); margin-top: .35rem; line-height: 1.35; }
.pd-report { display: inline-block; margin-top: .15rem; color: #999; }

/* ---------- Catálogo de locais: banner, filtro horizontal, mapa horizontal e grade ---------- */
.pl-hero { background-color: var(--pe-dark); background-image: linear-gradient(135deg, #2b1d10, #6e4722 60%, #8b5a2b); background-size: cover; background-position: center; }
.pl-hero h1 { color: #fff; letter-spacing: -.02em; }
.pl-hero .sub-title { color: rgba(255, 255, 255, .8) !important; }

.pl-filterbar { background: #fff; border-bottom: 1px solid #eee; box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .05); padding: 1.25rem 0; position: relative; z-index: 2; }
.pl-filter-row { display: grid; grid-template-columns: minmax(12rem, 1.4fr) minmax(8.5rem, 1fr) minmax(9rem, 1fr) minmax(8.5rem, 1fr) auto auto; gap: .75rem; align-items: end; }
.pl-filter-more { grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)) auto; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed #e5e5e5; }
.pl-f-label { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #888; margin-bottom: .3rem; }
.pl-f .form-control, .pl-f .form-select, .pl-f .btn { height: 2.9rem; }
.pl-f .btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; padding-left: 1rem; padding-right: 1rem; }
.pl-f-icon { position: relative; }
.pl-f-icon i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: #aaa; }
.pl-f-icon .form-control { padding-left: 2.4rem; }
.pl-f-btns { display: flex; gap: .5rem; }
.pl-f-suggest { padding-left: .75rem; border-left: 1px solid #eee; }
@media (max-width: 1199px) {
	.pl-filter-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pl-f-btns .btn { flex: 1; }
	.pl-f-q { grid-column: 1 / -1; }
	.pl-f-btns { grid-column: span 2; }
	.pl-f-suggest { padding-left: 0; border-left: 0; }
	.pl-filter-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
	.pl-filter-row, .pl-filter-more { grid-template-columns: 1fr; }
	.pl-f-btns { grid-column: auto; }
	.pl-f-btns .btn { flex: 1; }
}

.pl-mapsection { position: relative; height: 460px; background: #e8e2d8; border-bottom: 1px solid #e5e5e5; }
@media (max-width: 767px) { .pl-mapsection { height: 340px; } }
#pl-map { position: absolute; inset: 0; }
.pl-area-btn { position: absolute; top: 1rem; left: 50%; transform: translateX(-50%); z-index: 500; box-shadow: 0 .3rem 1rem rgba(0, 0, 0, .25); }
.pl-mapnote { position: absolute; left: 1rem; bottom: 1rem; z-index: 500; margin: 0; background: rgba(255, 255, 255, .95); border-radius: 4px; padding: .4rem .8rem; font-size: .8rem; font-weight: 600; color: var(--pe-dark); box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }

.pl-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1rem; padding-bottom: 1rem; margin-bottom: 1.75rem; border-bottom: 1px solid #eee; }
.pl-count { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; font-size: .95rem; }
.pl-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .6rem; border-radius: 3px; background: var(--pe-sand); color: var(--pe-dark); font-size: .78rem; font-weight: 600; }
.pl-chip a { color: #999; text-decoration: none; font-weight: 700; }
.pl-chip a:hover { color: #b42318; }
.pl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.pl-tabs { display: flex; flex-wrap: wrap; gap: .35rem; }
.pl-tabs a { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border: 1px solid #ddd; border-radius: 4px; color: #555; font-size: .82rem; font-weight: 600; text-decoration: none; }
.pl-tabs a:hover { border-color: var(--pe-brown); color: var(--pe-brown); }
.pl-tabs a.on { background: var(--pe-brown); border-color: var(--pe-brown); color: #fff; }
.pl-tabs a[data-kind] i { color: var(--kind); }
.pl-tabs a[data-kind]:hover { border-color: var(--kind); color: var(--kind); }
.pl-tabs a[data-kind].on { background: var(--kind); border-color: var(--kind); color: #fff; }
.pl-tabs a[data-kind].on i { color: #fff; }
[data-kind="camping"] { --kind: var(--pe-camping); }
[data-kind="trail"] { --kind: var(--pe-trail); }
[data-kind="park"] { --kind: var(--pe-park); }
[data-kind="beach"] { --kind: var(--pe-beach); }
[data-kind="waterfall"] { --kind: var(--pe-waterfall); }
.pl-sort { width: auto; min-width: 11rem; }

.pl-grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
@media (min-width: 1200px) { .pl-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pl-empty { text-align: center; padding: 4rem 1.5rem; border: 2px dashed #e5e5e5; border-radius: 6px; }
.pl-empty i { font-size: 3rem; color: var(--pe-brown); opacity: .6; margin-bottom: 1rem; }
.pl-empty h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .4rem; }
.pagination .page-item.active .page-link { background-color: var(--pe-brown); border-color: var(--pe-brown); }
.pagination .page-link { color: var(--pe-brown); }

.pl-pin-wrap { background: none; border: 0; }
.pl-pin { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--pe-brown); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); transition: transform .15s, background .15s; }
.pl-pin i { transform: rotate(45deg); color: #fff; font-size: 13px; }
.pl-pin[data-kind] { background: var(--kind); }
/* Pino de local com alerta vigente: sinal de atenção no canto. */
.pl-pin-wrap.has-alert { position: relative; }
.pl-pin-wrap.has-alert::after { content: "!"; position: absolute; top: -6px; right: -6px; width: 16px; height: 16px; border-radius: 50%; background: #d64541; color: #fff; border: 2px solid #fff; font: 800 10px/12px sans-serif; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.pl-pin-wrap.on .pl-pin, .pl-pin-wrap:hover .pl-pin { background: var(--pe-dark); transform: rotate(-45deg) scale(1.2); }
/* Tamanho do pino conforme o zoom (classe posta no mapa em home.blade.php): com muitos
   locais, de longe vira um ponto pequeno; de perto, o pino com ícone. A área clicável
   acompanha (o Leaflet põe tamanho e margem inline, por isso o !important). */
.pl-zoom-perto .pl-pin-wrap { width: 26px !important; height: 26px !important; margin-left: -13px !important; margin-top: -13px !important; }
.pl-zoom-perto .pl-pin { width: 26px; height: 26px; }
.pl-zoom-perto .pl-pin i { font-size: 11px; }
.pl-zoom-medio .pl-pin-wrap { width: 20px !important; height: 20px !important; margin-left: -10px !important; margin-top: -10px !important; }
.pl-zoom-medio .pl-pin { width: 20px; height: 20px; border-width: 1.5px; }
.pl-zoom-medio .pl-pin i { font-size: 9px; }
.pl-zoom-longe .pl-pin-wrap { width: 12px !important; height: 12px !important; margin-left: -6px !important; margin-top: -6px !important; }
.pl-zoom-longe .pl-pin { width: 12px; height: 12px; border-radius: 50%; border-width: 1.5px; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.pl-zoom-longe .pl-pin i { display: none; }
.pl-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 6px; overflow: hidden; }
.pl-popup .leaflet-popup-content { margin: 0; width: 230px !important; }
.pl-pop { display: block; color: inherit !important; text-decoration: none !important; }
.pl-pop img, .pl-pop-ph { display: flex; width: 100%; height: 120px; object-fit: cover; align-items: center; justify-content: center; background: linear-gradient(135deg, #7a4b1f, #c48a4a); color: rgba(255, 255, 255, .7); font-size: 2rem; }
.pl-pop-ph.pl-kind-trail { background: linear-gradient(135deg, #1f4d2b, #5e9a5a); }
.pl-pop-ph.pl-kind-beach { background: linear-gradient(135deg, #0f5f8a, #4fb3d9); }
.pl-pop-ph.pl-kind-park { background: linear-gradient(135deg, #244a21, #5f8f3a); }
.pl-pop-ph.pl-kind-waterfall { background: linear-gradient(135deg, #1d5d7a, #5fb0c9); }
.pl-pop-bd { display: block; padding: .6rem .8rem .7rem; }
.pl-pop-bd b { display: block; color: var(--pe-dark); font-size: .9rem; line-height: 1.3; }
.pl-pop-bd small { display: block; color: #888; font-size: .75rem; }
.pl-pop-bd em { display: block; font-style: normal; color: var(--pe-brown); font-weight: 600; font-size: .78rem; margin-top: .35rem; }
.pd-fix { color: #bbb; font-size: .75rem; }
.pd-fix:hover { color: var(--pe-brown); }
tr:hover .pd-fix { color: var(--pe-brown); }


/* Página do local */
.pv-mosaic { display: grid; gap: 4px; height: clamp(260px, 52vh, 520px); background: var(--pe-dark); }
.pv-mosaic-1 { grid-template-columns: 1fr; }
.pv-mosaic-2 { grid-template-columns: 2fr 1fr; }
.pv-mosaic-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.pv-mosaic-4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.pv-mosaic-4 .pv-tile:nth-child(4) { grid-column: span 2; }
.pv-mosaic-5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.pv-mosaic-3 .pv-tile:first-child, .pv-mosaic-4 .pv-tile:first-child, .pv-mosaic-5 .pv-tile:first-child { grid-row: span 2; }
.pv-tile { position: relative; display: block; overflow: hidden; background: #3a2a1a; cursor: zoom-in; }
.pv-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s, opacity .3s; }
.pv-tile:hover img { transform: scale(1.04); opacity: .92; }
.pv-tile-more { position: absolute; right: 1rem; bottom: 1rem; padding: .45rem .9rem; border-radius: 4px; background: rgba(255, 255, 255, .95); color: var(--pe-dark); font-size: .82rem; font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
@media (max-width: 767px) {
  .pv-mosaic { height: 260px; grid-template-columns: 1fr !important; grid-template-rows: 1fr !important; }
  .pv-tile:not(:first-child) { display: none; }
  .pv-tile:first-child::after { content: "\f302"; font-family: "Font Awesome 7 Free", "Font Awesome 6 Free"; font-weight: 900; letter-spacing: 0; text-transform: none; position: absolute; right: .75rem; bottom: .75rem; padding: .35rem .7rem; border-radius: 4px; background: rgba(255, 255, 255, .95); color: var(--pe-dark); font-size: .75rem; }
  .pv-tile-more { display: none; }
}
.pv-head { background: #fff; border-bottom: 1px solid var(--pe-line); padding: 1.25rem 0 1.75rem; }
.pv-head-plain { background: linear-gradient(135deg, #2b1d10, #6b4420); border-bottom: 0; padding: 2rem 0 2.25rem; }
.pv-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0 0 1rem; padding: 0; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: #999; }
.pv-crumbs li + li::before { content: "›"; margin-right: .4rem; color: #bbb; }
.pv-crumbs a { color: var(--pe-brown); }
.pv-head-plain .pv-crumbs, .pv-head-plain .pv-crumbs li + li::before { color: rgba(255, 255, 255, .55); }
.pv-head-plain .pv-crumbs a { color: #e0b27a; }
.pv-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .6rem; }
.pv-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .65rem; border-radius: 1rem; background: #f1ece5; color: var(--pe-dark); font-size: .75rem; font-weight: 600; }
.pv-chip-type { background: var(--pe-brown); color: #fff; }
.pv-chip-ok { background: #e3f1e4; color: #1f5e23; }
.pv-head-plain .pv-chip:not(.pv-chip-type):not(.pv-chip-ok) { background: rgba(255, 255, 255, .14); color: #fff; }
.pv-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--pe-dark); margin: 0 0 .5rem; }
.pv-head-plain .pv-title { color: #fff; }
.pv-sub { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; margin: 0; font-size: .9rem; color: var(--pe-mute); }
.pv-head-plain .pv-sub { color: rgba(255, 255, 255, .7); }
.pv-head-plain .pv-sub a { color: #e0b27a; }
.pv-rating { display: inline-flex; align-items: center; gap: .35rem; color: var(--pe-dark); }
.pv-head-plain .pv-rating strong { color: #fff; }
.pv-dot { color: #ccc; }
.pv-actions { display: flex; flex-wrap: wrap; gap: .5rem; flex-shrink: 0; }
.pv-actions .btn-light { background: #fff; border: 1px solid var(--pe-line); }
.pv-head-plain .pv-actions .btn-primary { background: #e0b27a; border-color: #e0b27a; color: #2b1d10; }
.pv-head-plain .pv-actions .btn-primary:hover { background: #fff; border-color: #fff; }
@media (max-width: 575px) { .pv-actions .btn { flex: 1 1 auto; } .pv-actions .btn-primary { flex-basis: 100%; } .pv-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pv-highlights li { font-size: .82rem; padding: .5rem .6rem; } }
.pv-nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--pe-line); box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
@media (min-width: 992px) { .pv-nav { top: 70px; } }
.pv-nav ul { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.pv-nav ul::-webkit-scrollbar { display: none; }
.pv-nav a { display: block; padding: .9rem .7rem .8rem; border-bottom: 3px solid transparent; white-space: nowrap; font-size: .85rem; font-weight: 600; color: var(--pe-mute); text-decoration: none; transition: color .15s, border-color .15s; }
.pv-nav a:hover { color: var(--pe-dark); }
.pv-nav a.active { color: var(--pe-dark); border-bottom-color: var(--pe-brown); }
.pv-alert { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1.1rem; margin-bottom: .5rem; border-radius: 6px; background: #fff7e6; border: 1px solid #f1d9a8; border-left: 4px solid #d99a2b; color: #5c3d00; }
.pv-alert i { margin-top: .2rem; color: #b7791f; }
.pv-alert-high { background: #fdecea; border-color: #f5c2bd; border-left-color: #c0392b; color: #6e1a12; }
.pv-alert-high i { color: #c0392b; }
.pv-section { margin-bottom: 3rem; scroll-margin-top: 140px; }
.pv-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--pe-line); }
.pv-section-head h2 { font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; color: var(--pe-dark); margin: 0; }
.pv-count { display: inline-block; margin-left: .3rem; padding: 0 .5rem; border-radius: 1rem; background: #f1ece5; font-size: .8rem; vertical-align: middle; color: var(--pe-mute); }
.pv-edit { font-size: .82rem; font-weight: 600; white-space: nowrap; color: var(--pe-mute); }
.pv-edit:hover { color: var(--pe-brown); }
.pv-h3 { font-size: 1rem; font-weight: 700; color: var(--pe-dark); margin: 1.5rem 0 .75rem; }
.pv-lead { font-size: 1.12rem; line-height: 1.75; color: #3d342b; margin-bottom: 0; }
.pv-highlights { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .6rem; list-style: none; margin: 0; padding: 0; }
.pv-highlights li { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 6px; background: #faf7f2; border: 1px solid #efe7db; font-size: .88rem; color: var(--pe-dark); }
.pv-highlights i { width: 1.9rem; height: 1.9rem; flex: 0 0 auto; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--pe-brown); font-size: .85rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.pv-group { margin-bottom: 1.25rem; border: 1px solid var(--pe-line); border-radius: 6px; background: #fff; overflow: hidden; }
.pv-group h3 { display: flex; align-items: center; gap: .55rem; margin: 0; padding: .7rem 1rem; background: #faf7f2; border-bottom: 1px solid var(--pe-line); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--pe-dark); }
.pv-group h3 i { color: var(--pe-brown); }
.pv-facts { margin: 0; }
.pv-fact { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 1rem; padding: .65rem 1rem; border-top: 1px solid #f3eee8; font-size: .9rem; }
.pv-fact:first-child { border-top: 0; }
.pv-fact dt { font-weight: 500; color: var(--pe-mute); }
.pv-fact dd { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem .75rem; margin: 0; color: var(--pe-dark); font-weight: 600; }
.pv-meta { display: inline-flex; align-items: center; gap: .6rem; font-size: .72rem; font-weight: 400; color: #aaa; white-space: nowrap; }
.pv-fact .pd-fix { opacity: .35; transition: opacity .15s; }
.pv-fact:hover .pd-fix, .pv-fact .pd-fix:focus { opacity: 1; }
@media (hover: none) { .pv-fact .pd-fix { opacity: .8; } }
.pv-yes { color: #2e7d32; }
.pv-no { color: #999; font-weight: 500; }
.pv-stale { display: inline-block; margin-left: .35rem; padding: .05rem .45rem; border-radius: 1rem; background: #fff3d6; color: #8a5a00; font-size: .7rem; font-weight: 700; }
@media (max-width: 575px) { .pv-fact { grid-template-columns: 1fr; gap: .15rem; } }
.pv-facts-muted { border: 1px solid var(--pe-line); border-radius: 6px; margin-bottom: .75rem; }
.pv-facts-muted .pv-fact dd { font-weight: 500; }
.pv-note { font-size: .82rem; color: var(--pe-mute); margin-top: .75rem; }
.pv-empty { text-align: center; padding: 2rem 1rem; }
.pv-empty > i { font-size: 1.6rem; color: #cbb89f; margin-bottom: .6rem; }
.pv-empty p { max-width: 28rem; margin: 0 auto; color: var(--pe-mute); font-size: .9rem; }
.pv-callout { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; margin-bottom: 1rem; border-radius: 6px; background: #fff7e6; border: 1px solid #f1d9a8; font-size: .88rem; }
.pv-callout > i { margin-top: .15rem; color: #b7791f; }
.pv-callout-muted { background: #f7f5f2; border-color: var(--pe-line); color: var(--pe-mute); }
.pv-callout-muted > i { color: var(--pe-mute); }
.pv-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.pv-stats > div { padding: 1rem; border: 1px solid var(--pe-line); border-radius: 6px; background: #fff; }
.pv-stats i { color: var(--pe-brown); margin-bottom: .4rem; }
.pv-stats strong { display: block; font-size: 1.3rem; color: var(--pe-dark); line-height: 1.2; }
.pv-stats span { font-size: .75rem; color: var(--pe-mute); }
.pv-risks { list-style: none; margin: 0; padding: 0; }
.pv-risks li { display: flex; gap: .75rem; align-items: baseline; padding: .6rem 0; border-top: 1px solid #f0ebe4; font-size: .9rem; }
.pv-risks li:first-child { border-top: 0; }
.pv-risk { flex: 0 0 auto; padding: .1rem .55rem; border-radius: 1rem; font-size: .68rem; font-weight: 700; text-transform: uppercase; background: #eee9e2; color: #5b4a38; }
.pv-risk-alto { background: #fbe6e4; color: #a12a1e; }
.pv-risk-medio { background: #fff3d6; color: #8a5a00; }
.pv-points { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.pv-point { display: flex; gap: 1rem; padding: .9rem; border: 1px solid var(--pe-line); border-radius: 6px; background: #fff; }
.pv-point h3 { font-size: .98rem; font-weight: 700; color: var(--pe-dark); margin: .1rem 0 .25rem; }
.pv-point p { font-size: .85rem; margin-bottom: .25rem; }
.pv-point-type { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.pv-mapbox { border: 1px solid var(--pe-line); border-radius: 6px; overflow: hidden; background: #fff; }
.pv-mapbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem 1rem; font-size: .85rem; }
.pv-card { background: #fff; border: 1px solid var(--pe-line); border-radius: 6px; }
.pv-rate { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.pv-rate-summary { padding: 1.5rem; border-right: 1px solid var(--pe-line); background: #faf7f2; }
.pv-rate-form { padding: 1.5rem; }
@media (max-width: 767px) { .pv-rate { grid-template-columns: 1fr; } .pv-rate-summary { border-right: 0; border-bottom: 1px solid var(--pe-line); } }
.pv-rate-big { font-size: 3rem; font-weight: 700; line-height: 1; color: var(--pe-dark); }
.pv-bar { display: flex; align-items: center; gap: .6rem; font-size: .8rem; margin-bottom: .3rem; }
.pv-bar > span { width: 2.2rem; white-space: nowrap; color: var(--pe-mute); }
.pv-bar > span i { color: #e0a100; font-size: .7rem; }
.pv-bar > strong { width: 1.5rem; text-align: right; }
.pv-reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.pv-review { position: relative; padding: 1.1rem 1.25rem; border: 1px solid var(--pe-line); border-radius: 6px; background: #fff; font-size: .92rem; }
.pv-review-mine { border-color: var(--pe-brown); background: #fffcf8; }
.pv-review-head { display: flex; align-items: center; gap: .8rem; }
.pv-review-avatar { width: 2.6rem; height: 2.6rem; border-radius: 50%; flex: 0 0 auto; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; background: var(--pe-sand); color: var(--pe-brown); font-weight: 700; }
.pv-review-flag { display: block; margin-top: .2rem; font-size: .72rem; color: #bbb; }
.pv-review-flag:hover { color: #a12a1e; }
.pv-side { display: flex; flex-direction: column; }
@media (min-width: 992px) { .pv-side { position: sticky; top: 140px; } }
.pv-side .pv-card:not(#previsao):not(.pv-channels):not(.pv-contrib) { padding: 1.4rem; }
.pv-side #previsao, .pv-channels { padding: 1.4rem; }
.pv-side-title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pe-dark); margin: 0 0 .8rem; }
.pv-channel { display: flex; align-items: center; gap: .8rem; padding: .65rem .8rem; border: 1px solid var(--pe-line); border-radius: 6px; color: var(--pe-dark); text-decoration: none !important; font-weight: 600; font-size: .9rem; word-break: break-word; transition: border-color .15s, background .15s; }
.pv-channel:hover { border-color: var(--pe-brown); background: #faf7f2; }
.pv-channel > i { width: 2.2rem; height: 2.2rem; flex: 0 0 auto; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--pe-sand); color: var(--pe-brown); font-size: 1.05rem; }
.pv-channel small { display: block; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--pe-mute); }
.pv-channel-wa > i { background: #25d366; color: #fff; }
.pv-quick { margin: 0; font-size: .86rem; }
.pv-quick > div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px solid #f0ebe4; }
.pv-quick > div:first-child { border-top: 0; padding-top: 0; }
.pv-quick dt { font-weight: 500; color: var(--pe-mute); }
.pv-quick dd { margin: 0; text-align: right; font-weight: 600; color: var(--pe-dark); }
/* Card "Contribua": cabeçalho escuro da marca e ações em grade (bem visível). */
.pv-side .pv-card.pv-contrib { padding: 0; overflow: hidden; border-color: var(--pe-dark); }
.pv-contrib-head { display: flex; gap: .85rem; align-items: flex-start; background: var(--pe-dark); color: #fff; padding: 1.1rem 1.25rem; }
.pv-contrib-head > i { font-size: 1.5rem; color: #f9b800; margin-top: .15rem; }
.pv-contrib-head h2 { color: #fff; font-size: 1.05rem; font-weight: 700; margin: 0 0 .2rem; letter-spacing: 0; text-transform: none; }
.pv-contrib-head p { color: rgba(255, 255, 255, .8); font-size: .85rem; line-height: 1.4; margin: 0; }
.pv-contrib-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: 1rem; background: #faf7f2; }
.pv-contrib-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; min-height: 92px; padding: .75rem .5rem; background: #fff; border: 1px solid var(--pe-line); border-radius: 8px; color: var(--pe-dark); font-weight: 600; font-size: .85rem; line-height: 1.2; text-align: center; text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
.pv-contrib-tile i { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pe-brown); color: #fff; font-size: 1rem; }
.pv-contrib-tile:hover, .pv-contrib-tile:focus-visible { color: var(--pe-dark); border-color: var(--pe-brown); box-shadow: 0 4px 12px rgba(43, 29, 16, .12); transform: translateY(-2px); }
.pv-contrib-wide { grid-column: 1 / -1; flex-direction: row; min-height: 0; }
.pv-contrib-new { display: block; padding: .8rem 1.25rem 1rem; background: #faf7f2; color: var(--pe-brown); font-size: .85rem; text-align: center; border-top: 1px solid var(--pe-line); }
.pv-contrib-new:hover { color: var(--pe-dark); }
.pv-nearby { background: #f7f5f2; border-top: 1px solid var(--pe-line); padding: 2.5rem 0 3rem; scroll-margin-top: 140px; }
.pv-near-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.pv-near { display: flex; flex-direction: column; background: #fff; border-radius: 6px; overflow: hidden; border: 1px solid var(--pe-line); color: inherit; text-decoration: none !important; transition: box-shadow .2s, transform .2s; }
.pv-near:hover { box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .1); transform: translateY(-2px); }
.pv-near-img { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #7a4b1f, #c48a4a); }
.pv-near-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-near-img span { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; color: rgba(255, 255, 255, .8); }
.pv-near-body { display: flex; flex-direction: column; gap: .15rem; padding: .8rem .9rem 1rem; }
.pv-near-body small { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--pe-brown); }
.pv-near-body strong { color: var(--pe-dark); font-size: .95rem; line-height: 1.3; }
.pv-near-dist { font-size: .8rem; color: var(--pe-mute); }
.pv-wx-place { margin: 0 0 1rem; font-size: .95rem; font-weight: 600; color: var(--pe-dark); }
.pv-wx-place i { color: var(--pe-brown); }
.pv-empty-photos { border: 2px dashed #e2d6c6; border-radius: 6px; background: #fdfaf6; }
/* Aviso de risco */
.rk-emergency { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: 6px; background: #fdecea; border: 1px solid #f5c2bd; border-left: 4px solid #c0392b; color: #6e1a12; font-size: .92rem; }
.rk-emergency > i { margin-top: .2rem; color: #c0392b; }
.rk-emergency a { color: #a12a1e; font-weight: 700; }
.rk-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem; }
.rk-type { margin: 0; cursor: pointer; }
.rk-type input { position: absolute; opacity: 0; pointer-events: none; }
.rk-type span { display: flex; align-items: center; gap: .6rem; height: 100%; padding: .7rem .85rem; border: 2px solid #e8e1d8; border-radius: 6px; font-size: .88rem; font-weight: 600; color: var(--pe-dark); transition: border-color .15s, background .15s; }
.rk-type span i { width: 1.9rem; height: 1.9rem; flex: 0 0 auto; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #f7f1ea; color: #a12a1e; font-size: .85rem; }
.rk-type:hover span { border-color: #d9a39b; }
.rk-type input:checked + span { border-color: #c0392b; background: #fdf3f1; }
.rk-type input:checked + span i { background: #c0392b; color: #fff; }
.rk-type input:focus-visible + span { outline: 2px solid rgba(192, 57, 43, .45); outline-offset: 2px; }
.pv-risk-link { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 6px; border: 1px solid #f5c2bd; background: #fdf3f1; color: #a12a1e !important; font-size: .88rem; font-weight: 600; text-decoration: none !important; }
.pv-risk-link:hover { background: #fdecea; border-color: #c0392b; }
/* Correção de localização */
.lc-map { height: clamp(320px, 50vh, 460px); border-radius: 6px; border: 1px solid var(--pe-line); }
.lc-pin { display: block; width: 24px; height: 24px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 5px rgba(0, 0, 0, .45); }
.lc-pin-old { background: #9a9a9a; }
.lc-pin-new { background: var(--pe-brown); cursor: grab; }
.lc-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin-top: .6rem; font-size: .85rem; color: var(--pe-mute); }
.lc-legend strong { margin-left: auto; color: var(--pe-dark); }
.lc-dot { display: inline-block; width: .8rem; height: .8rem; border-radius: 50%; vertical-align: -1px; margin-right: .25rem; }
.lc-dot-old { background: #9a9a9a; }
.lc-dot-new { background: var(--pe-brown); }
/* Salvar e "Estive aqui" */
.pv-actions form { margin: 0; }
.pv-actions > form, .pv-actions > .dropdown { display: flex; }
@media (max-width: 575px) { .pv-actions > form, .pv-actions > .dropdown { flex: 1 1 auto; } .pv-actions > form .btn, .pv-actions > .dropdown > .btn { width: 100%; } }
.pv-fav.is-on, .pv-visit.is-on { border-color: var(--pe-brown) !important; color: var(--pe-brown) !important; background: #fdf7f0 !important; }
.pv-fav.is-on i { color: #c0392b; }
.pv-visit small { font-weight: 500; opacity: .8; }
.pv-visit-menu { width: 17rem; }
.pv-toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 2000; transform: translate(-50%, 1rem); max-width: calc(100% - 2rem); padding: .75rem 1.1rem; border-radius: 6px; background: var(--pe-dark); color: #fff; font-size: .88rem; box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .25); opacity: 0; transition: opacity .25s, transform .25s; }
.pv-toast.show { opacity: 1; transform: translate(-50%, 0); }
/* Histórico do local */
.hs-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.hs-filters button { border: 1px solid var(--pe-line); background: #fff; border-radius: 1rem; padding: .3rem .8rem; font-size: .82rem; font-weight: 600; color: var(--pe-mute); }
.hs-filters button span { margin-left: .2rem; color: #aaa; font-weight: 500; }
.hs-filters button:hover { color: var(--pe-dark); border-color: #cbb89f; }
.hs-filters button.active { background: var(--pe-brown); border-color: var(--pe-brown); color: #fff; }
.hs-filters button.active span { color: rgba(255, 255, 255, .8); }
.hs-month { margin-bottom: 1.5rem; }
.hs-month h2 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pe-mute); margin: 0 0 .75rem; }
.hs-month ol { list-style: none; margin: 0; padding: 0; position: relative; }
.hs-month ol::before { content: ""; position: absolute; left: 1.05rem; top: .5rem; bottom: .5rem; border-left: 2px solid #eee4d8; }
.hs-item { position: relative; display: flex; gap: 1rem; padding-bottom: 1rem; }
.hs-icon { position: relative; z-index: 1; width: 2.2rem; height: 2.2rem; flex: 0 0 auto; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 2px solid #eee4d8; color: var(--pe-brown); font-size: .8rem; }
.hs-alerta .hs-icon { color: #c0392b; border-color: #f5c2bd; }
.hs-local .hs-icon { color: #2e7d32; border-color: #cfe6d0; }
.hs-fotos .hs-icon { color: #1f6f8b; border-color: #cde3ec; }
.hs-body { flex: 1 1 auto; min-width: 0; padding: .7rem 1rem; border: 1px solid var(--pe-line); border-radius: 6px; background: #fff; }
.hs-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; }
.hs-head strong { color: var(--pe-dark); font-size: .92rem; }
.hs-head time { font-size: .78rem; color: #999; white-space: nowrap; }
.hs-change { margin: .35rem 0 0; font-size: .9rem; word-break: break-word; }
.hs-change del { color: #a12a1e; background: #fbeceb; text-decoration: line-through; padding: 0 .3rem; border-radius: 3px; }
.hs-change ins { color: #1f5e23; background: #e7f3e7; text-decoration: none; padding: 0 .3rem; border-radius: 3px; }
.hs-change i { color: #bbb; font-size: .75rem; margin: 0 .25rem; }
.hs-note { margin: .3rem 0 0; font-size: .82rem; color: var(--pe-mute); }
.hs-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: .4rem 0 0; font-size: .78rem; color: #999; }
.hs-people { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0 0 .5rem; padding: 0; }
.hs-people li { padding: .2rem .6rem; border-radius: 1rem; background: #f1ece5; font-size: .82rem; color: var(--pe-dark); }
/* Página inicial: alertas e comunidade */
.hm-alerts { background: #fdf3f1; border-bottom: 1px solid #f5c2bd; padding: 1rem 0; }
.hm-alerts-head { color: #a12a1e; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .6rem; }
.hm-alerts-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .6rem; }
.hm-alert { display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem; border-radius: 6px; background: #fff; border: 1px solid #f5c2bd; color: var(--pe-dark) !important; text-decoration: none !important; font-size: .88rem; }
.hm-alert > i { width: 2rem; height: 2rem; flex: 0 0 auto; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff3d6; color: #8a5a00; }
.hm-alert.is-high > i { background: #c0392b; color: #fff; }
.hm-alert small { color: var(--pe-mute); }
.hm-alert:hover { border-color: #c0392b; }
.hm-community { background: #f7f5f2; border-top: 1px solid var(--pe-line); padding: 4rem 0; }
.hm-numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.hm-numbers > div { text-align: center; padding: 1.2rem .5rem; background: #fff; border: 1px solid var(--pe-line); border-radius: 6px; }
.hm-numbers i { color: var(--pe-brown); font-size: 1.2rem; }
.hm-numbers strong { display: block; font-size: 2rem; line-height: 1.1; color: var(--pe-dark); margin-top: .3rem; }
.hm-numbers span { font-size: .8rem; color: var(--pe-mute); }
@media (max-width: 767px) { .hm-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hm-panel { background: #fff; border: 1px solid var(--pe-line); border-radius: 6px; padding: 1.5rem; }
.hm-panel-title { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; font-weight: 700; color: var(--pe-dark); margin: 0 0 1rem; }
.hm-panel-title i { color: var(--pe-brown); }
.hm-feed { list-style: none; margin: 0; padding: 0; }
.hm-feed li { display: flex; gap: .8rem; padding: .7rem 0; border-top: 1px solid #f0ebe4; font-size: .9rem; line-height: 1.45; }
.hm-feed li:first-child { border-top: 0; padding-top: 0; }
.hm-feed strong { color: var(--pe-dark); }
.hm-feed small { color: #999; font-size: .76rem; }
.hm-feed-icon { width: 2.1rem; height: 2.1rem; flex: 0 0 auto; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--pe-sand); color: var(--pe-brown); font-size: .8rem; }
.hm-needs { list-style: none; margin: 0; padding: 0; }
.hm-needs li { padding: .7rem 0; border-top: 1px solid #f0ebe4; }
.hm-needs li:first-child { border-top: 0; padding-top: 0; }
.hm-needs-name { display: block; font-weight: 700; color: var(--pe-dark) !important; font-size: .92rem; }
.hm-needs-name small { font-weight: 400; color: var(--pe-mute); margin-left: .25rem; }
.hm-needs-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .35rem; }
.hm-needs-tags a { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .55rem; border-radius: 1rem; background: #f1ece5; color: var(--pe-dark) !important; font-size: .75rem; font-weight: 600; text-decoration: none !important; }
.hm-needs-tags a:hover { background: var(--pe-brown); color: #fff !important; }
.legal-text h2 { font-size: 1.15rem; font-weight: 700; color: var(--pe-dark); margin: 1.75rem 0 .6rem; }
.legal-text h2:first-of-type { margin-top: 1rem; }
.legal-text p, .legal-text li { font-size: .95rem; line-height: 1.7; }
.legal-text ul { padding-left: 1.2rem; }
.legal-todo { background: #fff3d6; color: #8a5a00; padding: 0 .3rem; border-radius: 3px; font-weight: 600; }

/* "Onde foi tirada?" no envio de fotos de trilha. */
.pf-rows { display: grid; gap: .5rem; margin-bottom: .75rem; }
.pf-row { display: grid; grid-template-columns: 1.6rem 3.2rem 1fr auto; align-items: center; gap: .6rem; padding: .4rem; border: 1px solid var(--pe-line); border-radius: 6px; }
.pf-row.is-active { border-color: var(--pe-brown); box-shadow: 0 0 0 2px rgba(139, 90, 43, .2); }
.pf-row img { width: 3.2rem; height: 3.2rem; object-fit: cover; border-radius: 4px; }
.pf-num, .pf-pin { display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--pe-brown); color: #fff; font-weight: 700; font-size: .8rem; }
.pf-pin { width: 26px; height: 26px; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.pf-map { height: 320px; border-radius: 6px; }
@media (max-width: 575px) { .pf-row { grid-template-columns: 1.6rem 3.2rem 1fr; } .pf-row button { grid-column: 1 / -1; } }

/* Balneabilidade da praia (boletim oficial semanal). */
.pv-water { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; margin-bottom: 1rem; border-radius: 6px; font-size: .88rem; border: 1px solid; }
.pv-water i { font-size: 1.25rem; margin-top: .1rem; }
.pv-water strong { display: block; font-size: 1rem; }
.pv-water-propria { background: #edf7ee; border-color: #b7dfbb; color: #1e5a22; }
.pv-water-parcial { background: #fff7e6; border-color: #f1d9a8; color: #7a4d00; }
.pv-water-impropria { background: #fdecea; border-color: #f2b8b2; color: #8a1c12; }
.pv-water a { color: inherit; text-decoration: underline; }

/* Atalho "Esteve aqui?" no celular (a coluna com o card Contribua fica no fim da página). */
.pv-contrib-mobile { background: var(--pe-dark); color: #fff; border-radius: 8px; padding: .8rem 1rem; margin-bottom: 1rem; }
.pv-contrib-mobile strong { display: block; font-size: .95rem; margin-bottom: .5rem; }
.pv-contrib-mobile strong i { color: #f9b800; }
.pv-contrib-mobile div { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.pv-contrib-mobile a { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .55rem .25rem; background: rgba(255, 255, 255, .1); border-radius: 6px; color: #fff; font-size: .78rem; font-weight: 600; text-align: center; text-decoration: none; line-height: 1.2; }
.pv-contrib-mobile a i { color: #f9b800; font-size: 1rem; }

/* Filtros rápidos (página inicial): botões de um toque que combinam entre si. */
.pl-quick { display: flex; flex-wrap: wrap; gap: .4rem; width: 100%; order: 3; margin: 0; }
.pl-quick a { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .85rem; border: 1px solid var(--pe-line); border-radius: 999px; background: #fff; color: var(--pe-dark); font-size: .82rem; font-weight: 600; text-decoration: none; }
.pl-quick a i { color: var(--pe-brown); }
.pl-quick a:hover { border-color: var(--pe-brown); }
.pl-quick a.on { background: var(--pe-dark); border-color: var(--pe-dark); color: #fff; }
.pl-quick a.on i { color: #f9b800; }

/* Resumo da ficha "em 5 segundos". */
.pv-highlights { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; padding: 0; margin: 0 0 1.25rem; }
.pv-highlights li { display: flex; align-items: center; gap: .65rem; padding: .7rem .8rem; border: 1px solid var(--pe-line); border-radius: 8px; background: #fff; }
.pv-highlights i { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--pe-sand); color: var(--pe-brown); font-size: 1rem; }
.pv-highlights span { display: flex; flex-direction: column; font-weight: 700; color: var(--pe-dark); font-size: .95rem; line-height: 1.2; }
.pv-highlights small { font-weight: 500; color: var(--pe-mute); font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; }
.pv-hl-good i { background: #e3f1e4; color: #1e5a22; }
.pv-hl-warn i { background: #fff3d6; color: #8a5a00; }
.pv-hl-bad i { background: #fdecea; color: #8a1c12; }

/* Prévia ao clicar num pino do mapa (página inicial). */
.pl-preview { position: absolute; left: 12px; right: 12px; bottom: 34px; z-index: 1000; max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--pe-line); border-radius: 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); padding: .7rem; }
.pl-preview-close { position: absolute; top: 4px; right: 8px; border: 0; background: none; font-size: 1.4rem; line-height: 1; color: #888; cursor: pointer; }
.pl-preview-top { display: flex; gap: .7rem; color: var(--pe-dark); text-decoration: none; padding-right: 1.4rem; }
.pl-preview-top img, .pl-preview-top .pl-pop-ph { flex: 0 0 76px; width: 76px; height: 76px; object-fit: cover; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.4rem; }
.pl-preview-top b { display: block; font-size: .98rem; line-height: 1.25; }
.pl-preview-top small { display: block; color: var(--pe-mute); font-size: .78rem; margin: .1rem 0 .35rem; }
.pl-preview-chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.pl-preview-chips span { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .5rem; border-radius: 999px; background: var(--pe-sand); font-size: .76rem; font-weight: 600; }
.pl-preview-chips .pl-tone-good i { color: #1e5a22; } .pl-preview-chips .pl-tone-warn i { color: #8a5a00; } .pl-preview-chips .pl-tone-bad i { color: #8a1c12; } .pl-preview-chips .pl-tone-neutral i { color: var(--pe-brown); }
.pl-preview-actions { display: flex; gap: .4rem; margin-top: .6rem; }
.pl-preview-actions .btn { flex: 1; margin: 0; }
.pl-pin-wrap.sel .pl-pin { transform: rotate(-45deg) scale(1.3); box-shadow: 0 0 0 3px #f9b800, 0 3px 8px rgba(0, 0, 0, .45); }
