﻿body {
    background-color: #F5F5F5;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

* {
    box-sizing: border-box;
}

.column {
    float: left;
    padding: 5px;
}

.left, .right {
    width: 20%;
}

.middle {
    width: 60%;
}

.left-post-pic {
    text-align:center;
    width: 60px;
    height:60px!important;
    height: 100%;
    background-color: #FF8C00;
    border-radius: 40px;
}

.right-post-pic {
    width: calc(100% - 60px);
    height: 100%;
    
}

.row-post {
    /*height: 250px;*/
    padding-top: 10px;
    position: relative;

}

.post-parent {
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #FF8C00;
    background-color: white;
}

.post-data-description {
    overflow:hidden;
}

.post-toolbar {
    float:right;
}

.post-data-wrapper {
    height: 100%;
    position: relative;
}

.post-data {
    padding: 3px;
    /*position: absolute;*/
    width: 100%;
    border-bottom: 1px dotted #ccc;
}

.leaderboard-filter, .feed-filter {
    padding: 10px 2px;
    width: 100%;
    border-bottom: 1px dotted #ccc;
}

#feed-label {
    float: left;
    padding-top: 4px;
    padding-right: 4px;
}
.post-data-last {
    border:0px;
}

.middle {
    width: 60%;
}

.header-container, #feedcontainer, #leaderboardcontainer {
    width:100%;
    float:left;
}

#leaderboardcontainer {
    display:none;
}

.feed-header {
    width:100%;
    float:left;
}

.column-data {
    float: left;
    padding: 2px;
    width: 33.33%;
}

.column-header {
    height: 100%;
    background-color: white;
}

.column-data-half {
    float: left;
    padding: 2px;
    width: 50%;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}



.stat-title {
    font-size: 12px;
    font-weight: 400;
    color: #606065;
    line-height: 1.2;
}

.stat-subtext {
    font-size: 13px;
}


.data-text {
    font-weight: 400;
    line-height: 1;
    /*white-space: nowrap;*/
    -webkit-font-smoothing: antialiased;
}

.filter-select, .filter-select-rank {
    font-weight: 200;
    font-size: 16px;
    line-height: 1;
    border: 0px;
    /*white-space: nowrap;*/
    -webkit-font-smoothing: antialiased;
    color: #606065;
    float:left;
}

.filter-select-rank {
    float:none;
}

.text-loading {
    font-size:12px;
}

#shareDialog, #alertDialog {
    display:none;
    max-height:400px!important;
}

.linkicon, .toolbar-linkicon, .toolbar-linkicon-alert-red, .toolbar-linkicon-alert-green {
    color: lightsteelblue;
    vertical-align: middle;
    padding-right: 2px;
    padding-left: 2px;
    font-size: 16px;
}

.toolbar-linkicon {
    cursor:pointer;
}

.toolbar-linkicon-alert-red, .toolbar-linkicon-alert-green {
    font-size: 50px;
    cursor: default;
}

.toolbar-linkicon-alert-red {
    color:red;
}

.toolbar-linkicon-alert-green {
    color: green;
}


.map, .timetable, .more {
    height: 100%;
    width: 100%;
    margin: 0px;
    padding: 0px;
    float: left;
}

.timetable {
    border-top: 1px solid #ccc;
    height:300px!important;
    overflow-y: auto;
}

.advertisement {
    width: 100%;
    height: auto !important;
    float: left;
    padding-top: 10px;
    padding-bottom: 10px;
}

.more {
    border: 1px solid #ccc;
    height:auto!important;
}

.timetable-row {
    border: 1px solid #ccc;
    border-top:0px;
    float:left;
    width:100%;
}

.timetable-colum-content {
    float:left;
    width:15%;
    border-left: 1px solid #ccc;
    font-size:12px;
    /*padding-left: 2px;*/
    padding: 2px;
}

.timetable-colum-destination {
    width:40%;
    border-left:0px;
}

.timetable-colum-header {
    font-weight: bold;
}

.timetable-score-late {
    color:red;
}

