.lw-spin-box {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    margin: 30px auto;
    padding: 10px;
    box-sizing: border-box;
}

.lw-wheel-area {
    position: relative;
    width: 560px;
    height: 560px;
    flex: 0 0 560px;
    cursor: pointer;
}

.lw-wheel-area.is-spinning {
    cursor: default;
}

.lw-wheel-canvas {
    width: 560px;
    height: 560px;
    display: block;
    border-radius: 50%;
    filter: drop-shadow(0 12px 18px rgba(0,0,0,.25));
}

.lw-wheel-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 78px;
    height: 78px;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(0,0,0,.15);
    z-index: 4;
    pointer-events: none;
}

.lw-wheel-pointer {
    position: absolute;
    right: -18px;
    top: 50%;
    width: 46px;
    height: 38px;
    transform: translateY(-50%);
    background: #fff;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,.28));
}

.lw-wheel-pointer:before {
    content: "";
    position: absolute;
    left: 5px;
    top: 4px;
    width: 37px;
    height: 30px;
    background: var(--lw-pointer-color, #ff111b);
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    transition: background-color .08s linear;
}

.lw-spin-btn {
    position: absolute;
    left: 50%;
    top: 33%;
    width: 310px;
    height: 90px;
    transform: translateX(-50%) rotate(-9deg);
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 2px 3px 0 rgba(0,0,0,.45);
    cursor: pointer;
    z-index: 6;
    white-space: nowrap;
    border-radius: 50%;
    transform-origin: center;
}

.lw-wheel-area.is-spinning .lw-spin-btn {
    display: none;
}

.lw-spin-panel {
    width: 400px;
    margin-top: 10px;
}

.lw-tabs {
    display: flex;
    border: 1px solid #d8dde1;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

.lw-tabs button {
    width: 50%;
    padding: 16px 10px;
    border: 0;
    background: #e9edf1;
    color: #777;
    font-size: 16px;
    cursor: pointer;
}

.lw-tabs button.active {
    background: #f9f9f9;
    color: #0b526b;
    box-shadow: inset 0 -3px 0 #0b526b;
}

.lw-panel-inner {
    border: 1px solid #d8dde1;
    border-top: 0;
    background: #f4f4f4;
    padding: 16px;
}

.lw-tab-content {
    display: none;
}

.lw-tab-content.active {
    display: block;
}

.lw-panel-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.lw-panel-buttons button {
    flex: 1 1 50%;
    width: 50%;
    padding: 8px 12px;
    border: 1px solid #cfd5da;
    border-radius: 4px;
    background: #fff;
    color: #555;
    cursor: pointer;
}

.lw-entries {
    width: 100%;
    height: 200px;
    padding: 12px;
    box-sizing: border-box;
    resize: vertical;
    border: 1px solid #ccd1d5;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.55;
    background: #fff;
}

.lw-note {
    margin: 8px 0 0;
    color: #0b526b;
    text-align: center;
    font-size: 14px;
    line-height: 1 !important;
}

.lw-limit-warning {
    display: block;
    margin: 6px 0 0;
    color: #d60000;
    text-align: center;
    font-size: 13px;
    line-height: 1 !important;
    font-weight: 100;
}

.lw-limit-warning.is-visible {
    display: block;
}

.lw-results-list {
    min-height: 200px;
    max-height: 260px;
    overflow: auto;
    background: #fff;
    border: 1px solid #ccd1d5;
    border-radius: 4px;
    padding: 10px;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.lw-result {
    margin-top: 22px;
    min-height: 36px;
    text-align: center;
    color: #0b526b;
    font-size: 28px;
    font-weight: 700;
}

.lw-total {
    margin-top: 22px;
    color: #0b526b;
    font-size: 42px;
    line-height: 1.1;
    text-align: center;
}

.lw-win-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.12);
    padding: 15px;
    box-sizing: border-box;
}

.lw-win-modal.is-open {
    display: flex;
}

.lw-win-box {
    width: min(672px, 100%);
    background: var(--lw-win-color, #ff111b);
    border-radius: 9px;
    box-shadow: 0 10px 35px rgba(0,0,0,.25);
    padding: 18px 24px 22px;
    box-sizing: border-box;
    color: #fff;
}

.lw-win-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    margin-bottom: 22px;
}

.lw-win-close {
    border: 0;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #fff;
    opacity: .9;
    transition: opacity .15s ease, transform .15s ease;
}

.lw-win-close:hover {
    opacity: 1;
    transform: scale(1.12);
}

.lw-win-body {
    background: #f1f3f3;
    border-radius: 5px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lw-win-value {
    font-size: 30px;
    line-height: 1;
    color: #0b1020;
    margin-bottom: 10px;
}

.lw-win-selected {
    font-size: 16px;
    color: #222;
    margin-bottom: 4px;
}

.lw-win-dots {
    font-size: 22px;
    letter-spacing: 5px;
}

.lw-win-foot {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
}

.lw-spin-again {
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 4px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    padding: 8px 12px;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}

.lw-spin-again:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.85);
    transform: translateY(-1px);
}



