.idc-contest-bookmark [hidden], .idc-saved-empty[hidden], .idc-save-feedback[hidden], .idc-save-load-error[hidden], [data-saved-count][hidden], .idc-saved-menu-toggle[hidden] { display: none !important; }
.idc-contest-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.3rem; margin-top: auto; padding-top: .7rem; }
.idc-contest-bookmark { display: inline-block; margin: .5rem 0; }
.idc-contest-bookmark form { margin: 0; }
.idc-contest-bookmark .idc-contest-save { display: inline-flex; gap: .45rem; align-items: center; justify-content: center; min-height: 44px; padding: .55rem .85rem; border: 1px solid #b76d80; border-radius: 9px; background: #fff; color: #80243e; font: 600 .875rem/1.4 var(--global-body-font-family, sans-serif); text-decoration: none; box-shadow: none; cursor: pointer; }
.idc-contest-bookmark .idc-contest-save:hover { background: #f8eff2; color: #672038; }
.idc-contest-bookmark .idc-contest-save.is-saved { background: #80243e; color: #fff; border-color: #80243e; }
.idc-contest-save:focus-visible, .idc-saved-browse:focus-visible { outline: 3px solid #80243e; outline-offset: 3px; }
.idc-contest-save:disabled { opacity: .65; cursor: wait; }
.idc-contest-bookmark .dashicons { font-size: 18px; width: 18px; height: 18px; line-height: 1; }
.idc-contest-bookmark .idc-contest-save > span { margin: 0; padding: 0; font-size: inherit; color: inherit; }
.idc-saved-contests-link { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .4rem; color: #80243e; font-weight: 600; margin: .5rem 0; text-decoration: none; }
.idc-dashboard-nav [data-saved-count] { display: inline-block; margin-left: .25em; font-size: .8em; white-space: nowrap; }
.idc-dashboard-shell--saved-contests { max-width: 1440px; margin: auto; }
.idc-dashboard-shell--saved-contests:not(:has(.idc-dashboard-sidebar)) { grid-template-columns: minmax(0,1fr); }
.idc-dashboard-shell .idc-saved-main { min-width: 0; display: block; }
.idc-saved-heading { padding-bottom: 1.5rem; border-bottom: 1px solid #eedde2; margin-bottom: 1.5rem; }
.idc-saved-heading h1 { font-family: var(--idc-font-display, Georgia, serif); font-size: clamp(2rem,4vw,3.6rem); line-height: 1.1; margin: .5rem 0 1rem; }
.idc-saved-menu-toggle { display: none; }
.idc-saved-browse { color: #80243e; font-weight: 600; text-decoration: none; }
.idc-saved-list { display: grid; gap: 1rem; }
.idc-saved-card { padding: clamp(1.1rem,3vw,2rem); border: 1px solid #eedde2; border-radius: 16px; background: #fff; }
.idc-saved-card h2 { margin: 0 0 .8rem; font: 600 clamp(1.35rem,2vw,1.8rem)/1.3 var(--idc-font-display,Georgia,serif); overflow-wrap: anywhere; }
.idc-saved-card h2 a { color: #20232b; text-decoration: none; }
.idc-saved-card p { color: #5c616c; line-height: 1.65; margin: .8rem 0; }
.idc-saved-card.is-unavailable { background: #faf9f9; }
.idc-saved-empty { padding: clamp(1.5rem,4vw,3rem); border: 1px dashed #d7acb7; background: #fcf8f9; border-radius: 16px; text-align: center; }
.idc-saved-empty > .dashicons { color: #80243e; font-size: 36px; width: 36px; height: 36px; }
.idc-saved-empty h2 { margin: 1rem 0; font-size: 1.5rem; }
.idc-saved-empty p { max-width: 38rem; margin: 0 auto 1.5rem; }
.idc-saved-pagination { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.idc-saved-pagination .page-numbers { padding: .65rem .9rem; background: #f8eff2; color: #702139; border-radius: 8px; }
.idc-saved-pagination .current { background: #80243e; color: #fff; }
.idc-save-feedback { position: fixed; z-index: 100000; right: 1rem; top: 6.5rem; max-width: min(28rem,calc(100vw - 2rem)); padding: .9rem 1.2rem; border-radius: 10px; background: #702139; color: #fff; box-shadow: 0 8px 30px #0003; font: 500 .95rem/1.5 var(--global-body-font-family,sans-serif); }
.idc-save-feedback.is-error { background: #862a25; }
.idc-saved-card .idc-contest-save.is-saved { background: transparent; border-color: #d8cbd0; color: #65424e; }
.idc-saved-card .idc-contest-save.is-saved:hover { background: #f8eff2; border-color: #80243e; }
.idc-saved-open { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 44px; padding: .6rem 1rem; border-radius: 9px; background: #80243e; color: #fff; font-size: .9rem; font-weight: 600; text-decoration: none; }
.idc-saved-open:hover { background: #672038; color: #fff; }
.idc-save-load-error { position: fixed; z-index: 100001; bottom: 1rem; right: 1rem; max-width: min(30rem,calc(100vw - 2rem)); padding: 1rem; border: 1px solid #c79a58; border-radius: 10px; background: #fff6e7; color: #553813; box-shadow: 0 8px 30px #0002; }
.idc-save-feedback button, .idc-save-load-error button { min-height: 44px; margin: .25rem 0 0; padding: .4rem .65rem; border: 1px solid currentColor; border-radius: 6px; background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.idc-saved-open:focus-visible, .idc-saved-menu-toggle:focus-visible, [data-saved-retry]:focus-visible, [data-save-undo]:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.idc-saved-error { padding: 1.5rem; border: 1px solid #c79a58; background: #fff6e7; border-radius: 12px; }
.dashicons-bookmark::before { content: ''; display: inline-block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4-6 4V3Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4-6 4V3Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.idc-contest-bookmark .idc-contest-save .dashicons-bookmark { font-size: 18px; }
.idc-contest-save.is-saved .dashicons-bookmark::before, .idc-saved-nav-link.is-active .dashicons-bookmark::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4-6 4V3Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4-6 4V3Z'/%3E%3C/svg%3E"); }
@media (max-width: 1024px) {
	.idc-dashboard-shell--saved-contests .idc-dashboard-sidebar, .admin-bar .idc-dashboard-shell--saved-contests .idc-dashboard-sidebar { top: auto; }
	.idc-dashboard-shell--saved-contests .has-menu-toggle .idc-saved-menu-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: .55rem .9rem; border: 1px solid #dfcbd2; border-radius: 9px; background: #fff; color: #702139; font: inherit; font-weight: 600; }
	.idc-dashboard-shell--saved-contests .has-menu-toggle:not(.is-menu-open) .idc-dashboard-nav { display: none; }
	.idc-dashboard-shell--saved-contests .has-menu-toggle { gap: .6rem; }
	.idc-dashboard-shell--saved-contests .idc-dashboard-tip { display: none; }
	.idc-saved-heading { padding-bottom: 1rem; margin-bottom: 1rem; }
	.idc-saved-heading h1 { margin-top: 0; margin-bottom: .6rem; }
	.idc-saved-heading p { margin-bottom: .6rem; }
}