.timetable-score-early {
    color:green;
}
.data-text-bold {
    font-weight:bold!important;
}

.stat-text {

    font-size:20px;
}



.tab-content {
    width:100%;
    height:500px;
    display:none;
    float: left;
}



/*.map {
    background-color:paleturquoise;
    /*width:100%;
    height:500px;
    display:none;
}*/

.post-picture {
    transform: translateY(33%);
    color: white;
}

h4, h3 {
    margin:0px;
}

a {
    font-size: 13px;
}



time {
    font-size: 13px;
    color: #606065;
}

.service-label {
    position: relative;
    font-size: 10px;
    top: 23%;
    background-color: white;
    padding: 1px;
    border-radius: 5px;
    border-style: hidden;


}

#loadingpanel {
    /*background-color: #FF8C00;*/
    width: 40px;
    height: 40px;
    position: fixed;
    left: 50%;
    bottom:0;
    transform: translate(-50%, -50%);
    z-index: 1001;
    /*border-radius: 25px;*/
    display:block;
    text-align: center;
    font-size: 24px;
    color:black;
    font-weight: bold;
    padding:5px;
}

.busy-load-container {
    border-radius: 20px!important;
}

.tab-button, .tab-button-main {
   float: left;
   color: #555;
   cursor: default;
   background-color: #fff;
   border: 1px solid #ddd;
   border-bottom-color: transparent;
   padding-top: 10px;
   padding-right: 15px;
   padding-bottom: 2px;
   padding-left: 15px;
   margin-top: -1px;
   cursor: pointer;
}

.tab-button-selected {
     margin-top: -4px;
}

.header-row {
    padding: 0px;
    width: 100%;
    height: 100%;
    float: left;
    
}

.header-column {
    height:100%;
    padding:0px;
}

.header-logo {
    width:60px;
    height:60px;
    padding:0px;
}

.header-title {
    width: calc(100% - 60px);
    height: 100%;
    font-size: 24px;
    font-weight: bold;
    padding: 14px;
}

.header-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    float: right;
    width: 100%;
    min-height: 54px;
}

.header-link,
.header-icon-link,
.header-user-trigger {
    display: inline-flex;
    align-items: center;
    color: #42526e;
    text-decoration: none;
    font-size: 14px;
}

.header-link:hover,
.header-icon-link:hover,
.header-user-trigger:hover {
    color: #1f2937;
    text-decoration: none;
}

.header-separator {
    color: rgba(102, 112, 133, 0.45);
    font-size: 13px;
}

.header-icon-link {
    position: relative;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.header-bell-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 18px;
}

.header-user-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-user-trigger {
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(142, 164, 201, 0.2);
    background: rgba(255,255,255,0.92);
    font-weight: 600;
    white-space: nowrap;
}

.header-user-trigger .header-caret {
    font-size: 12px;
    color: #7b8794;
}

.header-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(142, 164, 201, 0.22);
    background: rgba(255,255,255,0.97);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    z-index: 1002;
}

.header-user-menu.open .header-user-dropdown {
    display: block;
}

.header-dropdown-link {
    display: block;
    padding: 9px 10px;
    border-radius: 10px;
    color: #42526e;
    text-decoration: none;
    font-size: 13px;
}

.header-dropdown-link:hover {
    background: rgba(255, 140, 0, 0.08);
    color: #1f2937;
    text-decoration: none;
}

.leaderboard-ruler {
    border-top: 1px solid #FF8C00;
    padding-top: 6px;
}

.leaderboard-spacer {
    padding-left:20px;
}

.leaderboard-column {
    /*border-bottom: 1px dotted #ccc;*/
    padding: 2px;
}

.leaderboard-trophy  {
    width: 8%;
    float:left;
    text-align:left;
}

.leader-datarow, .ranking-datarow {
    float:left;
    width: 100%;
    border-bottom: 1px dotted #ccc;
}

.ranking-datarow {
    padding:4px;
}

.trophy-gold {
    color: gold;
}

