/*
  Palette below is an approximation based on rebeccarohman.com's public
  imagery (deep orchid/plum, navy, warm gold accents, soft cream cards) —
  I couldn't pull the site's exact hex codes or font names from the page
  content itself. Everything is controlled from these variables, so
  swapping in her exact brand colors/fonts later is a one-minute edit.
*/
.rr-box {
	--rr-primary: #5c2a4d;      /* deep plum/orchid */
	--rr-primary-dark: #3f1c35;
	--rr-accent: #c79a3f;       /* warm gold */
	--rr-bg: #fbf7f4;           /* soft cream card */
	--rr-text: #3a2a35;
	--rr-border: #e7dcd9;
	--rr-radius: 10px;
	--rr-font-heading: 'Playfair Display', Georgia, serif;
	--rr-font-body: 'Lora', Georgia, serif;

	box-sizing: border-box;
	max-width: 640px;
	width: 100%;
	margin: 2em auto;
	padding: 28px 30px;
	background: var(--rr-bg);
	border: 1px solid var(--rr-border);
	border-radius: var(--rr-radius);
	box-shadow: 0 4px 18px rgba(60, 30, 50, 0.08);
	font-family: var(--rr-font-body);
	color: var(--rr-text);
	overflow: hidden;
}

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

.rr-box .rr-title {
	font-family: var(--rr-font-heading) !important;
	font-size: 26px;
	color: var(--rr-primary-dark) !important;
	margin: 0 0 6px;
}

.rr-box .rr-prize {
	font-style: italic;
	margin: 0 0 18px;
	color: var(--rr-text) !important;
}

.rr-box .rr-prize-list {
	font-style: italic;
	color: var(--rr-text) !important;
	margin: 0 0 18px;
	padding-left: 20px;
	list-style: none;
}

.rr-box .rr-prize-list li {
	position: relative;
	padding-left: 4px;
	margin-bottom: 4px;
}

.rr-box .rr-prize-list li::before {
	content: "—";
	color: var(--rr-accent);
	position: absolute;
	left: -18px;
}

.rr-entry-count {
	background: #fff;
	border: 1px solid var(--rr-border);
	border-radius: var(--rr-radius);
	padding: 10px 14px;
	margin-bottom: 16px;
}

.rr-section-label {
	font-weight: 600;
	color: var(--rr-primary);
	margin-bottom: 8px;
}

.rr-way {
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.rr-btn {
	display: inline-block;
	font-family: var(--rr-font-body);
	font-size: 14px;
	padding: 8px 16px;
	border-radius: 20px;
	border: 1px solid var(--rr-primary);
	background: #fff;
	color: var(--rr-primary);
	cursor: pointer;
	text-decoration: none;
	transition: all 0.15s ease-in-out;
}

.rr-btn:hover {
	background: var(--rr-primary);
	color: #fff;
}

.rr-btn-primary {
	background: var(--rr-primary);
	color: #fff;
}

.rr-btn-primary:hover {
	background: var(--rr-primary-dark);
}

.rr-share-feedback {
	margin-top: 10px;
	font-size: 14px;
	color: var(--rr-primary-dark);
	min-height: 1.2em;
}

.rr-winner-reveal {
	font-family: var(--rr-font-heading) !important;
	font-size: 20px;
	text-align: center;
	color: var(--rr-primary-dark) !important;
	background: #fff;
	border: 1px solid var(--rr-accent);
	border-radius: var(--rr-radius);
	padding: 18px;
}

.rr-pending {
	text-align: center;
	font-style: italic;
	color: var(--rr-text);
	padding: 12px;
}

.rr-login-gate {
	text-align: center;
	padding: 10px 0;
}

.rr-login-gate p {
	margin-bottom: 14px;
}

.rr-entry-form {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.rr-input {
	flex: 1 1 160px;
	min-width: 0;
	padding: 9px 12px;
	border-radius: 6px;
	border: 1px solid var(--rr-border);
	font-family: var(--rr-font-body);
	font-size: 14px;
	background: #fff;
	color: var(--rr-text);
}

.rr-fineprint {
	font-size: 12px;
	color: #8a7a80;
	margin: 4px 0 0;
}

.rr-switch-entrant {
	background: none;
	border: none;
	color: var(--rr-primary);
	text-decoration: underline;
	font-size: 12px;
	cursor: pointer;
	margin-left: 8px;
	font-family: var(--rr-font-body);
}

.rr-action-link {
	text-decoration: none;
}

.rr-btn[disabled] {
	opacity: 0.55;
	cursor: default;
}
.rr-btn[disabled]:hover {
	background: #fff;
	color: var(--rr-primary);
}

/* --- Vertical entry-method list, GoodBed/Gleam-style --- */

.rr-hero-image {
	width: 100%;
	height: 320px;
	display: block;
	border-radius: var(--rr-radius);
	margin-bottom: 16px;
	object-fit: contain;
	background: var(--rr-bg);
}

.rr-ways-header {
	background: #efe6ec;
	color: var(--rr-primary-dark) !important;
	font-family: var(--rr-font-heading) !important;
	font-weight: 700;
	font-size: 17px;
	text-align: center;
	padding: 10px;
	border-radius: 6px 6px 0 0;
	margin-top: 18px;
	border: 1px solid var(--rr-border);
	border-bottom: none;
}

.rr-ways-list {
	border: 1px solid var(--rr-border);
	border-radius: 0 0 var(--rr-radius) var(--rr-radius);
	overflow: hidden;
	background: #fff;
}

.rr-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--rr-border);
	background: #fff;
	width: 100%;
	text-align: left;
	font-family: var(--rr-font-body);
	cursor: default;
	min-width: 0;
}

.rr-row:last-child {
	border-bottom: none;
}

.rr-row-btn {
	cursor: pointer;
	border: none;
	transition: background 0.15s ease-in-out;
}

.rr-row-btn:hover {
	background: #f6eef3;
}

.rr-row-btn:disabled,
.rr-row-loading {
	opacity: 0.6;
	cursor: default;
}

.rr-row-done {
	background: #faf7f5;
}

.rr-row-icon {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 7px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 15px;
}

.rr-row-label {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 14.5px;
	color: var(--rr-text);
	line-height: 1.3;
}

.rr-row-action {
	flex: 0 0 auto;
}

.rr-pill {
	display: inline-block;
	min-width: 40px;
	text-align: center;
	background: var(--rr-primary);
	color: #fff;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.2;
	padding: 6px 10px;
	border-radius: 6px;
}

.rr-pill small {
	display: block;
	font-weight: 500;
	font-size: 9.5px;
	opacity: 0.85;
}

.rr-pill-done {
	background: #2a7a2a;
}

.rr-row-referral {
	flex-wrap: wrap;
}

.rr-row-referral .rr-row-label {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.rr-referral-link {
	width: 100%;
	max-width: 280px;
	min-width: 0;
	padding: 6px 8px;
	border-radius: 6px;
	border: 1px solid var(--rr-border);
	font-family: monospace;
	font-size: 10.5px;
	background: #faf8f9;
}
