@rtsee/ngx 0.0.131 → 0.0.133

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, AfterViewInit, ElementRef, EventEmitter, OnChanges, SimpleChanges, OnDestroy, ChangeDetectorRef, OutputEmitterRef, ViewContainerRef, ComponentFactoryResolver, DoCheck, Type } from '@angular/core';
2
+ import { OnChanges, OnDestroy, ElementRef, Renderer2, NgZone, SimpleChanges, OnInit, AfterViewInit, EventEmitter, ChangeDetectorRef, OutputEmitterRef, ViewContainerRef, ComponentFactoryResolver, DoCheck, Type } from '@angular/core';
3
3
  import { RTSeeConference, RTSeePeerConnection } from '@rtsee/conference';
4
4
  import { RTSeeMessenger, RTSeeMessengerSearch, RTSeeMessage, RTSeeChat, RTSeeChatMember, RTSeeMentionAutocomplete, RTSeeWorkflowAutocomplete, OzzyClientTask, OzzyClientTaskAction, OzzyWorkflowStep, OzzyWorkflow } from '@rtsee/messenger';
5
5
  import { IPeer, RTSeeTextLabelKeys, IRTSeeCall } from '@rtsee/core';
@@ -30,6 +30,35 @@ declare class NgxService {
30
30
  static ɵprov: i0.ɵɵInjectableDeclaration<NgxService>;
31
31
  }
32
32
 
