#rigtraffic-footer:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: .35em;
    padding: 1px 7px;
    border: 1px solid rgba(189, 156, 89, .72);
    border-radius: 4px;
    margin-inline: .8em;
    font: inherit;
    font-size: 11px;
    line-height: 1.6;
    color: inherit;
    white-space: nowrap;
    vertical-align: baseline;
}
#rigtraffic-footer::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #bd9c59;
}
#rigtraffic-footer b {font-weight: 500; font-variant-numeric: tabular-nums;}

#top .rig-return-row, .rig-return-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    direction: rtl;
    gap: 2px 12px;
}
#top .rig-return-row::before, #top .rig-return-row::after { display: none; }
#top #socket .container.rig-return-row .copyright {
    flex: 0 0 100%;
    order: 2;
    width: 100%;
    margin: 0;
    padding: 0 0 8px;
    color: #d9bb80;
    text-align: center !important;
    font-weight: 400;
    line-height: 1.9;
    text-wrap: balance;
}
#top { --rig-gold-divider: linear-gradient(90deg, transparent, rgba(193,156,87,.44) 24%, #c9a567 50%, rgba(193,156,87,.44) 76%, transparent); }
#top.home .av-lh8de4dg-ded31336058699c43be89dfb2d9a6e5b::before,
#top.home .av-lgm5art0-facce3a204164a0640d8fe87418f2fac::before,
#top #socket .rig-return-row .copyright::before {
    content: "";
    display: block;
    width: 92%;
    max-width: 960px;
    height: 1px;
    margin: 1px auto 10px;
    background: var(--rig-gold-divider);
}
#top.home .av-lh8de4dg-ded31336058699c43be89dfb2d9a6e5b::before,
#top.home .av-lgm5art0-facce3a204164a0640d8fe87418f2fac::before {
    position: static;
    float: none;
    border: 0;
    margin: 0 auto clamp(14px, 2vw, 24px);
}
@media (min-width: 601px) {
    #socket .rig-rights::before { content: "·"; margin-inline: .45em .65em; }
}
@media (max-width: 600px) {
    #socket .copyright .rig-rights { display: block; }
    #socket .rig-return-row #rigtraffic-footer { margin-inline-start: 0; }
}
#top .rig-return-row #rig-return-top, .rig-return-row #rig-return-top {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    margin-inline: auto 0;
    flex: 0 0 auto;
    color: #dfc68d;
    font: inherit;
    font-size: 13.5px;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
}
#rig-return-top::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: translateY(2px) rotate(-45deg);
}
#rig-return-top:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }
#rig-reading-progress {
    position: fixed;
    z-index: 99990;
    inset: auto 0 auto;
    top: 8px;
    top: calc(max(env(safe-area-inset-top, 0px), var(--rig-toolbar-bottom, 0px)) + 8px);
    height: 3px;
    background: linear-gradient(90deg,#e4c887,#ba9651);
    transform-origin: right;
    transform: scaleX(0);
    pointer-events: none;
}
@media print { #rig-return-top, #rig-reading-progress { display: none !important; } }

.rig-reading-tools { display: none; }
@media screen and (min-width:1024px) {
    .rig-reading-tools:not([hidden]) { position: fixed; display: block; z-index: 40; }
    #top .rig-reading-tools button {
        display: grid;
        place-items: center;
        width: 40px;
        height: 44px;
        padding: 0;
        border: 0;
        border-inline-start: 1px solid #897044;
        background: #141414;
        color: #dfc68d;
        cursor: pointer;
    }
    .rig-reading-tools button::before {
        content: "";
        width: 8px;
        height: 8px;
        border-top: 1.5px solid currentColor;
        border-right: 1.5px solid currentColor;
        transform: translateY(2px) rotate(-45deg);
    }
}