.lw-spin-box .lw-win-head div,
.lw-spin-box .lw-win-close,
.lw-spin-box .lw-spin-again {
    color: #fff !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0,0,0, 1);
}

.lw-spin-box .lw-win-head div,
.lw-spin-box .lw-win-close,
.lw-spin-box .lw-spin-again {
    transition: color .15s ease, text-shadow .15s ease, background-color .15s ease, border-color .15s ease, transform .15s ease;
}

.lw-spin-box .lw-win-head div {
    padding: 5px 8px;
    margin-left: -8px;
    border-radius: 4px;
}

.lw-spin-box .lw-win-head div:hover,
.lw-spin-box .lw-win-close:hover,
.lw-spin-box .lw-spin-again:hover {
    color: #000 !important;
    text-shadow: none !important;
}

.lw-spin-box .lw-win-head div:hover {
    background: rgba(255,255,255,.24);
}

.lw-spin-box .lw-win-close:hover {
    transform: scale(1.12);
}

.lw-spin-box .lw-spin-again:hover {
    background: rgba(255,255,255,.24);
    border-color: rgba(255,255,255,.85);
    transform: translateY(-1px);
}

.lw-results-list {
    min-height: 84px;
    max-height: 220px;
    overflow: auto;
    background: #fff;
    border: 1px solid #ccd1d5;
    border-radius: 3px;
    padding: 0 12px;
    color: #0b526b;
    font-size: 16px;
    line-height: 1.45;
    text-align: center;
}

.lw-results-list div {
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
}

.lw-results-list div:last-child {
    border-bottom: 0;
}

.lw-clear-results {
    width: 100%;
    margin-top: 20px;
    padding: 13px 12px;
    border: 0;
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(106, 6, 9, 1) 15%, rgba(164, 14, 10, 1) 50%, rgba(106, 6, 9, 1) 85%);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

.lw-clear-results:hover,
.lw-clear-results:focus {
    background: linear-gradient(90deg, rgba(106, 6, 9, 1) 15%, rgba(164, 14, 10, 1) 50%, rgba(106, 6, 9, 1) 85%) !important;
    color: #fff !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
.lw-limit-info {
    margin: 7px 0 0;
    color: #d60000;
    text-align: center;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}

.lw-navi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    width: 100%;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    background: transparent;
    box-sizing: border-box;
}

.lw-panel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0b526b;
    font-size: 25px;
    line-height: 1;
    font-family: Arial, sans-serif;
    cursor: pointer;
    box-shadow: none;
}

.lw-panel-icon:hover,
.lw-panel-icon:focus {
    color: #0b526b;
    background: transparent;
    opacity: .7;
    box-shadow: none;
    outline: none;
}
.lw-color-modal {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0,0,0,.45);
    box-sizing: border-box;
}

