:root{color-scheme:light dark;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:#f7f7fb;color:#0f1e3c}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at top,#f7f7fb,#e4ecf7);display:flex;align-items:center;justify-content:center;padding:2rem}main.container{width:100%;background:#ffffffeb;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:18px;border:1px solid rgba(30,60,90,.08);box-shadow:0 30px 60px #0f1e3c1f;padding:clamp(1.75rem,3vw,2.75rem);display:flex;flex-direction:column;gap:1.5rem}#root{width:min(780px,100%);display:flex;flex-direction:column;align-items:center;gap:1.5rem}.top-logo{width:clamp(160px,24vw,240px);height:auto;margin-top:-1rem}.header{display:flex;align-items:center;gap:clamp(1rem,3vw,1.75rem)}.header .logo{width:clamp(96px,18vw,140px);max-width:140px;height:auto;flex-shrink:0;border-radius:16px;box-shadow:0 8px 20px #1222482e}.header h1{margin:0;font-size:clamp(1.8rem,4vw,2.4rem)}.header p{margin:.75rem 0 0;color:#4d5f7b;font-size:1rem;line-height:1.6}textarea.vast-input,input.url-input{width:100%;padding:1rem 1.25rem;border-radius:14px;border:1px solid rgba(50,80,120,.18);font-family:JetBrains Mono,Source Code Pro,Consolas,Courier New,monospace;font-size:.95rem;line-height:1.5;background:#ffffffd9;color:#0f1e3c;transition:border-color .2s ease,box-shadow .2s ease}textarea.vast-input{min-height:320px;resize:vertical}textarea.vast-input:focus,input.url-input:focus{outline:none;border-color:#3f6bf7;box-shadow:0 12px 30px #3f6bf72e}input.url-input:disabled{opacity:.6;cursor:wait}.sample-urls{margin:-.5rem 0 0;font-size:.85rem;color:#6a7c99;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.sample-link{background:#4f5bf71a;border:1px solid rgba(79,91,247,.2);border-radius:6px;padding:.25rem .6rem;color:#4f5bf7;font-size:.8rem;font-weight:500;cursor:pointer;transition:background .15s ease,border-color .15s ease}.sample-link:hover:not(:disabled){background:#4f5bf72e;border-color:#4f5bf759}.sample-link:disabled{opacity:.5;cursor:wait}.video-player-section{background:#f5f8fce6;border-radius:14px;padding:1.5rem;border:1px solid rgba(50,80,120,.1)}.video-player-section h2{margin:0 0 1rem;font-size:1.4rem;color:#0f1e3c}.video-player-wrapper{position:relative;width:100%;aspect-ratio:16 / 9;background:#000;border-radius:12px;overflow:hidden;box-shadow:0 8px 24px #00000026}.video-player{position:absolute;top:0;left:0;width:100%;height:100%}.video-player video{width:100%;height:100%;display:block;object-fit:contain;background:#000}.video-player .ad-container{position:absolute;top:0;left:0;width:100%;height:100%}.play-overlay{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;background:#0009;border:none;cursor:pointer;color:#fff;font-size:1.1rem;font-weight:600;transition:background .2s ease}.play-overlay:hover{background:#00000080}.play-icon{width:72px;height:72px;border-radius:50%;background:#fffffff2;color:#0f1e3c;display:flex;align-items:center;justify-content:center;font-size:2rem;padding-left:6px;box-shadow:0 4px 20px #0000004d;transition:transform .2s ease,box-shadow .2s ease}.play-overlay:hover .play-icon{transform:scale(1.08);box-shadow:0 6px 28px #0006}.player-status{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;background:#000000bf;color:#fff;font-size:1.1rem;font-weight:500}.player-status.loading{color:#a0aec0}.player-status.complete{color:#68d391}.player-status.error{color:#fc8181}.replay-button,.retry-button{padding:.6rem 1.25rem;border:none;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .15s ease,transform .15s ease}.replay-button{background:#68d39133;color:#68d391}.replay-button:hover{background:#68d3914d;transform:translateY(-1px)}.retry-button{background:#fc818133;color:#fc8181}.retry-button:hover{background:#fc81814d;transform:translateY(-1px)}section.action-row{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}section.action-row button{border:none;border-radius:999px;padding:.85rem 1.75rem;background:linear-gradient(135deg,#4f5bf7,#8435f5);color:#fff;font-weight:600;font-size:1rem;letter-spacing:.02em;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}section.action-row button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 16px 28px #4f5bf740}section.action-row button:disabled{opacity:.6;cursor:wait;box-shadow:none}.status-message{min-height:1.5rem;font-size:.95rem;color:#3f4d60}.status-message.success{color:#1f8755}.status-message.error{color:#b83245}.status-message.loading{color:#6a7c99}.compliance-results{background:#f5f8fce6;border-radius:14px;padding:1.5rem;border:1px solid rgba(50,80,120,.1)}.compliance-title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem;flex-wrap:wrap;gap:.75rem}.compliance-results h2{margin:0;font-size:1.4rem;color:#0f1e3c}.compliance-summary{font-size:.95rem;font-weight:600}.summary-pass{color:#22c55e}.summary-fail{color:#ef4444}.summary-partial{color:#f59e0b}.compliance-list{display:flex;flex-direction:column;gap:.75rem}.compliance-card{background:#ffffffe6;border-radius:12px;border:2px solid;overflow:hidden}.compliance-card.compliant{border-color:#22c55e}.compliance-card.non-compliant{border-color:#ef4444}.compliance-header{display:flex;justify-content:space-between;align-items:center;width:100%;padding:1rem 1.25rem;background:transparent;border:none;cursor:pointer;transition:background .15s ease}.compliance-header:hover{background:#32507808}.compliance-header-left{display:flex;align-items:center;gap:.75rem}.compliance-header-right{display:flex;align-items:center;gap:1rem}.compliance-icon{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem}.compliance-icon.pass{background:#dcfce7;color:#166534}.compliance-icon.fail{background:#fee2e2;color:#991b1b}.compliance-header h3{margin:0;font-size:1.1rem;color:#0f1e3c}.compliance-score{font-size:.85rem;color:#6a7c99}.expand-icon{font-size:.75rem;color:#6a7c99;transition:transform .2s ease}.expand-icon.expanded{transform:rotate(180deg)}.compliance-details{padding:0 1.25rem 1.25rem;border-top:1px solid rgba(50,80,120,.1)}.compliance-table{width:100%;border-collapse:collapse;font-size:.85rem;margin-top:1rem}.compliance-table th{text-align:left;padding:.5rem;border-bottom:1px solid rgba(50,80,120,.15);color:#4d5f7b;font-weight:600}.compliance-table td{padding:.5rem;border-bottom:1px solid rgba(50,80,120,.05);color:#0f1e3c}.compliance-table tr.pass td{background:#22c55e0d}.compliance-table tr.fail td{background:#ef44440d}.status-cell{text-align:center;width:60px}.check-pass{color:#22c55e;font-weight:700}.check-fail{color:#ef4444;font-weight:700}.expected-cell,.actual-cell{font-family:JetBrains Mono,Source Code Pro,Consolas,monospace;font-size:.75rem}@media (max-width: 600px){.compliance-header{padding:.75rem 1rem}.compliance-header h3{font-size:1rem}.compliance-score{display:none}.compliance-details{padding:0 .75rem 1rem}.compliance-table{font-size:.75rem}.compliance-table th,.compliance-table td{padding:.4rem .25rem}}.analysis-container{display:flex;flex-direction:column;gap:1.5rem}.analysis-results{background:#f5f8fce6;border-radius:14px;padding:1.5rem;border:1px solid rgba(50,80,120,.1)}.analysis-results h2{margin:0 0 1.25rem;font-size:1.4rem;color:#0f1e3c}.result-section{background:#fffc;border-radius:10px;padding:1rem 1.25rem;margin-bottom:1rem;border:1px solid rgba(50,80,120,.08)}.result-section:last-child{margin-bottom:0}.result-section h3{margin:0 0 .5rem;font-size:1rem;color:#3f4d60;font-weight:600}.result-section p{margin:0;color:#0f1e3c}.result-section ul{margin:0;padding-left:1.25rem;color:#0f1e3c}.result-section ul li{margin-bottom:.25rem}.result-section .error{color:#b83245}.frame-result{background:#fafcffe6;border-radius:8px;padding:1rem;margin-bottom:1rem;border:1px solid rgba(50,80,120,.06);display:flex;gap:1.25rem;align-items:flex-start}.frame-result:last-child{margin-bottom:0}.frame-thumbnail{width:200px;height:112px;object-fit:cover;border-radius:8px;border:1px solid rgba(50,80,120,.15);flex-shrink:0;box-shadow:0 4px 12px #0000001a}.frame-content{flex:1;min-width:0}.frame-result h4{margin:0 0 .5rem;font-size:1rem;color:#0f1e3c;font-weight:600}.frame-result ul{font-size:.9rem;margin:0;padding-left:1.25rem}.warning{color:#c9850c;font-weight:600}footer.helper{font-size:.85rem;color:#6a7c99;line-height:1.4}footer.helper code{background:#0f1e3c14;padding:.2rem .4rem;border-radius:.4rem;font-family:JetBrains Mono,Source Code Pro,Consolas,Courier New,monospace}@media (max-width: 600px){body{padding:1.25rem}main.container{gap:1.25rem}.header{flex-direction:column;text-align:center}.header .logo{width:clamp(110px,42vw,160px)}textarea.vast-input{min-height:240px}.frame-result{flex-direction:column}.frame-thumbnail{width:100%;height:auto;aspect-ratio:16 / 9}}
