.afterpoddy-notes-trigger,
.afterpoddy-notes-mine,
.afterpoddy-sticky-player__note,
.afterpoddy-notes-form__save,
.afterpoddy-notes-card__actions button,
.afterpoddy-notes-card__actions a,
.afterpoddy-notes__filters button,
.afterpoddy-notes__filters a,
.ap-notes-overlay button,
.ap-notes-overlay a {
	min-height: 44px;
	min-width: 44px;
}

.afterpoddy-notes-trigger,
.afterpoddy-notes-mine {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0 14px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #f6f6f6;
	font: inherit;
	cursor: pointer;
}

.afterpoddy-notes-trigger svg,
.afterpoddy-sticky-player__note svg {
	width: 18px;
	height: 18px;
}

.afterpoddy-sticky-player__note {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	color: #f6f6f6;
	background: transparent;
	border: 0;
	padding: 0 8px !important;
	font-size: var(--ap-meta-size, 12px);
	font-weight: 650;
	white-space: nowrap;
}

@media (min-width: 1181px) {
	.afterpoddy-sticky-player__note {
		display: none;
	}
}

.afterpoddy-notes {
	max-width: 760px;
	margin: 0 auto;
	padding: 24px 20px 128px;
	color: #f6f6f6;
}

.afterpoddy-notes__header p,
.afterpoddy-notes__count,
.afterpoddy-notes-card__source,
.afterpoddy-notes-card__meta {
	color: #aaaead;
}

.afterpoddy-notes__filters {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	align-items: end;
}

.afterpoddy-notes__filters label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: var(--ap-text-sm, 13px);
}

.afterpoddy-notes__filters input,
.afterpoddy-notes__filters select,
.ap-notes-form input,
.ap-notes-form textarea {
	width: 100%;
	min-height: 44px;
	box-sizing: border-box;
	border: 0;
	border-bottom: 1px solid #404040;
	border-radius: 0;
	background: transparent;
	color: #f6f6f6;
	padding: 10px 0;
	font: inherit;
	font-size: var(--ap-text-md, 15px);
}

.ap-notes-form input:focus,
.ap-notes-form textarea:focus {
	outline: none;
	border-bottom-color: #f6f6f6;
}

.ap-notes-form textarea {
	min-height: 112px;
	resize: vertical;
}

.afterpoddy-notes__filters button,
.afterpoddy-notes__reset,
.afterpoddy-notes-card__actions button,
.afterpoddy-notes-card__actions a,
.ap-notes-form__save {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	padding: 0 16px;
	text-decoration: none;
}

.afterpoddy-notes__filters button,
.ap-notes-form__save {
	border: 0;
	background: #1ed760;
	color: #08140c;
	font: inherit;
	cursor: pointer;
}

