:where(.wy-account-surface) {
    --wy-red: #e83843;
    --wy-red-dark: #c9232f;
    --wy-ink: #17191d;
    --wy-ink-soft: #4d5159;
    --wy-muted: #7d828b;
    --wy-line: #e5e6e9;
    --wy-paper: #ffffff;
    --wy-wash: #f6f6f7;
    --wy-focus: rgba(232, 56, 67, .18);
}

.wy-account-surface .site-main,
.wy-account-surface .m-main {
    background: var(--wy-wash);
}

.wy-account-surface input,
.wy-account-surface button,
.wy-account-surface a {
    -webkit-tap-highlight-color: transparent;
}

.wy-eyebrow {
    margin: 0;
    color: var(--wy-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
}

.wy-auth-experience {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(440px, .96fr);
    min-height: 690px;
    margin-top: 42px;
    margin-bottom: 58px;
    overflow: hidden;
    border: 1px solid #dedfe3;
    border-radius: 20px;
    background: var(--wy-paper);
    box-shadow: 0 22px 60px rgba(22, 24, 29, .10);
    animation: wy-auth-arrive .48s cubic-bezier(.2, .75, .25, 1) both;
}

.wy-auth-visual {
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: #17191d;
}

.wy-auth-visual > img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.wy-auth-visual-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 38px 46px 42px;
    color: #fff;
}

.wy-auth-wordmark {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 11px;
    margin-bottom: 42px;
    color: #fff;
    text-decoration: none;
}

.wy-auth-wordmark > i {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    color: #ff5a64;
    font-size: 24px;
}

.wy-auth-wordmark span,
.wy-auth-visual-copy li span {
    display: grid;
}

.wy-auth-wordmark strong {
    font-family: "Songti SC", STSong, SimSun, serif;
    font-size: 25px;
    letter-spacing: .12em;
}

.wy-auth-wordmark small {
    color: #aeb2ba;
    font-size: 11px;
    letter-spacing: .16em;
}

.wy-auth-visual-copy h1 {
    max-width: 530px;
    margin: 12px 0 18px;
    font-family: "Songti SC", STSong, SimSun, serif;
    font-size: clamp(32px, 3vw, 46px);
    font-weight: 700;
    line-height: 1.25;
}

.wy-auth-visual-copy > p:not(.wy-eyebrow) {
    max-width: 520px;
    margin: 0;
    color: #c8cbd1;
    font-size: 15px;
    line-height: 1.9;
}

.wy-auth-visual-copy ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: auto 0 0;
    padding: 28px 0 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.wy-auth-visual-copy li {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 9px;
}

.wy-auth-visual-copy li > i {
    color: #ff5a64;
    font-size: 19px;
}

.wy-auth-visual-copy li strong {
    font-size: 13px;
    line-height: 1.4;
}

.wy-auth-visual-copy li small {
    margin-top: 4px;
    color: #9499a3;
    font-size: 11px;
    line-height: 1.55;
}

.wy-auth-panel {
    align-self: center;
    padding: 44px 54px;
}

.wy-auth-panel-head h2 {
    margin: 8px 0 9px;
    color: var(--wy-ink);
    font-family: "Songti SC", STSong, SimSun, serif;
    font-size: 34px;
    line-height: 1.25;
}

.wy-auth-panel-head > p:last-child {
    margin: 0;
    color: var(--wy-muted);
    font-size: 14px;
    line-height: 1.7;
}

.wy-auth-tabs {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 28px 0 26px;
    border-bottom: 1px solid var(--wy-line);
}

.wy-auth-tabs a {
    position: relative;
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #747981;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: color .22s ease, background-color .22s ease;
}

.wy-auth-tabs a::after {
    position: absolute;
    right: 18%;
    bottom: -1px;
    left: 18%;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--wy-red);
    content: "";
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .24s ease, transform .28s cubic-bezier(.2, .8, .2, 1);
}

.wy-auth-tabs a:hover,
.wy-auth-tabs a[aria-current="page"] {
    color: var(--wy-red);
}

.wy-auth-tabs a[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
}

.wy-auth-form,
.wy-auth-field {
    display: grid;
}

.wy-auth-form {
    gap: 18px;
}

