/* 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 '-'
(15,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(16,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(17,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(18,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(19,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(20,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(21,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(22,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(23,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(24,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(25,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(26,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(27,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(28,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(39,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(40,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(47,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(48,23): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(52,46): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(53,46): run-time error CSS1039: Token not allowed after unary operator: '-border'
(57,22): run-time error CSS1039: Token not allowed after unary operator: '-nav-bg'
(58,35): run-time error CSS1039: Token not allowed after unary operator: '-nav-border'
(59,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(75,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(86,50): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(87,50): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(88,35): run-time error CSS1039: Token not allowed after unary operator: '-border'
(90,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(93,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(94,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(105,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-input'
(106,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(109,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(115,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(118,58): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(119,116): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(124,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(136,36): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(140,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(141,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(142,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(149,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(150,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(173,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(174,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(175,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(177,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(184,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(194,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(198,32): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(199,50): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(207,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(210,60): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(215,65): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(216,48): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(217,64): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(226,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(227,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(231,42): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(231,65): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(232,68): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(236,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(237,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(238,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(252,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(254,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(255,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(263,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(264,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(268,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(269,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(276,62): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(290,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(291,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(295,45): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(295,68): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(296,40): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(309,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(310,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(311,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(313,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(318,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(319,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(326,35): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(326,58): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(326,93): run-time error CSS1039: Token not allowed after unary operator: '-border'
(327,36): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(327,65): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(337,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(338,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(346,38): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(346,60): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(347,37): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(347,66): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(351,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(352,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(353,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(360,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(362,39): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(383,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(385,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(389,45): run-time error CSS1039: Token not allowed after unary operator: '-hot'
(389,65): run-time error CSS1039: Token not allowed after unary operator: '-hot'
(390,45): run-time error CSS1039: Token not allowed after unary operator: '-warm'
(390,65): run-time error CSS1039: Token not allowed after unary operator: '-warm'
(391,45): run-time error CSS1039: Token not allowed after unary operator: '-cool'
(391,65): run-time error CSS1039: Token not allowed after unary operator: '-cool'
(392,46): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(411,60): run-time error CSS1039: Token not allowed after unary operator: '-hot'
(412,61): run-time error CSS1039: Token not allowed after unary operator: '-warm'
(413,61): run-time error CSS1039: Token not allowed after unary operator: '-cool'
(414,33): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(414,56): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(414,97): run-time error CSS1039: Token not allowed after unary operator: '-border'
(415,33): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(415,56): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(415,97): run-time error CSS1039: Token not allowed after unary operator: '-border'
(416,33): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(416,56): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(416,93): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(417,63): run-time error CSS1039: Token not allowed after unary operator: '-red'
(432,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(437,35): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(446,47): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(447,30): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(448,38): run-time error CSS1039: Token not allowed after unary operator: '-green'
(454,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(455,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(456,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(457,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(467,36): run-time error CSS1039: Token not allowed after unary operator: '-bg-card-hover'
(467,65): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(467,100): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(468,100): run-time error CSS1039: Token not allowed after unary operator: '-green'
(468,121): run-time error CSS1039: Token not allowed after unary operator: '-green'
(469,99): run-time error CSS1039: Token not allowed after unary operator: '-red'
(469,120): run-time error CSS1039: Token not allowed after unary operator: '-red'
(474,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(484,34): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(491,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(498,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(500,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(510,40): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(511,40): run-time error CSS1039: Token not allowed after unary operator: '-green'
(519,17): run-time error CSS1039: Token not allowed after unary operator: '-red'
(535,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(536,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(537,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(540,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(542,107): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(543,33): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(545,65): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(546,51): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(547,59): run-time error CSS1039: Token not allowed after unary operator: '-green'
(557,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(560,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(568,39): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(576,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(577,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(580,101): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(584,49): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(588,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(591,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(594,68): run-time error CSS1039: Token not allowed after unary operator: '-warm'
(594,81): run-time error CSS1039: Token not allowed after unary operator: '-hot'
(595,77): run-time error CSS1039: Token not allowed after unary operator: '-warm'
(596,45): run-time error CSS1039: Token not allowed after unary operator: '-cool'
(597,99): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(601,89): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(603,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(604,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(605,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(608,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(610,68): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(611,50): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(612,31): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(615,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(616,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(617,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(620,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(624,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-input'
(625,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(626,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(628,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(635,51): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(638,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-input'
(639,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(640,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(642,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(648,59): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(657,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(658,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(659,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(661,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(663,86): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(665,68): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(668,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-input'
(669,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(670,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(672,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(677,42): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(678,41): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(678,64): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(682,55): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(683,63): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(689,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(690,28): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(699,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(700,29): run-time error CSS1039: Token not allowed after unary operator: '-border'
(701,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(706,79): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(707,30): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(712,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(713,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(718,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(719,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(720,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(730,22): run-time error CSS1039: Token not allowed after unary operator: '-nav-bg'
(731,35): run-time error CSS1039: Token not allowed after unary operator: '-nav-border'
(761,26): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(762,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(768,21): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(827,26): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(828,36): run-time error CSS1039: Token not allowed after unary operator: '-border'
(842,21): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(853,39): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(859,26): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(885,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(903,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(904,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(905,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(906,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(925,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(931,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(949,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(950,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(951,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(952,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(961,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(969,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(975,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(981,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(982,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(983,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(984,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(990,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1003,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1004,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(1006,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1009,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1013,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(1014,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1015,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1024,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1046,36): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1048,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1061,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1067,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1095,30): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1102,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-input'
(1103,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1111,43): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1130,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1137,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1157,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1158,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1159,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(1160,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(1173,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1182,36): run-time error CSS1039: Token not allowed after unary operator: '-bg-card-hover'
(1182,65): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1183,60): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1185,46): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1187,34): run-time error CSS1039: Token not allowed after unary operator: '-red'
(1188,36): run-time error CSS1039: Token not allowed after unary operator: '-red'
(1210,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1211,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1212,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1219,36): run-time error CSS1039: Token not allowed after unary operator: '-bg-card-hover'
(1219,72): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1219,94): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1220,37): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1220,66): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1222,30): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1232,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1233,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1234,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(1235,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(1248,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1251,55): run-time error CSS1039: Token not allowed after unary operator: '-bg-card-hover'
(1254,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(1257,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1258,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1262,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1269,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1282,44): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1283,62): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1292,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1293,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1294,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1298,32): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1314,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1315,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1326,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1329,32): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1346,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1352,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-input'
(1353,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1357,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1364,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1367,38): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1373,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1379,31): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1391,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1394,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1395,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(1396,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1401,31): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1402,38): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1420,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(1422,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1423,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1434,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1444,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1485,31): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1506,35): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1509,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1516,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1520,32): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1521,38): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1539,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1545,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1556,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1593,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1594,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1595,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1600,37): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1600,59): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1601,37): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1601,66): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1621,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1630,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1635,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1640,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(1641,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1642,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(1648,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1660,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1668,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1678,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(1680,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1683,36): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1684,41): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1690,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1710,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1713,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1714,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(1720,40): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1721,43): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1721,96): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1883,32): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(1888,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1898,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1899,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-hover'
(1900,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1905,39): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1905,61): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1907,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1909,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1911,47): run-time error CSS1039: Token not allowed after unary operator: '-accent-hover'
(1918,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1957,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(1973,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-sm'
(1978,35): run-time error CSS1039: Token not allowed after unary operator: '-bg-hover'
(1981,42): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1982,43): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1983,44): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1994,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2011,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2112,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2119,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2123,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2140,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2142,28): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(2168,35): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2174,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2179,30): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2182,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2187,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2330,41): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(2330,64): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2330,99): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2342,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(2343,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(2346,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(2347,24): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2354,33): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2366,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(2372,49): run-time error CSS1039: Token not allowed after unary operator: '-bg-base'
(2372,72): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2378,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2383,38): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2386,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(2396,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
 */