.afterpoddy-notes-card {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 12px;
	padding: 16px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.afterpoddy-notes-card__art {
	width: 64px;
	height: 64px;
	object-fit: cover;
	background: #e7b39b;
}

.afterpoddy-notes-card__art--empty {
	display: grid;
	place-items: center;
	color: #121212;
	font-weight: 700;
}

.afterpoddy-notes-card h2,
.afterpoddy-notes-card h3 {
	margin: 0 0 6px;
	font-size: var(--ap-text-lg, 16px);
}

.afterpoddy-notes-card h3 button {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.afterpoddy-notes-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.afterpoddy-notes-card__tags li {
	padding: 4px 8px;
	border-radius: 999px;
	background: #1c1c1c;
}

.afterpoddy-notes-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.afterpoddy-notes-card__actions button,
.afterpoddy-notes-card__actions a {
	border: 0;
	background: transparent;
	color: #f6f6f6;
	font: inherit;
	cursor: pointer;
}

.afterpoddy-notes-card__actions .ap-danger,
.afterpoddy-notes-detail__tools .ap-danger {
	color: var(--ap-danger, #ff4d4d);
}

.afterpoddy-notes__pager {
	display: flex;
	gap: 16px;
	margin-top: 16px;
}

.afterpoddy-notes mark,
.ap-notes-overlay mark {
	background: transparent;
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
}

.afterpoddy-notes-live {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.ap-notes-overlay {
	position: fixed;
	inset: 0;
	z-index: 100120;
}

.ap-notes-overlay:not([hidden]) {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.ap-notes-overlay[hidden] {
	display: none !important;
}

.ap-notes-overlay__backdrop {
	position: absolute;
	inset: 0;
	border: 0 !important;
	border-radius: 0 !important;
	background: rgba(0, 0, 0, 0.65) !important;
	color: transparent;
	cursor: pointer;
}

.ap-notes-overlay__panel {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-height: min(92dvh, calc(100svh - 12px));
	margin: 0;
	background: #121212;
	color: #f6f6f6;
	border-radius: 16px 16px 0 0;
	overflow: hidden;
	box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.55);
	animation: ap-notes-sheet-in 220ms ease;
}

.ap-notes-overlay__bar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	min-height: 52px;
	padding: 10px 48px 6px;
}

.ap-notes-overlay__grab {
	position: absolute;
	top: 8px;
	left: 50%;
	width: 36px;
	height: 4px;
	border-radius: 4px;
	background: #535353;
	transform: translateX(-50%);
}

.ap-notes-overlay__footer {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	flex-shrink: 0;
	padding: 8px 16px calc(16px + env(safe-area-inset-bottom, 0px));
	background: #121212;
	border-top: 0;
}

.ap-notes-overlay__body {
	overflow: auto;
	padding: 0 20px 12px;
	-webkit-overflow-scrolling: touch;
}

.ap-notes-form label[hidden] {
	display: none !important;
}

.ap-notes-overlay__bar h2 {
	margin: 0;
	font-family: "Inclusive Sans", "Be Vietnam Pro", system-ui, sans-serif;
	font-size: var(--ap-text-lg, 16px);
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
}

.ap-notes-overlay__close {
	position: absolute;
	top: 4px;
	right: 4px;
}

.ap-notes-overlay button,
.ap-notes-overlay a {
	box-shadow: none !important;
}

.ap-notes-overlay .ap-notes-form__link,
.ap-notes-overlay .ap-notes-overlay__footer button:not(.ap-notes-form__save) {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 4px;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #b3b3b3 !important;
	font-size: var(--ap-text-sm, 13px);
	font-weight: 600;
	cursor: pointer;
}

.ap-notes-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 16px 0 0;
}

.ap-notes-form label > span {
	color: #b3b3b3;
	font-size: var(--ap-text-xs, 11px);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ap-notes-form__source,
.ap-notes-form__private,
.ap-notes-form__time,
.ap-notes-form__limits {
	margin: 0 0 8px;
	color: #b3b3b3;
	font-size: var(--ap-text-sm, 13px);
	line-height: 1.45;
}

.ap-notes-form__private {
	margin-bottom: 16px;
}

.ap-notes-form__helpers {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 4px 0 8px;
}

.ap-notes-overlay .ap-notes-form__save {
	width: 100%;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: 100px !important;
	background: #1ed760 !important;
	color: #0d2114 !important;
	font-size: var(--ap-text-sm, 13px) !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

.ap-notes-overlay .ap-notes-form__save:disabled {
	opacity: 0.45;
}

.ap-notes-form__error {
	color: #ffb4b4;
}

.ap-notes-view {
	white-space: pre-wrap;
}

.ap-notes-sort {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

html.ap-notes-open,
html.ap-overlay-open {
	overflow: hidden;
}

html.ap-notes-open .ap-tabbar,
html.ap-notes-open .aph-bottom-nav,
html.ap-overlay-open .ap-tabbar,
html.ap-overlay-open .aph-bottom-nav {
	display: none !important;
}

@media (max-width: 699px) {
	.ap-notes-overlay__panel {
		margin-bottom: var(--ap-keyboard-inset, 0px);
	}
}

@media (min-width: 700px) and (max-width: 980px) {
	.ap-notes-overlay:not([hidden]) {
		align-items: center;
	}

	.ap-notes-overlay__panel {
		width: min(560px, calc(100% - 32px));
		margin-bottom: calc(var(--ap-tabbar-h, 56px) + 12px + var(--ap-keyboard-inset, 0px));
		border-radius: 16px;
	}
}

@media (min-width: 981px) {
	.ap-notes-overlay:not([hidden]) {
		justify-content: center;
		align-items: center;
		padding: 24px;
	}

	.ap-notes-overlay__panel {
		width: min(480px, 100%);
		max-height: min(88dvh, 720px);
		border-radius: 16px;
	}
}

@keyframes ap-notes-sheet-in {
	from {
		transform: translateY(18px);
		opacity: 0.55;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ap-notes-overlay__panel {
		animation: none;
	}
}

.afterpoddy-notes-trigger:focus-visible,
.afterpoddy-notes-mine:focus-visible,
.afterpoddy-sticky-player__note:focus-visible,
.ap-notes-overlay button:focus-visible,
.ap-notes-overlay a:focus-visible,
.afterpoddy-notes button:focus-visible,
.afterpoddy-notes a:focus-visible,
.afterpoddy-notes input:focus-visible,
.afterpoddy-notes select:focus-visible,
.afterpoddy-notes textarea:focus-visible {
	outline: 2px solid #b7f8cf;
	outline-offset: 3px;
}

.afterpoddy-notes .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
.afterpoddy-notes--library {
	width: 100%;
	max-width: 100%;
	padding-bottom: 128px;
	overflow-x: clip;
}

.afterpoddy-notes__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.afterpoddy-notes__header h1 {
	margin: 0;
	color: #f4f5f4;
	font-size: var(--ap-heading-page, 22px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.04em;
}

.afterpoddy-notes__header p {
	margin: 4px 0 0;
	color: #b3b3b3;
	font-size: var(--ap-text-sm, 13px);
}

.afterpoddy-notes__new {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 20px;
	border: 0;
	border-radius: 999px;
	background: #7c5cfc;
	color: #fff;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.afterpoddy-notes__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: end;
	position: sticky;
	top: 0;
	z-index: 2;
	margin: 0 0 12px;
	padding: 8px 0;
	background: #121212;
}

.afterpoddy-notes__filters label {
	min-width: 140px;
	font-size: var(--ap-text-xs, 11px);
}

.afterpoddy-notes__filters input,
.afterpoddy-notes__filters select,
.afterpoddy-notes__meta select {
	min-height: 44px;
	padding: 10px 14px;
	box-sizing: border-box;
	border: 1px solid #2a2a2a;
	border-radius: 12px;
	background: #1c1c1c;
	color: #f6f6f6;
	font: inherit;
	font-size: var(--ap-text-md, 15px);
}

.afterpoddy-notes__filters input::placeholder {
	color: #888;
	opacity: 1;
}

.afterpoddy-notes__chips {
	display: none;
}

.afterpoddy-notes__workspace {
	display: block;
}

.afterpoddy-notes__library,
.afterpoddy-notes__workspace > .afterpoddy-notes-detail {
	min-width: 0;
}

.afterpoddy-notes--library.is-detail-open .afterpoddy-notes__workspace {
	display: grid;
	grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
	gap: 16px;
	align-items: start;
}

.afterpoddy-notes__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.afterpoddy-notes__count {
	margin: 0;
}

.afterpoddy-notes__views {
	margin-left: auto;
	display: flex;
	gap: 8px;
}

.afterpoddy-notes__views[hidden] {
	display: none !important;
}

.afterpoddy-notes__views button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	color: #f6f6f6;
	font: inherit;
	cursor: pointer;
	box-shadow: none;
}

.afterpoddy-notes__views button[aria-pressed="true"] {
	background: #7c5cfc;
	color: #fff;
}

.afterpoddy-notes__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.afterpoddy-notes__list.is-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 12px;
}

.afterpoddy-notes--library.is-detail-open .afterpoddy-notes__list.is-grid {
	grid-template-columns: 1fr;
}

.afterpoddy-notes__list.is-grid .afterpoddy-notes-card {
	grid-template-columns: 72px minmax(0, 1fr);
	grid-template-rows: auto auto;
	align-items: start;
}

.afterpoddy-notes__list.is-grid .afterpoddy-notes-card__rail {
	grid-column: 1 / -1;
	justify-content: flex-end;
}

.afterpoddy-notes__list.is-grid .afterpoddy-notes-card h2 {
	white-space: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.afterpoddy-notes-card {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	margin: 0;
	padding: 12px;
	border: 1px solid transparent;
	border-radius: 16px;
	background: #1a1a1a;
	cursor: pointer;
}

.afterpoddy-notes-card.is-selected {
	border-color: #a78bfa;
	background: #241b33;
}

.afterpoddy-notes-card.is-playing {
	box-shadow: inset 0 0 0 1px #7c5cfc;
}

.afterpoddy-notes-card__art,
.afterpoddy-notes-card__art--empty {
	width: 72px;
	height: 72px;
	border-radius: 8px;
	object-fit: cover;
	object-position: center;
	flex-shrink: 0;
}

.afterpoddy-notes-card h2,
.afterpoddy-notes-card__preview,
.afterpoddy-notes-card__source,
.afterpoddy-notes-card__meta {
	margin: 0;
}

.afterpoddy-notes-card h2 {
	font-size: var(--ap-row-title-size, 13px);
	font-weight: var(--ap-row-title-weight, 500);
}

.afterpoddy-notes-card__preview,
.afterpoddy-notes-card__source,
.afterpoddy-notes-card__meta {
	color: #b3b3b3;
	font-size: var(--ap-text-sm, 13px);
}

.afterpoddy-notes-card__source,
.afterpoddy-notes-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.afterpoddy-notes-card__source span {
	display: block;
	width: 100%;
}

.afterpoddy-notes-card__preview {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}

.afterpoddy-notes-card h2 {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.afterpoddy-notes-card__rail {
	display: flex;
	align-items: center;
	gap: 8px;
}

.afterpoddy-notes-card__play,
.afterpoddy-notes-detail__play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: #7c5cfc;
	color: #fff;
	cursor: pointer;
}

.afterpoddy-notes-card__play .fa-pause,
.afterpoddy-notes-detail__play .fa-pause,
.afterpoddy-notes-card__play[aria-pressed="true"] .fa-play,
.afterpoddy-notes-detail__play[aria-pressed="true"] .fa-play {
	display: none;
}

.afterpoddy-notes-card__play[aria-pressed="true"] .fa-pause,
.afterpoddy-notes-detail__play[aria-pressed="true"] .fa-pause {
	display: inline-block;
}

.afterpoddy-notes-card__menu {
	position: relative;
}

.afterpoddy-notes-card__menu > button {
	width: 36px;
	min-width: 36px;
	border: 0;
	background: transparent;
	color: #f6f6f6;
	cursor: pointer;
}

.afterpoddy-notes-card__menu-panel {
	position: absolute;
	right: 0;
	z-index: 3;
	display: grid;
	min-width: 160px;
	padding: 6px;
	border-radius: 12px;
	background: #2a2a2a;
}

.afterpoddy-notes-card__menu-panel[hidden] {
	display: none;
}

.afterpoddy-notes-card__menu-panel button,
.afterpoddy-notes-card__menu-panel a {
	justify-content: flex-start;
	min-width: 0;
	padding: 8px 10px;
	border: 0;
	background: transparent;
	color: #f6f6f6;
	text-align: left;
	text-decoration: none;
}

.afterpoddy-notes-detail[hidden] {
	display: none;
}

.afterpoddy-notes--library.is-detail-open .afterpoddy-notes-detail {
	display: block;
	position: sticky;
	top: 72px;
}

.afterpoddy-notes-detail__panel {
	padding: 16px;
	border: 1px solid #2a2a2a;
	border-radius: 18px;
	background: #161616;
}

.afterpoddy-notes-detail__back {
	display: none;
	margin-bottom: 12px;
}

.afterpoddy-notes-detail__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.afterpoddy-notes-detail__head .afterpoddy-notes-detail__tools {
	margin-left: auto;
}

.afterpoddy-notes-detail__head img {
	width: 72px;
	height: 72px;
	border-radius: 8px;
	object-fit: cover;
}

.afterpoddy-notes-detail__eyebrow {
	margin: 0;
	color: #c4b5fd;
	font-size: var(--ap-text-xs, 11px);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.afterpoddy-notes-detail__head h2 {
	margin: 2px 0;
	font-size: var(--ap-heading-page, 24px);
}

.afterpoddy-notes-detail__tools {
	display: flex;
	gap: 8px;
	align-items: center;
}

.afterpoddy-notes-detail__tools button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #f6f6f6;
	font: inherit;
	cursor: pointer;
	box-shadow: none;
}

.afterpoddy-notes-detail__tools button .fa,
.afterpoddy-notes-detail__tools button .fas {
	font-size: 16px;
}

.afterpoddy-notes-detail__player {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 8px 12px;
	align-items: center;
	margin-top: 16px;
	padding: 12px;
	border-radius: 14px;
	background: #242424;
}

.afterpoddy-notes-detail__play {
	width: auto;
	min-width: 44px;
	padding: 0 14px 0 8px;
	border-radius: 999px;
}

.afterpoddy-notes-detail__times,
.afterpoddy-notes-detail__status,
.afterpoddy-notes-detail__chips {
	margin: 0;
	color: #b3b3b3;
	font-size: var(--ap-text-sm, 13px);
}

.afterpoddy-notes-detail__player input[type="range"] {
	grid-column: 1 / -1;
	width: 100%;
}

.afterpoddy-notes-detail__transport {
	display: flex;
	align-items: center;
	gap: 8px;
}

.afterpoddy-notes-detail__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
	margin-bottom: 16px;
}

.afterpoddy-notes-detail__chips span,
.afterpoddy-notes-detail__body,
.afterpoddy-notes-detail__transcript {
	border: 1px solid #2e2e2e;
	border-radius: 12px;
	background: #111;
}

.afterpoddy-notes-detail__chips span {
	padding: 6px 10px;
}

.afterpoddy-notes-detail__body,
.afterpoddy-notes-detail__transcript {
	margin: 8px 0 0;
	padding: 12px;
}

.afterpoddy-notes-detail__transcript {
	border-style: dashed;
	color: #b3b3b3;
	text-align: center;
}

.afterpoddy-notes-detail__transcript-head,
.afterpoddy-notes-detail__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 16px;
}

.afterpoddy-notes-detail__transcript-head h3,
.afterpoddy-notes-detail h3 {
	margin: 0;
	font-size: var(--ap-text-base, 14px);
}

.afterpoddy-notes-detail__transcript-head span {
	padding: 4px 8px;
	border-radius: 999px;
	background: #3b0764;
	color: #ddd6fe;
	font-size: var(--ap-text-xs, 11px);
}

.afterpoddy-notes-detail__footer a,
.afterpoddy-notes-detail__footer button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: #2a2a2a;
	color: #f6f6f6;
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
}

.afterpoddy-notes-detail__footer a {
	background: #7c5cfc;
}

.ap-notes-overlay [data-notes-filter],
.ap-notes-overlay [data-notes-filter] label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.ap-notes-overlay [data-notes-filter] input,
.ap-notes-overlay [data-notes-filter] select {
	width: 100%;
	min-height: 44px;
	border: 1px solid #2a2a2a;
	border-radius: 12px;
	background: #1c1c1c;
	color: #f6f6f6;
	font: inherit;
	font-size: 16px;
}

.afterpoddy-notes__notice {
	flex: 1 0 100%;
	margin: 8px 0 0;
	color: #f6f6f6;
	font-size: var(--ap-text-sm, 13px);
}

.afterpoddy-notes__count--inline {
	display: none;
}

@media (max-width: 1023px) {
	.afterpoddy-notes__filters {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	.afterpoddy-notes__search {
		flex: 1 1 100%;
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}

	.afterpoddy-notes__search input {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.afterpoddy-notes__chips {
		display: flex;
		flex: 1 1 100%;
		flex-wrap: nowrap;
		gap: 10px;
		min-width: 0;
		max-width: 100%;
		width: 100%;
		margin-top: 4px;
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 0;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.afterpoddy-notes__chips::-webkit-scrollbar {
		display: none;
		width: 0;
		height: 0;
	}

	.afterpoddy-notes__views {
		display: none;
	}

	.afterpoddy-notes__chips button {
		flex: 0 0 auto;
		min-height: 44px;
		padding: 0 14px;
		border: 1px solid #2a2a2a;
		border-radius: 999px;
		background: #1c1c1c;
		color: #f6f6f6;
		font-size: var(--ap-tab-size, 11px);
		font-weight: var(--ap-tab-weight, 600);
		cursor: pointer;
	}

	.afterpoddy-notes__chips button.is-active {
		border-color: #7c5cfc;
		background: #2a2150;
		color: #d7ccff;
	}

	.afterpoddy-notes__filters > [data-notes-filter],
	.afterpoddy-notes__meta > [data-notes-filter="order"] {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.afterpoddy-notes-card__menu > button,
	.afterpoddy-notes__views button,
	.afterpoddy-notes__new {
		min-width: 44px;
		min-height: 44px;
	}
}

@media (max-width: 599px) {
	.afterpoddy-notes__description {
		display: none;
	}

	.afterpoddy-notes__header {
		align-items: center;
	}

	.afterpoddy-notes__count--inline {
		display: block;
		margin: 2px 0 0;
	}

	.afterpoddy-notes__meta > [data-notes-count] {
		display: none;
	}

	.afterpoddy-notes__search,
	.afterpoddy-notes__search input {
		width: 100%;
		min-width: 0;
	}

	.afterpoddy-notes__search {
		font-size: 0;
	}

	.afterpoddy-notes__search input {
		font-size: 16px;
	}

	.afterpoddy-notes--library.is-detail-open .afterpoddy-notes__workspace {
		display: block;
	}

	.afterpoddy-notes--library.is-detail-open .afterpoddy-notes__library {
		display: none;
	}

	.afterpoddy-notes--library.is-detail-open .afterpoddy-notes-detail {
		position: fixed;
		inset: 0;
		z-index: 30;
		overflow: auto;
		padding: calc(16px + env(safe-area-inset-top)) 16px calc(var(--ap-tabbar-h, 56px) + var(--ap-player-mini-h, 68px) + 16px + env(safe-area-inset-bottom));
		background: #121212;
	}

	.afterpoddy-notes-detail__back {
		display: inline-flex;
	}
}

@media (min-width: 600px) and (max-width: 1023px) and (orientation: portrait) {
	.afterpoddy-notes--library.is-detail-open .afterpoddy-notes__workspace {
		display: block;
	}

	.afterpoddy-notes--library.is-detail-open .afterpoddy-notes__library {
		display: none;
	}

	.afterpoddy-notes--library.is-detail-open .afterpoddy-notes-detail {
		position: static;
		width: 100%;
	}

	.afterpoddy-notes-detail__back {
		display: inline-flex;
	}
}

@media (min-width: 600px) and (max-width: 1023px) and (orientation: landscape) {
	.afterpoddy-notes--library.is-detail-open .afterpoddy-notes__workspace {
		grid-template-columns: minmax(min(240px, 38%), 0.38fr) minmax(0, 0.62fr);
	}

	.afterpoddy-notes--library.is-detail-open .afterpoddy-notes__library {
		display: block;
	}

	.afterpoddy-notes-detail__back {
		display: none;
	}
}

.afterpoddy-notes-skeleton {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) 44px;
	gap: 12px;
	align-items: center;
	margin: 0;
	padding: 12px;
	border-radius: 16px;
	background: #1a1a1a;
	pointer-events: none;
}

.afterpoddy-notes-skeleton__art,
.afterpoddy-notes-skeleton__line,
.afterpoddy-notes-skeleton__circle {
	display: block;
	background: #1c1c1c;
	background-image: linear-gradient(90deg, #1c1c1c 0%, #303030 50%, #1c1c1c 100%);
	background-size: 200% 100%;
	animation: afterpoddy-skeleton 1.2s ease-in-out infinite;
	animation-delay: var(--ap-skeleton-delay, 0s);
}

.afterpoddy-notes-skeleton__art,
.afterpoddy-notes-skeleton__circle {
	width: 44px;
	height: 44px;
	border-radius: 50%;
}

.afterpoddy-notes-skeleton__art {
	width: 72px;
	height: 72px;
	border-radius: 8px;
}

.afterpoddy-notes-skeleton__copy {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.afterpoddy-notes-skeleton__line {
	height: 12px;
	border-radius: 100px;
}

.afterpoddy-notes-skeleton__line--title {
	width: 70%;
	height: 14px;
}

.afterpoddy-notes-skeleton__line--preview {
	width: 88%;
}

.afterpoddy-notes-skeleton__line--source {
	width: 46%;
}

.afterpoddy-notes-skeleton__line--meta {
	width: 34%;
}

.afterpoddy-notes__list.is-grid .afterpoddy-notes-skeleton {
	grid-template-columns: 72px minmax(0, 1fr);
	align-items: start;
}

.afterpoddy-notes__list.is-grid .afterpoddy-notes-skeleton__circle {
	grid-column: 1 / -1;
	justify-self: end;
}

@media (prefers-reduced-motion: reduce) {
	.afterpoddy-notes-card,
	.afterpoddy-notes-detail,
	.afterpoddy-notes-skeleton__art,
	.afterpoddy-notes-skeleton__line,
	.afterpoddy-notes-skeleton__circle {
		transition: none;
		animation: none;
	}
}

