/* Stardust Stables (stables.js): golden-hour lilac / peach / mint colours on the shared island HUD and dialog, plus
   what is special here: the pony's mood hearts, the carried item, the lucky-horseshoe counter, the big Ride / Get off
   buttons and the pony chooser in Rosie's dialog. Readable at 360 px wide; touch targets of 48 px or more. */
#stables-hud,.stables-panel{--isle-main:#5b3f9e;--isle-accent:#ffc9a3;--isle-ink:#3a2463;--isle-soft:#fff6fb;--isle-good:#8ff0c4;--isle-bad:#ff7f9e}
#stables-hud .ih-quest{background:linear-gradient(135deg,color-mix(in srgb,#5b3f9e 92%,transparent),color-mix(in srgb,#9a72c9 90%,transparent))}
#stables-hud .ih-banner{background:linear-gradient(#fff6fb,#ffe9f3)}
#stables-hud .ih-ask-card{background:linear-gradient(#fff6fb,#fff0f7)}
#stables-hud .ih-choice{border-color:#8b6cc4;box-shadow:0 3px 0 #8b6cc4}
#stables-hud .st-mood{color:#ff7eb6;letter-spacing:2px;font-size:16px}
#stables-hud .st-mood i{font-style:normal;color:#fff;opacity:.35}
#stables-hud .st-carry{background:#fff6fb;color:#3a2463;border-color:#c9a8ea}
#stables-hud .st-shoe,.stables-panel .st-shoe{display:inline-block;color:#ffd34d;font-weight:900;text-shadow:0 1px 0 #8a6a12;transform:scaleY(1.15)}
#stables-hud .ih-btn.st-ride{background:#ffc9a3;min-width:88px;min-height:88px}
#stables-hud .ih-btn.st-off{background:#c9a8ea;min-width:100px;min-height:100px;border-radius:28px}
#stables-hud .ih-btn.st-off b,#stables-hud .ih-btn.st-ride b{font-size:34px}
#stables-hud .ih-btn.st-off small,#stables-hud .ih-btn.st-ride small{font-size:15px}
.stables-panel .st-preview{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff6fb;border:2px solid #c9a8ea;border-radius:16px;padding:10px 14px}
.stables-panel .st-preview b{font-size:22px;color:#5b3f9e}
.stables-panel .st-preview small{font-weight:700;opacity:.75}
.stables-panel .st-pony-dot{position:relative;flex:none;width:52px;height:52px;border-radius:50%;border:3px solid #5b3f9e;overflow:hidden}
.stables-panel .st-pony-dot i{position:absolute;left:0;right:0;top:0;height:38%}
.stables-panel .st-h{margin:4px 0 0;font-size:16px;color:#5b3f9e}
.stables-panel .ip-pick{min-height:52px}
.stables-panel .st-names .ip-pick{min-height:48px;flex-direction:row;justify-content:center}
.stables-panel .st-play{margin-top:6px;border:0;border-radius:12px;background:#5b3f9e;color:#fff;font:inherit;font-weight:800;padding:8px 16px;min-height:48px;cursor:pointer}
.stables-panel .ip-list li.locked .st-play{display:none}
@media (max-width:420px){.stables-panel .ip-grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr))}#stables-hud .ih-btn.st-off{min-width:86px;min-height:86px}#stables-hud .st-mood{font-size:14px}}
/* Pony Club (stables-club.js): ride cards with course and condition choices and your best, the result card with its
   rosette, records, the wardrobe with the pony picture and locks, the pace buttons on the HUD and the room table. */
.stables-panel .st-club{display:grid;gap:6px;margin:10px 0;padding:10px 14px;background:#fff6fb;border:2px solid #e3d2f6;border-radius:16px}
.stables-panel .st-h small{margin-left:6px;font-size:13px;font-weight:700;color:#8b6cc4}
.stables-panel .st-opts .ip-pick{min-height:48px}
.stables-panel .st-best{margin:2px 0;font-weight:800;color:#3a2463}
.stables-panel .st-prizes{font-size:17px;font-weight:800;color:#3a2463}
.stables-panel .st-result{display:flex;align-items:center;gap:14px;padding:12px 16px;background:#fff6fb;border:2px solid #c9a8ea;border-radius:16px;font-size:18px}
.stables-panel .st-rosette{display:inline-grid;place-items:center;flex:none;width:64px;height:64px;border-radius:50%;font-size:38px;background:radial-gradient(circle,var(--c) 0 58%,#ffffff 60% 66%,var(--c) 68%);box-shadow:0 3px 0 rgba(58,36,99,.25)}
.stables-panel .st-new{font-weight:800;color:#2f8a5a}
.stables-panel .st-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.stables-panel .st-actions>*{flex:1 1 150px;margin:0}
.stables-panel .st-room{margin-top:10px;padding-top:8px;border-top:2px dashed #e3d2f6}
.stables-panel .st-table{margin:4px 0;padding-left:22px;font-weight:700}
.stables-panel .st-pony-svg{flex:none;width:180px;height:auto}
.stables-panel .st-pony-svg.small{width:120px}
.stables-panel .st-wear .ip-pick small{font-weight:800;opacity:.85}
.stables-panel .st-wear .ip-pick:disabled{opacity:.55;cursor:not-allowed}
.stables-panel .st-clubgo{width:100%;margin-top:10px}
#stables-hud .ih-btn.st-pace{min-width:64px;background:#fff6fb}
#stables-hud .ih-btn.st-pace.on{background:#ffc9a3;box-shadow:0 0 0 3px #5b3f9e}
#stables-hud .st-pace-chip{background:#ffc9a3;color:#3a2463}
@media (max-width:420px){.stables-panel .st-pony-svg{width:140px}.stables-panel .st-result{font-size:16px}#stables-hud .ih-btn.st-pace{min-width:54px}}