/* ============================================
   DealDeal Community — Clean Light Theme
   ============================================ */
:root {
    --bg-base: #f6f8fa;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f4f8;
    --bg-sidebar: #ffffff;
    --bg-input: #f6f8fa;
    --border: #d0d7de;
    --border-light: #e8ecf0;
    --text-primary: #1a1f2e;
    --text-secondary: #4b5563;
    --text-muted: #000;
    --accent: #fb8500;
    --accent-hover: #ffb703;
    --accent-2: #ff2222;
    --hot: #e30000;
    --warm: #d97706;
    --cool: #2563eb;
    --green: #16a34a;
    --red: #dc2626;
    --nav-bg: #ffffff;
    --nav-border: #d0d7de;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
    --radius: 10px;
    --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;
}

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: sticky;
    top: 0;
    z-index: 100;
}
.forum-nav .brand {
    display: flex;
    align-items: center;
    gap: 2px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
    white-space: nowrap;
    letter-spacing: -.5px;
}
.forum-nav .brand-logo {
    height: 32px;
    width: auto;
    display: block;
    /* White SVG → brand dark color on white nav */
    filter: brightness(0);
}
.forum-nav .brand span:first-child { color: var(--accent); }
.forum-nav .brand span:last-child  { color: var(--text-muted); }
.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(227,0,0,.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; }

