/* Minification failed. Returning unminified contents.
(3,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(6,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(7,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(8,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(11,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(12,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(13,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(14,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(15,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(16,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(17,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(18,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(19,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(20,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(21,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(22,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(23,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(24,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(25,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(26,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(27,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(28,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(29,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(40,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(41,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(56,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(57,23): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(61,46): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(62,46): run-time error CSS1039: Token not allowed after unary operator: '-border'
(66,22): run-time error CSS1039: Token not allowed after unary operator: '-nav-bg'
(67,35): run-time error CSS1039: Token not allowed after unary operator: '-nav-border'
(68,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(102,35): run-time error CSS1039: Token not allowed after unary operator: '-border'
(104,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(107,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(108,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(119,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-input'
(120,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(123,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(129,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(130,37): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(132,58): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(133,116): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(151,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(161,37): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(168,36): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(168,98): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(172,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(173,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(174,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(186,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(187,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(188,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(193,24): run-time error CSS1039: Token not allowed after unary operator: '-border'
(194,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(196,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(199,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(200,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(201,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(290,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(291,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(296,55): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(296,93): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(307,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(308,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(312,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(316,38): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(316,60): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(316,92): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(317,47): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(317,81): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(319,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(320,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(321,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(323,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(330,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(340,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(344,32): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(345,50): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(356,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(362,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(371,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(384,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(385,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(390,60): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(390,82): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(393,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(397,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(404,60): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(408,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(422,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(425,60): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(430,65): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(431,48): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(432,64): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(437,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(442,63): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(444,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(453,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(465,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(475,101): run-time error CSS1039: Token not allowed after unary operator: '-border'
(481,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(482,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(486,42): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(486,65): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(487,47): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(487,78): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(491,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(492,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(493,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(503,34): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(503,72): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(517,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(518,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(522,45): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(522,68): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(523,40): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(523,90): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(535,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(536,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(537,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(539,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(544,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(545,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(552,35): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(552,58): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(552,93): run-time error CSS1039: Token not allowed after unary operator: '-border'
(553,36): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(553,65): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(559,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(564,49): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(574,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(575,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(583,38): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(583,60): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(583,92): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(584,37): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(584,66): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(588,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(589,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(590,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(597,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(600,37): run-time error CSS1039: Token not allowed after unary operator: '-shadow-hover'
(621,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(623,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(627,45): run-time error CSS1039: Token not allowed after unary operator: '-hot'
(627,65): run-time error CSS1039: Token not allowed after unary operator: '-hot'
(627,95): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(628,45): run-time error CSS1039: Token not allowed after unary operator: '-warm'
(628,65): run-time error CSS1039: Token not allowed after unary operator: '-warm'
(629,45): run-time error CSS1039: Token not allowed after unary operator: '-cool'
(629,65): run-time error CSS1039: Token not allowed after unary operator: '-cool'
(630,46): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(649,38): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(649,70): run-time error CSS1039: Token not allowed after unary operator: '-hot'
(649,106): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(650,61): run-time error CSS1039: Token not allowed after unary operator: '-warm'
(651,61): run-time error CSS1039: Token not allowed after unary operator: '-cool'
(652,33): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(652,56): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(652,97): run-time error CSS1039: Token not allowed after unary operator: '-border'
(653,33): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(653,56): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(653,97): run-time error CSS1039: Token not allowed after unary operator: '-border'
(654,33): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(654,56): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(654,93): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(655,63): run-time error CSS1039: Token not allowed after unary operator: '-red'
(670,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(675,35): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(684,47): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(685,30): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(686,38): run-time error CSS1039: Token not allowed after unary operator: '-green'
(692,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(693,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(694,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(695,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(705,36): run-time error CSS1039: Token not allowed after unary operator: '-bg-card-hover'
(705,65): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(705,100): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(706,100): run-time error CSS1039: Token not allowed after unary operator: '-green'
(706,121): run-time error CSS1039: Token not allowed after unary operator: '-green'
(707,99): run-time error CSS1039: Token not allowed after unary operator: '-red'
(707,120): run-time error CSS1039: Token not allowed after unary operator: '-red'
(712,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(722,34): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(729,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(736,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(738,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(746,37): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(748,40): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(749,40): run-time error CSS1039: Token not allowed after unary operator: '-green'
(757,17): run-time error CSS1039: Token not allowed after unary operator: '-red'
(778,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(779,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(780,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(783,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(786,108): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(787,50): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(788,33): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(790,65): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(791,51): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(792,59): run-time error CSS1039: Token not allowed after unary operator: '-green'
(806,48): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(807,50): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(813,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(816,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(822,37): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(835,22): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(836,38): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(853,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(880,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(881,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(884,101): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(888,49): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(892,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(895,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(898,68): run-time error CSS1039: Token not allowed after unary operator: '-warm'
(898,81): run-time error CSS1039: Token not allowed after unary operator: '-hot'
(899,77): run-time error CSS1039: Token not allowed after unary operator: '-warm'
(900,45): run-time error CSS1039: Token not allowed after unary operator: '-cool'
(901,99): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(905,89): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(907,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(908,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(909,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(912,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(914,68): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(915,50): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(916,31): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(919,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(920,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(921,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(924,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(928,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-input'
(929,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(930,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(932,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(939,51): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(939,93): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(942,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-input'
(943,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(944,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(946,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(952,59): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(961,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(962,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(963,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(965,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(967,86): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(969,68): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(972,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-input'
(973,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(974,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(976,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(981,42): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(981,84): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(982,41): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(982,64): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(986,55): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(987,63): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(992,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(993,28): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1006,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1016,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1042,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1043,24): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1046,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1047,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1069,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1073,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1077,17): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1081,60): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1082,66): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1092,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1093,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1100,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1104,37): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1106,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1116,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1118,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1130,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1131,28): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1140,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1141,29): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1142,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(1147,79): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1148,30): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1153,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1154,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1159,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1160,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1161,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(1181,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1182,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(1256,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1257,29): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(1258,21): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1316,26): run-time error CSS1039: Token not allowed after unary operator: '-red'
(1317,28): run-time error CSS1039: Token not allowed after unary operator: '-red'
(1327,26): run-time error CSS1039: Token not allowed after unary operator: '-hot'
(1327,37): run-time error CSS1039: Token not allowed after unary operator: '-red'
(1332,34): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1373,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1374,34): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1393,46): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1393,64): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(1396,47): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1396,88): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1398,63): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1399,60): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1406,46): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1406,68): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1406,101): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1422,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1427,70): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1429,44): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1429,67): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1430,40): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1431,41): run-time error CSS1039: Token not allowed after unary operator: '-red'
(1432,43): run-time error CSS1039: Token not allowed after unary operator: '-red'
(1433,53): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1439,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1439,36): run-time error CSS1039: Token not allowed after unary operator: '-red'
(1475,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1477,37): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(1499,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1500,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1501,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(1502,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(1519,46): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1519,80): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1522,32): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1522,58): run-time error CSS1039: Token not allowed after unary operator: '-badge-color'
(1522,77): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1550,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1557,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1564,35): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1568,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1575,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1576,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1577,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(1586,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1592,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1598,22): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1617,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(1630,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1635,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1649,35): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1654,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1660,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1661,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1662,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1699,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1700,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1701,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(1702,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(1713,46): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(1713,67): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(1721,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1727,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1745,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1746,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1747,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(1748,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(1757,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(1765,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1771,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1777,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1778,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1779,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(1780,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(1786,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1799,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1800,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(1802,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1805,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1809,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(1810,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1811,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1820,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1831,54): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(1842,36): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1844,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1857,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1863,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1891,30): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1898,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-input'
(1899,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1907,43): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1926,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1933,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1942,45): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(1943,48): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(1953,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1954,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1955,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(1956,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(1969,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1978,36): run-time error CSS1039: Token not allowed after unary operator: '-bg-card-hover'
(1978,65): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1979,60): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1981,46): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1983,34): run-time error CSS1039: Token not allowed after unary operator: '-red'
(1984,36): run-time error CSS1039: Token not allowed after unary operator: '-red'
(2033,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2034,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(2035,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2042,36): run-time error CSS1039: Token not allowed after unary operator: '-bg-card-hover'
(2042,72): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2042,94): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2043,37): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2043,66): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2045,30): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2055,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(2056,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2057,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(2058,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(2071,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2074,55): run-time error CSS1039: Token not allowed after unary operator: '-bg-card-hover'
(2077,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(2080,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(2081,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2085,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2092,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2105,44): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2106,62): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2115,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2116,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(2117,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2121,32): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2137,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(2138,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2149,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2152,32): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2169,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2175,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-input'
(2176,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2180,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2187,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2188,37): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2190,38): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2196,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2202,31): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2214,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2217,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(2218,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(2219,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2224,31): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2225,38): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2240,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(2242,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(2243,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2253,54): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2254,43): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2254,68): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(2255,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2265,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2274,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2275,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2316,31): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2337,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2340,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(2347,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2351,32): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2352,38): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2369,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2370,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2376,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2387,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2410,84): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2425,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2426,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2427,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(2432,37): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2432,59): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2433,37): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2433,66): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2453,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2462,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2467,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2472,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(2473,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2474,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(2480,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2492,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2500,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2508,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2509,33): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2510,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(2512,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2515,36): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2516,41): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2522,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2542,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2545,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2546,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(2552,40): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2553,43): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2553,75): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2553,106): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2715,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2720,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2730,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2731,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-hover'
(2732,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2737,39): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2737,61): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2739,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2741,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2743,47): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(2750,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2751,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2752,33): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2783,38): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2783,72): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(2783,116): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2789,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2805,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(2810,35): run-time error CSS1039: Token not allowed after unary operator: '-bg-hover'
(2813,42): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2814,43): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2815,44): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2820,43): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(2836,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2837,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(2840,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2845,40): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2845,78): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2845,100): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2855,37): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(2861,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2878,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2979,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2985,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2986,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3009,28): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(3035,35): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3041,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3046,30): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3059,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3064,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3209,41): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(3209,64): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3209,99): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3221,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3222,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(3225,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(3226,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3244,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3245,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3251,49): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(3251,72): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3257,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3262,38): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3265,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3355,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3356,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(3358,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3367,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3368,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3369,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3376,51): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3380,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3386,42): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3387,44): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3388,42): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3398,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3408,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(3409,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3431,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3432,35): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3437,38): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3444,35): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3446,43): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3453,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3457,43): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3465,64): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3475,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3482,40): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(3484,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3485,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3488,53): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3493,44): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3498,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3499,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3504,38): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3517,85): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(3517,117): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3519,68): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3520,50): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3522,156): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(3522,188): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3523,44): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3524,54): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3544,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(3545,35): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3546,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3556,63): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3557,62): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3576,34): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(3583,34): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(3599,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3613,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3614,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3615,33): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3623,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3628,42): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3629,44): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3630,42): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3636,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3641,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3648,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3652,32): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3669,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3670,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3681,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3685,36): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3694,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3699,38): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3702,22): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(3704,38): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3710,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3714,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3719,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3720,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3721,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3729,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3735,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(3736,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(3739,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3744,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3745,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3746,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3750,36): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3757,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(3759,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3773,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3824,59): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(3828,59): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(3842,21): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3870,21): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3871,26): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(3872,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(3876,32): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3884,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(3885,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(3894,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3955,34): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3972,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3976,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3980,42): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4030,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4040,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4050,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(4062,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(4065,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(4070,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(4071,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(4072,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(4087,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4088,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4089,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(4237,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4245,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(4321,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(4322,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(4323,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(4394,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(4395,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(4406,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4409,34): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4410,33): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(4411,39): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4419,43): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(4430,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(4448,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4457,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4465,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(4491,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(4499,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(4500,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4506,37): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4509,22): run-time error CSS1039: Token not allowed after unary operator: '-accent-light'
(4510,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4513,61): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4537,33): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(4538,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(4540,54): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(4541,43): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(4541,67): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(4550,45): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4558,22): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(4566,104): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4567,164): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4567,225): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(4568,45): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(4569,28): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4570,34): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(4573,43): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(4577,46): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(4578,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(4578,58): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4579,37): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(4584,34): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4585,52): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(4586,137): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(4588,33): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4588,88): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(4589,52): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(4590,41): run-time error CSS1039: Token not allowed after unary operator: '-border'
(4590,72): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(4590,116): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(4591,43): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4591,65): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4595,33): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4596,57): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4597,91): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4598,41): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(4599,84): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(4599,147): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(4603,159): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(4603,189): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(4603,222): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4606,273): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(4606,299): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(4607,126): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(4608,33): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4610,103): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4612,51): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4613,100): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(4614,110): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4616,151): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4617,48): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(4617,79): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4620,58): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4626,99): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
 */
/* DealDeal Canada theme */
:root {
    --bg-base: #f6f8fa;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f4f8;
    --bg-sidebar: #ffffff;
    --bg-input: #f6f8fa;
    --border: #d0d7de;
    --border-light: #e8ecf0;
    --text-primary: #1a1f2e;
    --text-secondary: #4b5563;
    --text-muted: #6e7681;
    --accent: #e30000;
    --accent-hover: #c20000;
    --accent-light: #fff2f2;
    --accent-rgb: 227, 0, 0;
    --accent-2: #24364a;
    --hot: #e30000;
    --warm: #d97706;
    --cool: #2563eb;
    --green: #16a34a;
    --red: #dc2626;
    --nav-bg: #ffffff;
    --nav-border: #d0d7de;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.10);
    --shadow-md: 0 2px 8px rgba(0,0,0,.12);
    --shadow-hover: 0 4px 12px rgba(0,0,0,.14);
    --radius: 8px;
    --radius-sm: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

input, button, textarea, select {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: inherit;
}

html, body {
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    margin: 0; padding: 0;
    /* Ensure scroll is never accidentally locked on page load */
    overflow-x: hidden;
    overflow-y: auto;
    /* Smooth momentum scroll on iOS */
    -webkit-overflow-scrolling: touch;
}

body {
    padding-top: 58px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* -- Scrollbar -- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* -- Top Nav -- */
.forum-nav {
    background: var(--nav-bg);
    border-bottom: 1px solid var(--nav-border);
    box-shadow: var(--shadow-sm);
    padding: 0 1.5rem;
    height: 58px;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9200;
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    /* Fix iOS Safari first-scroll-stuck with sticky elements */
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.forum-nav .brand {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    text-decoration: none;
}
.forum-nav .brand-logo {
    height: 52px;
    width: auto;
    max-width: 152px;
    display: block;
    object-fit: contain;
    aspect-ratio: 936 / 320;
}
.forum-nav .divider { color: var(--border); font-size: 1.4rem; }
.forum-nav .community-label {
    color: var(--text-secondary);
    font-size: .9rem;
    font-weight: 500;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: .2rem .7rem;
}
.forum-nav .search-wrap {
    flex: 1;
    max-width: 520px;
    position: relative;
}
.forum-nav .search-wrap input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: .5rem 1rem .5rem 2.5rem;
    color: var(--text-primary);
    font-size: .95rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.forum-nav .search-wrap input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.1);
}
.forum-nav .search-wrap input::placeholder { color: var(--text-muted); }
.forum-nav .search-wrap .si { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.forum-nav .nav-actions { margin-left: auto; display: flex; gap: .65rem; align-items: center; height: 100%; }
.forum-nav .nav-actions .btn-ghost,
.forum-nav .nav-actions .btn-post,
.forum-nav .nav-actions .nav-country-btn,
.forum-nav .nav-actions #langToggleBtn {
    height: 36px;
    min-width: 36px;
    box-sizing: border-box;
    padding-top: 0;
    padding-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* -- Buttons -- */
.btn-post {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: .5rem 1.2rem;
    font-weight: 600;
    font-size: .88rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, box-shadow .2s;
    box-shadow: 0 2px 6px rgba(var(--accent-rgb),.3);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    vertical-align: middle;
    line-height: 1;
}
.btn-post:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 3px 10px rgba(var(--accent-rgb),.35); }

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: .4rem .9rem;
    font-size: .84rem;
    cursor: pointer;
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    vertical-align: middle;
    line-height: 1;
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(var(--accent-rgb),.05);
}