.lw-color-modal.is-open {
    display: flex;
}

.lw-color-box {
    position: relative;
    width: min(700px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    padding: 24px 28px 30px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,.25);
    box-sizing: border-box;
}

.lw-color-close {
    position: absolute;
    right: 22px;
    top: 18px;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 36px;
    line-height: 30px;
    cursor: pointer;
}

.lw-color-title {
    margin: 0 0 28px;
    color: #111;
    font-size: 20px;
    line-height: 1.2;
}

.lw-color-subtitle {
    margin: 0 0 16px;
    color: #111;
    font-size: 18px;
    line-height: 1.2;
}

.lw-color-grid {
    display: grid;
    grid-template-columns: repeat(9, 56px);
    gap: 14px 12px;
}

.lw-color-scheme {
    display: flex;
    width: 56px;
    height: 40px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
}

.lw-color-scheme span {
    flex: 1 1 auto;
    height: 100%;
}

.lw-color-scheme.is-active {
    border-color: #b9b9b9;
    box-shadow: 0 0 0 3px rgba(0,0,0,.12);
}
.lw-spin-box {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    justify-content: center;
    max-width: 1280px;
    margin: 30px auto;
    padding: 28px 30px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #aeaeae;
    border-radius: 8px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .4);
    background: linear-gradient(to bottom, #f7f7f7, #efefef);
}



.lw-spin-box.is-fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 30px !important;
    border-radius: 0 !important;
    overflow: auto !important;
    background: #fff;
}
.lw-spin-box.is-fullscreen.is-dark {
    background: #400507 !important;
}
.lw-spin-box:fullscreen {
    background: #fff;
}

.lw-spin-box.is-dark:fullscreen {
    background: #400507 !important;
}
.lw-spin-box.is-dark {
    background: #400507;
    border-color: #731013;
}


.lw-spin-box.is-dark .lw-panel-inner {
    background: #571014;
}

.lw-spin-box.is-dark .lw-tabs {
    border-color: #7d1b1f;
}

.lw-spin-box.is-dark .lw-tabs button {
    background: #631519;
    color: #d8c2c3;
}

.lw-spin-box.is-dark .lw-tabs button.active {
    background: #7a1d22;
    color: #fff;
    box-shadow: inset 0 -3px 0 #d9a441;
}

.lw-spin-box.is-dark .lw-entries,
.lw-spin-box.is-dark .lw-results-list {
    background: #2b0304;
    color: #eef6ff;
    border-color: #7a1d22;
}

.lw-spin-box.is-dark .lw-panel-buttons button {
    background: #2b2b2b;
    color: #eee;
    border-color: #444;
}

.lw-spin-box.is-dark .lw-note,
.lw-spin-box.is-dark .lw-total,
.lw-spin-box.is-dark .lw-result,
.lw-spin-box.is-dark .lw-panel-icon {
    color: #e8e8e8;
}



.lw-spin-box.is-dark .lw-panel-inner {
    background: #571014;
    border-color: #7d1b1f;
}


.lw-spin-box.is-dark .lw-color-modal {
    background: rgba(10, 0, 1, .72);
}

.lw-spin-box.is-dark .lw-color-box {
    background: #2b0304;
    border: 1px solid #7d1b1f;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .55);
}

.lw-spin-box.is-dark .lw-color-subtitle {
    color: #f2d6d7;
}

.lw-spin-box.is-dark .lw-color-close {
    color: #f2d6d7;
}

.lw-spin-box.is-dark .lw-color-close:hover {
    color: #fff;
}

.lw-spin-box.is-dark .lw-color-scheme {
    border-color: rgba(255, 255, 255, .18);
    background: #160102;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35);
}

.lw-spin-box.is-dark .lw-color-scheme:hover {
    border-color: rgba(217, 164, 65, .85);
    box-shadow:
        0 0 0 2px rgba(217, 164, 65, .18),
        inset 0 0 0 1px rgba(0, 0, 0, .45);
}