/* ── 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(227,0,0,.3);
}
.btn-post:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 3px 10px rgba(227,0,0,.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;
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(227,0,0,.05);
}

/* ── Layout ── */
.forum-wrap {
    display: flex;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 1.5rem auto;
    padding: 0 1rem;
    align-items: flex-start;
}

/* ── Sidebar ── */
.forum-sidebar {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    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); }

/* 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); }

/* Categories */
.cat-list { list-style: none; margin: 0; padding: 0; }
.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(227,0,0,.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 pills (post-a-deal form) */
.subcat-pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .75rem;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: .8rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
    white-space: nowrap;
}
.subcat-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(252,163,17,.08);
}
.subcat-pill.active {
    border-color: var(--accent);
    background: var(--accent);
    color: #ffffff;
    font-weight: 600;
}

/* Subcategory form group flash animation */
@keyframes subcatFlash {
    0%   { background: rgba(227,0,0,.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(227,0,0,.06); }
.cat-parent > a .cat-arrow { transition: transform .2s; }

/* ── Main Feed ── */
.forum-main { flex: 1; min-width: 0; }

/* 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(227,0,0,.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: 1rem 1.1rem;
    margin-bottom: .6rem;
    transition: border-color .2s, box-shadow .2s;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.deal-card:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(227,0,0,.1); }
.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(227,0,0,.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 */
.deal-body { 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(227,0,0,.1);   color: var(--hot);  border: 1px solid rgba(227,0,0,.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(227,0,0,.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;
}
.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);
}
.deal-detail-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 1rem; line-height: 1.4; color: var(--text-primary); }
.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;
}
.btn-getdeal {
    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(227,0,0,.3);
}
.btn-getdeal:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 4px 12px rgba(227,0,0,.35); }

/* 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(227,0,0,.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(227,0,0,.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); }

/* ── 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 */
.mob-search-bar {
    display: none;
    padding: .5rem 1rem;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--nav-border);
    gap: .5rem;
    align-items: center;
    position: fixed;
    top: 54px;
    left: 0;
    right: 0;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.mob-search-bar > div:first-child { position: relative; }
.mob-search-btn { display: none; }
.mob-bottom-nav { display: none; }

@media (max-width: 900px) {
    .forum-sidebar { display: none; }
    .forum-wrap { margin-bottom: 70px; }
}

