{"id":16,"date":"2025-10-12T18:35:43","date_gmt":"2025-10-12T18:35:43","guid":{"rendered":"https:\/\/kiekkolive.fi\/?page_id=16"},"modified":"2025-10-17T18:13:19","modified_gmt":"2025-10-17T18:13:19","slug":"nhl-diag","status":"publish","type":"page","link":"https:\/\/kiekkolive.fi\/?page_id=16","title":{"rendered":"Otteluohjelma"},"content":{"rendered":"<div id=\"nhl-schedule\"><form class=\"nhl-range\" data-ajax-url=\"https:\/\/kiekkolive.fi\/wp-admin\/admin-ajax.php\" data-nonce=\"76d938d00c\" data-anchor=\"#nhl-schedule\">\n      <label>Alkaen <input type=\"date\" name=\"nhl_from\" value=\"2026-04-17\"><\/label>\n      <label>P\u00e4\u00e4ttyen <input type=\"date\" name=\"nhl_to\" value=\"2026-04-23\"><\/label>\n      <button type=\"submit\" style=\"background:#38a169;color:#fff;border:0;border-radius:6px;padding:8px 12px;cursor:pointer\">N\u00e4yt\u00e4<\/button>\n      <div class=\"nhl-quick\" style=\"display:flex;gap:6px;flex-wrap:wrap;margin-top:8px\">\n        <button type=\"button\" class=\"qk\" data-preset=\"week\">T\u00e4m\u00e4 viikko<\/button>\n        <button type=\"button\" class=\"qk\" data-preset=\"next7\">Seuraavat 7 pv<\/button>\n        <button type=\"button\" class=\"qk\" data-preset=\"next14\">Seuraavat 14 pv<\/button>\n      <\/div>\n    <\/form><div class=\"nhl-schedule-container\"><div class=\"nhl-schedule nhl-grid-wrap\"><style>\n      .nhl-grid-shell{max-width:100%; overflow-x:auto; position:relative; contain:layout paint;}\n      table.nhl-grid{border-collapse:separate;border-spacing:0; width:max-content; table-layout:fixed;}\n      .nhl-grid th,.nhl-grid td{border:1px solid #e6e6e6; padding:8px; vertical-align:middle; background:#fff}\n      .nhl-grid th{background:#fafafa; font-weight:700; text-align:center; position:sticky; top:0; z-index:3}\n      .nhl-grid .col-team{position:sticky; left:0; background:#fff; z-index:4; min-width:72px}\n      .nhl-grid .col-count{position:sticky; right:0; background:#fff; z-index:4; width:72px}\n      .nhl-cell{display:flex; gap:6px; align-items:center; justify-content:center}\n      .nhl-cell .ha{opacity:.75; font-size:12px}\n      .nhl-time{opacity:.8; font-size:12px}\n      .nhl-logo{width:28px; height:28px; object-fit:contain}\n      .nhl-chip{display:inline-block; font-weight:700; border:1px solid #ddd; border-radius:999px; padding:2px 6px; font-size:12px; line-height:1}\n      .nhl-pager{display:flex; gap:6px; align-items:center; margin:8px 0}\n      .nhl-pager button{border:1px solid #ddd; background:#fff; border-radius:6px; padding:6px 10px; cursor:pointer}\n      .nhl-pager .hint{opacity:.7; font-size:12px}\n      @media (max-width:860px){ .nhl-grid th,.nhl-grid td{padding:6px} .nhl-logo{width:24px;height:24px} }\n    <\/style><div class=\"nhl-grid-shell\" data-window=\"14\" data-days=\"7\">\n      <div class=\"nhl-pager\">\n        <button type=\"button\" class=\"nhl-prev\">\u25c0\ufe0e<\/button>\n        <button type=\"button\" class=\"nhl-next\">\u25b6\ufe0e<\/button>\n        <span class=\"hint\">(14 pv kerralla \u2013 vierit\u00e4 tai k\u00e4yt\u00e4 nuolia)<\/span>\n      <\/div>\n      <table class=\"nhl-grid\">\n        <colgroup>\n          <col class=\"col-team-cg\" style=\"width:80px\"><col class=\"dcol-0\" style=\"width:110px\"><col class=\"dcol-1\" style=\"width:110px\"><col class=\"dcol-2\" style=\"width:110px\"><col class=\"dcol-3\" style=\"width:110px\"><col class=\"dcol-4\" style=\"width:110px\"><col class=\"dcol-5\" style=\"width:110px\"><col class=\"dcol-6\" style=\"width:110px\"><col class=\"col-count-cg\" style=\"width:72px\"><\/colgroup><thead><tr><th class=\"col-team\">TEAM<\/th><th class=\"dcol-0\">Fri 17.04.<\/th><th class=\"dcol-1\">Sat 18.04.<\/th><th class=\"dcol-2\">Sun 19.04.<\/th><th class=\"dcol-3\">Mon 20.04.<\/th><th class=\"dcol-4\">Tue 21.04.<\/th><th class=\"dcol-5\">Wed 22.04.<\/th><th class=\"dcol-6\">Thu 23.04.<\/th><th class=\"col-count\">GAMES<\/th><\/tr><\/thead><tbody><tr><td class=\"col-team\">ANA<\/td><td class=\"dcol-0\"><\/td><td class=\"dcol-1\"><\/td><td class=\"dcol-2\"><\/td><td class=\"dcol-3\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/EDM_light.svg\" alt=\"EDM\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">EDM<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">05:00<\/span><\/div><\/td><td class=\"dcol-4\"><\/td><td class=\"dcol-5\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/EDM_light.svg\" alt=\"EDM\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">EDM<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">05:00<\/span><\/div><\/td><td class=\"dcol-6\"><\/td><td class=\"col-count\">2<\/td><\/tr><tr><td class=\"col-team\">BOS<\/td><td class=\"dcol-0\"><\/td><td class=\"dcol-1\"><\/td><td class=\"dcol-2\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/BUF_light.svg\" alt=\"BUF\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">BUF<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">02:30<\/span><\/div><\/td><td class=\"dcol-3\"><\/td><td class=\"dcol-4\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/BUF_light.svg\" alt=\"BUF\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">BUF<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">02:30<\/span><\/div><\/td><td class=\"dcol-5\"><\/td><td class=\"dcol-6\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/BUF_light.svg\" alt=\"BUF\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">BUF<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">02:00<\/span><\/div><\/td><td class=\"col-count\">3<\/td><\/tr><tr><td class=\"col-team\">BUF<\/td><td class=\"dcol-0\"><\/td><td class=\"dcol-1\"><\/td><td class=\"dcol-2\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/BOS_light.svg\" alt=\"BOS\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">BOS<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">02:30<\/span><\/div><\/td><td class=\"dcol-3\"><\/td><td class=\"dcol-4\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/BOS_light.svg\" alt=\"BOS\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">BOS<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">02:30<\/span><\/div><\/td><td class=\"dcol-5\"><\/td><td class=\"dcol-6\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/BOS_light.svg\" alt=\"BOS\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">BOS<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">02:00<\/span><\/div><\/td><td class=\"col-count\">3<\/td><\/tr><tr><td class=\"col-team\">CAR<\/td><td class=\"dcol-0\"><\/td><td class=\"dcol-1\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/OTT_light.svg\" alt=\"OTT\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">OTT<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">22:00<\/span><\/div><\/td><td class=\"dcol-2\"><\/td><td class=\"dcol-3\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/OTT_light.svg\" alt=\"OTT\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">OTT<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">02:30<\/span><\/div><\/td><td class=\"dcol-4\"><\/td><td class=\"dcol-5\"><\/td><td class=\"dcol-6\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/OTT_light.svg\" alt=\"OTT\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">OTT<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">02:30<\/span><\/div><\/td><td class=\"col-count\">3<\/td><\/tr><tr><td class=\"col-team\">COL<\/td><td class=\"dcol-0\"><\/td><td class=\"dcol-1\"><\/td><td class=\"dcol-2\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/LAK_light.svg\" alt=\"LAK\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">LAK<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">22:00<\/span><\/div><\/td><td class=\"dcol-3\"><\/td><td class=\"dcol-4\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/LAK_light.svg\" alt=\"LAK\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">LAK<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">05:00<\/span><\/div><\/td><td class=\"dcol-5\"><\/td><td class=\"dcol-6\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/LAK_light.svg\" alt=\"LAK\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">LAK<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">05:00<\/span><\/div><\/td><td class=\"col-count\">3<\/td><\/tr><tr><td class=\"col-team\">DAL<\/td><td class=\"dcol-0\"><\/td><td class=\"dcol-1\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/MIN_light.svg\" alt=\"MIN\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">MIN<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">00:30<\/span><\/div><\/td><td class=\"dcol-2\"><\/td><td class=\"dcol-3\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/MIN_light.svg\" alt=\"MIN\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">MIN<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">04:30<\/span><\/div><\/td><td class=\"dcol-4\"><\/td><td class=\"dcol-5\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/MIN_light.svg\" alt=\"MIN\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">MIN<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">04:30<\/span><\/div><\/td><td class=\"dcol-6\"><\/td><td class=\"col-count\">3<\/td><\/tr><tr><td class=\"col-team\">EDM<\/td><td class=\"dcol-0\"><\/td><td class=\"dcol-1\"><\/td><td class=\"dcol-2\"><\/td><td class=\"dcol-3\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/ANA_light.svg\" alt=\"ANA\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">ANA<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">05:00<\/span><\/div><\/td><td class=\"dcol-4\"><\/td><td class=\"dcol-5\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/ANA_light.svg\" alt=\"ANA\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">ANA<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">05:00<\/span><\/div><\/td><td class=\"dcol-6\"><\/td><td class=\"col-count\">2<\/td><\/tr><tr><td class=\"col-team\">LAK<\/td><td class=\"dcol-0\"><\/td><td class=\"dcol-1\"><\/td><td class=\"dcol-2\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/COL_light.svg\" alt=\"COL\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">COL<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">22:00<\/span><\/div><\/td><td class=\"dcol-3\"><\/td><td class=\"dcol-4\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/COL_light.svg\" alt=\"COL\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">COL<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">05:00<\/span><\/div><\/td><td class=\"dcol-5\"><\/td><td class=\"dcol-6\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/COL_light.svg\" alt=\"COL\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">COL<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">05:00<\/span><\/div><\/td><td class=\"col-count\">3<\/td><\/tr><tr><td class=\"col-team\">MIN<\/td><td class=\"dcol-0\"><\/td><td class=\"dcol-1\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/DAL_light.svg\" alt=\"DAL\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">DAL<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">00:30<\/span><\/div><\/td><td class=\"dcol-2\"><\/td><td class=\"dcol-3\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/DAL_light.svg\" alt=\"DAL\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">DAL<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">04:30<\/span><\/div><\/td><td class=\"dcol-4\"><\/td><td class=\"dcol-5\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/DAL_light.svg\" alt=\"DAL\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">DAL<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">04:30<\/span><\/div><\/td><td class=\"dcol-6\"><\/td><td class=\"col-count\">3<\/td><\/tr><tr><td class=\"col-team\">MTL<\/td><td class=\"dcol-0\"><\/td><td class=\"dcol-1\"><\/td><td class=\"dcol-2\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/TBL_light.svg\" alt=\"TBL\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">TBL<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">00:45<\/span><\/div><\/td><td class=\"dcol-3\"><\/td><td class=\"dcol-4\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/TBL_light.svg\" alt=\"TBL\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">TBL<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">02:00<\/span><\/div><\/td><td class=\"dcol-5\"><\/td><td class=\"dcol-6\"><\/td><td class=\"col-count\">2<\/td><\/tr><tr><td class=\"col-team\">OTT<\/td><td class=\"dcol-0\"><\/td><td class=\"dcol-1\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/CAR_light.svg\" alt=\"CAR\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">CAR<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">22:00<\/span><\/div><\/td><td class=\"dcol-2\"><\/td><td class=\"dcol-3\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/CAR_light.svg\" alt=\"CAR\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">CAR<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">02:30<\/span><\/div><\/td><td class=\"dcol-4\"><\/td><td class=\"dcol-5\"><\/td><td class=\"dcol-6\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/CAR_light.svg\" alt=\"CAR\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">CAR<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">02:30<\/span><\/div><\/td><td class=\"col-count\">3<\/td><\/tr><tr><td class=\"col-team\">PHI<\/td><td class=\"dcol-0\"><\/td><td class=\"dcol-1\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/PIT_light.svg\" alt=\"PIT\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">PIT<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">03:00<\/span><\/div><\/td><td class=\"dcol-2\"><\/td><td class=\"dcol-3\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/PIT_light.svg\" alt=\"PIT\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">PIT<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">02:00<\/span><\/div><\/td><td class=\"dcol-4\"><\/td><td class=\"dcol-5\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/PIT_light.svg\" alt=\"PIT\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">PIT<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">02:00<\/span><\/div><\/td><td class=\"dcol-6\"><\/td><td class=\"col-count\">3<\/td><\/tr><tr><td class=\"col-team\">PIT<\/td><td class=\"dcol-0\"><\/td><td class=\"dcol-1\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/PHI_light.svg\" alt=\"PHI\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">PHI<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">03:00<\/span><\/div><\/td><td class=\"dcol-2\"><\/td><td class=\"dcol-3\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/PHI_light.svg\" alt=\"PHI\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">PHI<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">02:00<\/span><\/div><\/td><td class=\"dcol-4\"><\/td><td class=\"dcol-5\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/PHI_light.svg\" alt=\"PHI\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">PHI<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">02:00<\/span><\/div><\/td><td class=\"dcol-6\"><\/td><td class=\"col-count\">3<\/td><\/tr><tr><td class=\"col-team\">TBL<\/td><td class=\"dcol-0\"><\/td><td class=\"dcol-1\"><\/td><td class=\"dcol-2\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/MTL_light.svg\" alt=\"MTL\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">MTL<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">00:45<\/span><\/div><\/td><td class=\"dcol-3\"><\/td><td class=\"dcol-4\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/MTL_light.svg\" alt=\"MTL\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">MTL<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">02:00<\/span><\/div><\/td><td class=\"dcol-5\"><\/td><td class=\"dcol-6\"><\/td><td class=\"col-count\">2<\/td><\/tr><tr><td class=\"col-team\">UTA<\/td><td class=\"dcol-0\"><\/td><td class=\"dcol-1\"><\/td><td class=\"dcol-2\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/VGK_light.svg\" alt=\"VGK\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">VGK<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">05:00<\/span><\/div><\/td><td class=\"dcol-3\"><\/td><td class=\"dcol-4\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/VGK_light.svg\" alt=\"VGK\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">VGK<\/span><span class=\"ha\">@<\/span><span class=\"nhl-time\">04:30<\/span><\/div><\/td><td class=\"dcol-5\"><\/td><td class=\"dcol-6\"><\/td><td class=\"col-count\">2<\/td><\/tr><tr><td class=\"col-team\">VGK<\/td><td class=\"dcol-0\"><\/td><td class=\"dcol-1\"><\/td><td class=\"dcol-2\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/UTA_light.svg\" alt=\"UTA\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">UTA<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">05:00<\/span><\/div><\/td><td class=\"dcol-3\"><\/td><td class=\"dcol-4\"><div class=\"nhl-cell\"><img decoding=\"async\" class=\"nhl-logo\" src=\"https:\/\/assets.nhle.com\/logos\/nhl\/svg\/UTA_light.svg\" alt=\"UTA\" onerror=\"this.style.display='none'; this.nextElementSibling.style.display='inline-block';\" \/><span class=\"nhl-chip\" style=\"display:none\">UTA<\/span><span class=\"ha\">vs<\/span><span class=\"nhl-time\">04:30<\/span><\/div><\/td><td class=\"dcol-5\"><\/td><td class=\"dcol-6\"><\/td><td class=\"col-count\">2<\/td><\/tr><\/tbody><\/table><\/div><\/div><\/div><\/div><script>\n  (function(){\n    const root = document.getElementById(\"nhl-schedule\");\n    if(!root) return;\n    const form = root.querySelector(\".nhl-range\");\n    const ajaxUrl = form ? form.dataset.ajaxUrl : \"\";\n    const nonce   = form ? form.dataset.nonce   : \"\";\n    const anchor  = form ? form.dataset.anchor  : \"\";\n\n    \/\/ helpers\n    const fmt = d => d.toISOString().slice(0,10);\n    const today = new Date(); today.setHours(0,0,0,0);\n    function monday(d){ const x=new Date(d); const day=(x.getDay()+6)%7; x.setDate(x.getDate()-day); return x; }\n    function sunday(d){ const m=monday(d); const s=new Date(m); s.setDate(m.getDate()+6); return s; }\n\n    function applyPreset(type){\n      const from = form.querySelector(\"[name=nhl_from]\");\n      const to   = form.querySelector(\"[name=nhl_to]\");\n      let a=new Date(today), b=new Date(today);\n      if(type===\"week\"){ a=monday(today); b=sunday(today); }\n      if(type===\"next7\"){ a=new Date(today); b=new Date(today); b.setDate(b.getDate()+6); }\n      if(type===\"next14\"){ a=new Date(today); b=new Date(today); b.setDate(b.getDate()+13); }\n      from.value = fmt(a); to.value = fmt(b);\n    }\n\n    \/\/ quick buttons\n    if(form){\n      form.querySelectorAll(\".qk\").forEach(btn=>{\n        btn.addEventListener(\"click\", ()=>applyPreset(btn.dataset.preset));\n      });\n    }\n\n    \/\/ AJAX submit\n    if(form){\n      form.addEventListener(\"submit\", function(ev){\n        ev.preventDefault();\n        const from = form.querySelector(\"[name=nhl_from]\").value;\n        const to   = form.querySelector(\"[name=nhl_to]\").value;\n        const wrap = root.querySelector(\".nhl-schedule-container\");\n        if(wrap){ wrap.style.opacity=\"0.6\"; wrap.style.pointerEvents=\"none\"; }\n\n        const fd = new FormData();\n        fd.append(\"action\",\"nhl_schedule_render\");\n        fd.append(\"nonce\", nonce);\n        fd.append(\"view\",\"grid\");\n        fd.append(\"logos\",\"on\");\n        fd.append(\"tz\",\"Europe\/Helsinki\");\n        fd.append(\"window\",\"14\");\n        fd.append(\"from\", from);\n        fd.append(\"to\", to);\n\n        fetch(ajaxUrl, {method:\"POST\", body:fd})\n          .then(r=>r.text())\n          .then(html=>{\n            const c = root.querySelector(\".nhl-schedule-container\");\n            if(c){ c.innerHTML = html; c.style.opacity=\"1\"; c.style.pointerEvents=\"auto\"; initSlices(root); }\n            if(anchor){ try{ document.querySelector(anchor).scrollIntoView({behavior:\"smooth\", block:\"start\"});}catch(e){} }\n          })\n          .catch(()=>{ const c = root.querySelector(\".nhl-schedule-container\"); if(c){ c.style.opacity=\"1\"; c.style.pointerEvents=\"auto\"; }});\n      }, {passive:false});\n    }\n\n    \/\/ slice pager\n    function initSlices(scope){\n      const shells = scope.querySelectorAll(\".nhl-grid-shell\");\n      shells.forEach(shell=>{\n        const days = parseInt(shell.dataset.days||\"0\",10);\n        const win  = parseInt(shell.dataset.window||\"14\",10);\n        let start  = 0;\n        function apply(){\n          for(let i=0;i<days;i++){\n            const show = (i>=start && i<start+win);\n            scope.querySelectorAll(\".dcol-\"+i).forEach(el=>{ el.style.display = show ? \"\" : \"none\"; });\n          }\n        }\n        const prev = shell.querySelector(\".nhl-prev\");\n        const next = shell.querySelector(\".nhl-next\");\n        prev && prev.addEventListener(\"click\", ()=>{ start=Math.max(0, start-win); apply(); shell.scrollLeft=0; });\n        next && next.addEventListener(\"click\", ()=>{ start=Math.min(Math.max(0, days-win), start+win); apply(); shell.scrollLeft=0; });\n        apply();\n      });\n    }\n    \/\/ init on load + after ajax\n    initSlices(root);\n  })();\n  <\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-16","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/kiekkolive.fi\/index.php?rest_route=\/wp\/v2\/pages\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kiekkolive.fi\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/kiekkolive.fi\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/kiekkolive.fi\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kiekkolive.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16"}],"version-history":[{"count":4,"href":"https:\/\/kiekkolive.fi\/index.php?rest_route=\/wp\/v2\/pages\/16\/revisions"}],"predecessor-version":[{"id":157,"href":"https:\/\/kiekkolive.fi\/index.php?rest_route=\/wp\/v2\/pages\/16\/revisions\/157"}],"wp:attachment":[{"href":"https:\/\/kiekkolive.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}