.random-word-detail-page .tool-detail-workspace{overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}
.random-word-app{color:#111b34;font-size:.72rem}.random-word-app :where(button,input){font:inherit}
.random-word-hero{display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:96px;margin:0 -24px 12px;padding:7px 26px 13px;background:radial-gradient(circle at 83% 30%,rgba(92,54,242,.07),transparent 32%),#fff}
.random-word-hero>span{display:grid;width:64px;height:64px;place-items:center;border:1px solid #c5b8ff;border-radius:12px;color:#5634ef;background:#faf8ff}
.random-word-hero>span svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.random-word-hero h1{margin:0 0 5px;font-size:1.45rem;line-height:1.14;letter-spacing:-.03em}.random-word-hero p{margin:0;color:#35435c;font-size:.74rem;line-height:1.45}.random-word-hero small{display:block;margin-top:4px;color:#5c6a80;font-size:.62rem}
.random-word-hero>button,.random-word-results header button,.random-word-results footer button{display:flex;min-height:39px;align-items:center;justify-content:center;gap:7px;padding:8px 14px;border:1px solid #d7deea;border-radius:8px;color:#26334a;background:#fff;font-size:.65rem;font-weight:700;cursor:pointer}
.random-word-app button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.random-word-workspace{display:grid;grid-template-columns:minmax(340px,.72fr) minmax(0,1.28fr);gap:12px}
.random-word-card,.random-word-info-grid article{border:1px solid #dce2ec;border-radius:11px;background:#fff;box-shadow:0 4px 14px rgba(28,39,66,.035)}
.random-word-controls,.random-word-results,.random-word-advanced{padding:14px}
.random-word-card>header,.random-word-results>header>div{display:flex;align-items:flex-start;gap:10px}
.random-word-card>header>span,.random-word-results>header>div>span{display:grid;flex:0 0 30px;width:30px;height:30px;place-items:center;border-radius:9px;color:#5634ef;background:#eeeaff;font-size:.72rem;font-weight:800}
.random-word-card h2,.random-word-info-grid h2{margin:0;color:#152138;font-size:.8rem;line-height:1.35}.random-word-card header p{margin:3px 0 0;color:#607087;font-size:.61rem;line-height:1.4}
.random-word-types{margin:15px 0 0;padding:0;border:0}.random-word-types legend,.random-word-length>b,.random-word-count>b{margin-bottom:7px;color:#26334a;font-size:.64rem;font-weight:700}
.random-word-types>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:hidden;border:1px solid #d7deea;border-radius:8px}
.random-word-types button{min-height:39px;padding:7px 4px;border:0;color:#354259;background:#fff;font-size:.59rem;font-weight:700;cursor:pointer}.random-word-types button+button{border-left:1px solid #e0e5ed}.random-word-types button.is-active{color:#fff;background:linear-gradient(135deg,#3d21ec,#6738f5)}
.random-word-length{display:grid;grid-template-columns:1fr 95px auto 95px;align-items:end;gap:9px;margin-top:15px}.random-word-length>b{align-self:center;margin:0}.random-word-length label{display:grid;gap:5px;color:#5b687c;font-size:.55rem}.random-word-length input{width:100%;min-height:38px;padding:8px;border:1px solid #d6deea;border-radius:8px;color:#17223a;background:#fff}.random-word-length>span{padding-bottom:10px;color:#718096;font-size:.58rem}
.random-word-count{margin-top:15px}.random-word-count>b{display:block}.random-word-count>div{display:grid;grid-template-columns:40px 1fr 40px;overflow:hidden;border:1px solid #d6deea;border-radius:8px}.random-word-count button{min-height:39px;border:0;color:#5634ef;background:#fff;font-size:1rem;cursor:pointer}.random-word-count button:first-child{border-right:1px solid #e0e5ed}.random-word-count button:last-child{border-left:1px solid #e0e5ed}.random-word-count output{display:grid;place-items:center;font-size:.72rem;font-weight:800}
.random-word-checks{display:grid;gap:9px;margin-top:15px}.random-word-checks label{display:flex;align-items:center;gap:8px;color:#354159;font-size:.62rem;font-weight:600}.random-word-checks input{width:15px;height:15px;accent-color:#5634ef}
.random-word-primary{display:flex;width:100%;min-height:42px;align-items:center;justify-content:center;gap:8px;margin-top:14px;border:0;border-radius:8px;color:#fff;background:linear-gradient(135deg,#3d21ec,#6738f5);font-weight:800;cursor:pointer}
#randomWordStatus{min-height:18px;margin:7px 0 0;color:#607087;font-size:.59rem}#randomWordStatus.is-error{color:#c52d40}
.random-word-results{display:flex;min-height:100%;flex-direction:column}.random-word-results>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.random-word-results h2 em{color:#099447;font-style:normal}
.random-word-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:10px;min-height:318px;margin-top:15px}.random-word-list button{min-height:50px;padding:8px;border:1px solid #d9e0eb;border-radius:8px;color:#17223a;background:#fff;font-size:.67rem;font-weight:700;cursor:pointer;transition:.15s}.random-word-list button:hover{border-color:#8c76f7;background:#faf9ff}.random-word-list button.is-selected{color:#5130e9;border-color:#6d50f1;background:#efebff;box-shadow:0 0 0 2px rgba(89,55,239,.08)}.random-word-list>p{grid-column:1/-1;display:grid;min-height:260px;place-items:center;color:#758298;font-size:.65rem}
.random-word-results footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:auto;padding-top:14px}
.random-word-advanced{margin-top:12px}.random-word-advanced>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:13px}.random-word-advanced label{display:grid;gap:6px;color:#2d3a51;font-size:.61rem;font-weight:700}.random-word-advanced input{width:100%;min-height:39px;padding:8px 10px;border:1px solid #d6deea;border-radius:8px;color:#17223a;background:#fff;outline:none}
.random-word-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:12px}.random-word-info-grid article{padding:14px}.random-word-info-grid h2{display:flex;align-items:center;gap:8px;margin-bottom:10px}.random-word-info-grid h2 span{display:grid;width:27px;height:27px;place-items:center;border-radius:8px;color:#5634ef;background:#efecff}
.random-word-info-grid ol,.random-word-info-grid ul{display:grid;gap:7px;margin:0;padding:0;list-style:none;counter-reset:random-info}.random-word-info-grid li{color:#48566e;font-size:.63rem;line-height:1.45}.random-word-info-grid ol li{position:relative;padding-left:25px;counter-increment:random-info}.random-word-info-grid ol li::before{position:absolute;left:0;display:grid;width:18px;height:18px;place-items:center;border-radius:6px;color:#5634ef;background:#efecff;font-size:.55rem;font-weight:700;content:counter(random-info)}.random-word-info-grid ul li{position:relative;padding-left:19px}.random-word-info-grid ul li::before{position:absolute;left:0;color:#08a44c;font-weight:800;content:"✓"}.random-word-info-grid .is-green{border-color:#d4eadc;background:#f9fffb}.random-word-info-grid .is-green h2{color:#07813d}
@media(max-width:1080px){.random-word-workspace{grid-template-columns:1fr}.random-word-list{grid-template-columns:repeat(5,minmax(0,1fr));min-height:0}.random-word-advanced>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.random-word-hero{margin:0;padding:4px 0 12px;grid-template-columns:52px minmax(0,1fr)}.random-word-hero>span{width:50px;height:50px}.random-word-hero h1{font-size:1.24rem}.random-word-hero>button{grid-column:1/-1;justify-self:end}.random-word-list{grid-template-columns:repeat(3,minmax(0,1fr))}.random-word-info-grid{grid-template-columns:1fr}.random-word-length{grid-template-columns:1fr 1fr}.random-word-length>b{grid-column:1/-1}.random-word-length>span{display:none}}
@media(max-width:520px){.random-word-types>div{grid-template-columns:1fr 1fr}.random-word-types button+button{border-left:0}.random-word-types button{border:1px solid #e0e5ed}.random-word-list{grid-template-columns:repeat(2,minmax(0,1fr))}.random-word-results>header{align-items:stretch;flex-direction:column}.random-word-results header button{align-self:flex-end}.random-word-results footer,.random-word-advanced>div{grid-template-columns:1fr}}