.lw-spin-box.is-dark .lw-color-scheme.is-active {
    border-color: #d9a441;
    box-shadow:
        0 0 0 3px rgba(217, 164, 65, .22),
        0 8px 18px rgba(0, 0, 0, .35);
}

.page .entry-header {
    margin-top: 20px;
}


.lw-language-modal {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, .45);
    box-sizing: border-box;
}

.lw-language-modal.is-open {
    display: flex;
}

.lw-language-box {
    position: relative;
    width: min(520px, 100%);
    padding: 24px 28px 30px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
    box-sizing: border-box;
}

.lw-language-close {
    position: absolute;
    right: 22px;
    top: 18px;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 36px;
    line-height: 30px;
    cursor: pointer;
}

.lw-language-subtitle {
    margin: 0 0 18px;
    color: #111;
    font-size: 18px;
    line-height: 1.2;
}

.lw-language-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.lw-language-item {
    padding: 11px 10px;
    border: 1px solid #d8dde1;
    border-radius: 6px;
    background: #f7f7f7;
    color: #111;
    font-size: 15px;
    cursor: default;
}

.lw-language-item.is-active {
    border-color: #a40e0a;
    background: #fff0f0;
    color: #6a0609;
}

.lw-spin-box.is-dark .lw-language-modal {
    background: rgba(10, 0, 1, .72);
}

.lw-spin-box.is-dark .lw-language-box {
    background: #2b0304;
    border: 1px solid #7d1b1f;
}

.lw-spin-box.is-dark .lw-language-subtitle,
.lw-spin-box.is-dark .lw-language-close {
    color: #f2d6d7;
}

.lw-spin-box.is-dark .lw-language-item {
    background: #160102;
    border-color: #7d1b1f;
    color: #f2d6d7;
}

.lw-spin-box.is-dark .lw-language-item.is-active {
    background: #571014;
    border-color: #d9a441;
    color: #fff;
}

.lw-language-item:hover,
.lw-language-item:focus {
    background: #fff;
    color: #111 !important;
    border-color: #a40e0a;
    outline: none;
}

.lw-language-item.is-active:hover,
.lw-language-item.is-active:focus {
    background: #fff0f0;
    color: #6a0609 !important;
}

.lw-spin-box.is-dark .lw-language-item:hover,
.lw-spin-box.is-dark .lw-language-item:focus {
    background: #571014;
    color: #fff !important;
    border-color: #d9a441;
}

.lw-spin-box.is-dark .lw-language-item.is-active:hover,
.lw-spin-box.is-dark .lw-language-item.is-active:focus {
    background: #571014;
    color: #fff !important;
}
.lw-favorite-modal {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0,0,0,.45);
    box-sizing: border-box;
}

.lw-favorite-modal.is-open {
    display: flex;
}

.lw-favorite-box {
    width: min(520px, 100%);
    padding: 28px 30px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,.25);
    box-sizing: border-box;
}

.lw-favorite-title {
    margin-bottom: 18px;
    color: #111;
    font-size: 20px;
    font-weight: 700;
}

.lw-favorite-text {
    margin-bottom: 16px;
    color: #222;
    font-size: 15px;
    line-height: 1.45;
}

.lw-favorite-ok {
    display: block;
    margin-left: auto;
    padding: 9px 26px;
    border: 0;
    border-radius: 22px;
    background: #0b5ec8;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.lw-spin-box.is-dark .lw-favorite-box {
    background: #2b0304;
    border: 1px solid #7d1b1f;
}

.lw-spin-box.is-dark .lw-favorite-title,
.lw-spin-box.is-dark .lw-favorite-text {
    color: #f2d6d7;
}

.lw-extra-boxes {
    max-width: 1280px;
    margin: 24px auto 0;
}