.trophy-silver {
    color: silver;
}
.trophy-bronze {
    color: #cd7f32;
}

.common-text {
    font-size: 14px;
}

.leaderboard-rider {
    width: 46%;
    float: left;
}

.leaderboard-distance {
    width: 46%;
    float: left;
}

.leaderboard-ranking {
    width:15%;
    float:left;
}

.leaderboard-ranking-summary {
    width:35%;
    float:left;
}

.driverlink {
    text-decoration: none;
    font-size: 16px;
    display: inline;
    position: relative;
}

.follow-panel {
    float: left;
    width: 100%;
    height: auto;
    padding-top:10px;
}

.follow-info {
    width:50%;
}

.follow-button {
    float:right!important;
}

.achievement-item {
    float:left;
    padding-right:5px;
    padding-right:5px;
}

#following-user-header {
   cursor:pointer;
}

.container-social {
    
    float: left;
    padding-top:10px;
}

.social-bar {
    float:left;
    padding:2px;
}

.social-comment {
    padding:2px;
}



.follow-container {
    float: left;
    width: 100%;
    height: auto;
    position: relative;
    /*overflow: auto;*/
}

.follow-container-inner {
    overflow-y: scroll;
    min-width: 101%;
    height: 100px;
}



#driver-stats {
    display:none;
}

#maintab {
    background-color: white;
}

.maintext-user {
    font-weight: bold;
    display: none;
    padding-top: 5px;
}

a:visited {
    color: black;
}

a:hover {
    color: #008CBA;
}

a:link {
    color:black;
}

a:link {
    color:black;
}

.top-row {
    padding-top: 65px;

}

.post {
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    box-shadow: 0px 8px 24px rgba(13,13,18,0.04);
    border-bottom: 0px;
}

.spad-bar {
    float: right;
}

.spad-icon, .comment-icon {

    border: 1px solid #FF8C00;
    border-radius: 2px;
    width: 35px;
    height: 20px;
    text-align: center;
    line-height: 19px;
    
}

.comment-button {
    float:right;
}
.comment-icon {
    cursor:pointer;
}

.comment-edit {
    padding-top:10px;
}

.comment-input {
    width:100%;
    margin:5px 5px 5px 0px;
}

.spad-icon {
    float:left;
}

.spad-icon:hover {
    background-color: #FF8C00;
    color:white;
}

.spad-hidden {
    display:none;
}

.spad-given, .spad-notgiven {
    display:block;
    background-color: #FF8C00;
    color:white;
    cursor:default;
}

.spad-notgiven {
    cursor:pointer;
    color:black;
}

#notification {
    font-size: 10px;
    font-weight: 700;
    color: white;
    background-color: #e02424;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    display:none;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -6px;
    z-index: 9;
    top: -5px;
    line-height: 1;
    padding: 0 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    cursor:pointer;
}

@media only screen and (max-width: 1290px) {
    .header-title {
        font-size: 20px;
        font-weight: bold;
        /*padding: 19px;*/
        width: auto;
        position: absolute;
        padding-left: 70px;
    }

    .header-links {
        width:100%;
    }

   

}

@media only screen and (max-width: 850px) {
    /* For mobile phones: */
    /*.advertisement {
      display:none;
    }*/

    /*.post {
        border-radius: 0px;
        margin-top: 0px;
        margin-bottom: 0px;
        border-bottom: 1px solid #FF8C00;
    }*/
        .service-label {
            top:0%;
        }
        .header-title {
        font-size: 20px;
        font-weight: bold;
        /*padding: 19px;*/
        width: auto;
        position: relative;
        padding-left: 70px;
    }

.achievement-item {
    padding-right:5px;
    padding-left:2px;
}

    body {
        background-color: white;
    }

    .top-row {
        padding-top:95px;
    }

    .header-links {
        width: 100%!important;
    }

    .header-column {
        float:left!important;
        width:100%;
    }
    .header-title {
        width: 100%;
        padding-left: 70px;
    }

    .header-logo {
        float:left!important;
    }

    .left, .right {
        width: 0%;
        display: none;
    }

    .middle {
        width: 100%;
        
    }

    .column-data, .left-post-pic, .column-data-half {
        float: none;
    }


    .column-data-half, .column-data {
        width:auto;
    }

    .right-post-pic {
        width: 100%;
    }

    .leaderboard-spacer {
      padding-left:0px;
    }

    .ranking-datarow {
        padding:2px;
        font-size:13px;
    }
}

