/* Minification failed. Returning unminified contents.
(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 '-'
(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 '-'
(30,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(31,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(32,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(43,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(44,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(59,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(60,23): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(64,46): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(65,46): run-time error CSS1039: Token not allowed after unary operator: '-border'
(69,22): run-time error CSS1039: Token not allowed after unary operator: '-nav-bg'
(70,35): run-time error CSS1039: Token not allowed after unary operator: '-nav-border'
(71,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(105,35): run-time error CSS1039: Token not allowed after unary operator: '-border'
(107,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(110,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(111,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(122,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-input'
(123,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(126,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(132,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(133,37): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(135,58): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(136,116): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(154,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(164,37): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(171,36): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(171,98): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(175,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(176,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(177,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(189,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(190,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(191,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(196,24): run-time error CSS1039: Token not allowed after unary operator: '-border'
(197,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(199,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(202,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(203,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(204,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(271,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(272,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(277,55): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(277,93): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(288,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(289,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(293,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(297,38): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(297,60): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(297,92): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(298,47): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(298,81): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(300,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(301,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(302,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(304,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(311,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(321,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(325,32): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(326,50): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(337,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(343,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(352,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(365,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(366,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(371,60): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(371,82): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(374,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(378,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(385,60): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(389,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(403,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(406,60): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(411,65): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(412,48): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(413,64): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(418,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(423,63): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(425,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(434,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(446,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(456,101): run-time error CSS1039: Token not allowed after unary operator: '-border'
(462,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(463,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(467,42): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(467,65): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(468,47): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(468,78): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(472,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(473,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(474,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(484,34): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(484,72): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(498,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(499,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(503,45): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(503,68): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(504,40): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(504,90): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(516,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(517,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(518,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(520,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(525,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(526,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(533,35): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(533,58): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(533,93): run-time error CSS1039: Token not allowed after unary operator: '-border'
(534,36): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(534,65): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(544,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(545,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(553,38): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(553,60): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(553,92): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(554,37): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(554,66): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(558,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(559,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(560,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(567,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(570,37): run-time error CSS1039: Token not allowed after unary operator: '-shadow-hover'
(591,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(593,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(597,45): run-time error CSS1039: Token not allowed after unary operator: '-hot'
(597,65): run-time error CSS1039: Token not allowed after unary operator: '-hot'
(597,95): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(598,45): run-time error CSS1039: Token not allowed after unary operator: '-warm'
(598,65): run-time error CSS1039: Token not allowed after unary operator: '-warm'
(599,45): run-time error CSS1039: Token not allowed after unary operator: '-cool'
(599,65): run-time error CSS1039: Token not allowed after unary operator: '-cool'
(600,46): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(619,38): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(619,70): run-time error CSS1039: Token not allowed after unary operator: '-hot'
(619,106): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(620,61): run-time error CSS1039: Token not allowed after unary operator: '-warm'
(621,61): run-time error CSS1039: Token not allowed after unary operator: '-cool'
(622,33): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(622,56): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(622,97): run-time error CSS1039: Token not allowed after unary operator: '-border'
(623,33): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(623,56): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(623,97): run-time error CSS1039: Token not allowed after unary operator: '-border'
(624,33): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(624,56): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(624,93): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(625,63): run-time error CSS1039: Token not allowed after unary operator: '-red'
(640,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(645,35): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(654,47): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(655,30): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(656,38): run-time error CSS1039: Token not allowed after unary operator: '-green'
(662,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(663,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(664,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(665,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(675,36): run-time error CSS1039: Token not allowed after unary operator: '-bg-card-hover'
(675,65): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(675,100): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(676,100): run-time error CSS1039: Token not allowed after unary operator: '-green'
(676,121): run-time error CSS1039: Token not allowed after unary operator: '-green'
(677,99): run-time error CSS1039: Token not allowed after unary operator: '-red'
(677,120): run-time error CSS1039: Token not allowed after unary operator: '-red'
(682,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(692,34): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(699,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(706,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(708,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(716,37): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(718,40): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(719,40): run-time error CSS1039: Token not allowed after unary operator: '-green'
(727,17): run-time error CSS1039: Token not allowed after unary operator: '-red'
(748,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(749,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(750,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(753,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(756,108): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(757,50): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(758,33): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(760,65): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(761,51): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(762,59): run-time error CSS1039: Token not allowed after unary operator: '-green'
(776,48): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(777,50): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(783,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(786,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(792,37): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(805,22): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(806,38): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(823,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(850,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(851,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(854,101): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(858,49): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(862,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(865,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(868,68): run-time error CSS1039: Token not allowed after unary operator: '-warm'
(868,81): run-time error CSS1039: Token not allowed after unary operator: '-hot'
(869,77): run-time error CSS1039: Token not allowed after unary operator: '-warm'
(870,45): run-time error CSS1039: Token not allowed after unary operator: '-cool'
(871,99): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(875,89): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(877,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(878,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(879,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(882,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(884,68): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(885,50): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(886,31): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(889,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(890,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(891,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(894,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(898,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-input'
(899,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(900,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(902,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(909,51): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(909,93): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(912,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-input'
(913,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(914,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(916,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(922,59): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(931,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(932,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(933,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(935,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(937,86): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(939,68): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(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'
(951,42): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(951,84): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(952,41): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(952,64): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(956,55): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(957,63): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(962,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(963,28): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(976,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(986,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1012,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1013,24): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1016,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1017,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1039,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1043,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1047,17): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1051,60): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1052,66): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1062,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1063,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1070,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1074,37): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1076,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1086,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1088,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1100,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1101,28): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1110,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1111,29): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1112,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(1117,79): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1118,30): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1123,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1124,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1129,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1130,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1131,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(1151,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1152,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(1226,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1227,29): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(1228,21): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1297,26): run-time error CSS1039: Token not allowed after unary operator: '-hot'
(1297,37): run-time error CSS1039: Token not allowed after unary operator: '-red'
(1302,34): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1344,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1345,34): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1364,46): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1364,64): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(1367,47): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1367,88): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1369,63): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1370,60): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1377,46): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1377,68): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1377,101): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1393,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1398,70): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1400,44): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1400,67): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1401,40): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1402,41): run-time error CSS1039: Token not allowed after unary operator: '-red'
(1403,43): run-time error CSS1039: Token not allowed after unary operator: '-red'
(1404,53): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1410,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1410,36): run-time error CSS1039: Token not allowed after unary operator: '-red'
(1446,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1448,37): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(1470,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1471,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1472,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(1473,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(1490,46): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1490,80): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1493,32): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1493,58): run-time error CSS1039: Token not allowed after unary operator: '-badge-color'
(1493,77): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1521,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1528,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1535,35): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1539,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1546,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1547,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1548,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(1557,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1563,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1569,22): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1588,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(1601,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1606,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1620,35): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1625,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1631,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1632,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1633,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1670,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1671,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1672,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(1673,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(1684,46): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(1684,67): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(1692,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1698,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1716,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1717,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1718,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(1719,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(1728,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(1736,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1742,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1748,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1749,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1750,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(1751,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(1757,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1770,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1771,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(1773,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1776,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1780,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(1781,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1782,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1791,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1802,54): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(1813,36): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1815,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1828,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1834,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1862,30): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1869,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-input'
(1870,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1878,43): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1897,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1904,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1913,45): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(1914,48): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(1924,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1925,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1926,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(1927,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(1940,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1949,36): run-time error CSS1039: Token not allowed after unary operator: '-bg-card-hover'
(1949,65): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1950,60): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1952,46): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1954,34): run-time error CSS1039: Token not allowed after unary operator: '-red'
(1955,36): run-time error CSS1039: Token not allowed after unary operator: '-red'
(1977,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1978,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1979,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1986,36): run-time error CSS1039: Token not allowed after unary operator: '-bg-card-hover'
(1986,72): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1986,94): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1987,37): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1987,66): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1989,30): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1999,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(2000,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2001,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(2002,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(2015,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2018,55): run-time error CSS1039: Token not allowed after unary operator: '-bg-card-hover'
(2021,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(2024,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(2025,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2029,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2036,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2049,44): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2050,62): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2059,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2060,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(2061,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2065,32): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2081,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(2082,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2093,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2096,32): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2113,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2119,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-input'
(2120,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2124,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2131,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2132,37): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2134,38): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2140,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2146,31): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2158,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2161,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(2162,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(2163,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2168,31): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2169,38): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2184,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(2186,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(2187,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2197,54): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2198,43): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2198,68): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(2199,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2209,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2218,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2219,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2260,31): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2281,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2284,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(2291,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2295,32): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2296,38): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2313,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2314,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2320,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2331,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2354,84): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2369,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2370,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2371,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(2376,37): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2376,59): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2377,37): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2377,66): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2397,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2406,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2411,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2416,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(2417,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2418,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(2424,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2436,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2444,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2452,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2453,33): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2454,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(2456,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2459,36): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2460,41): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2466,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2486,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2489,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2490,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(2496,40): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2497,43): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2497,75): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2497,106): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2659,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(2664,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2674,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2675,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-hover'
(2676,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2681,39): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2681,61): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2683,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2685,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2687,47): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(2694,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2695,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2696,33): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2727,38): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2727,72): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(2727,116): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2733,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2749,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(2754,35): run-time error CSS1039: Token not allowed after unary operator: '-bg-hover'
(2757,42): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2758,43): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2759,44): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2764,43): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(2780,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2781,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(2784,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2789,40): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2789,78): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2789,100): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2799,37): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(2805,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2822,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2923,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2929,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(2930,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2953,28): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(2979,35): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2985,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2990,30): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3003,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3008,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3153,41): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(3153,64): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3153,99): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3165,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3166,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(3169,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(3170,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3188,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3189,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3195,49): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(3195,72): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3201,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3206,38): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3209,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3299,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3300,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(3302,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3311,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3312,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3313,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3320,51): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3324,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3330,42): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3331,44): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3332,42): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3342,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3352,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(3353,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3375,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3376,35): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3381,38): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3388,35): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3390,43): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3397,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3401,43): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3409,64): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3419,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3426,40): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(3428,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3429,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3432,53): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3437,44): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3442,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3443,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3448,38): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3461,85): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(3461,117): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3463,68): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3464,50): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3466,122): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(3466,154): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3467,44): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3468,74): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3469,54): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3490,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(3491,35): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3492,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3502,63): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3503,62): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3522,34): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(3529,34): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(3545,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3559,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3560,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3561,33): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3569,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3574,42): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3575,44): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3576,42): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3582,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3587,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3594,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3598,32): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3615,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3616,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3627,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3631,36): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3640,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3645,38): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3648,22): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(3650,38): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3656,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3660,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3665,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3666,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3667,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3675,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3681,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(3682,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(3685,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3690,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(3691,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3692,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3696,36): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3703,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(3705,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3719,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3770,59): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(3774,59): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(3788,21): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3816,21): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3817,26): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(3818,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(3822,32): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3830,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(3831,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(3840,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3901,34): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3918,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3922,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3926,42): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(3974,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3981,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(3989,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3992,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(3997,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(3998,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3999,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(4014,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4015,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4016,27): run-time error CSS1039: Token not allowed after unary operator: '-accent-rgb'
(4164,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4172,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(4248,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(4249,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(4250,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(4321,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(4322,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(4333,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4336,34): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4337,33): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(4338,39): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(4346,43): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
 */