/* Sign In button ? same as other ghost buttons */
.btn-ghost-signin {
    border-color: var(--border);
    color: var(--text-secondary) !important;
    background: transparent;
    border-radius: var(--radius-sm);
}
.btn-ghost-signin:hover {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb),.05);
    color: var(--accent) !important;
}

/* -- Layout -- */
.forum-wrap {
    display: flex;
    gap: 1.5rem;
    max-width: 1440px;
    width: 100%;
    box-sizing: border-box;
    margin: 1.5rem auto;
    padding: 0 2rem;
    align-items: flex-start;
}

/* -- Sidebars -- */
.forum-sidebar {
    width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 80px;
}
.forum-sidebar-left  { order: 1; }
.forum-main          { order: 2; flex: 1; min-width: 0; }
.forum-sidebar-right { order: 3; }

@media (min-width: 1200px) {
    .forum-wrap {
        display: grid;
        grid-template-columns: 240px minmax(620px, 760px) 240px;
        justify-content: space-between;
        gap: clamp(1.25rem, 2vw, 2rem);
        max-width: none;
        padding-left: clamp(1rem, 2vw, 2rem);
        padding-right: clamp(1rem, 2vw, 2rem);
    }

    .forum-sidebar {
        width: 240px;
    }

    .forum-main {
        width: 100%;
        max-width: 760px;
        justify-self: center;
    }

    /* Let the right rail span the feed so its ad can stick while the page scrolls. */
    .forum-sidebar-right {
        position: static;
        align-self: stretch;
    }

    .home-sidebar-ad-sticky {
        position: sticky;
        top: 80px;
        z-index: 2;
    }
}

@media (min-width: 1500px) {
    .forum-wrap {
        grid-template-columns: 240px minmax(620px, 760px) 300px;
    }

    .forum-sidebar-right {
        width: 300px;
    }
}

/* -- Special Sections horizontal strip -- */
.ss-horizontal {
    display: flex;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .5rem;
}
.ss-horizontal .ss-item {
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: .45rem .6rem;
    gap: .4rem;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: .8rem;
    white-space: nowrap;
}
.ss-horizontal .ss-item:hover { background: rgba(var(--accent-rgb),.06); border-color: var(--accent); }
.ss-horizontal .ss-item .ss-info { display: none; }
.ss-horizontal .ss-item .ss-arrow { display: none; }
.ss-horizontal .ss-item > i:first-child { font-size: .95rem; width: auto; }
.ss-arrow { display: none; }

/* -- Occasion chips -- */
.occ-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: .3rem .75rem;
    font-size: .8rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: border-color .15s, color .15s, background .15s;
}
.occ-chip:hover { border-color: var(--accent); color: var(--accent); background: rgba(var(--accent-rgb),.05); }
.occ-chip-all { font-weight: 600; color: var(--accent); border-color: rgba(var(--accent-rgb),.3); }
.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}
.sidebar-card h4 {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin: 0 0 .75rem;
}

/* Stats */
.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .4rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: .88rem;
}
.stat-row:last-child { border-bottom: none; }
.stat-row .label { color: var(--text-secondary); display: flex; align-items: center; gap: .4rem; }
.stat-row .value { font-weight: 700; color: var(--text-primary); }

/* Expert Promo sidebar card */
.expert-promo-card .ep-free-badge {
    background: linear-gradient(135deg, #1a7a3c, #25a85a);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .28rem .7rem;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-bottom: .6rem;
}
.expert-promo-card p {
    font-size: .83rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 .85rem;
}
.expert-promo-card .ep-cat-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: .4rem;
}
.expert-promo-card .ep-cats {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    margin-bottom: .85rem;
}
.expert-promo-card .ep-cat-pill {
    font-size: .75rem;
    padding: .25rem .55rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .15s, color .15s;
}
.expert-promo-card .ep-cat-pill:hover { border-color: var(--accent); color: var(--accent); }
.expert-promo-card .ep-cat-pill i { margin-right: .25rem; font-size: .7rem; }
.expert-promo-card .ep-browse-btn {
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    border-radius: var(--radius-sm);
    padding: .6rem 1rem;
    display: block;
    text-align: center;
    text-decoration: none;
    transition: background .2s;
}
.expert-promo-card .ep-browse-btn:hover { background: var(--accent-hover); color: #fff; }
.expert-promo-card .ep-list-cta {
    display: block;
    text-align: center;
    color: var(--text-muted);
    font-size: .8rem;
    margin-top: .65rem;
    text-decoration: none;
}
.expert-promo-card .ep-list-cta.ep-free { color: #25a85a; font-weight: 600; }
.expert-promo-card .ep-list-cta:hover { text-decoration: underline; }

/* Top Hunters */
.hunter-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .38rem 0;
    border-bottom: 1px solid var(--border-light);
}
.hunter-row:last-child { border-bottom: none; }
.hunter-rank { width: 20px; font-size: .78rem; color: var(--text-muted); text-align: center; font-weight: 700; }
.hunter-rank.rank-1 { color: #d97706; }
.hunter-rank.rank-2 { color: #6b7280; }
.hunter-rank.rank-3 { color: #b45309; }
.hunter-info { flex: 1; min-width: 0; }
.hunter-name { font-size: .88rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hunter-badge { font-size: .74rem; color: var(--text-muted); }
.hunter-pts { font-size: .84rem; font-weight: 700; color: var(--accent); }
/* Recent Comments */
.recent-comment-link {
    display: block;
    padding: .55rem 0;
    border-bottom: 1px solid var(--border-light);
    color: inherit;
    text-decoration: none;
}
.recent-comment-link:last-child { border-bottom: none; }
.recent-comment-link:hover .recent-comment-body { color: var(--accent); }
.recent-comment-body {
    color: var(--text-primary);
    font-size: .84rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.recent-comment-meta {
    display: grid;
    gap: .16rem;
    margin-top: .35rem;
    color: var(--text-muted);
    font-size: .73rem;
    line-height: 1.35;
}
.recent-comment-meta span {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.recent-comment-meta i {
    width: 12px;
    color: var(--accent);
    margin-right: .22rem;
}

/* Categories */
.cat-list { list-style: none; margin: 0; padding: 0; }
.forum-sidebar-left .sidebar-card:first-child .cat-list {
    padding-right: .25rem;
}
.forum-sidebar-left .sidebar-card:first-child .cat-list::-webkit-scrollbar { width: 3px; }
.forum-sidebar-left .sidebar-card:first-child .cat-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.cat-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .42rem .55rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: .88rem;
    transition: background .15s, color .15s;
}
.cat-list li a:hover  { background: var(--bg-base); color: var(--text-primary); }
.cat-list li a.active { background: rgba(var(--accent-rgb),.08); color: var(--accent); font-weight: 600; }

/* -- Tagify pending tag style -------------------------------------------- */
.tagify__tag--pending {
    --tag-bg: rgba(229,163,0,.15);
    --tag-border-color: rgba(229,163,0,.4);
    --tag-text-color: #b07d00;
}
.tagify__tag--pending .tagify__tag-text {
    color: #b07d00;
    font-style: italic;
}
.tagify__dropdown__item { display: flex; align-items: center; }

/* Subcategory form group flash animation */
@keyframes subcatFlash {
    0%   { background: rgba(var(--accent-rgb),.12); border-color: var(--accent); }
    100% { background: transparent;       border-color: transparent; }
}
.subcat-flash {
    border-radius: 8px;
    border: 1px solid transparent;
    animation: subcatFlash .7s ease forwards;
}

/* Subcategory tree */
.subcat-list { list-style: none; margin: 0 0 .25rem 0; padding: 0; }
.subcat-list li a {
    display: block;
    padding: .32rem .55rem .32rem 1.4rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: .83rem;
    transition: background .15s, color .15s;
}
.subcat-list li a:hover  { background: var(--bg-base); color: var(--text-primary); }
.subcat-list li a.active { color: var(--accent); font-weight: 600; background: rgba(var(--accent-rgb),.06); }
.cat-parent > a .cat-arrow { transition: transform .2s; }

/* -- Main Feed -- */

/* Tab Bar */
.feed-controls {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: .55rem .65rem;
    box-shadow: var(--shadow-sm);
}
.tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    padding: .35rem .9rem;
    font-size: .88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
}
.tab-btn:hover { background: var(--bg-base); color: var(--text-primary); border-color: var(--border); }
.tab-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.expired-feed-toggle {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-left: auto;
    color: var(--text-muted);
    font-size: .82rem;
    cursor: pointer;
    white-space: nowrap;
}
.expired-feed-toggle input { accent-color: var(--accent); }

.province-pills {
    margin-left: auto;
    display: flex;
    gap: .3rem;
    flex-wrap: wrap;
}
.prov-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: 4px;
    padding: .22rem .55rem;
    font-size: .78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
}
.prov-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(var(--accent-rgb),.05); }
.prov-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* -- Deal Card -- */
.deal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    display: flex;
    gap: 1rem;
    padding: 0;
    margin-bottom: .6rem;
    transition: border-color .2s, box-shadow .2s;
    position: relative;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.deal-card:hover { box-shadow: var(--shadow-hover); }
.deal-card.is-expired { opacity: .55; }

/* Temperature Circle */
.temp-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    width: 64px;
}
.temp-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .95rem;
    border: 3px solid var(--border);
    position: relative;
    background: var(--bg-base);
}
.temp-circle svg { position: absolute; top: -3px; left: -3px; width: calc(100% + 6px); height: calc(100% + 6px); }
.temp-circle .temp-val { position: relative; z-index: 1; }
.temp-circle.temp-hot  { border-color: var(--hot);  color: var(--hot);  background: rgba(var(--accent-rgb),.06); }
.temp-circle.temp-warm { border-color: var(--warm); color: var(--warm); background: rgba(217,119,6,.06); }
.temp-circle.temp-cool { border-color: var(--cool); color: var(--cool); background: rgba(37,99,235,.06); }
.temp-label { font-size: .65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }

/* Deal Body / Card Content */
.deal-body, .card-content { flex: 1; min-width: 0; }
.deal-meta {
    display: flex;
    gap: .35rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: .4rem;
}
.badge-tag {
    font-size: .72rem;
    font-weight: 700;
    padding: .17rem .58rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.badge-hot   { background: rgba(var(--accent-rgb),.1);   color: var(--hot);  border: 1px solid rgba(var(--accent-rgb),.2); }
.badge-flash { background: rgba(217,119,6,.1);  color: var(--warm); border: 1px solid rgba(217,119,6,.2); }
.badge-local { background: rgba(37,99,235,.08); color: var(--cool); border: 1px solid rgba(37,99,235,.15); }
.badge-cat   { background: var(--bg-base); color: var(--text-secondary); border: 1px solid var(--border); }
.badge-store { background: var(--bg-base); color: var(--text-secondary); border: 1px solid var(--border); }
.badge-prov  { background: var(--bg-base); color: var(--text-muted); border: 1px solid var(--border-light); font-size: .68rem; }
.badge-expired { background: rgba(220,38,38,.08); color: var(--red); border: 1px solid rgba(220,38,38,.2); }

/* Deal-type badges */
.badge-dtype-freebie { background: rgba(111,66,193,.1);  color: #7c3aed; border: 1px solid rgba(111,66,193,.25); text-decoration: none; }
.badge-dtype-bogo    { background: rgba(25,135,84,.1);   color: #16a34a; border: 1px solid rgba(25,135,84,.25);  text-decoration: none; }
.badge-dtype-contest { background: rgba(13,110,253,.1);  color: #2563eb; border: 1px solid rgba(13,110,253,.25); text-decoration: none; }
.badge-dtype-flash   { background: rgba(220,53,69,.1);   color: #dc2626; border: 1px solid rgba(220,53,69,.25);  text-decoration: none; }
.badge-dtype-coupon  { background: rgba(253,126,20,.1);  color: #d97706; border: 1px solid rgba(253,126,20,.25); text-decoration: none; }
.badge-dtype-student { background: rgba(14,165,233,.1);  color: #0ea5e9; border: 1px solid rgba(14,165,233,.25); text-decoration: none; }
.badge-dtype-freebie:hover,.badge-dtype-bogo:hover,.badge-dtype-contest:hover,
.badge-dtype-flash:hover,.badge-dtype-coupon:hover,.badge-dtype-student:hover { opacity: .8; }

.deal-title {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 .4rem;
    line-height: 1.45;
}
.deal-title a { color: inherit; }
.deal-title a:hover { color: var(--accent); }

.deal-footer {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}
.deal-poster { font-size: .83rem; color: var(--text-muted); }
.deal-poster a { color: var(--accent); }
.deal-poster .verified { color: var(--green); font-size: .79rem; }

/* Vote + Actions */
.deal-actions { display: flex; align-items: center; gap: .45rem; margin-left: auto; }

.vote-btn {
    background: var(--bg-base);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: .32rem .75rem;
    font-size: .85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .35rem;
    transition: all .15s;
    font-weight: 500;
}
.vote-btn:hover { background: var(--bg-card-hover); color: var(--text-primary); border-color: var(--text-muted); }
.vote-btn.up:hover,   .vote-btn.up.active   { background: rgba(22,163,74,.08);  border-color: var(--green); color: var(--green); }
.vote-btn.down:hover, .vote-btn.down.active { background: rgba(220,38,38,.08); border-color: var(--red);   color: var(--red);   }

.comment-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: .85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .5rem;
    transition: color .15s;
    font-weight: 500;
}
.comment-btn:hover { color: var(--accent); }

.view-count-chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .82rem;
    color: var(--text-muted);
    padding: .3rem .45rem;
    cursor: default;
    white-space: nowrap;
}

.gotthis-btn {
    background: var(--accent);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    padding: .32rem .85rem;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(var(--accent-rgb),.25);
}
.gotthis-btn:hover  { background: var(--accent-hover); }
.gotthis-btn.active { background: var(--green); box-shadow: 0 1px 4px rgba(22,163,74,.25); }

/* Expired badge */
.expired-stamp {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: rgba(220,38,38,.08);
    color: var(--red);
    font-size: .69rem;
    font-weight: 700;
    padding: .15rem .5rem;
    border-radius: 20px;
    text-transform: uppercase;
    border: 1px solid rgba(220,38,38,.2);
}

/* -- Deal Detail Page -- */
.detail-wrap {
    max-width: 860px;
    margin: 2rem auto;
    padding: 0 1rem;
}
.detail-top-ad {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 1rem;
}
.deal-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.deal-detail-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 .4rem; line-height: 1.4; color: var(--text-primary); }
.deal-view-count { font-size: .8rem; color: var(--text-muted); margin-bottom: .85rem; display: flex; align-items: center; gap: .3rem; }
.deal-description { color: var(--text-secondary); font-size: 1rem; line-height: 1.75; white-space: pre-line; }
.price-row { display: flex; align-items: center; gap: 1rem; margin: 1rem 0; }
.price-sale { font-size: 1.75rem; font-weight: 800; color: var(--accent); }
.price-original { font-size: 1.05rem; color: var(--text-muted); text-decoration: line-through; }
.price-save { background: rgba(22,163,74,.1); color: var(--green); padding: .22rem .65rem; border-radius: 20px; font-size: .88rem; font-weight: 700; border: 1px solid rgba(22,163,74,.2); }

.detail-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    align-items: center;
}
@keyframes visitShimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes visitPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(var(--accent-rgb),.3); }
    50%       { box-shadow: 0 4px 18px rgba(var(--accent-rgb),.55); }
}
.btn-getdeal {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: .65rem 1.65rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(var(--accent-rgb),.3);
    animation: visitPulse 2.4s ease-in-out infinite;
    text-decoration: none;
}
.btn-getdeal-text {
    background: linear-gradient(90deg, #fff 30%, #d4e8a0 50%, #fff 70%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: visitShimmer 2.2s linear infinite;
}
.btn-getdeal:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 16px rgba(var(--accent-rgb),.5);
    transform: translateY(-1px);
}
.btn-getdeal:hover .btn-getdeal-text {
    background: linear-gradient(90deg, #fff 20%, #eeffc0 50%, #fff 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: visitShimmer 1.4s linear infinite;
}
.btn-callnow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: #16a34a;
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: .65rem 1.65rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(22,163,74,.3);
    animation: callPulse 2.6s ease-in-out infinite;
}
@keyframes callPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(22,163,74,.3); }
    50%       { box-shadow: 0 4px 18px rgba(22,163,74,.55); }
}
.btn-callnow:hover {
    background: #15803d;
    color: #fff;
    box-shadow: 0 4px 16px rgba(22,163,74,.5);
    transform: translateY(-1px);
}

