.favourite-access{display:inline-flex;align-items:center;gap:5px;font:800 12px Nunito,sans-serif;border:1px solid #aaa0ce;background:#ede5fa;color:#59458d;border-radius:15px;padding:7px 12px;margin:12px 5px;cursor:pointer}.favourite-access svg,.favourite-save svg{width:17px;height:17px}.favourite-save{display:grid;place-items:center;width:30px;height:30px;border:1px solid #bdb0d5;border-radius:10px;background:#fbf8ff;color:#654c9e;cursor:pointer}.favourite-save[aria-pressed=true]{background:#ded0f5;color:#4d3681}.home-next-game>.favourite-save,.home-last-game>.favourite-save{position:absolute;bottom:18px;right:61px}.player-card-link>.favourite-save{position:absolute;top:8px;right:9px}.player-card-link{position:relative}.player-profile-heading>.favourite-save{position:absolute;bottom:12px;right:50px}.favourite-drawer{position:fixed;inset:18px 18px 18px auto;margin:0;width:410px;max-width:calc(100vw - 28px);max-height:calc(100vh - 36px);border:2px solid #8877b6;border-radius:22px;background:#f7f6f0;color:#14294a;padding:21px;box-shadow:0 15px 50px #12213b44;font-family:Nunito,sans-serif}.favourite-drawer::backdrop{background:#10192c66}.favourite-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.favourite-head h2{font-family:Graduate,Georgia,serif;font-size:21px;margin:0}.favourite-head button{background:transparent;border:0;font-size:27px;cursor:pointer}.favourite-hint{font-size:12px;color:#647084;line-height:1.5;margin:14px 0}.favourite-filters{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}.favourite-filters button{font:800 12px Nunito,sans-serif;border:1px solid #c1b5d5;border-radius:16px;padding:7px 11px;background:#fff;color:#5b458b;cursor:pointer}.favourite-filters button[aria-pressed=true]{background:#6b55a1;color:#fff;border-color:#6b55a1}.favourite-items{display:grid;gap:10px}.favourite-item{display:grid;grid-template-columns:38px minmax(0,1fr) 28px;gap:10px;align-items:center;background:#fffdf9;border:1px solid #ddd4eb;border-radius:15px;padding:13px}.favourite-type{display:grid;place-items:center;background:#e9e0f7;color:#634992;width:35px;height:35px;border-radius:10px;font-size:19px}.favourite-item a{text-decoration:none;color:#14294a;min-width:0}.favourite-item b{display:block;font-size:14px}.favourite-item small{display:block;font-size:11px;color:#6b6c7b;line-height:1.4;margin-top:4px}.favourite-item button{border:0;background:transparent;color:#7a639e;font-size:21px;cursor:pointer}.favourite-empty{padding:30px 12px;text-align:center;color:#777;font-size:14px}@media(max-width:520px){.favourite-drawer{inset:auto 0 0 0;width:100%;max-width:none;max-height:80vh;border-radius:23px 23px 0 0;padding:21px 17px 28px}.home-next-game>.favourite-save,.home-last-game>.favourite-save{right:59px}.favourite-preview-label{font-size:9px}}

.favourite-access{width:auto!important;flex:none;max-width:max-content;margin:0 5px;min-height:40px}.hub-app-tools .favourite-access{background:#eae0f8;border-color:#aaa0ce}

/* Keep controls clear of the existing share buttons, scores, and card links. */
.favourite-drawer{box-sizing:border-box;overflow-y:auto;padding-bottom:max(24px,env(safe-area-inset-bottom));z-index:1100}.favourite-drawer [hidden]{display:none}.favourite-head button,.favourite-item button{min-width:36px;min-height:36px}.favourite-query{box-sizing:border-box;width:100%;padding:11px 12px;border:1px solid #bdb0d5;border-radius:12px;font:inherit;font-size:14px;background:#fff;color:#14294a}.favourite-find{margin-top:18px;padding:10px 13px;border:1px solid #bdb0d5;border-radius:12px;background:#eae0f8;color:#493569;font:800 12px Nunito,sans-serif;cursor:pointer}.favourite-save{z-index:3;flex:none;min-width:32px;min-height:32px}.favourite-save[aria-pressed=true] svg{fill:currentColor}.favourite-save:focus-visible,.favourite-access:focus-visible,.favourite-drawer button:focus-visible{outline:3px solid #104699;outline-offset:3px}.favourite-game-button{position:absolute;bottom:18px;right:61px}.home-next-game,.home-last-game,[data-result-share=true]{position:relative}.favourite-card-wrap{position:relative;min-width:0}.favourite-card-wrap>a{height:100%;box-sizing:border-box}.favourite-player-wrap>.favourite-save,.player>.favourite-card-button{position:absolute;bottom:18px;left:18px;right:auto;top:auto}.favourite-team-wrap>.favourite-save{position:absolute;bottom:8px;right:12px}.favourite-team-wrap .enemy-card .arrow{margin-right:32px}.player-profile-heading,.team-history-heading,.team-overview-card{position:relative}.player-profile-heading>.favourite-profile-button{position:absolute;bottom:12px;right:50px;top:auto}.favourite-team-button{position:absolute;right:12px;bottom:10px}.team-history-heading:has(>.favourite-team-button),.team-overview-card:has(>.favourite-team-button){padding-right:54px}.favourite-search-wrap{display:flex;gap:8px;align-items:center}.favourite-search-wrap>.hub-feature-result{flex:1;min-width:0}.favourite-search-wrap>.favourite-save{margin-right:3px}.highlight-card-copy>.favourite-save{margin-top:9px}.highlight-card-copy{position:relative}.dapper-hub .favourite-access,.dapper-hub .favourite-save{color:#75284f;background:#ffe0ef;border-color:#e785b4}.woolies-hub .favourite-access,.woolies-hub .favourite-save{color:#285c38;background:#e8f1d4;border-color:#93b66c}.storm-hub .favourite-access,.storm-hub .favourite-save{color:#273f71;background:#e3e9f7;border-color:#9bafd3}@media(max-width:520px){.favourite-filters{gap:6px}.favourite-filters button{padding:8px 10px}.favourite-item{padding:11px;grid-template-columns:30px minmax(0,1fr) 36px;gap:8px}.favourite-item b{overflow-wrap:anywhere}.favourite-type{width:30px;height:30px}.favourite-card-button{min-width:34px;min-height:34px}.favourite-drawer{max-height:85dvh}}
.player-profile-heading>.favourite-profile-button{width:24px;height:24px;min-width:24px;min-height:24px;border-radius:7px;bottom:6px;right:45px}.favourite-profile-button svg{width:14px;height:14px}

/* Reset native button padding so the compact bookmark stays centred. */
.favourite-save{padding:0;box-sizing:border-box;line-height:1}.favourite-save svg{display:block;margin:0;flex:none}

/* Keep every game bookmark anchored to its own card, including upcoming games. */
.game-score-banner:has(>.favourite-game-button),#main>.game-card:has(>.favourite-game-button){position:relative;padding-bottom:56px}
.game-score-banner>.favourite-game-button,#main>.game-card>.favourite-game-button{bottom:12px;right:14px;left:auto;top:auto;width:30px;height:30px;min-width:30px;min-height:30px}
.game-score-banner:has(>.hub-feature-share)>.favourite-game-button,#main>.game-card:has(>.hub-feature-share)>.favourite-game-button{right:56px}
/* Bookmark and share form one aligned pair without changing profile-card height. */
.player-profile-heading>.favourite-profile-button{bottom:4px;right:42px;width:24px;height:24px;min-width:24px;min-height:24px}
.home-next-game>.favourite-game-button,.home-last-game>.favourite-game-button{bottom:12px;right:56px;left:auto;top:auto;width:30px;height:30px;min-width:30px;min-height:30px}
.home-next-game>.hub-feature-share,.home-last-game>.hub-feature-share{bottom:12px;right:18px;width:30px;height:30px;min-width:30px;min-height:30px;box-sizing:border-box;padding:0}
.home-next-game .actions,.home-last-game .actions{padding-right:82px;flex-wrap:wrap}
.home-next-game .game-details-button,.home-last-game .game-details-button{margin-right:0}
.favourite-team-wrap>.favourite-card-button{right:12px;bottom:12px}

.home-next-game .actions,.home-last-game .actions{display:flex;align-items:center;padding-right:0;gap:8px}
.home-next-game .actions>.game-details-button,.home-last-game .actions>.game-details-button{margin-right:auto}
.home-next-game .actions>.favourite-game-button,.home-last-game .actions>.favourite-game-button,.home-next-game .actions>.hub-feature-share,.home-last-game .actions>.hub-feature-share{position:static;inset:auto;transform:none;flex:none;width:30px;height:30px;min-width:30px;min-height:30px;box-sizing:border-box;margin:0;padding:0}

.home-next-game .favourite-home-actions,.home-last-game .favourite-home-actions{margin:10px 0 0}
.home-next-game .favourite-home-actions>.game-details-button,.home-last-game .favourite-home-actions>.game-details-button{margin-top:0;margin-bottom:0}

/* Team-directory bookmarks share the title row, clear of records and season form. */
.favourite-team-wrap>.favourite-card-button{top:12px;right:12px;bottom:auto;left:auto}
.favourite-team-wrap .enemy-card h2{box-sizing:border-box;min-height:32px;padding-right:40px}
.favourite-team-wrap .enemy-card .arrow{margin-right:0}