.lw-wheel-links,
.lw-wheel-text {
    background: #fff;
    border: 1px solid #d8dde1;
    border-radius: 8px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .18);
    box-sizing: border-box;
}

.lw-wheel-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 28px;
    padding: 24px 28px;
}

.lw-wheel-links a {
    color: #111;
    font-size: 16px;
    text-decoration: none;
}

.lw-wheel-links a:hover {
    color: #0b526b;
    text-decoration: underline;
}

.lw-wheel-text {
    margin-top: 24px;
    padding: 28px 30px;
    color: #111;
}

.lw-wheel-text h2 {
    margin: 0 0 18px;
    font-size: 28px;
}

.lw-wheel-text p {
    margin: 0;
    font-size: 17px;
    line-height: 1.55;
}


.lw-extra-boxes {
    max-width: 1280px;
    margin: 24px auto 0;
}

.lw-wheel-links,
.lw-wheel-text {
    background: #fff;
    border: 1px solid #d8dde1;
    border-radius: 8px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .18);
    box-sizing: border-box;
}

.lw-wheel-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 28px;
    padding: 24px 28px;
}

.lw-wheel-links a {
    color: #111;
    font-size: 16px;
    text-decoration: none;
}

.lw-wheel-links a:hover {
    color: #0b526b;
    text-decoration: underline;
}

.lw-wheel-text {
    margin-top: 24px;
    padding: 28px 30px;
    color: #111;
}

.lw-wheel-text h2 {
    margin: 0 0 18px;
    font-size: 28px;
}

.lw-wheel-text p {
    margin: 0;
    font-size: 17px;
    line-height: 1.55;
}
body.lw-spin-dark-page .lw-wheel-links,
body.lw-spin-dark-page .lw-wheel-text {
    background: #400507;
    border-color: #731013;
    color: #f2d6d7;
}

body.lw-spin-dark-page .lw-wheel-links a {
    color: #f2d6d7;
}

body.lw-spin-dark-page .lw-wheel-links a:hover {
    color: #d9a441;
}

body.lw-spin-dark-page .lw-wheel-text h2,
body.lw-spin-dark-page .lw-wheel-text p {
    color: #f2d6d7;
}


.lw-extra-boxes.is-dark .lw-wheel-links,
.lw-extra-boxes.is-dark .lw-wheel-text {
    background: #400507 !important;
    border-color: #731013 !important;
    color: #f2d6d7 !important;
}

.lw-extra-boxes.is-dark .lw-wheel-links a {
    color: #f2d6d7 !important;
}

.lw-extra-boxes.is-dark .lw-wheel-links a:hover {
    color: #d9a441 !important;
}

.lw-extra-boxes.is-dark .lw-wheel-text h2,
.lw-extra-boxes.is-dark .lw-wheel-text p {
    color: #f2d6d7 !important;
}
@media (max-width: 980px) {
    .lw-spin-box {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .lw-spin-panel {
        width: 100%;
        max-width: 500px;
        margin-top: 10px;
    }
}

@media (max-width: 620px) {
    .lw-wheel-area {
        width: 92vw;
        height: 92vw;
        flex-basis: auto;
    }

    .lw-wheel-canvas {
        width: 92vw;
        height: 92vw;
    }

    .lw-spin-btn {
        font-size: 26px;
    }

    .lw-wheel-center {
        width: 58px;
        height: 58px;
    }

    .lw-wheel-pointer {
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-right: 42px solid var(--lw-pointer-color, #ff111b);
    z-index: 5;
    pointer-events: none;
    filter:
        drop-shadow(0 0 1px #fff)
        drop-shadow(0 0 2px #fff)
        drop-shadow(1px 1px 2px rgba(0,0,0,.25));
    transition: border-right-color .08s linear;
   }

    .lw-total {
        font-size: 32px;
    }

    .lw-win-box {
        padding: 16px;
    }

    .lw-win-body {
        min-height: 180px;
    }

    .lw-win-value {
        font-size: 46px;
    }
}