/* Vote bar on detail */
.vote-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin: 1rem 0;
}
.vote-score { font-size: 1.1rem; font-weight: 700; min-width: 40px; text-align: center; color: var(--text-primary); }

/* Temperature bar on detail */
.temp-bar-wrap { display: flex; align-items: center; gap: .75rem; }
.temp-bar-label { font-size: .8rem; color: var(--text-muted); width: 60px; }
.temp-bar {
    flex: 1;
    height: 7px;
    background: var(--bg-base);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}
.temp-bar-fill { height: 100%; border-radius: 4px; transition: width .4s; }
.temp-bar-fill.temp-hot  { background: linear-gradient(90deg, var(--warm), var(--hot)); }
.temp-bar-fill.temp-warm { background: linear-gradient(90deg, #3b82f6, var(--warm)); }
.temp-bar-fill.temp-cool { background: var(--cool); }
.temp-val-label { font-size: .8rem; font-weight: 700; width: 36px; text-align: right; color: var(--text-primary); }

/* Comments */
.comments-section { margin-top: 1.5rem; margin-bottom: 1rem; }
.comments-section h3 { font-size: 1rem; font-weight: 700; margin: 0 0 1rem; color: var(--text-primary); }
.comment-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: .9rem 1rem;
    margin-bottom: .5rem;
    box-shadow: var(--shadow-sm);
}
.comment-author { font-size: .85rem; font-weight: 700; color: var(--accent); margin-bottom: .3rem; }
.comment-time   { font-size: .78rem; color: var(--text-muted); margin-left: .5rem; }
.comment-body   { color: var(--text-secondary); font-size: .93rem; line-height: 1.65; }

.comment-form {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: var(--shadow-sm);
}
.comment-form textarea {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .6rem .85rem;
    color: var(--text-primary);
    font-size: .9rem;
    resize: vertical;
    min-height: 80px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.comment-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.1); }
.comment-form input[type=text] {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .45rem .85rem;
    color: var(--text-primary);
    font-size: .88rem;
    outline: none;
    margin-bottom: .5rem;
    transition: border-color .2s;
}
.comment-form input[type=text]:focus { border-color: var(--accent); }

/* -- Post Deal Page -- */
.post-wrap {
    max-width: 700px;
    margin: 2rem auto;
    padding: 0 1rem;
}
.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}
.post-card h2 { font-size: 1.3rem; font-weight: 700; margin: 0 0 1.5rem; color: var(--text-primary); }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .85rem; color: var(--text-secondary); margin-bottom: .4rem; font-weight: 600; }
.form-control {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .55rem .9rem;
    color: var(--text-primary);
    font-size: .95rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.1); }
.form-control option { background: var(--bg-card); color: var(--text-primary); }
.form-row { display: flex; gap: .75rem; }
.form-row .form-group { flex: 1; }
.form-check { display: flex; align-items: center; gap: .5rem; margin-top: .35rem; }
.form-check input[type=checkbox] { accent-color: var(--accent); }
.form-check label { margin: 0; font-size: .85rem; color: var(--text-secondary); }

/* -- Deal Validity block ---------------------------------------------- */
.validity-block {
    margin: 1.1rem 0;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 12px;
    overflow: hidden;
}
.validity-header {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .7rem 1rem;
    background: rgba(229,57,53,.07);
    border-bottom: 1px solid rgba(229,57,53,.2);
    font-size: .88rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: .01em;
}
.validity-header i { font-size: 1rem; }
.validity-badge {
    margin-left: auto;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    background: var(--accent);
    color: #fff;
    border-radius: 20px;
    padding: .15rem .6rem;
}
.validity-options {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: .65rem .75rem;
}
.validity-card {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .7rem .85rem;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    background: transparent;
    transition: background .15s, border-color .15s;
    user-select: none;
    margin-bottom: .3rem;
}
.validity-card:last-child { margin-bottom: 0; }
.validity-card:hover {
    background: var(--bg-base);
    border-color: var(--border);
}
.validity-card.selected {
    background: var(--bg-base);
    border-color: var(--accent);
}
.validity-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.validity-card-body {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    flex: 1;
    min-width: 0;
}
.validity-card-body strong {
    font-size: .9rem;
    font-weight: 700;
    color: var(--text-primary);
}
.validity-card-body span {
    font-size: .78rem;
    color: var(--text-muted);
}
.validity-card-check {
    font-size: 1.1rem;
    color: var(--border);
    flex-shrink: 0;
    transition: color .15s;
}
.validity-card.selected .validity-card-check { color: var(--accent); }
.validity-card.selected .validity-card-body strong { color: var(--accent); }

/* date fields panel */
.deal-dates-inner {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: flex-end;
    margin: 0 .75rem .75rem;
    padding: .85rem 1rem;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: 8px;
}
.deal-date-field { display: flex; flex-direction: column; gap: .3rem; flex: 1; min-width: 140px; }
.deal-date-sublabel {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: .02em;
    text-transform: uppercase;
}
.deal-date-sublabel i { color: var(--accent); font-size: .72rem; }
.deal-date-sep {
    color: var(--text-muted);
    font-size: .9rem;
    padding-bottom: .5rem;
    flex-shrink: 0;
}
.validity-hint {
    display: flex;
    gap: .4rem;
    align-items: flex-start;
    font-size: .78rem;
    color: var(--text-muted);
    padding: .5rem 1rem .75rem;
    border-top: 1px solid var(--border-light);
}
@media (max-width: 600px) {
    .validity-options { padding: .4rem; }
    .deal-dates-inner { flex-direction: column; }
    .deal-date-sep { display: none; }
}

/* -- Progress bar -- */
.progress-wrap { text-align: center; padding: 1.5rem; display: none; }
.progress-wrap .spinner {
    width: 32px; height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    margin: 0 auto .75rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* -- Empty state -- */
.empty-state {
    background: var(--bg-card);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 1rem;
}
.empty-state .es-icon { font-size: 2.5rem; margin-bottom: .75rem; color: var(--text-muted); }
.empty-state p { color: var(--text-muted); margin-bottom: 1.25rem; font-size: 1rem; }
.empty-state .btn-post { display: inline-block; width: auto; max-width: 100%; box-sizing: border-box; }

/* -- Footer -- */
footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
}

/* -- Auth Modal (light) -- */
#auth-modal > div {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-md) !important;
}

/* -- Responsive -- */
/* -- Responsive -- */

/* Mobile search bar */
/* Mobile search modal overlay */
.mob-search-bar {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9200;
    background: rgba(0,0,0,.55);
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
}
.mob-search-bar.open { display: flex; }
.mob-search-inner {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
    width: 92%;
    max-width: 480px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    position: relative;
}
.mob-search-bar > div:first-child { position: relative; flex: 1; }
.mob-search-btn { display: none; }
.mob-bottom-nav { display: none; }

@media (max-width: 900px) {
    body { padding-top: 56px; }
    .forum-sidebar { display: none; }
    .forum-wrap { margin-bottom: 70px; }
    /* Special sections wraps to 2 columns on tablet/mobile */
    .ss-horizontal .ss-item { flex: 1 1 calc(50% - .5rem); }
}

/* -- iPad / Tablet (641px � 900px): icon-only compact nav -------------- */
@media (min-width: 641px) and (max-width: 900px) {
    .forum-nav { padding: 0 1rem; gap: .55rem; height: 56px; }
    /* Keep full brand name on tablet � enough room */
    .forum-nav .brand .brand-full { display: inline; }
    .forum-nav .brand .brand-dot-full { display: inline; }
    .forum-nav .brand .brand-short { display: none; }
    .forum-nav .brand { font-size: 1.05rem; }
    .forum-nav .search-wrap { max-width: 240px; }
    .forum-nav .search-wrap input { font-size: .88rem; padding: .45rem .85rem .45rem 2.2rem; }
    .forum-nav .nav-actions { gap: .3rem; }
    /* Hide text labels on tablets, keep icons */
    .forum-nav .post-label { display: none; }
    .forum-nav .btn-ghost .fa { margin: 0; }
    .ctr-label, .ctr-chevron { display: none; }
    /* Keep country flag visible */
    .nav-country-btn { padding: .38rem .45rem; }
    /* User chip: show avatar + name but hide chevron */
    .nav-user-chip .fa-chevron-down { display: none !important; }
    /* Post button compact */
    .forum-nav .btn-post {
        padding: .42rem .8rem;
        font-size: .84rem;
        gap: .3rem;
    }
    .forum-nav .btn-post .fa { display: inline; }
    /* Touch target minimum */
    .btn-ghost { min-width: 36px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 640px) {
    body { padding-top: 54px; }
    .forum-nav { padding: 0 .75rem; gap: .3rem; height: 54px; }
    /* Scale logo slightly smaller on mobile */
    .forum-nav .brand-logo { height: 45px; }
    .forum-nav .brand { font-size: 1.15rem; letter-spacing: -.3px; }
    /* Hide desktop-only nav items */
    .forum-nav .community-label,
    .forum-nav .divider,
    .forum-nav .search-wrap,
    .nav-mainsite,
    .nav-community { display: none !important; }
    /* Hide occasions nav on mobile � accessible via Specials bottom sheet */
    .nav-occasions-wrap { display: none !important; }
    /* Show the mobile search toggle button */
    .mob-search-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 34px; height: 34px;
        padding: 0;
        background: transparent;
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        color: var(--text-secondary);
        cursor: pointer;
        font-size: .92rem;
    }
    /* Hide country chevron only, keep flag + label visible */
    .ctr-chevron { display: none; }
    .nav-country-btn { padding: .2rem .35rem; min-width: 34px; min-height: 34px; justify-content: center; }
    .forum-nav .nav-actions { gap: .25rem; }
    /* Hide all button text labels in nav on mobile */
    .forum-nav .post-label { display: none; }
    .forum-nav .btn-ghost .fa { margin: 0; }
    /* Sign In: icon-only true circle */
    .btn-ghost-signin {
        display: none;
    }
    /* Post button: true circle with fixed size */
    .forum-nav .btn-post {
        width: 36px; height: 36px;
        min-width: 36px; min-height: 36px;
        padding: 0;
        border-radius: 50%;
        font-size: 1rem;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .btn-ghost { padding: .38rem .45rem; font-size: .82rem; min-width: 34px; min-height: 34px; }
    /* mob-search-bar shown/hidden by JS only */
    .province-pills { display: none; }
    .deal-actions { flex-wrap: wrap; gap: .35rem; }
    .forum-wrap { padding: 0 1rem; margin-top: 1rem; margin-bottom: 80px; box-sizing: border-box; width: 100%; }
    .deal-card { padding: 0; }
    .deal-title { font-size: 1rem; }
    .filter-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: .35rem;
        padding-bottom: .25rem;
    }
    .filter-tabs::-webkit-scrollbar { display: none; }
    .filter-tab { white-space: nowrap; flex-shrink: 0; }
    /* Empty state mobile tweaks */
    .empty-state { padding: 2rem 1.25rem; }
    .empty-state .btn-post { border-radius: 24px; padding: .6rem 1.25rem; font-size: .88rem; }

    /* -- Hamburger / mobile-only top-bar icons -- */
    .mob-hamburger { display: flex; align-items: center; justify-content: center; font-size: 1.1rem; order: -1; }
    .mob-top-bell  { display: flex; align-items: center; justify-content: center; font-size: 1.05rem; position: relative; }
    .mob-top-bell.has-unread {
        background: #dc2626 !important;
        border-color: #dc2626 !important;
        color: #fff !important;
        box-shadow: 0 0 0 3px rgba(220,38,38,.16), 0 4px 12px rgba(220,38,38,.28);
    }
    .mob-top-bell.has-unread:hover,
    .mob-top-bell.has-unread:focus {
        background: var(--red) !important;
        border-color: var(--red) !important;
        color: #fff !important;
    }
    .mob-top-bell.has-unread .fa-bell { color: #fff !important; }
    .mob-top-post  { display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }

    /* notification bell wrapper + badge (used in top bar) */
    .mob-notif-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; }
    .mob-notif-badge {
        position: absolute; top: -6px; right: -6px;
        background: var(--hot, var(--red)); color: #fff;
        font-size: .6rem; font-weight: 800; line-height: 1;
        min-width: 14px; height: 14px;
        border-radius: 8px; padding: 0 3px;
        display: flex; align-items: center; justify-content: center;
        border: 1.5px solid var(--bg-card, #fff);
        pointer-events: none;
    }
}

/* Desktop: hide mobile-only icons */
.mob-top-bell,
.mob-post-fab { display: none; }

/* Hamburger always visible - desktop + mobile */
.mob-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Items moved into drawer - hidden on all breakpoints */
.nav-community,
.nav-saved { display: none !important; }

/* -- Slide Drawer (mobile only, outside media query so it works globally) -- */
.mob-drawer-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 8000;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity .25s ease;
}
.mob-drawer-overlay--visible {
    display: block;
    opacity: 1;
}
.mob-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(82vw, 300px);
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    z-index: 8100;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    box-shadow: 4px 0 32px rgba(0,0,0,.22);
    overflow: hidden;
    z-index: 99999;
}
@media (min-width: 641px) {
    .mob-drawer { width: 280px; }
}
.mob-drawer--open { transform: translateX(0); }

