/* nuCynerGy portals. Tokens live on :root so .ncy-button works on stubs, blur overlays and Contribute. */
:root {
	--ncy-p-accent: var(--ncy-imperial-accent, #7b3fbf);
	--ncy-p-accent-text: var(--ncy-imperial-soft, #6a2fb0);
	--ncy-p-accent-bg: var(--ncy-imperial-bg, rgba(123, 63, 191, .08));
	--ncy-p-success: var(--ncy-emerald-accent, #011001);
	--ncy-p-success-bg: var(--ncy-success-bg, rgba(1, 16, 1, .35));
	--ncy-p-button: var(--ncy-emerald-strong, #011001);
	--ncy-p-button-hover: var(--ncy-emerald-hover, #0a1f0a);
	--ncy-p-gold: var(--ncy-gold, #d4af37);
	--ncy-p-gold-text: var(--ncy-gold-accent, #8a6d12);
	--ncy-p-luster: var(--ncy-gold-luster, #d4af37);
	--ncy-p-card: var(--ncy-surface-2, #fff);
	--ncy-p-sunken: var(--ncy-field, #fafafa);
	--ncy-p-field: var(--ncy-field, #fff);
	--ncy-p-text: var(--ncy-text, inherit);
	--ncy-p-border: var(--ncy-border, rgba(16, 1, 16, .12));
	--ncy-p-border-strong: var(--ncy-border-strong, rgba(16, 1, 16, .25));
	--ncy-p-muted: var(--ncy-text-muted, #6b6b78);
	--ncy-p-danger: var(--ncy-danger, #c0392b);
	--ncy-p-danger-bg: var(--ncy-danger-bg, #fdecea);
}
.ncy-portal {
	display: grid;
	gap: 1.25rem;
	color: var(--ncy-p-text);
}
.ncy-portal [hidden] { display: none !important; }

.ncy-portal h2, .ncy-portal h3 { margin: 0 0 .75rem; }
.ncy-welcome { font-size: 1.75rem; }
.ncy-lead { font-size: 1.1rem; }
.ncy-muted { color: var(--ncy-p-muted); font-size: .92em; }
.ncy-portal a:not(.ncy-button) { color: var(--ncy-p-link, var(--accent, #1e73be)); }

.ncy-card {
	border: 1px solid var(--ncy-p-border);
	border-top: 3px solid var(--ncy-p-accent);
	border-radius: 10px;
	padding: 1.25rem 1.5rem;
	background: var(--ncy-p-card);
	min-width: 0;
}
.ncy-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.ncy-tier { font-size: 1.3rem; font-weight: 600; margin: 0 0 .5rem; }
.ncy-links { margin: 0; padding-left: 1.1rem; }
.ncy-code { overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }

/* Tier accents: the membership card follows the member's tier. */
.ncy-card--tier-emerald { border-top-color: var(--ncy-p-success); }
.ncy-card--tier-gold { border-top: 0; position: relative; overflow: hidden; }
.ncy-card--tier-gold::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--ncy-p-luster); }
.ncy-card--tier-diamond { border-top-color: var(--ncy-diamond, #a9b8c9); }
.ncy-tier--emerald { color: var(--ncy-p-gold); }
.ncy-tier--gold { color: var(--ncy-p-gold-text); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
	.ncy-tier--gold { background: var(--ncy-p-luster); -webkit-background-clip: text; background-clip: text; color: transparent; }
}

.ncy-button, .ncy-portal button[type="submit"] {
	display: inline-block;
	padding: .65rem 1.3rem;
	border: 1px solid var(--ncy-p-gold);
	border-radius: 6px;
	background: var(--ncy-p-button);
	color: #fbf5b7;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
}
.ncy-button:hover, .ncy-button:focus, .ncy-portal button[type="submit"]:hover, .ncy-portal button[type="submit"]:focus { background: var(--ncy-p-button-hover); color: #fbf5b7; }
.ncy-button:focus-visible, .ncy-portal button:focus-visible { outline: 2px solid var(--ncy-p-gold); outline-offset: 2px; }
.ncy-button--ghost, .ncy-portal button.ncy-button--ghost { background: transparent; color: var(--ncy-p-accent-text); border: 1px solid var(--ncy-p-accent); }
.ncy-button--ghost:hover, .ncy-button--ghost:focus, .ncy-portal button.ncy-button--ghost:hover { background: var(--ncy-p-accent-bg); color: var(--ncy-p-accent-text); }
.ncy-button--gold, .ncy-portal button.ncy-button--gold { background: var(--ncy-p-luster); color: #1a1206; box-shadow: var(--ncy-gold-luster-shadow, 0 4px 15px rgba(187, 143, 40, .4)); }
.ncy-button--gold:hover, .ncy-button--gold:focus { background: var(--ncy-p-luster); color: #1a1206; filter: brightness(1.08); }
.ncy-button-secondary {
	background: transparent;
	color: var(--ncy-p-accent-text);
	border: 1px solid var(--ncy-p-accent);
}
.ncy-button-secondary:hover, .ncy-button-secondary:focus {
	background: var(--ncy-p-accent-bg);
	color: var(--ncy-p-accent-text);
}

.ncy-stub .ncy-gate-form label { display: block; font-weight: 600; margin: 0 0 .85rem; }
.ncy-stub .ncy-gate-form input[type="text"],
.ncy-stub .ncy-gate-form textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin-top: .3rem;
	min-height: 2.5rem;
	padding: .5rem .75rem;
}
.ncy-stub .ncy-gate-form input:disabled,
.ncy-stub .ncy-gate-form textarea:disabled { opacity: .75; cursor: not-allowed; }
.ncy-stub-field {
	display: block;
	width: 100%;
	min-height: 2.5rem;
	margin-top: .3rem;
	border: 1px solid var(--ncy-p-border-strong);
	border-radius: 6px;
	background: var(--ncy-p-field);
	opacity: .75;
}
.ncy-stub-field--area { min-height: 6rem; }

.ncy-form { display: grid; gap: .9rem; position: relative; min-width: 0; }
.ncy-form input[type="text"], .ncy-form input[type="email"], .ncy-form input[type="password"], .ncy-form input[type="url"],
.ncy-form input[type="datetime-local"], .ncy-form input[type="number"], .ncy-form select, .ncy-form textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
.ncy-grid { display: grid; gap: .9rem 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.ncy-field { min-width: 0; }
.ncy-field label, .ncy-checks legend { display: block; font-weight: 600; margin-bottom: .3rem; }
.ncy-field input[type="text"], .ncy-field input[type="email"], .ncy-field input[type="password"], .ncy-field input[type="url"],
.ncy-field input[type="datetime-local"], .ncy-field input[type="number"], .ncy-field select, .ncy-field textarea,
.ncy-filters input, .ncy-filters select {
	width: 100%;
	padding: .55rem .7rem;
	border: 1px solid var(--ncy-p-border-strong);
	border-radius: 6px;
	background: var(--ncy-p-field);
	color: var(--ncy-p-text);
}
.ncy-portal input:focus, .ncy-portal select:focus, .ncy-portal textarea:focus { border-color: var(--ncy-p-success); outline: 2px solid var(--ncy-p-success-bg); outline-offset: 0; }
.ncy-portal input[type="checkbox"], .ncy-portal input[type="radio"] { accent-color: var(--ncy-p-success); }
.ncy-field--check label { font-weight: 400; }
.ncy-field.is-invalid input, .ncy-field.is-invalid select, .ncy-field.is-invalid textarea { border-color: var(--ncy-p-danger); }
.ncy-field--check.is-invalid label { color: var(--ncy-p-danger); }
.ncy-checks { border: 0; margin: 0; padding: 0; display: grid; gap: .25rem .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.ncy-checks legend { grid-column: 1 / -1; }
.ncy-checks label { font-weight: 400; }
.ncy-actions { margin: .25rem 0 0; }
.ncy-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ncy-notice { padding: .8rem 1rem; border-radius: 6px; border-left: 4px solid; }
.ncy-notice ul { margin: 0; padding-left: 1.1rem; }
.ncy-notice--success { background: var(--ncy-p-success-bg); border-color: var(--ncy-p-success); }
.ncy-notice--error { background: var(--ncy-p-danger-bg); border-color: var(--ncy-p-danger); }

.ncy-legal { max-height: 320px; overflow-y: auto; padding: 1rem; margin-bottom: 1rem; border: 1px solid var(--ncy-p-border); border-radius: 6px; background: var(--ncy-p-sunken); font-size: .95em; }

.ncy-table-wrap { overflow-x: auto; max-width: 100%; }
.ncy-portal .ncy-table,
.ncy-portal .ncy-cart-table {
	width: 100%;
	margin: 0 0 1rem;
	border: 0;
	border-collapse: collapse;
	background: transparent;
}
.ncy-portal .ncy-table th,
.ncy-portal .ncy-table td,
.ncy-portal .ncy-cart-table th,
.ncy-portal .ncy-cart-table td {
	border: 0;
	border-bottom: 1px solid var(--ncy-p-border);
	background: transparent;
	padding: .85rem 1.15rem .85rem 0;
	text-align: left;
	vertical-align: middle;
}
.ncy-portal .ncy-table th:last-child,
.ncy-portal .ncy-table td:last-child,
.ncy-portal .ncy-cart-table th:last-child,
.ncy-portal .ncy-cart-table td:last-child { padding-right: 0; }
.ncy-portal .ncy-table th,
.ncy-portal .ncy-cart-table th {
	font-size: .82rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--ncy-p-muted);
	font-weight: 600;
}

.ncy-vault__nav { display: flex; flex-wrap: wrap; gap: .5rem; }
.ncy-portal .ncy-vault__nav a { padding: .35rem .8rem; border: 1px solid var(--ncy-p-border-strong); border-radius: 999px; text-decoration: none; color: var(--ncy-p-text); }
.ncy-portal .ncy-vault__nav a:hover, .ncy-portal .ncy-vault__nav a:focus { border-color: var(--ncy-p-gold); color: var(--ncy-p-text); }
.ncy-files { margin: 0; padding-left: 1.1rem; }
.ncy-files li { margin: .35rem 0; }

.ncy-videos { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); max-width: 960px; }
.ncy-video { margin: 0; min-width: 0; }
.ncy-video__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--ncy-p-border); border-radius: 8px; background: #000; }
.ncy-video__frame--empty { background: #0b0b10; }
.ncy-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ncy-video figcaption { display: grid; gap: .15rem; margin-top: .55rem; }

.ncy-badge { display: inline-block; padding: .1rem .55rem; border-radius: 999px; background: var(--ncy-p-accent-bg); color: var(--ncy-p-accent-text); font-size: .8rem; font-weight: 600; margin: 0 0 .4rem; }
.ncy-badge--gold { background: var(--ncy-p-luster); color: #241a00; }

.ncy-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.ncy-filters input, .ncy-filters select { width: auto; }
.ncy-pager { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.ncy-pager a, .ncy-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .3rem .7rem; border: 1px solid var(--ncy-p-border); border-radius: 4px; text-decoration: none; }
.ncy-pager span[aria-current="page"] { background: var(--ncy-p-button); border-color: var(--ncy-p-gold); color: #fff; font-weight: 600; }

.ncy-details { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; }
.ncy-details dt { font-weight: 600; }
.ncy-details dd { margin: 0; overflow-wrap: anywhere; }

.ncy-calendar__head { display: flex; align-items: center; justify-content: space-between; }
.ncy-calendar__head a { font-size: 1.4rem; text-decoration: none; padding: 0 .5rem; }
.ncy-calendar__grid { width: 100%; table-layout: fixed; border-collapse: collapse; }
.ncy-calendar__grid th { padding: .4rem; font-size: .85rem; text-align: left; }
.ncy-calendar__grid td { height: 92px; vertical-align: top; padding: .3rem; border: 1px solid var(--ncy-p-border); }
.ncy-calendar__grid td.is-empty { background: var(--ncy-p-sunken); }
.ncy-calendar__grid td.is-today { outline: 2px solid var(--ncy-p-accent); outline-offset: -2px; }
.ncy-calendar__day { display: block; font-size: .8rem; color: var(--ncy-p-muted); }
.ncy-portal a.ncy-calendar__event { display: block; margin-top: .2rem; padding: .1rem .3rem; border-radius: 4px; background: var(--ncy-p-success-bg); color: var(--ncy-p-text); font-size: .78rem; line-height: 1.3; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ncy-portal a.ncy-calendar__event.is-sponsored { background: var(--ncy-p-luster); color: #241a00; font-weight: 600; }
.ncy-events-list { margin: 0; padding-left: 1.1rem; }
.ncy-events-list li { margin: .35rem 0; }
.ncy-events-list time { color: var(--ncy-p-muted); font-size: .9em; margin-right: .35rem; }

.ncy-leadform-wrap { max-width: 760px; }
.ncy-leadform .ncy-step { border: 1px solid var(--ncy-p-border); border-top: 3px solid var(--ncy-p-accent); border-radius: 10px; padding: 1.25rem 1.5rem; margin: 0; background: var(--ncy-p-card); display: grid; gap: 1rem; min-width: 0; }
.ncy-leadform .ncy-step > legend { float: left; width: 100%; margin: 0 0 .25rem; padding: 0; font-size: 1.25rem; font-weight: 700; }
.ncy-leadform .ncy-step > legend + * { clear: both; }
.ncy-leadform .ncy-step > legend:focus { outline: none; }
.ncy-step-count { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ncy-p-muted); }
.ncy-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.ncy-q > legend { display: block; font-weight: 600; margin-bottom: .4rem; padding: 0; }
/* Selection bubbles. The input stays in the label (focusable, clickable, works without JS); the span is the bubble. */
.ncy-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.ncy-option { position: relative; display: inline-flex; max-width: 100%; margin: 0; cursor: pointer; font-weight: 400; }
.ncy-option input { position: absolute; top: 50%; left: 1rem; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.ncy-option > span { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1.05rem .5rem .75rem; border: 1px solid var(--ncy-p-border-strong); border-radius: 999px; background: var(--ncy-p-field); line-height: 1.25; transition: background-color .15s, border-color .15s, color .15s; }
.ncy-option > span::before { content: ""; display: inline-grid; place-items: center; flex: none; width: 1.15rem; height: 1.15rem; border: 1.5px solid var(--ncy-p-border-strong); border-radius: 50%; font-size: .72rem; font-weight: 700; line-height: 1; }
.ncy-option:hover > span { border-color: var(--ncy-p-accent); }
.ncy-option input:focus-visible + span { outline: 2px solid var(--ncy-p-gold); outline-offset: 2px; }
.ncy-option input:checked + span { background: var(--ncy-p-button); border-color: var(--ncy-p-gold); color: #fff; font-weight: 600; }
.ncy-option input:checked + span::before { content: "\2713"; background: var(--ncy-p-gold); border-color: var(--ncy-p-gold); color: #1b1400; }
.ncy-option input:disabled + span { opacity: .5; cursor: not-allowed; }
.ncy-q.is-invalid .ncy-option > span { border-color: var(--ncy-p-danger); }
@media (forced-colors: active) {
	.ncy-option input:checked + span { outline: 3px solid Highlight; outline-offset: -3px; }
}
@media (prefers-reduced-motion: reduce) {
	.ncy-option > span { transition: none; }
}
.ncy-field-error { margin: .3rem 0 0; color: var(--ncy-p-danger); font-size: .9rem; }
.ncy-field-error:empty { display: none; }
.ncy-progress { display: none; }
.ncy-step-nav { display: flex; gap: .6rem; justify-content: flex-end; }

.ncy-leadform.is-enhanced .ncy-progress { display: flex; gap: .4rem; margin: 0; padding: 0; list-style: none; counter-reset: ncy-step; }
.ncy-leadform.is-enhanced .ncy-progress li { flex: 1; padding-top: .5rem; border-top: 4px solid var(--ncy-p-border-strong); font-size: .82rem; color: var(--ncy-p-muted); counter-increment: ncy-step; }
.ncy-leadform.is-enhanced .ncy-progress li::before { content: counter(ncy-step) ". "; }
.ncy-leadform.is-enhanced .ncy-progress li.is-done { border-color: var(--ncy-p-success); }
.ncy-leadform.is-enhanced .ncy-progress li.is-current { border-color: var(--ncy-p-gold); color: inherit; font-weight: 600; }
.ncy-leadform button[disabled] { opacity: .6; cursor: wait; }

/* Product catalog (display only). */
.ncy-shop-filter ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.ncy-shop-filter { margin-bottom: .75rem; }
.ncy-portal .ncy-shop-filter a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border: 1px solid var(--ncy-p-border-strong); border-radius: 999px; color: var(--ncy-p-text); text-decoration: none; }
.ncy-portal .ncy-shop-filter a:hover { border-color: var(--ncy-p-accent); }
.ncy-portal .ncy-shop-filter a[aria-current="page"] { background: var(--ncy-p-button); border-color: var(--ncy-p-gold); color: #fff; font-weight: 600; }
.ncy-shop-filter a:focus-visible { outline: 2px solid var(--ncy-p-gold); outline-offset: 2px; }
.ncy-shop-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.ncy-shop-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--ncy-p-border); border-top: 3px solid var(--ncy-p-gold); border-radius: 10px; background: var(--ncy-p-card); }
.ncy-shop-media { display: block; aspect-ratio: 4 / 3; background: var(--ncy-p-sunken); }
.ncy-shop-media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ncy-shop-noimage { display: grid; place-items: center; height: 100%; font-size: 3rem; opacity: .8; }
.ncy-shop-body { display: flex; flex: 1; flex-direction: column; gap: .35rem; padding: 1rem 1.15rem 1.15rem; }
.ncy-shop-body h3 { margin: 0; font-size: 1.1rem; line-height: 1.3; overflow-wrap: anywhere; }
.ncy-portal .ncy-shop-body h3 a { color: var(--ncy-p-text); text-decoration: none; }
.ncy-portal .ncy-shop-body h3 a:hover { text-decoration: underline; }
.ncy-shop-body p { margin: 0; }
.ncy-shop-cat { color: var(--ncy-p-muted); font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; overflow-wrap: anywhere; }
.ncy-shop-price { color: var(--ncy-p-gold-text); font-size: 1.1rem; font-weight: 700; }
.ncy-shop-text { color: var(--ncy-p-muted); font-size: .93rem; overflow-wrap: anywhere; }
.ncy-shop-count { margin: 0 0 .85rem; }
.ncy-shop .ncy-pager { margin-top: 1.35rem; }
.ncy-shop-more { margin-top: auto !important; padding-top: .4rem; }
.ncy-shop-empty { max-width: 640px; }
.ncy-product-facts { display: grid; gap: .5rem; padding: 1rem 1.25rem; border: 1px solid var(--ncy-p-border); border-left: 3px solid var(--ncy-p-gold); border-radius: 8px; background: var(--ncy-p-card); }
.ncy-product-facts p { margin: 0; }
.ncy-product-facts .ncy-shop-price { font-size: 1.4rem; }
.ncy-cart-add { margin-top: .35rem; }
.ncy-cart-add-form { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: flex-end; }
.ncy-cart-add-form .ncy-field { margin: 0; }
.ncy-cart-add-form .ncy-actions { margin: 0; }
.ncy-form.ncy-cart-form { display: flex; flex-direction: column; gap: 1rem; }
.ncy-form input.ncy-cart-qty, .ncy-field input.ncy-cart-qty, .ncy-cart-table input.ncy-cart-qty {
	width: 4.5rem;
	min-width: 4.5rem;
	max-width: 4.5rem;
}
.ncy-cart-table .ncy-cart-num,
.ncy-cart-table .ncy-cart-qty-col { width: 1%; white-space: nowrap; }
.ncy-cart-table .ncy-cart-num { color: var(--ncy-p-gold-text); font-weight: 600; }
.ncy-cart-item { display: flex; gap: .75rem; align-items: center; min-width: 0; }
.ncy-cart-item img, .ncy-cart-noimage { width: 64px; height: 64px; flex: 0 0 64px; object-fit: cover; border-radius: 6px; background: var(--ncy-p-sunken); }
.ncy-cart-noimage { display: grid; place-items: center; font-size: 1.4rem; }
.ncy-cart-item-copy { display: grid; gap: .15rem; min-width: 0; justify-items: start; }
.ncy-cart-item-copy a { overflow-wrap: anywhere; }
.ncy-portal button.ncy-cart-remove {
	display: inline-flex;
	align-items: center;
	width: auto;
	min-height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--ncy-p-muted);
	font-size: .9rem;
	font-weight: 600;
	box-shadow: none;
}
.ncy-portal button.ncy-cart-remove:hover,
.ncy-portal button.ncy-cart-remove:focus {
	background: transparent;
	color: var(--ncy-p-danger);
}
.ncy-cart-total { font-size: 1.15rem; font-weight: 700; color: var(--ncy-p-gold-text); }
.ncy-cart-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }

.ncy-form .ncy-actions .ncy-button { min-height: 44px; }

/* Authenticated tier flag: hide/show layout containers (CSS fallback; JS mirrors this). */
.ncy-view-hidden { display: none !important; }
body.ncy-guest [data-ncy-min-tier],
body.ncy-tier-guest [data-ncy-min-tier] { display: none !important; }
body.ncy-tier-imperial [data-ncy-min-tier="emerald"],
body.ncy-tier-imperial [data-ncy-min-tier="gold"],
body.ncy-tier-imperial [data-ncy-min-tier="diamond"] { display: none !important; }
body.ncy-tier-emerald [data-ncy-min-tier="gold"],
body.ncy-tier-emerald [data-ncy-min-tier="diamond"] { display: none !important; }
body.ncy-tier-gold [data-ncy-min-tier="diamond"] { display: none !important; }
body.ncy-auth [data-ncy-guest-only],
body.ncy-guest [data-ncy-auth-only] { display: none !important; }
body.ncy-tier-imperial [data-ncy-only-tier]:not([data-ncy-only-tier="imperial"]),
body.ncy-tier-emerald [data-ncy-only-tier]:not([data-ncy-only-tier="emerald"]),
body.ncy-tier-gold [data-ncy-only-tier]:not([data-ncy-only-tier="gold"]),
body.ncy-tier-diamond [data-ncy-only-tier]:not([data-ncy-only-tier="diamond"]),
body.ncy-guest [data-ncy-only-tier] { display: none !important; }

@media (max-width: 640px) {
	.ncy-card { padding: 1rem 1.1rem; }
	.ncy-welcome { font-size: 1.45rem; }
	.ncy-details { grid-template-columns: 1fr; gap: .1rem; }
	.ncy-details dd { margin-bottom: .5rem; }
	.ncy-calendar__grid td { height: 64px; }
	.ncy-portal a.ncy-calendar__event { font-size: .7rem; }
	.ncy-leadform .ncy-step { padding: 1rem; }
	.ncy-leadform.is-enhanced .ncy-progress li { font-size: 0; }
	.ncy-leadform.is-enhanced .ncy-progress li::before { font-size: .82rem; }
	.ncy-step-nav { flex-wrap: wrap; }
	.ncy-step-nav .ncy-button { flex: 1; text-align: center; }
	.ncy-form .ncy-actions .ncy-button { width: 100%; }
	.ncy-cart-table thead { display: none; }
	.ncy-cart-table, .ncy-cart-table tbody, .ncy-cart-table tr, .ncy-cart-table td { display: block; width: 100%; }
	.ncy-portal .ncy-cart-table td {
		display: flex;
		justify-content: space-between;
		gap: 1rem;
		align-items: center;
		padding: .55rem 0;
		border: 0;
		border-bottom: 1px solid var(--ncy-p-border);
	}
	.ncy-cart-table td::before { content: attr(data-label); font-weight: 600; color: var(--ncy-p-muted); }
	.ncy-portal .ncy-cart-table td:first-child { display: block; border-bottom: 0; padding-bottom: .15rem; }
	.ncy-cart-table td:first-child::before { display: none; }
	.ncy-portal .ncy-cart-table td:last-child { border-bottom-width: 2px; }
	.ncy-cart-table .ncy-cart-num,
	.ncy-cart-table .ncy-cart-qty-col { width: auto; white-space: normal; }
	.ncy-cart-actions .ncy-button { flex: 1 1 12rem; text-align: center; }
}