.toolbar-button {
    background-color: white;
    width: auto;
    /* height: 21px; */
    float: left;
    border-style: solid;
    border-width: 1px;
    border-radius: 3px;
    border-color: #FF8C00;
    text-align: center;
    cursor: pointer;
    margin-right: 4px;
    padding: 4px;
}

.toolbar-button:hover {
    background-color: #FF8C00;
    color:white;
}

.toolbar-button-selected {
    background-color: #FF8C00;
    color: white;
}


.ol-scale-line {
    left:calc(50% - 47px)!important;
}

.map:-moz-full-screen {
    height: 100%;
}

.map:-webkit-full-screen {
    height: 100%;
}

.map:-ms-fullscreen {
    height: 100%;
}

.map:fullscreen {
    height: 100%;
}

#global-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.025);
    box-shadow: 0 1px 2px rgba(0,0,0,0.025);
    z-index: 999999;
    height: auto;
    background-color: white;
    border-bottom: 1px solid #e6e6eb;
    background-color: #fff;
}

.branding {
    float: left;
}

#BackToTop {
    display: inline-block;
    background-color: #FF8C00;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#BackToTop::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
}

#BackToTop:hover {
    cursor: pointer;
    background-color: #333;
}

#BackToTop:active {
    background-color: #555;
}

#BackToTop.show {
    opacity: 0.8;
    visibility: visible;
}

.feed-page {
    --feed-bg: #f3f6fb;
    --feed-surface: rgba(255, 255, 255, 0.94);
    --feed-surface-strong: #ffffff;
    --feed-border: rgba(142, 164, 201, 0.35);
    --feed-border-strong: rgba(255, 140, 0, 0.2);
    --feed-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --feed-shadow-hover: 0 16px 34px rgba(15, 23, 42, 0.12);
    --feed-text: #1f2937;
    --feed-muted: #667085;
    --feed-accent: #FF8C00;
    --feed-soft-accent: rgba(255, 140, 0, 0.1);
    --feed-radius-lg: 20px;
    --feed-radius-md: 16px;
    --feed-radius-sm: 12px;
    color: var(--feed-text);
}

body.feed-page {
    background:
        radial-gradient(circle at top left, rgba(255, 140, 0, 0.08), transparent 24%),
        radial-gradient(circle at top right, rgba(110, 140, 188, 0.10), transparent 26%),
        var(--feed-bg);
    color: var(--feed-text);
}

.feed-page .column {
    padding: 10px;
}

.feed-page .top-row {
    padding-top: 88px;
}