/* Drawer profile header */
.mob-drawer-profile {
    display: flex; align-items: center; gap: .75rem;
    padding: 1.1rem 1rem .9rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #fff; flex-shrink: 0;
}
.mob-drawer-profile--guest { background: var(--bg-base); border-bottom: 1px solid var(--border); }
.mob-drawer-profile--guest .mob-drawer-name,
.mob-drawer-profile--guest .mob-drawer-username { color: var(--text-primary); }
.mob-drawer-profile--guest .mob-drawer-close { color: var(--text-muted); }
.mob-drawer-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.4);
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem; font-weight: 800; flex-shrink: 0; color: #fff;
}
.mob-drawer-avatar--guest { background: var(--border); color: var(--text-muted); border-color: var(--border); }
.mob-drawer-name { font-size: .95rem; font-weight: 700; line-height: 1.2; color: #fff; }
.mob-drawer-username { font-size: .72rem; opacity: .8; margin-top: .1rem; color: rgba(255,255,255,.85); word-break: break-all; }
.mob-drawer-close {
    margin-left: auto; flex-shrink: 0; background: none; border: none;
    color: rgba(255,255,255,.9); cursor: pointer; font-size: 1.15rem;
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.mob-drawer-close:hover { background: rgba(255,255,255,.15); }

/* Drawer body */
.mob-drawer-body { flex: 1; overflow-y: auto; padding: .5rem 0 2rem; }
.mob-drawer-item {
    display: flex; align-items: center; gap: .75rem;
    padding: .78rem 1.1rem;
    color: var(--text-primary); text-decoration: none;
    font-size: .93rem; font-weight: 500;
    background: none; border: none; width: 100%; cursor: pointer;
    text-align: left; transition: background .12s, color .12s;
}
.mob-drawer-item i { width: 1.15rem; text-align: center; color: var(--accent); font-size: .95rem; flex-shrink: 0; }
.mob-drawer-item:hover,
.mob-drawer-item:active { background: var(--bg-base); color: var(--accent); }
.mob-drawer-item--active { color: var(--accent); font-weight: 700; }
.mob-drawer-item--signout { color: var(--red) !important; }
.mob-drawer-item--signout i { color: var(--red) !important; }
.mob-drawer-divider { height: 1px; background: var(--border); margin: .35rem 0; }

/* -- Post FAB (bottom-center, mobile only) -- */
.mob-post-fab {
    position: fixed; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--accent, var(--red)); color: #fff;
    display: none;
    align-items: center; justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.28), 0 2px 8px rgba(0,0,0,.18);
    z-index: 7950; text-decoration: none;
    transition: transform .15s, box-shadow .15s;
    border: 3px solid rgba(255,255,255,.25);
}
.mob-post-fab:hover,
.mob-post-fab:active { transform: translateX(-50%) scale(1.1); box-shadow: 0 6px 28px rgba(0,0,0,.32); }

@media (max-width: 640px) {
    /* show Post FAB on mobile */
    .mob-post-fab { display: flex; }

    /* show mobile-only top-bar icons */
    .mob-hamburger { display: flex !important; }
    .mob-top-bell  { display: flex !important; }

    /* improved mobile search bar */
    .mob-search-bar > div:first-child input {
        font-size: .93rem;
        padding: .55rem 1rem .55rem 2.6rem;
    }
}
/* -- Auth Modal inputs -- */
#auth-modal input[type="email"],
#auth-modal input[type="password"],
#auth-modal input[type="text"] {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    transition: border-color .15s;
}
#auth-modal input[type="email"]:focus,
#auth-modal input[type="password"]:focus,
#auth-modal input[type="text"]:focus {
    border-color: var(--accent) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.12);
}
#auth-modal .auth-tab {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: color .15s, border-color .15s;
}


/* -- Member Profile Page ------------------------------------------------ */
/* -- Member Profile (new layout) ---------------------------- */
.mpr-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
    max-width: 1080px;
    margin: 2rem auto;
    padding: 0 1rem;
    align-items: start;
}

/* Identity card � sticky sidebar */
.mpr-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem 1.5rem;
    position: sticky;
    top: 72px;
}

.mpr-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
}

.mpr-avatar {
    width: 84px; height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #000));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.85rem; font-weight: 700; color: #fff;
    box-shadow: 0 0 0 4px var(--bg-card), 0 0 0 6px var(--badge-color, var(--accent));
}

.mpr-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    padding: .25rem .7rem;
    border-radius: 20px;
}

.mpr-name-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-bottom: .3rem;
    text-align: center;
}

.mpr-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.mpr-edit-btn {
    background: none; border: none; cursor: pointer;
    color: var(--text-muted);
    font-size: .85rem;
    padding: .15rem .3rem;
    border-radius: 4px;
    transition: color .15s;
    flex-shrink: 0;
}
.mpr-edit-btn:hover { color: var(--accent); }

.mpr-since {
    font-size: .78rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1rem;
    display: flex; align-items: center; justify-content: center; gap: .35rem;
}

.mpr-score-wrap {
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .75rem 1rem;
    text-align: center;
    margin-bottom: .85rem;
}
.mpr-score-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: .2rem;
}
.mpr-score-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.mpr-divider {
    height: 1px;
    background: var(--border);
    margin: .85rem 0;
}

/* Stats list */
.mpr-stats {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.mpr-stats li {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.mpr-stat-icon {
    width: 32px; height: 32px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}
.mpr-stat-body {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.mpr-stat-body strong {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-primary);
}
.mpr-stat-body em {
    font-style: normal;
    font-size: .74rem;
    color: var(--text-muted);
}

/* Feed column */
.mpr-feed {
    min-width: 0;
}

.mpr-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--border);
}
.mpr-feed-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex; align-items: center; gap: .5rem;
}
.mpr-feed-count {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: .15rem .6rem;
}

/* Mobile: stack to single column */
@media (max-width: 720px) {
    .mpr-layout {
        grid-template-columns: 1fr;
    }
    .mpr-card {
        position: static;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: .75rem 1.25rem;
        padding: 1.25rem;
        align-items: start;
    }
    .mpr-avatar-wrap {
        grid-row: 1 / 3;
        margin-bottom: 0;
    }
    .mpr-name-wrap { justify-content: flex-start; margin-bottom: .1rem; }
    .mpr-since { justify-content: flex-start; margin-bottom: 0; }
    .mpr-score-wrap { grid-column: 1 / -1; }
    .mpr-divider { grid-column: 1 / -1; }
    .mpr-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2,1fr); }
}

/* -- Legacy profile classes kept for backward compat ------- */
.profile-wrap {
    max-width: 860px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.profile-hero {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.profile-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-hover));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; font-weight: 700; color: #fff;
    flex-shrink: 0;
}

.profile-name {
    font-size: 1.5rem; font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 .25rem;
}

.profile-since {
    font-size: .86rem;
    color: var(--text-muted);
    display: flex; align-items: center; gap: .4rem;
}

/* Stats row */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .75rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 600px) {
    .profile-stats { grid-template-columns: repeat(2, 1fr); }
    .profile-hero  { flex-direction: column; text-align: center; }
}

.pstat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .85rem;
}

.pstat-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.pstat-value {
    font-size: 1.4rem; font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}

.pstat-label {
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: .1rem;
}

/* Section */
.profile-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

.profile-section-title {
    font-size: 1rem; font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1.25rem;
    display: flex; align-items: center; gap: .5rem;
}

/* Deal grid cards */
.profile-deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: .85rem;
}

.pdeal-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .9rem 1rem;
    background: var(--bg-base);
    display: flex; flex-direction: column; gap: .45rem;
    transition: box-shadow .15s, border-color .15s;
    color: var(--text-primary);
}

.pdeal-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
    color: var(--text-primary);
}

.pdeal-card.is-expired { opacity: .6; }

.pdeal-top { display: flex; gap: .4rem; flex-wrap: wrap; }

.pdeal-title {
    font-size: .93rem; font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pdeal-meta { display: flex; align-items: center; gap: .6rem; }

.pdeal-price {
    font-size: .95rem; font-weight: 700; color: var(--accent-hover);
}

.pdeal-save {
    background: rgba(22,163,74,.12); color: #16a34a;
    font-size: .72rem; font-weight: 700;
    padding: .1rem .4rem; border-radius: 4px;
}

.pdeal-footer {
    display: flex; align-items: center; gap: .75rem;
    font-size: .75rem; color: var(--text-muted);
    margin-top: auto; padding-top: .35rem;
    border-top: 1px solid var(--border-light);
}

.pdeal-date { margin-left: auto; }

/* -- Share Buttons ------------------------------------------------------ */
.share-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: .85rem;
    border-top: 1px solid var(--border-light);
}

.share-label {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: .25rem;
    display: flex;
    align-items: center;
    gap: .35rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    font-size: .85rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform .15s, opacity .15s;
    color: #fff;
}

.share-btn:hover { transform: scale(1.12); opacity: .9; color: #fff; }

.share-fb { background: #1877f2; }
.share-tw { background: #000000; }
.share-rd { background: #ff4500; }
.share-wa { background: #25d366; }
.share-em { background: #6b7280; }
.share-cp { background: var(--accent); }

/* -- Nav User Chip & Dropdown ------------------------------------------- */
.nav-user-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: 24px;
    padding: .3rem .75rem .3rem .35rem;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
    position: relative;
    user-select: none;
}
.nav-user-chip:hover { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(186,24,27,.08); }

.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ba181b, #6a040f);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-username {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-primary);
    max-width: 110px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.nav-username-badge {
    font-size: .65rem;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    width: 16px; height: 16px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
    0%,100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb),.4); }
    50%      { box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.0); }
}

/* Dropdown */
.nav-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + .5rem);
    right: 0;
    min-width: 180px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    z-index: 500;
    overflow: hidden;
    flex-direction: column;
}
.nav-user-dropdown.open { display: flex; }

.nud-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem 1rem;
    font-size: .85rem;
    color: var(--text-secondary);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background .12s;
    text-decoration: none;
}
.nud-item:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.nud-item i { width: 14px; text-align: center; color: var(--text-muted); }

.nud-divider { height: 1px; background: var(--border-light); margin: .25rem 0; }

.nud-signout:hover { color: var(--red); }
.nud-signout:hover i { color: var(--red); }

/* Wrap the chip parent in a relative container */
.nav-actions { position: relative; }

/* Profile is the final nav action and stays compact at every breakpoint. */
.nav-user-chip {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 3px;
    gap: 0;
    border-radius: 50%;
    justify-content: center;
    box-sizing: border-box;
}
.nav-user-chip .nav-username,
.nav-user-chip .nav-username-badge,
.nav-user-chip .fa-chevron-down {
    display: none !important;
}
.nav-user-chip .nav-avatar {
    width: 30px;
    height: 30px;
    overflow: hidden;
}
.nav-user-chip .nav-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
/* -- Pagination -------------------------------------------------------- */
.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .35rem;
    margin: 1.5rem 0 .75rem;
}
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 .65rem;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: .88rem;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
    cursor: pointer;
}
.page-btn:hover { background: var(--bg-card-hover); border-color: var(--accent); color: var(--accent); }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; cursor: default; }
.page-btn.disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }
.page-ellipsis { color: var(--text-muted); font-size: .88rem; padding: 0 .25rem; line-height: 36px; }

/* --------------------------------------------------
   AUTOCOMPLETE DROPDOWN
   -------------------------------------------------- */
.ac-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    z-index: 9000;
    overflow: hidden;
    max-height: 480px;
    overflow-y: auto;
}
.ac-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .85rem;
    cursor: pointer;
    transition: background .1s;
    border-bottom: 1px solid var(--border-light);
}
.ac-item:last-of-type { border-bottom: none; }
.ac-item:hover, .ac-item.ac-active { background: var(--bg-card-hover); }
.ac-img {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-base);
    border: 1px solid var(--border-light);
}
.ac-img-ph {
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 1rem;
}
.ac-info { flex: 1; min-width: 0; }
.ac-title {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.ac-sub {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-top: .18rem;
    flex-wrap: wrap;
}
.ac-store { font-size: .75rem; color: var(--text-muted); }
.ac-price { font-size: .82rem; font-weight: 700; color: var(--accent); }
.ac-save  { font-size: .72rem; background: rgba(63,185,80,.13); color: #3fb950;
            padding: .05rem .35rem; border-radius: 4px; font-weight: 600; }
.ac-footer {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem .85rem;
    font-size: .82rem;
    color: var(--text-secondary);
    background: var(--bg-base);
    border-top: 1px solid var(--border-light);
    text-decoration: none;
    transition: color .15s;
}
.ac-footer:hover { color: var(--accent); }

/* --------------------------------------------------
   SEARCH RESULTS PAGE
   -------------------------------------------------- */

/* Full-width single-column override for search page */
.sr-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
    width: 100%;
    box-sizing: border-box;
}

.sr-hero {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    padding: 2rem 1rem 1.5rem;
    margin-bottom: 1.5rem;
}
.sr-hero-inner {
    max-width: 860px;
    margin: 0 auto;
}
.sr-hero h1 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
}
.sr-hero h1 span { color: var(--accent); }

.sr-form {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: 100%;
}
.sr-input-wrap {
    flex: 1;
    position: relative;
    min-width: 0;
}
.sr-icon {
    position: absolute;
    left: 1rem; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: .95rem;
    pointer-events: none;
}
.sr-input {
    width: 100%;
    background: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: 28px;
    padding: .75rem 2.8rem .75rem 2.8rem;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
    font-family: inherit;
}
.sr-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.1);
}
.sr-input::placeholder { color: var(--text-muted); }
.sr-clear {
    position: absolute;
    right: .85rem; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: .9rem;
    padding: 0;
    line-height: 1;
}
.sr-clear:hover { color: var(--text-primary); }
.sr-btn {
    border-radius: 28px;
    padding: .75rem 1.6rem;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: .95rem;
}

