.tool-wheel{
            --ink: #17212f;
            --muted: #637083;
            --paper: #ffffff;
            --soft: #f3f6fa;
            --line: #dce4ee;
            --blue: #0a5c92;
            --blue-dark: #083a5d;
            --shadow: 0 16px 34px rgba(15, 35, 58, 0.12);
            --wheel-size: min(42vw, 390px);
        }
.tool-wheel *{
            box-sizing: border-box;
        }
.tool-wheel{
            margin: 0;
            min-height: 100vh;
            font-family: Arial, Helvetica, sans-serif;
            background: var(--soft);
            color: var(--ink);
        }
.tool-wheel button,.tool-wheel input,.tool-wheel a{
            font: inherit;
        }
.tool-wheel a{
            color: inherit;
        }
.tool-wheel .page{
            width: min(1180px, 100%);
            min-height: 100svh;
            margin: 0 auto;
            padding: clamp(14px, 2.5vw, 28px);
            display: grid;
            grid-template-rows: auto 1fr auto;
            gap: 14px;
        }
.tool-wheel .header{
            display: flex;
            justify-content: space-between;
            align-items: start;
            gap: 16px;
            padding: 2px 2px 0;
        }
.tool-wheel h1{
            margin: 0;
            color: var(--blue-dark);
            font-size: clamp(1.8rem, 4vw, 3rem);
            line-height: 1;
            letter-spacing: 0;
        }
.tool-wheel .tagline{
            margin: 7px 0 0;
            color: var(--muted);
            font-size: 0.98rem;
            line-height: 1.35;
        }
.tool-wheel .meta{
            flex: 0 0 auto;
            color: var(--muted);
            font-size: 0.92rem;
            font-weight: 700;
            text-align: right;
        }
.tool-wheel .app{
            display: grid;
            grid-template-columns: minmax(310px, 0.82fr) minmax(360px, 1fr);
            gap: clamp(14px, 2.6vw, 28px);
            align-items: start;
        }
.tool-wheel .panel,.tool-wheel .wheel-panel{
            border: 1px solid var(--line);
            border-radius: 8px;
            background: var(--paper);
            box-shadow: var(--shadow);
        }
.tool-wheel .panel{
            padding: 16px;
        }
.tool-wheel .panel h2{
            margin: 0 0 12px;
            color: var(--blue-dark);
            font-size: 1.05rem;
        }
.tool-wheel .input-row{
            display: grid;
            grid-template-columns: minmax(0, 1fr) 48px auto;
            gap: 8px;
        }
.tool-wheel input[type="text"]{
            width: 100%;
            min-height: 44px;
            border: 1px solid var(--line);
            border-radius: 8px;
            padding: 10px 12px;
            color: var(--ink);
            background: #fff;
        }
.tool-wheel input[type="text"]:focus{
            outline: 3px solid rgba(10, 92, 146, 0.18);
            border-color: var(--blue);
        }
.tool-wheel input[type="color"]{
            width: 48px;
            height: 44px;
            border: 1px solid var(--line);
            border-radius: 8px;
            padding: 4px;
            background: #fff;
            cursor: pointer;
        }
.tool-wheel .button{
            border: 0;
            border-radius: 8px;
            min-height: 44px;
            padding: 10px 14px;
            cursor: pointer;
            font-weight: 700;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            white-space: nowrap;
        }
.tool-wheel .button-primary{
            background: var(--blue);
            color: #fff;
        }
.tool-wheel .button-primary:hover,.tool-wheel .button-primary:focus-visible{
            background: #084b78;
        }
.tool-wheel .button-secondary{
            background: #eef3f8;
            color: var(--blue-dark);
        }
.tool-wheel .button:disabled{
            opacity: 0.45;
            cursor: not-allowed;
        }
.tool-wheel .helper{
            margin: 9px 0 0;
            color: var(--muted);
            font-size: 0.9rem;
            line-height: 1.35;
        }
.tool-wheel .options-list{
            display: grid;
            gap: 8px;
            max-height: 250px;
            overflow: auto;
            margin: 14px 0 0;
            padding: 0;
            list-style: none;
        }
.tool-wheel .empty-state{
            margin: 14px 0 0;
            padding: 12px;
            border: 1px dashed var(--line);
            border-radius: 8px;
            color: var(--muted);
            font-size: 0.95rem;
            text-align: center;
        }
.tool-wheel .option-item{
            display: grid;
            grid-template-columns: 16px minmax(0, 1fr) auto auto;
            align-items: center;
            gap: 8px;
            min-height: 42px;
            padding: 7px 8px;
            border: 1px solid var(--line);
            border-radius: 8px;
            background: #fff;
        }
.tool-wheel .option-dot{
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--muted);
        }
.tool-wheel .option-text{
            overflow-wrap: anywhere;
            font-weight: 700;
            line-height: 1.2;
        }
.tool-wheel .option-color{
            width: 34px;
            height: 30px;
            border: 1px solid var(--line);
            border-radius: 8px;
            padding: 3px;
            background: #fff;
            cursor: pointer;
        }
.tool-wheel .icon-button,.tool-wheel .icon-link{
            width: 36px;
            height: 36px;
            min-height: 36px;
            border-radius: 8px;
            padding: 0;
        }
.tool-wheel .icon-button{
            border: 0;
            cursor: pointer;
            background: #f0f3f7;
            color: var(--muted);
            font-weight: 800;
            font-size: 1.1rem;
        }
.tool-wheel .icon-link svg{
            width: 18px;
            height: 18px;
            display: block;
            stroke: currentColor;
        }
.tool-wheel .use-tips-button{
            min-height: 36px;
            padding: 8px 12px;
            font-size: 0.92rem;
        }
