/* Golf course maker (/gifts/golf/): on top of the shared maker look (/gifts/globes/maker.css). */

.gf [hidden] { display: none !important; }
.gf .wm-seg button { padding: 6px 8px; white-space: normal; line-height: 1.25; }
.gf-chips, .gf-loops { margin-top: 10px; }
.gf-chips .wm-chip, .gf-loops .wm-chip, .gf-mono .wm-chip { font-size: 0.76rem; padding: 5px 10px; }
.gf-chips .wm-chip small { color: var(--muted); font-size: 0.7rem; margin-left: 4px; }

/* the map: the course in its print colours, hole numbers to click, the plaque's outline */
.gf .gf-mapwrap { max-width: none; position: relative; margin-top: 10px; }
.gf .gf-map { aspect-ratio: 1; }
.gf-pin {
    width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: #1d2320; color: #fff;
    font: 700 11px/18px 'Schibsted Grotesk', system-ui, sans-serif; text-align: center; cursor: pointer; padding: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.gf-pin:hover { background: #2c5a31; }
.gf-pin[aria-pressed="true"] { background: #d42a2f; transform: scale(1.18); }

/* the holes: a scorecard to pick from */
.gf-holes { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; margin-top: 12px; }
.gf-holes button {
    border: 0; border-radius: 7px; background: var(--field); color: var(--ink); font: inherit; cursor: pointer;
    padding: 5px 0 4px; display: flex; flex-direction: column; align-items: center; line-height: 1.1;
}
.gf-holes button b { font-size: 0.9rem; }
.gf-holes button small { font-size: 0.64rem; color: var(--muted); }
.gf-holes button:hover { background: #262b29; }
.gf-holes button[aria-pressed="true"] { background: var(--gold); color: #141716; }
.gf-holes button[aria-pressed="true"] small { color: #3a3422; }
.gf-holes[aria-disabled="true"] { opacity: 0.45; }

.gf-turn { display: flex; gap: 6px; margin-top: 8px; }
.gf-turn .wm-btn { flex: 1 1 0; justify-content: center; }
.gf-turn .wm-btn[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }

.gf .wm-check-inline { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 0.86rem; cursor: pointer; }
.gf .wm-check-inline input { accent-color: var(--gold); }
.gf-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gf .gf-row .wm-seg { display: inline-flex; }

/* the filaments in use */
.gf-mono { margin-top: 10px; }
.gf-swatches { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 0.78rem; color: var(--muted); }
.gf-swatches li { display: flex; align-items: center; gap: 6px; }
.gf-swatches i { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }

.gf-warn { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gf-warn:empty { display: none; }
.gf-warn li { font-size: 0.78rem; line-height: 1.4; color: #f3d38a; background: rgba(217, 177, 74, 0.1); border-radius: 8px; padding: 7px 9px; }

@media (max-width: 560px) {
    .gf .wm-stagebar .wm-btn span { display: none; }
    .gf-holes { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
