
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
.toc-bar { display:flex; gap:8px; overflow-x:auto; padding:8px 0 12px; margin-bottom:12px; border-bottom:1px solid #c5cfa8; -webkit-overflow-scrolling:touch; scrollbar-width:none; background:#e3dfd4; justify-content:center; flex-wrap:wrap; }
.toc-bar::-webkit-scrollbar { display:none; }
.toc-item { display:flex; align-items:center; gap:6px; padding:8px 18px; border-radius:50px; font-size:.78rem; font-weight:500; color:#666; text-decoration:none; white-space:nowrap; transition:all .2s; border:1.5px solid #999; background:white; }
.toc-item:hover { background:#7d8d48; color:white; border-color:#7d8d48; }
.toc-item svg { flex-shrink:0; stroke:#888; transition:stroke .2s; }
.toc-item:hover svg { stroke:white; }
.toc-item.active { background:#7d8d48; color:white; border-color:#7d8d48; font-weight:600; }
.toc-item.active svg { stroke:white; }
:root {
  --pg-green: #7d8d48;
  --pg-green-bg: #f0f2e8;
  --pg-green-border: #c5cfa8;
  --pg-gold: #eab308;
  --pg-orange: #ea580c;
  --pg-red: #dc2626;
}
body { font-family: 'DM Sans', sans-serif; background: #e3dfd4; color: #282a26; }
.navbar-brand { font-weight: 800; font-size: 1.25rem; color: #111 !important; }
.navbar-brand span { color: var(--pg-green); }
.breadcrumb { font-size: .8rem; margin-bottom: 0; }
.breadcrumb-item a { color: #272c24; text-decoration: none; }
.breadcrumb-item + .breadcrumb-item::before { color: #7d8d48; }
.breadcrumb-item.active { color: #7d8d48; }
.section-card { background: #fff; border-radius: 12px; padding: 1.5rem; margin-bottom: 1rem; border: 1px solid #eee; }
.section-card h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.golf-card { background: #fff; border: 1px solid #eee; border-radius: 16px; overflow: hidden; text-decoration: none; color: #111; transition: all .2s; display: block; max-width: 220px; }
.golf-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.08); color: #111; }
.golf-card img { width: 100%; height: 160px; object-fit: cover; }
.golf-card .golf-body { padding: .75rem 1rem; }
.golf-card .golf-name { font-weight: 700; font-size: .9rem; margin-bottom: .15rem; }
.golf-card .golf-loc { font-size: .75rem; color: #777; margin-bottom: .4rem; }
.golf-card .golf-meta { display: flex; gap: .5rem; flex-wrap: wrap; }
.golf-card .golf-tag { font-size: .65rem; font-weight: 600; padding: .2em .6em; border-radius: 2rem; background: #f0f0f0; color: #555; }
.golf-card .golf-tag.rating { background: var(--pg-green-bg); color: var(--pg-green); }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid #eee; display: flex; padding: .4rem 0 calc(.4rem + env(safe-area-inset-bottom, 0px)); z-index: 100; }
.bottom-nav a { flex: 1; text-align: center; text-decoration: none; color: #999; font-size: .6rem; font-weight: 500; padding: .35rem 0; }
.bottom-nav a.active { color: var(--pg-green); }
.bottom-nav svg { display: block; margin: 0 auto 2px; width: 20px; height: 20px; }
@media (min-width: 768px) { .bottom-nav { display: none; } body { padding-bottom: 0 !important; } }
@media (max-width: 767px) { body { padding-bottom: 64px; } }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .75rem; }
.footer-links a:hover { color: #fff; }
.pg-footer { background: #11140f; color: #cfd3c4; padding: 3.25rem 0 1.5rem; margin-top: 3rem; border-top: 3px solid var(--pg-green); }
.pg-footer-brand img { height: 30px; filter: brightness(0) invert(1); margin-bottom: .85rem; }
.pg-footer-brand p { color: #9aa089; font-size: .82rem; line-height: 1.7; max-width: 330px; margin-bottom: 1.1rem; }
.pg-footer-stats { display: flex; gap: 2rem; }
.pg-footer-stats span { font-size: .72rem; color: #8a9078; text-transform: uppercase; letter-spacing: .5px; }
.pg-footer-stats strong { display: block; font-size: 1.45rem; color: #fff; font-weight: 800; line-height: 1.1; margin-bottom: .1rem; }
.pg-footer h6 { color: #fff; font-size: .7rem; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; margin-bottom: 1.1rem; }
.pg-footer ul { list-style: none; padding: 0; margin: 0; }
.pg-footer li { margin-bottom: .55rem; }
.pg-footer a { color: #9aa089; text-decoration: none; font-size: .83rem; transition: color .15s; }
.pg-footer a:hover { color: #b9c98c; }
.pg-footer .pg-foot-n { color: #5f6650; font-size: .72rem; }
.pg-footer a:hover .pg-foot-n { color: #8a9078; }
.pg-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.25rem; padding-top: 1.25rem; font-size: .73rem; color: #7a8068; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; }
@media (max-width: 767px) { .pg-footer { padding: 2.25rem 0 5.5rem; } .pg-footer-bottom { flex-direction: column; } }
.rank-badge { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:50%; font-size:.75rem; font-weight:700; color:white; }
.rank-badge.rank-1 { background: linear-gradient(135deg, #d4a843, #b8922d); }
.rank-badge.rank-top { background: #7d8d48; }
.rgx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.rgx-card { position: relative; display: block; background: #fff; border: 1px solid #e7e3d8; border-radius: 16px; padding: 1.15rem 1.2rem; text-decoration: none; color: #282a26; overflow: hidden; transition: transform .22s, box-shadow .22s, border-color .22s; }
.rgx-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(140deg, #4a5530, #7d8d48); opacity: 0; transition: opacity .25s; z-index: 0; }
.rgx-card > * { position: relative; z-index: 1; }
.rgx-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(74,85,48,.28); border-color: transparent; }
.rgx-card:hover::before { opacity: 1; }
.rgx-head { display: flex; align-items: flex-start; justify-content: space-between; }
.rgx-count { font-size: 1.7rem; font-weight: 800; color: var(--pg-green); line-height: 1; transition: color .2s; }
.rgx-count small { font-size: .6rem; font-weight: 600; color: #b0b0a4; text-transform: uppercase; letter-spacing: .5px; margin-left: .3rem; transition: color .2s; }
.rgx-flag { color: var(--pg-green); opacity: .2; transition: opacity .2s, color .2s; }
.rgx-name { font-weight: 700; font-size: .95rem; margin: .55rem 0 .65rem; line-height: 1.25; transition: color .2s; }
.rgx-bar { height: 4px; border-radius: 3px; background: #ececdf; overflow: hidden; margin-bottom: .6rem; transition: background .2s; }
.rgx-bar span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #7d8d48, #a3b063); transition: background .2s; }
.rgx-cities { font-size: .72rem; color: #9a9a8e; line-height: 1.45; transition: color .2s; }
.rgx-card:hover .rgx-count, .rgx-card:hover .rgx-name { color: #fff; }
.rgx-card:hover .rgx-count small { color: rgba(255,255,255,.7); }
.rgx-card:hover .rgx-flag { color: #fff; opacity: .55; }
.rgx-card:hover .rgx-bar { background: rgba(255,255,255,.28); }
.rgx-card:hover .rgx-bar span { background: #fff; }
.rgx-card:hover .rgx-cities { color: rgba(255,255,255,.88); }
@media (max-width: 992px) { .rgx-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .rgx-grid { grid-template-columns: repeat(2, 1fr); } }