@media (max-width: 640px) {
    .forum-nav { padding: 0 .85rem; gap: .5rem; height: 54px; }
    .forum-nav .community-label,
    .forum-nav .divider,
    .forum-nav .search-wrap,
    .nav-mainsite,
    .nav-community { display: none; }
    .mob-search-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-base);
        border: 1px solid var(--border);
        border-radius: 50%;
        width: 34px; height: 34px;
        min-width: 34px; min-height: 34px;
        padding: 0;
        box-sizing: border-box;
        color: var(--text-secondary);
        cursor: pointer;
        font-size: .95rem;
        flex-shrink: 0;
    }
    .forum-nav .nav-actions { gap: .35rem; }
    /* 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 {
        width: 34px; height: 34px;
        min-width: 34px; min-height: 34px;
        padding: 0;
        border-radius: 50%;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: .92rem;
    }
    .btn-ghost-signin .signin-text { 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 .55rem; font-size: .82rem; }
    /* mob-search-bar shown/hidden by JS only */
    .province-pills { display: none; }
    .deal-actions { flex-wrap: wrap; gap: .35rem; }
    .forum-wrap { padding: 0 .6rem; margin-top: 1rem; margin-bottom: 80px; }
    .deal-card { padding: .85rem; }
    .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; }
    /* Footer clearance above bottom nav */
    footer { padding-bottom: calc(2rem + 64px) !important; }
    .mob-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        background: var(--bg-card);
        border-top: 1px solid var(--border);
        z-index: 200;
        height: 60px;
        box-shadow: 0 -2px 10px rgba(0,0,0,.08);
        align-items: center;
        padding: 0 .25rem;
    }
    .mob-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .18rem;
        color: var(--text-muted);
        text-decoration: none;
        font-size: .68rem;
        font-weight: 500;
        transition: color .15s;
        height: 100%;
        min-width: 0;
    }
    .mob-nav-item i { font-size: 1.1rem; }
    .mob-nav-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 56px; }
    .mob-nav-item.active,
    .mob-nav-item:hover { color: var(--accent); }
    .mob-nav-post {
        flex: 0 0 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--accent);
        border-radius: 50%;
        width: 48px; height: 48px;
        min-width: 48px; min-height: 48px;
        padding: 0;
        box-sizing: border-box;
        color: #fff;
        box-shadow: 0 3px 10px rgba(227,0,0,.4);
        margin: 0 .5rem;
        text-decoration: none;
        flex-shrink: 0;
        align-self: center;
    }
    .mob-nav-post i { font-size: 1.25rem; }
    .mob-nav-post span { display: none; }
}
/* -- 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(227,0,0,.12);
}
#auth-modal .auth-tab {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: color .15s, border-color .15s;
}


/* -- Member Profile Page ------------------------------------------------ */
.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, #e30000, #ff2222);
    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: #e30000;
}

.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(227,0,0,.08); }

.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cf1313, #FF9800);
    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(227,0,0,.4); }
    50%      { box-shadow: 0 0 0 4px rgba(227,0,0,.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(227,0,0,.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-card.no-image {
    grid-template-columns: 1fr;
}
.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-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(227,0,0,.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(227,0,0,.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; }

/* 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(227,0,0,.04);
    border: 1px solid rgba(227,0,0,.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(227,0,0,.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(227,0,0,.08);
    border: 1px solid rgba(227,0,0,.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(227,0,0,.15);    color: #e30000; border: 1px solid rgba(227,0,0,.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: #e30000; }
.ss-student > i:first-child { 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(227,0,0,.12);
    color: var(--accent);
    transform: scale(1.08);
}
.nav-notif-btn.has-unread {
    color: var(--text-primary);
    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: var(--accent);
    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(227,0,0,.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-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) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Deal detail card — full width, no overflow */
    .post-card,
    .detail-card,
    .deal-detail-wrap {
        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;
    }
    .forum-nav .nav-actions {
        flex-shrink: 0;
    }
    /* 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(227,0,0,.06);
    border-left: 3px solid var(--accent);
    border-color: rgba(227,0,0,.3);
}
.notif-unread:hover { background: rgba(227,0,0,.1); }
.notif-read { opacity: .82; }
.notif-read:hover { opacity: 1; }
.notif-icon-wrap {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(227,0,0,.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: var(--accent);
    margin-top: .45rem;
    box-shadow: 0 0 0 2px rgba(227,0,0,.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;
}
.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; }

