/* STARBOARD tour reviews (2026-12-05). Buttons reuse the community member styles (.member-primary/.member-secondary). */
.tour-reviews{box-sizing:border-box;margin:36px 0 56px;padding:32px;background:#fff;border:1px solid #dde3e7;border-top:3px solid #c8322b;border-radius:8px;color:#27343d;overflow-wrap:anywhere}
.tour-reviews *,.tour-reviews *::before,.tour-reviews *::after{box-sizing:border-box}
.tour-reviews [hidden]{display:none!important}
.tour-reviews h1{font-size:clamp(26px,4vw,36px);line-height:1.35;margin:0 0 12px;color:#173343}
.tour-reviews h2{font-size:24px;line-height:1.4;margin:0;color:#173343}
.tour-reviews p{margin:10px 0}
.tour-reviews .member-primary,.tour-reviews .member-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid #c8322b;border-radius:4px;font:600 15px/1.5 var(--font-body,inherit);cursor:pointer;text-decoration:none}
.tour-reviews .member-primary{background:#c8322b;color:#fff}.tour-reviews .member-primary:hover{background:#a52822;color:#fff}
.tour-reviews .member-secondary{background:#fff;color:#91312c;border-color:#cdd5dc}.tour-reviews .member-secondary:hover{background:#fff0ee}
.tour-reviews button:disabled{opacity:.6;cursor:not-allowed}
.tour-reviews .member-hint{font-size:14px;color:#626b73}
.tour-reviews .member-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}
.tour-reviews :is(input,textarea,select,button,a,summary):focus-visible{outline:3px solid #15556e;outline-offset:3px}
.tr-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:8px}
.tr-head p{color:#566572}
.tr-eyebrow{margin:0 0 4px!important;font-size:13px;font-weight:700;letter-spacing:.1em;color:#b72c25}
.tr-status{min-height:1.6em;color:#566572}
.tr-status:empty{min-height:0;margin:0!important}
.tr-stars{display:inline-flex;font-size:18px;line-height:1;letter-spacing:1px;white-space:nowrap}
.tr-stars-on{color:#e8a20c}.tr-stars-off{color:#d5dbe0}
.tr-summary{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:24px;align-items:center;margin:18px 0;padding:20px;background:#f6f8f9;border-radius:6px}
.tr-summary-empty{grid-column:1/-1;margin:0!important;color:#566572}
.tr-average{display:flex;flex-direction:column;gap:6px}
.tr-average-number{font-size:40px;line-height:1;color:#173343}
.tr-total{font-size:14px;color:#566572}
.tr-bars{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.tr-bars li{display:grid;grid-template-columns:36px minmax(0,1fr) 44px;gap:10px;align-items:center;font-size:13px;color:#566572}
.tr-bar{display:block;height:8px;background:#e3e8eb;border-radius:4px;overflow:hidden}
.tr-bar-fill{display:block;height:100%;background:#e8a20c}
.tr-list{margin:8px 0}
.tr-card{padding:22px 0;border-top:1px solid #e0e5e8}
.tr-card:first-child{border-top:0}
.tr-card-head{display:flex;flex-direction:column;gap:6px}
.tr-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
.tr-author{font-size:16px;color:#173343}
.tr-visit{font-size:14px;color:#626b73}
.tr-place,.tr-place-label{display:inline-block;align-self:flex-start;font-size:13px;font-weight:700;color:#15556e;text-decoration:none}
a.tr-place:hover{text-decoration:underline}
.tr-chips{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:12px 0 0;padding:0}
.tr-chips li{padding:3px 10px;border:1px solid #cfdbe1;border-radius:14px;font-size:13px;color:#2c4655;background:#fff}
.tr-body{white-space:pre-wrap;font-size:16px;line-height:1.85;margin:12px 0!important}
.tr-tip{padding:10px 14px;background:#fff8e6;border-left:3px solid #e8a20c;font-size:15px}
.tr-tip strong{color:#8a5a00}
.tr-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;margin:12px 0;max-width:640px}
.tr-photo{display:block;padding:0;border:0;background:#eef2f4;border-radius:4px;overflow:hidden;aspect-ratio:1/1;cursor:zoom-in}
.tr-photo img{display:block;width:100%;height:100%;object-fit:cover}
.tr-card-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;font-size:13px;color:#7a858d}
.tr-text-button{min-height:36px;padding:4px 8px;border:0;background:none;color:#91312c;font:600 14px/1.4 var(--font-body,inherit);text-decoration:underline;cursor:pointer}
.tr-confirm{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:4px 10px;background:#fff0ee;border-radius:4px}
.tr-confirm-note{color:#7c2a25}
.tr-danger,.tr-danger-button{color:#a3221c}
.tour-reviews .tr-danger-button{background:#a3221c;border-color:#a3221c;color:#fff}
.tr-more{margin:8px 0}
.tr-community-link{margin-top:18px!important;font-weight:600}
.tr-community-link a{color:#15556e}
.tr-write{margin:6px 0}
.tr-auth{padding:20px;background:#f4f7f8;border-radius:6px;margin:12px 0}
.tr-auth-title{font-weight:700;margin:0 0 6px!important}
.tr-form{margin:12px 0 20px;padding:24px;border:1px solid #dde3e7;border-radius:6px;background:#fbfcfc}
.tr-fields{border:0;margin:0;padding:0;min-width:0}
.tr-field{display:block;margin:18px 0;font-weight:700}
.tr-field input,.tr-field textarea,.tr-field select,.tr-filter select{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #a9b4bd;border-radius:4px;font:400 16px/1.6 var(--font-body,inherit);background:#fff;color:#27343d}
.tr-field textarea{resize:vertical;min-height:180px}
.tr-count{margin-top:-10px!important;text-align:right}
.tr-rating{border:0;margin:0 0 6px;padding:0}
.tr-rating legend,.tr-choice legend,.tr-choices-title{font-weight:700;padding:0;margin:0 0 6px}
.tr-rating-row{display:inline-flex;gap:4px}
.tr-rating-option{position:relative;display:inline-flex;cursor:pointer}
.tr-rating-option input{position:absolute;opacity:0;width:1px;height:1px}
.tr-rating-star{font-size:34px;line-height:1;color:#d5dbe0;padding:2px}
.tr-rating-option.is-on .tr-rating-star,.tr-rating-option:hover .tr-rating-star{color:#e8a20c}
.tr-rating-option input:focus-visible+.tr-rating-star{outline:3px solid #15556e;outline-offset:2px;border-radius:4px}
.tr-rating-text{margin-left:10px;font-size:14px;color:#566572;vertical-align:middle}
.tr-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tr-choices{margin:18px 0}
.tr-choice{border:0;margin:0 0 10px;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.tr-choice legend{float:left;width:52px;margin:0}
.tr-choice label{position:relative;display:inline-flex;align-items:center;gap:4px;min-height:40px;padding:4px 14px;border:1px solid #cfdbe1;border-radius:20px;font-size:14px;cursor:pointer;background:#fff}
.tr-choice label:has(input:checked){border-color:#173343;background:#173343;color:#fff}
.tr-choice label:has(input:focus-visible){outline:3px solid #15556e;outline-offset:2px}
.tr-choice input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.tr-upload{margin:18px 0}
.tr-upload-button{position:relative}
.tr-file{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.tr-file:disabled{cursor:not-allowed}
.tr-upload-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;list-style:none;margin:10px 0 0;padding:0}
.tr-upload-item{position:relative;display:flex;flex-direction:column;gap:4px;padding:6px;border:1px solid #dde3e7;border-radius:4px;background:#fff;font-size:12px}
.tr-upload-preview{width:100%;aspect-ratio:1/1;object-fit:cover;background:#eef2f4;border-radius:3px}
.tr-upload-state{color:#566572}
.tr-upload-item[data-state=done] .tr-upload-state{color:#1e7a3e;font-weight:700}
.tr-upload-item[data-state=error]{border-color:#c8322b}
.tr-upload-item[data-state=error] .tr-upload-state{color:#ad2923}
.tr-upload-remove{position:absolute;top:2px;right:2px;width:32px;height:32px;border:0;border-radius:50%;background:rgba(23,51,67,.78);color:#fff;font-size:18px;line-height:1;cursor:pointer}
.tr-rules-short{font-size:14px;color:#7c2a25}
.tr-notice{margin:16px 0;padding:12px 16px;border:1px solid #dde3e7;border-radius:6px;background:#fff;font-size:14px}
.tr-notice summary{font-weight:700;cursor:pointer;min-height:32px}
.tr-notice h4{font-size:15px;margin:14px 0 6px;color:#173343}
.tr-notice ul{margin:0;padding-left:20px;line-height:1.8;color:#3c4a54}
.tr-form-status{font-weight:600;color:#7c2a25;min-height:1.4em}
.tr-filter{display:flex;align-items:center;gap:12px;margin:16px 0 6px;max-width:460px}
.tr-filter label{font-weight:700;white-space:nowrap}
.tr-filter select{margin-top:0}
.tr-pager{display:flex;flex-wrap:wrap;gap:6px;margin:20px 0}
.tr-page{min-width:44px;min-height:44px;padding:6px 12px;border:1px solid #cfdbe1;border-radius:4px;background:#fff;color:#173343;font:600 15px/1 var(--font-body,inherit);cursor:pointer}
.tr-page[aria-current=page]{background:#173343;border-color:#173343;color:#fff}
.tr-back{font-weight:600}
.tr-strip-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}
.tr-strip-card{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid #dde3e7;border-radius:6px;color:#27343d;text-decoration:none;background:#fff}
.tr-strip-card:hover{border-color:#c8322b}
.tr-strip-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px;background:#eef2f4}
.tr-strip-text{font-size:15px;line-height:1.7}
.tr-viewer{max-width:min(1100px,96vw);max-height:94vh;padding:16px;border:0;border-radius:8px;background:#0f1d26;color:#fff}
.tr-viewer::backdrop{background:rgba(8,16,22,.82)}
.tr-viewer-img{display:block;max-width:100%;max-height:76vh;margin:0 auto;object-fit:contain}
.tr-viewer-close{position:absolute;top:8px;right:8px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:26px;cursor:pointer}
.tr-viewer-nav{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:12px}
.tr-viewer-nav .member-secondary{min-height:44px;padding:8px 14px;border:1px solid #cdd5dc;border-radius:4px;background:#fff;color:#173343;font-weight:600;cursor:pointer}
.tr-viewer-count{margin:0;font-size:14px}
@media (max-width:760px){
  .tour-reviews{padding:20px 16px;margin:24px 0 40px}
  .tr-head{flex-direction:column;gap:10px}
  .tr-head .member-primary,.tr-head .member-secondary{align-self:stretch}
  .tr-summary{grid-template-columns:1fr;gap:14px;padding:16px}
  .tr-form{padding:16px}
  .tr-choice legend{float:none;width:100%}
  .tr-strip-list{grid-template-columns:1fr}
  .tr-filter{max-width:none}
}