.tool-wheel .use-tips-button svg{
            width: 18px;
            height: 18px;
            stroke: currentColor;
        }
.tool-wheel .coin-shortcut{
            flex: 0 0 auto;
            display: grid;
            justify-items: center;
            gap: 2px;
            color: #6d4a00;
            text-decoration: none;
            font-size: 0.86rem;
            font-weight: 800;
            line-height: 1.1;
        }
.tool-wheel .coin-shortcut:focus-visible{
            outline: 4px solid rgba(10, 92, 146, 0.28);
            outline-offset: 4px;
            border-radius: 8px;
        }
.tool-wheel .coin-lottie{
            width: 86px;
            height: 86px;
            margin: -10px 0 -8px;
            display: block;
        }
.tool-wheel .wheel-panel{
            padding: 16px;
            display: grid;
            grid-template-columns: minmax(240px, auto) minmax(180px, 0.8fr);
            gap: 16px;
            align-items: center;
        }
.tool-wheel .wheel-stage{
            display: grid;
            place-items: center;
        }
.tool-wheel .wheel-shell{
            position: relative;
            width: var(--wheel-size);
            height: var(--wheel-size);
            min-width: 260px;
            min-height: 260px;
            border-radius: 50%;
            border: 0;
            padding: 0;
            background: transparent;
            cursor: pointer;
            display: grid;
            place-items: center;
        }
.tool-wheel .wheel-shell:focus-visible{
            outline: 4px solid rgba(10, 92, 146, 0.28);
            outline-offset: 6px;
        }
.tool-wheel .wheel-shell:disabled{
            cursor: not-allowed;
        }
.tool-wheel .wheel-shell:not(:disabled):hover .wheel{
            box-shadow: 0 18px 42px rgba(15, 35, 58, 0.22);
        }
.tool-wheel .pointer{
            position: absolute;
            z-index: 2;
            top: -4px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 16px solid transparent;
            border-right: 16px solid transparent;
            border-top: 28px solid var(--ink);
            filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.18));
        }
.tool-wheel .wheel{
            position: relative;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 11px solid #17212f;
            background: #d6dde7;
            box-shadow: var(--shadow);
            transition: transform 4s cubic-bezier(0.12, 0.72, 0.12, 1);
        }
.tool-wheel .wheel.is-placeholder{
            border: 0;
            background-image: url("https://terapisomvirker.no/lykkehjul-placeholder.jpg");
            background-size: cover;
            background-position: center;
            box-shadow: var(--shadow);
        }
.tool-wheel .wheel::after{
            content: "";
            position: absolute;
            inset: 36%;
            border-radius: 50%;
            border: 8px solid #fff;
            background: var(--blue-dark);
            box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
        }
.tool-wheel .wheel.is-placeholder::after{
            display: none;
        }
.tool-wheel .wheel-hint{
            margin: 9px 0 0;
            color: var(--blue-dark);
            font-size: 0.95rem;
            font-weight: 800;
            text-align: center;
        }
.tool-wheel .side{
            display: grid;
            gap: 12px;
        }
.tool-wheel .result{
            min-height: 96px;
            border: 1px solid var(--line);
            border-radius: 8px;
            padding: 14px;
            background: #f8fbfe;
            display: grid;
            place-items: center;
            text-align: center;
        }
.tool-wheel .result-label{
            margin: 0 0 4px;
            color: var(--muted);
            font-size: 0.88rem;
            font-weight: 700;
        }
.tool-wheel .result-value{
            margin: 0;
            color: var(--blue-dark);
            font-size: clamp(1.25rem, 2.4vw, 1.9rem);
            font-weight: 800;
            line-height: 1.15;
            overflow-wrap: anywhere;
        }
.tool-wheel .utility-row{
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }
.tool-wheel .history{
            min-height: 20px;
            color: var(--muted);
            font-size: 0.9rem;
            line-height: 1.35;
            text-align: center;
        }
.tool-wheel .history strong{
            color: var(--ink);
        }
.tool-wheel .footer{
            color: var(--muted);
            font-size: 0.88rem;
            text-align: center;
        }
.tool-wheel .footer a{
            color: var(--blue);
            font-weight: 700;
        }
@media (max-width: 900px) {.tool-wheel{
                --wheel-size: min(66vw, 340px);
            }
.tool-wheel .app{
                grid-template-columns: 1fr;
            }
.tool-wheel .wheel-panel{
                grid-template-columns: 1fr;
            }
.tool-wheel .side{
                max-width: 420px;
                width: 100%;
                margin: 0 auto;
            }}
@media (max-width: 560px) {.tool-wheel{
                --wheel-size: min(76vw, 300px);
            }
.tool-wheel .page{
                padding: 12px;
                gap: 10px;
            }
.tool-wheel .header{
                align-items: start;
                flex-direction: row;
                gap: 10px;
            }
.tool-wheel .meta{
                text-align: left;
            }
.tool-wheel .tagline{
                display: none;
            }
.tool-wheel .coin-lottie{
                width: 72px;
                height: 72px;
            }
.tool-wheel .coin-shortcut span{
                font-size: 0.78rem;
            }
.tool-wheel .panel,.tool-wheel .wheel-panel{
                padding: 12px;
            }
.tool-wheel .input-row{
                grid-template-columns: minmax(0, 1fr) 44px 48px;
            }
.tool-wheel input[type="color"]{
                width: 44px;
            }
.tool-wheel .button{
                padding: 10px 12px;
            }
.tool-wheel .button .button-text{
                display: none;
            }
.tool-wheel .wheel-shell{
                min-width: 238px;
                min-height: 238px;
            }
.tool-wheel .result{
                min-height: 74px;
                padding: 10px;
            }
.tool-wheel .options-list{
                max-height: 180px;
            }}