.surface-shell,
.feed-page .post-parent {
    background: var(--feed-surface);
    border: 1px solid var(--feed-border);
    border-radius: var(--feed-radius-lg);
    box-shadow: var(--feed-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feed-page .column-header {
    background: transparent;
}

.header-container-top.surface-shell,
.filter-shell,
.leaderboard-shell,
.tab-shell,
.content-shell {
    padding: 16px 18px;
}

.intro-panel,
.summary-panel {
    padding: 6px;
}

.feed-page .leaderboard-spacer {
    padding-left: 18px;
}

.feed-page .common-text {
    color: var(--feed-muted);
    line-height: 1.5;
}

.feed-page .stat-title,
.feed-page time {
    color: var(--feed-muted);
}

.feed-page .activity-header time {
    color: rgba(102, 112, 133, 0.78);
}

.feed-page h3,
.feed-page h4,
.feed-page .data-text,
.feed-page .driverlink {
    color: var(--feed-text);
}

.feed-page a:link,
.feed-page a:visited {
    color: var(--feed-text);
}

.feed-page a:hover,
.feed-page .driverlink:hover {
    color: var(--feed-accent);
}

.feed-page .linkicon,
.feed-page .toolbar-linkicon {
    color: #8ea4c9;
}

.content-shell {
    margin-top: 12px;
}

.tab-shell {
    display: flex;
    gap: 10px;
    padding: 0 0 12px;
    box-shadow: none;
    border-bottom: 1px solid rgba(142, 164, 201, 0.16);
}

.feed-page .tab-button-main {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--feed-muted);
    font-weight: 600;
    padding: 6px 4px 12px;
    margin: 0 18px 0 0;
}

.feed-page .tab-button-main:last-child {
    margin-right: 0;
}

.feed-page .tab-button-main.tab-button-selected {
    color: var(--feed-text);
    border-bottom-color: var(--feed-accent);
    margin-top: 0;
}

.feed-page .leaderboard-filter,
.feed-page .feed-filter {
    border-bottom: 0;
    padding: 0;
}

.feed-page .filter-shell,
.feed-page .leaderboard-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.feed-page #feed-label {
    padding-top: 8px;
    padding-right: 14px;
    cursor: pointer;
    user-select: none;
}

.feed-page .feed-toggle {
    margin-right: auto;
    background: linear-gradient(180deg, #ffffff 0%, #fff7ee 100%);
    border-color: rgba(255, 140, 0, 0.35);
    color: #7a4706;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.10);
}

.feed-page .feed-toggle:hover {
    background: linear-gradient(180deg, #fffbf6 0%, #fff1df 100%);
}

.feed-page .feed-toggle.toolbar-button-selected {
    background: linear-gradient(180deg, #ff9d2d 0%, #ff8c00 100%);
    border-color: #ff8c00;
    color: white;
    box-shadow: 0 10px 22px rgba(255, 140, 0, 0.28);
}

.feed-page #feedcontainer,
.feed-page #leaderboardcontainer {
    width: 100%;
    float: none;
}

.feed-page #feedcontainer {
    padding-top: 10px;
}

.feed-page #leaderboardcontainer {
    padding-top: 10px;
}

.feed-page .leaderboard-shell {
    padding: 0;
    margin-top: 0;
}

.feed-page .leaderboard-share {
    margin-left: auto;
}

.feed-page .filter-shell {
    padding-top: 0;
    padding-bottom: 8px;
    min-height: 46px;
    align-items: center;
}

.feed-page .toolbar-button {
    border: 1px solid var(--feed-border-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--feed-text);
    padding: 7px 14px;
    min-height: 36px;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.feed-page .toolbar-button:hover,
.feed-page .toolbar-button-selected {
    background-color: var(--feed-accent);
    color: white;
    box-shadow: 0 8px 18px rgba(255, 140, 0, 0.22);
    transform: translateY(-1px);
}

.activity-row {
    margin-top: 10px;
}

.feed-page .activity-row .left,
.feed-page .activity-row .right {
    display: none;
}

.feed-page .activity-row .middle {
    width: 100%;
}

.activity-card-shell {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

.activity-card {
    margin: 0 0 18px;
    border: 1px solid var(--feed-border);
    border-left: 0;
    border-bottom: 0;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,248,252,0.94) 100%);
    box-shadow: var(--feed-shadow);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.activity-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--feed-shadow-hover);
    border-color: rgba(142, 164, 201, 0.5);
}

.activity-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--feed-accent), rgba(255, 140, 0, 0.35));
}