.wy-auth-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.wy-auth-field {
    min-width: 0;
    gap: 8px;
    color: #363a41;
    font-size: 14px;
    font-weight: 750;
}

.wy-auth-field > small {
    min-height: 18px;
    color: var(--wy-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}

.wy-auth-control {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 54px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #d8dade;
    border-radius: 10px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.wy-auth-control:focus-within {
    border-color: var(--wy-red);
    box-shadow: 0 0 0 4px var(--wy-focus);
    transform: translateY(-1px);
}

.wy-auth-control > i {
    flex: 0 0 46px;
    color: #92969d;
    font-size: 19px;
    text-align: center;
}

.wy-auth-control input {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 12px 0 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--wy-ink);
    font: inherit;
    font-size: 16px;
    font-weight: 540;
}

.wy-auth-control input::placeholder {
    color: #adb0b6;
}

.wy-password-toggle {
    display: grid;
    width: 50px;
    height: 52px;
    flex: 0 0 50px;
    place-items: center;
    border: 0;
    background: transparent;
    color: #777b83;
    cursor: pointer;
    font-size: 19px;
}

.wy-password-toggle:hover {
    color: var(--wy-red);
}

.wy-password-status[data-strength="good"],
[data-password-match][data-match="true"] {
    color: #197a57;
}

.wy-password-status[data-strength="weak"],
[data-password-match][data-match="false"] {
    color: var(--wy-red-dark);
}

.wy-auth-assist {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--wy-muted);
    font-size: 12px;
}

.wy-auth-assist span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wy-auth-assist a {
    color: var(--wy-red-dark);
    font-weight: 700;
    text-decoration: none;
}

.wy-consent {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: start;
    gap: 9px;
    color: var(--wy-muted);
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}