33
+ /**
34
+ * Progressive image upgrade directive (`img[rtseeProgressiveImg]`).
35
+ * Loads `initialSrc` (e.g. `smImageUrl` on heroes or `xsImageUrl` on thumbnails) first for instant LCP,
36
+ * then decodes `fullSrc` off-thread once visible and swaps `src` seamlessly with zero layout shift.
37
+ */
38
+ declare class ProgressiveImageDirective implements OnChanges, OnDestroy {
39
+ private readonly elRef;
40
+ private readonly renderer;
41
+ private readonly ngZone;
42
+ initialSrc?: string | null;
43
+ fullSrc?: string | null;
44
+ eager: boolean;
45
+ private readonly isBrowser;
46
+ private observer;
47
+ private pendingTimer;
48
+ private removeLoadListener;
49
+ private removeErrorListener;
50
+ private runId;
51
+ private destroyed;
52
+ constructor(elRef: ElementRef<HTMLImageElement>, renderer: Renderer2, ngZone: NgZone, platformId: object);
53
+ ngOnChanges(changes: SimpleChanges): void;
54
+ ngOnDestroy(): void;
55
+ private setupProgressiveLoad;
56
+ private scheduleUpgrade;
57
+ private cleanupPending;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressiveImageDirective, never>;
59
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ProgressiveImageDirective, "img[rtseeProgressiveImg]", never, { "initialSrc": { "alias": "initialSrc"; "required": false; }; "fullSrc": { "alias": "fullSrc"; "required": false; }; "eager": { "alias": "eager"; "required": false; }; }, {}, never, never, true, never>;
60
+ }
61
+
33
62
  declare class RTSeeControlsComponent {
34
63
  rtsee: RTSeeConference;
35
64
  fullScreenMode?: boolean;
@@ -174,6 +203,7 @@ declare class RTSeeContainerComponent implements OnInit {
174
203
  constructor(authService: RTSeeAuthService, router: Router);
175
204
  ngOnInit(): void;
176
205
  subscribeToHtmlEvents(): void;
206
+ private syncPresentationMessengerRoute;
177
207
  onSidenavToggleClicked(): void;
178
208
  defineSideNavState(url: string): void;
179
209
  static ɵfac: i0.ɵɵFactoryDeclaration<RTSeeContainerComponent, never>;
@@ -206,11 +236,15 @@ declare class StoryThumbnailComponent implements OnInit {
206
236
  declare class StoryDetailsComponent implements AfterViewInit, OnChanges {
207
237
  private hostRef;
208
238
  private scroller;
239
+ private router;
209
240
  private document;
210
241
  story: RTSeeStory;
211
242
  presentation: RTSeePresentation;
212
243
  messenger?: RTSeeMessenger;
213
- constructor(hostRef: ElementRef<HTMLElement>, scroller: ViewportScroller, document: Document);
244
+ constructor(hostRef: ElementRef<HTMLElement>, scroller: ViewportScroller, router: Router, document: Document);
245
+ get readTogetherLabel(): string;
246
+ get readTogetherHint(): string;
247
+ onReadTogetherVideoCallClicked(): void;
214
248
  ngAfterViewInit(): void;
215
249
  ngOnChanges(changes: SimpleChanges): void;
216
250
  onRelatedStoryClicked(relatedStory: RTSeeStory): void;
@@ -225,17 +259,25 @@ declare class StoryDetailsComponent implements AfterViewInit, OnChanges {
225
259
  declare class StoriesListComponent implements AfterViewInit, OnChanges {
226
260
  private hostRef;
227
261
  private scroller;
262
+ private router;
228
263
  private document;
229
264
  list: RTSeeStoriesList;
230
265
  presentation: RTSeePresentation;
231
266
  messenger?: RTSeeMessenger;
232
267
  protected readonly RTSeeTextLabelKeys: typeof RTSeeTextLabelKeys;
233
268
  protected readonly Math: Math;
234
- constructor(hostRef: ElementRef<HTMLElement>, scroller: ViewportScroller, document: Document);
269
+ constructor(hostRef: ElementRef<HTMLElement>, scroller: ViewportScroller, router: Router, document: Document);
270
+ get readTogetherLabel(): string;
271
+ get readTogetherHint(): string;
272
+ onReadTogetherVideoCallClicked(): void;
235
273
  ngAfterViewInit(): void;
236
274
  ngOnChanges(changes: SimpleChanges): void;
237
275
  setSortBy(mode: StoriesListSortMode): void;
238
- onStoryClicked(story?: RTSeeStory): void;
276
+ onStoryClicked(story?: RTSeeStory, fallbackEntityId?: string): void;
277
+ hasReadingProgress(item: {
278
+ entityId: string;
279
+ entity?: RTSeeStory;
280
+ }): boolean;
239
281
  private scrollToTop;
240
282
  static ɵfac: i0.ɵɵFactoryDeclaration<StoriesListComponent, never>;
241
283
  static ɵcmp: i0.ɵɵComponentDeclaration<StoriesListComponent, "rtsee-stories-list", never, { "list": { "alias": "list"; "required": false; }; "presentation": { "alias": "presentation"; "required": false; }; "messenger": { "alias": "messenger"; "required": false; }; }, {}, never, never, true, never>;
@@ -1728,5 +1770,5 @@ declare class TestChatNowClickedWidgetComponent extends BaseEventWidgetComponent
1728
1770
  static ɵcmp: i0.ɵɵComponentDeclaration<TestChatNowClickedWidgetComponent, "rtsee-test-chat-now-clicked-widget", never, {}, {}, never, never, true, never>;
1729
1771
  }
1730
1772
 
1731
- export { ApplicationEventWidgetComponent, BaseEventWidgetComponent, ChatAgentCreatedWidgetComponent, ChatCreatedWidgetComponent, ChatMemberInviteClickedWidgetComponent, ChatMessageSentWidgetComponent, ChatOpenedWidgetComponent, DefaultTaskActionPromptComponent, DefaultTaskActionThumbnailComponent, EntitiesConfigurationsListComponent, EntitiesListComponent, EventsWidgetsService, FormComponent, GtagService, IllustratorComponent, InteractiveStoryEditorComponent, ManageEntitiesListComponent, ManageEntitiesListGroupComponent, ManageEntitiesListGroupsComponent, ManageEntitiesListsComponent, ManageEntityComponent, ManageEntityConfigurationComponent, MessengerComponent, NgxService, PaymentProductSnippetComponent, PresentationComponent, ProfileComponent, ProfileOpenedWidgetComponent, RTSeeAuthComponent, RTSeeConferenceComponent, RTSeeContainerComponent, RTSeeControlsComponent, RTSeeModule, RTSeeTaskActionComponent, RTSeeTaskComponent, RefineStoriesListFormStepComponent, RefineStoriesListWorkflowForm, RequestDemoClickedWidgetComponent, RtseeEntityCommentsComponent, RtseeEntityPreviewComponent, RtseeEntityTagsComponent, RtseeEventsDashboardComponent, RtseePeerComponent, RtseeSettingsComponent, RtseeTagGroupManageComponent, RtseeTagGroupsManageComponent, RtseeTagManageComponent, RtseeTagsAccordionMenuComponent, SlideNumberChangedWidgetComponent, SlideTaskActionThumbnailComponent, StoriesListComponent, StoriesListLinkStepComponent, StoriesListThumbnailComponent, StoryDetailsComponent, StoryDetailsOpenedWidgetComponent, StoryElementsSectionComponent, StoryReadingStartedWidgetComponent, StoryTaskActionThumbnailComponent, StoryThumbnailComponent, TaskActionPromptComponent, TaskActionThumbnailComponent, TaskActionWidgetsService, TestChatNowClickedWidgetComponent, TranslateStoriesListFormStepComponent, TranslateStoriesListWorkflowForm, TranslationsPanelComponent, WorkflowStepsService };
1773
+ export { ApplicationEventWidgetComponent, BaseEventWidgetComponent, ChatAgentCreatedWidgetComponent, ChatCreatedWidgetComponent, ChatMemberInviteClickedWidgetComponent, ChatMessageSentWidgetComponent, ChatOpenedWidgetComponent, DefaultTaskActionPromptComponent, DefaultTaskActionThumbnailComponent, EntitiesConfigurationsListComponent, EntitiesListComponent, EventsWidgetsService, FormComponent, GtagService, IllustratorComponent, InteractiveStoryEditorComponent, ManageEntitiesListComponent, ManageEntitiesListGroupComponent, ManageEntitiesListGroupsComponent, ManageEntitiesListsComponent, ManageEntityComponent, ManageEntityConfigurationComponent, MessengerComponent, NgxService, PaymentProductSnippetComponent, PresentationComponent, ProfileComponent, ProfileOpenedWidgetComponent, ProgressiveImageDirective, RTSeeAuthComponent, RTSeeConferenceComponent, RTSeeContainerComponent, RTSeeControlsComponent, RTSeeModule, RTSeeTaskActionComponent, RTSeeTaskComponent, RefineStoriesListFormStepComponent, RefineStoriesListWorkflowForm, RequestDemoClickedWidgetComponent, RtseeEntityCommentsComponent, RtseeEntityPreviewComponent, RtseeEntityTagsComponent, RtseeEventsDashboardComponent, RtseePeerComponent, RtseeSettingsComponent, RtseeTagGroupManageComponent, RtseeTagGroupsManageComponent, RtseeTagManageComponent, RtseeTagsAccordionMenuComponent, SlideNumberChangedWidgetComponent, SlideTaskActionThumbnailComponent, StoriesListComponent, StoriesListLinkStepComponent, StoriesListThumbnailComponent, StoryDetailsComponent, StoryDetailsOpenedWidgetComponent, StoryElementsSectionComponent, StoryReadingStartedWidgetComponent, StoryTaskActionThumbnailComponent, StoryThumbnailComponent, TaskActionPromptComponent, TaskActionThumbnailComponent, TaskActionWidgetsService, TestChatNowClickedWidgetComponent, TranslateStoriesListFormStepComponent, TranslateStoriesListWorkflowForm, TranslationsPanelComponent, WorkflowStepsService };
1732
1774
  export type { IAccordionItem, IRefineStoriesListWorkflowFormOptions, ITaskActionPromptWidget, ITaskActionThumbnailWidget, ITranslateStoriesListWorkflowFormOptions, IWorkflowStepWidget, RTSeeTagForm, RTSeeTagGroupForm };
@@ -113,6 +113,12 @@
113
113
 
114
114
  .rts-messenger-header-create-chat-container {
115
115
  padding: 0;
116
+
117
+ .rts-create-chat {
118
+ .rts-create-chat-title {
119
+ padding-left: 63px;
120
+ }
121
+ }
116
122
  }
117
123
  }
118
124
  }
@@ -1,10 +1,40 @@
1
1
  @import "./variables";
2
2
 
3
3
  .rtsee-presentation {
4
+ min-height: 100vh;
4
5
  padding-bottom: $rts-bottom-nav-height + $rts-offset-sm;
5
6
  background-color: $ai-background-color;
6
7
  color: $ai-text-color-primary;
7
8
 
9
+ .rtsee-page-skeleton {
10
+ min-height: 100vh;
11
+ background-color: $rts-rates-bg-main;
12
+ display: flex;
13
+ flex-direction: column;
14
+
15
+ .rtsee-page-skeleton-hero {
16
+ width: 100%;
17
+ min-height: 320px;
18
+ background: linear-gradient(180deg, #1d1829 0%, $rts-rates-bg-main 100%);
19
+
20
+ @media screen and (min-width: $rts-break-sm) {
21
+ min-height: 400px;
22
+ }
23
+
24
+ @media screen and (min-width: $rts-break-md) {
25
+ min-height: 520px;
26
+ }
27
+ }
28
+
29
+ .rtsee-page-skeleton-body {
30
+ flex: 1;
31
+ display: flex;
32
+ align-items: flex-start;
33
+ justify-content: center;
34
+ padding-top: 32px;
35
+ }
36
+ }
37
+
8
38
  .rtsee-presentation-story-viewer-container {
9
39
  background-color: $rts-story-player-background;
10
40
  }
@@ -37,13 +37,21 @@
37
37
  text-decoration: none;
38
38
  color: #ffffff;
39
39
  background-color: #1c1926;
40
- background-size: cover;
41
- background-position: center;
42
- background-repeat: no-repeat;
43
40
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
44
41
  transition: transform 0.25s ease, box-shadow 0.25s ease;
45
42
  user-select: none;
46
43
 
44
+ .rtsee-stories-list-thumbnail-img {
45
+ position: absolute;
46
+ inset: 0;
47
+ width: 100%;
48
+ height: 100%;
49
+ object-fit: cover;
50
+ object-position: center;
51
+ z-index: 0;
52
+ pointer-events: none;
53
+ }
54
+
47
55
  &:hover {
48
56
  transform: translateY(-3px) scale(1.015);
49
57
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
@@ -152,13 +160,21 @@
152
160
  position: relative;
153
161
  min-height: 300px;
154
162
  background-color: #1a1625;
155
- background-size: cover;
156
- background-position: center;
157
- background-repeat: no-repeat;
158
163
  display: flex;
159
164
  align-items: flex-end;
160
165
  overflow: hidden;
161
166
 
167
+ .rtsee-stories-list-banner-img {
168
+ position: absolute;
169
+ inset: 0;
170
+ width: 100%;
171
+ height: 100%;
172
+ object-fit: cover;
173
+ object-position: center;
174
+ z-index: 0;
175
+ pointer-events: none;
176
+ }
177
+
162
178
  @media screen and (min-width: $rts-break-md) {
163
179
  min-height: 360px;
164
180
  }
@@ -281,6 +297,94 @@
281
297
  color: rgba(255, 255, 255, 0.9);
282
298
  }
283
299
 
300
+ .rtsee-stories-list-read-together-panel {
301
+ display: flex;
302
+ flex-direction: column;
303
+ align-items: stretch;
304
+ justify-content: space-between;
305
+ gap: 14px;
306
+ padding: 16px 20px;
307
+ margin-bottom: 24px;
308
+ border-radius: 16px;
309
+ border: 1px solid rgba(52, 211, 153, 0.28);
310
+ background:
311
+ radial-gradient(
312
+ 110% 150% at 0% 0%,
313
+ rgba(16, 185, 129, 0.14) 0%,
314
+ rgba(16, 185, 129, 0) 60%
315
+ ),
316
+ linear-gradient(
317
+ 135deg,
318
+ $rts-rates-bg-card-start 0%,
319
+ $rts-rates-bg-card-end 100%
320
+ );
321
+ box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
322
+
323
+ @media screen and (min-width: $rts-break-sm) {
324
+ flex-direction: row;
325
+ align-items: center;
326
+ padding: 16px 22px;
327
+ }
328
+ }
329
+
330
+ .rtsee-stories-list-read-together-hint {
331
+ margin: 0;
332
+ font-size: 0.93rem;
333
+ line-height: 1.45;
334
+ color: rgba(255, 255, 255, 0.88);
335
+ }
336
+
337
+ .rtsee-stories-list-read-together-btn {
338
+ flex-shrink: 0;
339
+ min-height: 46px;
340
+ display: inline-flex;
341
+ align-items: center;
342
+ justify-content: center;
343
+ gap: 9px;
344
+ padding: 10px 20px;
345
+ border-radius: 12px;
346
+ border: 1px solid rgba(52, 211, 153, 0.5);
347
+ background: rgba(16, 185, 129, 0.16);
348
+ color: #ffffff;
349
+ font: inherit;
350
+ font-size: 0.92rem;
351
+ font-weight: 700;
352
+ letter-spacing: 0.01em;
353
+ cursor: pointer;
354
+ box-sizing: border-box;
355
+ box-shadow:
356
+ 0 4px 16px rgba(0, 0, 0, 0.24),
357
+ 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
358
+ transition:
359
+ transform 0.18s ease,
360
+ border-color 0.18s ease,
361
+ background-color 0.18s ease,
362
+ box-shadow 0.18s ease;
363
+
364
+ .rtsee-stories-list-read-together-icon {
365
+ flex-shrink: 0;
366
+ color: #34d399;
367
+ }
368
+
369
+ &:hover {
370
+ transform: translateY(-1px);
371
+ border-color: rgba(52, 211, 153, 0.8);
372
+ background: rgba(16, 185, 129, 0.25);
373
+ box-shadow:
374
+ 0 8px 22px rgba(16, 185, 129, 0.22),
375
+ 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
376
+ }
377
+
378
+ &:active {
379
+ transform: translateY(0) scale(0.99);
380
+ }
381
+
382
+ &:focus-visible {
383
+ outline: 2px solid #34d399;
384
+ outline-offset: 2px;
385
+ }
386
+ }
387
+
284
388
  .rtsee-stories-list-toolbar {
285
389
  display: flex;
286
390
  align-items: center;
@@ -337,46 +441,71 @@
337
441
 
338
442
  .rtsee-stories-list-item {
339
443
  display: block;
340
- background: rgba(255, 255, 255, 0.04);
444
+ background: linear-gradient(
445
+ 135deg,
446
+ $rts-rates-bg-card-start 0%,
447
+ $rts-rates-bg-card-end 100%
448
+ );
341
449
  border: 1px solid rgba(255, 255, 255, 0.08);
342
450
  border-radius: 16px;
343
451
  padding: 14px;
344
- transition: border-color 0.2s ease, background-color 0.2s ease;
452
+ transition: border-color 0.2s ease, box-shadow 0.2s ease;
453
+
454
+ @media screen and (min-width: $rts-break-sm) {
455
+ padding: 16px 18px;
456
+ }
345
457
 
346
458
  &:hover {
347
459
  border-color: rgba(191, 139, 255, 0.35);
348
- background: rgba(255, 255, 255, 0.06);
460
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
349
461
  }
350
462
  }
351
463
 
352
464
  .rtsee-stories-list-item-card {
465
+ display: flex;
466
+ flex-direction: column;
467
+ min-width: 0;
468
+ }
469
+
470
+ .rtsee-stories-list-item-top {
353
471
  display: flex;
354
472
  flex-direction: row;
355
- align-items: flex-start;
473
+ align-items: stretch;
356
474
  gap: 14px;
357
475
  min-width: 0;
476
+
477
+ @media screen and (min-width: $rts-break-sm) {
478
+ gap: 16px;
479
+ }
358
480
  }
359
481
 
360
482
  .rtsee-stories-list-item-cover-link {
361
483
  position: relative;
362
484
  flex-shrink: 0;
485
+ align-self: flex-start;
363
486
  display: block;
364
- width: 112px;
365
- height: 112px;
487
+ width: 104px;
488
+ height: 104px;
366
489
  aspect-ratio: 1 / 1;
367
490
  border-radius: 12px;
368
491
  overflow: hidden;
369
492
  background: #222;
370
493
  text-decoration: none;
494
+ box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
495
+
496
+ @media screen and (min-width: $rts-break-sm) {
497
+ width: 112px;
498
+ height: 112px;
499
+ }
371
500
 
372
501
  &::after {
373
502
  content: "";
374
503
  position: absolute;
375
504
  inset: 0 0 auto 0;
376
- height: 44px;
505
+ height: 36px;
377
506
  background: linear-gradient(
378
507
  180deg,
379
- rgba(10, 8, 18, 0.6) 0%,
508
+ rgba(10, 8, 18, 0.58) 0%,
380
509
  rgba(10, 8, 18, 0) 100%
381
510
  );
382
511
  pointer-events: none;
@@ -384,15 +513,15 @@
384
513
  }
385
514
 
386
515
  &:hover .rtsee-stories-list-item-cover {
387
- transform: scale(1.04);
516
+ transform: scale(1.05);
388
517
  }
389
518
  }
390
519
 
391
520
  .rtsee-stories-list-item-cover-top {
392
521
  position: absolute;
393
- top: 6px;
394
- left: 6px;
395
- right: 6px;
522
+ top: 5px;
523
+ left: 5px;
524
+ right: 5px;
396
525
  z-index: 2;
397
526
  display: flex;
398
527
  align-items: center;
@@ -403,15 +532,15 @@
403
532
 
404
533
  .rtsee-stories-list-item-rank {
405
534
  flex-shrink: 0;
406
- min-width: 24px;
407
- height: 24px;
535
+ min-width: 22px;
536
+ height: 22px;
408
537
  padding: 0 6px;
409
- border-radius: 999px;
410
- background: rgba(18, 14, 28, 0.76);
538
+ border-radius: 7px;
539
+ background: rgba(18, 14, 28, 0.82);
411
540
  border: 1px solid rgba(191, 139, 255, 0.5);
412
541
  backdrop-filter: blur(6px);
413
542
  color: #fff;
414
- font-size: 0.76rem;
543
+ font-size: 0.72rem;
415
544
  font-weight: 700;
416
545
  line-height: 1;
417
546
  display: inline-flex;
@@ -422,10 +551,10 @@
422
551
 
423
552
  .rtsee-stories-list-item-rating {
424
553
  flex-shrink: 0;
425
- height: 24px;
426
- padding: 0 7px;
427
- border-radius: 999px;
428
- background: rgba(18, 14, 28, 0.76);
554
+ height: 22px;
555
+ padding: 0 6px;
556
+ border-radius: 7px;
557
+ background: rgba(18, 14, 28, 0.82);
429
558
  border: 1px solid rgba(255, 255, 255, 0.16);
430
559
  backdrop-filter: blur(6px);
431
560
  display: inline-flex;
@@ -436,13 +565,13 @@
436
565
 
437
566
  .rtsee-stories-list-item-rating-star {
438
567
  color: $ai-rating-star-color;
439
- font-size: 0.8rem;
568
+ font-size: 0.74rem;
440
569
  line-height: 1;
441
570
  }
442
571
 
443
572
  .rtsee-stories-list-item-rating-value {
444
573
  color: #ffffff;
445
- font-size: 0.74rem;
574
+ font-size: 0.7rem;
446
575
  font-weight: 700;
447
576
  line-height: 1;
448
577
  }
@@ -467,20 +596,38 @@
467
596
  .rtsee-stories-list-item-body {
468
597
  flex: 1;
469
598
  min-width: 0;
599
+ min-height: 104px;
600
+ display: flex;
601
+ flex-direction: column;
602
+ justify-content: space-between;
603
+ gap: 10px;
604
+
605
+ @media screen and (min-width: $rts-break-sm) {
606
+ min-height: 112px;
607
+ }
470
608
  }
471
609
 
472
610
  .rtsee-stories-list-item-header {
473
611
  display: flex;
474
612
  flex-direction: column;
475
- gap: 6px;
476
- margin-bottom: 8px;
613
+ gap: 5px;
614
+ margin: 0;
477
615
  }
478
616
 
479
617
  .rtsee-stories-list-item-title {
480
618
  margin: 0;
481
- font-size: 1.15rem;
619
+ font-size: 1.12rem;
482
620
  font-weight: 700;
483
- line-height: 1.3;
621
+ line-height: 1.25;
622
+ display: -webkit-box;
623
+ -webkit-line-clamp: 2;
624
+ line-clamp: 2;
625
+ -webkit-box-orient: vertical;
626
+ overflow: hidden;
627
+
628
+ @media screen and (min-width: $rts-break-sm) {
629
+ font-size: 1.2rem;
630
+ }
484
631
 
485
632
  a {
486
633
  color: #ffffff;
@@ -496,13 +643,24 @@
496
643
  display: flex;
497
644
  align-items: center;
498
645
  flex-wrap: wrap;
499
- gap: 10px;
500
- font-size: 0.8rem;
646
+ gap: 8px;
647
+ font-size: 0.78rem;
501
648
  color: $ai-text-color-secondary;
502
649
  }
503
650
 
651
+ .rtsee-stories-list-item-readtime {
652
+ display: inline-flex;
653
+ align-items: center;
654
+ gap: 4px;
655
+
656
+ .pi {
657
+ font-size: 0.74rem;
658
+ opacity: 0.75;
659
+ }
660
+ }
661
+
504
662
  .rtsee-stories-list-item-age {
505
- font-size: 0.72rem;
663
+ font-size: 0.7rem;
506
664
  font-weight: 600;
507
665
  color: $ai-icon-highlight-color;
508
666
  background: $ai-icon-highlight-color-dim;
@@ -510,11 +668,70 @@
510
668
  border-radius: 4px;
511
669
  }
512
670
 
671
+ .rtsee-stories-list-item-actions {
672
+ display: flex;
673
+ align-items: center;
674
+ flex-wrap: wrap;
675
+ gap: 10px;
676
+ }
677
+
678
+ .rtsee-stories-list-item-start-btn {
679
+ display: inline-flex;
680
+ align-items: center;
681
+ justify-content: center;
682
+ gap: 7px;
683
+ height: 34px;
684
+ padding: 0 14px;
685
+ border: none;
686
+ border-radius: 10px;
687
+ background: linear-gradient(
688
+ 135deg,
689
+ $rts-rates-accent-purple 0%,
690
+ $rts-rates-accent-purple-light 100%
691
+ );
692
+ color: #ffffff;
693
+ text-decoration: none;
694
+ font: inherit;
695
+ font-size: 0.82rem;
696
+ font-weight: 700;
697
+ letter-spacing: 0.01em;
698
+ cursor: pointer;
699
+ box-shadow:
700
+ 0 4px 14px rgba($rts-rates-accent-purple, 0.38),
701
+ 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
702
+ transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
703
+
704
+ .pi {
705
+ font-size: 0.85rem;
706
+ }
707
+
708
+ &:hover {
709
+ color: #ffffff;
710
+ text-decoration: none;
711
+ transform: translateY(-1px);
712
+ filter: brightness(1.06);
713
+ box-shadow:
714
+ 0 6px 18px rgba($rts-rates-accent-purple, 0.5),
715
+ 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
716
+ }
717
+
718
+ &:active {
719
+ transform: translateY(0) scale(0.98);
720
+ }
721
+
722
+ &:focus-visible {
723
+ outline: 2px solid $rts-rates-accent-purple-light;
724
+ outline-offset: 2px;
725
+ }
726
+ }
727
+
513
728
  .rtsee-stories-list-item-description {
514
- margin: 0;
515
- font-size: 0.94rem;
516
- line-height: 1.55;
517
- color: rgba(255, 255, 255, 0.82);
729
+ margin: 12px 0 0;
730
+ padding-top: 12px;
731
+ border-top: 1px solid rgba(255, 255, 255, 0.07);
732
+ font-size: 0.92rem;
733
+ line-height: 1.58;
734
+ color: rgba(255, 255, 255, 0.84);
518
735
  white-space: pre-line;
519
736
  }
520
737