/* Master of Ink Studio — matches the main site's app-style system. */

:root {
	--ink: #000000;
	--ink-2: #0d0d0d;
	--ink-3: #171717;
	--field: #000000;
	--line: #262626;
	--line-2: #333333;
	--bone: #ffffff;
	--bone-dim: #a3a3a3;
	--muted: #737373;
	--red: #e5322d;
	--red-hot: #f04a3f;
	--gold: #d4d4d4;
	--ui: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--display: "Fraunces", Georgia, serif;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; }

body {
	min-height: 100vh;
	background:
		radial-gradient(ellipse 60% 40% at 30% 0%, rgba(255, 255, 255, 0.05), transparent 70%),
		var(--ink);
	color: var(--bone);
	font-family: var(--ui);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Top bar ---------------------------------------------------------------- */

.bar {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 64px;
	padding: 0 clamp(16px, 3vw, 32px);
	background: rgba(0, 0, 0, 0.86);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-size: 16px;
	font-weight: 800;
	font-variation-settings: "wdth" 125;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.logo svg { width: 30px; height: 30px; }
.logo em { font-family: var(--display); font-weight: 500; font-style: italic; letter-spacing: 0; text-transform: none; color: var(--red-hot); }

.logo__tag {
	padding: 3px 8px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 6px;
	color: var(--bone);
	font-size: 11px;
	font-weight: 700;
	font-variation-settings: "wdth" 100;
	letter-spacing: 0.06em;
}

/* Account area & buttons ------------------------------------------------- */

.account { display: flex; align-items: center; gap: 10px; }
.account form { margin: 0; }
.account__email { color: var(--bone-dim); font-size: 14px; }

.credits {
	padding: 6px 12px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	color: var(--gold);
	font-size: 13px;
	white-space: nowrap;
}

.credits b { color: var(--bone); }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 8px 14px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s;
}

.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--bone); }
.btn--ghost:hover { background: var(--ink-3); }
.btn--solid { background: #fff; color: #000; }
.btn--solid:hover { background: #e5e5e5; }

.btn--google {
	width: 100%;
	height: 50px;
	background: #fff;
	color: #1f1f1f;
	font-size: 15px;
}

.btn--google:hover { background: #f1f1f1; }
.btn--google svg { width: 20px; height: 20px; }

.notice {
	max-width: 760px;
	margin: 20px auto 0;
	padding: 12px 16px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 12px;
	color: var(--bone);
	font-size: 14px;
	text-align: center;
}

/* Auth pages ------------------------------------------------------------- */

.auth { display: grid; place-items: start center; padding: clamp(32px, 7vw, 80px) 16px 64px; }

.auth__card {
	width: 100%;
	max-width: 420px;
	padding: 32px 28px;
	background: var(--ink-2);
	border: 1px solid var(--line);
	border-radius: 18px;
}

.auth__title { margin: 0 0 6px; font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.auth__sub { margin: 0 0 24px; color: var(--bone-dim); font-size: 15px; }
.auth__card .error { margin: 0 0 18px; }

.auth__form .field { margin-bottom: 16px; }
.auth__form .field-hint { margin: -10px 0 16px; }
.auth__form .go { margin-top: 8px; }

.field-row { display: flex; align-items: baseline; justify-content: space-between; }
.field-link, .auth__switch a, .runs a { color: var(--bone); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 3px; }
.field-link { font-size: 13px; }
.field-link:hover, .auth__switch a:hover, .runs a:hover { text-decoration: underline; }

.auth__or {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 20px 0;
	color: var(--muted);
	font-size: 13px;
}

.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.auth__switch { margin: 22px 0 0; color: var(--bone-dim); font-size: 14px; text-align: center; }

.go--ghost { background: transparent; border: 1px solid var(--line-2); }
.go--ghost:hover { background: var(--ink-3); }

@media (max-width: 620px) {
	.account__email { display: none; }
	.logo__tag { display: none; }
}

@media (max-width: 420px) {
	.logo span { display: none; }
}

/* Layout ----------------------------------------------------------------- */

.studio {
	display: grid;
	grid-template-columns: 380px minmax(0, 1fr);
	gap: clamp(20px, 3vw, 36px);
	max-width: 1400px;
	margin: 0 auto;
	padding: clamp(20px, 3vw, 36px) clamp(16px, 3vw, 32px) 64px;
}

/* Form panel ------------------------------------------------------------- */

.panel {
	position: sticky;
	top: 88px;
	align-self: start;
	padding: 24px;
	background: var(--ink-2);
	border: 1px solid var(--line);
	border-radius: 18px;
}

.panel__title { margin: 0 0 20px; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }

.field-label {
	display: block;
	margin: 0 0 8px;
	padding: 0;
	color: var(--bone);
	font-size: 14px;
	font-weight: 600;
}

.field {
	display: block;
	width: 100%;
	padding: 14px 16px;
	resize: vertical;
	background: var(--field);
	border: 1px solid var(--line-2);
	border-radius: 12px;
	font-size: 16px;
	line-height: 1.5;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.field::placeholder { color: var(--muted); }
.field:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12); }

.field-hint { margin: 8px 0 22px; color: var(--muted); font-size: 13px; }

.styles { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; border: 0; }
.styles legend { margin-bottom: 10px; }

.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }

.pill span {
	display: block;
	padding: 7px 13px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--bone-dim);
	font-size: 14px;
	font-weight: 500;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.pill:hover span { border-color: var(--line-2); color: var(--bone); }
.pill input:checked + span { background: #fff; border-color: #fff; color: #000; }
.pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.go {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 52px;
	background: var(--red);
	border: 0;
	border-radius: 12px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.15s;
}

.go:hover { background: var(--red-hot); }
.go:disabled { cursor: progress; background: #7a1d1a; }

.go__spin {
	display: none;
	width: 18px;
	height: 18px;
	margin-left: 10px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

.is-busy .go__spin { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

.runs { margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.runs span { color: var(--bone); font-weight: 700; }

.error {
	margin: 14px 0 0;
	padding: 12px 14px;
	background: rgba(214, 58, 30, 0.12);
	border: 1px solid rgba(239, 79, 46, 0.4);
	border-radius: 10px;
	color: #ffd6cc;
	font-size: 14px;
}

/* Results ---------------------------------------------------------------- */

.results__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 20px;
	margin-bottom: 18px;
}

.results__head h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.results__head p { margin: 0; color: var(--bone-dim); font-size: 14px; }

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}

.card {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: #fff;
	border-radius: 16px;
	aspect-ratio: 1;
}

.card__img { display: block; width: 100%; height: 100%; object-fit: contain; }

.card__bar {
	position: absolute;
	inset: auto 0 0 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 40px 14px 14px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 40%, rgba(0, 0, 0, 0));
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.18s, transform 0.18s;
}

.card:hover .card__bar,
.card:focus-within .card__bar { opacity: 1; transform: none; }

.card__prompt {
	display: -webkit-box;
	overflow: hidden;
	color: var(--bone);
	font-size: 13px;
	line-height: 1.4;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.card__actions { display: flex; gap: 8px; }

.card__btn {
	flex: 1;
	padding: 8px 10px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 9px;
	color: var(--bone);
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.card__btn:hover { background: rgba(255, 255, 255, 0.18); }
.card__btn--solid { background: var(--red); border-color: var(--red); color: #fff; }
.card__btn--solid:hover { background: var(--red-hot); }

/* Design / Stencil switch: shown once a stencil exists. */
.card__views {
	position: absolute;
	top: 10px;
	left: 10px;
	display: none;
	padding: 3px;
	background: rgba(0, 0, 0, 0.82);
	border-radius: 10px;
}

.has-stencil .card__views { display: flex; }
.has-stencil .card__btn--stencil { display: none; }

.card__view {
	padding: 5px 10px;
	background: transparent;
	border: 0;
	border-radius: 7px;
	color: var(--bone-dim);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

.card__view.is-on { background: var(--bone); color: var(--ink); }

.card__working {
	position: absolute;
	inset: 0;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: rgba(255, 255, 255, 0.82);
	color: #0a0a0a;
	font-size: 14px;
	font-weight: 600;
}

.is-working .card__working { display: flex; }
.is-working .card__bar { display: none; }

.card__spin {
	width: 26px;
	height: 26px;
	border: 3px solid rgba(27, 22, 18, 0.2);
	border-top-color: var(--red);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

.card--loading {
	background: linear-gradient(110deg, var(--ink-2) 30%, var(--ink-3) 50%, var(--ink-2) 70%) 0 0 / 300% 100%;
	border: 1px solid var(--line);
	animation: shimmer 1.4s linear infinite;
}

@keyframes shimmer { to { background-position: -100% 0; } }

.empty {
	grid-column: 1 / -1;
	padding: clamp(40px, 8vw, 88px) 24px;
	border: 1px dashed var(--line-2);
	border-radius: 18px;
	color: var(--bone-dim);
	text-align: center;
}

.empty p { margin: 0 0 6px; }
.empty__title { color: var(--bone); font-size: 18px; font-weight: 700; }

.empty__ideas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }

.idea {
	padding: 8px 14px;
	background: var(--ink-2);
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--bone);
	font-size: 14px;
	cursor: pointer;
}

.idea:hover { border-color: var(--line-2); background: var(--ink-3); }

/* Touch screens: always show card actions. */
@media (hover: none) {
	.card__bar { opacity: 1; transform: none; }
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 860px) {
	.studio { grid-template-columns: 1fr; }
	.panel { position: static; }
}

@media (max-width: 520px) {
	.bar__link { display: none; }
	.grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.card__bar { padding: 28px 8px 8px; }
	.card__prompt { display: none; }
	.card__actions { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Admin ------------------------------------------------------------------ */

.admin {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 32px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 28px clamp(16px, 3vw, 32px) 64px;
}

.admin__nav { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 4px; }

.admin__nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	border-radius: 10px;
	color: var(--bone-dim);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.admin__nav a:hover { background: var(--ink-2); color: var(--bone); }
.admin__nav a.is-on { background: var(--ink-3); color: var(--bone); }
.admin__badge { padding: 1px 8px; background: var(--red); border-radius: 999px; color: #fff; font-size: 12px; }

.admin__title { margin: 0 0 20px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.admin__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.admin__head .admin__title { margin: 0; }
.admin__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin__cols--ticket { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }

.crumb { margin: 0 0 8px; font-size: 14px; }
.crumb a, .table a, .panel-box__head a { color: var(--bone); }
.muted { color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; }
.stat--wide { grid-column: span 2; }
.stat__label { color: var(--muted); font-size: 13px; }
.stat__value { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.stat__value--sm { font-size: 17px; }
.stat__sub { color: var(--bone-dim); font-size: 13px; }

.panel-box { margin-bottom: 16px; padding: 18px 20px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; }
.panel-box__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.panel-box__head h2 { margin: 0; font-size: 16px; font-weight: 700; }
.panel-box__head a { font-size: 13px; }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 600; text-align: left; text-transform: uppercase; letter-spacing: 0.04em; }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .pos { color: #4ade80; }
.table .neg { color: #f87171; }
.table .clip { max-width: 340px; color: var(--bone-dim); }
.row-link { cursor: pointer; }
.row-link:hover td { background: var(--ink-3); }

.tag { display: inline-block; padding: 2px 8px; background: var(--ink-3); border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; text-transform: capitalize; }
.tag--open { border-color: #7a1d1a; color: #fca5a5; }
.tag--answered { border-color: #1f4d2c; color: #86efac; }
.tag--closed { color: var(--muted); }

.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.thumb { display: block; overflow: hidden; background: #fff; border-radius: 10px; aspect-ratio: 1; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

.search .field { width: 280px; padding: 10px 14px; }
.filters { display: flex; gap: 6px; }
.filters a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--bone-dim); font-size: 14px; text-decoration: none; }
.filters a.is-on { background: #fff; border-color: #fff; color: #000; }
.filters a.is-on .muted { color: #555; }

.inline-form .field { margin-bottom: 12px; }

.msg { margin-bottom: 12px; padding: 16px 18px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; }
.msg--support { background: #111; border-color: #333; }
.msg__head { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; font-size: 14px; }
.msg__time { margin-left: auto; }
.msg__body { color: #d4d4d4; line-height: 1.6; }

.reply .field { margin-bottom: 12px; }

.pager { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.pager__info { color: var(--muted); font-size: 14px; }
.is-disabled { opacity: 0.4; pointer-events: none; }

@media (max-width: 960px) {
	.admin { grid-template-columns: 1fr; }
	.admin__nav { position: static; flex-direction: row; overflow-x: auto; }
	.admin__cols, .admin__cols--ticket { grid-template-columns: 1fr; }
	.stat--wide { grid-column: auto; }
	.table .clip { display: none; }
}

/* OpenAI balance card */
.openai__stats { margin: 4px 0 8px; }
.openai--low { border-color: #7a1d1a; }
.openai__warn { color: #fca5a5; }
.openai__checked { margin: 0 0 14px; font-size: 13px; }
.openai__form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.openai__form .field { width: 200px; padding: 10px 12px; }
.openai code { padding: 1px 6px; background: var(--ink-3); border-radius: 6px; }
.openai__edit { padding-top: 14px; border-top: 1px solid var(--line); }
.openai__edit summary { list-style: none; display: inline-flex; }
.openai__edit summary::-webkit-details-marker { display: none; }
.openai__edit[open] summary { display: none; }
.openai__edit .openai__form { padding-top: 0; border-top: 0; }

/* Billing / Get credits -------------------------------------------------- */

a.credits { text-decoration: none; }
a.credits:hover { border-color: rgba(255, 255, 255, 0.5); }
.credits__plus { margin-left: 2px; color: var(--bone); font-weight: 700; }

.billing { max-width: 1040px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) clamp(16px, 3vw, 32px) 72px; }
.billing__head { margin-bottom: 28px; text-align: center; }
.billing__head h1 { margin: 0 0 6px; font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.billing__head p { margin: 0; color: var(--bone-dim); }
.billing__balance { margin-top: 14px !important; color: var(--bone) !important; }

.notice--inline { margin: 0 auto 24px; }

.current-plan {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 32px;
	padding: 20px 22px;
	background: var(--ink-2);
	border: 1px solid #fff;
	border-radius: 16px;
}

.current-plan p { margin: 0; }
.current-plan__label { color: var(--muted); font-size: 13px; }
.current-plan__name { margin: 2px 0 4px !important; font-size: 18px; font-weight: 700; }

.billing__section { margin-bottom: 44px; }
.billing__section h2 { margin: 0 0 4px; font-size: 22px; font-weight: 800; }
.billing__section > .muted { margin: 0 0 18px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.price {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 24px;
	background: var(--ink-2);
	border: 1px solid var(--line);
	border-radius: 18px;
}

.price--featured { border-color: #fff; box-shadow: 0 0 0 1px #fff inset; }

.price__flag {
	position: absolute;
	top: -11px;
	left: 24px;
	padding: 3px 10px;
	background: #fff;
	border-radius: 999px;
	color: #000;
	font-size: 12px;
	font-weight: 700;
}

.price p { margin: 0; }
.price__name { margin: 0; font-size: 18px; font-weight: 700; }
.price__for { margin-top: 2px !important; color: var(--muted); font-size: 14px; }
.price__amount { margin: 18px 0 6px !important; font-size: 36px; font-weight: 800; letter-spacing: -0.03em; }
.price__amount span { margin-left: 2px; color: var(--muted); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.price__credits { color: var(--bone); }
.price__unit { margin-bottom: 20px !important; color: var(--muted); font-size: 13px; }
.price form { margin-top: auto; }
.price .go:disabled { opacity: 0.5; cursor: not-allowed; }

.billing__fine { font-size: 13px; text-align: center; }
.billing__fine a { color: var(--bone); }

.runs--cta a { margin-left: 4px; }

@media (max-width: 820px) {
	.price-grid { grid-template-columns: 1fr; }
}
.error__link { color: #fff; font-weight: 700; white-space: nowrap; }

/* Success banner (payments, email confirmed) */
.notice--success { display: flex; align-items: center; gap: 16px; max-width: 760px; padding: 18px 22px; background: rgba(34, 197, 94, 0.12); border: 1px solid #22c55e; border-radius: 14px; color: #fff; text-align: left; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12), 0 20px 40px -20px rgba(34, 197, 94, 0.5); animation: notice-in 0.4s ease-out; }
.notice--success svg { flex: none; width: 34px; height: 34px; color: #22c55e; }
.notice__title { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.notice__sub { margin: 2px 0 0; color: #bbf7d0; font-size: 14px; }
@keyframes notice-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Model tier line under Generate */
.tier { margin: 8px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.tier a { color: var(--bone); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 3px; }
.tier--hd { color: var(--bone-dim); }
.tier b { margin-right: 4px; padding: 1px 6px; background: #fff; border-radius: 4px; color: #000; font-size: 10px; letter-spacing: 0.06em; }