/* ============================================
   TamilFeed Community � Clean Light Theme
   ============================================ */
:root {
    --bg-base: #f0f2f5;
    --bg-card: #ffffff;
    --bg-card-hover: #f4f8f3;
    --bg-sidebar: #ffffff;
    --bg-input: #f0f2f5;
    --border: #cfd3d8;
    --border-light: #e4e6ea;
    --text-primary: #2B2D2F;
    --text-secondary: #4b5563;
    --text-muted: #525457;
    /* -- Brand green: #31572c -- */
    --accent: #31572c;
    --accent-hover: #4f772d;
    --accent-light: #eef4ec;
    --accent-rgb: 49, 87, 44;
    --accent-2: #2d6a4f;
    --hot: #b91c1c;
    --warm: #c9901e;
    --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: 55px;
    width: auto;
    max-width: 140px;
    display: block;
    object-fit: contain;
    aspect-ratio: 220 / 86;
}
.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;
    }
}

/* -- 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; }

.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: 560px;
    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; }
.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: #b91c1c !important;
        border-color: #b91c1c !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,
.nav-user-chip { 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; }

/* -- 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;gap:.28rem;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-flag{width:32px;height:24px;border-radius:2px;border:1px solid var(--border);object-fit:cover}
.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{padding:.45rem .2rem;gap:.18rem}
    .hcc-flag{width:32px;height:24px}
    .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-h1 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 .25rem;
    line-height: 1.3;
}
.geo-page-h2 {
    font-size: .92rem;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0 0 1rem;
}

/* -- 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%; }
}
