:root {
  --navy: #20364e;
  --navy-deep: #142639;
  --blue: #3b6d9b;
  --line: #71879a;
  --paper: #f2f0e9;
  --cream: #e7e1d3;
  --gold: #b88a35;
  --ink: #1b2a38;
  --muted: #617080;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: Tahoma, "Segoe UI", sans-serif; background: #aebbc6; background-image: linear-gradient(135deg, rgba(255,255,255,.16) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.16) 50%, rgba(255,255,255,.16) 75%, transparent 75%); background-size: 14px 14px; }
button, input, textarea, select { font: inherit; }
input[dir="ltr"] { direction: ltr; text-align: left; }
button { cursor: pointer; }
a { color: inherit; }
button:disabled { cursor: wait; opacity: .68; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px dotted var(--gold); outline-offset: 2px; }
.browser-frame { width: min(1100px, calc(100% - 24px)); margin: 18px auto; border: 3px ridge #e8edf0; background: var(--paper); box-shadow: 8px 8px 0 #607283; }
.top-strip { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 16px; border-bottom: 3px ridge #e8edf0; background: var(--navy-deep); color: white; }
.brand, .top-links { display: flex; align-items: center; gap: 9px; }
.brand-link { color: inherit; text-decoration: none; }
.brand-mark { width: 26px; height: 26px; display: inline-grid; place-items: center; border: 2px outset #fff; background: var(--gold); color: var(--navy-deep); font: bold 17px Georgia, serif; }
.brand strong { font-size: 1.05rem; letter-spacing: 0; }
.brand-sub { color: #c6d2dc; font-size: .72rem; }
.top-links { flex-wrap: wrap; justify-content: flex-end; font-size: .75rem; }
.top-links a { min-height: 28px; padding: 5px 9px; color: #e0e7eb; text-decoration: none; border-left: 1px solid #698094; }
.top-links a:hover { color: var(--gold); text-decoration: underline; }
.hero { min-height: 390px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 42px 18px 46px; text-align: center; background: radial-gradient(circle at center, #fff 0, #f2f0e9 68%); border-bottom: 1px solid #bec4c7; }
.tiny-label { margin: 0 0 14px; color: var(--muted); font-size: .75rem; }
h1 { margin: 0; color: var(--navy-deep); font: bold clamp(3rem, 9vw, 5.2rem) Georgia, "Times New Roman", serif; letter-spacing: 0; line-height: 1; text-shadow: 2px 2px #c4ced5; }
h1 small { color: var(--gold); font-size: .42em; letter-spacing: 0; }
.hero-note { margin: 8px 0 25px; color: #52616e; font-size: .92rem; }
.search-form { display: flex; align-items: stretch; width: min(690px, 100%); gap: 8px; }
.search-suggestions { position: relative; z-index: 5; width: min(690px, 100%); margin-top: 5px; border: 1px solid #9baab6; background: #fff; box-shadow: 3px 3px 0 rgba(20,38,57,.16); text-align: right; }
.search-suggestions[hidden] { display: none; }
.suggestion-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 42px; padding: 10px 12px; border: 0; border-bottom: 1px solid #e1e6ea; background: #fff; color: var(--navy-deep); text-align: right; cursor: pointer; }
.suggestion-item:last-child { border-bottom: 0; }
.suggestion-item:hover, .suggestion-item.active { background: #edf2f5; }
.suggestion-item strong { display: block; font-size: .82rem; }
.suggestion-item span { color: var(--muted); font-size: .72rem; }
.suggestion-empty { padding: 10px 12px; color: var(--muted); font-size: .76rem; }
.suggestion-item span[dir="ltr"] { margin-right: auto; margin-left: 12px; color: var(--navy-deep); }
.suggestion-add-store { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-top: 1px solid #aebbc3; background: #f4f6f7; color: var(--navy-deep); font-size: .76rem; font-weight: bold; text-decoration: none; }
.suggestion-add-store strong { text-decoration: underline; white-space: nowrap; }
.suggestion-add-store:hover, .suggestion-add-store:focus-visible { background: #e5edf2; color: var(--blue); }
.search-box { display: flex; align-items: center; flex: 1; min-height: 46px; border: 2px inset #a8b4bf; background: white; box-shadow: 1px 1px 0 #fff; }
.magnifier { padding-right: 10px; color: var(--blue); font: bold 1.55rem Georgia, serif; }
.search-box input { width: 100%; padding: 12px 9px; border: 0; outline: none; color: var(--ink); background: transparent; font-size: .88rem; }
.search-button { min-width: 108px; min-height: 42px; padding: 8px 14px; border: 2px outset #fff; background: var(--blue); color: #fff; font-weight: bold; text-align: center; text-decoration: none; }
.search-button:hover { background: var(--navy-deep); }
.search-button:active { border-style: inset; transform: translate(1px, 1px); }
.search-message { min-height: 18px; margin: 14px 0 0; color: #256149; font-size: .76rem; font-weight: bold; }
.add-store-cta { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; color: var(--navy-deep); font-size: .78rem; font-weight: bold; }
.add-store-cta[hidden] { display: none; }
.add-store-cta .search-button { display: inline-block; min-width: auto; padding: 7px 11px; text-decoration: none; }
.nearest-suggestion { padding: 12px; border: 1px dashed #9a7b3c; background: #fff8e7; color: var(--navy-deep); font-size: .8rem; }
.nearest-suggestion strong { display: block; margin-bottom: 5px; }
.ranking-section { padding: 27px clamp(16px, 5vw, 54px) 38px; background: #e8e5dc; border-top: 2px solid #fff; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; border-bottom: 2px solid var(--navy); padding-bottom: 12px; margin-bottom: 12px; }
.heading-kicker { display: block; color: var(--gold); font-size: .72rem; font-weight: bold; }
.section-heading h2 { margin: 3px 0 0; color: var(--navy-deep); font-size: 1.42rem; }
.section-heading-actions { display: flex; align-items: center; gap: 10px; }
.all-stores-link { color: var(--blue); font-size: .76rem; font-weight: bold; white-space: nowrap; }
.sort-label { color: var(--muted); font-size: .68rem; white-space: nowrap; }
.date-stamp { padding: 4px 7px; border: 1px dashed #87929a; color: var(--muted); font-size: .69rem; white-space: nowrap; }
.section-intro { margin: 11px 0 15px; color: var(--muted); font-size: .81rem; }
.ranking-list { display: grid; gap: 10px; }
.rank-card { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 13px; align-items: center; padding: 12px 14px; border: 1px solid #9aa5ad; border-right: 5px solid var(--blue); background: var(--paper); }
.rank-card { color: inherit; text-decoration: none; }
.rank-card:hover, .rank-card:focus-visible { background: #f8f7ef; border-color: var(--blue); box-shadow: 3px 3px 0 #b8c2c9; }
.store-title { display: flex; align-items: center; gap: 9px; }
.store-title h3 { margin: 0; }
.store-icon-wrap { display: inline-grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; overflow: hidden; border: 1px solid #a8b4bf; background: #e8edf0; }
.store-icon { display: block; width: 100%; height: 100%; object-fit: contain; }
.store-icon-placeholder { display: grid; place-items: center; width: 100%; height: 100%; font-size: 1.15rem; }
.ranking-list#ranking-list .rank-card:first-child, .rank-card.top-store { border-right-color: var(--gold); }
.rank-icon { display: grid; place-items: center; }
.rank-icon .store-icon-wrap { width: 42px; height: 42px; background: #fff; }
.rank-main h3 { margin: 0 0 4px; color: var(--navy-deep); font-size: .98rem; }
.rank-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: var(--muted); font-size: .73rem; line-height: 1.9; }
.platform { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); }
.platform-icon { width: 19px; height: 19px; display: inline-grid; place-items: center; border: 1px solid #8294a3; background: #edf0f1; font-weight: bold; }
/* Emoji platform marks for the search index page. */
.platform-icon.website::before { content: "🌐"; color: #315e8c; }
.platform-icon.instagram::before { content: "📸"; color: #9b4c61; }
.platform-icon.telegram::before { content: "➤"; color: #229ed9; }
.platform-icon.website::before { content: "⌂"; }
.platform-icon.instagram::before { content: "◎"; color: #9b4c61; }
.platform-icon.telegram::before { content: "➤"; color: #2677a9; }
.rank-score { text-align: left; white-space: nowrap; }
.rank-score strong { display: block; color: var(--gold); font-size: 1.2rem; }
.rank-score span { color: var(--muted); font-size: .68rem; }
.store-profile-page { max-width: 900px; margin: 0 auto; padding: 30px clamp(16px, 5vw, 54px) 45px; }
.store-profile { padding: 22px; border: 1px solid #c4c9ca; background: #f7f7f4; box-shadow: 3px 3px 0 #c9c5b7; }
.profile-heading { display: flex; justify-content: space-between; align-items: start; gap: 18px; border-bottom: 1px solid #d2d6d6; padding-bottom: 16px; }
.profile-heading h1 { margin: 6px 0 0; }
.profile-title-wrap { display: flex; align-items: center; gap: 12px; }
.profile-latin-name { display: block; margin-top: 4px; color: var(--muted); font-size: .86rem; }
.profile-created-user { margin: 14px 0; color: var(--muted); font-size: .82rem; }
.profile-created-user a, .readonly-info a { color: var(--navy-deep); font-weight: bold; }
.profile-title-wrap .store-icon-wrap { flex-basis: 52px; width: 52px; height: 52px; }
.profile-rating { text-align: left; white-space: nowrap; }
.profile-rating strong { display: block; color: var(--gold); font-size: 1.35rem; }
.profile-rating span { color: var(--muted); font-size: .75rem; }
.profile-admin-actions { display: grid; justify-items: end; gap: 8px; }
.admin-edit-store { display: inline-block; padding: 6px 9px; border: 1px solid var(--line); background: #fff; color: var(--navy-deep); font-size: .72rem; font-weight: bold; text-decoration: none; }
.admin-edit-store:hover { border-color: var(--blue); color: var(--blue); }
.admin-edit-store[hidden] { display: none; }
.profile-platforms { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.profile-platform { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 7px 10px; border: 1px solid #c4c9ca; background: #fff; color: var(--navy-deep); font-size: .75rem; }
.profile-platform > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
a.profile-platform { text-decoration: none; }
a.profile-platform:hover, a.profile-platform:focus-visible { border-color: var(--blue); background: #e9f0f5; color: var(--blue); }
.external-mark { color: var(--blue); font-weight: bold; }
.auth-user { color: #f1d38a !important; font-weight: bold; }
.auth-logout { padding: 4px 7px; border: 1px solid #8395a5; background: #314b64; color: #fff; font-size: .72rem; cursor: pointer; }
.auth-logout:hover { background: var(--gold); }
.public-auth-form { display: grid; gap: 7px; }
.public-auth-form label { margin-top: 8px; color: var(--navy-deep); font-size: .81rem; font-weight: bold; }
.public-auth-form input { width: 100%; padding: 10px; border: 2px inset #a8b4bf; background: white; color: var(--ink); font-size: .84rem; }
.auth-switch { color: var(--muted); font-size: .78rem; text-align: center; }
.auth-switch a { color: var(--navy-deep); font-weight: bold; }
.review-form-section { margin-top: 22px; padding: 15px; border: 1px dashed #a0abb3; background: #eef1f1; }
.review-form-section h2 { margin-top: 0; color: var(--navy-deep); font-size: 1.1rem; }
.review-form-section form { display: grid; gap: 8px; }
.review-form-section form[hidden] { display: none; }
.review-form-section label, .star-fieldset legend { color: var(--navy-deep); font-size: .78rem; font-weight: bold; }
.review-form-section textarea { width: 100%; resize: vertical; padding: 9px; border: 2px inset #a8b4bf; font: inherit; font-size: .8rem; }
.star-fieldset { padding: 0; border: 0; }
.star-rating { display: flex; gap: 3px; margin-top: 5px; direction: ltr; }
.star-button { padding: 0 2px; border: 0; background: transparent; color: #b9c0c4; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.star-rating:not(.is-previewing) .star-button.selected, .star-button.preview { color: var(--gold); }
.reviews-section { margin-top: 24px; }
.reviews-section h2 { margin: 0; color: var(--navy-deep); font-size: 1.1rem; }
.reviews-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.all-reviews-link { color: var(--blue); font-size: .78rem; font-weight: bold; white-space: nowrap; }
.reviews-list { display: grid; gap: 9px; }
.review-card { padding: 13px; border: 1px solid #d2d6d6; background: #fff; }
.review-heading { display: flex; justify-content: space-between; gap: 10px; }
.review-heading span { color: var(--gold); font-weight: bold; }
.review-card p { margin: 9px 0; line-height: 1.8; font-size: .82rem; }
.review-card time { color: var(--muted); font-size: .7rem; }
.review-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.review-delete-button { padding: 4px 7px; border: 1px solid #c89494; background: #fff4f4; color: #9d3030; font-size: .68rem; }
.review-delete-button:hover { background: #9d3030; color: #fff; }
.review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.report-button { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border: 1px solid #aeb8bf; background: #f7f8f8; color: var(--muted); font-size: .68rem; }
.report-button:hover, .report-button:focus-visible { border-color: #987135; background: #fff8e8; color: #73521f; }
.report-button.reported, .report-button:disabled { border-color: #b9c1c5; background: #eceff0; color: #7a858b; cursor: default; }
.profile-store-report { display: flex; justify-content: flex-end; }
.report-dialog { width: min(520px, calc(100% - 28px)); padding: 0; border: 1px solid #8d9aa2; background: #fff; color: var(--ink); box-shadow: 7px 7px 0 rgba(23, 41, 55, .25); }
.report-dialog::backdrop { background: rgba(15, 31, 44, .55); }
.report-form { display: grid; gap: 10px; padding: 20px; }
.report-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.report-dialog-heading h2 { margin: 3px 0 0; color: var(--navy-deep); font-size: 1.25rem; }
.report-close { width: 34px; height: 34px; padding: 0; border: 1px solid #aeb8bf; background: #f2f4f5; color: var(--navy-deep); font-size: 1.4rem; line-height: 1; }
.report-help { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.8; }
#report-fields { display: grid; gap: 8px; }
#report-fields[hidden], .report-login-required[hidden] { display: none; }
.report-form label { color: var(--navy-deep); font-size: .78rem; font-weight: bold; }
.report-form label span { color: var(--muted); font-size: .68rem; font-weight: normal; }
.report-form select, .report-form textarea { width: 100%; padding: 9px; border: 1px solid #aeb8bf; background: #fff; color: var(--ink); font: inherit; font-size: .8rem; }
.report-form textarea { resize: vertical; }
.report-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.report-cancel { padding: 8px 12px; border: 1px solid #aeb8bf; background: #edf0f2; color: var(--navy-deep); }
.report-login-required { padding: 12px; border: 1px solid #bfaa7b; background: #fff9e9; }
.report-login-required p { margin: 0 0 10px; font-size: .8rem; }
.report-toast { position: fixed; z-index: 100; inset-inline-start: 20px; bottom: 20px; max-width: min(390px, calc(100% - 40px)); padding: 11px 14px; border: 1px solid #56856c; background: #edf8f1; color: #245b3c; box-shadow: 3px 3px 0 rgba(23, 41, 55, .18); font-size: .78rem; font-weight: bold; }
.report-toast[hidden] { display: none; }
.empty-reviews { color: var(--muted); font-size: .82rem; }
.store-reviews-page { max-width: 900px; min-height: 560px; margin: 0 auto; padding: 30px clamp(16px, 5vw, 54px) 45px; }
.reviews-page-heading { margin-bottom: 18px; padding-bottom: 13px; border-bottom: 2px solid var(--navy); }
.reviews-page-heading h1 { margin: 4px 0 6px; font-size: clamp(1.8rem, 6vw, 2.7rem); letter-spacing: 0; text-shadow: 1px 1px #c4ced5; }
.reviews-page-title-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.reviews-page-heading p { margin: 0; color: var(--muted); font-size: .8rem; }
.reviews-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; }
.reviews-pagination a, .reviews-pagination .current-page { min-width: 34px; padding: 6px 9px; border: 1px solid #9aa5ad; background: #fff; color: var(--navy-deep); text-align: center; text-decoration: none; font-size: .76rem; }
.reviews-pagination a:hover { background: #e9f0f5; border-color: var(--blue); }
.reviews-pagination .current-page { background: var(--navy); color: #fff; font-weight: bold; }
.stores-page { max-width: 900px; min-height: 560px; margin: 0 auto; padding: 30px clamp(16px, 5vw, 54px) 45px; }
.stores-page-heading { margin-bottom: 18px; padding-bottom: 13px; border-bottom: 2px solid var(--navy); }
.stores-page-heading h1 { margin: 4px 0 6px; font-size: clamp(1.8rem, 6vw, 2.7rem); letter-spacing: 0; text-shadow: 1px 1px #c4ced5; }
.stores-page-heading p { margin: 0; color: var(--muted); font-size: .8rem; }
.stores-list-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
/* Unicode escapes keep the emoji intact even when this legacy stylesheet is served with a non-UTF-8 charset. */
.platform-icon.website::before { content: "\1F310"; color: #315e8c; }
.platform-icon.instagram::before { content: "\1F4F8"; color: #9b4c61; }
.platform-icon.telegram::before { content: "\27A4"; color: #229ed9; }
.platform-icon.whatsapp::before { content: "☏"; color: #25d366; }
.info-row { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 22px clamp(16px, 5vw, 54px); background: var(--paper); }
.info-box { display: flex; gap: 10px; padding: 13px; border: 1px solid #a0abb3; background: #e6ebed; }
.info-icon { flex: 0 0 27px; height: 27px; display: grid; place-items: center; border: 2px outset #fff; background: var(--navy); color: white; font-weight: bold; }
.info-box h3 { margin: 0 0 5px; color: var(--navy-deep); font-size: .85rem; }
.info-box p { margin: 0; color: var(--muted); font-size: .73rem; line-height: 1.8; }
.privacy-page { max-width: 900px; margin: 0 auto; padding: 32px clamp(16px, 5vw, 54px) 45px; }
.privacy-card { padding: clamp(20px, 4vw, 34px); border: 1px solid #c4c9ca; background: #fff; box-shadow: 3px 3px 0 #c9c5b7; }
.privacy-card h1 { margin: 5px 0 4px; font-size: clamp(2rem, 7vw, 3.2rem); letter-spacing: 0; text-shadow: 1px 1px #c4ced5; }
.privacy-updated { margin: 0 0 24px; color: var(--muted); font-size: .72rem; }
.privacy-card section { padding: 14px 0; border-top: 1px solid #e0e3e3; }
.privacy-card h2 { margin: 0 0 7px; color: var(--navy-deep); font-size: 1rem; }
.privacy-card section p { margin: 0; color: #465563; font-size: .82rem; line-height: 2; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-top: 3px ridge #e8edf0; background: var(--navy-deep); color: #d9e2e8; font-size: .68rem; }
.footer a { color: var(--gold); }
.register-page { min-height: 590px; display: grid; place-items: center; padding: 34px 16px; background: radial-gradient(circle at center, #fff 0, #e9e6de 75%); }
.register-card { width: min(510px, 100%); padding: 24px 28px; border: 2px solid var(--line); background: var(--paper); box-shadow: 5px 5px 0 #8c9aa5; }
.register-card h1 { margin: 0 0 7px; font-size: 2.35rem; letter-spacing: 0; text-shadow: 1px 1px #c4ced5; }
.register-intro { margin: 0 0 20px; color: var(--muted); font-size: .82rem; }
#register-form { display: grid; gap: 8px; }
#register-form label { margin-top: 8px; color: var(--navy-deep); font-size: .81rem; font-weight: bold; }
#register-form input:not([type="hidden"]) { width: 100%; padding: 10px; border: 2px inset #a8b4bf; background: white; color: var(--ink); font-size: .84rem; }
#register-form small { color: var(--muted); font-size: .68rem; }
.captcha-line { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: 5px; }
.captcha-line label { display: block; margin-top: 0 !important; }
.captcha-question { min-width: 170px; margin: 4px 0 0; padding: 8px 10px; border: 1px dashed #82919c; background: #e4e8e9; color: var(--navy); font: bold 1.05rem "Courier New", monospace; text-align: center; }
.refresh-button { height: 37px; padding: 5px 11px; border: 2px outset #fff; background: #d5dce3; color: var(--navy); font-size: 1.25rem; }
.refresh-button:hover { background: var(--gold); color: #fff; }
.register-button { width: 100%; margin-top: 14px; }
.form-message { min-height: 20px; margin: 5px 0 0; font-size: .76rem; font-weight: bold; }
.form-message.success { color: #216b50; }
.form-message.error { color: #a23636; }
.trap-field, .public-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.register-button:disabled { cursor: wait; opacity: .65; }
.no-result { padding: 18px; border: 1px dashed var(--line); color: var(--muted); background: var(--paper); }

@media (max-width: 620px) {
  .browser-frame { width: calc(100% - 10px); margin: 5px auto; }
  .top-strip { align-items: flex-start; flex-direction: column; gap: 10px; }
  .top-links { align-self: stretch; justify-content: flex-start; }
  .hero { min-height: 360px; padding-top: 30px; }
  .search-form { flex-direction: column; }
  .search-button { width: 100%; }
  .add-store-cta { flex-direction: column; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading-actions { width: 100%; flex-wrap: wrap; justify-content: space-between; }
  .rank-card { grid-template-columns: 42px 1fr; }
  .profile-heading { flex-direction: column; }
  .rank-score { grid-column: 1 / -1; text-align: right; }
  .rank-score strong, .rank-score span { display: inline; margin-left: 6px; }
  .info-row { grid-template-columns: 1fr; }
}