.activity-card.activity-card--TSC::before {
    background: linear-gradient(180deg, #F4E428 0%, rgba(244, 228, 40, 0.42) 100%);
}

.activity-card.activity-card--TSW::before {
    background: linear-gradient(180deg, #FE205F 0%, rgba(254, 32, 95, 0.42) 100%);
}

.activity-card-top {
    padding: 18px 20px 16px;
}

.activity-badge-wrapper {
    width: 74px;
    min-height: 64px;
    height: auto !important;
    padding: 2px 0 0;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.activity-badge-tag {
    width: 56px;
    min-height: 52px;
    padding: 6px 6px 7px;
    border-radius: 14px;
    background: #d8dde3;
    border-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
}

.activity-badge-tag--TSC {
    background: #F4E428;
}

.activity-badge-tag--TSW {
    background: #FE205F;
}

.activity-badge-tag--TSC .activity-badge-sim,
.activity-badge-tag--TSC .activity-badge-type {
    color: #444;
}

.activity-badge-sim {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    letter-spacing: .02em;
}

.activity-badge-type {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
}

.activity-main {
    width: calc(100% - 74px);
    padding-left: 16px;
}

.activity-main-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feed-page .post-data {
    padding: 0;
    border-bottom: 0;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.activity-header-main {
    flex: 1;
    min-width: 0;
}

.activity-driver-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.activity-driver-line h4 {
    font-size: 18px;
    font-weight: 700;
}

.activity-service-line h3 {
    margin: 0;
}

.activity-loco {
    font-size: 13px;
    line-height: 1.4;
    color: var(--feed-muted);
}

.activity-loco .fa-search {
    display: none;
}

.activity-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.activity-toolbar a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255, 140, 0, 0.28);
    color: var(--feed-text);
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.activity-toolbar a:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(255, 140, 0, 0.18);
}

.activity-description h3,
.activity-service-line h3 {
    font-size: 21px;
    line-height: 1.15;
    font-weight: 700;
}

.activity-stats-grid,
.activity-meta-grid .row {
    display: flex;
    gap: 12px;
}

.activity-stat-card,
.activity-meta-card {
    background: rgba(247, 248, 251, 0.92);
    border: 1px solid rgba(142, 164, 201, 0.22);
    border-radius: 14px;
    padding: 10px 12px;
}

.activity-stat-card {
    width: calc(33.33% - 9.5px);
}

.activity-meta-card {
    width: calc(50% - 7px);
    min-height: 0;
}

.feed-page .stat-text {
    display: block;
    margin-top: 4px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.activity-tabs-section {
    margin-top: 2px;
    border-top: 1px solid rgba(142, 164, 201, 0.16);
    padding-top: 10px;
}

.activity-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.activity-tabs-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.activity-tabs-row .activity-tabs {
    margin-bottom: 0;
}

.feed-page .tab-button {
    float: none;
    border: 1px solid rgba(142, 164, 201, 0.28);
    border-radius: 999px;
    background: rgba(247, 248, 251, 0.96);
    padding: 8px 13px;
    margin-top: 0;
    font-weight: 600;
}

.feed-page .tab-button.tab-button-selected,
.feed-page .tab-button:hover {
    background: var(--feed-soft-accent);
    border-color: rgba(255, 140, 0, 0.25);
    color: #7a4706;
}

.activity-toolbar-link,
.timetable-download-button {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255, 140, 0, 0.28);
    color: var(--feed-text);
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.activity-toolbar-link:hover,
.timetable-download-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(255, 140, 0, 0.18);
    text-decoration: none;
}

.timetable-download-button .toolbar-linkicon {
    margin: 0;
    padding: 0;
}

.activity-panel {
    overflow: hidden;
    border: 1px solid rgba(142, 164, 201, 0.22);
    border-radius: 18px;
    background: var(--feed-surface-strong);
    float: none;
    width: 100%;
}

.feed-page .tab-content {
    height: auto;
    min-height: 0;
}

.feed-page .map.tab-content {
    height: 220px;
    min-height: 220px;
}

.feed-page .timetable,
.feed-page .more {
    height: auto !important;
}

.feed-page .timetable {
    border: 1px solid rgba(142, 164, 201, 0.22);
    height: 320px !important;
    max-height: 320px;
    border-top: 1px solid rgba(142, 164, 201, 0.22);
    overflow-y: auto;
    overflow-x: hidden;
}

.feed-page .more {
    border: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.feed-page .timetable-row {
    border: 0;
    border-bottom: 1px solid rgba(142, 164, 201, 0.14);
}

.feed-page .timetable-colum-content {
    border-left: 1px solid rgba(142, 164, 201, 0.14);
    padding: 10px 12px;
}

.feed-page .timetable-colum-destination {
    border-left: 0;
}

.activity-social {
    border-top: 1px solid rgba(142, 164, 201, 0.16);
    margin-top: 10px;
    padding-top: 10px;
}

.activity-social-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.activity-social-links {
    padding: 0;
    font-size: 13px;
}

.activity-social-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    justify-content: flex-end;
}

.feed-page .spad-bar {
    float: none;
}

.feed-page .spad-icon,
.feed-page .comment-icon {
    width: 34px;
    height: 34px;
    line-height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(255, 140, 0, 0.28);
    background: rgba(255,255,255,0.92);
    transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.feed-page .spad-icon.spad-given {
    background: #ff8c00;
    border-color: #ff8c00;
    color: white;
}

.feed-page .spad-icon.spad-notgiven {
    color: var(--feed-text);
}

.feed-page .spad-icon:hover,
.feed-page .comment-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(255, 140, 0, 0.18);
}

.activity-first-comment,
.activity-comment-edit {
    background: rgba(247, 248, 251, 0.88);
    border: 1px solid rgba(142, 164, 201, 0.2);
    border-radius: 16px;
    padding: 10px 12px;
}

.activity-first-comment {
    margin-bottom: 12px;
}

.activity-comment-label {
    float: none !important;
    margin-bottom: 8px;
}

.feed-page .comment-input {
    margin: 0 0 12px;
    border: 1px solid rgba(142, 164, 201, 0.3);
    border-radius: 12px;
    min-height: 42px;
    padding: 10px 12px;
    background: white;
}

.feed-page .comment-button {
    float: none;
}

.feed-page .leaderboard-container,
.feed-page #servicerecord,
.feed-page #leaderboard,
.feed-page #rankingboard {
    background: transparent;
}

.feed-page .leaderboard-ruler {
    border-top: 1px solid rgba(255, 140, 0, 0.18);
    padding-top: 10px;
}

.feed-page .leader-datarow,
.feed-page .ranking-datarow {
    border-bottom: 1px solid rgba(142, 164, 201, 0.14);
    padding-top: 8px;
    padding-bottom: 8px;
}

.feed-page .follow-container-inner {
    border: 1px solid rgba(142, 164, 201, 0.16);
    border-radius: 12px;
    min-width: 100%;
    padding: 10px;
    background: rgba(247,248,251,0.82);
}

@media only screen and (max-width: 850px) {
    .feed-page .top-row {
        padding-top: 108px;
    }

    .header-container-top.surface-shell,
    .filter-shell,
    .leaderboard-shell,
    .tab-shell,
    .content-shell {
        padding: 14px;
        border-radius: 18px;
    }

    .tab-shell {
        gap: 6px;
        flex-wrap: wrap;
        padding-bottom: 10px;
    }

    .activity-card-top {
        padding: 14px;
    }

    .activity-badge-wrapper,
    .activity-main,
    .feed-page .column-data,
    .feed-page .column-data-half,
    .feed-page .left-post-pic {
        float: none;
        width: 100%;
    }

    .activity-badge-wrapper {
        margin-bottom: 12px;
        min-height: 0;
        width: 100%;
        justify-content: flex-start;
    }

    .activity-main {
        padding-left: 0;
    }

    .activity-header {
        flex-direction: column;
    }

    .activity-toolbar {
        width: 100%;
        justify-content: flex-start;
    }

    .activity-stats-grid,
    .activity-meta-grid .row,
    .activity-social-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .activity-stat-card,
    .activity-meta-card {
        width: 100%;
        min-height: 0;
    }

    .feed-page .map.tab-content {
        height: 180px;
        min-height: 180px;
    }

    .feed-page .timetable {
        height: 280px !important;
        max-height: 280px;
    }

    .feed-page .service-label {
        margin-top: 8px;
    }
}