.wy-consent input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.wy-consent > span {
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    border: 1px solid #c8cbd0;
    border-radius: 5px;
    background: #fff;
    color: transparent;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.wy-consent input:checked + span {
    border-color: var(--wy-red);
    background: var(--wy-red);
    color: #fff;
}

.wy-consent input:focus-visible + span {
    box-shadow: 0 0 0 4px var(--wy-focus);
}

.wy-consent em {
    font-style: normal;
}

.wy-auth-submit {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 10px;
    background: var(--wy-red);
    box-shadow: 0 10px 24px rgba(232, 56, 67, .20);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.wy-auth-submit:hover {
    background: var(--wy-red-dark);
    box-shadow: 0 12px 28px rgba(201, 35, 47, .24);
    transform: translateY(-2px);
}

.wy-auth-submit:active {
    box-shadow: 0 4px 12px rgba(201, 35, 47, .18);
    transform: translateY(0);
}

.wy-auth-submit i {
    font-size: 20px;
    transition: transform .2s ease;
}

.wy-auth-submit:hover i {
    transform: translateX(3px);
}

.wy-auth-footnote {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 22px 0 0;
    padding: 14px 16px;
    border-radius: 9px;
    background: #f4f4f5;
    color: #747981;
    font-size: 12px;
    line-height: 1.6;
}

.wy-auth-footnote i {
    margin-top: 2px;
    color: var(--wy-red);
    font-size: 16px;
}

/* Bookshelf */
.wy-shelf {
    padding-top: 42px;
    padding-bottom: 68px;
}

.wy-shelf-hero {
    display: flex;
    min-height: 174px;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
    padding: 30px 38px;
    border-radius: 18px 18px 0 0;
    background: #191b20;
    color: #fff;
}

.wy-shelf-hero h1 {
    margin: 8px 0 7px;
    font-family: "Songti SC", STSong, SimSun, serif;
    font-size: 38px;
}

.wy-shelf-hero > div:first-child > p:last-child {
    margin: 0;
    color: #bdc0c6;
    font-size: 14px;
}

.wy-shelf-summary {
    display: flex;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
}

.wy-shelf-summary span {
    display: grid;
    min-width: 126px;
    gap: 2px;
    padding: 17px 24px;
    text-align: center;
}

.wy-shelf-summary span + span {
    border-left: 1px solid rgba(255, 255, 255, .14);
}

.wy-shelf-summary strong {
    font-family: Georgia, serif;
    font-size: 26px;
}

.wy-shelf-summary small {
    color: #aeb2ba;
    font-size: 12px;
}

.wy-shelf-toolbar {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    padding: 0 26px;
    border: 1px solid var(--wy-line);
    border-top: 0;
    background: #fff;
}

.wy-shelf-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wy-shelf-tabs button {
    position: relative;
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #686d75;
    cursor: pointer;
    font-size: 15px;
    font-weight: 750;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.wy-shelf-tabs button:hover {
    background: #f5f5f6;
    color: var(--wy-ink);
}

.wy-shelf-tabs button[aria-selected="true"] {
    background: #fff0f1;
    color: var(--wy-red-dark);
}

.wy-shelf-tabs button span {
    display: grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 11px;
    background: rgba(0, 0, 0, .06);
    font-size: 11px;
}

.wy-shelf-discover {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 7px;
    color: var(--wy-red-dark);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.wy-shelf-panel {
    min-height: 390px;
    padding: 26px;
    border: 1px solid var(--wy-line);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: #fff;
    animation: wy-panel-in .28s cubic-bezier(.2, .75, .25, 1) both;
}

.wy-shelf-panel[hidden] {
    display: none;
}

.wy-recent-list {
    display: grid;
    gap: 14px;
}

.wy-recent-card {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 18px;
    border: 1px solid #e7e8eb;
    border-radius: 13px;
    background: #fff;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease, opacity .22s ease;
}

.wy-recent-card:hover,
.wy-saved-card:hover {
    border-color: #d5d7dc;
    box-shadow: 0 12px 28px rgba(29, 31, 36, .08);
    transform: translateY(-2px);
}

.wy-shelf-cover {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    background: #ececee;
    box-shadow: 0 5px 14px rgba(21, 23, 27, .13);
}

.wy-shelf-cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform .35s cubic-bezier(.2, .75, .25, 1);
}

.wy-recent-card:hover .wy-shelf-cover img,
.wy-saved-card:hover .wy-shelf-cover img {
    transform: scale(1.025);
}

.wy-shelf-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--wy-muted);
    font-size: 12px;
}

.wy-edition-chip {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 23px;
    padding: 0 7px;
    border-radius: 5px;
    background: #f1f2f3;
    color: #62666e;
    font-size: 11px;
    font-weight: 800;
}

.wy-edition-chip.ai_web {
    background: #fff0f1;
    color: var(--wy-red-dark);
}

.wy-edition-chip.human_web {
    background: #edf8f2;
    color: #247657;
}

.wy-recent-main h2,
.wy-saved-main h2,
.wy-m-shelf-main h2 {
    margin: 7px 0 4px;
    color: var(--wy-ink);
    font-family: "Songti SC", STSong, SimSun, serif;
}

.wy-recent-main h2 {
    font-size: 21px;
}

.wy-recent-main h2 a,
.wy-saved-main h2 a,
.wy-m-shelf-main h2 a {
    color: inherit;
    text-decoration: none;
}

.wy-shelf-author,
.wy-last-chapter {
    margin: 0;
    color: var(--wy-muted);
    font-size: 13px;
}

.wy-last-chapter {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 9px;
}

.wy-progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: var(--wy-muted);
    font-size: 12px;
}

.wy-progress-track {
    width: min(240px, 48%);
    height: 5px;
    overflow: hidden;
    border-radius: 5px;
    background: #e8e9ec;
}

.wy-progress-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--wy-red);
    transition: width .5s cubic-bezier(.2, .75, .25, 1);
}

.wy-progress-row strong {
    color: var(--wy-ink-soft);
    font-weight: 750;
}

.wy-progress-row time {
    margin-left: 4px;
}

.wy-shelf-actions {
    display: grid;
    min-width: 128px;
    gap: 10px;
}

.wy-shelf-actions > a,
.wy-primary-action {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--wy-line);
    border-radius: 8px;
    color: var(--wy-ink-soft);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.wy-shelf-actions .wy-primary-action,
.wy-saved-actions .wy-primary-action,
.wy-m-shelf-main .wy-primary-action {
    border-color: var(--wy-red);
    background: var(--wy-red);
    color: #fff;
}