/* Meta bar */
.sr-meta {
    font-size: .88rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding: .55rem .85rem;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.sr-meta strong { color: var(--text-primary); }
.sr-meta .sr-meta-icon { color: var(--accent); font-size: .8rem; }

/* Feed */
#sr-feed { display: flex; flex-direction: column; gap: .75rem; }

/* Search result card */
.sr-card {
    display: grid !important;
    grid-template-columns: 90px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem !important;
}
.sr-thumb-wrap {
    width: 90px; height: 90px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.sr-thumb {
    width: 100%; height: 100%;
    object-fit: cover;
}
.sr-thumb-placeholder {
    background:
        radial-gradient(circle at 30% 20%, rgba(var(--accent-rgb), .18), transparent 42%),
        linear-gradient(135deg, rgba(var(--accent-rgb), .10), var(--bg-base));
    color: var(--accent);
    text-decoration: none;
}
.sr-thumb-placeholder i {
    font-size: 1.45rem;
    opacity: .95;
}
.sr-body { min-width: 0; }
.sr-snippet {
    font-size: .82rem;
    color: var(--text-muted);
    margin: .2rem 0 .45rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
mark.sr-hl {
    background: rgba(var(--accent-rgb),.12);
    color: var(--accent);
    font-weight: 700;
    border-radius: 2px;
    padding: 0 .1rem;
}

@media (max-width: 640px) {
    /* Hero � compact when a query is active */
    .sr-hero { padding: 1rem .85rem .85rem; }
    .sr-hero h1 { font-size: 1rem; margin-bottom: .6rem; }
    .sr-hero--has-query { padding: .65rem .85rem; }
    .sr-hero--has-query h1 { display: none; }   /* hide "Results for X" � the form says it all */

    /* Form � icon-only submit button */
    .sr-form { gap: .4rem; }
    .sr-btn-text { display: none; }             /* hide "Search" label, keep icon */
    .sr-btn {
        padding: 0;
        width: 44px; height: 44px;
        display: flex; align-items: center; justify-content: center;
        border-radius: 50%;
        flex-shrink: 0;
        font-size: 1rem;
    }

    /* Input */
    .sr-input { font-size: .93rem; padding: .6rem 2.4rem .6rem 2.5rem; }
    .sr-icon { left: .8rem; font-size: .85rem; }
    .sr-clear { right: .7rem; }

    /* Meta bar � single line, truncate hint */
    .sr-meta {
        font-size: .8rem;
        padding: .4rem .7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;          /* override flex so text-overflow works */
        margin-bottom: .75rem;
    }
    .sr-meta-hint { display: none; }            /* "� try a different keyword" / "for X" */
    .sr-meta-kw { color: var(--accent); }

    /* Cards */
    .sr-card { grid-template-columns: 70px 1fr; gap: .55rem; padding: .75rem !important; }
    .sr-thumb-wrap { width: 70px; height: 70px; }

    /* Empty state � less vertical breathing room */
    .sr-page .empty-state { padding: 1.5rem 1rem; }
    .sr-page .es-icon { font-size: 2rem; margin-bottom: .5rem; }
    .sr-page .empty-state p { font-size: .9rem; }

    /* Page � clear bottom nav */
    .sr-page { padding-bottom: 5rem; }
}

/* ----------------------------------------------------------------------
   SPECIAL LANDING PAGES  (Freebies / BOGO / Contests / Flash / Coupons)
   ---------------------------------------------------------------------- */

/* Hero */
.sp-hero {
    border-bottom: 1px solid var(--border-light);
    padding: 2rem 1.5rem 0;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
}
.sp-hero-inner { max-width: 860px; margin: 0 auto; }

/* Breadcrumb */
.sp-breadcrumb {
    font-size: .78rem;
    color: var(--text-muted);
    margin-bottom: .85rem;
    display: flex; align-items: center; gap: .35rem;
}
.sp-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.sp-breadcrumb a:hover { color: var(--accent); }
.sp-breadcrumb i { font-size: .6rem; }

/* Hero body */
.sp-hero-body {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: nowrap;
}
.sp-hero-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    background: rgba(var(--accent-rgb),.1);
    color: var(--accent);
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.sp-h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 .3rem;
    line-height: 1.15;
    letter-spacing: -.02em;
}
.sp-hero-text {
    flex: 1;
    min-width: 0;
}
.sp-subtext {
    font-size: .9rem;
    color: var(--text-secondary);
    margin: 0;
    max-width: 560px;
    line-height: 1.55;
    font-weight: 400;
}
.sp-post-btn {
    margin-left: auto;
    border-radius: 24px;
    padding: .55rem 1.2rem;
    font-size: .88rem;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
}

/* Colour tints per section */
.sp-hero--freebies      .sp-hero-icon { background: rgba(111,66,193,.12); color: #7c3aed; }
.sp-hero--bogo          .sp-hero-icon { background: rgba(25,135,84,.12);  color: #16a34a; }
.sp-hero--contests      .sp-hero-icon { background: rgba(234,179,8,.15);  color: #ca8a04; }
.sp-hero--flash         .sp-hero-icon { background: rgba(220,53,69,.12);  color: #dc2626; }
.sp-hero--coupons       .sp-hero-icon { background: rgba(253,126,20,.12); color: #d97706; }
.sp-hero--student-deals .sp-hero-icon { background: rgba(14,165,233,.12); color: #0ea5e9; }
.sp-hero--occasions     .sp-hero-icon { background: rgba(227,0,0,.10); color: var(--accent); }

/* Filter pills */
.sp-pills {
    display: flex;
    gap: .45rem;
    flex-wrap: wrap;
    padding-bottom: .75rem;
}
.sp-pill {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .35rem .85rem;
    border-radius: 20px;
    font-size: .82rem;
    font-weight: 500;
    border: 1.5px solid var(--border);
    color: var(--text-secondary);
    background: var(--bg-base);
    text-decoration: none;
    transition: border-color .15s, color .15s, background .15s;
    white-space: nowrap;
}
.sp-pill:hover { border-color: var(--accent); color: var(--accent); }
.sp-pill--active { background: var(--accent); border-color: var(--accent); color: #fff; }
.sp-pill--active:hover { color: #fff; }
.sp-pill-count {
    background: rgba(255,255,255,.25);
    border-radius: 20px;
    padding: 0 .4rem;
    font-size: .72rem;
}
.sp-pill--active .sp-pill-count { background: rgba(255,255,255,.3); }

/* Page body */
.sp-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
    box-sizing: border-box;
    width: 100%;
}
.sp-count-line {
    font-size: .84rem;
    color: var(--text-muted);
    margin-bottom: .85rem;
}
#sp-feed { display: flex; flex-direction: column; gap: .75rem; }

/* FAQ */
.sp-faq {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}
.sp-faq-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
}
.sp-faq-list { display: flex; flex-direction: column; gap: .5rem; }
.sp-faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.sp-faq-q {
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: .85rem 1rem;
    cursor: pointer;
    list-style: none;
    display: flex; align-items: center; justify-content: space-between;
    user-select: none;
}
.sp-faq-q::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .65rem;
    color: var(--text-muted);
    transition: transform .2s;
    flex-shrink: 0;
}
details[open] > .sp-faq-q::after { transform: rotate(90deg); }
.sp-faq-a {
    font-size: .875rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    padding: 0 1rem 1rem;
}
.sp-faq-disclaimer {
    margin-top: 1.1rem;
    padding: .75rem 1rem;
    background: rgba(var(--accent-rgb),.04);
    border: 1px solid rgba(var(--accent-rgb),.15);
    border-radius: var(--radius-sm);
    font-size: .78rem;
    color: var(--text-muted);
    line-height: 1.65;
}
.sp-faq-disclaimer i { color: var(--accent); margin-right: .3rem; }
.sp-faq-disclaimer strong { color: var(--text-secondary); }

/* Deal card description snippet */
.deal-snippet {
    font-size: .82rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-muted);
    line-height: 1.55;
    margin: .3rem 0 .5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Deal type picker on Post form */
.dtype-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .35rem;
}
.dtype-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .4rem .9rem;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-base);
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
    user-select: none;
}
.dtype-pill input[type="radio"] { display: none; }
.dtype-pill:hover { border-color: var(--accent); }
.dtype-pill.selected { border-color: var(--accent); background: rgba(var(--accent-rgb),.08); color: var(--accent); font-weight: 600; }
.dtype-freebie.selected { border-color: #7c3aed; background: rgba(111,66,193,.1); color: #7c3aed; }
.dtype-bogo.selected    { border-color: #16a34a; background: rgba(25,135,84,.1);  color: #16a34a; }
.dtype-contest.selected { border-color: #2563eb; background: rgba(13,110,253,.1); color: #2563eb; }
.dtype-flash.selected   { border-color: #dc2626; background: rgba(220,53,69,.1);  color: #dc2626; }
.dtype-coupon.selected  { border-color: #d97706; background: rgba(253,126,20,.1); color: #d97706; }
.dtype-student.selected { border-color: #0ea5e9; background: rgba(14,165,233,.1); color: #0ea5e9; }

@media (max-width: 640px) {
    /* Hero shell */
    .sp-hero { padding: 1.1rem 1rem 0; }

    /* Hero body: keep icon + text + button on one line, no wrap */
    .sp-hero-body { gap: .6rem; flex-wrap: nowrap; align-items: center; margin-bottom: .85rem; }
    .sp-hero-icon { width: 38px; height: 38px; font-size: 1rem; border-radius: 10px; flex-shrink: 0; }
    .sp-hero-text { flex: 1; min-width: 0; }
    .sp-h1 { font-size: 1.1rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em; }
    .sp-subtext { display: none; }

    /* Post button: icon-only circle on mobile */
    .sp-post-label { display: none; }
    .sp-post-btn {
        padding: 0;
        width: 38px; height: 38px;
        display: flex; align-items: center; justify-content: center;
        border-radius: 50%;
        flex-shrink: 0;
        margin-left: auto;
    }

    /* Category filter pills: horizontal scroll, no wrap */
    .sp-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: .4rem;
        padding-bottom: .6rem;
        /* fade-out right edge hint */
        -webkit-mask-image: linear-gradient(to right, #000 85%, transparent 100%);
        mask-image: linear-gradient(to right, #000 85%, transparent 100%);
    }
    .sp-pills::-webkit-scrollbar { display: none; }
    .sp-pill { flex-shrink: 0; padding: .28rem .7rem; font-size: .76rem; }

    /* Province row: horizontal scroll, no wrap */
    .sp-prov-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: .3rem;
        padding-bottom: .7rem;
        margin-top: .4rem;
        -webkit-mask-image: linear-gradient(to right, #000 85%, transparent 100%);
        mask-image: linear-gradient(to right, #000 85%, transparent 100%);
    }
    .sp-prov-row::-webkit-scrollbar { display: none; }
    .sp-prov-label { flex-shrink: 0; font-size: .7rem; }
    .sp-prov-btn { flex-shrink: 0; padding: .2rem .55rem; font-size: .7rem; }

    /* Page body */
    .sp-page { padding: 0 .85rem 5.5rem; }
    .sp-count-line { font-size: .78rem; margin-bottom: .65rem; }

    /* Deal type post-form pills */
    .dtype-pills { gap: .35rem; }
    .dtype-pill { font-size: .76rem; padding: .32rem .65rem; }
}

/* ----------------------------------------------------------------------
   COUPON CODE CHIP
   ---------------------------------------------------------------------- */
.coupon-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(253,126,20,.08);
    border: 1.5px dashed rgba(253,126,20,.5);
    border-radius: 8px;
    padding: .4rem .75rem;
    margin: .4rem 0 .5rem;
    max-width: 100%;
}
.coupon-chip-icon {
    color: #d97706;
    font-size: .8rem;
    flex-shrink: 0;
}
.coupon-chip-code {
    font-family: 'Courier New', Courier, monospace;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: #d97706;
    user-select: all;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.coupon-chip-copy {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: #d97706;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: .25rem .65rem;
    font-size: .75rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .15s, transform .1s;
}
.coupon-chip-copy:hover  { background: #b45309; }
.coupon-chip-copy:active { transform: scale(.95); }
.coupon-chip-copy.copied { background: #16a34a; }

@media (max-width: 640px) {
    .coupon-chip { padding: .35rem .6rem; gap: .4rem; }
    .coupon-chip-code { font-size: .82rem; }
    .coupon-chip-copy { font-size: .72rem; padding: .2rem .55rem; }
}

/* Detail page � full-width prominent chip */
.coupon-chip--detail {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding: .75rem 1rem;
    margin: .75rem 0 1rem;
    border-radius: 10px;
    gap: .75rem;
    align-items: center;
    background: rgba(253,126,20,.07);
    border: 2px dashed rgba(253,126,20,.5);
}
.coupon-chip--detail .coupon-chip-icon { font-size: 1.1rem; }
.coupon-chip-detail-inner { flex: 1; min-width: 0; }
.coupon-chip-copy--lg {
    padding: .45rem 1.1rem;
    font-size: .85rem;
    border-radius: 6px;
}
@media (max-width: 640px) {
    .coupon-chip--detail { flex-wrap: wrap; }
    .coupon-chip-copy--lg { width: 100%; justify-content: center; }
}

/* -- Special landing � province filter row ---------------------------- */
.sp-prov-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .5rem;
    padding-top: .6rem;
    padding-bottom: .85rem;
    border-top: 1px solid var(--border-light);
}
.sp-prov-label {
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: .15rem;
    white-space: nowrap;
}
.sp-prov-btn {
    display: inline-block;
    padding: .22rem .6rem;
    border-radius: 14px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-hover);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.sp-prov-btn:hover { background: var(--border); color: var(--text-primary); text-decoration: none; }
.sp-prov-btn--active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.sp-prov-btn--active:hover { background: var(--accent-hover, #c00); color: #fff; }
.sp-prov-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .75rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(var(--accent-rgb),.08);
    border: 1px solid rgba(var(--accent-rgb),.2);
    border-radius: 12px;
    padding: .15rem .55rem;
    margin-left: .5rem;
    vertical-align: middle;
}

/* -- Deal Type Quick Strip (home feed) -------------------------------- */
.dtype-strip {
    display: flex;
    gap: .45rem;
    flex-wrap: wrap;
    margin: .75rem 0 .85rem;
}
.dtype-strip-item {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .38rem .85rem;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform .15s, opacity .15s;
    white-space: nowrap;
}
.dtype-strip-item:hover { transform: translateY(-2px); opacity: .9; text-decoration: none; }
.ds-freebie  { background: rgba(63,185,80,.15);  color: #3fb950; border: 1px solid rgba(63,185,80,.3); }
.ds-bogo     { background: rgba(88,166,255,.15); color: #58a6ff; border: 1px solid rgba(88,166,255,.3); }
.ds-flash    { background: rgba(229,163,0,.15);  color: #e5a300; border: 1px solid rgba(229,163,0,.3); }
.ds-coupon   { background: rgba(163,94,255,.15); color: #a35eff; border: 1px solid rgba(163,94,255,.3); }
.ds-contest  { background: rgba(var(--accent-rgb),.15);    color: var(--accent-hover); border: 1px solid rgba(var(--accent-rgb),.3); }
.ds-student  { background: rgba(14,165,233,.15); color: #0ea5e9; border: 1px solid rgba(14,165,233,.3); }

/* -- Special Sections Sidebar Card ----------------------------------- */
.special-sections-card .new-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    padding: .1rem .38rem;
    border-radius: 10px;
    vertical-align: middle;
    margin-left: .3rem;
    letter-spacing: .03em;
}
.special-sections-list { display: flex; flex-direction: column; gap: .15rem; margin-top: .5rem; }
.ss-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem .7rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background .15s;
    font-size: .85rem;
}
.ss-item:hover { background: var(--bg-hover); text-decoration: none; }
.ss-item > i:first-child { font-size: .95rem; width: 1.2rem; text-align: center; flex-shrink: 0; }
.ss-info { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.ss-name { font-weight: 600; color: var(--text-primary); font-size: .82rem; }
.ss-desc { font-size: .72rem; color: var(--text-muted); }
.ss-arrow { font-size: .65rem; color: var(--text-muted); }
.ss-freebie > i:first-child { color: #3fb950; }
.ss-bogo    > i:first-child { color: #58a6ff; }
.ss-flash   > i:first-child { color: #e5a300; }
.ss-coupon  > i:first-child { color: #a35eff; }
.ss-contest > i:first-child { color: var(--accent-hover); }
.ss-student > i:first-child { color: #0ea5e9; }

/* -- Special Sections pill row (above feed) -- */
.ss-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .6rem;
}
.ss-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .8rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--bg-base);
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .15s, color .15s, background .15s;
}
.ss-pill:hover { background: rgba(var(--accent-rgb),.06); border-color: var(--accent); color: var(--accent); }
.forum-sidebar-right .ss-pill {
    font-size: .73rem;
    padding: .28rem .6rem;
    white-space: normal;
}
.ss-pill.ss-freebie i { color: #3fb950; }
.ss-pill.ss-bogo    i { color: #58a6ff; }
.ss-pill.ss-flash   i { color: #e5a300; }
.ss-pill.ss-coupon  i { color: #a35eff; }
.ss-pill.ss-contest i { color: var(--accent-hover); }
.ss-pill.ss-student i { color: #0ea5e9; }

/* -- Desktop nav "Specials" + NEW badge ------------------------------- */
.nav-new-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: .55rem;
    font-weight: 700;
    padding: .08rem .32rem;
    border-radius: 8px;
    margin-left: .25rem;
    vertical-align: middle;
    letter-spacing: .03em;
    line-height: 1.4;
}
.nav-specials { color: #e5a300 !important; }
.nav-specials:hover { color: #ffc107 !important; }

/* -- Mobile bottom nav NEW badge -------------------------------------- */
.mob-nav-new {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: .45rem;
    font-weight: 700;
    padding: .05rem .28rem;
    border-radius: 6px;
    margin-left: .18rem;
    vertical-align: super;
    letter-spacing: .02em;
    line-height: 1;
}

/* -- Threaded comments ------------------------------------------------- */
.comment-replies {
    margin-left: 2.5rem;
    border-left: 2px solid #e9ecef;
    padding-left: 1rem;
    margin-top: .75rem;
}
.comment-card--reply {
    background: #f8f9fa;
    border-radius: 8px;
    padding: .85rem 1rem;
    margin-bottom: .6rem;
}
.reply-to-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .75rem;
    color: #6c757d;
    background: #e9ecef;
    border-radius: 4px;
    padding: .15rem .5rem;
    margin-bottom: .4rem;
}
.reply-to-label { font-weight: 600; }
.comment-reply-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-size: .78rem;
    cursor: pointer;
    padding: .2rem .5rem;
    border-radius: 4px;
    transition: background .15s, color .15s;
}
.comment-reply-btn:hover { background: #e9ecef; color: #333; }
.reply-form-wrap { display: none; margin-top: .6rem; }
.reply-form-wrap.open { display: block; }
.reply-form-inner {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.reply-textarea {
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: .6rem .75rem;
    font-size: .9rem;
    resize: vertical;
    min-height: 70px;
    font-family: inherit;
    transition: border-color .2s;
}
.reply-textarea:focus { outline: none; border-color: #f4645e; }
.reply-form-actions { display: flex; gap: .5rem; align-items: center; }
.reply-submit {
    background: #f4645e;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: .4rem .9rem;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
.reply-submit:hover { background: #d9534f; }
.reply-cancel {
    background: none;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: .4rem .8rem;
    font-size: .85rem;
    cursor: pointer;
    color: #6c757d;
    transition: background .15s;
}
.reply-cancel:hover { background: #f8f9fa; }

/* -- Notification bell in nav ------------------------------------------ */
.nav-notif-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-muted);
    transition: background .18s, color .18s, transform .15s;
    text-decoration: none;
    font-size: 1rem;
}
.nav-notif-btn:hover {
    background: rgba(var(--accent-rgb),.12);
    color: var(--accent);
    transform: scale(1.08);
}
.nav-notif-btn.has-unread {
    color: #dc2626;
    animation: bell-ring 2.4s ease 1s 1;
}
@keyframes bell-ring {
    0%,100% { transform: rotate(0); }
    10%      { transform: rotate(-18deg); }
    20%      { transform: rotate(16deg); }
    30%      { transform: rotate(-12deg); }
    40%      { transform: rotate(10deg); }
    50%      { transform: rotate(-6deg); }
    60%      { transform: rotate(4deg); }
    70%      { transform: rotate(0); }
}
.notif-badge {
    position: absolute;
    top: 1px;
    right: 1px;
    background: #dc2626;
    color: #fff;
    border: 2px solid var(--bg-card);
    border-radius: 10px;
    min-width: 17px;
    height: 17px;
    font-size: .6rem;
    font-weight: 700;
    line-height: 13px;
    text-align: center;
    padding: 0 3px;
    pointer-events: none;
    box-shadow: 0 1px 4px rgba(220,38,38,.4);
}

/* -- Notifications page ------------------------------------------------ */
.notif-page {
    max-width: 660px;
    margin: 2rem auto;
    padding: 0 1rem 3rem;
}
.notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.notif-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: .55rem;
}
.notif-title i { color: var(--accent); }
.notif-title.has-unread i { color: #dc2626; }
.notif-new-badge {
    background: #dc2626;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: .15rem .5rem;
    border-radius: 10px;
    margin-left: .25rem;
}
.notif-markall {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: .35rem .85rem;
    font-size: .78rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: background .15s, color .15s, border-color .15s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

/* -- Deal detail: meta + action buttons row ------------------------------- */
.deal-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
    font-size: .8rem;
    color: #8b949e;
}
.deal-action-btns {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    align-items: center;
}

/* -- Global mobile safety net -------------------------------------------- */
/* Prevent anything from causing horizontal scroll */
@media (max-width: 640px) {
    body {
        overflow-x: clip;
    }

    /* Deal detail card � full width, no overflow */
    .post-card,
    .detail-card,
    .deal-detail-wrap,
    .deal-detail-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        padding: .85rem !important;
    }

    /* Vote bar � wrap on tiny screens */
    .vote-bar {
        flex-wrap: wrap;
        gap: .4rem;
    }

    /* Share row � scroll horizontally rather than overflow viewport */
    .share-row {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
        padding-bottom: .2rem;
    }
    .share-row::-webkit-scrollbar { display: none; }

    /* Deal meta + action buttons: stack vertically on mobile */
    .deal-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: .4rem;
    }
    .deal-action-btns {
        width: 100%;
        flex-wrap: wrap;
    }
    .btn-edit-deal {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 0;
        font-size: .78rem;
        padding: .3rem .5rem;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Comment actions � wrap */
    .comment-actions {
        flex-wrap: wrap;
        gap: .3rem;
    }

    /* Nav: ensure nothing bleeds off right edge */
    .forum-nav {
        max-width: 100vw;
        box-sizing: border-box;
        padding-right: .5rem;
        overflow: visible; /* allow dropdowns to escape the bar */
    }
    .forum-nav .nav-actions {
        flex-shrink: 0;
        flex-wrap: nowrap;
    }
    /* User chip: avatar-only on mobile � hide name & chevron */
    .nav-user-chip {
        padding: .2rem;
        gap: 0;
        border-radius: 50%;
        min-width: 34px;
        min-height: 34px;
        justify-content: center;
    }
    .nav-username,
    .nav-username-badge,
    .nav-user-chip .fa-chevron-down {
        display: none !important;
    }
    .nav-avatar {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        font-size: .78rem !important;
    }

    /* Post deal form */
    .post-wrap {
        padding: 0 .5rem;
    }
    .post-card {
        padding: 1rem .85rem;
    }
    .form-row {
        flex-direction: column;
        gap: .6rem;
    }

    /* Tags / pills � horizontal scroll */
    .dtype-pills {
        display: flex;
        flex-wrap: wrap;
        gap: .4rem;
    }
    .dtype-pill {
        flex: 1 1 calc(50% - .4rem);
        font-size: .78rem;
        padding: .4rem .5rem;
        box-sizing: border-box;
    }
}
.notif-markall:hover { background: var(--bg-base); color: var(--text-primary); border-color: var(--accent); }
.notif-list { display: flex; flex-direction: column; gap: .45rem; }
.notif-item {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: .9rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background .15s, border-color .15s, transform .12s;
    position: relative;
    border: 1px solid var(--border);
    background: var(--bg-card);
}
.notif-item:hover {
    background: var(--bg-base);
    border-color: var(--accent);
    text-decoration: none;
    color: inherit;
    transform: translateX(2px);
}
.notif-unread {
    background: rgba(220,38,38,.07);
    border-left: 3px solid #dc2626;
    border-color: rgba(220,38,38,.35);
}
.notif-unread:hover { background: rgba(220,38,38,.11); }
.notif-read { opacity: .82; }
.notif-read:hover { opacity: 1; }
.notif-icon-wrap {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb),.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
}
.notif-read .notif-icon-wrap { background: var(--bg-base); color: var(--text-muted); }
.notif-body { flex: 1; min-width: 0; }
.notif-msg {
    margin: 0 0 .25rem;
    font-size: .88rem;
    line-height: 1.45;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.notif-read .notif-msg { color: var(--text-muted); }
.notif-time {
    font-size: .73rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: .3rem;
}
.notif-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dc2626;
    margin-top: .45rem;
    box-shadow: 0 0 0 2px rgba(220,38,38,.2);
}
/* mobile */
@media (max-width: 480px) {
    .notif-page { padding: 0 .75rem 2rem; margin-top: 1rem; }
    .notif-title { font-size: 1rem; }
    .notif-item { padding: .75rem .85rem; gap: .65rem; }
    .notif-icon-wrap { width: 30px; height: 30px; font-size: .75rem; }
    .notif-msg { font-size: .83rem; }
}

/* -- Comment actions row ----------------------------------------------- */
.comment-actions {
    display: flex;
    gap: .25rem;
    flex-wrap: wrap;
    margin-top: .4rem;
}
/* -- Edit Deal button (in deal meta row) ------------------------------- */
.btn-edit-deal {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .75rem;
    color: #6c757d;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: .2rem .6rem;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
    white-space: nowrap;
}

/* -- Responsive utilities ------------------------------------------- */
@media (max-width: 640px) {
    .d-none-mobile { display: none !important; }
}
.btn-edit-deal:hover {
    background: #f4645e;
    color: #fff;
    border-color: #f4645e;
    text-decoration: none;
}

/* -- Inline comment edit ----------------------------------------------- */
.comment-edit-wrap {
    margin-top: .5rem;
}
.comment-edit-ta {
    width: 100%;
    min-height: 60px;
    resize: vertical;
}

/* -- Edited badge ------------------------------------------------------ */
.edited-badge {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    font-size: .7rem;
    color: #999;
    font-weight: 400;
    font-style: italic;
    margin-left: .4rem;
}
.edited-badge i { font-size: .65rem; }

/* =================================================================
   Country Switcher � nav header dropdown
   ================================================================= */
.nav-country-wrap { position: relative; }

.nav-country-btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .82rem;
    padding: .38rem .7rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
    line-height: 1;
    vertical-align: middle;
}
.nav-country-btn:hover,
.nav-country-btn.open {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(var(--accent-rgb),.05);
    box-shadow: none;
}
.ctr-flag { font-size: 1rem; line-height: 1; }
.ctr-chevron { font-size: .62rem; transition: transform .2s; margin-left: .1rem; }
.nav-country-btn.open .ctr-chevron { transform: rotate(180deg); }
.ctr-label { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctr-label-prefix { font-weight: 400; color: var(--text-muted); font-size: .75rem; }
.ctr-hint-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
    flex-shrink: 0;
    animation: ctrHintPulse 1.8s ease-out infinite;
}
@keyframes ctrHintPulse {
    0%   { box-shadow: 0 0 0 0 rgba(var(--accent-rgb),.7); }
    70%  { box-shadow: 0 0 0 6px rgba(var(--accent-rgb),0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb),0); }
}
/* Mobile bottom nav country button */
.mob-nav-country span { font-size: .62rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 56px; }
.mob-ctr-icon-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.mob-ctr-pulse {
    position: absolute;
    top: -2px; right: -4px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: ctrHintPulse 1.8s ease-out infinite;
}

.country-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 270px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.22);
    z-index: 9000;
    overflow: hidden;
}
.country-menu.is-open {
    display: block;
    animation: ctrMenuIn .18s ease;
}

@keyframes ctrMenuIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.country-menu-header {
    padding: .75rem 1rem .5rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: .45rem;
}
.country-menu-header i { color: var(--accent); }

.country-menu-search-wrap {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .85rem;
    border-bottom: 1px solid var(--border);
}
.country-menu-search-wrap i { color: var(--text-muted); font-size: .8rem; }

#countrySearch {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: .84rem;
    padding: 0;
}
#countrySearch::placeholder { color: var(--text-muted); }

.country-menu-list {
    max-height: 280px;
    overflow-y: auto;
    padding: .3rem 0;
}
.country-menu-list::-webkit-scrollbar { width: 4px; }
.country-menu-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.country-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    width: 100%;
    padding: .45rem 1rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: .86rem;
    cursor: pointer;
    text-align: left;
    transition: background .12s;
    box-sizing: border-box;
}
.country-item:hover { background: var(--bg-base); }
.country-item--active {
    background: rgba(var(--accent-rgb),.07);
    color: var(--accent);
    font-weight: 600;
}
.country-item--active:hover { background: rgba(var(--accent-rgb),.13); }
.country-item--hidden { display: none !important; }

.ci-flag { font-size: 1.1rem; line-height: 1; width: 22px; text-align: center; flex-shrink: 0; }
.ci-name { flex: 1; }
.ci-check { font-size: .72rem; color: var(--accent); margin-left: auto; }

.country-menu-footer {
    padding: .5rem 1rem;
    font-size: .7rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.country-menu-footer i { color: var(--accent); }

@keyframes ctrSheetUp {
    from { transform: translateY(100%); opacity: .7; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* On mobile the desktop dropdown is always suppressed � modal handles it */
@media (max-width: 640px) {
    #countryMenu { display: none !important; }
}

/* == Home Country Explorer == */
.home-countries-section{margin:2rem 0 1.5rem;padding:1.75rem 1.5rem;background:var(--bg-card);border:1px solid var(--border);border-radius:10px}
.home-countries-intro{margin-bottom:1.25rem;text-align:center}
.home-countries-title{font-size:1.05rem;font-weight:700;color:var(--text-primary);margin:0 0 .45rem}
.home-countries-desc{font-size:.87rem;color:var(--text-secondary);line-height:1.6;margin:0 auto;max-width:540px}
.home-country-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:.55rem}
.home-country-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:76px;gap:0;padding:.65rem .4rem;background:var(--bg-base);border:1px solid var(--border);border-radius:8px;text-decoration:none;transition:border-color .15s,transform .1s}
.home-country-card:hover{border-color:var(--accent);transform:translateY(-2px);text-decoration:none}
.hcc-name{font-size:.7rem;font-weight:600;color:var(--text-primary);text-align:center;line-height:1.25}
@media(max-width:700px){
    .home-countries-section{padding:1rem .85rem;margin:1.5rem 0 1rem}
    .home-countries-intro{margin-bottom:1rem}
    .home-country-grid{grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:.35rem}
    .home-country-card{min-height:58px;padding:.45rem .2rem}
    .hcc-name{font-size:.62rem}
    .hide-mobile{display:none !important}
    .show-mobile{display:block !important}
}
@media(min-width:701px){
    .show-mobile{display:none !important}
}

/* ================================================================
   Hero / Intro Banner
   ================================================================ */
/* HOME HERO BANNER */
.hero-banner {
    width: 100%;
    background: var(--bg-card, #fff);
    border-bottom: 1px solid var(--border, #d0d7de);
    color: var(--text-primary, #1a1f2e);
    padding: 2.8rem 2rem 2.4rem;
    overflow: hidden;
    position: relative;
}
/* Subtle tinted background wash using accent */
.hero-bg-blobs {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 80% at 80% 50%, rgba(var(--accent-rgb),.06) 0%, transparent 65%),
        radial-gradient(ellipse 30% 50% at 5% 10%, rgba(var(--accent-rgb),.04) 0%, transparent 60%);
    pointer-events: none;
}
.hero-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
    z-index: 1;
}
/* -- 3 equal columns -- */
.hero-col {
    flex: 1 1 0;
    min-width: 0;
}
.hero-col-brand {
    padding-right: 2.5rem;
    border-right: 1px solid var(--border-light, #e8ecf0);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-col-steps {
    padding: 0 2.5rem;
    border-right: 1px solid var(--border-light, #e8ecf0);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-col-map {
    padding-left: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-col-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted, #6e7681);
    margin: 0 0 .75rem;
}
/* -- Left copy -- */
.hero-copy { flex: 0 0 480px; max-width: 480px; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(var(--accent-rgb),.1);
    border: 1px solid rgba(var(--accent-rgb),.3);
    border-radius: 100px;
    padding: .28rem .85rem;
    margin-bottom: 1.1rem;
}
.hero-live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block; flex-shrink: 0;
    animation: heroLivePulse 2s ease-out infinite;
}
@keyframes heroLivePulse {
    0%   { box-shadow: 0 0 0 0 rgba(var(--accent-rgb),.6); }
    70%  { box-shadow: 0 0 0 7px rgba(var(--accent-rgb),0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb),0); }
}
.hero-h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary, #1a1f2e);
    margin: 0 0 .5rem;
}
.hero-h1-accent {
    display: block;
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: .1rem;
}
.hero-sub {
    font-size: .93rem;
    color: var(--text-secondary, #4b5563);
    line-height: 1.7;
    margin: .75rem 0 1.4rem;
}
.hero-sub strong { color: var(--text-primary, #1a1f2e); font-weight: 700; }

/* -- How it works: steps -- */
.hero-steps {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    margin-bottom: 0;
}
.hero-step {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}
.hero-step-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(var(--accent-rgb),.12);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}
.hero-step-text {
    display: flex; flex-direction: column; gap: .05rem;
    font-size: .83rem;
    line-height: 1.45;
}
.hero-step-text strong {
    color: var(--text-primary, #1a1f2e);
    font-weight: 700;
    font-size: .85rem;
}
.hero-step-text span { color: var(--text-secondary, #4b5563); }

/* -- Buttons -- */
.hero-actions {
    display: flex; flex-wrap: wrap;
    gap: .65rem; margin-bottom: 1.2rem;
}
.hero-btn-primary {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--accent);
    color: #fff; font-weight: 700; font-size: .88rem;
    padding: .65rem 1.3rem;
    border-radius: 50px; text-decoration: none;
    transition: background .15s, transform .12s, box-shadow .15s;
    box-shadow: 0 2px 10px rgba(var(--accent-rgb),.3);
}
.hero-btn-primary:hover {
    background: var(--accent-hover, #5e6e47);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(var(--accent-rgb),.4);
    text-decoration: none; color: #fff;
}
.hero-btn-ghost {
    display: inline-flex; align-items: center; gap: .4rem;
    background: transparent;
    color: var(--text-secondary, #4b5563);
    font-weight: 600; font-size: .88rem;
    padding: .65rem 1.1rem;
    border-radius: 50px;
    border: 1px solid var(--border, #d0d7de);
    text-decoration: none;
    transition: border-color .15s, background .15s, color .15s;
}
.hero-btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(var(--accent-rgb),.05);
    text-decoration: none;
}

/* -- Flag chips -- */
.hero-flags { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.hero-flags-label {
    font-size: .72rem; font-weight: 600;
    color: var(--text-muted, #6e7681);
    letter-spacing: .04em; text-transform: uppercase;
    margin-right: .1rem;
}
.hero-flag-chip {
    display: inline-flex; align-items: center; gap: .2rem;
    background: var(--bg-base, #f6f8fa);
    border: 1px solid var(--border-light, #e8ecf0);
    border-radius: 6px; padding: .18rem .45rem;
    font-size: .78rem; font-weight: 600;
    color: var(--text-secondary, #4b5563);
    text-decoration: none;
    transition: background .12s, border-color .12s, color .12s;
}
.hero-flag-chip:hover {
    background: rgba(var(--accent-rgb),.1);
    border-color: var(--accent);
    color: var(--accent);
    text-decoration: none;
}
.hero-flag-more {
    font-size: .72rem; color: var(--text-muted, #6e7681); padding-left: .1rem;
}

/* -- Right map panel -- */
.hero-map-wrap {
    width: 100%;
    position: relative;
    border-radius: var(--radius, 10px);
    overflow: hidden;
    border: 1px solid var(--border, #d0d7de);
    box-shadow: 0 4px 18px rgba(0,0,0,.13);
    background: #a8c8e8;
}
#heroLeafletMap {
    width: 100%;
    height: 380px;
    display: block;
    filter: saturate(1.15) brightness(1.02);
    min-height: 320px;
}
.hero-map-caption {
    position: absolute; bottom: .5rem; left: .7rem;
    font-size: .65rem; font-weight: 600;
    color: var(--text-muted, #6e7681);
    background: rgba(255,255,255,.85);
    padding: .18rem .5rem; border-radius: 20px;
    pointer-events: none; z-index: 1000;
    letter-spacing: .03em;
}

/* Pulsing ring animation */
@keyframes hmRingPulse {
    0%   { stroke-opacity: .9; stroke-width: 2; r: 7; }
    70%  { stroke-opacity: .15; stroke-width: .8; r: 24; }
    100% { stroke-opacity: 0; r: 7; }
}
/* Remove old SVG world map rules */
.world-svg,.continent,.map-dot-group,.map-dot-ring,.map-dot-core,
.hero-mesh-bg,.hero-map-glow,.hero-h1-line1,.hero-h1-line3,
.hero-stats,.hero-stat,.hero-stat-num,.hero-stat-label,.hero-stat-divider,
.hfc-flag,.hfc-code { /* kept but won't appear ? old class cleanup */ }
.world-svg,.continent,.map-dot-group,.map-dot-ring,.map-dot-core { display:none; }

/* Override Leaflet popup */
.leaflet-popup-content-wrapper {
    border-radius: 10px !important;
    box-shadow: 0 6px 24px rgba(0,0,0,.18) !important;
    padding: 0 !important;
}
.leaflet-popup-content { margin: .7rem .9rem !important; }
.leaflet-popup-tip { background: #fff !important; }
.leaflet-control-attribution {
    font-size: .58rem !important;
    background: rgba(255,255,255,.8) !important;
    color: #888 !important;
    padding: 1px 5px !important;
    border-radius: 4px !important;
}

/* -- Mobile chips (hidden on desktop) -- */
.hero-mobile-chips {
    display: none;
}

/* -- Responsive -- */
@media (max-width: 1100px) {
    .hero-col-brand { padding-right: 1.75rem; }
    .hero-col-steps { padding: 0 1.75rem; }
    .hero-col-map   { padding-left: 1.75rem; }
}
@media (max-width: 860px) {
    .hero-inner { flex-direction: column; gap: 0; }
    .hero-col-brand {
        padding-right: 0; padding-bottom: 1.5rem;
        border-right: none; border-bottom: 1px solid var(--border-light, #e8ecf0);
    }
    .hero-col-steps {
        padding: 1.5rem 0;
        border-right: none; border-bottom: 1px solid var(--border-light, #e8ecf0);
    }
    .hero-col-map { padding-left: 0; padding-top: 1.5rem; }
    #heroLeafletMap { height: 260px; }
    .hero-h1 { font-size: 1.7rem; }
    .hero-h1-accent { font-size: 1.3rem; }
}
@media (max-width: 600px) {
    .hero-banner { padding: 2rem 1.25rem 1.75rem; text-align: center; }
    .hero-h1 { font-size: 1.5rem; margin-bottom: .2rem; }
    .hero-h1-accent { font-size: 1.1rem; }
    .hero-sub {
        font-size: .85rem; margin: .65rem auto .95rem;
        line-height: 1.6; max-width: 320px;
        color: var(--text-secondary, #4b5563);
    }
    /* Hide steps column and map on mobile */
    .hero-col-steps { display: none; }
    .hero-col-map   { display: none; }
    /* Remove divider from brand col on mobile */
    .hero-col-brand { padding-bottom: 0; border-bottom: none; }
    /* Center CTA button */
    .hero-actions {
        justify-content: center;
        margin-bottom: 0;
    }
    .hero-btn-ghost { display: none; }
    .hero-btn-primary { font-size: .9rem; padding: .7rem 1.6rem; }
    /* Centered chips row */
    .hero-mobile-chips {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: .4rem;
        margin-top: 1rem;
    }
    .hero-chip {
        display: inline-flex;
        align-items: center;
        gap: .3rem;
        font-size: .76rem;
        font-weight: 600;
        color: var(--text-secondary, #4b5563);
        background: var(--bg-base, #f6f8fa);
        border: 1px solid var(--border-light, #e8ecf0);
        border-radius: 100px;
        padding: .28rem .7rem;
    }
    .hero-chip i { color: var(--accent); font-size: .7rem; }
    .hero-eyebrow-mobile-hide { display: none; }
}

/* ================================================================
   Site Footer ? Social Sharing
   ================================================================ */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
    margin-top: 2rem;
    padding: 2rem 1.25rem 2.5rem;
    text-align: center;
}
.site-footer-inner { max-width: 640px; margin: 0 auto; }

.site-footer-share-label {
    font-size: .82rem;
    color: var(--text-muted);
    margin: 0 0 1.1rem;
    font-weight: 600;
    letter-spacing: .01em;
}

/* Social buttons row */
.site-footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .55rem;
    margin-bottom: 1.5rem;
}

.sf-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .42rem .9rem;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    color: #fff;
    transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease, filter .18s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    animation: sfFadeUp .5s ease both;
}
.sf-btn i { font-size: .85rem; }

/* staggered entrance */
.sf-btn:nth-child(1) { animation-delay: .05s; }
.sf-btn:nth-child(2) { animation-delay: .10s; }
.sf-btn:nth-child(3) { animation-delay: .15s; }
.sf-btn:nth-child(4) { animation-delay: .20s; }
.sf-btn:nth-child(5) { animation-delay: .25s; }
.sf-btn:nth-child(6) { animation-delay: .30s; }

@keyframes sfFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.sf-btn:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 6px 18px rgba(0,0,0,.22);
    filter: brightness(1.08);
    text-decoration: none;
    color: #fff;
}
.sf-btn:active { transform: scale(.97); }

/* Per-brand colours */
.sf-facebook  { background: #1877f2; }
.sf-twitter   { background: #000; }
.sf-whatsapp  { background: #25d366; }
.sf-reddit    { background: #ff4500; }
.sf-linkedin  { background: #0a66c2; }
.sf-copy      { background: var(--accent); }
.sf-copied    { background: #16a34a !important; }
.site-footer-app-link {
    margin: 0 auto 1.25rem;
    padding: .55rem 1rem;
    width: fit-content;
    max-width: 100%;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    font-size: .8rem;
    box-shadow: 0 4px 12px rgba(17, 24, 39, .18);
}

/* Footer links row */
.site-footer-links {
    font-size: .76rem;
    color: var(--text-muted);
    line-height: 2;
}
.site-footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 .4rem;
}
.site-footer-links a:hover { color: var(--accent); text-decoration: underline; }

@media (max-width: 480px) {
    .app-download-cta {
        margin-top: 1.25rem;
        padding: 0 .85rem;
    }

    .app-download-cta__inner {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: .75rem;
        padding: .9rem;
    }

    .app-download-cta__icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 1.15rem;
    }

    .app-download-cta__copy {
        flex: 1 1 calc(100% - 52px);
    }

    .app-download-cta__button {
        width: 100%;
        min-height: 42px;
        white-space: normal;
        text-align: center;
    }
    .sf-btn span { display: none; }
    .sf-btn { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
    .sf-btn i { font-size: 1rem; }
    .site-footer-social { gap: .6rem; }
    .site-footer-app-link {
        min-height: 40px;
        padding: .55rem .85rem;
        white-space: normal;
        text-align: center;
    }
}

/* -- Geo page headings (SEO) -- */
.geo-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: 0 0 .25rem;
    color: var(--accent);
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .075em;
    text-transform: uppercase;
}
.geo-page-kicker i { font-size: .75rem; }
.geo-page-h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 .35rem;
    line-height: 1.2;
    letter-spacing: -.025em;
}
.geo-page-h2 {
    max-width: 720px;
    font-size: .94rem;
    font-weight: 400;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 1.15rem;
}
@media (max-width: 600px) {
    .geo-page-h1 { font-size: 1.5rem; }
    .geo-page-h2 { font-size: .86rem; }
}

/* -- Detail page section headings (SEO) -- */
.detail-section-h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 1.25rem 0 .5rem;
    padding-bottom: .3rem;
    border-bottom: 1px solid var(--border-light);
}
/* -- Language toggle -- */
#langToggleBtn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: .32rem .75rem;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    vertical-align: middle;
    line-height: 1;
    letter-spacing: .01em;
    white-space: nowrap;
}
#langToggleBtn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(var(--accent-rgb),.05);
}
#langToggleBtn .lang-ta-label { font-family: 'Noto Sans Tamil', sans-serif; font-size: .82rem; }

/* Tamil font body override */
body.lang-ta {
    font-family: 'Noto Sans Tamil', 'Inter', sans-serif;
}
body.lang-ta [data-i18n],
body.lang-ta [data-i18n-placeholder] {
    font-family: 'Noto Sans Tamil', sans-serif;
}

/* Bilingual CTA spans - no longer used; kept as safety no-op */
body:not(.lang-ta) .lang-ta { display: none !important; }
body.lang-ta .lang-en { display: none !important; }
body.lang-ta .lang-ta { display: inline !important; font-family: 'Noto Sans Tamil', sans-serif; }

/* ?? Tamil mobile layout fixes ??????????????????????????????????????????? */
/* Tamil words are long - prevent overflow clipping on mobile */
@media (max-width: 640px) {
    /* Ensure the page never clips left edge */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Forum wrap: tighten padding so content fits */
    .forum-wrap {
        padding: 0 .75rem;
        margin: .75rem auto;
        gap: .75rem;
        box-sizing: border-box;
        max-width: 100vw;
        overflow: visible;
    }

    /* Hero: allow Tamil text to wrap properly without overflow */
    .hero-banner {
        padding: 1.5rem .9rem 1.25rem;
        overflow: hidden;
        box-sizing: border-box;
    }
    .hero-h1 {
        font-size: 1.35rem;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    .hero-h1-accent {
        font-size: 1.05rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .hero-sub {
        font-size: .83rem;
        word-break: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    .hero-inner {
        max-width: 100%;
        overflow: hidden;
    }

    /* Feed tabs: allow Tamil labels to wrap */
    .tab-btn {
        font-size: 1rem;
        padding: .3rem .55rem;
        white-space: normal;
        word-break: break-word;
    }

    /* Card title and meta text: wrap cleanly */
    .deal-title, .card-title, h3.deal-title {
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    /* Sidebar category/province labels */
    .cat-list a, .cat-list li {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* Feed tabs container: allow wrapping */
    .feed-tabs-bar, .feed-tabs, [class*="tab-bar"] {
        flex-wrap: wrap;
        gap: .3rem;
    }

    /* CTA partial: stack properly */
    .pdc-inner {
        padding: .85rem;
    }
    .pdc-text strong, .pdc-text span {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* Stat row labels */
    .stat-row .label {
        word-break: break-word;
        overflow-wrap: break-word;
        flex-shrink: 1;
        min-width: 0;
    }
}

.app-download-cta {
    margin: 2rem auto 0;
    padding: 0 1.25rem;
}

.app-download-cta__inner {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.05rem 1.15rem;
    border: 1px solid rgba(22, 163, 74, .22);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(22, 163, 74, .08), rgba(227, 0, 0, .06));
    box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
}

.app-download-cta__icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    font-size: 1.35rem;
}

.app-download-cta__copy {
    flex: 1 1 auto;
    min-width: 0;
}

.app-download-cta__copy h2 {
    margin: 0 0 .2rem;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 800;
}

.app-download-cta__copy p {
    margin: 0;
    color: var(--text-muted);
    font-size: .86rem;
    line-height: 1.45;
}

.app-download-cta__button,
.site-footer-app-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.app-download-cta__button {
    flex: 0 0 auto;
    padding: .7rem 1rem;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    font-size: .85rem;
    box-shadow: 0 5px 14px rgba(17, 24, 39, .22);
}

.app-download-cta__button:hover,
.site-footer-app-link:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    filter: brightness(1.06);
}

/* TamilFeed app CTA mobile overrides */
@media (max-width: 480px) {
    .app-download-cta {
        margin-top: 1.25rem;
        padding: 0 .85rem;
    }

    .app-download-cta__inner {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: .75rem;
        padding: .9rem;
    }

    .app-download-cta__icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 1.15rem;
    }

    .app-download-cta__copy {
        flex: 1 1 calc(100% - 52px);
    }

    .app-download-cta__button {
        width: 100%;
        min-height: 42px;
        white-space: normal;
        text-align: center;
    }
}

/* ================================================================
   TamilFeed Ad Units - shared styles for all tf-ad placements
   ================================================================ */
.tf-ad {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: .45rem;
    border-radius: var(--radius, 8px);
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-light, #e8ecf0);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .45s ease, transform .45s ease;
    overflow: hidden;
}
.tf-ad.is-visible { opacity: 1; transform: none; }

.tf-ad__label {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8b949e;
    background: rgba(139,148,158,.07);
    border: 1px solid rgba(139,148,158,.14);
    padding: .1rem .45rem;
    border-radius: 20px;
    margin-bottom: .35rem;
}
.tf-ad__label i { font-size: .58rem; }

.tf-ad__slot {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.tf-ad__slot .adsbygoogle {
    width: 100%;
    max-width: 100%;
}

/* Leaderboard - responsive banner above/below feeds */
.tf-ad--leaderboard { margin: 0 0 1.1rem; }
.tf-ad--leaderboard .tf-ad__slot { min-height: 90px; }
.tf-ad__desktop { display: block; }
.tf-ad__mobile  { display: none; }

/* In-feed - between posts */
.tf-ad--infeed { margin: .5rem 0 1rem; }
.tf-ad--infeed .tf-ad__slot {
    min-height: 250px;
    text-align: center;
}

/* Sidebar - sized by the sidebar column */
.tf-ad--sidebar { margin-bottom: 1rem; }
.tf-ad--sidebar .tf-ad__slot {
    min-height: 250px;
    text-align: center;
}

/* After-CTA strip */
.tf-ad--strip { margin: 1rem 0 0; }
.tf-ad--strip .tf-ad__slot { min-height: 90px; }

@media (max-width: 767px) {
    .tf-ad__desktop { display: none !important; }
    .tf-ad__mobile  { display: block !important; }
    .tf-ad { padding: .4rem; }
    .tf-ad--leaderboard .tf-ad__slot { min-height: 90px; }
    .tf-ad--infeed .tf-ad__slot { min-height: 250px; }
    .tf-ad--sidebar { display: none; } /* sidebar hidden on mobile (no sidebar) */
    .tf-ad--strip .tf-ad__slot { min-height: 50px; }
}

/* Location browse bar */
.geo-browse-bar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .85rem;
    margin: 0 0 1rem;
}
.geo-browse-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .7rem;
    color: var(--text-primary);
    font-size: .9rem;
}
.geo-browse-head i { color: var(--accent); margin-right: .3rem; }
.geo-browse-clear { color: var(--text-muted); font-size: .78rem; text-decoration: none; }
.geo-browse-clear:hover { color: var(--accent); }
.geo-browse-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: .65rem;
    align-items: end;
}
.geo-browse-grid label { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.geo-browse-grid label span { color: var(--text-muted); font-size: .75rem; font-weight: 700; }
.geo-browse-grid select { min-height: 40px; }
.geo-browse-submit { min-height: 40px; white-space: nowrap; }
@media (max-width: 760px) {
    .geo-browse-grid { grid-template-columns: 1fr; }
    .geo-browse-submit { width: 100%; }
}

/* A short introduction with direct routes into useful content. */
.hero-banner {
    padding: 1.35rem clamp(1rem, 3vw, 2.5rem) 1.15rem;
    border-bottom: 1px solid var(--border-light, #e8ecf0);
    background: linear-gradient(to bottom, #fff1f1 0%, #fffafa 38%, #ffffff 72%, #f6f8fa 100%);
}
.hero-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}
.hero-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 2rem;
}
.hero-brand-name {
    display: block;
    grid-column: 1;
    color: var(--accent);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.hero-h1 {
    grid-column: 1;
    margin: .2rem 0 .3rem;
    color: var(--text-primary, #1a1f2e);
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    line-height: 1.2;
    letter-spacing: -.025em;
}
.hero-sub {
    grid-column: 1;
    margin: 0;
    color: var(--text-secondary, #4b5563);
    font-size: .84rem;
    line-height: 1.5;
}
.hero-actions {
    grid-column: 2;
    grid-row: 1 / 4;
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0;
}
.hero-btn-primary, .hero-btn-ghost {
    min-height: 40px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    padding: .5rem .9rem;
    font-size: .78rem;
    white-space: nowrap;
}
.hero-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding-top: .85rem;
    border-top: 1px solid var(--border-light, #e8ecf0);
}
.hero-quick-links a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .75rem;
    border-radius: 9px;
    background: var(--bg-base, #f6f8fa);
    color: var(--text-primary, #1a1f2e);
    font-size: .76rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.hero-quick-links a i { color: var(--accent); font-size: .75rem; }
.hero-quick-links a:hover,
.hero-quick-links a:focus-visible {
    background: var(--accent-light, #fceaea);
    color: var(--accent);
    text-decoration: none;
}
.hero-quick-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 860px) {
    .hero-intro { grid-template-columns: minmax(0, 1fr); }
    .hero-actions { grid-column: 1; grid-row: auto; margin-top: .9rem; }
}
@media (max-width: 600px) {
    .hero-banner { padding: 1.2rem 1rem; text-align: left; }
    .hero-h1 { font-size: 1.55rem; }
    .hero-sub { font-size: .82rem; }
    .hero-actions { justify-content: flex-start; flex-wrap: wrap; }
    .hero-btn-ghost { display: inline-flex; }
    .hero-quick-links { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
    .hero-quick-links a { flex: none; }
}

/* Expert discovery card placed after the first home-feed post. */
.feed-expert-spotlight {
    max-width: 560px;
    width: 100%;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 1.15rem 1.1rem 1rem;
    border: 1px solid rgba(var(--accent-rgb),.32);
    border-radius: var(--radius, 10px);
    background:
        radial-gradient(circle at 92% 10%, rgba(var(--accent-rgb),.15), transparent 32%),
        linear-gradient(145deg, rgba(var(--accent-rgb),.10), var(--bg-card, #fff) 58%);
    box-shadow: 0 7px 22px rgba(0,0,0,.09);
}
.feed-expert-spotlight::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #d4a72c 65%, transparent);
}
.feed-expert-spotlight::after {
    content: "\f508";
    position: absolute;
    z-index: -1;
    right: -1rem;
    top: -.8rem;
    color: rgba(var(--accent-rgb),.055);
    font-family: "Font Awesome 6 Free";
    font-size: 8rem;
    font-weight: 900;
}
.fes-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.fes-badge { display: inline-flex; align-items: center; gap: .28rem; padding: .2rem .48rem; border-radius: 999px; color: #8a5b00; background: rgba(212,167,44,.16); border: 1px solid rgba(212,167,44,.28); font-size: .61rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.fes-badge i { font-size: .54rem; }
.fes-heading h3 { display: flex; align-items: center; gap: .42rem; margin: .4rem 0 .08rem; color: var(--text-primary, #1a1f2e); font-size: 1.08rem; font-weight: 800; }
.fes-title-icon { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; border-radius: 7px; color: #fff; background: var(--accent); font-size: .72rem; box-shadow: 0 3px 8px rgba(var(--accent-rgb),.24); }
.fes-subtitle { display: block; color: var(--text-muted, #6e7681); font-size: .69rem; }
.fes-see-all { color: var(--accent); font-size: .72rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.fes-see-all:hover { color: var(--accent-hover, #5e6e47); text-decoration: underline; }
.fes-experts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.fes-expert { min-width: 0; padding: .35rem .15rem; border-radius: 10px; color: inherit; text-align: center; text-decoration: none; transition: background .15s, transform .15s; }
.fes-expert:hover { background: rgba(var(--accent-rgb),.07); color: inherit; text-decoration: none; transform: translateY(-2px); }
.fes-avatar {
    display: flex; align-items: center; justify-content: center;
    width: 84px; height: 84px; margin: 0 auto .55rem;
    overflow: hidden; border: 3px solid var(--bg-card, #fff); border-radius: 50%;
    background: rgba(var(--accent-rgb),.13); color: var(--accent);
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb),.28), 0 3px 10px rgba(0,0,0,.10);
    font-size: 1.5rem; font-weight: 800;
}
.fes-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fes-expert strong, .fes-expert small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fes-expert strong { color: var(--text-primary, #1a1f2e); font-size: .8rem; }
.fes-expert small { margin-top: .1rem; color: var(--text-muted, #6e7681); font-size: .67rem; }
.fes-actions { display: flex; justify-content: center; gap: .55rem; margin-top: .95rem; padding-top: .85rem; border-top: 1px solid var(--border-light, #e8ecf0); }
.fes-actions a { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; padding: .48rem .85rem; border-radius: 999px; font-size: .72rem; font-weight: 700; text-decoration: none; }
.fes-primary { background: var(--accent); color: #fff; box-shadow: 0 3px 9px rgba(var(--accent-rgb),.22); }
.fes-primary:hover { color: #fff; background: var(--accent-hover, #5e6e47); }
.fes-secondary { border: 1px solid var(--border, #d0d7de); color: var(--text-secondary, #4b5563); background: var(--bg-card, #fff); }
.fes-secondary:hover { border-color: var(--accent); color: var(--accent); }

.home-blog-section { width: 100%; box-sizing: border-box; margin: 0 0 1.5rem; }
.home-blog-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.home-blog-kicker { color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.home-blog-heading h2 { margin: .25rem 0 0; color: var(--text-primary, #1a1f2e); font-size: 1.35rem; font-weight: 800; }
.home-blog-view-all { display: inline-flex; align-items: center; gap: .45rem; color: var(--accent); font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.home-blog-view-all:hover { color: var(--accent-hover, #5e6e47); text-decoration: underline; }
.home-blog-carousel { position: relative; overflow: hidden; border: 1px solid var(--border-light, #e8ecf0); border-radius: 14px; background: var(--bg-card, #fff); box-shadow: 0 8px 24px rgba(18, 28, 45, .08); }
.home-blog-slides { display: grid; }
.home-blog-slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: stretch; min-height: 260px; opacity: 0; visibility: hidden; transform: translateX(18px); transition: opacity .42s ease, transform .42s ease, visibility .42s; }
.home-blog-slide.is-active { z-index: 1; opacity: 1; visibility: visible; transform: translateX(0); }
.home-blog-slide-image { display: grid; min-width: 0; min-height: 260px; place-items: center; overflow: hidden; background: linear-gradient(135deg, rgba(var(--accent-rgb), .16), rgba(var(--accent-rgb), .04)); color: var(--accent); text-decoration: none; }
.home-blog-slide-image img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.home-blog-image-fallback { font-size: 2.5rem; }
.home-blog-slide-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: 1.5rem clamp(1.1rem, 3vw, 2.3rem); background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, var(--bg-card, #fff) 18%, var(--bg-card, #fff) 100%); }
.home-blog-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .75rem; margin-bottom: .7rem; color: var(--text-muted, #6e7681); font-size: .71rem; }
.home-blog-meta a { color: var(--accent); font-weight: 800; text-decoration: none; text-transform: uppercase; }
.home-blog-featured-label { display: inline-flex; align-items: center; gap: .25rem; color: #9a6a00; font-weight: 700; }
.home-blog-slide-content h3 { display: -webkit-box; overflow: hidden; margin: 0 0 .55rem; color: var(--text-primary, #1a1f2e); font-size: clamp(1.08rem, 2vw, 1.55rem); font-weight: 800; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-blog-slide-content h3 a { color: inherit; text-decoration: none; }
.home-blog-slide-content h3 a:hover { color: var(--accent); }
.home-blog-slide-content p { display: -webkit-box; overflow: hidden; margin: 0 0 1rem; color: var(--text-secondary, #4b5563); font-size: .87rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.home-blog-read-link { display: inline-flex; align-items: center; gap: .42rem; margin-top: auto; color: var(--accent); font-size: .8rem; font-weight: 800; text-decoration: none; }
.home-blog-controls { position: absolute; z-index: 2; right: 1rem; bottom: .85rem; display: flex; align-items: center; gap: .55rem; padding: .28rem; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: 0 3px 12px rgba(18,28,45,.1); }
.home-blog-arrow { display: grid; width: 30px; height: 30px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--text-primary, #1a1f2e); cursor: pointer; }
.home-blog-arrow:hover { background: rgba(var(--accent-rgb), .1); color: var(--accent); }
.home-blog-dots { display: flex; align-items: center; gap: .32rem; }
.home-blog-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: #c8ced6; cursor: pointer; transition: width .2s ease, background .2s ease; }
.home-blog-dot.is-active { width: 19px; background: var(--accent); }

@media (max-width: 680px) {
    .home-blog-slide { grid-template-columns: 1fr; }
    .home-blog-slide-image { min-height: 0; max-height: 240px; }
    .home-blog-slide-image img { min-height: 0; max-height: 240px; }
    .home-blog-slide-content { min-height: 205px; padding: 1.1rem 1.2rem 3.5rem; background: var(--bg-card, #fff); }
}

@media (max-width: 480px) {
    .feed-expert-spotlight { padding: .9rem .75rem; }
    .fes-heading { align-items: center; }
    .fes-subtitle { max-width: 220px; }
    .fes-experts { gap: .5rem; }
    .fes-avatar { width: 68px; height: 68px; }
    .fes-expert strong { font-size: .72rem; }
    .fes-expert small { font-size: .61rem; }
    .fes-actions a { flex: 1; padding: .48rem .45rem; }
    .home-blog-heading { align-items: center; }
    .home-blog-heading h2 { font-size: 1.15rem; }
    .home-blog-view-all { font-size: .72rem; }
    .home-blog-slide { grid-template-columns: 1fr; }
    .home-blog-slide-image { min-height: 0; max-height: 190px; }
    .home-blog-slide-image img { min-height: 0; max-height: 190px; }
    .home-blog-slide-content { min-height: 190px; padding: 1rem 1rem 3.4rem; }
    .home-blog-slide-content h3 { font-size: 1.05rem; }
    .home-blog-slide-content p { margin-bottom: .55rem; font-size: .79rem; }
    .home-blog-controls { right: .6rem; bottom: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
    .home-blog-slide, .home-blog-dot { transition: none; }
}