.wy-primary-action.muted {
    border-color: #3c4048 !important;
    background: #3c4048 !important;
}

.wy-saved-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.wy-saved-card {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 16px;
    min-width: 0;
    padding: 16px;
    border: 1px solid #e7e8eb;
    border-radius: 13px;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease, opacity .22s ease;
}

.wy-saved-main {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.wy-saved-main h2 {
    overflow: hidden;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wy-saved-main > p,
.wy-saved-main > small {
    overflow: hidden;
    margin: 0;
    color: var(--wy-muted);
    font-size: 12px;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wy-saved-main > small {
    margin-top: 7px;
}

.wy-saved-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
}

.wy-saved-actions .wy-primary-action {
    flex: 1;
    min-height: 38px;
}

.wy-saved-actions form button,
.wy-m-saved-actions form button {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--wy-line);
    border-radius: 8px;
    background: #fff;
    color: #777c84;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.wy-saved-actions form button:hover,
.wy-m-saved-actions form button:hover {
    border-color: #f0c4c8;
    background: #fff2f3;
    color: var(--wy-red-dark);
}

[data-bookshelf-card].is-leaving {
    pointer-events: none;
    opacity: 0;
    transform: scale(.98);
}

.wy-shelf-empty {
    display: grid;
    min-height: 330px;
    place-items: center;
    align-content: center;
    text-align: center;
}

.wy-shelf-empty[hidden] {
    display: none;
}

.wy-shelf-empty > i {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 50%;
    background: #f2f2f3;
    color: #9b9fa6;
    font-size: 31px;
}

.wy-shelf-empty h2 {
    margin: 17px 0 5px;
    font-family: "Songti SC", STSong, SimSun, serif;
    font-size: 23px;
}

.wy-shelf-empty p {
    margin: 0 0 18px;
    color: var(--wy-muted);
    font-size: 14px;
}

.wy-shelf-empty a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 0 22px;
    border-radius: 8px;
    background: var(--wy-red);
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

/* Mobile account experience */
.wy-m-auth {
    min-height: calc(100vh - 142px);
    padding: 34px 22px 44px;
    background: #fff;
}

.wy-m-auth-intro {
    position: relative;
    padding-left: 66px;
}

.wy-m-auth-icon {
    position: absolute;
    top: 2px;
    left: 0;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 2px solid var(--wy-red);
    border-radius: 50%;
    color: var(--wy-red);
    font-size: 27px;
}

.wy-m-auth-intro h1 {
    margin: 6px 0 8px;
    color: var(--wy-ink);
    font-family: "Songti SC", STSong, SimSun, serif;
    font-size: 30px;
    line-height: 1.24;
}

.wy-m-auth-intro > p:last-child {
    margin: 0;
    color: var(--wy-muted);
    font-size: 15px;
    line-height: 1.7;
}

.wy-m-auth-tabs {
    margin: 28px 0 24px;
}

.wy-m-auth-tabs a {
    min-height: 54px;
    font-size: 16px;
}

.wy-m-auth-form {
    gap: 18px;
}

.wy-m-auth-form .wy-auth-field {
    gap: 8px;
    font-size: 15px;
}

.wy-m-auth-form .wy-auth-control {
    min-height: 56px;
    border-radius: 11px;
}

.wy-m-auth-form .wy-auth-control input,
.wy-m-auth-form .wy-password-toggle {
    height: 54px;
    font-size: 16px;
}

.wy-m-auth-form .wy-auth-submit {
    min-height: 58px;
    margin-top: 2px;
    border-radius: 11px;
    font-size: 17px;
}

.wy-m-auth-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 24px;
    padding: 18px 0;
    border-top: 1px solid var(--wy-line);
    border-bottom: 1px solid var(--wy-line);
}

.wy-m-auth-benefits span {
    display: grid;
    place-items: center;
    gap: 7px;
    color: #656a72;
    font-size: 13px;
}

.wy-m-auth-benefits span + span {
    border-left: 1px solid var(--wy-line);
}

.wy-m-auth-benefits i {
    color: var(--wy-red);
    font-size: 22px;
}

.wy-m-auth .wy-auth-footnote {
    margin-top: 18px;
    font-size: 13px;
}

.wy-m-shelf {
    min-height: calc(100vh - 72px);
    padding-bottom: 34px;
    background: #f5f5f6;
}

.wy-m-shelf-hero {
    display: flex;
    min-height: 154px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 22px;
    background: #191b20;
    color: #fff;
}

.wy-m-shelf-hero h1 {
    margin: 6px 0 5px;
    font-family: "Songti SC", STSong, SimSun, serif;
    font-size: 32px;
}

.wy-m-shelf-hero > div > p:last-child {
    margin: 0;
    color: #bdc0c6;
    font-size: 14px;
}

.wy-m-shelf-hero > a {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
}

.wy-m-shelf-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0 12px;
    border-bottom: 1px solid var(--wy-line);
    background: #fff;
}

.wy-m-shelf-tabs button {
    min-height: 58px;
    justify-content: center;
    border-radius: 0;
    font-size: 16px;
}

.wy-m-shelf-tabs button[aria-selected="true"] {
    background: transparent;
}

.wy-m-shelf-tabs button[aria-selected="true"]::after {
    position: absolute;
    right: 25%;
    bottom: -1px;
    left: 25%;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--wy-red);
    content: "";
}

.wy-m-shelf-panel {
    min-height: 420px;
    padding: 14px;
    border: 0;
    background: #f5f5f6;
}

.wy-m-shelf-list {
    display: grid;
    gap: 12px;
}

.wy-m-shelf-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 15px;
    padding: 15px;
    border: 1px solid #eaebed;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(22, 24, 29, .045);
    transition: opacity .22s ease, transform .22s ease;
}

.wy-m-shelf-main {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.wy-m-shelf-main h2 {
    overflow: hidden;
    font-size: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wy-m-shelf-main > p,
.wy-m-shelf-main > small {
    overflow: hidden;
    margin: 0;
    color: var(--wy-muted);
    font-size: 14px;
    line-height: 1.55;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wy-m-shelf-main .wy-progress-row {
    gap: 8px;
    margin-top: 10px;
}

.wy-m-shelf-main .wy-progress-track {
    width: auto;
    flex: 1;
}

.wy-m-shelf-main > .wy-primary-action {
    width: fit-content;
    min-height: 40px;
    margin-top: auto;
    padding: 0 15px;
}

.wy-m-saved-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 9px;
}

.wy-m-saved-actions .wy-primary-action {
    min-height: 42px;
    flex: 1;
}

.wy-m-saved-actions form button {
    width: 42px;
    height: 42px;
    font-size: 17px;
}

.wy-m-shelf .wy-shelf-empty {
    min-height: 360px;
    padding: 30px 20px;
}

.wy-m-shelf .wy-shelf-empty h2 {
    font-size: 24px;
}

.wy-m-shelf .wy-shelf-empty p {
    max-width: 280px;
    font-size: 15px;
    line-height: 1.7;
}

.wy-m-shelf .wy-shelf-empty a {
    min-height: 48px;
    padding: 0 24px;
    font-size: 15px;
}

@keyframes wy-auth-arrive {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes wy-panel-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
    .wy-auth-experience {
        grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    }

    .wy-auth-visual-copy {
        padding-right: 32px;
        padding-left: 32px;
    }

    .wy-auth-visual-copy ul {
        grid-template-columns: 1fr;
    }

    .wy-auth-visual-copy li:nth-child(n + 3) {
        display: none;
    }

    .wy-saved-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .wy-auth-experience {
        grid-template-columns: 1fr;
        min-height: 0;
        margin-top: 24px;
    }

    .wy-auth-visual {
        display: none;
    }

    .wy-auth-panel {
        padding: 38px;
    }

    .wy-shelf {
        padding-top: 24px;
    }

    .wy-saved-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .wy-auth-form-row {
        grid-template-columns: 1fr;
    }

    .wy-auth-panel {
        padding: 28px 20px;
    }

    .wy-recent-card {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .wy-recent-card .wy-shelf-actions {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wy-auth-experience,
    .wy-shelf-panel {
        animation: none;
    }

    .wy-account-surface *,
    .wy-account-surface *::before,
    .wy-account-surface *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
